|
Calling Sequence
|
|
FeasibleGains(sys, zeta, omegan, opts)
|
|
Parameters
|
|
sys
|
-
|
System; system object
|
zeta
|
-
|
realcons; desired damping ratio
|
omegan
|
-
|
realcons; desired natural frequency
|
opts
|
-
|
(optional) equation(s) of the form option = value; specify options for the FeasibleGains command
|
|
|
|
|
Options
|
|
|
Specifies the controller type. The default value is PI.
|
•
|
condition = relativestability, damping, or all
|
|
Specifies the conditions defining the desired region. The default value is all.
|
•
|
posgains = true or false
|
|
Specifies whether only positive controller gains must be considered. The default value is true.
|
•
|
output = samplepoints or region
|
|
Specifies the type of output that the command returns. If samplepoints is specified, a sequence of sample feasible values for the controller gains is returned. If region is specified, for the PI controller the admissible region of the controller gains is plotted in the 2-D space and for the P controller the admissible intervals for are given. The plot may contain solid and dashed lines. The feasibility of the points on the solid lines is not guaranteed (although they might be still feasible). The points on the dashed lines are feasible. The admissible intervals are given as strict inequalities meaning that the feasibility of the boundary points is not guaranteed (although they might be still feasible). The default value is samplepoints.
|
|
The admissible region for is filled with the specified color. If the samplepoints output or the P controller are selected, this option is disregarded. The default color is Blue.
|
|
|
Description
|
|
•
|
The FeasibleGains command finds feasible proportional (P) or proportional-integral (PI) controller gains for pole placement in a desired region.
|
•
|
The desired region is specified by zeta and omegan and is defined based on relative stability and damping conditions as follows:
|
–
|
Relative Stability: The desired region is part of the complex left half plane (LHP) with real part less than . This is equivalent to the relative stability of the closed-loop system with respect to the line (rather than the imaginary axis). Clearly, if zeta or omegan are set to zero, the relative stability reduces to the absolute stability with respect to the imaginary axis.
|
–
|
Damping: The desired region is part of the complex left half plane (LHP) inside the angle +/- measured from the negative real axis.
|
•
|
The system sys is a continuous-time linear system object created using the DynamicSystems package. The system object must single-input single-output (SISO) and one of the following types: TransferFunction (tf), ZeroPoleGain(zpk), Coefficients(coeff), StateSpace(ss), DiffEquations (de).
|
•
|
The FeasibleGains command returns admissible values of the controller gains for which the closed-loop poles (under unity negative feedback) are in the specified desired region.
|
•
|
The controller parameters are for a P controller and for a PI controller, where is the proportional gain and is the integral gain.
|
•
|
The controller transfer function is then obtained as:
|
|
|
Examples
|
|
>
|
|
|
Example 1
|
|
>
|
|
>
|
|
The following gives sample solutions for the PI controller:
>
|
|
| (2) |
The admissible region for can also be plotted:
>
|
|
The following gives sample solutions for the P controller:
>
|
|
And the admissible interval for K is obtained by:
>
|
|
| (4) |
|
|
Example 2
|
|
The following system is open loop unstable:
>
|
|
>
|
|
>
|
|
| (6) |
>
|
|
>
|
|
>
|
|
| (8) |
|
|
Example 3
|
|
>
|
|
>
|
|
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
>
|
|
|
|
|
|