How To Improve PID
-
Upload
javier-gutierrez -
Category
Technology
-
view
3.551 -
download
2
description
Transcript of How To Improve PID
![Page 1: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/1.jpg)
1
![Page 2: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/2.jpg)
2
How to Improve your PID Controller
Javier Gutierrez
LabVIEW Product Marketing
![Page 3: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/4.jpg)
4
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Upgrade PID Algorithm
Advanced Controllers
• Conclusion
![Page 5: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/5.jpg)
5
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Upgrade PID Algorithm
Advanced Controllers
• Conclusion
![Page 6: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/8.jpg)
8
System to control
![Page 9: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/9.jpg)
9
PID Implementation Demo
![Page 10: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/11.jpg)
11
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Upgrade PID Algorithm
Advanced Controllers
• Conclusion
![Page 12: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/12.jpg)
12
How to program PID
Windows/Real Time
FPGA
Function Blocks
Control and Simulation
![Page 13: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/13.jpg)
13
Benefits of Higher Loop Rates
![Page 14: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/14.jpg)
14
PID Loop rates
600 Hz
25 kHz
100 kHz
1 MHz
![Page 15: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/16.jpg)
16
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Improve PID Algorithm
Advanced Controllers
• Conclusion
![Page 17: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/17.jpg)
17
Upgrade your PID
Disturbances
Non Linear
Time Variant
Feed-forward
Gain Scheduling
Adaptive PID
![Page 18: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/19.jpg)
19
Gain Scheduling
• Used to change gain on real-time depending on
OV.
• Bumpless transfers
![Page 20: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/20.jpg)
20
Adaptive PID
• Mixed of On-Line system identification and
common PID control.
• Can handle time-variant systems
![Page 21: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/21.jpg)
21
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Upgrade PID Algorithm
Advanced Controllers
• Conclusion
![Page 22: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/22.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/23.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/24.jpg)
24
Temp Chamber - Experiment
![Page 25: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/25.jpg)
25
Plant Modeling - Validation
![Page 26: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/26.jpg)
26
MPC Control Design
![Page 27: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/27.jpg)
27
MPC Control Prototype
![Page 28: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/28.jpg)
28
Advanced Controllers
• Pros/Cons
![Page 29: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/29.jpg)
29
Agenda
• What is PID?
• How to improve performance
Hardware considerations
Upgrade PID Algorithm
Advanced Controllers
• Conclusion
![Page 30: How To Improve PID](https://reader034.fdocuments.us/reader034/viewer/2022052316/557cbcb6d8b42a1b0c8b4f5a/html5/thumbnails/30.jpg)
30
Conclusions
• PID
• Consider
Upgrading hardware
Enhance PID Algorithm
Upgrading Control Algorithm