Time Frequency Analysis Tutorial

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

Time Frequency Analysis Tutorial

Cohens Class Distribution






Professor: Jian-Jiun Ding
R00942039





Outline

Abstract
Chapter 1
Introduction-----------------------------------------------------3
Chapter 2
Wigner Distribution Function------------------------------4
Chapter 3
Cohens Class Distribution---------------------------------10
Chapter 4
Several Types of Cohens Class Distribution----------15
Chapter 5
Conclusion------------------------------------------------------18
References





Abstract
In the field of time-frequency analysis, the Cohens Class Distribution is a
useful method to obtain the time-frequency representation. In this tutorial, we
first introduce why these methods of time-frequency analysis be invented. In the
chapter 2, we introduce the prototype of Cohens Class Distribution: the Wigner
Distribution. In the chapter 3, we introduce the mathematical definition of the
Cohens Class Distribution and two important part of the Cohens Class
Distribution: the Ambiguity Function and the Filter-like Function Kernel. Then
we introduce several types of Cohens Class Distribution in chapter 4. In the end,
we analyze the advantage and disadvantage of Cohens Class Distribution.

Chapter 1 Introduction
Although the standard Fourier analysis plays an important role in signal
processing, because that it allows the decomposition of a signal into individual
frequency components and establishes the relative intensity of each component.
However, it cannot tell us when those frequency components occurred. So the
concept of time-frequency analysis is proposed. By the development of these
years, nowadays, we have many tools to do the time-frequency analysis, like the
STFT, the Gabor transform, the Wigner distributionetc., and our main topic,
the Cohens Class Distribution.
Chapter 2 Wigner Distribution Function
The Wigner distribution function (WDF) was first proposed in physics to
account for quantum corrections to classical statistical mechanics in 1932 by
Eugene Wigner. Because of the shared algebraic structure between
position-momentum and time-frequency pairs, it is also useful in time-frequency
signal processing.
2.1 Definition of Wigner Distribution Function
The definition of the Wigner Distribution Function is as follows:
( ) ( ) ( )
* 2
, / 2 / 2
j f
x
W t f x t x t e d
t t
t t t

= +
}

It is the Fourier transform of the input signals autocorrelation function.
2.2 Time-Frequency Analysis Example
There are some examples in the below to illustrate how the WDF is used in
time-frequency analysis, and we can see why the WDF has higher clarity.
Constant input signal
When the input signal is constant, its time-frequency distribution is a horizontal
line on to the frequency axis. For example, if x(t) = 1, then
( ) ( )
2
,
j f
x
W t f e d f
t t
t o

= =
}

Sinusoidal input signal
When the input signal is a sinusoidal function, its time-frequency distribution is a
horizontal line parallel to the frequency axis, at its sinusoidal frequency. For
example, if x(t) = e
i2ht
, then
( )
( ) ( ) ( )
( )
2 / 2 2 / 2 2 2
,
j h t j h t j f h j f
x
W t f e e e d e d f h
t t t t tt t t
t t o

+

= = =
} }

Chirp input signal
When the input signal is a chirp function, the instantaneous frequency is a linear
function. This means that the time frequency distribution should be a straight
line. For example, if , then
( )
( ) ( )
( )
( )
2 2
2 /2 2 /2 2 4 2
2 2
,
2
j k t j k t j f j kt j f
x
j f kt
W t f e e e d e e d
e d f kt
t t t t t t t t t t
tt
t t
t o

+

= =
= =
} }
}

We can check that the instantaneous frequency of input is
( )
2
2
1
2
2
d kt
kt
dt
t
t
=
Delta input signal
When the input signal is a delta function, since it is only non-zero at t=0 and
contains infinite frequency components, its time-frequency distribution should
be a vertical line across the origin. This means that the time frequency
distribution of the delta function should also be a delta function, then
( ) ( ) ( )
( ) ( )
( ) ( ) ( )
2
2
4 4
, / 2 / 2
4 2 2
4 4
j f
x
j f
j tf j tf
W t f t t e d
t t e d
t e t e t
t t
t t
t t
o t o t t
o t o t t
o o o

= +
= +
= = =
}
}

From the computation above, we can see that the Wigner Distribution Function is
best suited for time-frequency analysis when the input signal's phase is 2nd
order or lower. For those signals, it can exactly generate the time-frequency
distribution of the input signal.
2.3 Cross-Term Problem
Since the Wigner Distribution Function is not a linear transform, the
Cross-Term will occur when there is more than one component in the input
signal. We have a demonstration that the cross-term exists as follows:
If
( ) ( ) ( ) x t g t s t o | = +
( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
* 2
* * * * 2
2 2
* 2 * 2
* * * * 2
, / 2 / 2
/ 2 / 2 / 2 / 2
/ 2 / 2 / 2 / 2
/ 2 / 2 / 2 / 2
j f
x
j f
j f j f
j f
W t f x t x t e d
g t s t g t s t e d
g t g t e d s t s t e d
g t s t g t s t e d
t t
t t
t t t t
t t
t t t
o t | t o t | t t
o t t t | t t t
o| t t o | t t

= +
( = + + + + (

( (
= + + +

( + + + +

}
}
} }
( ) ( )
( ) ( ) ( ) ( )
2 2
* * * * 2
, ,
/ 2 / 2 / 2 / 2
g s
j f
W t f W t f
g t s t g t s t e d
t t
t
o |
o| t t o | t t t

= +
( + + + +

}
}
we can see that the cross-term is
( ) ( ) ( ) ( )
* * * * 2
/ 2 / 2 / 2 / 2
j f
g t s t g t s t e d
t t
o| t t o | t t t

( + + +
}


Examples of the WDF
( )
( )
2
exp / 10 3 , 9 1
0,
jt j t if t
s t
otherwise

s <


( ) ( ) ( )
2
2
exp / 2 6 exp 4 / 10 r t jt j t t
(
= +


( ) ( ) ( ) f t s t r t = +

WDF of s(t)

WDF of r(t)
-10 -5 0 5 10
-4
-2
0
2
4
-10 -5 0 5 10
-4
-2
0
2
4

WDF of f (t) = s(t) + r(t)
Horizontal axis: t-axis, Vertical axis: f -axis
2.4 Properties of the Wigner Distribution Function
The Wigner distribution function has several evident properties listed in the
following.
Projection property
( ) ( )
2
,
x
x t W t f df

=
}
( ) ( )
2
,
x
X f W t f d t

=
}

Energy property
( ) ( ) ( )
2 2
,
x
W t f dtdf x t dt X f df


= =
} } } }

Recovery property
( ) ( ) ( )
2 *
/ 2, 0
j ft
x
W t f e df x t x
t

=
}
( ) ( ) ( )
2 *
, / 2 0
j ft
x
W t f e dt X f X
t

=
}

-10 -5 0 5 10
-4
-2
0
2
4
Mean condition frequency and mean condition time
( ) ( )
( ) 2 j t
x t x t e
t|
=
( ) ( )
( ) 2 j f
X f X f e
t+
=
If ( ) ( ) ( )
2
,
x
t x t fW t f df |

' =
}
and ( ) ( ) ( )
2
,
x
f X f tW t f dt +

' =
}

Moment properties
( ) ( )
2
,
n n
x
t W t f dtdf t x t dt


=
} } }

( ) ( )
2
,
n n
x
f W t f dtdf f X f df


=
} } }

Real properties
( ) ( )
*
, ,
x x
W t f W t f =
Region properties
If
( ) 0 x t = for
0
t t >

then
( ) , 0
x
W t f = for
0
t t >
If
( ) 0 x t = for
0
t t <

then
( ) , 0
x
W t f = for
0
t t <
Multiplication theory
If
( ) ( ) ( ) y t x t h t = then ( ) ( ) ( ) , , ,
y x h
W t f W t W t f d

=
}

Convolution theory
If ( ) ( ) ( ) y t x t h d t t t

=
}
then ( ) ( ) ( ) , , ,
y x h
W t f W f W t f d

=
}

Correlation theory
If ( ) ( ) ( )
*
y t x t h d t t t

= +
}
then ( ) ( ) ( ) , , ,
y x h
W t f W f W t f d

= +
}

Time-shifting property
If
( ) ( )
0
y t x t t = then
( ) ( )
0
, ,
y x
W t f W t t f =
Modulation property
If
( ) ( )
0
2 j f t
y t e x t
t
= then
( ) ( )
0
, ,
y x
W t f W t f f =
Chapter 3 Cohens Class Distribution
The Cohen's Class Distribution function was first proposed in 1966 in the
context of quantum mechanics by L. Cohen. This distribution function is
mathematically similar to a generalized timefrequency representation which
utilizes bilinear transformations.
3.1 Definition of Cohens Class Distribution
The definition of the class of Cohen timefrequency distributions is as follows:



where
( )
x
A q,t is the ambiguity function which will be further discussed later,


and
( ) q,t u is the kernel function which is usually a low-pass function and is
used to mask out the interference.

3.2 Ambiguity Function
Consider the well-known power spectral density
( )
x
P f and the signal
auto-correlation function
( )
x
R t in the case of a stationary process. The
relationship between these functions is as follows:
( ) ( )
2 j f
x x
P f R e d
t t
t t

=
}

( ) ( ) ( ) ( )
, , , exp 2 ( )
x x
C t f A j t f d d q t q t t q t q t


= u
} }
( ) ( ) ( )
* 2
, / 2 / 2
j t
x
A x t x t e dt
t q
q t t t

= +
}
( ) ( ) ( )
*
/ 2 / 2
x
R x t x t dt t t t

= +
}

For a non-stationary signal
( ) x t , these relations can be generalized using a
time-dependent power spectral density or equivalently the famous Wigner
distribution function of
( ) x t as follows:
( ) ( )
2
, ,
j f
x x
W t f R t e d
t t
t t

=
}

( ) ( ) ( )
*
, / 2 / 2
x
R t x t x t d t t t t

= +
}

If the Fourier transform of the auto-correlation function is taken with respect to t
instead of , we get the ambiguity function as follows:
( ) ( ) ( )
* 2
/ 2 / 2
j t
x
A x t x t e dt
t q
q,t t t

= +
}

The relationship between the Wigner distribution function, the auto-correlation
function and the ambiguity function can then be illustrated by the following
figure.



For the signal with only 1 term
If ( ) ( )
2
0 0
exp 2 x t t t j f t ot t
(
= +


( ) ( ) ( ) ( ) ( )
( )
( )
( )
0
2 2
2
0 0 0 0
2
2 2
0 0
2 2 2 2
0
2 2
exp / 2 2 / 2 exp / 2 2 / 2
exp 2 / 2 2
exp 2 / 2 2
1
exp ex
2 2 2
j t
x
j t
j t j t
A t t j f t t t j f t e dt
t t j f e dt
t j f e e dt
t q
t q
t q t q
q,t ot t t t ot t t t
ot t t t
ot t t t
ot q
t
o o

( (
= + + + +

(
= + +

(
= + +

( | |
= +
( |
\ .
}
}
}
( )
0 0
p 2 j f t t t q (

We can see the distribution of WDF and AF as follows.

For the signal with 2 terms
If
( ) ( ) ( )
( ) ( )
( ) ( )
2 2
1 1 1 2 2 2
2
1 1 1 1
2
2 2 2 2
exp 2 exp 2
exp 2
exp 2
x t t t j f t t t j f t
x t t t j f t
x t t t j f t
o t t o t t
o t t
o t t
( (
= + + +

(
= +

(
= +


( ) ( ) ( ) ( ) ( )
( ) ( )
( ) ( )
1 2 1 2 2 1
2 2
1
1 1 1
1 1
2 2
2
2 2 2
2 2
1
exp exp 2
2 2 2
1
exp exp 2
2 2 2
x x x x x x x
x
x
A A A A A
A j f t
A j f t
q,t q,t q,t q,t q,t
ot q
q,t t t t q
o o
o t q
q,t t t t q
o o
= + + +
( | |
= + (
( |

\ .
( | |
= + (
( |

\ .

( )
( ) ( ) ( )
( )
( ) ( ) ( )
( ) ( )
2
2
1 2
1 2 1 2 1 2
1 2 1 2 1 2
*
2 1 1 2
2
1
exp exp 2
2 2
/ 2, / 2, / 2
, ,
d d d d
x x d
d d d
x x x x
t j f t
A j f t f t
t t t f f f
t t t f f f
A A




o t q o t
q,t t t t q
o 8o
o o o
o o o
q,t q,t
( | |
(

( | (
= + +

( |
\ .
= + = + = +
= = =
=

We can see the distribution of WDF and AF as follows.


3.3 Filter-like Function Kernel
From the previous section, we know in the ambiguity function, the
distribution of the auto-term is always near to the origin, and the cross-term is
always far from the origin.

With this property, the cross-term can be filtered out effortlessly if a proper
low-pass kernel function is applied in , domain. It means
( ) 1 q,t u ~ for small , q t
( ) 0 q,t u ~ for large , q t
The following is an example that demonstrates how the cross-term is filtered out.

By Choosing u(q, t) different types of function, we can get several types of
Cohens Class Distribution, we will introduce this part in the next chapter.
3.4 Implementation for the Cohens Class Distribution
Since the complexity of Cohens Class Distribution is high, we have some
methods to simplify the following expression.
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
*
, exp 2
/ 2 / 2 exp 2 2
x x
C t f A j t f d d
x u x u j u j t f dud d
q,t q,t t q t q t
t t q,t t q t q t q t




= u
= + u +
} }
} } }

Simplify Method 1: Not all value of
( )
x
A q,t should be computed
If
( ) q,t u = 0 for |q| > B or |t| > C,
( ) ( ) ( ) ( ) ( ) ( )
*
, / 2 / 2 exp 2 2
C B
x
C B
C t f x u x u j u j t f dud d t t q,t t q t q t q t


= + u +
} } }

Simplify Method 2: The parameter q is unrelated to input and output
( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
*
*
, / 2 / 2 exp 2 exp 2
/ 2 / 2 , exp 2
C B
x
C B
C
C
C t f x u x u j t u d j f dud
x u x u t u j f dud
t t q,t tq q tt t
t t t tt t


(
= + u
(

= + +
} } }
} }

where ( ) ( ) ( ) , exp 2
B
B
t j t d t q,t tq q

+ = u
}
, since
( ) , t t + is unrelated to the
input, we can evaluate it beforehand, the original three integral will be simplify to
two integral.

Chapter 4 Several Types of Cohens Class
Distribution
4.1 Wigner Distribution Function
With the kernel function
( ) 1 q,t u = , it means an all-pass filter; we will get
the Wigner Distribution Function which we have introduced in chapter 2.
( ) ( ) ( )
* 2
, / 2 / 2
j f
x
W t f x t x t e d
t t
t t t

= +
}

4.2 ChoiWilliams distribution function
ChoiWilliams distribution function was first proposed by Hyung-Ill Choi
and William J. Williams in 1989. This distribution function adopts exponential
kernel to suppress the cross-term. However, the kernel gain does not decrease
along the , axes in the ambiguity domain. Consequently, the kernel function of
ChoiWilliams distribution function can only filter out the cross-terms result
from the components differ in both time and frequency center.
The kernel of ChoiWilliams distribution is defined as follows:
( ) ( )
2
exp q,t qt
(
u = o


where is an adjustable parameter. The figure of mask function likes follows

4.3 Cone-shape distribution function
Cone-shape distribution function was first proposed by Yunxin Zhao, Les E.
Atlas, and Robert J. Marks in 1990. The reason why this distribution is so named
is because its kernel function in t, domain looks like two cones. The advantage of
this special kernel function is that it can completely remove the cross-term
between two components that have same center frequency, but on the other
hand, the cross-term results from components with the same time center cannot
be removed by the cone-shape kernel.
The kernel of cone-shape distribution function is defined as follows:
( )
( )
( )
2
sin
exp 2
tqt
q,t tot
tqt
u =
where is an adjustable parameter. The figure of mask function likes follows

4.4 Other Types of Cohens Class Distribution
There are some other types of Cohens Class Distribution, we listed the
kernel function they used in the below.
Page distribution function
( ) ( )
exp j q,t tq t u =
Levin (Margenau-Hill) distribution function
( ) ( ) cos q,t tqt u =
Kirkwood distribution function
( ) ( ) exp j q,t tqt u =
Born-Jordan distribution function
( ) ( ) sinc q,t qt u =
Chapter 5 Conclusion
Compare to the Wigner Distribution Function, the Cohens class distribution
may avoid the cross term. Compare to the STFT or Gabor transform, it may has
higher clarity. However, it requires more computation time and lacks of well
mathematical properties. Moreover, there is a tradeoff between the quality of the
auto term and the ability of removing the cross terms.


















Reference
[Ref] Time frequency analysis and wavelet transform class notes, Jian-Jiun Ding,
the Department of Electrical Engineering, National Taiwan University (NTU),
Taipei, Taiwan, 2007.
[Ref] S. Qian and D. Chen, Joint Time-Frequency Analysis: Methods and
Applications, Chap. 5, Prentice Hall, N.J., 1996.
[Ref] L. Cohen, Generalized phase-space distribution functions, J. Math. Phys.,
vol. 7, pp. 781-806, 1966.
[Ref] L. Cohen, Time-Frequency Analysis, Prentice-Hall, New York, 1995.
[Ref] 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.
[Ref] 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.
[Ref] B. Boashash, "Note on the Use of the Wigner Distribution for Time
Frequency Signal Analysis", IEEE Transactions on Acoustics, Speech, and Signal
Processing, Vol. 36, No. 9, pp. 15181521, Sept. 1988
[Ref] B. Boashash, editor, Time-Frequency Signal Analysis and Processing A
Comprehensive Reference, Elsevier Science, Oxford, 2003.
[Ref] L. Cohen, Time-Frequency DistributionsA Review, Proceedings of the
IEEE, vol. 77, no. 7, pp. 941981, 1989.

You might also like