Home > other > How to understand STM32F407 PID control timer sampling time?
How to understand STM32F407 PID control timer sampling time?
Time:11-29
STM32F407 PID control timer is how to set the sampling time and perform a PID operation time? Looks at various bosses to give directions,
CodePudding user response:
Have a PID module? If is using software timer timing processing, cycle need according to the actual system, generally simple cook 1 to 2 seconds, the cycle into n shares, usually 100
CodePudding user response:
First, the acquisition cycle can be right, but the sampling period must be at least 2 times faster than PID the lifecycle of above, Second, if the control object response quickly, PID adjustment cycle faster, for example: 50 milliseconds for a PID regulation; If control object response is slow, slower PID adjustment period, for example: 500 milliseconds for a PID regulation; Third, if using a PID temperature control is very difficult to control, if you want to use a PID and stable control of the temperature, must use fuzzy PID or other experts experience curve of PID, Fourth, if it's not fuzzy PID or other experts experience curve of PID, to the stable control of the temperature, must be conducted with cascade PID control, In the power plant boiler control system [level 1 water spray desuperheating system], [] secondary water spray cooling system, is done with the cascade PID control to control temperature stable,