Академический Документы
Профессиональный Документы
Культура Документы
Discrete-time Systems
x(n)
Discrete-time
System
y(n)
output/
response
Discrete-time
signal
Discrete-time
signal
x(n) y (n)
Dr. Deepa Kundur (University of Toronto)
1 / 61
Discrete-time Systems
System Properties
2 / 61
Discrete-time Systems
Terminology: Implication
If A then B
Shorthand: A = B
Example 1:
it is snowing = it is at or below freezing temperature
Example 2:
5.2 = is positive
Note: For both examples above, B 6= A
3 / 61
4 / 61
Discrete-time Systems
Terminology: Equivalence
Discrete-time Systems
Common Properties
If A then B
Shorthand: A = B
and
If B then A
Shorthand: B = A
can be rewritten as
Shorthand: A B
A if and only if B
We can also say:
I
A is EQUIVALENT to B
A=B
5 / 61
Discrete-time Systems
6 / 61
Discrete-time Systems
Additivity:
Common Properties
I
Homogeneity:
7 / 61
8 / 61
Discrete-time Systems
Common Properties
I
Recall:
x(n) =
for all n.
x(k)(n k)
k=
I
9 / 61
10 / 61
(n) h(n)
T
(n k) h(n k)
y (n) =
(n k) h(n k)
k=
X
X
T
x(k)(n k)
x(k)h(n k)
k=
k=
T
x(n) y (n)
11 / 61
12 / 61
For a causal system, y (n) only depends on present and past inputs
values. Therefore, for a causal system, we have:
y (n) =
h(k)x(n k)
k=
1
X
h(k)x(n k) +
k=
n=
h(k)x(n k)
Note:
I means that the two statements are equivalent
I BIBO = bounded-input bounded-output
k=0
h(k)x(n k)
k=0
13 / 61
PROOF
For a stable system, y (n) is bounded if x(n) is bounded. What are the implications on h(n)?
We have:
X
|y (n)| = |
h(k)x(n k)|
|h(k)x(n k)| =
k=
P
To prove the reverse implication (i.e., necessity), assuming
n= |h(n)| = we must find a
bounded input x(n) that will always result in an unbounded y (n). Recall,
|h(k)|Mx = Mx
Therefore,
k=
y (0)
h(k)x(k)
k=
|h(k)| <
h(k)sgn(h((k))) =
k=
=
|h(n)| <
h(k)x(k)
k=
|h(k)|
k=
h(k)x(0 k) =
k=
k=
h(k)x(n k)
k=
y (n) Mx
|x(n)|Mx <
k=
y (n)
PROOF
k=
14 / 61
h(k)sgn(h(k))
k=
|h(n)| =
n=
n=
15 / 61
16 / 61
PROOF
Therefore,
|h(n)| =
Direct z-Transform:
n=
guarantees that there exists a bounded input that will result in an unbounded output, so it is
also a necessary condition and we can write:
X (z) =
x(n)z n
n=
|h(n)| <
n=
Notation:
|h(n)| <
X (z)
Z{x(n)}
x(n) X (z)
n=
17 / 61
Region of Convergence
18 / 61
z-Transform Properties
Property
Notation:
Linearity:
Time shifting:
Time Domain
x(n)
x1 (n)
x2 (n)
a1 x1 (n) + a2 x2 (n)
x(n k)
z-Domain
X (z)
X1 (z)
X1 (z)
a1 X1 (z) + a2 X2 (z)
z k X (z)
z-Scaling:
Time reversal
Conjugation:
z-Differentiation:
Convolution:
an x(n)
x(n)
x (n)
n x(n)
x1 (n) x2 (n)
X (a1 z)
X (z 1 )
X (z )
dX (z)
z dz
X1 (z)X2 (z)
ROC
ROC: r2 < |z| < r1
ROC1
ROC2
At least ROC1 ROC2
ROC, except
z = 0 (if k > 0)
and z = (if k < 0)
|a|r2 < |z| < |a|r1
1
< |z| < r1
r1
2
ROC
r2 < |z| < r1
At least ROC1 ROC2
among others . . .
19 / 61
20 / 61
Signal, x(n)
(n)
u(n)
an u(n)
nan u(n)
an u(n 1)
nan u(n 1)
(cos(0 n))u(n)
(sin(0 n))u(n)
(an
10
cos(0 n)u(n)
z-Transform, X (z)
1
1
1z 1
1
1az 1
az 1
(1az 1 )2
1
1az 1
az 1
(1az 1 )2
1z 1 cos 0
12z 1 cos 0 +z 2
z 1 sin 0
12z 1 cos 0 +z 2
1az 1 cos 0
12az1 cos 0 +a2 z 2
1az 1 sin 0
12az1 cos 0 +a2 z 2
ROC
All z
|z| > 1
|z| > |a|
|z| > |a|
|z| < |a|
|z| < |a|
h(n) H(z)
Z
time-domain z-domain
Z
impulse response system function
Z
|z| > 1
|z| > 1
Therefore,
H(z) =
21 / 61
DTFT
Y (z)
X (z)
22 / 61
DTFT
DTFT pair:
X ( + 2) =
1
x(n) =
X ()e jn d
2 2
X
X () =
x(n)e jn
n=
I
X
n=
X
n=
X
n=
x(n)e j(+2)n
x(n)e jn e j2n
x(n)e
jn
1=
x(n)e jn = X ()
n=
23 / 61
24 / 61
DTFT
I
I
DTFT
T =
2
1
=
25 / 61
DTFT
smaller
26 / 61
DTFT
27 / 61
28 / 61
DTFT
DTFT
MAXIMUM OSCILLATION
MINIMUM OSCILLATION
-3
-3
-2
-2
29 / 61
DTFT
-1
-1
-3
-3
31 / 61
-2
-2
30 / 61
DTFT
-1
-1
32 / 61
DTFT
LTI Filtering
y (n) =
Property
Notation:
Linearity:
Time shifting:
Time reversal
Convolution:
Correlation:
Time Domain
x(n)
x1 (n)
x2 (n)
a1 x1 (n) + a2 x2 (n)
x(n k)
x(n)
x1 (n) x2 (n)
rx1 x2 (l) = x1 (l) x2 (l)
Wiener-Khintchine:
Frequency Domain
X ()
X1 ()
X1 ()
a1 X1 () + a2 X2 ()
e jk X ()
X ()
X1 ()X2 ()
Sx1 x2 () = X1 ()X2 ()
= X1 ()X2 () [if x2 (n) real]
Sxx () = |X ()|2
Y ()
= H()X ()
where
x(n)
F
h(n)
F
y (n)
H()
among others . . .
|H()|
H() = ()
x(k)h(n k)
k=
33 / 61
X ()
H()
Y ()
|H()|e j()
system gain for freq
phase shift for freq
34 / 61
x(t)e jt dt
Note: If x(t) is real, then the imaginary part of the negative frequency sinusoids
(i.e., e jt for <0) cancel out the imaginary part of the positive frequency
sinusoids (i.e., e jt for >0)
35 / 61
36 / 61
=
=
=
37 / 61
Z
1
X (j)e jt d
2
Z
1
|X (j)| e jX (j) e jt d
2
Z
1
|X (j)| e j(t+X (j)) d
2
X (j) determines the relative phases of the sinusoids (i.e. how they line
up with respect to one another).
38 / 61
LTI Filtering
x(k)h(n k)
k=
Y ()
= H()X ()
where
x(n)
F
h(n)
F
y (n)
X ()
H()
Y ()
I
H()
|Y ()| =
Y ()
|H()|e j()
|H()||X ()|
= () + X ()
39 / 61
40 / 61
h(k)x(n k)
k=
M1
X
y (n) =
k=
h(k)x(n k)
k=0
I
I
h(k)x(n k)
k=0
h(k)x(n k)
I
I
41 / 61
42 / 61
LCCDEs
LCCDEs
N
X
ak y (n k) +
k=1
y (n) =
N
X
k=1
ak y (n k) +
M
X
bk x(n k)
a0 y (n) =
k=0
ak y (n k) =
k=0
Z{
ak y (n k) +
N
X
ak y (n k)}
N
X
43 / 61
ak Z{y (n k)}
k=0
M
X
M
X
bk x(n k)
a0 1
k=0
bk x(n k)
k=0
k=0
N
X
bk x(n k)
k=0
k=1
N
X
M
X
Z{
M
X
bk x(n k)}
k=0
M
X
bk Z{x(n k)}
k=0
44 / 61
z-Transform Properties
Property
Notation:
LCCDEs
Linearity:
Time shifting:
Time Domain
x(n)
x1 (n)
x2 (n)
a1 x1 (n) + a2 x2 (n)
x(n k)
z-Domain
X (z)
X1 (z)
X1 (z)
a1 X1 (z) + a2 X2 (z)
z k X (z)
z-Scaling:
Time reversal
Conjugation:
z-Differentiation:
Convolution:
an x(n)
x(n)
x (n)
n x(n)
x1 (n) x2 (n)
X (a1 z)
X (z 1 )
X (z )
dX (z)
z dz
X1 (z)X2 (z)
N
X
ROC
ROC: r2 < |z| < r1
ROC1
ROC2
At least ROC1 ROC2
ROC, except
z = 0 (if k > 0)
and z = (if k < 0)
|a|r2 < |z| < |a|r1
1
< |z| < r1
r1
2
ROC
r2 < |z| < r1
At least ROC1 ROC2
k=0
ak Z{y (n k)}
|
{z
}
k=0
z k Y (z)
N
X
ak z k Y (z)
k=0
Y (z)
M
X
M
X
bk z k X (z)
ak z k
= X (z)
Y (z)
X (z)
PM
k=0
H(z)
45 / 61
M
X
bk z k
k=0
H(z) =
z k X (z)
k=0
N
X
k=0
bk z k
a0 1
k
k=0 ak z
PM
k
k=0 bk z
P
N
z 0 + k=1 ak z k
PN
among others . . .
bk Z{x(n k)}
|
{z
}
PM
=
k=0
1+
PN
bk z k
k=1 ak z
46 / 61
FIR LCCDEs
y (n) =
M1
X
bk x(n k) =
H(z) =
Adder:
h(k)x(n k)
k=
k=0
M1
X
Unit delay:
bk z
k=0
Constant multiplier:
Please note: upper limit is M 1 opposed to M (which is used for the general
LCCDE case) to meet common FIR convention of an M-length filter.
Unit advance:
h(n) =
bn 0 n M 1
0 otherwise
Signal multiplier:
47 / 61
By inspection:
48 / 61
M1
X
IIR LCCDEs
bk x(n k)
k=0
y (n) =
...
+
...
ak y (n k) +
k=1
PM
H(z) =
N
X
1+
k=0
P
N
bk z k
k=1
ak z k
M
X
k=0
M
X
bk x(n k)
1
PN
1 + k=1 ak z k
{z
}
} |
bk z k
|k=0 {z
H1 (z)
H2 (z)
= H1 (z) H2 (z)
Requires:
I M multiplications
I M 1 additions
I M 1 memory elements
Dr. Deepa Kundur (University of Toronto)
49 / 61
Adder:
50 / 61
Unit delay:
+Unit
...
...
...
advance:
...
...
...
...
...
Signal multiplier:
Constant multiplier:
51 / 61
52 / 61
y (n) =
N
X
ak y (n k) +
k=1
...
...
H(z) =
1+
k=0
P
N
bk x(n k)
k=0
PM
...
M
X
bk z
k=1
ak z k
...
Recall, for BIBO stability of a causal system the system poles must
be strictly inside the unit circle.
For N>M
Why?
53 / 61
Adder:
54 / 61
Unit delay:
Constant multiplier:
H(z) =
Unit advance:
Recall,
|H(z)|
n=
h(n)z n
|h(n)z
|=
|h(n)||z n |
X
Signal multiplier:
n=
n=
n=
|h(n)|<
n=
55 / 61
56 / 61
Therefore,
|h(n)| <
n=
H(z) ROC
LTI system
includes
is stable
unit circle
For a causal rational system function, the ROC includes the unit
circle if all the poles are inside the unit circle.
57 / 61
y (n) =
H(z) =
I
I
N
X
ak y (n k) +
k=1
PM
k
k=0 bk z
P
+ Nk=1 ak z k
M
X
bk x(n k)
y (n) =
k=0
H(z) =
M
X
k=0
M
X
bk x(n k)
bk z k
k=0
58 / 61
I
I
59 / 61
60 / 61
N
X
ak y (n k)
k=1
H(z) =
I
I
1+
1
PN
k=1
ak z k
61 / 61