Lecture24 Final Revision Part2
Lecture24 Final Revision Part2
Lecture 24
Final Revision_Part 2
1
Content
2
1. Information of final exam
6
4. Walk through every lecture
7
Lecture 14 DTFS and DTFT_1
• 1. Discrete-Time Fourier Series (for periodic sequences)
– Review the concepts of eigenfunction for LTI systems
– Definition of DTFS
– Examples
8
Synthesis & Analysis Equation for DTFS and DTFT
• DTFS for a periodic discrete-time signal 𝑥[𝑛]:
2𝜋
– period: N; fundamental frequency: 𝜔0 =
𝑁
𝑁−1
10
Quiz
11
Lecture 15 DTFT_2
• 1. Definition revisit
– From CTFT to DTFT
– Existence of DTFT (convergence)
12
DTFT Properties
13
Quiz
14
Lecture 16 DTFT_3
• 1. Commonly used DTFT pairs
– Use DTFT properties when needed (Equation list provided)
• 2. Inverse DTFT
– Definition and calculation
– Partial Fraction Expansion
• 3. DTFT in LTID Systems
– Relationship between impulse response ℎ[𝑛], LCCDE and frequency
response (or transfer function, system function) H(𝜔)
– Magnitude and phase spectrum
15
Quiz
16
Inverse DTFT by PFE
18
Lecture 17 Filtering
• 1. Continuous-Time (analogue) vs. Discrete-Time (digital)
filtering
– Frequency mapping (analogue frequency vs. digital frequency)
• 2. Ideal and Practical filters
– Four types: lowpass, highpass, bandpass and bandstop
• 3. CT Filters examples
– Simple electrical circuit filters
– Butterworth filters
• 4. DT Filters examples
– Recursive and non-recursive filters
– FIR vs. IIR filters.
19
Analogue and Digital Filters
Note: in discussing discrete-time signals
and systems, Ω is used to denote the
analog frequency of the Continuous-Time
Fourier Transform (CTFT), and 𝜔 is used
to denote the digital frequency of the
Discrete-Time Fourier Transform (DTFT)
for clarity.
1 2𝜋
• Frequency Mapping: 𝐹𝑠 = ; 𝛺𝑠 =
𝑇𝑠 𝑇𝑠
= 2𝜋𝐹𝑠 .
𝛺 𝜔 𝐹 𝜔
= , or 𝜔 = 𝛺𝑇𝑠 ; or = , or 𝜔 = 2𝜋𝐹/𝐹𝑠 = 2𝜋𝐹 ∙ 𝑇𝑠
𝛺𝑠 2𝜋 𝐹𝑠 2𝜋
- 𝑇𝑠 : sampling interval or sampling period (sec, or sec/sample);
- 𝛺: analogue angular frequency (rad/s); 𝛺𝑠 : angular sampling frequency (rad/s);
- 𝐹: analogue linear frequency (Hz); 𝐹𝑠 : linear sampling frequency (Hz);
- 𝜔: angular digital frequency (rad/sample).
20
Quiz
21
Filter Types
CT: focus on 0, ∞
DT: focus on 0, 𝜋
22
Lecture 18 Sampling
• 1. Sampling
– 1.0. What and Why?
– 1.1. Sampling in Time domain (TD)
– 1.2. Sampling in Frequency domain (FD)
– 1.3. Nyquist Theorem
• 2. Reconstruction
– 2.1 Interpolation
– 2.2 Reconstruction theory
– 2.3 Reconstruction in FD – filtering
– 2.4 Reconstruction in TD – interpolation
– 2.5 Realisation
23
𝑥𝑎 (𝑡) 𝑥𝑠 (𝑡) 𝑥[𝑛]
Sampling in TD and FD Pulse train
𝑥𝑎 (𝑛𝑇)
𝛿𝑇𝑠 (𝑡) Sequence
Time-Domain:
𝑥𝑠 (𝑡) 𝑥𝑎 (𝑡) 𝑥[𝑛]
copy, shift
scaling
𝜔 = 𝛺𝑇𝑠
24
Nyquist-Shannon Theorem and Ideal Reconstruction
Ω0 𝑇𝑠 ≤ 𝜋 Ω𝑠 ≥ 2Ω0
where Ω0 is the maximum (highest) frequency in analogue signal.
𝛺 = 𝜔/𝑇𝑠
𝑋𝑎 (𝑗Ω) 𝑥𝑎 (𝑡)
25
Quiz
26
Quiz
27
Quiz
28
Lecture 19 Z-Transform_1
• 1. Definition of z-transform
– Eigenfunctions
– Relationship between DTFT and z-transform
– Visualisation of DTFT and z-transform
– s-plane to z-plane
• 2. Region of Convergence (ROC)
– Definition and graphical depiction
– Zeros and Poles (Zero-pole plot)
– ROC properties
• 3. Commonly use z-transform pairs (Equation list provided)
29
z-Transform vs. DTFT
• Definition equation of DTFT:
∞ ∞
30
ROC and Properties
• For a given sequence, the set R of values of z for which its z-transform
converges is called the region of convergence (ROC).
– annular region of the z-plane
𝑅− < |𝑧| < 𝑅+ , where 0 ≤ 𝑅− < 𝑅+ ≤ ∞
– The z-transform must always be specified with its ROC !
• DTFT exists ROC include |z|=1 stable
• Right-sided sequence ROC is outside the outermost pole circle;
- causal (right sided and equal to 0 for n < 0): ROC =includes infinity
(𝑋 ∞ < ∞) O(N(z)) ≤ O(D(z));
• Left-sided sequence ROC is inside the innermost pole circle;
- anti-causal (left sided and equal to 0 for n > 0): ROC also includes 0
(𝑋 0 < ∞) O(N(z)) > O(D(z));
• Double-sided sequence ROC will be the intersection of the two ROC
areas, i.e., a ring shape.
31
Lecture 20 Z-Transform_2
• 4. Properties of z-transform
– Linearity, time-shifting, time-reversal, time-scaling, z-domain
scaling, z-domain differentiation, time-difference, time-
accumulation, conjugation, time convolution.
– Comparing with DTFT and Laplace transform
• 5. Inverse z-Transform
– Table Look-up
– Long Division (Power series expansion)
– Partial Fraction Expansion
• ROC determination
32
Z-Transform Properties
33
Inverse z-Transform
• Long-division:
• PFE:
Consider a proper fraction transform 𝑋(𝑧) given with its denominator factored out as
𝑁(𝑧)
𝑋(𝑧) =
(𝑧 − 𝑧1 )(𝑧 − 𝑧2 ). . . (𝑧 − 𝑧𝑁 )
Expanding the transform into partial fractions in the form
𝑘1 𝑧 𝑘2 𝑧 𝑘 𝑧 𝑋(𝑧) 𝑘1 𝑘2 𝑘
𝑋(𝑧) = + +. . . + 𝑁 or equivalently, = + +. . . + 𝑁
𝑧−𝑧1 𝑧−𝑧2 𝑧−𝑧𝑁 𝑧 𝑧−𝑧1 𝑧−𝑧2 𝑧−𝑧𝑁
Consider simple poles, the coefficients 𝑘𝑖 could be obtained from:
𝑋(𝑧)
𝑘𝑖 = (𝑧 − 𝑧𝑖 )
𝑧 𝑧=𝑧𝑖
35
Quiz
36
Lecture 21 Z-Transform_3
• 6. Analysis of LTID systems using z-transform
– Impulse response ℎ[𝑛], LCCDE and system transfer function 𝐻(𝑧)
– Zero-pole plot
– Causality and stability determination from ROC
– Geometric Evaluation of DTFT based on zero-pole locations
– System behavior
• 7. Block diagram representation
– Direct form I and II (canonic form)
– Cascade and parallel form
• 8. Unilateral z-transform (optional)
37
LTID System Analysis
𝑎𝑘 𝑦[𝑛 − 𝑘] = 𝑏𝑘 𝑥[𝑛 − 𝑘]
𝑘=0 𝑘=0
z-transform
• Transfer function:
𝑌(𝑧) σ𝑀
𝑘=0 𝑏𝑘 𝑧
−𝑘
𝐻 𝑧 = =
𝑋(𝑧) σ𝑁
𝑘=0 𝑎𝑘 𝑧
−𝑘
38
Quiz
LCCDE?
39
LTID System Properties
• Causal: ℎ[𝑛] = 0 for 𝑛 < 0
– (a) the ROC is the exterior of a circle outside the outermost pole;
– (b) with 𝐻(𝑧) expressed as a ratio of polynomials in z, the order of
the numerator cannot be greater than the order of the denominator; or
equivalently, ROC includes infinity.
40
Quiz
Note:
in option c), although infinity is not
explicitly included in ROC, for this
specific X(z), note the order of numerator
and order of denominator are equal
(both = 4), so ROC also includes infinity.
→ causal.
41
Zero-pole plot & Geometric Evaluation of DTFT
• Consider a more general system function in the form:
(𝑧 − 𝑧1 )(𝑧 − 𝑧2 ). . . (𝑧 − 𝑧𝑀 )
𝐻(𝑧) = 𝐾
(𝑧 − 𝑝1 )(𝑧 − 𝑝2 ). . . (𝑧 − 𝑝𝑁 )
– M zeros and N poles;
– The magnitude of the system function is:
𝑧𝑎 − 𝑧1 𝑧𝑎 − 𝑧2 . . . 𝑧𝑎 − 𝑧𝑀
𝐻(𝑧𝑎 ) = 𝐾
𝑧𝑎 − 𝑝1 𝑧𝑎 − 𝑝2 . . . 𝑧𝑎 − 𝑝𝑁
𝐻(𝜔)
𝜔 (rad)
42
Quiz
43
Implementation structures for LTID system
• Take a 3rd-order LTID system as example:
𝑌(𝑧) 𝑏0 + 𝑏1 𝑧 −1 + 𝑏2 𝑧 −2 + 𝑏3 𝑧 −3
𝐻(𝑍) = =
𝑋(𝑧) 1 + 𝑎1 𝑧 −1 + 𝑎2 𝑧 −2 + 𝑎3 𝑧 −3
Direct Form I
Direct Form II
(canonic form)
44
Cascade Form 𝐻(𝑍) = 𝐻1 (𝑧) 𝐻2 (𝑧) . . . 𝐻𝑀 (𝑧)
Parallel Form
෩1 (𝑧) + 𝐻
𝐻(𝑍) = 𝐻 ෩2 (𝑧)+. . . +𝐻
෩𝑀 (𝑧)
• The sub-systems could be any order, but usually are 2nd order.
– Especially for conjugate pole and zero pairs, they are often combined to be 2nd order
sub-systems.
45
Quiz
46
Lecture 22 DFT
• 1. Definition of DFT
– 1.1 DFT definition
– 1.2 DFT: synthesis and analysis equations
– 1.3 Relationships among CTFT, DTFT and DFT
• 2. Computation of DFT
– 2.1 Computing DFT based on twiddle factor
• 3. DFT Properties
– 3.1 Periodicity
– 3.2 Parseval’s theorem
• 4. Circular Convolution
– 4.1 Circular shift
– 4.2 Circular reversal
– 4.3 Circular convolution
47
CTFT - DTFT - DFT
Time 𝒙(𝒕) 𝒙[𝒌] [𝒌]
𝒙
Domain
CTFT DTFT DFT
Frequency
Domain 𝑿(𝒋𝛀) 𝑿(𝒆𝒋𝝎 ) 𝑿[𝒎]
48
Circular Shift and Reversal
𝑔 𝑛 = 𝑥[𝑛 − 𝑚]mod 𝑁
𝑔 𝑛 = 𝑥[−𝑛]mod 𝑁
49
Quiz
50
Circularly Conjugate Symmetry
For any signal 𝑥 𝑛 , it can be decomposed into two components:
𝑥 𝑛 +𝑥 ∗ [−𝑛]mod 𝑁
𝑥𝐸 𝑛 = (conjugate symmetric component)
2
𝑥 𝑛 −𝑥 ∗ [−𝑛]mod 𝑁
𝑥𝑂 𝑛 = (conjugate antisymmetric component)
2
So that
𝑥 𝑛 = 𝑥𝐸 𝑛 +𝑥𝑂 𝑛
In similar manner, its DFT can also be decomposed into
𝑋 𝑘 = 𝑋𝐸 𝑘 +𝑋𝑂 𝑘
51
Circular vs. Linear Convolution
• Circular convolution: 𝑁−1
𝑦 𝑘 = 𝑥1 𝑘 ⊛𝑁 𝑥2 𝑘 = 𝑥1 𝑛 𝑁 𝑥2 𝑘 − 𝑛 𝑁
𝑛=0
• Expressed in matrix form, take N=4 as an example:
52
Quiz
53
Thank You ! &
GOOD LUCK☺
54