Digital Control Systems

Similar documents
Systems Analysis and Control

Systems Analysis and Control

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

Frequency methods for the analysis of feedback systems. Lecture 6. Loop analysis of feedback systems. Nyquist approach to study stability

r + - FINAL June 12, 2012 MAE 143B Linear Control Prof. M. Krstic

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.

Systems Analysis and Control

Module 6: Deadbeat Response Design Lecture Note 1

Linear Control Systems Lecture #3 - Frequency Domain Analysis. Guillaume Drion Academic year

MAS107 Control Theory Exam Solutions 2008

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Digital Control: Summary # 7

Outline. Classical Control. Lecture 1

1 (s + 3)(s + 2)(s + a) G(s) = C(s) = K P + K I

Control Systems I Lecture 10: System Specifications

Systems Analysis and Control

Control Systems. Frequency Method Nyquist Analysis.

Nyquist Stability Criteria

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Homework 7 - Solutions

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

H(s) = s. a 2. H eq (z) = z z. G(s) a 2. G(s) A B. s 2 s(s + a) 2 s(s a) G(s) 1 a 1 a. } = (z s 1)( z. e ) ) (z. (z 1)(z e at )(z e at )

MEM 355 Performance Enhancement of Dynamical Systems

Controls Problems for Qualifying Exam - Spring 2014

Control Systems I. Lecture 9: The Nyquist condition

Frequency Response Techniques

EE402 - Discrete Time Systems Spring Lecture 10

DIGITAL CONTROLLER DESIGN

Lecture 5: Frequency domain analysis: Nyquist, Bode Diagrams, second order systems, system types

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =!

K(s +2) s +20 K (s + 10)(s +1) 2. (c) KG(s) = K(s + 10)(s +1) (s + 100)(s +5) 3. Solution : (a) KG(s) = s +20 = K s s

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Intro to Frequency Domain Design

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

CONTROL * ~ SYSTEMS ENGINEERING

1 (20 pts) Nyquist Exercise

CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version


ECE 486 Control Systems

MEM 355 Performance Enhancement of Dynamical Systems

Frequency Response Analysis

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

Table of Laplacetransform

Classify a transfer function to see which order or ramp it can follow and with which expected error.

Control System Design

Control of Single-Input Single-Output Systems

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

INTRODUCTION TO DIGITAL 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) =

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

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Dynamic Compensation using root locus method

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

EE 4343/ Control System Design Project LECTURE 10

Analysis of SISO Control Loops

ECE317 : Feedback and Control

Engraving Machine Example

Lecture 11. Frequency Response in Discrete Time Control Systems

Chapter 9 Robust Stability in SISO Systems 9. Introduction There are many reasons to use feedback control. As we have seen earlier, with the help of a

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

Stability of CL System

SECTION 5: ROOT LOCUS ANALYSIS

The Nyquist criterion relates the stability of a closed system to the open-loop frequency response and open loop pole location.

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Compensation 8. f4 that separate these regions of stability and instability. The characteristic S 0 L U T I 0 N S

DIGITAL CONTROL OF POWER CONVERTERS. 3 Digital controller design

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

Return Difference Function and Closed-Loop Roots Single-Input/Single-Output Control Systems

Topic # Feedback Control Systems

Recitation 11: Time delays

Frequency (rad/s)

Course Outline. Closed Loop Stability. Stability. Amme 3500 : System Dynamics & Control. Nyquist Stability. Dr. Dunant Halim

Robust Performance Example #1

Control Systems. University Questions

Systems Analysis and Control

Example on Root Locus Sketching and Control Design

ECEN 605 LINEAR SYSTEMS. Lecture 20 Characteristics of Feedback Control Systems II Feedback and Stability 1/27

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Chapter 7. Digital Control Systems

Module 5: Design of Sampled Data Control Systems Lecture Note 8

EEE 184: Introduction to feedback systems

Compensator Design to Improve Transient Performance Using Root Locus

Analysis of Discrete-Time Systems

IC6501 CONTROL SYSTEMS

Robust Control 3 The Closed Loop

(a) Find the transfer function of the amplifier. Ans.: G(s) =

Cascade Control of a Continuous Stirred Tank Reactor (CSTR)

ROOT LOCUS. Consider the system. Root locus presents the poles of the closed-loop system when the gain K changes from 0 to. H(s) H ( s) = ( s)

MAE 143B - Homework 9

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

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

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

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

Analysis of Discrete-Time Systems

The Nyquist Feedback Stability Criterion

Module 3F2: Systems and Control EXAMPLES PAPER 2 ROOT-LOCUS. Solutions

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Transcription:

Digital Control Systems Lecture Summary #4 This summary discussed some graphical methods their use to determine the stability the stability margins of closed loop systems. A. Nyquist criterion Nyquist criterion is a graphical method that allows to determine the number of poles of the closed loop system that are outside the unit circle. It can be used to test stability in the frequency domain. The method is applied to the open loop transfer function allows obtaining information about the closed loop system. The Nyquist method uses the Cauchy principle of arguments. In addition to stability, the Nyquist criterion allows to deduce stability margins. Stability margins provide good information for frequency domain controller design. We assume we know the number of open loop poles outside the unit circle; we denote this number by P. The number of closed loop poles outside the unit circle is denoted by Z is unknown. Let N be the number of counterclockwise encirclements of point (, ) in the complex plane, ( N) the number of clockwise encirclements of the same point. The following theorem is based on the Cauchy principle of arguments: Theorem: Nyquist criterion: Assuming the open loop transfer function C(z)G za (z) has P poles outside the unit circle the number of counterclockwise encirclements is N (thus ( N) is the number of clockwise encirclements). The closed loop system has Z poles outside the unit circle with B. Examples Z = P N () The Nyquist diagrams for these examples are shown in figure. ) System : The open loop system: z +.5 () The open loop pole is.5, thus, P =. From the Nyquist diagram: N =. Thus Z = the system is unstable. This can be verified from the closed loop transfer function, which is given by (3) z +.5 The closed loop pole is.5, which is clearly outside the unit circle. ) System : The open loop system: z.5 (4) The open loop pole is.5, thus, P =. From the Nyquist diagram: N =. Thus Z = the system is stable. This can be verified from the closed loop transfer function, which is given by (5) z +.5 The closed loop pole is.5, which is clearly inside the unit circle. 3) System 3: The open loop system: z.5z +. (6) The open loop poles are.5 ± j.9, thus, P =. From the Nyquist diagram: N =. Thus Z = the system is unstable. This can be verified from the closed loop transfer function, which is given by z (7).5z +. The closed loop poles are.5 ±.86i, which are outside the unit circle because their magnitude is.48. 4) System 4: The open loop system: z.5z. (8) The open loop poles are.653,.53, thus, P =. From the Nyquist diagram we have: N =. Thus Z = the system is stable. This can be verified from the closed loop transfer function, which is given by z (9).5z +.9 The closed loop poles have magnitude.9487, the poles are inside the unit circle. The Nyquist diagrams are shown in figure. In system 4, you noticed that the system is barely stable (closed loop poles magnitude at.95). This leads us to the notion of stability margins. C. Stability margins Stability margin is a measure of the relative stability of the closed loop system. It has two components: a gain margin a phase margin. A system may be specified to have minimum stability margins. For example, we want the system to have a phase margin of at least 5 o,

Digital Control, spring 8 Summary 4 System System Real Axis Real Axis System 3 System 4 Real Axis Real Axis 3 Fig.. Nyquist Examples Fig.. Top: illustration of the disturbance, bottom: A simple proportional control or the gain margin of at least 5db. The gain margin phase margin are defined as follows: Gain margin G m : The gain margin can be defined as the gain disturbance that makes the system marginally stable. Phase margin P m : The phase margin can be defined as the phase disturbance that makes the system marginally stable. With reference to figure, the disturbance is given by L(z), which could be a pure gain, or a complex function. It is possible to obtain the phase margin the gain margin from the Nyquist plot (right click then go to characteristics). The gain margin corresponds to 8 o crossing, which corresponds to the intersection with the negative real axis. The system is less stable when the crossing is closer to (, ). Thus the gain margin is measured based on the distance along the negative real axis to point (, ). Phase margin corresponds to the angle measured along the unit circle to reach point (, ). Gain phase margins can be deduced from the Bode plot as well. The gain margin is the gain at angle 8 of the system to reach the db line. The phase margin is the phase at db to reach 8 o. Examples of gain phase margins are shown in figure 3, where the gain margin corresponds to point P the phase margin corresponds to point P. Left click on these points shows the numerical values for G m P m. Note that G m is in db. D. Root locus With reference to figure bottom, the root locus can be define as a plot of the closed loop poles as the gain varies (from zero to ). The starting points of the root locus are the open loop poles.

Digital Control, spring 8 Summary 4.5 Bode Diagram 8 6 Phase (deg) Magnitude (db) 4 4 45 9 P System: L Gain Margin (db): 3.5 At frequency (rad/sec): 3.4 System: L Phase Margin (deg): 75.5 Delay Margin (samples): At frequency (rad/sec):.3.5 P.5 System: L Gain Margin (db): 3.5 At frequency (rad/sec): 3.4 System: L Phase Margin (deg): 75.5 Delay Margin (samples): At frequency (rad/sec):.3 35 P P 8 Frequency (rad/sec).5.5.5.5 Real Axis Fig. 3. Gain phase margins using the Bode plot the Nyquist diagram ) Example: By h, sketch the root locus for L (z) = z +.5 () L (z) = () z.5 The first step to solve is to obtain the closed loop transfer function, solve for the poles as a function of the gain, then plot the poles as varies. The intersection of the root locus with the unit circle is of particular importance because it gives the value of for which the system becomes unstable. For example, for system (), the closed loop system is given by z +.5 + the pole location is given by () z =.5 (3) To sketch the root locus, we simply vary plot the pole locations in the complex plane. From the root locus of systems () () shown in figures 4 5, these systems become marginally stable for =.5 =.5, respectively. STEADY STATE ERROR One of the goals of control systems is to minimize the steady state error. The steady state error is the difference as time goes to infinity between the desired input the output. An example is shown in figure 6 where the desired input is a unit step. In this particular case, the steady state error is e( ) =.4. Consider figure 7 showing a closed loop system with unity feedback. L(z) is the open loop transfer function. It includes the controller, the ZOH the analog system, that is C(z)G za (z) (4) The steady state error can be obtained using the final value theorem ( z ) E(z) (5) z or (z ) R(z) (6) z z ( + L(z)) Without loss of generality, we can write L(z) as follows where N(z) (z ) n D(z) n is a positive integer, n. N() D() (7) Here n defines the type of the system. For example when n =, the system is of type. When n =, the system is of type. Now we examine the effect of stard reference inputs on the steady state error. Combining (6) (7), we get or z z( + (z )R(z) N(z) (n ) n D(z) ) (8) z (z ) n+ D(z)R(z) (z ) n D(z) + N(z) (9) It is clear that the steady state error depends on the type of the system of course on the input. E. Sampled step input For a unit step input, we have R(z) = z z ) For n =, we have: e( ) = () D() D() + N() = + L() = () + p p is called the position error constant. 3

Digital Control, spring 8 Summary 4.8.6 Root Locus.4...4 System: L Gain:.5 Pole: Damping:.377 Overshoot (%): Frequency (rad/sec): 3.4 System: L Gain:.37 Pole:.87 Damping:.95 Overshoot (%): 87 Frequency (rad/sec): 3. System: L Gain: Pole:.5 Damping:.5 Overshoot (%): 5 Frequency (rad/sec): 3..6.8.5.5.5 Real Axis Fig. 4. Root locus for system L in equation () Root Locus.5.5.5 System: L Gain:.5 Pole:. Damping:.8 Overshoot (%): Frequency (rad/sec): 3.4 System: L Gain:.77 Pole:.49 Damping: Overshoot (%): Frequency (rad/sec):.79.5.5.5.5.5 Real Axis Fig. 5. Root locus for system L in equation () 4

Digital Control, spring 8 Summary 4 Response.5.5 r(k) y(k) e( ) e(k) = r(k) y(k) 5 5 Time (seconds) Fig. 6. An illustration of the steady state error. The input r(k) is a unit step, the output is y(k). ) For n =, we have: z ) For n =, we have z thus (z ) D(z) T z (z ) D(z) + N(z) (z ) = (6) (z ) D(z) T z (z ) D(z) + N(z) (z ) (7) e( ) = T D() N() (8) The velocity error constant can be defined in this case as v = lim (z )L(z) (9) z T When the error for a ramp input is constant (different from zero), we have e( ) = / v. 3) For n z (z ) n+ D(z) T z (z ) n D(z) + N(z) (z ) (3) (z ) n D(z) z (z ) n D(z) + N(z) = (3) G. Example Consider the following system G za (z) = (z.5) (3) C(z) = (33) ) Find the steady state error for a unit step. Fig. 7. Block diagram of a unity feedback system ) For n, we have z z (z ) n+ D(z) z (z ) n D(z) + N(z) (z ) n D(z) z (z ) n D(z) + N(z) because n, we have () (3) e( ) = (4) Solution The system is of type zero. For a unit step we have [ ] z (z ) z z + (z.5) z z.5 z.5 + (34) (35) e( ) =.5.5 + =.5 (36).5 + The steady state error can be reduced by increasing the gain. For =, the closed loop response is shown in figure 8. For this value of the gain, e( ) =.33. This is clearly confirmed on figure 8. Recall that there is a constraint on the values of, we can use only values of for which the system maintains stability. F. Ramp input For a unit ramp input, we have R(z) = T z (z ) (5) 5 H. Example Consider the following system G za (z) = (z +.8)(z ) (37)

Digital Control, spring 8 Summary 4 Step Response.4 Step Response. Amplitude.8.6 e( ) =.33 Amplitude.8.6 e( ) =.4.4...5.5 Time (sec).5.5 Time (sec) Fig. 8. Closed loop step response for example Fig. 9. Closed loop step response for example C(z) = (38) ) Find the steady state error for a unit step. ) Find the steady state error for a unit ramp. 5 4 Linear Simulation Results Solution ) The system is of type one, for a unit step we have [ ] z (z ) (39) z z + (z )(z+.8) z (z +.8)(z ) (z )(z +.8) + (4) e( ) = (4) The steady state error is zero does not depend on the gain. The closed loop response is shown in figure 9, the error is zero which confirms the previous results. ) When the input is a unit ramp, we have [ T z (z ) z (z ) ] + (z )(z+.8) [ ] T z(z )(z +.8) z (z ) (z )(z +.8) + (4) (43) e( ) = T.8 (44) The steady state error can be reduced by increasing the gain or reducing the sampling time. The closed loop response for a ramp is shown in figure for a gain = a sampling time T =.s. Matlab code to plot the step response is shown below. Amplitude 3 e( ) Time (sec) 3 4 5 Fig.. Closed loop ramp response for example I. In conclusion ) For a unit step { +L() e( ) = = + p for n = for n ) For a ramp input e( ) = with lim z (45) p = L() (46) for n = T (z ) v for n = for n (47) (z )L(z) v = lim (48) z T 3) When we talk about steady state error, we assume that the system is stable. Steady state error does not make 6

Digital Control, spring 8 Summary 4 sense if the system is unstable. 4) The fact that the time response of the system increases in figure does not imply instability of the system. 5) The analysis done here assumes a unity feedback. Thus the equations are not valid for a non-unity feedback. L = tf([],[ -.5],.) CL = feedback(l, ) step(cl) %Step response 7