Professor of Electrical Engineering

Slides:



Advertisements
Similar presentations
10.1 Introduction Chapter 10 PID Controls
Advertisements

Design with Root Locus Lecture 9.
Nyquist Stability Criterion
Modern Control Theory Lecture 5 By Kirsten Mølgaard Nielsen
Nise/Control Systems Engineering, 3/e
Control Systems Engineering, Fourth Edition by Norman S. Nise Copyright © 2004 by John Wiley & Sons. All rights reserved. Figure 9.1 a. Sample root locus,
Multivariable Control
Chapter 8 Root Locus <<<4.1>>>
Chapter 8 Root Locus and Magnitude-phase Representation
Lect.8 Root Locus Techniques Basil Hamed
A Typical Feedback System
Analysis of SISO Control Loops
Direct z-Domain Digital Controller Design. OUTLINE Advantages/disadvantages. Design procedures. Direct z-design examples.
Control System Design Based on Frequency Response Analysis
Transient and steady state response (cont.)
Modern Control Systems (MCS)
Lect. 5 Lead-Lag Control Basil Hamed
PID Control and Root Locus Method
f(t) m x(t) fd(t) LINEAR CONTROL C (Ns/m) k (N/m)
DNT Control Principle Root Locus Techniques DNT Control Principle.
INC341 Design with Root Locus
Feedback Control System THE ROOT-LOCUS DESIGN METHOD Dr.-Ing. Erwin Sitompul Chapter 5
Ch6 The Root Locus Method. Main content §The Root Locus Concept §The Root Locus Procedure §Generalized root locus or Parameter RL §Parameter design by.
ME375 Handouts - Spring 2002 Root Locus Method.
Chapter 5 Transient and Steady State Response “I will study and get ready and someday my chance will come” Abraham Lincoln.
INC341 Design Using Graphical Tool (continue)
University of Virginia PID Controllers Jack Stankovic University of Virginia Spring 2015.
MESB374 System Modeling and Analysis PID Controller Design
Controller design by R.L. Typical setup: C(s)G(s) Controller Design Goal: 1.Select poles and zero of C(s) so that R.L. pass through desired region 2.Select.
Lecture 17: Introduction to Control (part III)
Lec 9. Root Locus Analysis I From last lecture, the locations of the closed loop poles have important implication in –Stability –Transient behavior –Steady.
Subsea Control and Communications Systems
Lec 10. Root Locus Analysis II
Overall controller design
Design via Root Locus 1. 1 Introduction The root locus graphically displayed both transient response and stability information. The locus can be sketched.
Lec 7. Higher Order Systems, Stability, and Routh Stability Criteria Higher order systems Stability Routh Stability Criterion Reading: 5-4; 5-5, 5.6 (skip.
INC 341PT & BP INC341 Root Locus (Continue) Lecture 8.
ChE 182 Chemical Process Dynamics and Control
Chapter 5: Root Locus Nov , Two Conditions for Plotting Root Locus Given open-loop transfer function G k (s) Characteristic equation Magnitude.
Chapter 6 Root-Locus Analysis 6.1 Introduction - In some systems simple gain adjustment may move the closed- loop poles to desired locations. Then the.
Lecture 18: Root Locus Basics
Root Locus Techniques (Sketching Method) Date: 25 th September 2008 Prepared by: Megat Syahirul Amin bin Megat Ali
Dr. Tamer Samy Gaafar Automatic Control Theory CSE 322 Lec. 11 Root Locus.
1 Time Response. CHAPTER Poles and Zeros and System Response. Figure 3.1: (a) System showing input and output; (b) Pole-zero plot of the system;
Exercise 1 (Root Locus) Sketch the root locus for the system shown in Figure K 1 (
Modern Control System EKT 308
7.1 Root Locus (RL) Principle We introduce the RL through an example. Consider servo motor system shown bellow The closed loop transfer function is motor.
Modern Control Systems (MCS) Dr. Imtiaz Hussain Assistant Professor URL :
Controller design by R.L. Typical setup: C(s)G p (s) Root Locus Based Controller Design Goal: 1.Select poles and zero of C(s) so that R.L. pass through.
Lecture 10 Feedback Control Systems President UniversityErwin SitompulFCS 10/1 Dr.-Ing. Erwin Sitompul President University
CONTROL SYSTEM UNIT-IV Datta Meghe Institute of engineering Technology and Research Sawangi (meghe),Wardha 1 DEPARTMENT OF ELECTRONICS & TELECOMMUNICATION.
Control Systems Lect.3 Steady State Error Basil Hamed.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
Lecture 11/12 Analysis and design in the time domain using root locus North China Electric Power University Sun Hairong.
Vision Lab System VISION SYSTEM Chapter 9. Design via Root Locus Youngjoon Han
ABE425 Engineering Measurement Systems ABE425 Engineering Measurement Systems PID Control Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering.
Root Locus Method Assist. Professor. Dr. Mohammed Abdulrazzaq
Effects of Zeros and Additional Poles
Design via Root Locus (Textbook Ch.9).
Controller design by R.L.
LINEAR CONTROL SYSTEMS
Chapter 9 Design via Root Locus <<<4.1>>>
Chapter 9 Design via Root Locus <<<4.1>>>
Root-Locus Analysis (1)
Root Loci Analysis (3): Root Locus Approach to Control System Design
Compensators.
UNIVERSITI MALAYSIA PERLIS SCHOOL OF ELECTRICAL SYSTEM ENGINEERING
Root Locus Techniques CH 8: Islamic University of Gaza
Root Locus Techniques CH 8: Islamic University of Gaza
CH. 6 Root Locus Chapter6. Root Locus.
Presentation transcript:

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

Outline PD compensation. PI compensation. PID compensation.

PD Control L= loop gain = N / D. scl = desired closed-loop pole location. Find a controller C s.t.  L C(scl) = 180 or its odd multiple (angle condition). Controller Angle for scl Zero location

Remarks Graphical procedures are no longer needed. CAD procedure to obtain the design parameters for specified  & n. » evalfr(l,scl) % Evaluate l at scl » polyval( num,scl) % Evaluate num at scl The complex value and its angle can also be evaluated using any hand calculator.

Procedure:MATLAB or Calculator Calculate   L (scl) »theta = pi  angle(evalfr(l, scl) ) Calculate zero location using (5.14). Calculate new loop gain (with zero) » lc = tf( [1, a],1)*l Calculate gain (magnitude condition) » K = 1/abs( evalfr( lc, scl)) 5. Check time response of PD-compensated system. Modify the design to meet the desired specifications if necessary (MATLAB).

Procedure 5.2: Given e() &  Obtain error constant Ke from e() and determine a system parameter Kf that remains free after Ke is fixed for the system with PD control. 2- Rewrite the closed-loop characteristic equation of the PD controlled system as

Procedure 5.2 (Cont.) Obtain Kf corresponding to the desired closed-loop pole location. As in Procedure 5.1, Kf can be obtained by clicking on the MATLAB root locus plot or applying the magnitude condition using MATLAB or a calculator. Calculate the free parameter from the gain Kf . Check the time response of the PD compensated system and modify the design to meet the desired specifications if necessary.

Example 5.5 Use a CAD package to design a PD controller for the type I system to meet the following specifications (a)  = 0.7 & n = 10 rad/s. (b)  = 0.7 & e()= 4% due to a unit ramp.

(a)  =0.7 & n=10 rad/s MATLAB: calculate pole location & corresponding gain » scl = 10*exp( j*( pi-acos(0.7) ) ) scl = 7.0000 + 7.1414I » g=zpk([ ],[0,-4],1); theta=pi( angle( evalfr( g, scl) ) ) theta = 1.1731 » a = 10 * sqrt(1-0.7^2)/ tan(theta) + 7 a = 10.0000 » k =1/abs(evalfr(tf( [1, a],1)*l,scl)) % Gain at scl k =

RL of Uncompensated System

RL of PD-compensated System

(b)  =0.7, e()=4% for unit ramp Closed-loop characteristic equation with PD Assume that K varies with K a fixed, then RL= circle centered at the origin

RL of PD-compensated System K  a fixed

(b) Design Cont. Desired location: intersection of root locus with  = 0.7 radial line. K = 10, a =10 (same values as in Example 5.3). MATLAB command to obtain the gain » k = 1/abs( evalfr( tf([1,10],[ 1, 4, 0]), scl) ) k = 10.0000 Time responses of two designs are identical.

PI Control Integral control to improve e(), (increases type by one)  worse transient response or instability. Add proportional control  controller has a pole and a zero. Transfer function of proportional-plus-integral (PI) controller

PI Remarks Used in cascade compensation (integral term in the feedback path is equivalent to a differentiator in the forward path) PI design for a plant transfer function G(s) = PD design of G(s)/ s. A better design is often possible by "almost canceling" the controller zero and the controller pole (negligible effect on time response).

Procedure 5.3 Design a proportional controller for the system to meet the transient response specifications, i.e. place the dominant closed-loop system poles at scl =  z wn  j wd . Add a PI controller with the zero location (- a)  = small angle ( 3  5). Tune the gain of the system to move the closed-loop pole closer to scl.

Comments Use PI control only if P-control meets the transient response but not the steady-state error specifications. Otherwise, use another control. Use pole-zero diagram to prove zero location formula.

Pole-zero Diagram of PI Controller

Proof Controller angle at scl From Figure

Proof (Cont.) Solve for x x = ( a/ n) Multiplying by n gives a. Trig. identity Solve for x x = ( a/ n) Multiplying by n gives a.

Controller Angle at scl  (< 3) vs. 

Example 5.6 Design a controller for the position control system to perfectly track a ramp input with a dominant pair with  = 0.7 & wn =4 rad/s.

Solution Procedure 5.1 with modified transfer function. Unstable for all gains (see root locus plot). Controller must provide an angle  249 at the desired closed-loop pole location. Zero at 1.732. Cursor at desired pole location on compensated system RL gives a gain of about 40.6.

RL of System With Integrator

RL of PI-compensated System

Analytical Design Closed-loop characteristic polynomial Equate coefficients and solve Values obtained earlier, approximately.

MATLAB » scl = 4*exp(j*(pi  acos( 0.7)) ) scl = -2.8000 + 2.8566i » theta = pi + angle( polyval( [ 1, 10, 0, 0], scl ) ) theta = 1.9285 » a = 4*sqrt(1-.7^2)/tan(theta)+ 4*.7 a = 1.7323 » k = abs(polyval( [ 1, 10, 0,0], scl )/ polyval([1,a], scl) ) k = 40.6400

Closed-loop transfer function for Design I Design I Results Closed-loop transfer function for Design I Zero close to the closed-loop poles  excessive PO (see step response together with the response for a later design: Design II).

Step Response of PI-compensated System Design I (dotted), Design II (solid).

Design II: Procedure 5.3 Gain slightly reduced to improve response.  = 0.7, K  51.02 & n = 7.143 rad/s. (acceptable design) zero location Closed-loop transfer function Gain slightly reduced to improve response. Dominant poles  0.7, n= 6.6875 rad/s Time response for Designs I and II PO for Design II (almost pole-zero cancellation) << Design I (II better)

PID (proportional-plus-integral-plus-derivative) Control Improves both transient & steady-state response. Kp , Ki , Kd = proportional, integral, derivative gain, resp. Controller zeros: real or complex conjugate.

PID Design Procedures Cancel real or complex conjugate LHP poles. Cancel pole closest to (not on) the imaginary axis then add a PD controller by applying Procedures 5.1 or 5.2 to the reduced transfer function with an added pole at the origin. Follow Procedure 5.3 with the proportional control design step modified to PD design. The PD design meets the transient response specifications and PI control is then added to improve the steady-state response.

Example 5.7 Design a PID controller for the transfer function to obtain zero e() due to ramp,  = 0.7 and n = 4 rad/s.

Cancel pole at 1 with a zero & add an integrator Design I Cancel pole at 1 with a zero & add an integrator Same as transfer function of Example 5.6 Add PD control of 5.6 PID controller

Design II Design PD control to meet transient response specs. Select n = 5 rad/s (anticipating effect of adding PI control). Design PD controller using MATLAB commands » [k,a,scl] = pdcon(0.7, 5, tf(1, [1,11,10,0]) ) k = 43.0000 a = 2.3256 scl = -3.5000 + 3.5707i » b =5 /(0.7 + sqrt(1-.49)/tan(3*pi/ 180) ) % Obtain PI zero. b = 0.3490 Transfer function for Design II (reduce gain to 40 to correct for PI)

Conclusions Compare step responses for Designs I and II: Design I is superior because the zeros in Design II result in excessive overshoot. Plant transfer function favors pole cancellation in this case because the remaining real axis pole is far in the LHP. If the remaining pole is at 3, say, the second design procedure would give better results. MORAL: No easy solutions in design, only recipes to experiment with until satisfactory results are obtained.

Time response for Design I(dotted) and Design II (solid)

Example 5.8 Design a PID controller for the transfer function to obtain zero e() due to step,  = 0.7 and n  4 rad/s

Solution Complex conjugate pair slows down the time response. Third pole is far in the LHP. Cancel the complex conjugate poles with zeros and add an integrator

Solution (cont.) Stable for all gains. Closed-loop characteristic polynomial Equate coefficients with  = 0.7 (meets design specs.) PID controller

Step Response of PID-compensated System In practice, pole-zero cancellation may not occur but near cancellation is sufficient to obtain a satisfactory time response