PID Tuner
调谐PID控制器
打开PID调谐器应用程序
MATLAB工具条:在应用标签,下Control System Design and Analysis, click the app icon.
MATLABcommand prompt: Enter
pidtuner
。Simulink model: In thePID控制器orPID控制器(2DOF)块对话框,单击调。
Examples
- Tune PID控制器to Favor Reference Tracking or Disturbance Rejection (PID Tuner)
- PID控制器在Simulink中调整万博1manbetx(万博1manbetxSimulink控制设计)
- Designing PID Controllers with PID Tuner
- Introduction to Model-Based PID Tuning in Simulink(万博1manbetxSimulink控制设计)
参数
植物
— Current plant
LTI model in Data Browser |进口
|...
这植物menu displays the name of the current plant thatPID Tuner用于控制器设计。
使用以下菜单选项更改当前工厂:
LTI模型中存在的列表PID Tuner数据浏览器。
进口
— Import a new LTI model from the MATLAB workspace.重新Linearize Closed Loop
- 在不同的快照时间线性化植物。看在另一个操作点调整(万博1manbetxSimulink控制设计)。此选项仅在调谐时可用PID控制器orPID控制器(2DOF)模型中的块。万博1manbetx识别新植物
- 使用系统标识从测量或模拟的系统响应数据中获取工厂(需要系统标识工具箱软件)。看:互动估算响应数据的植物参数,在为LTI模型调整PID控制器时。
Interactively Estimate Plant from Measured or Simulated Response Data(万博1manbetxSimulink控制设计),在调谐时PID控制器模型中的块。万博1manbetx
如果您正在调整PID controller for a plant represented by an LTI model, the default plant is:
植物
= 1,如果您打开PID Tunerfrom the应用MATLAB工具条中的选项卡,或者如果使用pidtuner
没有输入参数的命令。这plant you specified as an input argument to
pidtuner
。
如果您正在调整PID控制器orPID控制器(2DOF)在Simulink模型万博1manbetx中块,然后在模型初始条件指定的操作点上将默认工厂线性化。看PID调谐器看到什么植物?(万博1manbetxSimulink控制设计)
Type
— Controller type
'PI'
|'pidf'
|'pid2'
|...
这controller type specifies which terms are present in the PID controller. For instance, a PI controller has a proportional and an integral term. A PDF controller has a proportional term and a filtered derivative term.
如果您正在调整由LTI型号代表的植物的控制器,请使用Typemenu to specify controller type. When you change controller type,PID Tuner自动设计一个新的控制器。可用的控制器类型包括2-DOF PID控制器,以在干扰拒绝和参考跟踪之间更加灵活。有关可用控制器类型的详细信息,请参见调音的PID控制器类型。
如果您正在调整PID控制器orPID控制器(2DOF)block in a Simulink model, theTypefield displays the controller type specified in the block dialog box.
领域
- 指定性能目标的域
'时间'
|'Frequency'
这领域menu enables you to switch the domain in which PID Tuner displays the target performance parameters.
时间
— Sliders set theResponse Timeand瞬态行为。频率
— Sliders set the带宽and相位边缘。
To refine the controller design, you adjust the target performance parameters using the sliders or the corresponding numeric values.
有关更多信息,请参见:
Add Plot
- 创建分析图
Reference Tracking
|输入干扰拒绝
|控制器工作
|...
创建时间域和频域分析图,以帮助分析PID控制器的性能。有关可用响应图的详细信息,请参见:
分析PID调谐器中的设计(调整a controller for an LTI model)
分析PID调谐器中的设计(万博1manbetxSimulink控制设计)(调整PID控制器orPID控制器(2DOF)Simulink模万博1manbetx型中的块)
程序化使用
Tips
For PID tuning at the command line, use
pidtune
。这pidtune
command can design a controller for multiple plants at once.有关Live编辑器中的交互式PID调整,请参阅Tune PID控制器实时编辑任务。此任务使您可以交互式设计PID控制器,并自动为实时脚本生成MATLAB代码。