Top Banner
1
30

How To Improve PID

Jun 14, 2015

Download

Technology

Presentation given during NIWeek 2008 about basics on PID and tips on how to improve it
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How To Improve PID

1

Page 2: How To Improve PID

2

How to Improve your PID Controller

Javier Gutierrez

LabVIEW Product Marketing

Page 3: How To Improve PID

3

Benefits of Advanced Control and Tuning

Model-based

control < 1%

Manual

control

PID is finePID needs

manual tuning

*Sources: Cybosoft and ExperTune

• A poorly tuned control valve costs additional $880/year*

• A bad pH loop incurred chemical waste of $50,000/month*

• A bad kiln temp loop cost $30,000/month*

Page 4: How To Improve PID

4

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Upgrade PID Algorithm

Advanced Controllers

• Conclusion

Page 5: How To Improve PID

5

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Upgrade PID Algorithm

Advanced Controllers

• Conclusion

Page 6: How To Improve PID

6

• Set Point (SP) – Desired control point

• Output (OP) – Controller output

• Process Variable (PV) – Plant/process output

• Error = SP - PV

SP

OP

PV

error

What is PID

Page 7: How To Improve PID

7

PID Parameters

• Proportional Drive to setpoint

Error → 0, OP → 0

“Steady-state error”

• Integral Eliminate steady state error

OP proportional to ∫ error

• Derivative Increase response rate

OP proportional to rate of change of error

Page 8: How To Improve PID

8

System to control

Page 9: How To Improve PID

9

PID Implementation Demo

Page 10: How To Improve PID

10

PID Control – Pros and Cons

• Advantages

Proven

Easy to implement

• Disadvantages

Not easy to tune

Not suitable for all systems

• Backlash, friction, and so on

Page 11: How To Improve PID

11

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Upgrade PID Algorithm

Advanced Controllers

• Conclusion

Page 12: How To Improve PID

12

How to program PID

Windows/Real Time

FPGA

Function Blocks

Control and Simulation

Page 13: How To Improve PID

13

Benefits of Higher Loop Rates

Page 14: How To Improve PID

14

PID Loop rates

600 Hz

25 kHz

100 kHz

1 MHz

Page 15: How To Improve PID

15

Die Casting Machine

Copyright 2007 © EUROelectronics srl – ITALY -

The movement of the aluminium injection plunger controlled in a steady

closed loop at a speed varying from 0 up to 10 m/sec.

Page 16: How To Improve PID

16

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Improve PID Algorithm

Advanced Controllers

• Conclusion

Page 17: How To Improve PID

17

Upgrade your PID

Disturbances

Non Linear

Time Variant

Feed-forward

Gain Scheduling

Adaptive PID

Page 18: How To Improve PID

18

Feed-Forward

• Commonly used to compensate for a

measurable external disturbance before it affects

a controlled variable.

• e.g. product feed rate changes

Page 19: How To Improve PID

19

Gain Scheduling

• Used to change gain on real-time depending on

OV.

• Bumpless transfers

Page 20: How To Improve PID

20

Adaptive PID

• Mixed of On-Line system identification and

common PID control.

• Can handle time-variant systems

Page 21: How To Improve PID

21

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Upgrade PID Algorithm

Advanced Controllers

• Conclusion

Page 22: How To Improve PID

22

Advanced Controllers

National Instruments

• Optimal Controllers (LQR, LQG)

• Model Predictive Control (MPC)

• Kalman Filters

• Fuzzy Logic

Third Party Partners

• Neural Networks

• Genetic Algorithms

• Model Free Adaptive

Page 23: How To Improve PID

23

How to create an advanced Controller

• Datalogging

• System Identification

• Model Validation

Plant Modeling

• Design

• Simulation

Control Design• Deployment

• Test

Implementation

Page 24: How To Improve PID

24

Temp Chamber - Experiment

Page 25: How To Improve PID

25

Plant Modeling - Validation

Page 26: How To Improve PID

26

MPC Control Design

Page 27: How To Improve PID

27

MPC Control Prototype

Page 28: How To Improve PID

28

Advanced Controllers

• Pros/Cons

Page 29: How To Improve PID

29

Agenda

• What is PID?

• How to improve performance

Hardware considerations

Upgrade PID Algorithm

Advanced Controllers

• Conclusion

Page 30: How To Improve PID

30

Conclusions

• PID

• Consider

Upgrading hardware

Enhance PID Algorithm

Upgrading Control Algorithm