| Contents | Index |
opt = pidtuneOptions
opt = pidtuneOptions(Name,Value)
opt = pidtuneOptions returns the default option set for the pidtune command.
opt = pidtuneOptions(Name,Value) creates an option set with the options specified by one or more Name,Value pair arguments.
Use pidtuneOptions with the pidtune command to design a PID controller for a specified phase margin.
When using the pidtune command to design a PID controller for a plant with unstable poles, if your plant model is one of the following:
then use pidtuneOptions to specify the number of unstable poles in the plant.
Specify optional comma-separated pairs of Name,Value arguments, where Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.
opt |
Object containing the specified options for pidtune. |
Tune a PI controller with a target phase margin of 45 degrees. Use pidtuneOptions to specify the phase margin:
sys = tf(1,[1 3 3 1]);
opts = pidtuneOptions('PhaseMargin',45);
[C,info] = pidtune(sys,'pid',opts);
Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |