Control Systems Final - Problem 1 - Solution

1.      Dr. Abner Mallity has a problem.  He has a motor driving a pump and he needs to control the pump speed.  The motor-pump combination has this transfer function.  (The output is pump speed in rpm, and the input is the voltage applied to the pump.)  (Apparently there is a little "springiness" in the shaft that gives the small resonant peak in the Bode' plot.)

G(s) = 2/[(.5s + 1)(s2 + 0.8s + 1)]

Here is the Bode' plot for the motor-pump combination.  Note, on this plot the frequency axis is in Hz.

Mallity needs to control the pump speed and proposes using a standard control loop to do that.  Here is the system he wants to use.

He has a few specifications that the system needs to meet.

As the system now stands, if he just changes the gain, K, and doesn't have a compensator, Gc(s), if he adjusts the gain for a zero db crossing at .25Hz, the phase margin would be too small.
(5 pts) If he adjusts the gain for a zero db crossing at .25 Hz, what would the phase margin be?  Write your answer to the right and show your work below. fm = _0_degrees
(5 pts) If he adjusts the gain for a fm = 40o  where would the zero db crossing occur?  Write your answer to the right and show your work below.   fzero = _0.19_ Hz.
He needs to design a compensator.  His grad students, Willy Nilly and Millie Farad tell them that his best bet is a lead comensator, and they have a suggestion for him.  They suggest a compensator of this form.

Gc(s) = (.02s + 1)/(.002s + 1)
This was wrong.  The plot below is - as far as I can tell - for:
Gc(s) = (s + 1)/(s + .2)
Those who asked, I told to use the plot below.

And, here is the Bode' plot for just the compensator.  Note that the compensator has been designed so that the compensator has zero db (gain = 1.0) DC gain.

Willie and Milly argue that this compensator can be used to produce the required phase margin.

(10 pts) Determine the phase margin that can by achieved with a zero db crossing of .25 Hz by using this compensator, and determing the gain, K, that is needed to get that phase margin.

Solution

        Here is the Bode' plot with f = 0.25 marked with a vertical black line.

It is clear that there is virtually no phase margin, i.e., the phase margin is right about zero degrees. Note that the gain at f = 0.25 is about 10 db, so you would need to drop the gain by that amount.  Now, if we adjust things for a 40o phase margin, we get the plot below.

Here, we need to adjust the gain yet.  At f = 0.18 or thereabouts, we have a phase of -140o.  At that frequency, the gain is about 16 db, and we would need to drop the gain by that amount to put the zero db crossing at that frequency (although that answer wasn't required).

        Now, if we add the compensator, we might be able to improve things here.  Looking at the compensator at f = 0.25 Hz, we have the plot below.

At 0.25 Hz, we can see that we can get +40o from the compensator.  We also will have 5 db gain added by the compensator.  Since we had -180o without the compensator, we can get a 40o phase margin by adding the compensator and adjusting the gain.  Examining the gain, we see that we have the following:

But, we want the total gain to be zero db at f = 0.25, so we need -15 db for the adjustable gain, K.  That means that K = 10-.75 or K = .178.