2. Z-transform and theorem

Slides:



Advertisements
Similar presentations
Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
Advertisements

Prof. Wahied Gharieb Ali Abdelaal CSE 502: Control Systems(1) Topic#2 Mathematical Tools for Analysis Faculty of Engineering Computer and Systems Engineering.
3. Systems and Transfer function
Computer Controlled System ELE3105/70520 Examiner: Dr Paul Wen Faculty of Engineering and Surveying The University of Southern Queensland Toowoomba, Qld.
AMI 4622 Digital Signal Processing
EE-2027 SaS 06-07, L11 1/12 Lecture 11: Fourier Transform Properties and Examples 3. Basis functions (3 lectures): Concept of basis function. Fourier series.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Digital Control Systems The z-Transform. The z Transform Definition of z-Transform The z transform method is an operational method that is very powerful.
Chapter 4 The Fourier Transform EE 207 Dr. Adil Balghonaim.
Computational Geophysics and Data Analysis
Differential Equations
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
Chapter 2 Discrete System Analysis – Discrete Signals
THE LAPLACE TRANSFORM LEARNING GOALS Definition The transform maps a function of time into a function of a complex variable Two important singularity functions.
Properties of the z-Transform
Properties and the Inverse of
SE 207: Modeling and Simulation Introduction to Laplace Transform
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Modulation Summation Convolution Initial Value and Final Value Theorems Inverse.
Partial-fraction Expansion
CHAPTER 4 Laplace Transform.
Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous for.
Prepared by Mrs. Azduwin Binti Khasri
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
CHAPTER 4 Laplace Transform.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
Mathematical Models and Block Diagrams of Systems Regulation And Control Engineering.
Chapter 6: Sampled Data Systems and the z-Transform 1.
Chapter 2 Laplace Transform 2.1 Introduction The Laplace transform method can be used for solving linear differential equations. Laplace transforms can.
1 G. Baribaud/AB-BDI Digital Signal Processing March 2003 DISP-2003 The z-transform  The sampling process  The definition and the properties.
THE LAPLACE TRANSFORM LEARNING GOALS Definition
ES97H Biomedical Signal Processing
Chapter 7 The Laplace Transform
EE 207 Dr. Adil Balghonaim Chapter 4 The Fourier Transform.
Lecture 5 – 6 Z - Transform By Dileep Kumar.
System Time Response Characteristics
Alexander-Sadiku Fundamentals of Electric Circuits
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Lecture 4: The z-Transform 1. The z-transform The z-transform is used in sampled data systems just as the Laplace transform is used in continuous-time.
Find f(kT) if Exercise 1. Solution 1 1 Begin by dividing F(z) by z and performing a partial-fraction expansion. For z = 0.5 For z = 0.7 For z = 0.9.
Lecture 2: The Laplace Transform Laplace transform definition Laplace transform properties Relation between time and Laplace domains Initial and Final.
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
Chapter 2 The z Transform.
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE SUBJECT:- ADVANCE ENGINEERING MATHEMATICS SUBJECT CODE : Topic : Laplace Transform.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Math for CS Fourier Transforms
DYNAMIC BEHAVIOR OF PROCESSES :
Class 3 Linear System Solution Using the Laplace Transform
Properties of the z-Transform
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Discrete-Time Transfer Functions
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
ELECTRIC CIRCUITS EIGHTH EDITION
CHAPTER 5 Z-Transform. EKT 230.
Digital Control Systems (DCS)
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 
EKT 119 ELECTRIC CIRCUIT II
Control Systems With Embedded Implementation (CSEI)
Mathematical Modeling of Control Systems
EE Audio Signals and Systems
UNIT II Analysis of Continuous Time signal
The sampling of continuous-time signals is an important topic
Mechatronics Engineering
Chapter 5 DT System Analysis : Z Transform Basil Hamed
EKT 119 ELECTRIC CIRCUIT II
CHAPTER-6 Z-TRANSFORM.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

2. Z-transform and theorem Gc(s) GP(s) R(s) E(s) M(s) Y(s) Controller Plant Gc(z) ZOH GP(s) R(z) E(z) M(z) GHP(z) Computer system Y(z) Plant A/D D/A

2. Z-transform and theorem time f(t) Time kT f(kT) A/D D/A

2. Z-transform and theorem How can we represent the sampled data mathematically? For continuous time system, we have a mathematical tool Laplace transform. It helps us to define the transfer function of a control system, analyse system stability and design a controller. Can we have a similar mathematical tool for discrete time system?

2.1 Z-transform For a continuous signal f(t), its sampled data can be written as, Then we can define Z-transform of f(t) as where z-1 represents one sampling period delay in time.

2.1 Z-transform Solution: Example 1: Find the Z-transform of unit step function. f(t) t kT f(kT)

2.1 Z-transform Apply the definition of Z-transform, we have

2.1 Z-transform Another method

2.1 Z-transform Example 2: Find the Z-transform of a exponential decay. Solution: f(t) t

2.1 Z-transform Exercise 1: Find the Z-transform of a exponential decay f(t)=e-at using other method. f(t) t

2.1 Z-transform Example 3: Find the Z-transform of a cosine function. Solution: As

2.1 Z-transform

2.1 Z-transform Exercise 2: Find the Z-transform for decayed cosine function

2.1 Z-transform Example 4: Find the Z-transform for Solution:

2.1 Z-transform Exercise 3: Find the Z-transform for

2.1 Z-transform The functions can be given either in time domain as f(t) or in S-domain as F(s). They are equivalent. eg. A unit step function: 1(t) or 1/s A ramp function: t or 1/s2 f(t)=1-e-at or a/(s(s+a)) etc.

2.2 Z-transform theorems Linearity: If f(t) and g(t) are Z-transformable and  and  are scalar, then the linear combination f(t)+g(t) has the Z-transform Z[f(t)+g(t)]= F(z)+ G(z)

2.2 Z-transform theorems Shifting Theorem: Given that the Z-transform of f(t) is F(z), find the Z-transform for f(t-nT). f(t) t f(t-nT) nT

2.2 Z-transform theorems If f(t)=0 for t<0 has the Z-transform F(z), then Proving: By Z-transform definition, we have

2.2 Z-transform theorems Defining m=k-n, we have Since f(mT)=0 for m<0, we can rewrite the above as Thus, if a function f(t) is delayed by nT, its Z-transform would be multiplied by z-n. Or, multiplication of a Z-transform by z-n has the effect of moving the function to the right by nT time. This is the so-called Shifting Theorem.

2.2 Z-transform theorems Final value theorem:Suppose that f(t), where f(t)=0 for t<0, has the Z-transform of F(z), then the final value of f(t) can be given by There are other theorems for Z-transform. Please read the study book or textbook for more details.

Theorem Name Definition Linearity Multiply by e-at Multiply by at Time Shift 1 Time Shift 2 Differentiation Integration Final Value Initial Value

f(t) F(z) (t) 1 u(t) t e-at 1 – e-at sint cost e-atsint e-atcost F(s) F(z) (t) 1 u(t) t e-at 1 – e-at sint cost e-atsint e-atcost

2.3 Z-transform examples Example 1: Assume that f(k)=0 for k<0, find the Z-transform of f(k)=9k(2k-1)-2k+3, k=0,1,2…. Solution: Obvious f(k) is a combination of three sub-function 9k(2k-1), 2k and 3. Therefore, first we can apply linearity theorem to f(k). Second, sub-function 9k(2k-1) can be considered as a product of k and 2-12k, then we can apply the theorem of multiply by ak. Finally, we can find the answer by combining these three together.

2.3 Z-transform examples

2.3 Z-transform examples Example 2: Obtain the Z-transform of the curve x(t) shown below. 1 2 3 4 5 6 7 8 t f(t)

2.3 Z-transform examples Solution: From the figure, we have K 0 1 2 3 4 5 6… f(k) 0 0 0 1/3 2/3 1 1… Apply the definition of Z-transform, we have

2.3 Z-transform examples Example 3: Find the Z-transform of Solution: Apply partial fraction to make F(s) as a sum of simpler terms.

2.4 Inverse Z-transform The inverse Z-transform: When F(z), the Z-transform of f(kT) or f(t), is given, the operation that determines the corresponding time sequence f(kT) is called as the Inverse Z-transform. We label inverse Z-transform as Z-1.

2.4 Inverse Z-transform Z-transform = Inverse Z-transform 

2.4 Inverse Z-transform The inverse Z-transform can yield the corresponding time sequence f(kt) uniquely. However, it says nothing about f(t). There might be numerous f(t) for a given f(kT). f(t) t T 2T 3T 4T 5T 6T

2.4 Inverse Z-transform x(kT) f(t) Zero-order Hold Low-pass Filter

2.5 Methods for Inverse Z-transform How can we find the time sequence for a given Z-transform? Z-transform table Example 1: F(z)=1/(1-z-1), find f(kT). F(z)=1+z-1+z-2+z-3+… f(kT)=Z-1[F(z)]=1, for k=0, 1, 2, …

2.5 Inverse Z-transform examples Example 2: Given , Find f(kT). Solution: Apply partial-fraction-expansion to simplify F(z), then find the simpler terms from the Z-transform table. Then we need to determine k1 and k2

2.5 Inverse Z-transform examples Multiply (1-z-1) to both side and let z-1=1, we have

2.5 Inverse Z-transform examples Similar as the above, we let multiply (1-e-aTz-1) to both side and let z-1 =eaT, we have Finally, we have

2.5 Inverse Z-transform examples Exercise 4: Given the Z-transform Determine the initial and final values of f(kT), the inverse Z-transform of F(z), in a closed form. Hint: Partial-fraction-expansion, then use Z-transform table, and finally applying initial & final value theorems of Z-transform.

2.5 Inverse Z-transform examples 2) Direct division method Example 1: F(z)=1/(1+z-1), find f(kT).

2.5 Inverse Z-transform examples Finally, we obtain: F(z)=1-z-1+z-2-z-3+… K = 0 1 2 3 … F(kT)= 1 -1 1 -1 Example 2: Given , Find f(kT). Solution: Dividing the numerator by the denominator, we obtain

2.5 Inverse Z-transform examples Finally, we obtain: F(z)=1+ 4z-1 + 7z-2 + 10z-3+… K = 0 1 2 3 … F(kT)= 1 4 7 10… Exercise 5: , Find f(kT). Ans. :k 0 1 2 3 4 5… f(kT) 0 0.3679 0.8463 1 1 1…

2.5 Inverse Z-transform examples 3) Computational method using Matlab Example: Given find f(kT). Solution: num=[1 2 0]; den=[1 –2 1] Say we want the value of f(kT) for k=0 to 30 u=[1 zeros(1,30)]; F=filter(num, den, u) 1 4 7 10 13 16 19 22 25 28 31…

2.5 Inverse Z-transform examples Exercise 6: Given the Z-transform Use 1) the partial-fraction-expansion method and 2) the Matlab to find the inverse Z-transform of F(z). Answer: x(k)=-8.3333(0.5)k+8.333(0.8)k-2k(0.8)k-1 x(k)=0;0.5;0.05;–0.615;–1.2035;-1.6257;-1.8778…

Reading Study book Module 2: The Z-transform and theorems Textbook Chapter 2 : The Z-transform (pp23-50)

Tutorial Exercise: The frequency spectrum of a continuous-time signal is shown below. What is the minimum sampling frequency for this signal to be sampled without aliasing. If the above process were to be sampled at 10 Krad/s, sketch the resulting spectrum from –20 Krad/s to 20 Krad/s. -8 -4 4 8  Krad/s F()

Tutorial Solution: 1) From the spectrum, we can see that the bandwidth of the continuous signal is 8 Krad/s. The Sampling Theorem says that the sampling frequency must be at least twice the highest frequency component of the signal. Therefore, the minimum sampling frequency for this signal is 2*8=16 Krad/s. -8 -4 4 8  Krad/s F()

Tutorial 2) Spectrum of the sampled signal is formed by shifting up and down the spectrum of the original signal along the frequency axis at i times of sampling frequency. As s=10 Krad/s, for i =0, we have the figure in bold line. For i=1, we have the figure in bold-dot line. 4 8  Krad/s F() 12 2 6 14 18 16 10 -4 -8

Tutorial For I=-1, 2,… we have -18 F() 4 8  Krad/s 12 2 6 14 18 16 10 -2 -4 -6 -8 -14 4 8  Krad/s 12 2 6 14 18 16 10

Tutorial Exercise 1: Find the Z-transform of a exponential decay f(t)=e-aT using other method. f(t) t

Tutorial

Tutorial Exercise 2: Find the Z-transform for a decayed cosine function Solution 1:

Tutorial Solution 2:

Tutorial Exercise 3: Find the Z-transform for Solution:

Tutorial Exercise 4: Given the Z-transform Determine the initial and final values of f(kT), the inverse Z-transform of F(z), in a closed form. Solution: Apply the initial value theorem and the final value theorem respectively, we have

Tutorial

Tutorial Solution: Exercise 5: Given Find f(kT) using direct-division method. Solution:

Tutorial Continuous

Tutorial Exercise 6: Given the Z-transform Use 1) the partial-fraction-expansion method and 2) the Matlab to find the inverse Z-transform of F(z). Solution1: To make the expanded terms more recognizable in the Z-transform table, we usually expand F(z)/z into partial fractions.

Tutorial Partial fraction for inverse Z-transform If F(z)/z involve s a multiple pole, eg. P1, then

Tutorial Solution 2: Expand F(z) into a polynomial form Num=[0 0.5 –1 0]; Den=[1 –2.1 1.44 –0.32]; U==[1 zeros(1,40)]; F=filter(Num, den,U) 0 0.5 0.05 -0.615 -1.2035…