PID autotuning lets you tune a PID controller in real time against a physical plant. If you have a code-generation product such as Simulink® Coder™, you can generate code that implements the tuning algorithm on hardware, letting you tune with or without Simulink in the loop. To get started, see How PID Autotuning Works.
Closed-Loop PID Autotuner | Automatically tune PID gains based on plant frequency responses estimated from closed-loop experiment in real time |
Open-Loop PID Autotuner | Automatically tune PID gains based on plant frequency responses estimated from open-loop experiment in real time |
PID autotuning lets you tune a PID controller without a parametric plant model or an initial controller design. Deploy the algorithm to tune a controller in real time for a physical plant.
To use PID autotuning, configure and deploy a PID autotuner block. The block injects test signals into your plant and tunes PID gains based on an estimated frequency response.
PID Autotuning for a Plant Modeled in Simulink
Use the PID autotuning algorithm to tune against a plant modeled in Simulink while the model is running.
Deploy the PID autotuning algorithm as a standalone application for real-time tuning against your physical system.
Control Real-Time PID Autotuning in Simulink
Run the PID algorithm against your physical plant while controlling the tuning process in Simulink.
Tune PID Controller in Real Time Using Closed-Loop PID Autotuner Block
Tune a single-loop PID controller in real time by injecting sinusoidal perturbation signals at the plant input and measuring the plant output during an closed-loop experiment.
Tune PID Controller in Real Time Using Open-Loop PID Autotuner Block
Tune a single-loop PID controller in real time by injecting sinusoidal perturbation signals at the plant input and measuring the plant output during an open-loop experiment.