Signals and Systems Using Matlab Chapter 7 - Fourier Analysis in Communications and Filtering
Signals and Systems Using Matlab Chapter 7 - Fourier Analysis in Communications and Filtering
Signals and Systems Using Matlab Chapter 7 - Fourier Analysis in Communications and Filtering
Modulation systems
Given lowpass nature of most message signals, it is necessary to shift in frequency the
of a carrier
A(t) cos(2fc + (t)).
giving
Frequency Modulation (FM), Phase modulation (PM): (t) changes with the
message
Communication system: cascade of transmitter, channel and receiver none LTI
2 / 21
AM modulation systems
AM Suppressed Carrier
cos(c t)
m(t)
Channel
Band-pass
filter
Transmitter
Receiver
3 / 21
Low-pass
filter
m(t)
R() = S( c ) + S( + c )
1
= M() + [M( 2c ) + M( + 2c )]
2
Output of LPF is M() or m(t)
Demodulation requires exact carrier frequency:
R()
= S( c ) + S( + c + )
1
= [M( + ) + M( )]
2
1
+ [M( 2(c + /2)) + M( + 2(c + /2)] .
2
Output of LPF is distorted message
4 / 21
Commercial AM
0.2
0
0.2
0.4
0.6
0.8
1
0
0.2
0.4
0.6
0.8
t (sec)
1.6
100
|Y()|
y(t)
1.4
150
0.5
0
0.5
1
0
1.2
0.005
0.01
0.015
0.02
0.025
0.03
0.035
50
0
2.5
0.04
1.5
0.5
1.5
0.5
t (sec)
0.5
1.5
2.5
4
x 10
0.5
1.5
2.5
4
x 10
f (Hz)
2
500
400
|Z()|
z(t)
1
0
1
2
0
300
200
100
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0
2.5
0.04
f (Hz)
t (sec)
5 / 21
modulate signal
cos(c t)
m(t)
s(t)
BPF
H(j)
c + B
m
1 (t)
cos(c t)
cos(c t)
+
s(t)
r(t)
shift
2
m2 (t)
LPF
2 shift
Transmitter
LPF
m
2 (t)
Receiver
QAM transmitter and receiver: s(t) is the transmitted signal and r (t) the received
signal
6 / 21
cos(1 t)
BPF
cos(2 t)
m2 (t)
LPF
m
1 (t)
cos(2 t)
BPF
Channel
cos(3 t)
m
2 (t)
LPF
cos(3 t)
m3 (t)
BPF
LPF
m
3 (t)
m( )d )
() =
M()
j
7 / 21
Example: Narrowband FM
10
|M()|
m(t)
50
0
50
0
1
0.05
0.1
0.15
0
500
0.2
500
0
f
500
0.1
|X()|
x(t)
0.5
0
0.05
0.5
0
0.05
0.1
t (sec)
0.15
0
500
0.2
500
450
400
Frequency
350
300
250
200
150
100
50
0
0.6/7
0.7/7
0.8/7
0.9/7
1/7
1.1/7
1.2/7
1.3/7
0.2
Time
8 / 21
Wideband FM
m(t)
50
0
100
50
50
0
0.02
0.04
0.06
0.08
0
0
0.1
0.04
0.02
0.04
0.06
0.08
0.1
0.06
0.08
0.1
0.5
x(t)
0.02
0.5
x(t)
0
0.5
0
0.5
1
0
0.02
0.04
0.06
0.08
0.1
t (sec)
t (sec)
10
|M()|
|M()|
10
5
0
200
0.015
150
100
50
50
100
150
0
1000
200
3
0.01
500
1000
2.5
|X()|
|X()|
500
3
x 10
0.005
2
1.5
0
5000
1
5000
5000
f
5000
5000
5000
4500
4500
4000
4000
3500
3500
3000
Frequency
Frequency
0
f
2500
2000
1500
3000
2500
2000
1500
1000
1000
500
500
0
0.02 0.04 0.06 0.08
0.01
0.02
0.03
0.04
0.05
0.06
0.07
0.08
0.09
Time
Left sinusoidal message and right ramp message: messages, FM modulated signals,
spectra of messages, spectra of FM signals, and spectrograms of FM signals
9 / 21
Analog filtering
Use of eigenfunction property of LTI systems periodic and aperiodic signals have
! H(j0 )
H(s)
characterization of the input and the desired spectral characteristics of the output
Classical approach in filter design is to consider lowpass prototypes, with normalized
frequency and magnitude responses, which may be transformed into other filters with
the desired frequency response
10 / 21
Filtering basics
B(s)
Filter transfer function H(s) =
(LTI system with specific frequency response)
A(s)
filter output Y () = X ()H(j)
Lowpass filter design
1
1 + f (2)
such that for low frequencies f (2) << 1 |H(j)|2 1,
for high frequencies f (2) >> 1 |H(j)|2 0
Choose magnitude squared function |H(j)|2 =
Issues to consider:
the factorization needed to get H(s) from the magnitude squared function
0 p (passband)
s (stopband)
11 / 21
()
|H(j)|
1
min
1 2
1
p
max
p s
(0) = 1 dc loss
max = 2 1 maximum attenuation in passband
min = 3 1 minimum attenuation in stopband
12 / 21
Magnitude response
0 2
0
|HN (j )| =
=
1 + [0]2N
hp
hp half-power or 3dB frequency
Factorization
k = 1, , 2N
13 / 21
Filter design
half-power frequency:
s
p
hp
(100.1max 1)1/2N
(100.1min 1)1/2N
minimum order:
log10[(100.1min 1)/(100.1max 1)]
N
2 log10(s /p )
14 / 21
0
,
=
p
1 + 2CN2 (0)
N order of filter, ripple factor, CN (.) Chebyshev polynomials
|HN (j0)|2 =
Chebyshev polynomials
0
CN ( ) =
cos(N cos1(0))
|0| 1
cosh(N cosh1(0)) |0| > 1.
15 / 21
Filter design
0
2 2
( ) = 10 log10 1 + CN ( )
0
Ripple factor
p
= 100.1max 1,
=
p
0
RW = 1
1
1 + 2
Minimum order
i0.5
h 0.1
10 min 1
cosh1 10
0.1max 1
N
cosh1( ps )
Half-power frequency :
0
(hp ) = 10 log10(1 + 2CN2 (hp )) = 3 dB, then
2
1+
0
2
CN (hp )
= 100.3 2
1
0
= cosh(N cosh1(hp ))
1
1
= p cosh
cosh1
N
CN (hp ) =
hp
16 / 21
Factorization
0 = S/j, S = s/p
1
1
H(S)H(S) =
=
1 + 2CN2 (S/j) D(S)D(S)
Guillemins
1
1
a = sinh1
N
k = sinh(a) cos(k )
0k = cosh(a) sin(k )
17 / 21
0.7
0.6
x(t)
0.8
0
5
|H(j)|
10
t
15
20
10
t
15
20
0.5
0.4
0.3
0.2
y(t)
0.1
5
6
0.9
0
5
10
20
30
Signal x(t), top right figure; lowpass Butterworth filter with poles and magnitude
response shown on the left. Filtered signal, bottom right, is approximately the
lowfrequency component of x(t)
18 / 21
0.8
0.7
Chebyshev
Butterworth
Chebyshev
5
x(t)
0
5
0.6
|H(j)|
Butterworth
10
t
15
20
10
t
15
20
0.5
0.4
5
0.3
0.2
0.1
4
y(t)
0
5
10
20
30
19 / 21
Frequency transformations
s
Lowpass-Lowpass
S=
0
0
Lowpass-Highpass
S=
s
s 2 + 0
Lowpass-Bandpass
S=
s BW
s BW
Lowpass-Bandstop
S= 2
s + 0
S is the normalized and s the final variables
0 is a desired cut-off frequency and BW a desired bandwidth
0.8
0.8
|H1(j)|
|H(j)|
LPHP
0.6
0.4
0.2
10
20
0.8
0.8
0.6
0.4
0.2
0
0
60
80
30
40
LPBE
|H3(j)|
|H2(j)|
LPBP
40
0.6
0.4
0.2
0
10
20
30
40
10
20
20 / 21
0.6
0.4
6
8
0.2
5
10
15
20
25
10
0
0.8
|H()|
<H()
|H()|
0.8
0
0
0
1
<H()
0.6
0.4
10
15
20
25
10
0
10
15
20
25
80
()
60
()
10
40
50
0
0
10
10
15
20
25
15
20
25
60
40
20
20
20
80
50
10
0
100
100
20
6
8
0.2
10
15
20
25
15
10
Elliptic (left) and Chebyshev2 (right) lowpass filter designs using analogfil function.
Clockwise, magnitude, phase, loss function and poles and zeros are shown for each design.
21 / 21