1
Digital Windows
Β© 2017 School of Information Technology and Electrical Engineering at The University of Queensland
TexPoint fonts used in EMF.
Read the TexPoint manual before you delete this box.: AAAAA
http://elec3004.com
Not this type of Digital Windows
Source: Xerox PARC Alto, βA History of the GUI,β https://arstechnica.com/features/2005/05/gui/3/
11 April 2017 ELEC 3004: Systems 2
http://itee.uq.edu.au/~metr4202/http://creativecommons.org/licenses/by-nc-sa/3.0/au/deed.en_UShttp://elec3004.com/http://elec3004.com/https://arstechnica.com/features/2005/05/gui/3/https://arstechnica.com/features/2005/05/gui/3/
2
Lecture Schedule: Week Date Lecture Title
1 28-Feb Introduction
2-Mar Systems Overview
2 7-Mar Systems as Maps & Signals as Vectors
9-Mar Systems: Linear Differential Systems
3 14-Mar Sampling Theory & Data Acquisition
16-Mar Aliasing & Antialiasing
4 21-Mar Discrete Time Analysis & Z-Transform
23-Mar Second Order LTID (& Convolution Review)
5 28-Mar Frequency Response
30-Mar Filter Analysis
6 4-Apr Digital Filters (IIR) & Filter Analysis
6-Apr Digital Filter (FIR)
7 11-Apr Digital Windows 13-Apr FFT
18-Apr
Holiday 20-Apr
25-Apr
8 27-Apr Active Filters & Estimation
9 2-May Introduction to Feedback Control
4-May Servoregulation/PID
10 9-May Introduction to (Digital) Control
11-May Digitial Control
11 16-May Digital Control Design
18-May Stability
12 23-May Digital Control Systems: Shaping the Dynamic Response
25-May Applications in Industry
13 30-May System Identification & Information Theory
1-Jun Summary and Course Review
11 April 2017 ELEC 3004: Systems 3
Follow Along Reading:
B. P. Lathi
Signal processing
and linear systems
1998
TK5102.9.L38 1998
β’ Chapter 4
β Β§ 4.9 Data Truncation: Window Functions
β’ Chapter 12 (Frequency Response and Digital Filters)
β Β§ 12.1 Frequency Response of Discrete-Time Systems
β Β§ 12.3 Digital Filters
β Β§ 12.4 Filter Design Criteria
β Β§ 12.7 Nonrecursive Filters
β’ Chapter 10 (Discrete-Time System Analysis Using the z-Transform) β Β§ 10.3 Properties of DTFT
β Β§ 10.5 Discrete-Time Linear System analysis by DTFT
β Β§ 10.7 Generalization of DTFT to the π΅ βTransform
β One of the days!
Today
11 April 2017 ELEC 3004: Systems 4
http://library.uq.edu.au/record=b2013253~S7
3
β’ When using external tools, be sure to copy the LaTeX not the
image (because it might change)
β’ In this case, the βimageβ is a web-link which has expired! β https://www.latex4technics.com/l4ttemp/ysio4z.png?1458878525541
Announcement II
11 April 2017 ELEC 3004: Systems 5
β’ Please donβt link external images/content please β It might expire and worse might disallow us from grading your
solution β΅ it could be used to change the answer a posteriori
β’ Please donβt link from Facebook as this reveals source
(12527949_1066290980057720_1984531858_n.jpg)
Announcement III
11 April 2017 ELEC 3004: Systems 6
https://www.latex4technics.com/l4ttemp/ysio4z.png?1458878525541https://www.latex4technics.com/l4ttemp/ysio4z.png?1458878525541
4
Discrete Time Transform
11 April 2017 ELEC 3004: Systems 7
2D DFT
11 April 2017 ELEC 3004: Systems 8
5
2D DFT
β’ Each DFT coefficient is a complex value β There is a single DFT coefficient for each spatial sample
β A complex value is expressed by two real values in either
Cartesian or polar coordinate space. β’ Cartesian: R(u,v) is the real and I(u, v) the imaginary component
β’ Polar: |F(u,v)| is the magnitude and phi(u,v) the phase
11 April 2017 ELEC 3004: Systems 9
2D DFT β’ Representing the DFT coefficients as magnitude and phase is a
more useful for processing and reasoning. β The magnitude is a measure of strength or length
β The phase is a direction and lies in [-pi, +pi]
β’ The magnitude and phase are easily obtained from the real and
imaginary values
11 April 2017 ELEC 3004: Systems 10
6
Windowing for the DFT
Source: Lathi, p.303
β signal
β‘ Sampling
(take a βwindowβ)
β’ = β +β‘
!
11 April 2017 ELEC 3004: Systems 11
β’ Synthesis of a square pulse: periodic signal by successive
addition of its harmonics (Lathi, p. 202-3)
Harmonics
11 April 2017 ELEC 3004: Systems 12
7
Digital Windows!
11 April 2017 ELEC 3004: Systems 13
β’ We often need to truncate data β Ex: Fourier transform of some signal, say πβπ‘π’ π‘ β Truncate beyond a sufficiently large value of t
(typically five time constants and above).
β β΅ in numerical computations: we have data of finite duration. β Similarly, the impulse response h(t) of an ideal lowpass filter is
noncausal, and approaches zero asymptotically as |π‘| β β
β’ Data truncation can occur in both time and frequency domain β In signal sampling, to eliminate aliasing, we need to truncate the
Signal spectrum beyond the half sampling frequency ππ
2, using an
anti-aliasing filter
Window Functions (Lathi 4.9)
11 April 2017 ELEC 3004: Systems 14
8
Window Functions
11 April 2017 ELEC 3004: Systems 15
Window Functions
11 April 2017 ELEC 3004: Systems 16
9
Window Functions
11 April 2017 ELEC 3004: Systems 17
Window Functions
11 April 2017 ELEC 3004: Systems 18
10
Window Functions
11 April 2017 ELEC 3004: Systems 19
1. Rectangular
Some Window Functions [1]
11 April 2017 ELEC 3004: Systems 20
11
2. Triangular window
β’ And Bartlett Windows β A slightly narrower variant with zero weight at both ends:
Some More Window Functions β¦
11 April 2017 ELEC 3004: Systems 21
3. Generalized Hamming Windows
Hanning Window
Hammingβs Window
Some More Window Functionsβ¦
11 April 2017 ELEC 3004: Systems 22
12
4. BlackmanβHarris Windows β A generalization of the Hamming family,
β Adds more shifted functions for less side-lobe levels
Some More Window Functionsβ¦
11 April 2017 ELEC 3004: Systems 23
5. Kaiser window β A DPSS (discrete prolate spheroidal sequence)
β Maximize the energy concentration in the main lobe
β Where: I0 is the zero-th order modified Bessel function of the
first kind, and usually Ξ± = 3.
Some More Window Functionsβ¦
11 April 2017 ELEC 3004: Systems 24
13
Remedies for Side Effects of Truncation
11 April 2017 ELEC 3004: Systems 25
Remedies for Side Effects of Truncation
11 April 2017 ELEC 3004: Systems 26
14
Remedies for Side Effects of Truncation
11 April 2017 ELEC 3004: Systems 27
Summary Characteristics of Common Window Functions
Lathi, Table 7.3
Punskaya, Slide 92
6 April 2017 ELEC 3004: Systems 28
15
BREAK
11 April 2017 ELEC 3004: Systems 29
Back to
!
11 April 2017 ELEC 3004: Systems 30
16
Filter Design Using Windows
11 April 2017 ELEC 3004: Systems 31
Frequency Response of Discrete-Time Systems
11 April 2017 ELEC 3004: Systems 32
17
Frequency Response of Discrete-Time Systems
11 April 2017 ELEC 3004: Systems 33
Frequency Response of Discrete-Time Systems
11 April 2017 ELEC 3004: Systems 34
18
Frequency Response of Discrete-Time Systems
11 April 2017 ELEC 3004: Systems 35
Frequency Response of Discrete-Time Systems
11 April 2017 ELEC 3004: Systems 36
19
The ROC is always defined by circles
centered around the origin.
Right-sided signals have βoutsidedβ ROCs.
Left-sided signals have βinsidedβ ROCs.
(with βr within 0
20
Combinations of Signals
11 April 2017 ELEC 3004: Systems 40
Poles and Zeros
11 April 2017 ELEC 3004: Systems 41
21
Poles and Zeros
Source: Boyd, EE102,5-12
11 April 2017 ELEC 3004: Systems 42
Poles and Zeros
Source: Boyd, EE102,5-13
11 April 2017 ELEC 3004: Systems 43
22
Pole Zero Plot
Source: Boyd, EE102,5-14
11 April 2017 ELEC 3004: Systems 44
Partial Fraction Expansion
Source: Boyd, EE102,5-15
11 April 2017 ELEC 3004: Systems 45
23
Partial Fraction Expansion Example
Source: Boyd, EE102,5-16
11 April 2017 ELEC 3004: Systems 46
Application: Optical Proximity Correction
11 April 2017 ELEC 3004: Systems 47
24
β’ Digital Filters
β’ Review: β Chapter 12 of Lathi
β Β§ 10. 3 of Strang on FFTs
(cached on Course Website)
β’ Ponder?
Next Timeβ¦
11 April 2017 ELEC 3004: Systems 48
β’ FIR Filters are digital (can not be implemented in analog) and
exploit the difference and delay operators
β’ A window based design builds on the notion of a truncation of
the βidealβ box-car or rectangular low-pass filter in the
Frequency domain (which is a sinc function in the time domain)
β’ Other Design Methods exist: β Least-Square Design
β Equiripple Design
β Remez method
β The Parks-McClellan Remez algorithm
β Optimisation routines β¦
In Conclusion
11 April 2017 ELEC 3004: Systems 49