| ControlSim The PID controller and process simulator based on MS Excel spread sheets. $45.00 | Click here to get more details, buy, and download |
Buy and download my eBook: The
PID Control Algorithm: How It Works, How To Tune It, and How to Use It. 2nd ed.
62pp |
Get more details, buy, and download |
PID Algorithm Code - Improved | |||||||||||||||||||||||||||||||||||||||
|
The PID algorithmn in basic code suitable for implementation in Visual Basic or convertable to any programming language.
Improved PID codeThe method of implementing automatic reset described in using a positive feedback loop was first used with pneumatic analog controllers. It can easily be implemented digitally. There are several advantages of this algorithm implementation. Most important, it eliminates the problems that cause the output to pull away from a limit inappropriately. It also allows the use of external feedback when required. Variables:
The PID emulation code:
1. IF Mode = AUTOTHEN If external feedback is used, the variable "OutP" in line 11 is replaced with the variable containing the external feedback. |
||||||||||||||||||||||||||||||||||||||
| ControlSim The PID controller and process simulator based on MS Excel spread sheets. $45.00 | Click here to get more details, buy, and download |
Buy and download my eBook: The
PID Control Algorithm: How It Works, How To Tune It, and How to Use It. 2nd ed.
62pp |
Get more details, buy, and download |