pd, pi, pid compensation - university of nevada, reno pi,pd,pid补偿-内华达大学里诺校区_第1页
pd, pi, pid compensation - university of nevada, reno pi,pd,pid补偿-内华达大学里诺校区_第2页
pd, pi, pid compensation - university of nevada, reno pi,pd,pid补偿-内华达大学里诺校区_第3页
pd, pi, pid compensation - university of nevada, reno pi,pd,pid补偿-内华达大学里诺校区_第4页
pd, pi, pid compensation - university of nevada, reno pi,pd,pid补偿-内华达大学里诺校区_第5页
已阅读5页,还剩37页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1,PD, PI, PID Compensation,M. Sami FadaliProfessor of Electrical EngineeringUniversity of Nevada,2,Outline,PD compensation.PI compensation.PID compensation.,3,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,4,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 sclThe complex value and its angle can also be evaluated using any hand calculator.,5,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)*lCalculate 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).,6,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,7,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.,8,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.,9,(a) =0.7 & n=10 rad/s,MATLAB: calculate pole location theta=pi( angle( evalfr( g, scl) ) )theta =1.1731 a = 10 * sqrt(1-0.72)/ tan(theta) + 7a =10.0000 k =1/abs(evalfr(tf( 1, a,1)*l,scl) % Gain at sclk =10.0000,10,RL of Uncompensated System,11,RL of PD-compensated System,12,(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,13,RL of PD-compensated System,K a fixed,14,(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.0000Time responses of two designs are identical.,15,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,16,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).,17,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.,18,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.,19,Pole-zero Diagram of PI Controller,20,Proof,Controller angle at scl,From Figure,21,Proof (Cont.),Solve for x,x = ( a/ n) Multiplying by n gives a.,Trig. identity,22,Controller Angle at scl ( 3) vs. ,23,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.,24,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.,25,RL of System With Integrator,26,RL of PI-compensated System,27,Analytical Design,Values obtained earlier, approximately.,Closed-loop characteristic polynomial,28,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-.72)/tan(theta)+ 4*.7a =1.7323 k = abs(polyval( 1, 10, 0,0, scl )/ polyval(1,a, scl) )k =40.6400,29,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).,30,Step Response of PI-compensated System,Design I (dotted), Design II (solid).,31,Design II: Procedure 5.3, = 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 IIPO for Design II (almost pole-zero cancellation) Design I (II better),32,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.,33,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.,34,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.,35,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.6PID controller,36,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.0000a = 2.3256scl = -3.5000 + 3.5707i b =5 /(0.7 + sqrt(1-.49)/tan(3*pi/ 180) ) % Obtain PI zero.b =0.3490Transfer function for Design II (reduce gain to 40 to correct for PI),37,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 r

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论