Controller design by R.L.

Slides:



Advertisements
Similar presentations
Desired Bode plot shape Ess requirement Noise requirement dB gcd High low-freq-gain for steady state tracking Low high-freq-gain for noise.
Advertisements

Design with Root Locus Lecture 9.
Chapter 4: Basic Properties of Feedback
Types of classical controllers Proportional control –Needed to make a specific point on RL to be closed-loop system dominant pole Proportional plus derivative.
Modern Control Theory Lecture 5 By Kirsten Mølgaard Nielsen
Multivariable Control
Loop Shaping Professor Walter W. Olson
Direct z-Domain Digital Controller Design. OUTLINE Advantages/disadvantages. Design procedures. Direct z-design examples.
Chapter 10 – The Design of Feedback Control Systems
Lect. 5 Lead-Lag Control Basil Hamed
Professor of Electrical Engineering
PID Control and Root Locus Method
Where is w=0+, where is w=0-, where is w=+inf, where is w=-inf, what is the system type, what is the relative order of the TF, how should you complete.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Loop Shaping.
INC341 Design Using Graphical Tool (continue)
Proportional control design 1.Draw R.L. for given plant 2.Draw desired region for poles from specs 3.Pick a point on R.L. and in desired region Use ginput.
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.
A Freq. Resp. Example (PID) Wednesday 25 Oct 2013 EE 401: Control Systems Analysis and Design A Radar Tracking System  Design a PID controller  Specs:
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.
The root locus technique 1.Obtain closed-loop TF and char eq d(s) = 0 2.Rearrange d(s) by grouping terms proportional to parameter of interest, and those.
Steady-state tracking & sys. types G(s) C(s) + - r(s) e y(s) plant controller.
Desired Bode plot shape dB  gc High low freq gain for steady state tracking Low high freq gain for noise attenuation Sufficient PM near 
C(s)G p (s) Two d.o.f. Control design: dual loop C 1 (s)G p (s) C 2 (s) r d ey+ + + __.
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.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
Root locus A technique enabling you to see how close-loop poles would vary if a parameter in the system is varied Can be used to design controllers or.
Transient Response First order system transient response
Design via Root Locus (Textbook Ch.9).
Lecture 20: Root Locus for Design
Lec 14. PID Controller Design
Examples on Compensator Design Spring 2011
Modern Control Systems (MCS)
Open vs Closed Loop Frequency Response
Controller design by R.L.
PID Controller.
Desired Bode plot shape
Basic Design of PID Controller
University of Virginia
Chapter 9 Design via Root Locus <<<4.1>>>
Two parameters: k and a. would like to know how they affect poles
The root locus technique
Desired Bode plot shape
Desired Bode plot shape
Transient Response First order system transient response
What is the system type? What are Kp, Kv, Ka?
Chapter 9 Design via Root Locus <<<4.1>>>
Open vs Closed Loop Frequency Response
Beyond p-only control via root locus
What damping ratio range do we typically want?___0.4~1____
Prototype 2nd order system:
Name:_________________
Desired Bode plot shape
Controller design by R.L.
Prototype 2nd order system:
System type, steady state tracking, & Bode plot
Digital Control Systems (DCS)
Desired Bode plot shape
Root Loci Analysis (3): Root Locus Approach to Control System Design
Stability from Nyquist plot
Two parameters: k and a. would like to know how they affect poles
Compensators.
Types of classical controllers
With respect to reference input:
Desired Bode plot shape
The root locus technique
The Design of Feedback Control Systems
IntroductionLecture 1: Basic Ideas & Terminology
Presentation transcript:

Controller design by R.L. Typical setup: C(s) G(s) Controller Design Goal: Select poles and zero of C(s) so that R.L. pass through desired region Select K corresponding to a good choice of dominant pole pair

Types of classical controllers Proportional control Needed to make a specific point on RL to be closed-loop system dominant pole Proportional plus derivative control (PD control) Needed to “bend” R.L. into the desired region Lead control Similar to PD, but without the high frequency noise problem; max angle contribution limited to < 75 deg Proportional plus Integral Control (PI control) Needed to “eliminate” a non-zero steady state tracking error Lag control Needed to reduce a non-zero steady state error, no type increase PID control When both PD and PI are needed, PID = PD * PI Lead-Lag control When both lead and lag are needed, lead-lag = lead * lag

Proportional control design Draw R.L. for given plant Draw desired region for poles from specs Pick a point on R.L. and in desired region Use ginput to get point and convert to complex # Compute Obtain closed-loop TF Obtain step response and compute specs Decide if modification is needed nump=…; denp= …; sysp=tf(nump, denp); rlocus(sysp); [x,y]=ginput(1); pd=x+j*y; Gpd=evalfr(sysp,pd); K=1/abs(Gpd); sysc = K; syscl = feedback(sysc*sysp,1); use your program from several weeks ago to do all these

Example code for Matlab rlocus([9], [1 8 12 0]); grid; yl=ylim; omega_n=5; %this may be from tr or td requirement rectangle('Position',[-omega_n,-omega_n,2*omega_n,2*omega_n],'Curvature',[1,1]); sigma = 4; %this may be from ts requirement line([-sigma -sigma],yl); zeta=0.7; %this may be from Mp requiremet line([0 yl(1)*zeta/sqrt(1-zeta^2)],[0 yl(1)]); line([0 -yl(2)*zeta/sqrt(1-zeta^2)],[0 yl(2)]); xl=xlim; xl(2)=0; xlim(xl); Draws circle with r=5 Draws line at -4 Draws 2 rays for zeta=0.7

Can use mouse to zoom in

PD controller design This is introducing an additional zero to the R.L. for G(s) Use this if the dominant pole pair branches of G(s) do not pass through the desired region Place additional zero to “bend” the RL into the desired region

[x,y]=ginput(1); pd=x+j*y; Design steps: From specs, draw desired region for pole. Pick from region, not on RL Compute Select Select: [x,y]=ginput(1); pd=x+j*y; Gpd=evalfr(sys_p,pd) phi=pi - angle(Gpd) z=abs(real(pd))+abs(imag(pd)/tan(pi-phi)) Kd=1/abs(pd+z)/abs(Gpd)

(Need a zero to attract R.L. to pd) C(s) Example: Want: Sol: (pd not on R.L.) (Need a zero to attract R.L. to pd)

ts is OK But Mp too large To redesign: Reduce wd pd=-2+j1.5

Gpd = evalfr(sys_p, pd) Gpd = - 0.1600 + 0.2133i phi = pi - angle(Gpd) phi = 0.9273 z = abs(real(pd)) + abs(imag(pd)/tan(pi - phi)) z = 3.1250 Kd = 1/abs(pd+z)/abs(Gpd) Kd = 2 Kp = z*Kd Kp = 6.2500 sys_c=tf([Kd Kp], 1); sys_cl=feedback(sys_c*sys_p, 1) Transfer function: 2 s + 6.25 ---------------- s^2 + 4 s + 6.25 step(sys_cl); ylim([0 yss*(1+2*Mp)])

Drawbacks of PD Not proper : deg of num > deg of den High frequency gain → ∞: High gain for noise Saturates circuits Cannot be implemented physically

Lead Controller Approximation to PD Same usefulness as PD It contributes a lead angle:

From specs draw region for desired c.l. poles Select pd from region Approximation to PD Same usefulness as PD Lead Control: Draw R.L. for G From specs draw region for desired c.l. poles Select pd from region Let Pick –z somewhere below pd on –Re axis Let Select [x,y]=ginput(1); pd=x+j*y; Gpd=evalfr(sysp,pd) phi=pi - angle(Gpd) [x,y]=ginput(1); z=abs(x); phi1=angle(pd+z); phi2=phi1-phi; p=abs(real(pd))+abs(imag(pd)/tan(phi2)); K=abs((pd+p)/(pd+z)/Gpd); sysc=tf(K*[1 z],[1 p]); Hold on; rlocus(sysc*sysp);

Want: Don’t increase MP but double the resp. speed Example: Lead Design MP is fine, but too slow. Want: Don’t increase MP but double the resp. speed Sol: Original system: C(s) = 1 Since MP is a function of ζ, speed is proportional to ωn C(s)

Draw R.L. & desired region Pick pd right at the vertex: (Could pick pd a little inside the region to allow “flex”)

Clearly, R. L. does not pass through pd, nor the desired region Clearly, R.L. does not pass through pd, nor the desired region. need PD or Lead to “bend” the R.L. into region. (Note our choice may be the easiest to achieve) Let’s do Lead:

Pick –z to the left of pd

Speed is doubled, but over shoot is too much.

Change controller from to To reduce the gain a bit, and make it a little closer to PD

Particular choice of z : angle bisector

Lead Control with angle bisector Draw R.L. for G From specs draw region for desired c.l. poles Select pd from region Let Select phipd=angle(pd); phi1=(phipd+phi)/2; phi2=phi1-phi;