Distortion
Distortion
Distortion
Winter 2009-2010
February 7, 2011
• For a linear system with an input signal x(t), the output is given by the
convolution
� ∞
y(t) = (x ∗ h)(t) = x(τ )h(t − τ ) dτ
−∞
x(t) y(t)
∗h(t)
Y (jω) = H(jω)X(jω)
where X(jω) is the input spectrum, Y (jω) is the output spectrum, and
H(jω) is the Fourier transform of the impulse response h(t).
|Y (jω)| = |H(jω)||X(jω)|
y(t) = F −1 [Y (jω)]
= F −1 [H(jω0)(2πδ(ω − ω0))]
An input signal
2
h(t) = sinc2(t/π)
π
The output spectrum is the product of the input spectrum, and the transfer
function, as shown on the next page:
X( j!)
4!
3! 3!
2! 2! 2!
! !
−2 −1 0 1 2 !
×
H( j!) = 2"(!/2)
2
−2 −1 0 1 2 !
=
Y ( j!) = H( j!)X( j!)
4!
3!/2 2! 2! 2!
3!/2
−2 −1 0 1 2 !
3π
Y (jω) = 2π [δ(ω − 1) + δ(ω + 1)] + [δ(ω − 3/2) + δ(ω + 3/2)]
2
3
y(t) = 2 cos(t) + cos(3t/2).
2
Another Example
A signal
x(t) = e−tu(t)
is applied to a zero-state system with an impulse response
h(t) = 2e−2tu(t)
What is the spectrum of the output Y (jω) = H(jω)X(jω), and the output
signal y(t)?
� � 1
X(jω) = F e−tu(t) = .
1 + jω
� � 2
H(jω) = F 2e−2tu(t) = .
2 + jω
2
Y (jω) = H(jω)X(jω) =
(1 + jω)(2 + jω)
1.5
1 !
0.5
|X( j!)| 0 0 ∠X( j!)
!0.5
!1 −!
!5 !4 !3 !2 !1 0 1 2 3 4 5
!
1.5
1
!
0.5
|H( j!)| 0 0 ∠H( j!)
!0.5
!1 −!
!5 !4 !3 !2 !1 0 1 2 3 4 5
!
1.5
1
!
0.5
|Y ( j!)| 0
0 ∠Y ( j!)
!0.5
!1
−!
!5 !4 !3 !2 !1 0 1 2 3 4 5
!
2 2 2
Y (jω) = = −
(1 + jω)(2 + jω) 1 + jω 2 + jω
The last two steps we’ll cover in the section on Laplace transforms, later in
the quarter.
Ideal Filters
There are several basic filter types we will encounter. Some of these are:
Ideal Lowpass:
H( j!)
−!c !c !
H( j!)
−!c !c !
−!0 !0 !
This passes a band of frequencies. The bands are of width 2ωc, and are
centered at ±ω0. This is useful in communications, were we want to select
for a specific frequency range.
Ideal Lowpass
−!c !c !
can be written as
H(jω) = rect(ω/(2ωc))
The impulse response is then
�� � ��
� ��
2ωc 2π 2π � ω �
F −1
{rect(ω/(2ωc))} = F −1
rect
2π 2ωc 2ωc 2π
�ω � �ω �
c c
= sinc t
π π
2! ! ! 2! t
− −
"c "c "c "c
Since we are going to have to truncate the impulse response, we’d like it to
decay as fast as possible, so that we minimize its length. We can do this by
making the response smoother.
has the same passband, but allows for a transition band of width ωc. This
can be written as a convolution of two rect’s,
This will decay as 1/t2, which is much faster. Smoother transition bands
will result in faster decay, and even shorter impulse responses for a given
truncation error.
H( j!)
−!c !c !
H(jω) = 1 − rect(ω/(2ωc))
!c
!(t) "c �" �
�! � " c
!c c !(t) − sinc t
− sinc t # #
" "
2! ! ! 2! t
− −
"c "c !c "c "c
−
"
−!0 !0 !
can be considered an ideal lowpass filter that has been modulated to ω0.
The frequency response can be written
� � � �
ω + ω0 ω − ω0
H(jω) = rect + rect
2ωc 2ωc
The impulse response of a bandpass filter is simply a lowpass filter that has
been multiplied by a cosine!
!c �! � �! �
c !c
2 sinc t (2 cos(!0t)) sinc
c
t
" " " "
2! ! ! 2! t
− −
"c "c "c "c
!c �! �
c
−2
− sinc t
" "
H(jω) = Ke−jωtd
or
|H(jω)| = K
� H(jω) = −ωtd
! !
−!td
The ideal filters are not causal, so they can’t be implemented. In practice
they must be truncated and delayed. An ideal lowpass, and a truncated and
delayed lowpass are plotted below:
td
So far we have mostly been concerned with the system amplitude response,
as in the communication example (Lecture 6, page 11):
1.5
1
Input, x(t)
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
1.5
Impulse Response, h(t)
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
1.5
1
Output, y(t)
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
The frequency response of a system can affect both the amplitude and
phase of the output signal.
� H(jω) = −ωtd
If the phase is not linear, the time delay is no longer a constant, and is a
function of frequency.
d
td(ω) = − � H(jω).
dω
! !
d
td (!) = − ∠H(!)
d!
The effect of frequency dependent delays are shown below. The same input
(top) is applied to a linear phase system (middle), and system with linear
phase plus a small third order term (lower).
1.5
1
Input
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
1.5
Delayed Output
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
Phase Distorted Output
1.5
0.5
!0.5
0 1 2 3 4 5 6 7 8 9 10
Time, s
High and low frequencies aren’t aligned, and the transition gets broader.