Comm Chapter 3 Spectral Analysis
Comm Chapter 3 Spectral Analysis
Spectral Analysis
Fourier analysis
Fourier analysis is a method of defining periodic waveforms in terms of trigonometric functions.
The method gets its name from a French mathematician and physicist named Jean Baptiste
Joseph, Baron de Fourier, who lived during the 18th and 19th centuries.
Fourier analysis is used in electronics, acoustics, and communications.
Many waveforms consist of energy at a fundamental frequency and also at harmonic frequencies.
The relative proportions of energy in the fundamental and the harmonics determines the shape of
the wave.
The wave function (usually amplitude, frequency, or phase versus time) can be expressed as of a
sum of sine and cosine functions called a Fourier Series, uniquely defined by constants known as
Fourier coefficients.
If these coefficients are represented by a , a 1 , a 2 , a 3 , ..., a n , ... and b 1 , b 2 , b 3 , ..., b n , ..., then
the Fourier series F (x), where x is an independent variable (usually time), has the following form:
F ( x ) = a /2 + a 1 cos x + b 1 sin x + a 2 cos 2 x + b 2 sin 2 x + ... + a n cos nx + b n sin nx + ...
In Fourier analysis, the objective is to calculate
coefficients a , a 1 , a 2 , a 3 , ..., a n and b 1 , b 2 , b 3 , ..., b n up to the largest possible value of n . The
greater the value of n, the more accurate is the Fourier-series representation of the waveform.
Fourier series and Fourier transform
• To know the amplitude and phase of each frequency component
contained in the signal, Fourier analysis is performed.
• If signal is power signal, then fourier series is performed.
• If signal is energy signal, then fourier transform is performed.
• Fourier transform is the process of converting time domain signal to
frequency domain.
Example: Sum of Sinusoids
Consider the CT signal given by
x(t ) A1 cos(t ) A2 cos(4t / 3) A3 cos(8t / 2),
t
The signal has only three frequency components at 1,4, and
8 rad/sec, amplitudes A1 , A2 , A3 and phases0, / 3, / 2
The shape of the signal x(t) depends on the relative
magnitudes of the frequency components, specified in
terms of the amplitudes A1 , A2 , A3
A1 0.5
A2 1
A 0
3
Fourier Series
As a matter of fact, sine waves and cosine waves are the basic
building functions for any periodic signal.
Fourier series is a tool used to analyze any periodic signal.
We obtain the following information about the signal:
How many frequency component are present in the signal?
Their amplitudes
Their relative phase difference between these frequency components.
Types:
1. Trigonometric
2. Exponential
3. Polar
Drichlet’s condition for Fourier Series
To be described by the Fourier Series the waveform f(t) must satisfy
the following mathematical properties:
In practice, f(t) = v(t) or i(t) so the above 4 conditions are always satisfied.
Trigonometric Form
It is simply a linear combination of sines and cosines at
multiples of its fundamental frequency, f0=1/T.
xt a0 an cos2f 0 nt bn sin 2f 0 nt
n 1 n 1
1
a0 xt dt
T0 T0
2
an xt cos2nf 0t dt
T0 T0
2
bn xt sin 2nf 0t dt
T0 T0
Example
f(t)
1 f t a0 an cos2nt bn sin 2nt
e-t/2 n 1
1 2 t
-p 0 p a0 e dt e 1 0.504
2 2
0
• Fundamental period t
2 2
T0 = p an e 2
cos2nt dt 0.504 2
• Fundamental frequency 0
1 16n
t
f0 = 1/T0 = 1/p Hz 2 8n
w0 = 2p/T0 = 2 rad/s
bn e sin 2nt dt 0.504
2
2
0
1 16n
an and bn decrease in amplitude as n .
2
f t 0.504 1 2
cos2nt 4n sin 2nt
n 1 1 16n
Polar Form
• Using single sinusoid,
xt C0 Cn cos2nf 0t n
n 1
dc component nth harmonic
2 2
Cn an bn and
bn
1
n tan
an
Compact Trigonometric
f(t) f t C0 Cn cos2nt n
1 n 1
e-t/2 a0 0.504
2
-p 0 p an 0.504 2
1 16n
• Fundamental period
8n
T0 = p bn 0.504 2
1 16n
• Fundamental frequency C0 ao 0.504
f0 = 1/T0 = 1/p Hz
2
w0 = 2p/T0 = 2 rad/s
2
Cn a b 0.504 2
n n 2
1 16n
bn
1
n tan tan 1 4n
an
2
f t 0.504 0.504
2
cos 2nt tan 1 4n
n 1 1 16n
Exponential Fourier Series
COMPLEX EXPONENTIALS
1 jn0t
cos n0t e
2
e jn0t
1 jn0t
sin n0t
2j
e e jn0t j jn0t
e
2
e jn0t
Exponential Fourier Series
A periodic signal x(t) is expressed in the exponential Fourier Series form as:
x(t ) Cn e jn0t
n
Where, Cn is the coefficient of exponential Fourier series and can be calculated as:
t 0 T t 0 T
1 1
jn0t
Cn x(t )e dt C0 A0 x(t )dt
T T
t0 t0
Example:
Obtain the exponential Fourier series for the waveform shown
in Figure. Also draw the frequency spectrum.
Figure
Solution:
The periodic waveform shown in Figure 3 with a period T = 2π
can be expressed as:
A, 0 t
x(t )
A, t 2
Let t 0 0, t 0 T 2
2 2
And fundamental frequency: 0 1
T 2
Solution:
A
jn2
n
( 1) 1 1 ( 1) j
2A
n
n
2A
j , for _ odd _ n
C n n
0, for _ even _ n
2 A jnt
x(t ) C0 C e
n
n
jn0t
n
j
n
e , for _ odd _ n
n 0
2A 2A 2A
C0 0, C1 C 1 , C3 C 3 , C5 C 5
3 5
Cont.…
2A 2A 2A
C0 0, C1 C 1 , C3 C 3 , C5 C 5
3 5
2A 2A
Cn
2A 2A
2A 3 3
2A
5
5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Fourier Transform
We have seen that periodic signals can be represented with the
Fourier series
Can aperiodic signals be analyzed in terms of frequency
components?
Yes, and the Fourier transform provides the tool for this analysis
The major difference w.r.t. the line spectra of periodic signals is
that the spectra of aperiodic signals are defined for all real values
of the frequency variable not just for a discrete set of values
The Fourier Transform in the General Case
x(t ) X ( )
Drichlet condition for fourier transform
• The function x(t) should be single valued in any finite time interval T.
• The signal x(t) is absolutely integral i. e.
• The number of maxima and minima in any finite length of real time is
finite.
• The discontinuities in any finite length of real time is finite.
Properties of the Fourier Transform
x(t ) X ( ) y (t ) Y ( )
• Linearity:
x(t ) y (t ) X ( ) Y ( )
• Left or Right Shift in Time:
j t0
x(t t0 ) X ( )e
• Time Scaling:
1
x(at ) X
a a
Properties of the Fourier Transform
(t) 1
1 2()
F (t)
1
1 if t 0
(t) Delta function has unity area.
0 if t
0
Example: Fourier Transform of Single Rectangular Pulse
1 for t
f (t) rectt II(t 2 2
/)
0 for all t 2
time t
2 2
2
0
Note the pulse is
time centered
2 3
3 2
0
Fourier Transform of Complex Exponentials
f fc
F 1 ( f fc ) j2fct
e df e
f
f j2fct
c
j2f ct
( f fc ) and
e
F ( f cf )
1
C
( f f
)e j2f t df
Evaluate for
f fc
F 1 ( f cf )
f fc
e j2fct df e
j2fct
( f fc ) j2f ct
e
Power and Energy of signal
Energy signal
• Energy is finite and non zero.
• Non periodic signal are energy signal.
• These signals are time limited.
• The power of energy signal is zero.
• Example: A single rectangular pulse.
Power signal
• The normalized average power is finite and non zero.
• Periodic (practical) signal are power signals.
• These signals can exist infinite time.
• Energy of power signal is infinite.
• Example: A train of rectangular pulse.
Parseval’s Theorem for Energy signals:
• Parseval's theorem refers to that information is not lost in Fourier transform.
• It states that the total energy of the signal x(t) is equal to the sum of energies of the
individual spectral components in the frequency domain.
• We can find the energy of signal without knowing its time domain according to
Parseval’s theorem.
• Suppose that x(t) and X() are the fields in the time and frequency domain respectively,
where X() is obtained by the Fourier transform of x(t). According to Parseval's theorem,
the following equation holds:
Proof:
We know that,
X( so, X(
Therefore,
For a real signal x(t), the Fourier transform X() and X(-) are complex conjugates.
Hence
=
Energy Spectral Density:
• The squared amplitude spectrum is called as the Energy spectral density or energy
density spectrum. Defined as:
ESD = ψ(f) =
Ψ() =
Parseval’s Theorem for Power Signals:
• This theorem relates average power of a periodic signal to its fourier series
coefficients
• It states the total average power of a periodic signal x(t) is equal to the sum of
average powers of individual fourier coefficients (Cn).
• The average power of a signal x(t) is defined as:
• If the signal can be represented as sum of fourier series components and power is
defined as:
0 elsewhere
Now the terminated signal is of finite duration τ, therefore it is an
energy signal.
• Let the energy of this signal is denoted by E τ
Eτ=
Where if fourier transfer of
• It may be observed that x(t) over the interval (- τ/2, τ/2) will be same
as over the interval (-∞, ∞)
So,
=
And,
P=
In the limit may be approach a finite value and is represented by S()
such that S()= known as PSDF.
Auto correlation function and Psdf:
• The correlation function of two signal x1(t) and x2(t) is defined as,
τ) =
Where, τ is delayed parameter.
• It is measure of similarity between the signal x1(t) and time delay
version of another signal x2(t). This correlation is called cross-
correlation.
• Special case of cross-correlation is auto correlation in which both
signal are same. i.e. x1(t) = x2(t) = x(t)
τ) =
Properties of Autocorrelation function: