Documente Academic
Documente Profesional
Documente Cultură
Control: 580.222
Michael Miller, Sri Sarma, Rene Vidal
January 28, 2015
Contents
I
Dynamic Systems
4
5
7
22
22
25
25
23
Fourier Transforms
5.1 The Transfer Function . . . . .
5.2 Periodic Signals & Fourier Series Expansions . . . . . . . . .
5.3 Non-periodic Fourier Transform
30
30
31
33
37
37
37
44
44
45
39
41
43
Part I
Dynamic Systems
Chapter 1
Linearity and Time
Invariance
1.1
Given a first order, constant coefficient differential equations with zero-initial condition
y(t)
+ ay(t) = u(t) , y() = 0 .
Let us call u(t) the input, y(t) the output, and the
system transformation equation describing the
relationship between input and output is given
by the differential equation.
Given is a first order, constant coefficient difference equation with zero-initial condition
y[n] = y[n 1] + u[n] , y[] = 0 .
Let us call u[n] the input, y[n] the output, and the
system transformation equation describing the
relationship between input and output is given
by the differential equation.
Such systems enjoy two of the most important properties we shall study through this class,
the properties of linearity and time-invariance.
(i) Linearity: We will define this subsequently,
but for now, linearity corresponds to the the very
straightforward notion that if you scale the input
u it scales the output y, and if you add inputs,
4
1.2
Linearity
u3 = 1 u1 + 2 u2 then output y3 = 1 y1 + 2 y2
satisfies the differential equation. Then we have
d
(1 y1 (t) + 2 y2 (t)) +a (1 y1 (t) + 2 y2 (t))
{z
}
|
{z
}
dt |
y3 (t)
y3 (t)
i it
a
e +
eit = eit .
a + i
a + i
eit + eit
,
2
1 1
1 1
eit +
eit
2 a + i
2 a i
a2
1
cos(t arctan/a) .
+ 2
1.3
Time Invariance
There is a second property which this first order differential equation enjoys, the time invariance property, coming from the constant coefficients. As for the time invariance, simply stated,
an shift in time of the input results in the same
output just shifted in time.
Definition 1.3.1. A continuous time system with
input u(t) and output y(t) is time-invariant if
u(t t0 ) creates output y(t t0 ), for all inputs
u and shifts t0 . A discrete time system with input
u[n] and output y[n] is time-invariant if u[nn0 ]
creates output y[n n0 ], for all inputs u and
shifts n0 .
Example 1.3.1. Let the input be u2 (t) = ei(tt0 ) =
u1 (t t0 ), then we have to show
y2 (t) = y1 (t t0 ) =
To see this, y 2 (t) =
1
ei(tt0 ) .
a + i
i
ei(tt0 )
a+i
and then
i i(tt0 )
a
e
+
ei(tt0 )
a + i
a + i
= ei(tt0 ) = u1 (t t0 ) = u2 (t) .
Thus we see that a simple shift of the complex exponential, the output is shifted in the same
manner. Demonstrate to yourself that the same
is true for arbitrary periodic P
inputs represented
via the Fourier series u(t) = k ak eik t .
Example 1.3.2. Let y[n] = nu[n]. Here we
can see this is not time-invariant. Pick a signal
u1 [n] = 0 for n 6= 0, and u1 [0] = 1. Then for
u1 [n] we have y1 [n] = 0. For u2 [n] = u1 [n 1]
we have y2 [1] = 1 and y2 [n 6= 1] = 0. Notice
not a simple shift so that for u2 [n] = u1 [n n0 ],
then y2 [n] 6= y1 [n n0 ].
Example 1.3.3. Let system be a constant coefficient difference equation with zero initial condition y[] = 0 and with input u[n] and output
y[n] given by system equation
u[n] = y[n] y[n 1] .
7
bu2 [n]
Time invariant: Let u1 [n] produce y1 [n], then introducing shift m0 we must prove u2 [n] = u1 [n
m0 ] produces y2 [n] = y1 [nm0 ]. Given u1 [n] =
y1 [n] y1 [n 1], then we have
u1 [n m0 ] = y1 [n m0 ] y1 [n m0 1] ;
| {z }
| {z }
|
{z
}
u2 [n]
y2 [n]
y2 [n1]
thus y2 [n] = y1 [n m0 ].
Example 1.3.4. So lets see linearity and timeinvariance in action. Let system be a constant
coefficient difference equation at rest (zero initial condition)
u[n] = y[n] y[n 1], y[] = 0 .
Then for u1 [n] = ein then the solution y1 [n] =
1
ei0 n . To see this,
1ei0
1
1
i0 n
e
ei0 (n1)
(1.1)
i
i0
0
1
e
1
e
1
i0
=
(1 e ) ei0 n . (1.2)
1 ei0
ei0 n =
Let input u[n] = cos 0 n then linearity allows us to guess the solution as additive
1
1
1
i0 n
i0 n
y[n] =
e
+
e
2 1 ei0
1 ei0
1
i0 n
= Real
e
1 ei0
1
sin 0
=p
cos(0 n tan1
).
1 cos 0
(1 cos 0 )2 + ( sin 0 )2
Summary We have examined several simple properties that the differential equation satisfies, linearity and time-invariance. Therefore,
we have arrived at the second major component
of our study of linear, time-invariant (LTI) systems, which is to understand the outputs of LTI
systems to arbitrary inputs. To do so, one needs
to understand the convolution integral and the
remaining 12 lectures work to generalize and
strengthen the these very notions.
Chapter 2
Unit Sample and
Unit Impulse
Responses of LTI
Systems
Lets examine some special signals, first in discrete time, then in continuous time.
Definition 2.0.2. The discrete time unit step is
given by
us [n] = 1 , n = 0, 1, 2, ... ;
us [n] = 0 , n < 0 .
The discrete unit sample is [n] = 1, n = 0 and
0 otherwise, defined in terms of the unit-step as
[n] = us [n] us [n 1] .
The continuous time version has similar form:
us (t) = 1 , t 0 ;
us (t) = 0 , t < 0 .
The continuous unit impulse defined in terms of
the unit-step as
(t) = u s (t)
Proposition 2.0.1 (Anti-Derivative, Anti-Difference Property). The summability or integrability
10
property is as follows:
n
X
us [n] =
[k]
k=
Z t
( )d .
us (t) =
k=
= us [n] us [n 1] + us [n 1] us [n 2] + ....
{z
}
|
telescoping series
= us [n] us [] = us [n] .
For the continuous version, we integrate the total
differential:
Z t
Z t
u s ( )d
( )d =
Z t
=
dus ( ) = us (t) us () = us (t) .
X
k=
u[n k][k]
u[k][n k] .
k=
Z
u(t) =
u( )(t )d .
u[n k][k] =
k=
X
k=0
u[n k]
k=
X
k=1
11
u[n k] = u[n]
Z
Z
u(t )u s ( )d .
(du(t ))us ( ) +
=
This gives
Z
u(t )( )d =
du(t )
0
2.1
f [k]g[n k] .
k=
{z
u[n]h[n]
R
Let u(t) be rewritten as u(t) = u( )(t
)d . Then the output of a linear system with
unit sample responses h (t) to input is given by
Z
y(t) =
u( )h (t)d ;
{z
}
|
u(t)h(t)
13
2.2
Now we show that integrating factors from differential equations define impulse responses from
Signals, Systems and Controls. For particular
cases, you guys already know this!
Proposition 2.2.1. The output of this first order
differential equation at rest
u(t) = y(t)
+ ay(t), y() = 0 ,
with input u(t) is given according to
y(t) = u(t) eat us (t) ,
with unit impulse response h(t) = eat us (t).
The output of the first order difference equation at rest
u[n] = y[n] y[n 1], y[] = 0 ,
with input u[n] is given by the convolution
y[n] = u[n] n us [n] ,
with unit sample response h[n] = n us [n].
For this, examine the differential equation
and introduce the integrating factor f (t) which
has the property that it makes one side
R t of the
equation into a total differential so that dg( ) =
g(t)g(). Starting with u(t) = y(t)+ay(t),
= f (t)y(t) .
14
Z t
ea(t ) u( )d
=
Z
u( ) ea(t ) us (t ) d
=
|
{z
}
h(t )
at
= e
us (t) ,
k=
= f [n]y[n] .
15
[n]
n
X
f [k]u[k]
k=
X
k=
u[k] nk s[n k]
|
{z
}
h[nk]
=
u(t) with initial condition y(t0 ) = A.
Example 2.2.2. Here is an integrating factor for
the non time-invariant case. One of the wonderful students pointed this out. Let y(t0 ) = A an
initial condition with input applied after t0 with
differential equation which has a non constant
coefficient:
u(t) = y(t)
+ a(t)y(t), y(t0 ) = A ,
then the integrating factor satisfies
f(t) = a(t)f (t) .
16
Rt
Rt
t0
a( )d
t0
a()d
u( )e
Rt
a()d
d .
t0
Rt
t0
a( )d
Z
a(t)
{z
u( )e
Rt
a()d
t0
a(t)y(t)
+u(t) + a(t)y(t)
= u(t) .
We make the following comment. Notice
the output is a function of the input convolved
with a property of the system, eat us (t). This
property we call the impulse response of the
system and we will study it extensively. For LTI
systems this will always be true, although the
property of the system will change depending
on the system. Now we solve for the impulse
response directly.
Example 2.2.3. Lets check our answers returning to the differential and difference equations.
For
u(t) = y(t)
+ ay(t) , y() = 0 ,
with impulse response h(t) = eat us (t), lets
verify this satisfies the definition of the unit impulse response for the differential equation:
(t) = h(t)
+ ah(t) , h() = 0 .
For this we will use the fact that u s (t) = (t).
Assuming h(t) = eat us (t), we have
h(t)
+ ah(t)
d at
e us (t) + aeat us (t)
=
dt
d
= eat us (t) aeat us (t) + aeat us (t)
dt
d
=
us (t) = (t) .
dt
17
d
}
Example 2.2.4. Lets check the unit sample response for the difference equation
u[n] = y[n] y[n 1] , y[] = 0 ,
then lets see
h[n] = n us [n] .
satisfies definition of unit sample response
[n] = h[n] h[n 1] .
Then h[n] = 0, n 1, then
h[1]
h[0]
h[1]
h[2]
h[n]
=
=
=
=
=
0
[0] = 1
h[0] =
h[1] = 2
n , n 0 .
Example 2.2.5. Examine an R-C circuit with input voltage Vinput (t) with the resistor and capacitor in series and taking the output across the
capacitor. Then
Vinput (t) = Vr (t) + Vc (t) ;
defining I(t) the current through the resistorcapcitor then the voltage across the resistor Vr (t) =
RI(t) and the voltage across the capactitor using the relationship Q = CV gives
Z
1 t
I( )d .
Vc (t) =
C
Then taking the voltage across the capacitor
as the output y(t) with the input voltage source
u(t). Taking the derivative of the output gives
an expression for the current, I(t) = C y(t).
We have our LTI system (first-order constantcoefficient differential equation), with impulse
t
1 RC
response h(t) = RC
e
us (t) (notice, the 1/RC
scaling results from the equation). The output
becomes
Z
1 t
u( )
e RC us (t )d
y(t) =
RC
Z t
t
1
=
u( )e RC d .
RC
2.3
Commutatitive Property of
Convolution
u[k]h[n k]
nk=r
k=
X
r=
u[n r]h[r]
h[r]u[n r]
r=
2.4
h[n] u[n] .
19
y(t)
y[n] y[n 1]
= (us h)[n] (us h)[n 1] = (h us )[n] (h us )[n 1]
X
X
h[k]us [n 1 k]
h[k]us [n k]
=
k
h[k](us [n k] us [n 1 k])
h[k][n k] = h[n] .
Example 2.4.1. So now we have our general solutions for the difference equations and differential equations, so we can look at unit-step responses. For the difference equation
u[n] = y[n] y[n 1] ,
we have
X
k=
X
k=
n
X
k=
20
u[k]h[n k]
u[k]nk us [n k]
u[k]nk .
n
X
us [k]nk =
k=
n
X
nk us [n]
k=0
(n+1)
1
us [n]
1 1
1 n+1
n+1 1
us [n] =
us [n]
=
1
1
= n
u( )ea(t ) us (t )d
y(t) = u(t) h(t) =
Z t
u( )ea(t ) d .
=
y[n] y[n 1] =
n>0
n=0
21
Chapter 3
Properties of LTI
Systems
3.1
Causality
u( )h(t )d
y(t) =
u( )h(t )d
+
t
= f (u( ), > t) ,
if h(t) 6= 0 f or t < 0 .
Example 3.1.1. Let h(t) = us (t + 3), then system is not causal.
Z
y(t) = us (t) h(t) =
us ( )us (t + 3 )d
Z t+3
=
us ( )d
3.2
Definition 3.2.1. A system is BIBO stable (boundedinput, bounded output), if a bounded input implies a bounded output.
Here is a sufficient condition for LTI systems.
R
Proposition 3.2.1. P
If |h(t)|dt < , or for
discrete systems if
n= |h[n]| < then the
system is BIBO stable.
Let |u(t)| < B, t, then
y(t) = u(t) h(t) = h(t) u(t)
Z
=
h( )u(t )d
Z
|h( )||u(t )|d
Z
B
|h( )|d < C
Z t
d = t .
=
0
0
Notice for = 0, you have to be more careful (differentiate numerator and denominator).
23
1 n+1
us [n] .
1
24
Chapter 4
Eigenfunctions of
LTI Systems
So now we have examined several simple properties that systems satisfy including linearity and
time-invariance, and the implication that the outputs for LTI systems are given by convolution
integrals and sums. Now we will see that complex exponentials have the special property that
they pass through changed only by a complex
number in the differential equation. We will see
the roll of transforms, as representing arbitrary
inputs via the superpositions of complex exponentials. This discussion is often called a frequency domain analysis. Frequency domain
analysis studies the outputs of linear and timeinvariant systems via their response to complex
exponentials.
4.1
The differential equation is a beautiful example of a linear and time-invariant system, denoted LTI. All LTI system enjoy the following
exquisite property which lays the basis for our
use of Transforms and the special roll of complex exponentials, cosines and sines in LTI system.
Example 4.1.1. Let us see that this is true for
our differential equation. Let u(t) = ei2f t , then
the output to the differential equation with boundary condition y() = 0 is simply a scaled
25
y(t)
ay(t)
1
.
a+i2f
Example 4.1.2. Not all inputs have this property. Let us look at a particular example, examine the special function, the sinc function,
very important in communcations engineering
sin 2t
.
2t
Let us demonstrate that y(t) 6= Hu(t) for any
complex constant H. Assume it is, then solving
the differential equation gives
u(t) = sinc(t) =
cos 2t
sin 2t
sin 2t
sin 2t
H
+aH
=
.
2
2t
2t
2t
2t
Choosing t = 21 implies H = 0, which is a contradiction since for other times t 6= 0 the value
H = 0 doesnt solve the equation.
H2
26
i2f n
h[k]ei2f k
k=
{z
Z
h( )ei2f (t ) d
=
Z
i2f t
= e
h( )ei2f d .
e(a+i2f ) d
e(a+i2f ) |
0
.
a + i2f
27
then
H(f ) =
=
h(k)ei2f k
k=
(ei2f )k =
1
.
(1 ei2f )
CHECKING OUR ANSWERS: Notice, complex exponentials pass right through this system
as well with just a complex number added. guess
y[n] = H(f )ei2f n , then
ei2f n = H(f )ei2f n H(f )ei2f (n1) ,
implying
H(f ) =
1
1 ei2f
28
Part II
Transfer Functions of
LTI Systems
29
Chapter 5
Fourier Transforms
5.1
Notice, if T is the period of each of the frequencies so that fk = k/T (which will be the
case when we look at Fourier series), then the
signal x(t) in this expansion is periodic u(t) =
u(t mT ).
The special property of LTI systems is that
using the divide and conquer strategy of LTI
systems, the output of such a series is a linear
superposition of complex sinusoidal inputs.
Example 5.1.1. For y(t) related to input u(t)
with differential equation at rest y(t)
P+ ay(t) =
u(t), y() = 0, then for u(t) = k Uk ei2fk t
the output becomes
X
1
ei2fk t .
y(t) =
Uk
a
+
i2f
k
| {z k}
Fourier transform H(f)
30
system transfer
where
Z
h(t)ei2fk t dt .
H(fk ) =
5.2
k
T
then, u (t) = u (t mT ).
31
The Fourier series representations gives a formula for the complex numbers in the representations Uk .
Proposition 5.2.2. Let uT (t) be periodic with
period T , so that the frequencies fk = Tk =
kf0 ,f0 = 1/T and
SYNTHESIS
X
X
k
u (t) =
Uk ei2 T t =
Uk ei2kf0 t
T
Uk
ANALYSIS
Z
k
1 T T
u (t)ei2 T t dt
=
T 0
Z
1 T /2 T
u (t)ei2kf0 t dt .
=
T T /2
uT (t)ei2 T t dt
=
0
X
k
Uk ei2 T t ei2 T t dt
k
T
ei2
Uk
(km)
t
T
dt
Uk T [k m]
OK, so how do we use this. Well, for periodic signals with period T , then we just have to
evaluate the Fourier series coefficients Uk .
Example 5.2.1.
1. u(t) = constant, then a0 =
constant and Uk = 0, k 6= 0 for any period T .
32
1
,
f0
5.3
1
,
f0
a1 = 1,
1
,
f0
a1 =
a1 =
1
,
2i
Proof.
Uk
Z
k
1 T /2 T
u (t)ei2 T t dt
=
T T /2
Z
k
1
=
u(t)ei2 T t dt
T
1
=
U (f )|f = k .
T
T
33
T /2
1
=
T
B
=
T
uT (t)ei2 T t dt
T /2
A
2
ei2 T t dt
A
2
k
i2 T t 2
| A
Be
2
i2 Tk
B sin Tk A
B ei T A ei T A
=
=
T
k
i2 Tk
Example 5.3.2. Let u(t) = B, t [ A2 , A2 ], and
0 otherwise. Then
Z
u(t)ei2f t dt
U (f ) =
A
2
= B
ei2f t dt
A
2
A
= a
ei2f t |2 A
2
i2f
B sin f A
=
f
=B
eif A eif A
i2f
Uk =
34
X1
U (kf0 )ei2kf0 t
= lim
T
T
k
X
= lim
U (kf0 )ei2kf0 t f0
f0 0
U (f )ei2f t df
Z A
B sin f A
=
Bei2f t dt =
.
f
A
Then the synthesis shows
Z
B sin f A i2f t
u(t) =
e
df .
f
35
1
.
a + i2f
=
eat us (t)ei2f t dt =
1
a + i2f
1
=
ei2f t df
a + i2f
Example 5.3.5. Let u(t) = (t), then
Z
U (f ) =
(t)ei2f t dt = 1
36
Chapter 6
Properties of Fourier
Transforms
6.1
Even-Odd Property
odd
u(t) = (t) 1
6.2
Y (f )ei2f t df = u(t t0 )
U (f )ei2f (tt0 ) df
U (f )ei2f t0 ei2f t df
{z
}
|
Y (f )
B sin Tk A
Tk
B sin Tk A
.
k
X B sin k A
T
ei2 T t ei2
kA/2
T
k
BA X B sin Tk A i2 k t
=
+
e T + ei2 T t .
T
k
k=1
BA X B sin Tk A
k
=
+
2
cos(2 t) .
T
k
T
k=1
38
6.3
Yk ei2kf0 t
Y (f )
y(t) =
=
T
T
X1
= lim
U (kf0 )H(kf0 )ei2kf0 t
T
T
k
X
= lim
U (kf0 )H(kf0 )ei2kf0 t f0
f0 0
U (f )H(f )ei2f t df
39
Proposition 6.3.3.
u(t) U (f ) , h(t) H(f ) ,
then
y(t) = u(t) h(t) Y (f ) = U (f )H(f ) .
Proof.
Z
y(t) = u(t) h(t) = u(s)h(t s)ds
Z Z
Y (f ) =
u(s)h(t s)ds ei2f t dt
|
{z
}
y(t)(r=ts)
Z Z
=
= U (f )H(f )
Example 6.3.1. Examine the RLC circuit, output across the capacitor at rest, y() = 0,
then
y(t)
=
1
1
y(t) +
u(t) ,
RC
RC
t
1 RC
with impulse response h(t) = RC
e
s(t). Then
T
assume input u (t) a periodic waveform uT (t) =
B, t [ A2 , A2 ], periodic uT (t mT ) = uT (t).
Then the output y T (t) in Fourier series is given
by
y T (t) =
X 1 B sin f A
k
|f = k
T
k
1
|f = k ei2 T t .
T
1 + i2f RC
= ay(t) +
at
u(t), then h(t) = e s(t) and let input u(t) =
40
B, t [ A2 , A2 ]. Then
Z
U (f )H(f )ei2f t df
y(t) =
Z
B sin f A
1
ei2f t df
=
f
a + i2f
{z
}
|
Y (f )
= u(t) h(t)
The input is real to the differential equation
so we should expect the output will be real as
well.
Z
B sin f A
1
y(t) =
ei2f t df
f
a + i2f
|
{z
}
Y (f )
=
Z 00
+
1
B sin f A
ei2f t df
f
a + i2f
B sin f A
1
ei2f t df .
f
a + i2f
i2r
+
Z
B sin rA
1
=
ei2rt dr
r
a
i2r
0
Noticing this is the complex conjugate gives the
output in terms of a real cosine series using the
formula A + A = 2Real(A) for A complex:
Z
B sin f A
1
i2f t
Real
e
df
y(t) =
f
a i2f
0
Z
2B sin f A
1
p
=
2
f
a + (2f )2
0
2f
)df
cos(2f t tan1
a
6.4
d
u(t) i2f U (f ) .
dt
1
Y (f )
=
.
U (f )
i2f
=
u(t), then we can use the linearity of the Fourier
transform to calculate the transfer function.
y(t)
i2f Y (f ) , y(t) Y (f ), u(t) U (f ) .
Then we have the transfer function equation
i2f Y (f ) + aY (f ) = U (f ) ,
implying H(f ) =
Y (f )
U (f )
1
.
i2f +a
42
6.5
f
Z
B sin f A i2f t
u(t) =
e
df
f
A A
uT (t) = B, t [ , ], uT (t) = uT (t + mT )
2 2
X 1 B sin f A
uT (t) =
|f =kf0 ei2kf0 t
T
f
k
1
u(t) = eat s(t)
a + i2f
Z
1
eat s(t) =
ei2f t df
a + i2f
y(t)
u(t A/2)
u(t A/2)
1ei2f t df
U (f )e2f t0
Z
U (f )e2f t0 ei2f t df
B sin f A i2f A
2
e
B, t [0, A]
f
Z
B sin f A i2f A i2f t
2 e
e
df
f
Uk H(kf0 ) f0 =
k
T
Uk H(kf0 )ei2kf0 t
43
1
T
Chapter 7
Duality and
Modulation
7.1
B sin tA
t
Proposition 7.1.1.
u(t) U (f ) then
U (t) u(f ) .
Proof of : U (t) u(f )
Beginning with u(t) U (f ) implies
Z
Z
i2f t
u(t) = U (f )e
df = U (r)ei2rt dr.
Now substituting f for the variable t gives
Z
u(f ) = U (r)ei2rf dr ,
and changing the dummy variable r to t gives
the Fourier transform pair U (t) u(f ) according to
Z
u(f ) = U (t)ei2tf dt .
44
Example 7.1.1.
A A
B sin f A
, ]
2 2
f
A A
B sin tA
u(f ) = B, f [
, ]
t
2 2
e.g.
u(t)
B, t [
u(t) = B, t [0, A]
B sin tA
t
B sin f A i2f A
2
e
f
Example 7.1.2.
u(t)
1
a + i2t
(t)
1
(t + t0 )
e+i2tf0
(t t0 )
ei2tf0
7.2
eat s(t)
1
a + i2f
1
(f )
e+i2f t0
((f + f0 )) = (f f0 )
ei2f t0
((f f0 )) = (f + f0 )
Proof:
Z
Z
i2f0 t i2f t
u(t)e
e
dt =
u(t)ei2(f f0 )t
= U (f f0 ) .
Proposition 7.2.2.
u(t) U (f )
,
y(t) Y (f )
then z(t) = u(t) y(t) Z(f ) = U (f ) Y (f )
45
Proof:
Z Z
z(t) =
U (r)Y (f r)drei2f t df
Z Z
U (r)Y (s)drei2(r+s)t ds
Z
Z
i2r
=
U (r)e dr Y (s)ei2s ds = u(t) y(t) .
46