110 likes | 237 Views
A UTOMATING PID C ONTROLS IN M ATHCAD. Neil Kuyvenhoven Engr 315 December 11,2002. AGENDA. Existing / accepted methods Trial and Error Zieglar Nichols Method Cohen – Coon Method Neil’s Method Illustrations of Mathcad’s capabilities. A UTOMATING PID C ONTROLS IN M ATHCAD.
E N D
AUTOMATING PID CONTROLSIN MATHCAD Neil Kuyvenhoven Engr 315 December 11,2002
AGENDA Existing / accepted methods Trial and Error Zieglar Nichols Method Cohen – Coon Method Neil’s Method Illustrations of Mathcad’s capabilities AUTOMATING PIDCONTROLS IN MATHCAD
PID Automation • Three main methods • Trial and Error • Zieglar Nichols • Cohen-Coon • Process – Trial and Error • Set integral / derivative to 0 • Increase proportional until sustained oscillations result – Set proportional to half of this value • Increase integral until sustained oscillations result – Set Integral to three times this value • Increase derivative until sustained oscillations result – Set derivative to one third of this value AUTOMATING PIDCONTROLS IN MATHCAD
PID Automation • Three main methods • Trial and Error • Zieglar Nichols • Cohen-Coon • Process • Closed Loop • With integral and derivative set to 0, increase proportional until sustained oscillations result. • Apply the period and gain values to the Zieglar Nichols closed loop formulae. AUTOMATING PIDCONTROLS IN MATHCAD
PID Automation • Three main methods • Trial and Error • Zieglar Nichols • Cohen-Coon • Process • Open Loop • Apply the values from the first two figure to the Cohen-Coon formulae. • If the output is similar to the third figure, use the Zieglar Nichols open loop formulae. AUTOMATING PIDCONTROLS IN MATHCAD
PID Automation Method Comparison • Disadvantages • Time consuming • Some processes have no ultimate gain. • Open loop – if disturbance introduced during testing, no way of filtering it out. • Noisy signals give hard to read data for the slope. • Not good for oscillatory open loop systems • Result often contains oscillations due to the objective ¼ damping ratio • Advantages • Tune to degree of satisfaction • Single experiment required • Does not need to be stable • Settings are easily calculated • Same as Zieglar Nichols Trial and Error Zieglar Nichols Cohen-Coon AUTOMATING PIDCONTROLS IN MATHCAD
Neil’s Method • Set up the Transfer functions • Convert to time domain • Solve for the rise time, overshoot, settle time • Vary controller values based on these values compared to the requirements Mathcad Example AUTOMATING PIDCONTROLS IN MATHCAD
Neil’s Method AUTOMATING PIDCONTROLS IN MATHCAD
Neil’s Method AUTOMATING PIDCONTROLS IN MATHCAD