Digital Control & Digital Filters. Lectures 1 & 2

Similar documents
Your solutions for time-domain waveforms should all be expressed as real-valued functions.

ESE 531: Digital Signal Processing

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

! z-transform. " Tie up loose ends. " Regions of convergence properties. ! Inverse z-transform. " Inspection. " Partial fraction

ESE 531: Digital Signal Processing

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Solutions: Homework Set # 5

Discrete-Time Fourier Transform (DTFT)

6.003: Signals and Systems

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Review of Fundamentals of Digital Signal Processing

Signals and Systems. Spring Room 324, Geology Palace, ,

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

Digital Signal Processing. Midterm 1 Solution

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Signals and Systems Lecture 8: Z Transform

Review of Fundamentals of Digital Signal Processing

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

Z Transform (Part - II)

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Discrete Time Systems

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1)

The Z transform (2) 1

Chapter 7: The z-transform

Lecture 7: z-transform Properties, Sampling and Nyquist Sampling Theorem

ELEG 305: Digital Signal Processing

2.161 Signal Processing: Continuous and Discrete Fall 2008

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Topic 4: The Z Transform

Digital Filters Ying Sun

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Signals & Systems Handout #4

Lecture 7 - IIR Filters

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

Signal Analysis, Systems, Transforms

Analog vs. discrete signals

Lecture 7 Discrete Systems

Discrete Time Systems

Discrete-Time Signals and Systems. Frequency Domain Analysis of LTI Systems. The Frequency Response Function. The Frequency Response Function

University of Illinois at Urbana-Champaign ECE 310: Digital Signal Processing

X (z) = n= 1. Ã! X (z) x [n] X (z) = Z fx [n]g x [n] = Z 1 fx (z)g. r n x [n] ª e jnω

8. z-domain Analysis of Discrete-Time Signals and Systems

Discrete-time signals and systems

Z-TRANSFORMS. Solution: Using the definition (5.1.2), we find: for case (b). y(n)= h(n) x(n) Y(z)= H(z)X(z) (convolution) (5.1.

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

The Z transform (2) Alexandra Branzan Albu ELEC 310-Spring 2009-Lecture 28 1

EE 521: Instrumentation and Measurements

VI. Z Transform and DT System Analysis

EC Signals and Systems

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

Determine the Z transform (including the region of convergence) for each of the following signals:

Need for transformation?

Discrete-time first-order systems

Department of Electrical and Computer Engineering Digital Speech Processing Homework No. 6 Solutions

Grades will be determined by the correctness of your answers (explanations are not required).

Introduction & Laplace Transforms Lectures 1 & 2

Digital Signal Processing Lecture 8 - Filter Design - IIR

Very useful for designing and analyzing signal processing systems

21.4. Engineering Applications of z-transforms. Introduction. Prerequisites. Learning Outcomes

EE102B Signal Processing and Linear Systems II. Solutions to Problem Set Nine Spring Quarter

ECE503: Digital Signal Processing Lecture 4

Discrete-time Fourier transform (DTFT) representation of DT aperiodic signals Section The (DT) Fourier transform (or spectrum) of x[n] is

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

Discrete-Time David Johns and Ken Martin University of Toronto

SEL4223 Digital Signal Processing. Inverse Z-Transform. Musa Mohd Mokji

DSP-I DSP-I DSP-I DSP-I

Review of Discrete-Time System

DIGITAL SIGNAL PROCESSING. Chapter 3 z-transform

ECE-S Introduction to Digital Signal Processing Lecture 4 Part A The Z-Transform and LTI Systems

Chapter 13 Z Transform

6.02 Fall 2012 Lecture #10

ECE503: Digital Signal Processing Lecture 5

Z-Transform. 清大電機系林嘉文 Original PowerPoint slides prepared by S. K. Mitra 4-1-1

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z).

If every Bounded Input produces Bounded Output, system is externally stable equivalently, system is BIBO stable

ELEG 305: Digital Signal Processing

Poles and Zeros in z-plane

Lecture 19 IIR Filters

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

ECE 413 Digital Signal Processing Midterm Exam, Spring Instructions:


EE 3054: Signals, Systems, and Transforms Spring A causal discrete-time LTI system is described by the equation. y(n) = 1 4.

EE482: Digital Signal Processing Applications

Transform Analysis of Linear Time-Invariant Systems

Lecture 16: Zeros and Poles

Lecture 8 - IIR Filters (II)

Digital Signal Processing Lecture 3 - Discrete-Time Systems

2.161 Signal Processing: Continuous and Discrete Fall 2008

Lecture 4: FT Pairs, Random Signals and z-transform

信號與系統 Signals and Systems

summable Necessary and sufficient for BIBO stability of an LTI system. Also see poles.

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions

z-transform Chapter 6

Transcription:

Digital Controls & Digital Filters Lectures 1 & 2, Professor Department of Electrical and Computer Engineering Colorado State University Spring 2017

Digital versus Analog Control Systems Block diagrams of typical analog and digital (sampled-data) control systems are shown below. As can be seen the plant is still analog while the controller is replaced by a sampler (A/D converter), a digital controller (filter), and a hold device (D/A converter).

Why Digital Control? Benefits: Reduced Sensitivity and Robustness: Unlike analog controllers digital ones are not sensitive to environmental variations and aging. Better Adaptability: Parameters of digital controllers can more easily be adapted to the changes in a changing plant i.e. adaptive control strategies are more suited for digital control systems. Form Factor: Digital devices are more compact and lightweight comparing to their analog counterparts. Cost Effectiveness: Digital controllers are generally cheaper. More Reliable: Digital controllers are more reliable as their characteristics don t drift with time. Drawback: Quantization Effects: In designing digital systems one must be aware of the quantization effects (e.g., roundoff and truncation) due to finite word length of the processors.

Example Examples below show block diagrams of an autopilot system with position and rate feedback for: (a) analog control, (b) digital control, and digital control with multirate sampling for situations where the signals have different bandwidths.

Review of z-transform The role of z-transform to digital systems is similar to that of Laplace transform to continuous-time systems. Definition 1: The z-transform of a two-sided sequence {x(n)} is defined by X(z) = n= x(n)z n If {x(n)} is a right-sided sequence, i.e. x(n) = 0, X(z) = n=0 x(n)z n n < 0 then Example 1: Let x(n) = a n u s(n), where u s(n) is the unit step function defined as, { 1 n 0 u s(n) = 0 n < 0 Find X(z). Using n=0 an = 1 for a < 1, we have 1 a X(z) = n=0 an z n = n=0 ( a z )n = 1 1 a z if z > a

z-transform Thus the region of convergence (ROC) for this example extends from circle with radius a to. Example 2: Let x(n) = A sin(ω 0nT ), n 0. Find X(z). Using Euler formula, X(z) = n=0 Asin(Ω0nT )z n = A e jω 0 nt e jωnt n=0 z n 2j [ = A 2j [ n=0 ( ejω 0 T ) n ] z n=0 ( e jω 0 T ) n = A z 2j 2Az 1 sin(ω 0 T ) 1 2z 1 cos(ω 0 T )+z 2 1 1 e jω 0 T z 1 ] 1 = 1 e jω 0 T z 1 exists when ejω 0 T z < 1 or z > 1 (since e jω 0T = 1) Thus, ROC extends from circle with radius 1 to similar to that of Example 1.

z-transform Remarks: 1 For a right-sided sequence ROC is outside a circle bounded on the inside by largest magnitude pole and on the outside by. 2 For a left-sided sequence ROC is inside a circle bounded on the outside by smallest magnitude pole and on the inside by 0. 3 For a two-sided sequence ROC is within a ring (between two circles) bounded on the inside by the pole with largest magnitude for n 0 (i.e. right-sided part) and on the outside by the pole with smallest magnitude for n < 0. 4 Note: ROC should NOT enclose a pole. a N >... > a 2 > a 1 b 1 < b 2 <... < b M

Properties 1. Linearity Let x 1 (n) z X 1 (z) ROC R 1 < z < R 2 x 2 (n) z X 2 (z) ROC R 3 < z < R 4 Then ax 1 (n) + bx 2 (n) Z ax 1 (z) + bx 2 (z) ROC R 5 < z < R 6 where R 5 = max(r 1, R 3 ) R 6 = min(r 2, R 4 ) Remark: If linear combination leads to pole-zero cancellation, ROC may be larger. For example, both x 1 (n) = a n u s (n) and x 2 (n) = a n u s (n 1) have ROCs z > a but x 1 (n) x 2 (n) = δ(n) has a ROC which is the entire z-plane because X 1 (z) = z z a and X 2(z) = a z a hence X 1(z) X 2 (z) = z a z a = 1, i.e. ROC is everywhere.

z-transform Properties-Cont. 2. Shift-in-Time Let x(n) z X(z) ROC R 1 < z < R 2 Then x(n n 0 ) z z n0 X(z) ROC R 1 < z < R 2 Thus, ROCs are the same except possibly at z = 0 or z =. To see this, consider example, x 1 (n) = δ(n) z X 1 (z) = 1 ROC is everywhere on z-plane x 2 (n) = δ(n 1) z X 2 (z) = 1 z ROC is everywhere except at z = 0 x 3 (n) = δ(n + 1) Z X 3 (z) = z ROC is everywhere except at z = Generalizations: [ x(n n 0 ) z z n0 X(z) ] 1 k= n 0 x(k)z k with IC s x( 1),.., x( n 0 ). [ x(n + n 0 ) z z n0 X(z) n 0 1 k=0 ]. x(k)z k

z-transform Properties-Cont. 3. Multiplication by an Exponential Sequence Let x(n) z X(z) ROC R 1 < z < R 2 Then a n x(n) z X(z/a) ROC a R 1 < z < a R 2 Thus, ROC is scaled by a. 4. Differentiation Let x(n) z X(z) ROC R 1 < z < R 2 Then nx(n) z z dx(z) dz ROC R 1 < z < R 2 i.e. ROC is unchanged. 5. Conjugate (Complex Signals) Let x(n) Z X(z) ROC R 1 < z < R 2 Then x (n) Z X (z ) ROC R 1 < z < R 2 i.e. ROC is unchanged.

z-transform Properties-Cont. 6. Initial Value Theorem If x(n) = 0 n < 0 (right-sided) Then x(0) = lim z X(z) 7. Final Value Theorem (FVT) If x(n) = 0 n < 0 Then lim n x(n) = lim z 1 (1 z 1 )X(z) = lim z 1 (z 1)X(z) Condition: As long as (1 z 1 )X(z) does not have a pole on or outside the unit circle. Note: FVT is very useful for steady-state error analysis in control systems. Example: For x(n) = sin(ωn) from Table 2.3, we have X(z) = Now, if we use FVT lim z 1 (1 z 1 )X(z) = lim z 1 z sin(ω) z 2 2zcos(Ω)+1. (z 1)(zsin(Ω) z(z 2 2zcos(Ω)+1) = 0.

z-transform Properties-Cont. This result contradicts with lim n = sin(ωn) =? due to the fact that the above condition for using FVT is not satisfied since (1 z 1 )X(z) has poles on the unit circle z 1,2 = e ±jω. 8. Linear Convolution If y(n) = x(n) h(n) where stands for linear convolution operation i.e. y(n) = x(n) h(n) = k= x(k)h(n k) = and x(n) z X(z) ROC R 1 < z < R 2 h(n) z H(z) ROC R 3 < z < R 4 k= x(n k)h(k) Then Y (z) = X(z)H(z) ROC max[r 1, R 3 ] < z < min[r 2, R 4 ] Note: If a pole that borders on the ROC of one of the z-transforms is cancelled by a zero of the other, then the ROC of Y (z) will be larger.