Main Content

Model-Based PID Controller Tuning

Interactive tuning of PID gains in Simulink®

Simulink Control Design™ PID tuning tools let you tune single-loop control systems containing continuous or discrete PID Controller or PID Controller (2DOF) Simulink blocks. To decide which PID tuning tool is right for your application, see Choose a Control Design Approach.

Graphical Tools

PID TunerTune PID controllers

模块

PID Controller连续时间或离散时间 PID 控制器
PID Controller (2DOF)连续时间或离散时间二自由度 PID 控制器
Discrete PID Controller离散时间或连续时间 PID 控制器
Discrete PID Controller (2DOF)离散时间或连续时间二自由度 PID 控制器

工具

Control Design Onramp with SimulinkFree, self-paced, interactive Simulink Control Design course

主题

PID Tuning Basics

Alternative Plant Models

Gain-Scheduled PID Control

Two-Degree-of-Freedom PID Controllers

疑难解答

Plant Cannot Be Linearized or Linearizes to Zero

Some Simulink blocks, such as those with sharp discontinuities, can produce poor linearization results. For example, when your model operates in a region away from the point of discontinuity, the linearization of the block is zero.

Cannot Find a Good Design in PID Tuner

If you cannot find a good design using PID Tuner, try a different PID controller type. If no PID controller is satisfactory, consider designing a more complex controller.

Simulated Response Does Not Match PID Tuner Response

When you run your Simulink model using the PID gains computed by PID Tuner, the simulation output can differ from the PID Tuner response plot.

Cannot Find Acceptable PID Design in Simulated Model

When you run your Simulink model using the PID gains computed by PID Tuner, the simulation output may not meet your design requirements.

Controller Performance Deteriorates When Switching Time Domains

If controller performance deteriorates when you discretize a tuned continuous-time PID controller, consider tuning a discrete-time controller directly.

When Tuning the PID Controller, the D Gain Has a Different Sign from the I Gain

When you use PID Tuner to design a controller, the resulting derivative gain can have a different sign from the integral gain. PID Tuner always returns a stable controller, even if one or more gains are negative.