ControlDesign[ParameterIdentify]
FrequencyDomain
Ziegler-Nichols frequency domain (closed-loop) identification
Calling Sequence
Parameters
Options
Description
Examples
References
FrequencyDomain(sys, opts)
sys
-
System; a DynamicSystems system object in continuous-time domain; must be single-input single-output (SISO) and stable
opts
(optional) equation(s) of the form option = value; specify options for the FrequencyDomain command
simplifyOutput: truefalse
In case that the system contains symbolic parameters, specifies whether the symbolic expressions for the identified parameters should be simplified. If true then the identification output is simplified using the simplify command. Also, the symbolic expression of Ku is simplified through the computation process facilitating the symbolic manipulations. The default value is true. For details see: simplify.
The FrequencyDomain command performs the Ziegler-Nichols frequency domain (closed-loop) identification. It estimates the ultimate gain (Ku) and ultimate period (Tu) of the given system. The ultimate gain is the smallest positive gain for which the closed-loop system under unity negative feedback becomes oscillatory (marginally stable) and the ultimate period is the period of the corresponding oscillations. The method is only applicable to SISO open-loop stable systems. If the system has no symbolic parameters, the command returns a list of two positive-real floating-point numbers as [Ku,Tu] or returns an error if no solution exists. When the system has symbolic parameters, the ultimate gain and frequency are returned as symbolic expressions of the system parameters. The calculated results are theoretically valid for the parameter space on which the following conditions hold:
The system is open-loop stable. The parametric stability condition can be obtained using the DynamicSystems[RouthTable] command with the stablecondition option set to true. For details see: DynamicSystems[RouthTable].
The resulted algebraic expressions for Ku and Tu are evaluated to positive-real numbers for the numerical values of the system parameters. If more than one symbolic solution exist, multiple solutions are returned as a sequence of [Ku,Tu] pairs: [Ku1,Tu1], [Ku2,Tu2], ... . In this case, by definition, the smallest positive Ku (if exists) and its corresponding Tu, is the acceptable solution.
with⁡ControlDesignParameterIdentify:
sys≔DynamicSystems:-NewSystem⁡s2+3s3+2⁢s2+s+1:
sys:-tf
s2+3s3+2⁢s2+s+1
ultimate≔FrequencyDomain⁡sys
ultimate≔0.5000000000,6.283185308
Ku≔ultimate1;Tu≔ultimate2
Ku≔0.5000000000
Tu≔6.283185308
sys≔DynamicSystems:-NewSystem⁡s2+as3+2⁢s2+s+1:
s2+as3+2⁢s2+s+1
ultimate≔1−1+a,2⁢π
Ku≔1−1+a
Tu≔2⁢π
sys≔DynamicSystems:-NewSystem⁡3⁢s+1s4+2⁢s3+17⁢s2+2.1⁢s+1:
3.⁢s+1.s4+2.⁢s3+17.⁢s2+2.100000000⁢s+1.
ultimate≔10.17663019,1.555561040
Ku≔10.17663019
Tu≔1.555561040
evalf⁡Tu
1.555561040
sys≔DynamicSystems:-NewSystem⁡3⁢s+as4+2⁢s3+17⁢s2+b⁢s+1:
3⁢s+as4+2⁢s3+17⁢s2+b⁢s+1
ultimate≔−2⁢a9−b3+173+2565+4⁢a2+12⁢−17+b⁢a9,π⁢6−a⁢2565+4⁢a2+12⁢−17+b⁢a−9+2⁢a2+3⁢b−51⁢a51+2⁢a−2565+4⁢a2+12⁢−17+b⁢a,−2⁢a9−b3+173−2565+4⁢a2+12⁢−17+b⁢a9,π⁢6a⁢2565+4⁢a2+12⁢−17+b⁢a−9+2⁢a2+3⁢b−51⁢a51+2⁢a+2565+4⁢a2+12⁢−17+b⁢a
ultimate≔eval⁡ultimate,a=1,b=2.1
ultimate≔10.17663019,0.6350551356⁢6,−0.687741301,18.91631017⁢6
Ku≔ultimate11;Tu≔ultimate12
Tu≔0.6350551356⁢6
1.555561041
sys≔DynamicSystems:-NewSystem⁡s2+4.5s4+0.5⁢s3+21⁢s2+s+1:
s2+4.500000000s4+0.5000000000⁢s3+21.⁢s2+s+1.
ultimate≔14.79999999,4.442882940
sys≔DynamicSystems:-NewSystem⁡s2+as4+0.5⁢s3+21⁢s2+b⁢s+c:
s2+as4+0.5000000000⁢s3+21.⁢s2+b⁢s+c
ultimate≔−4⁢b2+42⁢b−ca−2⁢b,π⁢2b
DynamicSystems:-RouthTable⁡denom⁡sys:-tf1,1,s,stablecondition=true
0<cand0<21−2⁢band0<2⁢b−c21−2⁢b
ultimate≔eval⁡ultimate,a=4.5,b=1,c=1
ultimate≔14.80000000,π⁢2
[1] K. J. Astrom and T. Hagglund, Advanced PID Control, ISA, 2006.
[2] A. O'Dwyer, Handbook of PI and PID Controller Tuning Rules, 2nd Edition, Imperial College Press, 2006.
See Also
ControlDesign
ControlDesign[ParameterIdentify][TimeDomain]
DynamicSystems[RouthTable]
simplify
Download Help Document