In Summary Continuous
In Summary Continuous
where W = e
j ( 2 / N ) n
Relationship: X(k) is the uniform samples of X(ejw) at the discrete frequency wk = (2/N)k, when the frequency range [0, 2] is divided into N equally spaced points.
Discrete-time Systems
A transformation or operator that maps an input sequence with values x[n] into an output sequence with value y[n] .
T{}
y[n]
System Examples
Ideal Delay
y[n] = x[nnd], where nd is a fixed positive integer called the delay of the system.
Moving Average
1 y[n] = x[n k ] M1 + M 2 + 1 k = M
M2
Memoryless Systems
The output y[n] at every value of n depends only on the input x[n], at the same value of n. Eg. y[n] = (x[n])2, for each value of n.
x[k ]
Time-invariant System:
If y[n] = T{x[n]}, then y[nn0] = T{x[n n0]} The accumulator is a time-invariant system.
Eg., the system y[n] = (x[n])2 is stable. Eg., the accumulated system is unstable, which can be easily verified by setting x[n] = u[n], the unit step signal.
x[n] =
k =
x[k ] [n k ]
k =
x[k ]h[n k ]
x[k ]h[n k ]
Note that the above operation is convolution, and can be written in short by y[n] = x[n] h[n]. The output of an LTI system is equivalent to the convolution of the input and the impulse response.
In a LTI system, the input sample at n = k, represented as x[k][n-k], is transformed by the system into an output sequence x[k]h[n-k] for < n < .
Cascade connection
x[n] h1[n] h2[n] y[n] x[n] y[n] h1[n] h2[n]
x[n]
h2[n]
h1[n]
y[n]
S=
Since
k =
h[k ] <
k =
y[n] =
n0 1 h[n] = 0 otherwise
Equivalent Systems
A LTI system can be realized in different ways by separating it into different subsystems.
h[n] = ( [n + 1] [n ]) [n 1] = [n 1] ( [n + 1] [n]) = [n ] [n 1]
a y[n k ] = b x[n m]
k =0 k m =0 m
for all n
An important subclass of LTI systems consist of those system for which the input x[n] and output y[n] satisfy an Nth-order linear constant-coefficient difference equation. A general form is shown above. Not-all LTI systems can be represented into this form, but it specifies a wide class of LTI systems.
TD x[n-M] bM +
TD + aN y[n-N]
y[n] =
m =0
bm x[n m]
Example
Accumulator y[n ] =
k =
x[k ]
k =
= x[n] +
n 1
Example (continue)
Moving average system when M1=0:
The impulse response is h[n] = u[n] u[nM2 1]
y[n] =
x[n k ] M 2 +1 1
k =0
M2
y[n] y[n 1] =
1 M 2 +1
The term y[n] y[n1] suggests the implementation can be cascaded with an accumulator.
TD x[n-M] b +
ak y[n k ] = 0
k =1
when x[n] is available, y[1], y[2], y[n], can be computed recursively. To generate values of y[n] for n<N recursively,
M ak bk y[n N ] = y[n k ] + x[n m] k =1 a N m =0 a N N 1
Property: If the initial-rest condition is satisfied, then the system will be LTI and causal.
y[n ] =
k =
k =
h[k ]e jwk
Eigenfunction of LTI
jw H e = Let
( ) h[k ]e
jwk
we have y n = H e e Consequently, ejwn is the eigenfunction of the system, and the associated eigenvalue is H(ejw). Remember that H(ejw) is the DTFT of h[n] . We call H(ejw) the LTI systems frequency response
jw jwn
consisting of the real and imaginary parts, H(ejw) = HR(ejw) + jHI(ejw), or in terms of magnitude and phase.
[]
k =
( )
H (e ) = e
jw
jwnd
H e jw = 1,
( )
H e jw = wnd
( )
Linear Combination
When a signal can be represented as a linear combination of complex exponentials (Fourier jwk n Series): xn = e
[]
k
k
( )
Thus, we can find the output of linearly combined signals if we know the frequency response of the system.
y1 [n] = H e
2
jw0 n
j jw0 n
If h[n] is real, by the DTFT property that H(ejw0) = H*(ejw0), the total response y[n] = y1[n] + y2[n] is
y[n] = A H e jw0 cos(w0 n + + ), where = H e jw0
( )
( )
( ) h[k ]e
k =
jwk
Because H(ejw) is periodic with period 2, we need only specify H(ejw) over an interval of length 2, eg., [0, 2] or [, ]. For consistency, we choose the interval [, ]. The inherent periodicity defines the frequency response everywhere outside the chosen interval.
k =
Therefore, the frequency response is M2 1 H e jw = e jwn M1 + M 2 + 1 n= M 1 By noting that the following formula holds:
[ ]
m
= 1 k =n
n k
m +1
, m>n
[ ]
1 e jwM 1 e jw(M 2 +1) = M1 + M 2 + 1 1 e jw 1 e jw(M 1 + M 2 +1) / 2 e jw(M 1 + M 2 +1) / 2 1 e jw e jw(M 1 + M 2 +1) / 2 e jw(M 1 + M 2 +1) / 2
M1 + M 2 + 1
1 = M1 + M 2 + 1
( ) exp
jw
jH e jw
( )
Phase response 2w
Example
Determining the impulse response for a difference equation y[n](1/2) y[n1] = x[n] (1/4)x[n1] To find the impulse response, we set x[n] = [n]. Then the above equation becomes h[n](1/2) h[n1] = [n] (1/4)[n1] Applying the Fourier transform, we obtain H(ejw) (1/2)e-jwH(ejw) = 1 (1/4) e-jw So H(ejw) = (1 (1/4) e-jw) / (1 (1/2) e-jw)
Example (continue)
To obtain the impulse response h[n] From the DTFT pair-wise table, we know that
a u[n] ( a < 1)
n
1 1 ae jw
thus, (1/2)nu[n] 1 / (1 (1/2) e-jw) By the shifting property, (1/4)(1/2)n1u[n1] (1/4) e-jw / (1 (1/2) e-jw) Thus, h[n] = (1/2)nu[n] (1/4)(1/2)n1u[n1]
n<0 n0
( )
Hence, the output can be written as y[n] = yss[n] + yt[n], where jw jwn y ss n = H e e Steady-state response
[]
( )
yt [n] =
k = n +1
Transient response
yt [n] =
For stable system, Qn must become increasingly smaller as n , and so is the transient response.
k = n +1
jwk jwn [ ] h k e e
k = n +1
h[k ] Qn