Chapter 11 Digital Control Systems

Slides:



Advertisements
Similar presentations
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Advertisements

Lect.3 Modeling in The Time Domain Basil Hamed
SOLUTION OF STATE EQUATION
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Review of Frequency Domain
EECS 20 Chapter 5 Part 11 Linear Infinite State Systems Last time we Looked at state machines with feedback Considered state machines with constant or.
ECE201 Lect-91 Nodal Analysis (3.1) Dr. Holbert February 22, 2006.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Development of Empirical Models From Process Data
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Ch 2.1: Linear Equations; Method of Integrating Factors
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
Function: Definition A function is a correspondence from a first set, called the domain, to a second set, called the range, such that each element in the.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
2. Z-transform and theorem
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
MATLAB-Tutorial 3 Class ECES-304 Presented by : Shubham Bhat.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: First-Order Second-Order N th -Order Computation of the Output Signal.
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Properties of the z-Transform
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Digital Signal Processing – Chapter 10
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: First-Order Second-Order N th -Order Computation of the Output Signal Transfer.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Introduction to System Hany Ferdinando Dept. of Electrical Engineering Petra Christian University.
Fourier Analysis of Discrete-Time Systems
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Z TRANSFORM AND DFT Z Transform
Ch2 Mathematical models of systems
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
Lecture 5: Transfer Functions and Block Diagrams
ES97H Biomedical Signal Processing
1 ECE 1304 Introduction to Electrical and Computer Engineering Section 1.7 Linear Algebra with MATLAB.
1 Time-Domain Representations of LTI Systems CHAPTER 2.11 Characteristics of Systems Described by Differential and Difference Equations and Difference.
Digital Signal Processing
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
FINDING A POLYNOMIAL PASSING THROUGH A POINT. Review: the Linear Factorization Theorem If where n > 1 and a n ≠ 0 then Where c 1, c 2, … c n are complex.
Solving Quadratic Equations by Factoring. Martin-Gay, Developmental Mathematics 2 Zero Factor Theorem Quadratic Equations Can be written in the form ax.
Automatic Control Theory School of Automation NWPU Teaching Group of Automatic Control Theory.
§ 6.6 Solving Quadratic Equations by Factoring. Martin-Gay, Beginning and Intermediate Algebra, 4ed 22 Zero Factor Theorem Quadratic Equations Can be.
Time Domain Representation of Linear Time Invariant (LTI).
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
Discretization of Continuous-Time State Space Models
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
The Laplace Transform.
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.
Signals and Systems Lecture #6 EE3010_Lecture6Al-Dhaifallah_Term3321.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Difference Equations Transfer Functions Block Diagrams Resources:
Common Elements in Sequential Design. Lecture 3 topics  Registers and Register Transfer  Shift Registers  Counters Basic Counter Partial sequence counters.
Chapter 2 System Models – Time Domain
Chapter 2 The z Transform.
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
Lecture 3: System Representation
Time Domain Representations of Linear Time-Invariant Systems
EE611 Deterministic Systems Examples and Discrete Systems Descriptions Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE611 Deterministic Systems System Descriptions, State, Convolution Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
College Algebra Chapter 6 Matrices and Determinants and Applications
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Solving Quadratic Equations by Factoring
Modeling and Simulation Dr. Mohammad Kilani
State Space Representation
Chapter 7 – Systems of Linear Equations and Inequalities
LECTURE 33: DIFFERENCE EQUATIONS
State Space Analysis UNIT-V.
Homework 1: Electrical System
12 Systems of Linear Equations and Inequalities.
CHAPTER-6 Z-TRANSFORM.
3 Chapter Chapter 2 Graphing.
Chapter 3 Modeling in the Time Domain
Presentation transcript:

Chapter 11 Digital Control Systems Topics to be covered: - Discrete-time systems - z-Transforms - State Equation models of discrete systems (continuous  differential equations) (discrete  difference equations)

Digital Control Systems Simulation Diagrams and Flow Graphs: (How to make an electrical simulation of a system.) For a discrete-time simulation, the main operation is the delay operator. (Recall that for a continuous-time system, we work with integrators. A delay operator is simpler, and, as a result, cheaper.) We can also represent the delay as a z-1 operator. ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example: Draw a simulation diagram for the difference equation: m(k) = e(k) – e(k-1) – m(k-1) Components required: 2 delay elements and 1 summer (This is a special purpose computer, which can only solve the given equation.) Alternate representation (in SFG form): Note that the z-1 and the -1 paths can be combined in a “self-loop” ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Consider a general nth order difference equation of the following form: By using the real translation theorem, we get: This leads to the transfer function: The following two pages show a simulation diagram and a flow graph for this system. ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems For a general nth order difference equation, we can draw the following simulation diagram: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems As we have seen before, the SFG form is generally much more compact and is easier to draw... ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems State Variables - Consider the following TF and the corresponding simulation diagram and SFG: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Alternative representations: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems State Variables – Let the outputs of each delay be a state, and we can write state variable equations as: and (Phase Variable form of the State Equations) xn xn-1 x1 ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Note that these state equations can be more compactly written as: (Note that these give a linear, time-invariant discrete system description.) A somewhat more general form is the linear time-varying form of the state equations: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example: Write State Equations for a system with the TF (Technique: generate a SFG, label outputs of delays as states, and then write equations.) (see board for details…) ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Solution of State Equations: Plug in each value of k: x(1) = A x(0) + B u(0) x(2) = A x(1) + B u(1) = A2 x(0) + AB u(0) + B u(1) x(3) = A3 x(0) + A2B u(0) + AB u(1) + B u(2) . . . x(n) = An x(0) + An-1B u(0) + An-2B u(1) + . . . + AB u(n-2) + B u(n-1) So, ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Solution of State Equations: By z-Transforms: x(n+1) = A x(n) + B u(n) The term multiplying the initial condition is the z-transform of the state transition matrix and ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example: Draw a simulation diagram: And assign states (from right to left): ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example, continued With states assigned, we can then write out the specific state equations: In matrix form, they end up as: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example, continued To solve, we can use the sequential technique: (assume that x(0)=0 and u(k)=1, for all k. ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example, continued . . .or, by z-transforms: Recall that: So, with x(0)=0, we get and Since we get ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Transfer Functions (TF’s) and State Variables For the SISO case, we have So, with zero IC’s (since we are looking at TF’s): and So, we end up with ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Example: Using a previous example setup, we get Since D = 0, the transfer function is: ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Note: If you don’t really like computing matrix inverses, you can alternatively use the following: This method allows us to compute the TF without the need to determine a matrix inverse. For our previous example, ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems Finally, we can use MATLAB to automate much of the work: Example: num=[0 1 0.95]; den=[1 -1.9 0.93]; printsys(num,den,’z’) [A,B,C,D]=tf2ss(num,den) Results: Then, we can use: dstep(A,B,C,D) (MATLAB chooses # of points) dimpulse(A,B,C,D) dstep(A,B,C,D,IU,50) (we specify 50 points) dimpulse(A,B,C,D,IU,50) (IU is # of input, only one in this case) ECE 4923/6923 Chapter 11 Part 2

Digital Control Systems More MATLAB: Still using: But note that if we specify: which is different from before, we find that: [num,den]=ss2tf(A,B,C,D) gives num=[0 1 0.95] den = [1 -1.9 0.93] which is the SAME TF as before! What gives???? Answer: These are two different forms of the state equations, but are equivalent. Note that there are an infinite number of valid state equations for any given system. ECE 4923/6923 Chapter 11 Part 2