EE451/551: Digital Control. Final Exam Review Fall 2013

Similar documents
EE451/551: Digital Control. Chapter 3: Modeling of Digital Control Systems

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

Digital Control Systems

EE451/551: Digital Control. Relationship Between s and z Planes. The Relationship Between s and z Planes 11/10/2011

Homework 7 - Solutions

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

Root Locus Design Example #4

Module 6: Deadbeat Response Design Lecture Note 1

Lecture 7:Time Response Pole-Zero Maps Influence of Poles and Zeros Higher Order Systems and Pole Dominance Criterion

Systems Analysis and Control

EE C128 / ME C134 Fall 2014 HW 8 - Solutions. HW 8 - Solutions

EEE 184 Project: Option 1

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

EE451/551: Digital Control. Chapter 7: State Space Representations

ECE317 : Feedback and Control

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

PD, PI, PID Compensation. M. Sami Fadali Professor of Electrical Engineering University of Nevada

Dynamic Compensation using root locus method

Lab # 4 Time Response Analysis

Chapter 7. Digital Control Systems

SECTION 5: ROOT LOCUS ANALYSIS

EE402 - Discrete Time Systems Spring Lecture 10

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

EE451/551: Digital Control. Chapter 8: Properties of State Space Models

Outline. Classical Control. Lecture 5

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Course roadmap. ME451: Control Systems. What is Root Locus? (Review) Characteristic equation & root locus. Lecture 18 Root locus: Sketch of proofs

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) =

DIGITAL CONTROLLER DESIGN

Course Summary. The course cannot be summarized in one lecture.

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

DIGITAL CONTROL OF POWER CONVERTERS. 3 Digital controller design

EE3CL4: Introduction to Linear Control Systems

SECTION 8: ROOT-LOCUS ANALYSIS. ESE 499 Feedback Control Systems

Closed-Loop Identification of Fractionalorder Models using FOMCON Toolbox for MATLAB

a. Closed-loop system; b. equivalent transfer function Then the CLTF () T is s the poles of () T are s from a contribution of a

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

ECE382/ME482 Spring 2005 Homework 8 Solution December 11,

The requirements of a plant may be expressed in terms of (a) settling time (b) damping ratio (c) peak overshoot --- in time domain

Exercise 1 (A Non-minimum Phase System)

7.4 STEP BY STEP PROCEDURE TO DRAW THE ROOT LOCUS DIAGRAM

Exercise 1 (A Non-minimum Phase System)

ME 475/591 Control Systems Final Exam Fall '99

Control System Design

Systems Analysis and Control

Design of a Lead Compensator

Design via Root Locus

Test 2 SOLUTIONS. ENGI 5821: Control Systems I. March 15, 2010

LABORATORY OF AUTOMATION SYSTEMS Analytical design of digital controllers

Chapter 13 Digital Control

2.161 Signal Processing: Continuous and Discrete Fall 2008

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Rational Implementation of Distributed Delay Using Extended Bilinear Transformations

= rad/sec. We can find the last parameter, T, from ωcg new

EE 380 EXAM II 3 November 2011 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO

Chapter 7 - Solved Problems

Exercises for lectures 13 Design using frequency methods

Robust Performance Example #1

Course Background. Loosely speaking, control is the process of getting something to do what you want it to do (or not do, as the case may be).

Transient response via gain adjustment. Consider a unity feedback system, where G(s) = 2. The closed loop transfer function is. s 2 + 2ζωs + ω 2 n

Root Locus Design Example #3

Lecture 11. Frequency Response in Discrete Time Control Systems

If you need more room, use the backs of the pages and indicate that you have done so.

IMPROVED TECHNIQUE OF MULTI-STAGE COMPENSATION. K. M. Yanev A. Obok Opok

INTRODUCTION TO DIGITAL CONTROL

EE/ME/AE324: Dynamical Systems. Chapter 7: Transform Solutions of Linear Models

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

Control of Electromechanical Systems

Control Systems. Root Locus & Pole Assignment. L. Lanari

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang

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

Problems -X-O («) s-plane. s-plane *~8 -X -5. id) X s-plane. s-plane. -* Xtg) FIGURE P8.1. j-plane. JO) k JO)

Design via Root Locus

CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS

1 An Overview and Brief History of Feedback Control 1. 2 Dynamic Models 23. Contents. Preface. xiii

MAE143 B - Linear Control - Spring 2018 Midterm, May 3rd

Alireza Mousavi Brunel University

Compensator Design to Improve Transient Performance Using Root Locus

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

Due Wednesday, February 6th EE/MFS 599 HW #5

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method - State Estimation

Homework Assignment 3

Systems Analysis and Control

Controller Design using Root Locus

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall K(s +1)(s +2) G(s) =.

Experiment 81 - Design of a Feedback Control System

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Basic Feedback Analysis & Design

Plan of the Lecture. Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design.

Digital Control System Models. M. Sami Fadali Professor of Electrical Engineering University of Nevada

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

-MASTER THESIS- ADVANCED ACTIVE POWER AND FREQUENCY CONTROL OF WIND POWER PLANTS

Chapter 5 HW Solution

Chapter 12 - Solved Problems

Performance of Feedback Control Systems

EEE 184: Introduction to feedback systems

Feedback Control part 2

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus

Transcription:

EE45/55: Digital Control Final Exam Review Fall 03

Exam Overview The Final Exam will consist of four/five questions for EE45/55 students based on Chapters 7 and a bonus based on Chapters 8 9 (students are free to work as many of the problems as they can). The example problems that follow are representative of what you will see on the exam

P.: Relating Time and Frequency Domain Specifications. Time constant, a 0.8.5. Rise time, Tr, note: this is a linear approx. 0.7 3. Time delay, Td, note: this is a linear approx. 4. Percent overshoot, PO e 00% 5. Peak time, T p d 4 3 6. Settling time, T or T n n n s% s5% n 7. Steady-state error, e e( ) See Chapter 3 ss n

Design Example Relating Specifications Design a osed loop system response that approx. a second order system with peak time, Tp 0.89s, d 4 and settling time Ts %.4 s. From the specs., n we have the constraints: 4 0.89 and.4 n n Solving these eqns. simultaneously yields 5 and 0.707 desired osed-loop poles are located at: n n n d 3.54 3.54 s j j j the CP is given by () s s s n n s s 7.08 5.06

Controller Design Example # Given the plant: G ( s) p s s design a lead cascade controller of the form: c G ( s) that places the desired osed-loop system poles at: s K s s p z lead lead ( s) s 7.08s 5.06 3.54 j3.54 (see prior design example for related time-domain specs.)

Controller Design Example # It is ear from a basic RL plot of the plant that the desired osed poles cannot be achieved by gain alone and that the resulting loci must be biased to move further into the left-half plane (see prior example for RL plot of this plant) Given these observations and the RL plot rules, it is reasonable to propose a lead compensator of the form: This results in t G ( s) c K s s 7.08 he following Type loop gain: Ls ( ) s s K 7.08

Controller Design Example # The location of the controller pole should be obvious from the RL rules, but can be calculated from the AC as: Ls () lead The control s 3.54 j3.54 s sp p s 3.54 j3.54 lead s 3.54 j3.54 7.08 KLs () s 3.54 j3.54 3.54 j3.54 ler gain can be calculated from the MC as: K 5.06 Ls () s

Design Verification Using Coefficient Matching It has been shown that the desired osed-loop characteristic polynominal (CP) is given by: Based on the proposed lead compensator form, we can calculate If we select ( ) 7.08 5.06 s s s the resulting loop gain as: Ks z lead K Ls () s p s s s s p lead zlead as noted previously, this results in a osedloop CP of the form (see prior controller topology analysis slide): lead ( s) s s p K s p sk lead lead Comparing coefficients of the two CPs yields: p lead 7.08 and K 5.06

Calculation of the Steady State Error The steady-state error to a unit step input is given by: lim e( t) k ss step t step where k is the position error constant given by: k p p e 5.06 lim L( s) lim s0 s0 s s 7.08 ess 0 step k Note: this result is due to the pole at zero in the loop gain! It can also be shown that e is finite, yet non-zero using the results of Chapter 3 p ss ramp p

P.: Sample Period Selection Based on the loop gain Ls ( ) and the cascade control topology (see prior analysis), we have: Y() s K 5.06 H ( s) Rs ( ) s s p K s 7.08s5.06 lead which agrees with the prior design specifications developed We can use the ( s) associated with H ( s) to selecte an appropriate sample rate for the related discrete time controller by noting from Chapter 3 that 50d s 00d T Since the osed-loop d n 3.54, an appropriate sample period for the desired osed-loop system dynamics is given by the interval 0.0 T 0.04

If we select transform to calculate Converting G c (s) to G c (z) T 0.0, we can use the inverse of the bilinear ( z) as shown: 5.06s 3.64z 3.7 s7.08 z0.8678 G ( z) G ( s) c c z G c s T z z s00 z Note: This transformation is commonly performed using a CAD package, like the cd() command in Matlab, as shown in the scripts posted on the ass web site that solve each of the Chapter 5 controller examples in the lecture notes using Matlab

Discrete Controller Implementation The cascade controller is physically implemented in hardware in the discrete time using the invere-z TF as shown: G c U( z) 3.64z3.7 3.64 3.7z ( z) Ez ( ) z0.8678 0.8678z z U z 0.8678 ( ) 3.64 3.7 z E( z) uk ( ) 3.64 ek ( ) 3.7 ek ( ) 0.8678 uk ( ) where uk ( ) is the control signal and ek ( ) is the error defined: ek ( ) rk ( ) yk ( )

P.3: Design Example Relating Specifications Design a osed loop system response that approx. a second order system with peak time, Tp 0.89s, d 4 and settling time Ts %.4 s. From the specs., n we have the constraints: 4 0.89 and.4 n n Solving these eqns. simultaneously yields 5 and 0.707 desired osed-loop poles are located at: n n n d 3.54 3.54 s j j j the CP is given by () s s s n n s s 7.08 5.06

If the system is sampled with a period of T 0.0, n 3.540.0 then r e T e 0.936 and T 3.54 0.0 0.0708 rad 4 d This implies that the discrete CP is given by: To check these results, solve for and : z z r z r z z ( ).8586 0.8680 ln r ln 0.936 0.707 ln r ln 0.936 0.0708 n Design Example Relating Specifications r T 0.0 ln ln 0.936 0.0708 5 n

Direct Digital Controller Design Example #3 Given the plant: Gp( s) sampled at T 0.0, G ZAS ( z) ss3 z 4.9475 0 0.9737 ( z0.980)( z0.948) design a lead-lag cascade controller of the form: G c ( z) lead lag p K z z z z z p z that places the desired osed-loop system poles at: r 0.936 and 0.0708 lead ( z) zr zr z 0.993 j0.0659.8585z0.8679 while producing zero steady-state error to a step input. z lag

Controller Design Example #3 It is ear from a basic RL plot of the plant that the desired osed poles cannot be achieved by gain alone and that the resulting loci must be biased to move left into the unit cire (see prior example for RL plot of the plant G ( Z)) Given these observations and the RL plot rules, it is reasonable to propose a lead-lag compensator of the form: K( z0.980) ( z0.948) Gc ( z) z z p T Applying AC and MC to Lz ( ): plead 0.8634 and K4.990 lead his results in a Type loop gain of the form: 4.94750 Kz0.9737 Lz ( ) z z p lead ZAS

P.4: Example of State Equation Soln. T Given the system with unit step input and x(0) [,0] : 0 x 0 x u 0 x x y 0 0u x The state transition matrix ( t) L si A c n c can be computed as shown: t s s s s e () t L c L t 0 s 0 e 0 s

Transfer Function Matrix Given the prior example, we can compue the system TF and IR as: H() s 0 Do these results agree with prior sta s ss 0 0 ss 0 s Y() s U() s h 0 t e () t 0 0 () t e t 0 e >> Ac=[0,;0, ];Bc=[0;];Cc=[,0];Dc=[0]; >> H_s=tf(ss(Ac,Bc,Cc,Dc)) Transfer function: s^ + s t te soln., see Matlab verification? >> zpk(h_s) zero/pole/gain: s (s+)

Example Discrete State Eqn. Given the sampled data system with T 0. and G ( s), find the discrete state space representation p s s t e As shown previously, c ( t) ; therefore, t 0 e T c ( ) d 0 0 T t e T T e t 0 e 0 e 0.095 Thus, Ad c( T ) and T 0. 0 0.905 T 0. 0.004840 0.00484 Bd c( ) d Bc 0 0.095 0.095 0 T 0. T T

Discrete Transfer Function Matrix Note: ( z) zi A d n d 0.095 z zz0.905 0 z 0.095 0 z 0.905 k kk 0.05k.00k.073 0.905 ( k) d k 0.050 0.905 z 0.905

Discrete Transfer Function Matrix Given the prior example, we can compute the system TF and IR as: 0.095 z z z 0.905 0.00484 0.095 0 z 0.905 Y( z) H( z) 0 0 U( z) 0.00484 z z z 0.905 0.095 hk ( ) 0 0.095 0.00484 z 0. 9675 z z 0.905 k kk 0.05k.00 k.073 0.905 0.00484 k 0.0500.905 0.095 0 ( k ) k 0.00 ( k) 0.054 0.9050 0.005 ( k)

P.5: Direct Controller Design By Synthesis It is often possible to design the controller z-tf directly from the given plant z-tf and the desired osed-loop z-tf as shown: H ( z) G ( z) G ( z) c ZAS G ( z) G ( z) c ZAS G This can le c ( z) H ( z) G ( z) H ( z) ZAS This requires the proper selection of H ( z) ad to some unique controller designs, only found in the discrete domain such as Deadbeat Controllers that deliver finite settling time; the trick is to design controllers that are implementable, e.g, are causal and stable!

Rules for Selecting H (s) Use the following rules for selecting resulting ( z) is implementable: ( z) to ensure the. H ( z) must have the same pole-zero deficit as G ( z) to ensure causality c. H ( z) must contain as zeros all of the zeros of G are outside the unit cire to ensure stability H ZAS ( z) that 3. Zeros of H ( z) must inude all of the poles of G ( z) outside the unit cire to ensure stability 4. H () to ensure e 0 ss step G ZAS ZAS Obviously, performance of the resulting controller on an accurate model of the plant G ( z) ZAS G c ( z) relies

If all of the poles and zeros of Rules for Selecting H (s) we can consider a desired analog prototype H which is mapped to where ( s) H s G ZAS n nsn 0 ( z) are inside the unit cire; H ( s) of the form: n nt nt nt e sin T, e cos T, e d d 0 d H ( z) st ( z) using z e as: and the gain K is selected to ensure that H () K 0 z Kz z

H ( z) Rules for Selecting H (s) z K z 0 z0 H ( z) K z ( ) H z z K z 0 G 0 z z0 z p z p with all poles/zeros inside the unit cire, by synthesis design: Assuming the plant has the form GZAS ( z) z G c ( z) G ZA H ( z) S( z) H( z) K zz p z p G zz z K z 0 0 0 Lz ( ) H K z ( z), as desired! Lz ( ) z z0

Example Based on Ch5 Example # Given the plant: Gp ( s) sampled at T 0.0, The fo s s3 4.9475 0 0.9737 z GZAS ( z) ( z0.980)( z0.948) and a desired analog prototype H ( s) of the form: 5 H ( s) s 7.07s5 llowing controller results from the synthesis design technique outlined above (see Ch6_ Ex6.m): 47.849 zz ( 0.980)( z0.948) Gc ( z) ( z0.9737)( z)( z0.868)

Bonus: