2Ch2 DSP DFT FreqDomain
2Ch2 DSP DFT FreqDomain
s(t) = A sin(2ft + ) t
where:
A – peak amplitude
f – frequency
t – time
- phase angle
- phase = Degrees Radians
00 =0 00 =
450 = /4
900 = /2
1350 = 3/4
1800 =
Varying Sine Waves
s(t) = A sin(2ft + )
Fourier Analysis:
The complex wave at the top can
be decomposed into the sum of
the three simple sine waves
shown here.
Addition of Frequency
Components (T=1/f)
graph c is sum of graphs a & b
S(f)
f
S(t) t
Frequency Domain Representations
S(t) S(f)
1 Fourier transform
- X/2 +X/2 t
absolute bandwidth
• width of spectrum
effective bandwidth
• often just bandwidth
• narrow band of frequencies containing most energy
DC Component
• component of zero frequency
Effect of noise
Signal
Noise
Logic
Threshold Signal+Noise
Sampling times
0 1 1 1 1 0 0 0 0 1 Data Received
0 1 0 1 1 0 0 1 0 1 Original data
Bit error
24
A sum of sines
Our building block:
Asin(x
Add enough of them to get
any signal f(x) you want!
F ( ) R( ) iI ( )
1 I ( )
A R( ) I ( )
2 2
tan
R( )
We can always go back:
= +
Frequency Spectra
example : g(t) = sin(2pf t) + (1/3)sin(2p(3f) t)
= +
Frequency Spectra
Usually, frequency is more interesting than the phase
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
The Convolution Theorem
The greatest thing since sliced (banana) bread!
1/M
Example 2
Sampling
Fourier Transform (1-D)
A
Fu f x exp j2ux dx sin uX e juX
u
sin uX
Fu AX
uX
55
Discrete
Fourier
Transform
(Properties)
Sampling 1-D
The Fourier transform and the convolution theorem provide
the tools for a deeper analytic study of sampling problem. In
particular, we want to look at the question of how many samples
should be taken so that no information is lost in the sampling
process. Expressed differently, the problem is one of the
establishing the sampling conditions under which a continuous
image can be recovered fully from a set of sampled values. We
begin the analysis with the 1-D case.
As a result, a function which is band-limited in frequency
domain must extend from negative infinity to positive infinity in time
domain (or x domain).
60
Discrete Fourier
Transform
Sampling
1-D
(Properties)
1
= A sin(2 kt )
k 1 k
Analog Signaling
represented by sine waves
amplitude (volts)
1 cycle
phase
difference
time
(sec)
frequency (hertz)
= cycles per second
68
Digital Signaling
represented by square waves or pulses
amplitude (volts)
1 cycle
time
(sec)
frequency (hertz)
= cycles per second
69
Continuous & Discrete Signals
70
Periodic Signals
71
Fourier Series
Any periodic signal can be represented as sum
of sinusoids, known as Fourier Series
A0
x(t ) An cos( 2nf 0t ) Bn sin( 2nf 0t )
2 n 1
T T
2 2
A0
T 0
x(t )dt An
T 0
x(t ) cos(2nf 0t )dt
If A0 is not 0, 2
T
C0
x(t ) Cn cos(2nf 0t n )
2 n 1
C0 A0 Cn An2 Bn2
Bn
n tan
1
An
Fourier Series Representation of
Periodic Signals - Example
x(t)
1
-1
T
1/ 2 1
4 n
2 cos(2nf 0t )dt 2 cos(2nf 0t )dt sin
0 1/ 2
n 2
T T /2
2 2
Bn x(t ) sin( 2nf 0t )dt x(t ) sin( 2nf 0t )dt
T0 T T /2
0 T /2
2 2
x(t ) sin(2nf 0t )dt x(t ) sin(2nf t )dt
0 Replacing t by –t
T T /2 T 0 in the first integral
2
T /2
2
T /2
sin(-2nf t)=
T
0
x ( t ) sin( 2nf 0 t ) dt
T x(t ) sin(2nf 0t )dt
0 - sin(2nf t)
Fourier Series Representation of
Periodic Signals - Example
x1(t)
1
-2 -1 1 2
-1
T
4 1 3 1 5 1 7
x1(t ) cos t cos 3t cos 5t cos 7t
2 3 2 5 2 7 2
4 1 1 1
x1(t ) sint sin 3t sin 5t sin 7t
3 5 7
3
cos t sin t cos 3t sin 3t
2 2
5 7
cos 5t sin 5t cos 7t sin 7t
2 2
Fourier Transform
For a periodic signal, spectrum consists of
discrete frequency components at
fundamental frequency & its harmonics.
For an aperiodic signal, spectrum consists of a
continuum of frequencies.
• Spectrum can be defined by Fourier transform
• For a signal x(t) with spectrum X(f), the following relations
hold
x(t ) X ( f ) e j 2ft
df X ( f ) x(t ) e j 2ft
dt
Fourier Transform Example
x(t)
A
2 2
X ( f ) x (t ) e j 2ft
dt
/2
j 2ft A j 2ft / 2
X(f )
/2
Ae dt
j 2f
e
/2
Fourier Transform Example
e j e j e j e j
sin cos
2 j 2
Signal Power
A function x(t) specifies a signal in terms of
either voltage or current
Instantaneous power of a signal is related to
2
Average power of a time limited signal is x(t )
2
x(t )
t2
1 2
t1 t 2 x (t ) dt
For a periodic signal,t1the average power in one
period is
T
1 2
T
0
x (t ) dt
Power Spectral Density & Bandwidth
For a continuous valued function S(f), power
contained in a band of frequencies f1<f<f2
f2
P 2 S ( f ) df
f1
1 1 1
x(t ) sint sin 3t sin 5t sin 7t
3 5 7
The signal power is
1 1 1 1
Power 1 0.586 watt
2 9 25 49
end