Use auto-tune with the IPIDController function block
Use the AutoTune parameter of the IPIDController function block to implement auto-tuning in the control program.
Auto-tuning requirements and recommendations
The following is a summary of requirements and recommendations for implementing successful auto-tuning.
- Autotuning must cause the output of the control loop to oscillate, which means the IPIDController must be called frequently enough to adequately sample the oscillation.
- The IPIDController instruction block must be executed at a relatively constant time interval.
- Configure the scan time of the program to be than half of the oscillation period.
- Consider using a Selectable Timed Interrupt (STI) instruction block to control the IPIDController instruction block.
Provide Feedback