Main Content

Real-Time PID Autotuning

Real-time model-free tuning of PID gains using plant frequency responses

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.

Blocks

expand all

Closed-Loop PID AutotunerAutomatically tune PID gains based on plant frequency responses estimated from closed-loop experiment in real time
Open-Loop PID AutotunerAutomatically tune PID gains based on plant frequency responses estimated from open-loop experiment in real time
Gain-Scheduled PID AutotunerAutomatically tune PID gains at multiple operating points (Since R2024a)
Change Operating PointsSwitch between operating points during simulation (Since R2023b)
PID Gain SchedulerLookup table based gain scheduling with PID array (Since R2023b)
PID Gains Store and UpdateStore and update tuned PID gains tuned using Closed-Loop PID Autotuner (Since R2023b)

Topics

Featured Examples