Programmatically Implementing and Autotuning a PID Controller
- 更新日2025-08-27
- 3分で読める
You can use the PID Advanced Autotuning VI both to implement and autotune a PID controller.
メモ The
PID Advanced Autotuning
VI incorporates the functionality of the
PID Advanced
VI and the
PID Online Autotuning
VI. You also can use the PID Online Autotuning VI to
programmatically autotune a previously implemented PID controller.
Complete the following steps to implement a tuned PID controller with the PID Advanced Autotuning VI.
- Add the PID Advanced Autotuning VI to the block diagram within a control loop.
- Wire the inputs you want to use to implement the controller. Minimally, wire the setpoint, process variable, and PID gains inputs.
- Create a control for the autotuning parameters input and select the controller type and control specification you want to use.
- Set the technique component of the autotuning parameters input to the autotuning technique you want to use.
- Create a Boolean control with latched mechanical action and a default value of FALSE for the Autotune? input.
- Run the VI.
- Set Autotune? to TRUE to begin autotuning.
Refer to the Autotuning PID Online VI in the labview\examples\control\PID for an example of implementing autotuning with the PID Advanced Autotuning VI.
Open example
Find related examples