This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

PID Controller Tuning

Automatic tuning of PID gains in Simulink® and real-time environments

Automatic PID tuning is the process of tuning controller gains based on a plant model or plant data. Use Simulink Control Design™ for tuning PID gains in a Simulink model, or deploy a PID autotuning algorithm for tuning in real-time against a physical plant.

Model-based PID controller tuning lets you automatically tune controller gains based on a Simulink model of the control system. Tools for model-based tuning include PID Tuner, which lets you interactively tune PID gains while examining relevant system responses to validate performance. By default, PID Tuner works with a linearization of your plant model. For models that cannot be linearized, you can tune PID gains against a plant model estimated from simulated or measured response data. For more information about available tools for model-based controller tuning, see Choose a Control Design Approach.

Real-time PID Autotuning lets you deploy an embedded automatic tuning algorithm as a standalone application for model-free tuning against a physical plant. The Simulink Control Design PID autotuning algorithm injects test signals into the plant to estimate plant frequency response near your target control bandwidth. It uses the resulting response to compute PID controller gains to balance robustness and performance. For more information about real-time PID autotuning, see When to Use PID Autotuning.