1
Review of DSP 1 Signal and Systems: Signal are represented - - PowerPoint PPT Presentation
Review of DSP 1 Signal and Systems: Signal are represented - - PowerPoint PPT Presentation
Review of DSP 1 Signal and Systems: Signal are represented mathematically as functions of one or more independent variables. Digital signal processing deals with the transformation of signal that are discrete in both amplitude and
2
Signal and Systems:
Signal are represented mathematically as
functions of one or more independent variables.
Digital signal processing deals with the
transformation of signal that are discrete in both amplitude and time.
Discrete time signal are represented
mathematically as sequence of numbers.
3
Signals and Systems:
A discrete time system is defined
mathematically as a transformation or
- perator.
y[n] = T{ x[n] }
T{.}
x [n] y [n]
4
Linear Systems:
The class of linear systems is defined by the
principle of superposition.
And
Where a is the arbitrary constant.
The first property is called the additivity property
and the second is called the homogeneity or scaling property.
] [ ] [ ]} [ { ]} [ { ]} [ ] [ {
2 1 2 1 2 1
n y n y n x T n x T n x n x T
] [ ]} [ { ]} [ { n ay n x aT n ax T
5
Linear Systems:
These two property can be combined into
the principle of superposition,
] [
1 n
x
]} [ { ]} [ { ]} [ ] [ {
2 1 2 1
n x bT n x aT n bx n ax T
H H Linear System H
] [ ] [
2 1
n bx n ax
] [
2 n
x
] [ ] [
2 1
n by n ay
] [
1 n
y
] [
2 n
y
6
Time-Invariant Systems:
A Time-Invariant system is a system for
which a time shift or delay of the input sequence cause a corresponding shift in the output sequence.
] [
1 n
x
H H
] [
1
n n x
] [
1 n
y
] [
1
n n y
7
LTI Systems:
A particular important class of systems consists
- f those that are linear and time invariant.
LTI systems can be completely characterized by
their impulse response.
From principle of superposition: Property of TI:
k
k n k x T n y ] [ ] [ ] [
k
k n T k x n y ] [ ] [ ] [
k
k n h k x n y ] [ ] [ ] [
8
LTI Systems (Convolution):
Above equation commonly called convolution
sum and represented by the notation
k
k n h k x n y ] [ ] [ ] [
] [ ] [ ] [ n h n x n y
9
Convolution properties:
Commutativity: Associativity: Distributivity: Time reversal:
] [ ] [ ] [ ] [ n x n h n h n x
] [ ] [ ] [ n h n x n y
]) [ ] [ ( ] [ ] [ ]) [ ] [ (
3 2 1 3 2 1
n h n h n h n h n h n h
]) [ ] [ ( ]) [ ] [ ( ]) [ ] [ ( ] [
2 1 2 1
n x n h b n x n h a n bx n ax n h
10
…Convolution properties:
If two systems are cascaded,
The overall impulse response of the combined
system is the convolution of the individual IR:
The overall IR is independent of the order:
H1 H2 H2 H1
] [ ] [ ] [
2 1
n h n h n h
11
Duration of IR:
Infinite-duration impulse-response (IIR). Finite-duration impulse-response (FIR) In this case the IR can be read from the
right-hand side of:
] [ ... ] 1 [ ] [ ] [
1
q n x b n x b n x b n y
q
n
b n h ] [
12
Transforms:
Transforms are a powerful tool for
simplifying the analysis of signals and of linear systems.
Interesting transforms for us:
Linearity applies: Convolution is replaced by simpler operation:
] [ ] [ ] [ y bT x aT by ax T
] [ ] [ ] [ y T x T y x T
13
…Transforms:
Most commonly transforms that used in
communications engineering are:
Laplace transforms (Continuous in Time & Frequency) Continuous Fourier transforms (Continuous in Time) Discrete Fourier transforms (Discrete in Time) Z transforms (Discrete in Time)
14
The Z Transform:
Definition Equations:
Direct Z transform The Region Of Convergence (ROC) plays an
essential role.
n n
z n x z X ] [ ) (
15
The Z Transform (Elementary functions):
Elementary functions and their Z-transforms: Unit impulse: Delayed unit impulse:
] [ ] [ k n n x
: ] [ ) (
z ROC z z k n z X
n k n
] [ ] [ n n x
z All ROC z n z X
n n
: 1 ] [ ) (
16
The Z Transform (…Elementary functions):
Unit Step: Exponential:
] [ ] [ n u a n x
n
| | | | : 1 1 ) (
1
a z ROC az z a z X
n n n
- therwise
0, n , 1 ] [n u
1 | | : 1 1 ) (
1
z ROC z z z X
n n
17
Important Z Transforms
Z Transform (Cont’d)
Region Of Convergence (ROC) Whole Page z≠0
|z| > |a| |z| > 1
18
The Z Transform (Elementary properties):
Elementary properties of the Z transforms:
Linearity: Convolution: if
,Then
) ( ) ( ] [ ] [ z bY z aX n by n ax
] [ ] [ ] [ n y n x n w
) ( ) ( ) ( z Y z X z W
19
The Z Transform (…Elementary properties):
Shifting: Differences:
Forward differences of a function, Backward differences of a function,
) ( ] [ z X z k n x
k
] [ ] 1 [ ] [ n x n x n x ] 1 [ ] [ ] [ n x n x n x
20
The Z Transform (…Region Of Convergence for Z transform):
Since
the shifting theorem
] [ ] 1 [ ] [ ] [ n n n x n x
) ( ) 1 ( ] [ z X z n x Z
) ( ) 1 ( ] [
1
z X z n x Z
21
The Z Transform (Region Of Convergence for Z transform):
The ROC is a ring or disk in the z-plane
centered at the origin :i.e.,
The Fourier transform of x[n] converges at
absolutely if and only if the ROC of the z-transform of x[n] includes the unit circle.
The ROC can not contain any poles.
22
The Z Transform (…Region Of Convergence for Z transform):
If x[n] is a finite-duration sequence, then
the ROC is the entire z-plane, except possibly or .
If x[n] is a right-sided sequence, the ROC
extends outward from the outermost finite pole in to .
The ROC must be a connected region.
z
z
) (z X
z
23
The Z Transform (…Region Of Convergence for Z transform):
A two-sided sequence is an infinite-duration
sequence that is neither right sided nor left sided.
If x[n] is a two-sided sequence, the ROC will
consist of a ring in the z-plane, bounded on the interior and exterior by a pole and not containing any poles.
If x[n] is a left-sided sequence, the ROC extends in
ward from the innermost nonzero pole in to .
z
) (z X
24
The Z Transform (Application to LTI systems):
We have seen that
By the convolution property of the Z transform Where H(z) is the transfer function of system.
Stability
A system is stable if a bounded input
produced a bounded output, and a LTI system is stable if:
] [ ] [ ] [ n h n x n y
) ( ) ( ) ( z H z X z Y
M n x | ] [ |
k
k h | ] [ |
25
Fourier Transform
Fourier Transform Fourier Series
Discrete Time Continuous Frequency FT Discrete Time Discrete Frequency FT
Time Frequency Transform Type
Continuous- aperiodic Discrete- aperiodic Continuous- aperiodic Continuous- periodic Continuous- periodic Discrete- aperiodic Discrete- periodic Discrete- periodic
26
Discrete-time Fourier Transform
n n j j
e n x e X
] [ ) (
The same as Z-transform with z on the unit circle Continuous in Frequency, periodic with period = 2*pi
27
The Discrete Fourier Transform (DFT)
Discrete Fourier transform
It is customary to use the Then the direct form is:
1 2
] [ ] [
N n N kn j
e n x k X
N j N
e W
2
1
] [ ] [
N n nk N
W n x k X
28
The Discrete Fourier Transform (DFT)
With the same notation the inverse DFT is
1
] [ 1 ] [
N k nk N
W k X N n x
29
The DFT (Elementary functions):
Elementary functions and their DFT: Unit impulse: Shifted unit impulse:
] [ ] [ p n n x
kp N
W k X
] [
] [ ] [ n n x
1 ] [ k X
30
The DFT (…Elementary functions):
Constant: Complex exponential:
n j
e n x
] [
2 ] [ N k N k X
1 ] [ n x
] [ ] [ k N k X
31
The DFT (…Elementary functions):
Cosine function:
n f n x 2 cos ] [
] [ ] [ 2 ] [ Nf k N Nf k N k X
32
The DFT (Elementary properties):
Elementary properties of the DFT:
Symmetry: If
,Then
Linearity: if
and ,Then
] [ ] [ k F n f ] [ ] [ k X n x
] [ ] [ ] [ ] [ k bY k aX n by n ax
] [ ] [ n NF k f ] [ ] [ k Y n y
33
The DFT (…Elementary properties):
Shifting: because of the cyclic nature of DFT
domains, shifting becomes a rotation. if ,Then
Time reversal:
if ,Then
] [ ] [ k X n x
] ) [( ] ) [(
N N
k X n x
] [ ] ) [( k X W p n x
kp N N
] [ ] [ k X n x
34
The DFT (…Elementary properties):
Cyclic convolution: convolution is a shift,
multiply and add operation. Since all shifts in the DFT are circular, convolution is defined with this circularity included.
1
] ) [( ] [ ] [ ] [
N p N