Analog Control - 6th Lab
Analog Control - 6th Lab
From the above figure, the two open-loop poles near the origin
cannot be distinguished because the scale of the axes is set to
show the third pole which is much farther to the left than the other
two poles. The MATLAB command pole can be employed to
determine the exact values of the open-loop poles.
Model Reduction 8
The two poles that dominate are difficult to identify from above
because of the scientific notation, but they can be seen more
clearly by recognizing that they are the first and third elements of
the resulting vector which we have named poles.
Model Reduction 10
You can then check that the other poles have not been affected
by again using the pole command as shown below.
Model Reduction 12
Now, let's try using integral control to remove the steady-state error
due to a constant disturbance. Modify your m-file such that it
appears like the following. Note that this adds a 1 / s term to the
forward path of the system.
PI control 14
In order to pull the root locus further to the left, to make it faster, we
need to place a second open-loop zero, resulting in a PID controller.
After some experimentation, we place the two PID zeros at s = -60
and s = -70. Change the lines defining the controller in your m-file to
the following.
PID control 17
Now, we can see that two of the closed-loop poles can be placed
well within both the settling time and percent overshoot requirements.
The third closed-loop pole moves from the open-loop pole at s = -59.2
to the open-loop zero at s = -60. This closed-loop pole nearly cancels
with the zero. Therefore, we can neglect its effect. Let's reduce our
new model again by performing the zero-pole cancelation using
the minreal command. We pass 0.1 as a tolerance parameter as
follows.
PID control 18
Even though the one open-loop zero was canceled, the other open-
loop zero remains in the closed-loop transfer function and cannot be
neglected. The effect of an additional zero (if there is no
cancellation) is in general to speed up the response and add
overshoot.
Determining Gain Using rlocfind Command 19
Response to a Step Input with PID control 20
Response to a Step Disturbance with PID Control 21
22