Professional Documents
Culture Documents
Unit I: Discrete Time Signals and Systems: Dr. Raghu Indrakanti, Ph.D. Assistant Professor E.C.E Department
Unit I: Discrete Time Signals and Systems: Dr. Raghu Indrakanti, Ph.D. Assistant Professor E.C.E Department
Figure: Simplified block diagram of idealized system for (a) continuous-time processing of discrete-time signals, and (b) its
practical counterpart for digital processing of analog signals.
1/45
Introduction to DSP: Mathematical representation of signals
Consider the continuous-time signal defined by
−2t
e cos(3πt), t≥0
s(t) = (1)
0, t<0
If sample s(t) with a sampling periodT = 0.1s, the discrete time signal
e −0.2n cos(0.3πn), n ≥ 0
s[n] = s(t)|t=nT = (2)
0, n<0
2/45
Introduction to DSP: Systems
Figure: Block-diagram representation of a continuous-time system (a) and a discrete-time system (b).
3/45
Introduction to DSP: Systems
Continuous-time systems
A continuous-time system is a system which transforms a continuous-time input signal
x (t) into a continuous-time output signal y (t).
Z t
y (t) = x (τ )dτ (3)
−∞
Symbolically, the input-output relation of a continuous-time system is represented by
H
x (t) 7→ y (t) or y (t) = H {x (t)} (4)
Discrete-time systems
A system that transforms a discrete-time input signal x [n] into a discrete-time output
signal y [n], is called a discrete-time system.
H
x [n] 7→ y [n] or y [n] = H {x [n]} (5)
The discrete-time equivalent of the continuous-time integrator system is the
accumulator system
n
X
y [n] = x [k] (6)
k=−∞
4/45
Introduction to DSP: ADC
Figure: Block diagram representation of an ideal D/A converter (a) and a practical D/A converter (b) with the
corresponding input and output signals. In most practical applications, the staircase output of the D/A converter is subsequently
smoothed using an analog reconstruction filter.
5/45
Introduction to DSP: DAC
Figure: Block diagram representation of the analog-to-digital conversion process. (b) Examples of the signals x (t), x [n],
and xd [n] involved in the process. The amplitude of x [n] is known with infinite precision, whereas the amplitude of xd [n] is
known with finite precision ∆ (quantization step or resolution).
6/45
Introduction to DSP: Classes of Systems
Figure: The three classes of system: analog systems, digital systems, and interface
systems from analog-to-digital and digital-to-analog.
7/45
Introduction to DSP: Applications
8/45
Discrete Time Systems
Causal System
A system is called causal if the present value of the output does not depend on future
values of the input, that is, y [n0 ] is determined by the values of x [n] for n ≤ n0 , only.
Stable System
A system is said to be stable, in the Bounded-Input Bounded-Output sense, if every
bounded input signal results in a bounded output signal, that is
A signal x [n] is bounded if there exists a positive finite constant Mx such that |x [n]| ≤ Mx
for all n.
9/45
Discrete Time Systems
Linear System
A system is called linear if and only if for every real or complex constant a1 , a2 and every
input signal x1 [n] and x1 [n]
for every input x [n] and every time shift n0 . That is, a time shift in the input results in a
corresponding time shift in the output.
11/45
Discrete Time Systems: Test for linearity and time invariance
Linearity
let y1 [n] = x1 [nM] and y2 [n] = x2 [nM]. Consider the down-sampler output due to the
input x [n] = a1 x1 [n] + a2 x2 [n] given by
Time Invariant
Consider the output y2 [n] due to the input x [n − n0 ]
12/45
Convolution of Linear Time-invariant Systems
Impulse Response
The response of a linear time-invariant (LTI) system to any input can be determined
from its response h[n] to the unit sample sequence δ[n], using a formula known as
convolution summation.
The sequence h[n], which is known as impulse response.
13/45
Convolution of Linear Time-invariant Systems
The sequence xk [n] can be obtained by multiplying the sequence x [n] by the sequence
1, n=k
δ[n − k] = (13)
0, n 6= k
14/45
Convolution of Linear Time-invariant Systems
∞ n
X X
u[n] = δ[n − k] = δ[k] (16)
k=0 k=−∞
15/45
Convolution of Linear Time-invariant Systems
16/45
Convolution of Linear Time-invariant Systems
17/45
Convolution of Linear Time-invariant Systems
The input sequence is given x [n] = {1, 1, 1, 1, 1, 1} and h[n] = {1, 0.5, 0.25, 0.125}
The y [n] = {1, 1.5, 1.75, 1.875, 1.875, 1.875, 0.875, 0.375, 0.125}
18/45
Convolution of LTI Systems: Example
19/45
Convolution of LTI Systems: Example
Sol:
20/45
Convolution of LTI Systems: Example
21/45
Convolution of Linear Time-invariant Systems
Causality
linear time-invariant system with impulse response h[n] is causal if
22/45
Convolution of Linear Time-invariant Systems
Stability
A linear time-invariant system with impulse response h[n] is stable, in the bounded-input
bounded-output sense, if and only if the impulse response is absolutely summable, that
is, if
∞
X
|h[n]| < ∞ (19)
n=−∞
Proof:
23/45
Convolution of LTI Systems: Stability
Example: Consider the system with impulse response h[n] = ban u[n]. To test whether
the system is stable.
Sol: check if the following sum is finite
∞ ∞
X X
Sh = |h[k]| = |ban u[n]| (20)
k=−∞ k=−∞
∞
X
Sh = |b||an | (21)
k=0
∞
X
Sh = |b| |an | (22)
k=0
1
Sh = |b| (23)
1 − |a|
|b|
1 If |a| < 1, the sum converges to 1−|a|
24/45
Important Topics in Unit I
1 Test the given system is:
Energy Signal
Power signal
2 Test the given system is:
Linearity
Time Invariant
Stability
Causality
memory
3 Derivation of Stability condition of an LTI system
4 Properties of LTI System
5 Convolution of LTI System
Use Tabular or matric method for 2 marks
Graphical method or mathematical method for 5 or 10 marks
Using Frequency domain theorem: Multiplication
6 Solution of linear constant-coefficient difference equations
Using time domain
Frequency domain
Impulse response of the LTI system
25/45
Convolution of LTI Systems
Properties of Convolution
The response of the LTI system y [n] can be expressed as
∞ ∞
X X
y [n] = x [k]h[n − k] = h[k]x [n − k] (24)
k=−∞ k=−∞
26/45
Convolution of LTI Systems
27/45
Z-Transform
values of z.
2 For any given sequence, the set of values of z for which the series converges is
for which X (z) is infinite are known as poles. By definition, the ROC cannot
include any poles.
28/45
Z-Transform
29/45
Z-Transform
30/45
Z-Transform
31/45
Z-Transform: Some common z -transform pairs
32/45
Z-Transform
33/45
Z-Transform
where H(z) is known as the system function or transfer function of the system.
34/45
Z-Transform: Convolution
35/45
LTI systems characterized by linear constant-coefficient difference equations
(LCCDE)
N
X M
X
y [n] + ak y [n − k] = bk x [n − k] (33)
k=1 k=0
37/45
LTI systems characterized by LCCDE: Homogeneous Solution
The homogeneous solution is the response of the system when there is no input i.e.
x [n] = 0. It is also called as zero input response.
N
X M
X
ak y [n − k] = bk x [n − k] (35)
k=0 k=0
N
X
ak y [n − k] = 0 (36)
k=0
Let y [n] = λn
N
X
ak λ(n−k) = 0 (37)
k=0
Assume a0 = 1, expanding the above expression
The particular solution is the solution of the difference equation for specific input signal
x [n] for n ≥ 0.
39/45
LTI systems characterized by LCCDE
Frequency Domain
apply the z-transform on both sides. Using the properties of linearity and time shifting,
we obtain
N M
X X
(1 + ak z −k )Y (z) = ( bk z −k )X (z) (40)
k=1 k=1
where H(z) is a rational function, that is, the ratio of two polynomials in z −1 .
The form bk x [n − k] correspond to bk z −k and terms of the form ak y [n − k] correspond
to ak z −k , it is straightforward to obtain the difference equation from the system function
and vice versa.
40/45
Z-Transform
With some practice, the conversion from the difference equation to system function and
vice versa can be done by simple inspection.
41/45
Important Topics in Unit I
1 Test the given system is:
Energy Signal
Power signal
2 Test the given system is:
Linearity
Time Invariant
Stability
Causality
memory
3 Derivation of Stability condition of an LTI system
4 Properties of LTI System
5 Convolution of LTI System
Use Tabular or matric method for 2 marks
Graphical method or mathematical method for 5 or 10 marks
Using Frequency domain theorem: Multiplication
6 Solution of linear constant-coefficient difference equations
Using time domain
Frequency domain
Impulse response of the LTI system
42/45
Frequency domain representation of Discrete Time Signals
43/45
Fourier representation of signals
44/45
Important Topics in Unit I
1 Test the given system is:
Energy Signal
Power signal
2 Test the given system is:
Linearity
Time Invariant
Stability
Causality
memory
3 Derivation of Stability condition of an LTI system
4 Properties of LTI System
5 Convolution of LTI System
Use Tabular or matric method for 2 marks
Graphical method or mathematical method for 5 or 10 marks
Using Frequency domain theorem: Multiplication
6 Solution of linear constant-coefficient difference equations
Using time domain
Frequency domain
Impulse response of the LTI system
45/45