Documente Academic
Documente Profesional
Documente Cultură
Textbooks: Fundamentals of signals and systems using the web and Matlab
Authors: Edward W. Kamen and Bonnie S. Heck
Prentice-Hall International, Inc.
Web site: http://users.ece.gatech.edu/~bonnie/book/
Domestic dealer: Chwa books Corp.
Lecture note compiler: Ping-Sung Liao
Chapter 1 Fundamental Concepts
1 92
08/19/2007
(t ) = 0, t 0
(t ) = 1,
Periodic signals
A continuous-time signal x(t) is periodic with period T if x(t + T) = x(t ) , for all t.
Note that the fundamental period is the smallest positive number T which satisfies the
foregoing definition of periodic signals.
Time-Shift signals
Given a continuous-time signal, x(t), the shifted version of x(t) usually is denoted as x(t-t1)
or x(t+t1) where t1 > 0. The signal of x(t-t1) is shifted to the right by t1 seconds and the
signal of x(t+t1) is shifted to the left by t1 seconds.
2 92
08/19/2007
>>
>>
continuous-time signal
continuous-time signal is continuous as a function of t.
3 92
08/19/2007
1, n =0, 1, ...
u[n] =
0, n =-1, -2, ...
Discrete-time Ramp function
n, n =0, 1, ...
r[ n ] =
0, n=-1, -2, ...
Discrete-time unit-pulse function [n]
1, n =0
[ n] =
0, n 0
Discrete-Time Periodic Signals
x[n + r] = x[n], for all integer n and r is called the period (fundamental period).
For instance, x[n] = Acos(n + )
The signal is periodic if Acos[(n+r) + ]= Acos(n + ).
In other words, r=2q for some integer q.
dy (t ) 1
+ y (t ) = i(t ) = x(t )
dt
R
Assumption : initial value y (t0 ), x(t ) = u (t )
1 (t / RC )(t )
e
d
0 C
= y (t0 ) + R[1 e (t / RC )t ], t 0
y (t ) =
4 92
08/19/2007
d 2 y (t )
M
+ k f y (t ) = x(t )
dt 2
Let v(t ) = dy (t ) / dt
Thus,
dv(t )
M
+ k f v(t ) = x(t )
dt
Mass-Spring-Damper system
d 2 y (t )
+ Dy (t ) + Ky (t ) = x(t )
dt 2
Simple pendulum
d 2 (t )
+ MgL sin (t ) = Lx(t )
dt 2
If the magnitude of the angle (t ) is small, so that sin (t ) is approximately equal to
I
d 2 (t )
+ MgL (t ) = Lx(t )
dt 2
5 92
08/19/2007
Linearity
A system is said linear if it is both additive and homogeneous.
x1 (t ) 6 y1 (t )
x2 (t ) 6 y2 (t )
additive: x1 (t ) + x2 (t ) 6 y1 (t ) + y2 (t )
homogeneous: ax1 (t ) 6 ay1 (t ), where a is a scalar
linearity: a1 x1 (t ) + a2 x2 (t ) a a1 y1 (t ) + a2 y2 (t ), where a1 and a2 are any real scalar
A system that is not linear is said to be nonlinear.
Note that the system analysis on more widely used systems are based on linearization
method.
Time-invariance
The system is said to be time-invariant if for any input x(t) and any time variable t1, the
response to the shifted input x(t-t1) is equal to y(t-t1), where y(t) is the response to x(t)
with zero initial energy.
A system is time varying or time variant if it is not time invariant.
6 92
08/19/2007
Finite dimensionality
Given a continuous system with input x(t) and output y(t), the system is finite dimensional
if for some positive integer N and nonnegative M, can be written in the form
y ( N ) (t ) = f ( y (t ), y (1) (t ),..., y ( N 1) (t ), x(t ), x (1) (t ),...x ( M ) (t ), t ),
where N 1, M > 0
Given a discrete-time system with input x[n] and output y[n], the system is finite
dimensional if for some positive integer N and nonnegative M, can be written in the form
y[n] = f ( y[n 1], y[n 2],..., y[ n N ], x[ n], x[ n 1],..., x[ n M ], n),
where N 1, M > 0
y[n] =
i =0
1
x[i ]
ni
1
1
1
x[0] + (
) x[1] + ... + x[n 1] + 0 x[ n]
n
n 1
1
1
1
1
= 0 x[n] + x[n 1] + ... + (
) x[n (n 1)] + x[n n]
n 1
n
1
Because the last term in the right-side cannot be specified by x[n-M] in which M is a
deterministic non-negative integer, this discrete-time difference equation is infinite
dimensional.
y[n] =
7 92
08/19/2007
= ai (t ) y (i ) (t ) +
i =0
b (t ) y
i =0
(i )
(t )
where N 1, M > 0
y[n] = f ( y[n 1], y[n 2],..., y[n N ], x[ n], x[n 1],..., x[ n M ], n),
N 1
i =1
i =0
= ai (t ) y (i ) (t ) +
i =0
b (t ) x
i =0
(i )
(t )
i =1
i =0
8 92
08/19/2007
y ( N ) (t ) + ai (t ) y (i ) (t ) =
i =0
b (t ) x
i =0
(i )
(t )
y ( N ) (t ) + ai y (i ) (t ) =
i =0
b x
i =0
(i )
(t )
Initial condition
To solve the foregoing equation, it is necessary to specify the N initial conditions, either
y (0), y (1) (0),... y ( N 1) (0) for most cases or y (0 ), y (1) (0 ),... y ( N 1) (0 ) if the Mth
derivative of the input x(t) contains an impulse k(t) or a derivative of an impulse.
First-order case
Canonical formation
dy (t )
(2.4)
+ ay (t ) = bx(t )
dt
Its output response y(t) for the initial condition y(0) and input x(t) is given by
t
y (t ) = y (0)e ( at ) + e a (t )bx( )d , t 0
0
(2.5)
or
t
y (t ) = y (0 )e ( at ) + e a ( t )bx( )d , t 0
0
9 92
(2.6)
08/19/2007
READING SKILL
dy (t )
dx(t )
+ ay (t ) = b1
+ b0 x(t )
dt
dt
(2.7)
d [ y (t ) b1 x(t )]
+ ay (t ) = b0 x(t ),
dt
d [ y (t ) b1 x(t )]
+ a[ y (t ) b1 x(t )] = b0 x(t ) ab1 x(t ),
dt
dq (t )
+ aq (t ) = (b0 ab1 ) x(t )
dt
where q (t ) = y (t ) b1 x(t )
(2.11)
(2.12)
(2.13)
Note that if the input x(t) is the unit-step function u(t), the response of output y(t) in
(2.13) is expressed as
t
= b1u (t ) +y (0 )e
=
( at )
In building the input/output equation of a system, one must be familiar with the laws of
physics and the methodologies of mathematics.
Electrical circuits
Resistor: v (t ) = Ri (t )
dv(t )
1 t
Capacitor : i (t ) = C
or v(t ) =
i ( ) d
dt
C -
di (t )
1 t
or i (t ) = v( ) d
Inductor : v(t ) = L
dt
L -
10 92
08/19/2007
where v(t)and i(t) are the terminal voltage across the component such as R, L, C.
Mechanical systems
There are three types of forces that resist the translation motion.
Inertia force x I (t ): xI (t ) = M
d 2 y (t )
dt 2
Damping force x d (t ): xd (t ) = kd
d y (t )
dt
Spring force x s (t ): xd (t ) = k s y (t )
Dalemberts principle
Any fixed time the sum of all external forces applied to a body in a given direction and
all the forces resisting the motion in that direction must be equal to zero.
Inertia torque x I (t ): xI (t ) = I
d 2 (t )
dt 2
11 92
08/19/2007
Damping torque x d (t ): xd (t ) = kd
d (t )
dt
Spring torque x s (t ): xd (t ) = k s (t )
i =1
i =0
(2.35)
The foregoing difference equation is linear, time-invariant, causal and finite dimensional.
The solution of (2.35) can be computed recursively as follows.
N 1
i =1
i =0
Example:
By considering the first-order linear difference equation
y[ n] = ay[ n 1] + bx[ n]
with initial condition y[0].
y[ n] = ( a ) n y[0] + ( a ) n i bx[ n]
i =1
12 92
08/19/2007
First-order case
dy (t )
+ ay (t ) = bx(t )
dt
(2.46)
dy (t )
y[(n + 1)T ] y[nT ]
=
dt t =nT
T
(2.48)
(2.49)
(2.51)
Second-order case
(2.62)
Dealing with the above equation, the following approximations are needed to
approximate the first-order and the second-order derivatives.
13 92
08/19/2007
dy (t )
y[(n + 1)T ] y[nT ]
=
dt t = nT
T
d 2 y (t )
y[(n + 2)T ] 2 y[(n + 1)T ] + y[nT ]
=
2
dt t = nT
T2
Setting t=nT in (2.62) and using the approximations given above result in the following
time discretization of (2.62).
y[ n + 2] 2 y[n + 1] + y[ n]
y[n + 1] y[ n]
x[n + 1] x[ n]
+ b0 x[n]
+ a1
+ a0 y[ n] = b1
2
T
T
T
After summarizing,
The time-varying property of capacitance C(t) is a result of changing the position of the
dielectric. The charge-voltage relationship of capacitor is given by
q (t ) = C (t )vc (t )
14 92
08/19/2007
ic (i ) =
v (t )
dq (t )
= C (t ) c + C (t )vc (t )
dt
dt
i =1
i =0
If the explicit expression of function f(.) is given, the solution can be obtained as the
recursion process (program) for the linear system does.
15 92
08/19/2007
If the input signal is shift to right with delay time t=i, the shifted unit-pulse response with
respect to the same system shown in Fig. 3.1 is given below.
In general case, the input signal x[n] can be expressed in the form
16 92
08/19/2007
(3.3)
x[n] = x[i ] [n i ]
i =0
(3.4)
= x[i ]h[n i ]
By additive property, the response to the sum given by (3.3) must be equal to the sum of
the individual sum yi[n]. Thus the response to x[n] is
y[n] = yi [n]
i =0
= x[i ]h[n i ], n 0
(3.5)
i =0
In this section, the convolution operation is defined for arbitrary discrete-time signals x[n]
and v[n] that are not necessarily zero for n<0.
The convolution of x[n] and v[n] is defined by
x[n]* v[n] =
x[i]v[n i]
i =
(3.7)
v[i]x[n i]
i =
x[n]* v[n] =
x[i ]v[n i ],
i =0
n<0
n0
17 92
08/19/2007
0,
x[n]* v[n] =
x[i ]v[n i ],
i =0
n<0
n0
18 92
08/19/2007
19 92
08/19/2007
0,
n (N + M )
can be computed by the multiplication of two rows of x[n] and v[n] using array structure.
x[ N ]
v[ M ]
x[ N + 1]
x[ M + 1]
x[ N + 2]
x[ M + 2]
x[ N + 3]
x[ M + 3]
...
...
...
...
20 92
08/19/2007
(3.23)
i =0
Note that the system is causal and the input signal is zero before n=0.
Noncausal systems:
x[i]h[n i]
i =
Since it is bi-infinite sum, the result of convolution sum cannot be evaluated in a finite
number of computations.
For a causal linear time-invariant continuous-time system, the impulse response h(t)
could be determined experimentally by applying a large-amplitude short-duration pulse
(as an approximation to (t)), but in practice it is usually not possible to apply such an
input to the system.
21 92
08/19/2007
= x( )h(t )d + x( )h(t )d
= x( )h(t )d
0
0,
= t
0 x( )h(t )d ,
(by causality )
t<0
t0
Given two continuous-time signals x(t) and v(t), the convolution of x(t) and v(t) is defined
by
22 92
08/19/2007
= x( )v(t )d + x( )v(t )d
= x( )v(t )d
0
0,
= t
0 x( )v(t )d ,
(by causality )
(3.34)
t<0
t0
The integral in (3.34) exists for all t>0 if the functions of x(t) and v(t) are integrable for
all t>0; that is,
x( ) d < and
23 92
08/19/2007
24 92
08/19/2007
Derivative property:
If the signal x(t) has an ordinary first derivative,
d
[ x(t ) * v(t )] = x (t ) * v(t )
dt
d
[ x(t ) * v(t )] = x(t ) * v(t )
dt
Integration property
Let x ( 1) (t ) and v ( 1) (t ) denote the integrals of the signals x(t) and v(t) ; that is
t
x ( 1) (t ) = x( )d and v ( 1) (t ) = v( )d
Proof:
25 92
08/19/2007
=
=
=-
[x( ) * v( )]d
[
=-
(A-1)
x( )v( )d ] d
{ x( ) [
v( )d ] }d
t
Because of v ( 1) (t ) = v( )d
( x(t ) * v
=
=-
=-
=-
( 1)
(t ))
{ x( )v ( 1) (t )}d
{ x( ) [
{ x( ) [
=
=
(A-2)
v( )d ] }d
v( )d ] }d
(3.46)
(3.47)
Note that the system is causal and the input signal is zero before t=0.
Let g(t) is the output response of the system when the input x(t) is the unit-step function
u(t) with no initial energy in the system at time t=0. From the definition of convolution,
g (t ) = h(t ) * u (t )
Differentiating the both sides of the foregoing equation and using the derivative property
of convolution gives
26 92
08/19/2007
g (t ) = h(t ) * u (t )
= h(t ) * (t )
= h(t )
Hence the impulse response h(t) of a linear system is equal to the derivate of the step
response g(t) of the system. Also, the step response of the system can be said to be the
integral of the impulse response of the system.
Noncausal systems:
y (nT ) = x( )h(nT )d
0
y (nT ) =
i =0
( i +1)T
=iT
i =0
( i +1)T
=iT
x( )h(nT )d
x(iT )h(nT iT )d
x(iT )h(nT iT )
i =0
( i +1)T
=iT
(1)d
Tx(iT )h(nT iT )
i =0
Similarly,
In general, the approximation is more accurate the smaller the duration T is.
27 92
08/19/2007
28 92
08/19/2007
x[i] h[n, i]
i =
(3.69)
Note that if the given causal time-invariant discrete-time system can be possibly and
reasonably reduce to a causal time-invariant discrete-time system, the foregoing equation
can be rewritten by
n
Given a causal time varying system, let h(t,) denote the output response when the unit
impulse is applied to the system.
By causality,
h(t , ) = 0, t <
For an input signal x(t)=0 for t<0, the output response y(t) resulting from x(t) with no
initial energy at time t=0 is given by
t
y (t ) = x( )h(t , )d , t 0
(3.73)
29 92
08/19/2007
Note that if the given causal time-invariant continuous-time system can be possibly and
reasonably reduce to a causal time-invariant continuous-time system, the foregoing
equation can be rewritten by
t
y (t ) = x( )h(t )d , t 0
0
30 92
08/19/2007
For a large class of signals, the original time waveform can be synthesized (decomposed)
by (into) the composition of sinusoidal signals.
N
x(t ) = Ak cos(k t + k ),
- < t <
(4.1)
k =1
The characteristics or features of a signal given in (4.1) can be studied in terms of the
frequencies, the amplitudes, and the phases of the sinusoidal terms comprising the signal.
In particular, the amplitudes Ak, k=1,..,N, are the major factors in determining the shape
of the signal.
NOTE THAT the direct component of a signal is not included in this Section.
Examples Sum of Sinusoids
x(t ) = A1 cos(t ) + A2 cos(4t + / 3) + A3 cos(8t + / 2), - < t <
31 92
08/19/2007
32 92
08/19/2007
Eulers formula
e j (k +k ) = cos( jk + k ) + j sin( jk + k )
cos( jk + k ) = Re[e j (k +k ) ]
N
k =1
k =1
x(t ) = ck e jk t + c k e jk t
Then x(t ) =
ce
j
k = N
kt
, <t <
where ck is in the complex form as k n , for some integer n , and the amplitude of
|ck| and |c-k| are equal.
DONT BE SILLY TO THINK A REAL-DOMAIN SIGNAL IN THE E
4.2 Fourier Series Representation of Periodic Signals
Let x(t) is a periodic signal with period T, that is
x(t ) = x (t + T ), for all t , < t < .
ce
k =
jk0t
< t <
(4.11)
where c0 is a real number and ck for k0 are in general complex numbers, and 0 is the
fundamental frequency by 0=2/T.
Obviously, the frequency content of a periodic signal is line spectra.
33 92
08/19/2007
NOTE THAT the direct component is included because of k=0 being considered. In
particular, (4.11) is not equal to (4.1).
The coefficients of ck for k0 are computed using the formula
T
k= , -2, -1, 0, 1, 2,
(4.12)
ck = x(t )dt ,
(4.13)
ce
k = N
jk0t
< t <
A periodic signal has a Fourier series if it satisfies the Dirichlet conditions given by
1. x(t) is absolutely integral over any period; that is
a +T
2. x(t) has only a finite number of maxima and minimum over any period.
3. x(t) has only a finite number of discontinuities over any period.
IMPORTANT SENSE
Fourier series representation of a periodic signal can be in three different forms: (1)
trigonometric form, (3) compact trigonometric form and (3) complex exponential form.
k =1
- < t <
k =1
(3) x(t ) =
ce
k =
jk0 t
34 92
08/19/2007
x(t ) =
1 2
+ ( cos(k t + [(1)( k 1) / 2 1] ),
2 k =1 k
2
< t <
(4.16)
k odd
1 N 2
+ ( cos(k t + [(1)( k 1) / 2 1] ),
2 k =1 k
2
< t <
k odd
35 92
08/19/2007
Gibbs phenomenon
It can be seen the magnitude of the
overshoot is approximately equal to
9% at the corners of pulse train.
36 92
08/19/2007
Parsevals theorm
Let x(t) is a periodic signal with period T, the average power of the signals is
P = x 2 (t ) dt =
0
k =
ck
ce
k =
jk0t
, <t<
) sin(
37 92
08/19/2007
ck = (
k
1
) sin( 0 ), k = 1, 2,...
2
k
The plots of |ck| for T=2, 5, 10 and infinite are display below.
It is obvious that as T is infinite, the spectrum of the one-shot pulse signal appears in
continuous form.
38 92
08/19/2007
(4.36)
1
2
X ( )e jt dt ,
(4.36A)
A signals x(t) is said to have a Fourier transform in the ordinal sense if the integral in
(4.36) converges (exists). In other words, the signal x(t) is well-behaved and the signal x(t)
is absolutely integrable,
x(t ) dt <
(4.37)
The term well-behaved means has a finite number of discontinuities, maxima, and
minima within any finite integral of time.
Except that impulse signal, most signals of interesting are well-behaved.
1
1
, X ( ) =
, (X ( ) = tan 1 ( ) )
2
2
b + j
b
b +
39 92
08/19/2007
Defining R ( ) = Re[ X ( )]
I ( ) = Im[ X ( )]
Thus the rectangular form of Fourier transform for the signal x(t) is
X ( ) = R ( ) + jI ( )
(4.39)
X ( ) = X ( ) exp( j(X ( ))
(4.40)
The relationship between (4.39) and (4.4) can be connected using the following formula.
X ( ) = R 2 ( ) + I 2 ( )
(X ( ) = tan 1 (
I ( )
)
R ( )
sin(
40 92
) )
08/19/2007
41 92
08/19/2007
NOTE THAT there are two types of definition about sinc function
(http://en.wikipedia.org/wiki/Sinc_function).
1. In digital signal processing and information theory, the normalized sinc function
is commonly defined by
sinc( x ) =
sin( x)
x
sin( x)
x
1
X ( ) for any positive real scalar a.
a
a
1
x( at )
Time reversal: x( t ) X ( )
if x(t) is a real-valued signal, the Fourier transform can be rewritten as
x ( t ) X ( )
where is X ( ) the complex conjugate of X ( ) .
Multiplication by a power of t
dn
t x(t ) ( j )
X ( )
d n
n
42 92
08/19/2007
x( )d
X ( )
+ X (0) ( )
j
In general, the integral of x(t) doesnt have a Fourier transform in the ordinary sense,
but it does have the generalized transform.
1
1
[ X ( ) *V ( )] =
2
2
43 92
X ( )V ( ) d
08/19/2007
x(t )v(t )e jt dt
t =
1
2
1
=
2
1
=
2
1
=
2
=
1
2
t =
x( )e jt d } v(t )e jt dt
x( )e jt v(t )e jt dt} d
x( ){
x( ){
t =
t =
v(t )e jt e jt dt} d
v(t )e j ( )t dt} d
x( )V ( )d
Parsevals theorem
x (t )v (t ) dt
1
2
X ( )V ( ) d =
1
2
V ( ) X ( ) d
If v(t)= x(t),
x 2 (t )dt
1
2
X ( )X ( )d =
1
2
X ( ) d
2
Duality Property
If x (t ) X ( ) is sure,
X (t ) 2 x( )
The duality property is easily proved by the institution of variables and the
definitions of Fourier transform and inverse Fourier transform.
In the ordinary sense, there are not the Fourier transform for constant signals, unit-step
function and sinusoidal functions because the absolute integral property doesnt hold for
them.
x(t ) dt <
But for the engineering needs, the generalized Fourier transform is considered here.
44 92
08/19/2007
(4.75)
0+
0+
(t )e jt dt = (t )e jt dt = (t ) 1dt = 1
(2) 1 2 ( )
(4.76)
1
+ ( )
j
Proof: Applying the integration property to (4.75) yields the result of (4.81).
(3) u (t )
(4.81)
(3) cos(0t ) [ ( + 0 ) + ( 0 )]
(4.77)
(4) sin(0t ) j [ ( + 0 ) ( 0 )]
(4.78)
(4.79)
(5) e j0t 2 ( 0 )
Proof: Applying the Eulers formula, (4.77) and (4.78) yields the result of (4.79).
Interestingly, if a signal x(t) can be decomposed and denoted by
x (t ) =
ce
k =
jk0 t
, <t<
k =
2 ( k0 )
45 92
08/19/2007
(7) cos(0t ) [ ( + 0 ) + ( 0 )]
(8) sin(0t ) j [ ( + 0 ) ( 0 )]
(A2) e j0t 2 ( 0 )
cos(0t + ) [e j ( + 0 ) + e j ( 0 )]
(complex function)
(10) sin(0t + ) [e j ( + 0 ) e j ( 0 )]
(complex function)
(9)
(A3)
cos(0t + ) = [e j (0t + ) + e j (0t + ) ] / 2
= [e j (0t + ) / 2 + e j (0t + ) / 2]
= (e j e j0t ) / 2 + (e j e j0t ) / 2
j / 0
t = t + / 0
46 92
08/19/2007
(What is the mistake for this deduction? Please find out the cause.)
47 92
08/19/2007
y (t ) = x( )h(t )d = h( ) x(t )d
(5.1)
NOTE THAT the assumption that h(t) is absolutely integrable is considered in this
Chapter.
h( ) d <
(5.2)
48 92
08/19/2007
yc (t ) = h( ) Ae j (0 (t ) + ) d
yc (t ) = [ h( )e j0 d ] Ae j (0t + )
= [ h( )e
j0
(5.5)
d ]xc (t )
The response yc(t ) can be expressed in terms of the function H() defined by
H ( ) = [ h( )e j d ]
(Fourier Transform)
(5.6)
Using the definition (5.6) of H(), the response given by (5.5) can be written in the form
yc (t ) = H (0 ) xc (t ),
<t <
H (0 ) = H (0 ) e j(H (0 )
( Also denoted as H (0 ) = H (0 ) (H (0 ) )
yc (t ) = H (0 ) e j(H (0 ) Ae j (0t + )
(5.13)
(5.14)
= A H (0 ) e j (0t + + (H (0 ))
By Eulers formula,
xc (t ) = Ae j (0t + ) = A cos(0t + ) + jA sin(0t + )
Define two sinusoidal functions with frequency 0 and amplitude A, which is real
number.
xR (t ) = Re[ Ae j (0t + ) ] = A cos(0t + )
xI (t ) = Im[ Ae j (0t + ) ] = A sin(0t + )
and
yc (t ) = yR (t ) + jyI (t ) = H (0 ) xc (t ),
Hence, yR (t ) = Re[ H (0 ) xc (t )],
yI (t ) = Im[ H (0 ) xc (t )],
<t <
<t <
<t <
49 92
08/19/2007
1/ Cs
R + 1/ Cs
H ( ) =
s = j
1/ RC
j + 1/ RC
From the foregoing equation, the magnitude function and the phase function of H() are
H ( ) =
1/ RC
+ (1/ RC ) 2
2
(H ( ) = tan 1 ( RC )
For the case of 1/RC=1000, Fig. 5.2 shows the system function of H() in polar form.
The RC circuit as shown in Fig. 5.1 is an example of a low pass filter.
In practice, the frequency with amplitude attenuation being 1/ 2 of the magnitude of
dc component is called the cutoff frequency (bandwidth) of the system.
50 92
08/19/2007
ce
k =
jk0t
< t <
Hence by linearity and the results in Section 5.1, the output response y(t) is
y (t ) =
y (t ) =
H ( k )c e
k =
k =
jk0t
<t <
H (k0 ) ck e j ( k0t + (H ( k0 )) ,
<t <
51 92
08/19/2007
ck = ck e j(ck
and thus
y (t ) =
< t <
<t <
k =
or
y (t ) =
k =
Obviously, the output of a linear time-invariant system with periodic input is also
periodic.
Applying the waveform shown in Fig. 5.4 to the RC circuit in Fig. 5.1 yields the output in
the form
y (t ) = 0.5 +
(1)(|k |1) / 2
k =1, 3, 5, 7,...
1
1/ RC
(
)e jk t ,
k jk + 1/ RC
< t <
52 92
08/19/2007
y (t ) = x( )h(t )d = h( ) x(t )d Y ( ) = H ( ) X ( )
(5.37)
Applying the inverse Fourier transform to both sides of the -domain representation
(5.37) gives
y (t ) =
1
2
H ( ) X ( )e jt d
(5.40)
53 92
08/19/2007
sin( / 2)
( / 2)
54 92
08/19/2007
H ( ) =
1/ RC
j + 1/ RC
=
RC =1
1
1
1
e ( tan ( )
=
2
j + 1
1+
h(t ) = 1 (1/ RC )t
,
RC e
t<0
t 0, and RC =1
55 92
Time(sec)
08/19/2007
In the above discussion on ideal filters, nothing bas been said regarding the phase of the
ideal filters. It turns out that to avoid phase distortion in the filtering process, a filter
should have a linear phase characteristic over the passband of the filter. That is,
(H ( ) = td for all in the filter passband
where td is a fixed positive number.
For example, the output response of a linear phase filter resulting from the input
x(t)=A cos(0t), is given by
y (t ) = H (0 ) e j(H (0 ) A cos(0t 0td )
= A H (0 ) cos(0 (t td ))
Thus the linear phase characteristic results in a time delay of td seconds through the
filter.
56 92
08/19/2007
y (t ) = A0 H (0 ) cos(0 (t td )) + A1 H (1 ) cos(1 (t td ))
and the output response of the second system is denoted by
y (t ) = A0 H (0 ) cos(0t + C ) + A1 H (1 ) cos(1t + C )
where C is a nonzero constant.
According to the linear phase characteristic, the first system is a linear phase system; but
the second system is phase distortion system because its output is not a time-delayed
version of the input.
e jtd , B B
H ( ) =
others
0,
(5.48)
B B
others
td , B B
(H ( ) =
others
0,
57 92
08/19/2007
The impulse response of the linear-phase lowpass filter defined by (5.48) can be
computed by taking the inverse Fourier transform of the frequency function H(). First
using the definition of the rectangular pulse, H()can be expressed in the form
H ( ) = p2 B ( )e jtd ,
< <
(5.49)
t
sinc( ) p ( )
2
2
(5.50)
sin c(
Bt
) p2 B ( )
(5.51)
sin c(
B (t td )
) p2 B ( )e jtd
(5.52)
Since the right-hand side of the transform pair (5.52) is equal to H(), the impulse
response of the ideal linear-phase lowpass filter is
h(t ) =
sin c(
B (t td )
),
<t <
(5.53)
58 92
08/19/2007
The impulse response h(t) of the ideal linear-phase lowpass filter is plotted in Fig. 5.20.
In Fig. 5.20, it is clear the impulse response h(t) is not zero before t=0, and thus the
ideal linear phase lowpass filter is a noncausal system. In fact, any ideal filter is
noncausal and thus cannot be realized.
e
H ( ) =
0,
, B1 B2
others
The phase function of the ideal linear-phase bandpass filter is plotted in Fig. 5.23.
59 92
08/19/2007
For a band-limit ideal linear-phase filter, lets investigate the output response resulting
from different inputs.
t
CASE (I): x(t ) = sin c( ),
<t <
(CASE-1)
e jtd , B B
For the ideal linear-phase system with H ( ) =
,
others
0,
The output spectrum is
Y ( ) = H ( ) X ( ) = p2 B ( )e jtd p2 ( )
If 2B>2 or B>1, p2 B ( ) p2 ( ) = p2 ( )
and thus the output response is
Y ( ) = p2 ( )e jtd
t td
) = x(t td ),
<t <
If 2B<2 or B<1,
p2 B ( ) p2 ( ) = p2 B ( )
and thus the output response is
Y ( ) = p2 B ( )e jtd = H ( )
Therefore,
y (t ) = h(t ) =
sin c(
B (t td )
) = B sin c(
B (t td )
),
< t <
Note that the output is not the time-delayed version of the input since in this case the
bandwidth is not wide enough to pass all frequency components of the input (CASE-1).
60 92
08/19/2007
t
CASE (II): x(t ) = sin c( ) cos(2t ),
<t <
(CASE-2)
e jtd , B B
For the ideal linear-phase system with H ( ) =
,
0,
others
[ p2 ( + 2) + p2 ( 2)]e jtd
t td
) cos(2(t td )),
<t <
<t <
If 1<B<3, the product of Fourier transform of the input signal and that of the ideal
linear-phase lowpass system is given in Fig. 5.22 and it is expressed by
61 92
08/19/2007
p2 B ( )[ p2 ( + 2) + p2 ( 2)] = pB 1 ( +
B +1
B +1
) + pB 1 (
)
2
2
[ pB 1 ( +
B +1
B + 1 jtd
) + pB 1 (
)]e
2
2
Therefore, using the time-shifted and modulation properties over the foregoing equation
yields
B 1
B 1
B 1
y (t ) =
)(t td ) cos (
)(t td ) ,
sinc (
2
2
<t <
Note that the output is not the time-delayed version of the input since in this case the
bandwidth is not wide enough to pass all frequency components of the input (CASE-2).
TRICK
sin c(
t
) 2 p ( )
2
( B 1) sin c(
( B 1)t
) 2 pB 1 ( )
2
F 1 { pB 1 ( )} =
( B 1)
( B 1)t
sin c(
)
2
2
B +1
B +1
1
B +1
) + pB 1 (
)] F 1 { pB 1 ( )} cos(
[ pB 1 ( +
t)
2
2
2
2
62 92
08/19/2007
(t nT )
n =
x(t ) (t nT ) =
n =
x(nT ) (t nT )
n =
To determine the Fourier transform of x(t) p(t), there are three ways to find it.
(1) Linear property and time-shift property
(2) Convolution operation in frequency domain
(3) The expansion of Fourier series of p(t) time x(t)
The first two ways are left to readers.
Since p(t) is a periodic signal, it has the complex exponential Fourier series
p (t ) =
ce
k =
jks t
, <t <
(5.55)
1 T /2
p(t ) e jks t dt
T
/
2
T
1 T /2
= (t ) e jkst dt
T T / 2
1
=
T
ck =
1
p (t ) = e jkst , < t <
k = T
and thus
63 92
08/19/2007
x(t ) p (t ) =
T x (t ) e
jks t
(5.56)
k =
With Xs() equal to the Fourier transform of xT(t), the Fourier transform of x(t) p(t) is
X s ( ) =
T X ( k )
k =
(5.57)
From (5.57) it is seen that Xs() which is the Fourier transform of x(t) p(t) consists of a
sum of frequency-shifted replica of X() sitting at integer multiples ks for all integer k.
Suppose that a signal x(t) has bandwidth B, that is
X ( ) = 0,
for > B
Then if s 2 B , for Xs() the replica of X() do not overlap in frequency. By this result,
the sampling theorem states that the original input x(t) can be completely reconstructed
from xs(t) by an ideal linear-phase lowpass filter with cutoff frequency B if the sampling
frequency s is chosen to be greater than or equal to 2B. The minimal sampling
frequency s=2B is named the Nyquist (sampling) frequency.
64 92
08/19/2007
T (0D , B B
H ( ) =
others
0,
(5.48)
TB
sinc(
Bt
),
<t <
TB
x(nT )
n =
sinc(
B (t nT )
),
B (t nT )
TB
y (t ) =
), < t <
x(nT ) sinc(
n =
This expression is called the interpolation formula for the signal x(t). It shows that if the
sampling frequency is greater than or equal to twice the bandwidth of the input signal, the
input signal can be obtained by the infinite sum of the sinc functions sinc( Bt / ) with
TB
amplitude weighs of
x(nT ) and time shifts at nT for all integer n.
65 92
08/19/2007
Continuous-time signal
Periodic signal Aperiodic signal
Fourier series
Fourier
(CTFS)
transform (CTFT)
Discrete-time signal
Periodic signal
Aperiodic signal
Discrete-time
Discrete-time
Fourier series
Fourier transform
(DTFS)
(DTFT)DFTFFT
Harmonics
analysis;
Periodic signal
Line spectrum
x[n]= x[n+N0]
X k = X () =2 k / N
X k = X k+N
Fundamental
frequency and
its multiples
X ( ) = x(t )e jt dt
X()= X(+2)
N 1
x[n] = ck e jk 0 n
x[n]e
j n
n =
k =0
Let = 2 / NT
X ( ) = k =
X ( ) =
where 0 =2/ N0
1 e jk T
Xk
jk
N 1
X k = x[n]e jk 2 n / N
n=0
2r
X k = x[n]e jk 2 n / N ,
where
k=0,1,2,,(N-1)
n=0
where N 2 r
z
z
The connection between the bilateral z-transform and the DTFT is similar to
that between Laplace transform and CTFT.
Use of DFT and FFT is for the numerical computation of DTFT.
66 92
08/19/2007
ce
k
k =
jk0t
< t <
(4.11)
where c0 is a real number and ck for k0 are in general complex numbers, and 0 is the
fundamental frequency by 0=2/T (CTFS).
Similarly, the discrete-time periodic signal x[n] can be written by
x[ n] =
ce
k =
jk 0 n
67 92
08/19/2007
x[n] =
ce
k =
j(
2 k
)n
N0
N0
= ... + ck e
j(
2 k
)n
N0
= ... + ck e
k = N 0 +1
j(
2 k
)n
N0
k =1
N0
= ... + ck e
= ... + ck e
ck e
j(
N0
+ ck + N0 e
2 k
)n
N0
3 N0
k = 2 N 0 +1
j(
2 ( k + N 0 )
)n
N0
k =+1
j(
2 k
)n
N0
k =1
N0
k =1
N0
2 N0
N0
+ ck + N0 e
k =1
N0
+ ck + N0 e
2 k
)n
N0
N0
+ ck + 2 N0 e
+...
j(
2 ( k + 2 N 0 )
)n
N0
+...
k =+1
j(
2 k
)n
N0
.e
j (2 ) n
k =+1
2 k
j(
)n
N0
ck e
j(
N0
+ ck + 2 N0 e
j(
2 k
)n
N0
. e j (4 ) n +...
k =+1
2 k
j(
)n
N0
k =+1
N0
+ ck + 2 N0 e
j(
2 k
)n
N0
+...
k =+1
ck = x[n] e jk0n dn
0
Finally, for convenience to conduct the analysis and synthesis of a signal x(t) and its
discrete Fourier (series) coefficients, the DTFS analysis/synthesis pair is expressed as
follows:
N0
Analysis: X [k ] = x[n]e jk 0 n
(frequency-domain, spectrum)
n =1
or X [k ] =
N 0 1
x[n]e
jk 0 n
n =0
N0
Synthesis: x[n] = X [k ]e jk 0n
k =1
or x[n] =
N0 1
X [k ]e
jk 0 n
k =0
68 92
08/19/2007
Given a discrete-time aperiodic signal x[n], the discrete-time Fourier transform of x[n] is
defined by
X ( ) =
x[n]e
j n
(7.2)
n =
The DTFT X() defined by (7.2) is in general a complex-value function of the real
variable . In (7.2), the frequency variable doesnt hold the property 2/ N0 since
the signal x[n] is aperiodic (DTFT).
A discrete-time signal x[n] is said to have a DTFT in the ordinal sense if the bi-infinite
sum in (7.2) converges for all real values of . A sufficient condition for x[n] to have a
DTFT in the ordinal sense is that x[n] is absolutely summable; that is,
x[ n]
(7.3)
n =
For example, if there is a positive integer N such that x[n]=0 for all n-N and nN, then
obviously the sum in (7.3) is finite, and thus any such discrete-time time-limited signal
has a DTFT in the ordinary sense.
For any discrete-time signal x[n], the DTFT X() is a periodic function of with
period 2. It is easy to prove that X()= X(+2) using the definition of DTFT ( Here
the proof is omitted). Therefore, the plot of X() is often given over a 2 interval such as
02 or -.
The rectangular form of X() is given by
X () = R () + jI ()
where
R ( ) =
x[n]cos(n)
n =
I () = x[n]sin(n)
n =
X () = X () e j(X ( )
(7.8)
The computation of the amplitude function and phase function of X() is possible to get
69 92
08/19/2007
R ()
Assuming that the discrete-time signal x[n] is real-valued, the amplitude function of X()
is an even function and the phase function of X() is an odd function; that is
X () = X ()
(X () = (X ()
Proof:
X ( ) =
x[n]e
j n
n =
x[n]e
j ( ) n
n =
= X ()
Using (7.8) with the substitution of with yields
X () = X () e j(X ( )
Taking the complex conjugate of X() gives
X ( ) = X ( ) e j (X ( )
Finally, combining (7.11)-(7.13) yields
X () = X () e j(X ( ) = X () e j(X ( )
(X () = (X ()
Example 7.2 Consider the discrete-time signal x[n] =(0.5)nu[n]. Find the DTFT of x[n].
Hint: X () =
0.5sin()
1
exp( j tan 1
)
1.25 cos()
1 0.5sin()
70 92
08/19/2007
and X () = R(), (X () = 0
71 92
08/19/2007
HINTS:
X () =
n =
x[n]e
n =
jn
n =1
+ x(0) + x[n]e jn
n =1
n =1
n =1
n =1
n =1
n =1
Example 7.3
1,
p[n] =
0,
q n q
others
72 92
08/19/2007
With comparison to Example 4.7, the result is the discrete-time counterpart to the
Fourier transform of the rectangular pulse in the continuous-time case. In addition, there
are ten points of zero crossing over the frequency interval 0.
Example 7.5 Consider the discrete-time signal x[n] =(-0.5)nu[n].
Find the DTFT of x[n].
Hint: X () =
0.5sin()
1
exp( j tan 1
)
1.25 + cos()
1 + 0.5sin()
73 92
08/19/2007
Analysis: X () =
x[n]e
j n
n =
Synthesis: x[n] =
1
2
X ()e jn d or x[n] =
1
2
X ()e
jn
Generalized DTFT
Usage for constant signal not obeying the summable condition given in (7.3)
Example 7.6 Consider the constant signal x[n] =1, for all integers n.
Find the DTFT of x[n].
Since
x[n] =
n =
this signal does not have a DTFT in the ordinary sense. But it does have a DTFT in the
generalized form that is defined in the form
74 92
08/19/2007
X ( ) =
2 ( 2 k )
k =
The reason to choose the foregoing equation to be the generalized DTFT of the constant
signal follows the property that the inverse DTFT of X() is equal to the constant signal.
To see this, by (7.28),
1
2
1
=
2
x[n] =
[ 2 ( 2 k )]e jn d
k =
2 ()e
jn
= ()e j 0 d
= 1,
Properties of DTFT
75 92
08/19/2007
It should be noted that in contrast to the CTFT, there is no duality property for DTFT.
However, there is a relationship between the inverse CTFT and the inverse DTFT as
shown in the last property in Table 7.2.
Let x[n] is a discrete-time signal and its DTFT is X(). Since X() is in general a
continuous function of frequency variable , it cannot be stored and processed in a
digital computer unless X() can be expressed in a closed form. To implement DTFT in a
digital computer, it is absolutely necessary to discretize it in frequency. This leads the
introduction of discrete Fourier transform (DFT), which is defined below.
Suppose that the discrete-time signal x[n] is zero for all negative integers n<0 and all
positive integers n N, where N is a fixed positive integer. The N-point discrete Fourier
transform Xk is defined by
N 1
X k = x[n]e jk n ,
k = 0,1, 2,..., N 1
(7.33)
n=0
where =2 /N (DFT)
76 92
08/19/2007
X k = X k e j(X k
and in rectangular form
X k = R k + jI k
It is easily verified that
N 1
Rk = x[0] + x[n]cos(k n)
n =1
N 1
I k = x[n]sin(k n)
n =1
Inverse DFT
If Xk is the N-point discrete Fourier transform of x[n], then x[n] can be determined from
by applying the inverse DFT given by
x[n] =
1
N
N 1
X
k =0
e jk n ,
n = 0,1, 2,..., N -1
where =2 /N (DFT)
The connection between DFT and DTFT
Target signal: x[n] is zero for all negative integers n<0 and all positive integers n N,
X() is the DTFT of x[n] and Xk is the DFT of x[n]. They both can be expressed by
x[n]e
X ( ) =
j n
n =
N 1
= x[n]e
(7.38)
jn
n=0
and
N 1
X k = x[n]e jk n ,
n=0
That is,
N 1
X k = x[n]e jk 2 n / N
(7.38A)
n=0
77 92
08/19/2007
X k = X () =2 k / N
Example 7.10
(7.39)
1, n = 0,1, 2,..., 2q
x[n] =
0, all other n
where 0 02
78 92
08/19/2007
79 92
08/19/2007
= 2 k / L
k = 0,1,..., L 1
(7.41)
Block effect arises from the boundary problem in which the values are not small for
n N (or n L ) so that the DTFT i
X ( ) of the truncated signal may differ
significantly from the DTFT X() of the actual signal x[n].
0nN-1
N-point x[n]
X k = X () =2 k / N , k [0, N 1]
0nN-1L-1
N-point x[n]
i
Xk = i
X ()
, k [0, L 1]
Boundary
problem
= 2 k / L
= 2 k / L
) of L-point x[n] ( x L [ n] )
80 92
08/19/2007
p[n
N 1 1, 0 n N 1
]=
2
0, all other n
(7.42)
N 1 sin( N / 2) j ( N 1) / 2
]=
e
2
sin( / 2)
N 1
] . From the results of Example 7.11, P() is
2
By the multiplication property in time domain, the DTFT of both sides of (7.42) yields
1
i
X ( ) = X ( ) * P ( ) =
2
x[ ] p[ ]d
Note that if x[n] is not suitably small for nN, in general the side lobes that exist in the
amplitude spectrum of |P()| will result in the side lobes in the amplitude spectrum of
|P() *X()|. This leakage phenomenon can be first observed in Example 7.11
81 92
08/19/2007
82 92
08/19/2007
x(n)
linear discrete-time
time-invariant system
h[n]
y(n)
X()
linear discrete-time
time-invariant system
H()
Y()
h[n] is the uni-pulse response of the linear discrete-time time-invariant system. Note that
the assumption of h[n] being causal is not absolutely necessary. It is assumed that the
83 92
08/19/2007
h[ n]
n =
As a result of the sammability condition, the ordinary DTFT H() of h[n] is given by
H () =
h[n]e
j n
n =
Hence taking the DTFT of the convolution of the input signal x[n] and the unit-pulse
response h[n] yields
Y ()=H () X ( )
Illustration: H () =
k =
p2 B ( + 2 k )
x[n] = A cos(0 n)
That is,
X () =
A [ ( +
k =
2 k ) + ( 0 2 k )]
84 92
08/19/2007
From the plots of H() and X() given previously in Figures 7.29 and 7.30, it is clear
that Y() is equal to X() when0B and is identically zero if 0B. Thus in
mathematical form,
X [],
Y ( ) =
0,
, if 0 B <
, if B < 0 <
As a result of the periodicity of H() and X(), the output response y[n] is equal to x[n]
when
2 k B 0 2 k + B, where k is non-negative integer.
Digital-filter realization of an ideal analog lowpass filter
x(t)
x[n]= x(nT)
The concerning matter is the sampling period T ( i.e. the sampling frequency s=2/T)
and the bandwidth B of the input signal x(t). The reminder is similar to the treatment
discussed in the last topic (analysis of an ideal lowpass filter).
H () =
k =
p2 B ( + 2 k )
From the transform pairs in Table 7.1, the unit-pulse response of ideal lowpass filter is
given by
h( n) =
sinc(
nB
),
n = 0, 1, 2,...
From Figure 7.31, it is seen that h[n] is not zero for n<0, and thus the ideal lowpass
filter is noncausal.
85 92
08/19/2007
1
N
N 1
x[n i],
where N 3
i =1
is called mean filter which possesses the sharp frequency cutoff when N3. The mean
filter is an example of a causal lowpass discrete-time filter.
The plot of amplitude spectrum of the causal lowpass filter is left to readers.
86 92
08/19/2007
POPULAR CASE:
x[n]=0 for n<0 and nN and h[n]=0 for n<0 and n>Q. Find the output response y[n]
y ( n) =
2 k
2 k
2 k
) = H(
)X (
),
N +Q
N +Q
N +Q
N
Q+1
N+Q
k = 0,1,..., ( N + Q 1)
1 N + Q 1
H k X k e2 kn /( N +Q ) , where n = 0,1,..., ( N + Q 1)
N + Q k =0
(7.64)
It is important to note that the right-side of (7.64) is only coarse approximation of y[n] if
x[n] is not zero for nN and/or h[n] is not zero for n>Q.
The expression of (7.64) is a close approximation to the true values of y[n] only if x[n] is
samll for nN and/h[n] is samll for n>Q.
87 92
08/19/2007
X ( ) = [ x( )e j d ]
(Fourier Transform)
It is assumed that x(t)=0 for all t<0 so that the Fourier transform of x(t) is given by
X ( ) = [ x(t )e jt dt ]
0
Suppose that the sampling period T is very small enough so that the variation in x(t) is
small over each T-period interval nTt<nT+T.
88 92
08/19/2007
X ( ) = [
nT
n=0
= [
n =0
nT +T
nT +T
nT
x(t )e jt dt ]
e jt dt ]x(nT )
nT +T
1
jt
x(nT )
=
e
n = 0 j
nT
jT
1 e
j nT
=
x(nT )e
j n =0
Now suppose that for some large positive integer N, the magnitude x(nT) is small for
nN (tNT). Then the Fourier transform of x(t) is
1 e jT N 1
j nT
X ( ) =
x(nT )e
j n =0
(7.77)
2 k 1 e j 2 k / N N 1
j 2 nk / N
X(
)=
x(nT )e
NT
j 2 k / NT n =0
(7.78)
X k = x[ n]e j 2 kn / N
(7.79)
n=0
X(
2 k 1 e j 2 k / N
)=
NT
j 2 k / NT
Xk
(7.80)
89 92
08/19/2007
As mentioned before, when x[n]=0 for n<0 and nN and h[n]=0 for n<0 and n>Q,
the response of x[n] ( the convolution of x[n] * h[n]) is given by
1 N + Q 1
y ( n) =
H k X k e 2 kn /( N + Q ) , where n = 0,1,..., ( N + Q 1)
N + Q k =0
For instance, the unit-pulse response h[n] of the discrete-time system h[n] = (0.8) n u[n]
and the rectangular input x[n]=1 for r 0 < n 9. In this example, there is not finite
integer Q for which h[n]=0 for n>Q. However, it is true that h[n] is small for n>16, and
thus Q can be taken to be equal to 16. Since the input is zero for all n10, the integer N
defined above is equal to 10. Thus with Q=16, N+Q=26, and the smallest integer value
of r for which N+Q2r is 5. With L=25 =32, the L-point DFT (using FFT algorithm) can
be used to compute the DFT of y[n]. Consequently, the convolution of x[n] * h[n]) is
equal to the inverse DFT of Y[k].
90 92
08/19/2007
91 92
08/19/2007
IMPORTANT TIPS
92 92
08/19/2007