Английская Википедия:Bilinear time–frequency distribution
Bilinear time–frequency distributions, or quadratic time–frequency distributions, arise in a sub-field of signal analysis and signal processing called time–frequency signal processing, and, in the statistical analysis of time series data. Such methods are used where one needs to deal with a situation where the frequency composition of a signal may be changing over time;[1] this sub-field used to be called time–frequency signal analysis, and is now more often called time–frequency signal processing due to the progress in using these methods to a wide range of signal-processing problems.
Background
Methods for analysing time series, in both signal analysis and time series analysis, have been developed as essentially separate methodologies applicable to, and based in, either the time or the frequency domain. A mixed approach is required in time–frequency analysis techniques which are especially effective in analyzing non-stationary signals, whose frequency distribution and magnitude vary with time. Examples of these are acoustic signals. Classes of "quadratic time-frequency distributions" (or bilinear time–frequency distributions") are used for time–frequency signal analysis. This class is similar in formulation to Cohen's class distribution function that was used in 1966 in the context of quantum mechanics. This distribution function is mathematically similar to a generalized time–frequency representation which utilizes bilinear transformations. Compared with other time–frequency analysis techniques, such as short-time Fourier transform (STFT), the bilinear-transformation (or quadratic time–frequency distributions) may not have higher clarity for most practical signals, but it provides an alternative framework to investigate new definitions and new methods. While it does suffer from an inherent cross-term contamination when analyzing multi-component signals, by using a carefully chosen window function(s), the interference can be significantly mitigated, at the expense of resolution. All these bilinear distributions are inter-convertible to each other, cf. transformation between distributions in time–frequency analysis.
Wigner–Ville distribution
Шаблон:Main The Wigner–Ville distribution is a quadratic form that measures a local time-frequency energy given by:
- <math>P_V f(u,\xi )=\int_{-\infty }^\infty f \left (u+\tfrac{\tau}{2} \right) f^* \left(u-\tfrac{\tau}{2} \right) e^{-i\tau \xi} \, d\tau </math>
The Wigner–Ville distribution remains real as it is the fourier transform of f(u + τ/2)·f*(u − τ/2), which has Hermitian symmetry in τ. It can also be written as a frequency integration by applying the Parseval formula:
- <math>P_V f(u,\xi )=\frac{1}{2\pi}\int_{-\infty }^\infty \hat{f} \left(\xi +\tfrac{\gamma }{2} \right) \hat{f}^* \left(\xi -\tfrac{\gamma}{2} \right) e^{i\gamma u} \, d\gamma </math>
- Proposition 1. for any f in L2(R)
- <math>\int_{-\infty}^\infty P_V f(u,\xi) \, du= | \hat{f}(\xi) |^2</math>
- <math>\int_{-\infty}^\infty P_V f(u,\xi) \, d\xi =2\pi |f(u)|^2</math>
- Moyal Theorem. For f and g in L2(R),
- <math>2\pi \left| \int_{-\infty }^\infty f(t)g^*(t)\,dt \right|^2=\iint{P_V f(u,\xi )} P_Vg(u,\xi )\,du\,d\xi </math>
- Proposition 2 (time-frequency support). If f has a compact support, then for all ξ the support of <math>P_V f(u,\xi )</math> along u is equal to the support of f. Similarly, if <math>\hat{f}</math> has a compact support, then for all u the support of <math>P_Vf(u,\xi )</math> along ξ is equal to the support of <math>\hat{f}</math>.
- Proposition 3 (instantaneous frequency). If <math>f_a(t)=a(t)e^{i\phi (t)}</math> then
- <math>\phi'(u)= \frac{\int_{-\infty }^{\infty }\xi P_V f_a (u,\xi )d\xi}{\int_{-\infty}^{\infty}P_V f_a(u,\xi )d\xi}</math>
Interference
Let <math>f= f_1 + f_2 </math> be a composite signal. We can then write,
- <math>P_Vf=P_Vf_1+P_Vf_2+P_V \left [f_1,f_2 \right ]+P_V \left [f_2,f_1 \right ]</math>
where
- <math>P_V[h,g](u,\xi )=\int_{-\infty }^{\infty } h\left (u+\tfrac{\tau }{2} \right)g^* \left (u-\tfrac{\tau }{2} \right) e^{-i\tau \xi }d\tau</math>
is the cross Wigner–Ville distribution of two signals. The interference term
- <math>I[f_1,f_2]=P_V[f_1, f_2]+ P_V[f_2, f_1]</math>
is a real function that creates non-zero values at unexpected locations (close to the origin) in the <math>(u,\xi )</math> plane. Interference terms present in a real signal can be avoided by computing the analytic part <math>f_a(t)</math>.
Positivity and smoothing kernel
The interference terms are oscillatory since the marginal integrals vanish and can be partially removed by smoothing <math>P_V f</math> with a kernel θ
- <math>P_\theta f(u,\xi )=\int_{-\infty }^{\infty }{\int_{-\infty }^{\infty }{P_V f(u',\xi')}} \theta (u,u',\xi ,\xi') \, du' \, d\xi '</math>
The time-frequency resolution of this distribution depends on the spread of kernel θ in the neighborhood of <math>(u,\xi )</math>. Since the interferences take negative values, one can guarantee that all interferences are removed by imposing that
- <math>P_\theta f(u,\xi )\ge 0, \qquad \forall (u,\xi )\in {{\mathbf{R}}^{2}}</math>
The spectrogram and scalogram are examples of positive time-frequency energy distributions. Let a linear transform <math>Tf(\gamma )=\left\langle f,\phi_{\gamma} \right\rangle </math> be defined over a family of time-frequency atoms <math>\left\{ \phi_\gamma \right\}_{\gamma \in \Gamma}</math>. For any <math>(u,\xi )</math> there exists a unique atom <math>\phi_{\gamma (u,\xi )}</math> centered in time-frequency at <math>(u,\xi )</math>. The resulting time-frequency energy density is
- <math>P_T f(u,\xi ) = \left | \left \langle f, \phi_{\gamma (u,\xi )} \right\rangle \right |^2 </math>
From the Moyal formula,
- <math> P_T f(u,\xi )=\frac{1}{2\pi} \int_{-\infty}^\infty \int_{-\infty }^\infty P_V f(u', \xi') P_V \phi_{\gamma (u,\xi )} (u',\xi') \, du' \, d\xi '</math>
which is the time frequency averaging of a Wigner–Ville distribution. The smoothing kernel thus can be written as
- <math>\theta (u,u',\xi ,\xi')=\frac{1}{2\pi }P_V \phi_{\gamma (u,\xi )}(u',\xi')</math>
The loss of time-frequency resolution depends on the spread of the distribution <math>P_V \phi_{\gamma (u,\xi )} (u',\xi')</math> in the neighborhood of <math>(u,\xi )</math>.
Example 1
A spectrogram computed with windowed fourier atoms,
- <math>\phi_{\gamma (u,\xi )}(t)=g(t-u) e^{i\xi t}</math>
- <math>\theta (u, u', \xi, \xi')=\frac{1}{2\pi} P_V \phi_{\gamma (u,\xi )} (u', \xi')=\frac{1}{2\pi} P_V g(u'-u, \xi'-\xi )</math>
For a spectrogram, the Wigner–Ville averaging is therefore a 2-dimensional convolution with <math>P_V g</math>. If g is a Gaussian window,<math>P_V g</math> is a 2-dimensional Gaussian. This proves that averaging <math>P_V f</math> with a sufficiently wide Gaussian defines positive energy density. The general class of time-frequency distributions obtained by convolving <math>P_V f</math> with an arbitrary kernel θ is called a Cohen's class, discussed below.
Wigner Theorem. There is no positive quadratic energy distribution Pf that satisfies the following time and frequency marginal integrals:
- <math>\int_{-\infty }^\infty Pf(u,\xi ) \, d\xi =2\pi |f(u)|^2</math>
- <math>\int_{-\infty }^\infty Pf(u,\xi ) \, du= |\hat{f}(\xi)|^2</math>
Mathematical definition
The definition of Cohen's class of bilinear (or quadratic) time–frequency distributions is as follows:
- <math>C_x(t, f)=\int_{-\infty}^\infty \int_{-\infty}^\infty A_x(\eta,\tau)\Phi(\eta,\tau)\exp (j2\pi(\eta t-\tau f))\, d\eta \, d\tau,</math>
where <math>A_x(\eta,\tau)</math> is the ambiguity function (AF), which will be discussed later; and <math>\Phi (\eta,\tau)</math> is Cohen's kernel function, which is often a low-pass function, and normally serves to mask out the interference. In the original Wigner representation, <math>\Phi \equiv 1</math>.
An equivalent definition relies on a convolution of the Wigner distribution function (WD) instead of the AF :
- <math>C_x(t, f)=\int_{-\infty}^\infty \int_{-\infty}^\infty W_x(\theta,\nu) \Pi(t - \theta, f - \nu)\, d\theta \, d\nu = [W_x \ast \Pi] (t,f)</math>
where the kernel function <math>\Pi (t,f)</math> is defined in the time-frequency domain instead of the ambiguity one. In the original Wigner representation, <math>\Pi = \delta_{(0,0)}</math>. The relationship between the two kernels is the same as the one between the WD and the AF, namely two successive Fourier transforms (cf. diagram).
- <math>\Phi = \mathcal{F}_t \mathcal{F}^{-1}_f \Pi</math>
i.e.
- <math>\Phi(\eta, \tau) = \int_{-\infty}^\infty \int_{-\infty}^\infty \Pi(t,f) \exp (-j2\pi(t \eta-f \tau))\, dt \, df,</math>
or equivalently
- <math>\Pi(t,f) = \int_{-\infty}^\infty \int_{-\infty}^\infty \Phi(\eta,\tau) \exp (j2\pi(\eta t-\tau f))\, d\eta \, d\tau.</math>
Ambiguity function
Шаблон:Main The class of bilinear (or quadratic) time–frequency distributions can be most easily understood in terms of the ambiguity function, an explanation of which follows.
Consider the well known power spectral density <math>P_x(f)</math> and the signal auto-correlation function <math>R_x (\tau)</math> in the case of a stationary process. The relationship between these functions is as follows:
- <math>P_x(f)= \int_{-\infty}^\infty R_x(\tau)e^{-j2\pi f\tau} \, d\tau,</math>
- <math> R_x(\tau) = \int_{-\infty}^\infty x \left (t+ \tfrac{\tau}{2} \right )x^* \left (t- \tfrac{\tau}{2} \right ) \, dt.</math>
For a non-stationary signal <math>x(t)</math>, these relations can be generalized using a time-dependent power spectral density or equivalently the famous Wigner distribution function of <math>x(t)</math> as follows:
- <math>W_x(t, f)= \int_{-\infty}^\infty R_x(t, \tau)e^{-j2\pi f\tau}\, d\tau,</math>
- <math> R_x (t ,\tau) = x \left (t+ \tfrac{\tau}{2} \right )x^* \left(t- \tfrac{\tau}{2} \right).</math>
If the Fourier transform of the auto-correlation function is taken with respect to t instead of τ, we get the ambiguity function as follows:
- <math>A_x(\eta,\tau)=\int_{-\infty}^\infty x \left (t+ \tfrac{\tau}{2} \right )x^* \left(t- \tfrac{\tau}{2} \right)e^{j2\pi t\eta}\, dt.</math>
The relationship between the Wigner distribution function, the auto-correlation function and the ambiguity function can then be illustrated by the following figure.
By comparing the definition of bilinear (or quadratic) time–frequency distributions with that of the Wigner distribution function, it is easily found that the latter is a special case of the former with <math>\Phi(\eta,\tau) = 1</math>. Alternatively, bilinear (or quadratic) time–frequency distributions can be regarded as a masked version of the Wigner distribution function if a kernel function <math>\Phi(\eta,\tau) \neq 1</math> is chosen. A properly chosen kernel function can significantly reduce the undesirable cross-term of the Wigner distribution function.
What is the benefit of the additional kernel function? The following figure shows the distribution of the auto-term and the cross-term of a multi-component signal in both the ambiguity and the Wigner distribution function.
For multi-component signals in general, the distribution of its auto-term and cross-term within its Wigner distribution function is generally not predictable, and hence the cross-term cannot be removed easily. However, as shown in the figure, for the ambiguity function, the auto-term of the multi-component signal will inherently tend to close the origin in the ητ-plane, and the cross-term will tend to be away from the origin. With this property, the cross-term in can be filtered out effortlessly if a proper low-pass kernel function is applied in ητ-domain. The following is an example that demonstrates how the cross-term is filtered out.
Kernel properties
The Fourier transform of <math>\theta (u,\xi )</math> is
- <math>\hat{\theta}(\tau ,\gamma )=\int_{-\infty }^{\infty} \int_{-\infty }^{\infty} \theta (u,\xi ) e^{-i(u\gamma +\xi \tau )} \, du \, d\xi </math>
The following proposition gives necessary and sufficient conditions to ensure that <math>P_\theta</math> satisfies marginal energy properties like those of the Wigner–Ville distribution.
- Proposition: The marginal energy properties
- <math>\int_{-\infty }^\infty P_\theta f(u,\xi ) \, d\xi =2\pi | f(u) |^2,</math>
- <math>\int_{-\infty }^\infty P_\theta f(u,\xi ) \, du= |\hat{f}(\xi )|^2</math>
- are satisfied for all <math>f\in L^2(\mathbf{R})</math> if and only if
- <math>\forall (\tau ,\gamma )\in \mathbf{R}^2: \qquad \hat{\theta}(\tau ,0)=\hat{\theta }(0,\gamma )=1</math>
Some time-frequency distributions
Wigner distribution function
Aforementioned, the Wigner distribution function is a member of the class of quadratic time-frequency distributions (QTFDs) with the kernel function <math>\Phi (\eta,\tau) = 1</math>. The definition of Wigner distribution is as follows:
- <math>W_x(t, f)= \int_{-\infty}^\infty x \left (t+ \tfrac{\tau}{2} \right ) x^*\left(t- \tfrac{\tau}{2} \right)e ^{-j2\pi f\tau}\, d\tau.</math>
Modified Wigner distribution functions
Affine invariance
We can design time-frequency energy distributions that satisfy the scaling property
- <math>\frac{1}{\sqrt{s}}f\left( \tfrac{t}{s} \right) \longleftrightarrow P_V f\left( \tfrac{u}{s},s\xi \right)</math>
as does the Wigner–Ville distribution. If
- <math>g(t)=\frac{1}{\sqrt{s}}f\left( \tfrac{t}{s} \right)</math>
then
- <math> P_\theta g(u,\xi)= P_\theta f\left( \tfrac{u}{s},s\xi \right).</math>
This is equivalent to imposing that
- <math>\forall s\in \mathbf{R}^+: \qquad \theta \left( su,\tfrac{\xi }{s} \right)=\theta (u,\xi) ,</math>
and hence
- <math>\theta (u,\xi )=\theta (u\xi ,1)=\beta (u\xi )</math>
The Rihaczek and Choi–Williams distributions are examples of affine invariant Cohen's class distributions.
Choi–Williams distribution function
The kernel of Choi–Williams distribution is defined as follows:
- <math>\Phi (\eta,\tau ) = \exp (-\alpha(\eta \tau)^2), </math>
where α is an adjustable parameter.
Rihaczek distribution function
The kernel of Rihaczek distribution is defined as follows:
- <math>\Phi (\eta,\tau) = \exp \left(-i 2\pi \frac{\eta \tau}{2} \right), </math>
With this particular kernel a simple calculation proves that
- <math>C_x (t,f) = x(t) \hat{x}^*(f) e^{i 2\pi t f}</math>
Cone-shape distribution function
Шаблон:Main The kernel of cone-shape distribution function is defined as follows:
- <math>\Phi (\eta,\tau) = \frac{\sin(\pi \eta \tau)}{ \pi \eta \tau }\exp \left(-2\pi \alpha \tau^2 \right), </math>
where α is an adjustable parameter. See Transformation between distributions in time-frequency analysis. More such QTFDs and a full list can be found in, e.g., Cohen's text cited.
Spectrum of non-stationary processes
A time-varying spectrum for non-stationary processes is defined from the expected Wigner–Ville distribution. Locally stationary processes appear in many physical systems where random fluctuations are produced by a mechanism that changes slowly in time. Such processes can be approximated locally by a stationary process. Let <math>X(t)</math> be a real valued zero-mean process with covariance
- <math>R(t,s)=E[X(t)X(s)]</math>
The covariance operator K is defined for any deterministic signal <math>f\in L^2(\mathbf{R})</math> by
- <math>Kf(t)=\int_{-\infty}^\infty R( t,s)f(s) \, ds </math>
For locally stationary processes, the eigenvectors of K are well approximated by the Wigner–Ville spectrum.
Wigner–Ville spectrum
The properties of the covariance <math>R(t,s)</math> are studied as a function of <math>\tau =t-s</math> and <math>u=\frac{t+s}{2}</math>:
- <math>R(t,s)=R\left( u+\tfrac{\tau }{2},u-\tfrac{\tau}{2} \right)=C( u,\tau)</math>
The process is wide-sense stationary if the covariance depends only on <math>\tau =t-s</math>:
- <math>Kf(t)=\int_{-\infty}^\infty C(t-s) f(s)\,ds=C*f(t)</math>
The eigenvectors are the complex exponentials <math>e^{i\omega t}</math> and the corresponding eigenvalues are given by the power spectrum
- <math>P_X (\omega)=\int_{-\infty }^\infty C(\tau) e^{-i\omega \tau } \, d\tau </math>
For non-stationary processes, Martin and Flandrin have introduced a time-varying spectrum
- <math>P_X ( u,\xi)=\int_{-\infty }^\infty C(u,\tau) e^{-i\xi \tau} \, d\tau =\int_{-\infty}^\infty E\left [ X\left( u+\tfrac{\tau}{2} \right) X\left( u-\tfrac{\tau}{2} \right) \right ] e^{-i\xi \tau } \, d\tau </math>
To avoid convergence issues we suppose that X has compact support so that <math>C(u,\tau)</math> has compact support in <math>\tau</math>. From above we can write
- <math>P_X ( u,\xi)=E[ P_V X ( u,\xi)]</math>
which proves that the time varying spectrum is the expected value of the Wigner–Ville transform of the process X. Here, the Wigner–Ville stochastic integral is interpreted as a mean-square integral:[2]
- <math>P_V ( u,\xi)=\int_{-\infty}^\infty \left\{ X\left( u+\tfrac{\tau}{2}\right)X\left( u-\tfrac{\tau }{2} \right) \right\} e^{-i\xi \tau} \, d\tau </math>
References
- L. Cohen, Time-Frequency Analysis, Prentice-Hall, New York, 1995. Шаблон:ISBN
- B. Boashash, editor, “Time-Frequency Signal Analysis and Processing – A Comprehensive Reference”, Elsevier Science, Oxford, 2003.
- L. Cohen, “Time-Frequency Distributions—A Review,” Proceedings of the IEEE, vol. 77, no. 7, pp. 941–981, 1989.
- S. Qian and D. Chen, Joint Time-Frequency Analysis: Methods and Applications, Chap. 5, Prentice Hall, N.J., 1996.
- H. Choi and W. J. Williams, “Improved time-frequency representation of multicomponent signals using exponential kernels,” IEEE. Trans. Acoustics, Speech, Signal Processing, vol. 37, no. 6, pp. 862–871, June 1989.
- Y. Zhao, L. E. Atlas, and R. J. Marks, “The use of cone-shape kernels for generalized time-frequency representations of nonstationary signals,” IEEE Trans. Acoustics, Speech, Signal Processing, vol. 38, no. 7, pp. 1084–1091, July 1990.
- B. Boashash, “Heuristic Formulation of Time-Frequency Distributions”, Chapter 2, pp. 29–58, in B. Boashash, editor, Time-Frequency Signal Analysis and Processing: A Comprehensive Reference, Elsevier Science, Oxford, 2003.
- B. Boashash, “Theory of Quadratic TFDs”, Chapter 3, pp. 59–82, in B. Boashash, editor, Time-Frequency Signal Analysis & Processing: A Comprehensive Reference, Elsevier, Oxford, 2003.