控制系统工具箱™ PID tuning tools can tune many PID and 2-DOF PID controller types. The term控制器类型refers to which terms are present in the controller action. For example, a PI controller has only a proportional and an integral term, while a PIDF controller contains proportional, integrator, and filtered derivative terms. This topic summarizes the types of PID controllers available for tuning in the following tools:
pTunerapp
Tune PID Controllertask in the Live Editor
PidTune.
命令
这ptuning tools let you design numerous controller types. How you specify controller type depends on which tool you are using.
For command-line tuning, provide thetype
argument to thePidTune.
命令。For example,C = pidtune(G,'PI')
调整工厂的PI控制器G
。
或者,如果您将现有的控制器对象提供为输入参数C0
,PidTune.
调整相同类型和形式的新控制器。例如,假设C0
is ap
controller object that has proportional and derivative action only (PD controller). Then,PidTune(G,C0)
generates a newp
控制器对象也仅具有比例和衍生操作。看PidTune.
。
For more about the specific controller types available with command-line tuning, see:
在里面pTunerapp, you can specify a controller type when you open the app or change controller type within the app.
Specify type when opening the app- 提供type
argument to thepTuner
命令when you openpTuner。For example,Pidtuner(g,'pidf2')
openspTunerwith an initial design that is a 2-DOF PID controller with a filter on the derivative term.
使用现有控制器对象指定类型- 提供baseline-controllerCbase
argument to thepTuner
命令when you openpTuner。pTunerdesigns a controller of the same type asCbase
。例如,假设C0
is ap
controller object that has proportional and derivative action only (PD controller). Then,pTuner(G,C0)
openspTuner具有初始设计,即PD控制器。
Specify controller type within the app— InpTuner, use the类型菜单更改控制器类型。
有关可用的特定控制器类型的更多信息pTunerapp:
在里面Tune PID Controllertask in the Live Editor, you specify controller type using the自由程度和控制器类型menus.
有关可用的特定控制器类型的更多信息Tune PID Controllertask, see:
这following table summarizes the 1-DOF PID controller types available with all tools and provides representative controller formulas for parallel form. The standard-form and discrete-time formulas are analogous.
类型 | Controller Actions | Continuous-Time Controller Formula (parallel form) | 离散时间控制器公式(并行形式,转发器集成方法) |
---|---|---|---|
P |
Proportional only | Kp | Kp |
I |
Integral only |
|
|
pi |
Proportional and integral |
|
|
PD |
Proportional and derivative |
|
|
PDF |
Proportional and derivative with first-order filter on derivative term |
|
|
p |
Proportional, integral, and derivative |
|
|
pF |
Proportional, integral, and derivative with first-order filter on derivative term |
|
|
这tuning tools can automatically design 2-DOF PID controller types with free setpoint weights. The following table summarizes the 2-DOF controller types available in all tools and provides representative controller formulas for parallel form. The standard-form formulas are analogous. For more information about 2-DOF PID controllers generally, seeTwo-Degree-of-Freedom PID Controllers。
类型 | Controller Actions | Continuous-Time Controller Formula (parallel form) | 离散时间控制器公式(并行形式,转发器集成方法) |
---|---|---|---|
pi2 |
2-DOF proportional and integral |
|
|
PD2 |
2-DOF proportional and derivative |
|
|
PDF2 |
2-DOF proportional and derivative with first-order filter on derivative term |
|
|
PID2 |
2-DOF比例,积分和衍生物 |
|
|
PIDF2 |
2-DOF比例,积分和衍生物,衍生项上的一阶滤波器 |
|
|
利用PID控制,参考信号的步骤变化可能导致由比例和衍生术语所贡献的控制信号中的尖峰。通过修复2-DOF控制器的设定值,可以减轻对参考信号变化施加的控制信号的影响。例如,考虑输入之间的关系r(setpoint) andy(反馈)和输出u(control signal) of a continuous-time 2-DOF PID controller.
如果您设置b= 0 andc= 0, then changes in the setpointr不要直接以比例或衍生术语直接喂食u。这b= 0,c= 0控制器称为I-PD型控制器。I-PD控制器也可用于改善干扰抑制。
pTuner和PidTune.
可以设计在下表中汇总的固定设定值控制类型。标准形式和离散时间公式是类似的。
类型 | Controller Actions | Continuous-Time Controller Formula (parallel form) | 离散时间控制器公式(并行形式,转发器集成方法) |
---|---|---|---|
I-Pd. |
2-DOF PIDb= 0,c= 0 |
|
|
I-Pd.F |
2-DOF PIDF withb= 0,c= 0 |
|
|
ID-P |
2-DOF PIDb= 0,c= 1 |
|
|
IDF-P. |
2-DOF PIDF withb= 0,c= 1 |
|
|
pi-D |
2-DOF PIDb= 1,c= 0 |
|
|
pi-DF |
2-DOF PIDF withb= 1,c= 0 |
|
|