Define options forpidtune
命令
opt = pidtuneOptions
opt = pidtuneOptions(Name,Value)
returns the default option set for theopt
= pidtuneOptionspidtune
命令。
creates an option set with the options specified by one or moreopt
= pidtuneOptions(Name,Value
)Name,Value
配对参数。
Specify optional comma-separated pairs ofName,Value
arguments.Name
is the argument name and价值
是相应的值。Name
must appear inside quotes. You can specify several name and value pair arguments in any order asNAME1,Value1,...,Namen,Valuen
。
|
Target phase margin in degrees. Default:60 |
|
Closed-loop performance objective to favor in the design. For a given target phase margin, The
系统中的可调参数越多,PID算法就越有可能在不牺牲鲁棒性的情况下实现所需的设计焦点。例如,与P或PI控制器相比,设置设计焦点对PID控制器更有效。在所有情况下,您可以如何微调系统的性能很大程度上取决于植物的特性。 For an example illustrating the effect of this option, seeTune PID Controller to Favor Reference Tracking or Disturbance Rejection (Command Line)。 Default: |
|
Number of unstable poles in the plant. When your plant is a Unstable poles are poles located at:
A pure integrator in the plant (s= 0) or (|z| > 1) does not count as an unstable pole for Default:0 |
|
Object containing the specified options for |
Tune a PIDF controller with a target phase margin of 45 degrees, favoring the disturbance-rejection measure of performance.
sys = tf(1,[1 3 3 1]); opts = pidtuneOptions(“PhaseMargin”,45,“ DesignFocus”,“干扰拒绝”); [C,info] = pidtune(sys,'pid',opts);