PDA

View Full Version : PID Autotune Parameters



vieirad
09-14-2012, 11:44 AM
You will find enclosed in the project a FB called PID_PARAMETERS_CALC
The purpose of this block is to calculate KP,TV,TN parameters used on Codesys PID block.

I've used this function in the past for Concrete Spraying flow regulation. The numbers calculated out of the block are quiet accurate.

The principle behind this calculation is called "Relay Method", you will find enclosed a PDF that will explain the principle behind the calculation.

Feel free to give me feedback, as I'm sure there is maybe some improvement possible.