The objective of this lab is to implement a PD controller for a 2DOF system with an oscillatory mode. Students will gain a better understanding of the limitations of PD/PID control for higher order systems. Students will design, simulate, and implement a non-collocated controller with multiple feedback loops to acquire an acceptable response for the system. The controller will be designed and implemented in LabVIEW using the Simulation Module and Control Design Toolkit.
Collocated / noncollocated control of 2dof rectilinear
system
Objectives
Implement a PD controller for a 2DOF system with a
oscillatory mode.
Understand the limitations of PD/PID control for higher order
systems.
Design, simulate, and implement a noncollocated controller
with multiple feedback loops to acquire an acceptable response forthe system.
Pre-lab
Consider the system shown below. Both mass carriages are
loaded with four
brass weights and the medium stiffness
spring is connecting them.
Derive the equations of motion for this system and rewrite them so that
the control effort is
(DAC counts) and the respective
positions, velocities, and accelerations are:
,
,
,
,
,
From your EOM derive the appropriate transfer function
numerator and denominator polynomials
,
, and
in the
block diagram below:
Using root locus techniques, find the rate feedback gain
that provides satisfactory damping of the complex roots of the
inner loop
.
With
determined, you can now design for the system given
by
in the block diagram. Design a notch filter,
with two poles at
and two additional higher
frequency poles at
, using
for both poles. Place the
zeros of
such that they cancel the oscillatory poles of
. Finally, normalize the notch filter transfer function to
have unity DC gain.
Write a LabVIEW VI that simulates this plant configuration
with two differentcontrollers. Write your VI so it displays theresponse of both mass carriages.
Collocated: Simulate your critically damped PD controller
from Lab #3 where you are feeding back the position of the first
carriage. Use the PD controller with the differentiator in theinner feedback loop. With these gains, what do you notice about the
behavior of the second mass carriage? Remember to record thesegains so you can implement them in the lab. Now iteratively reduce
the controller gains until you are able to achieve minimalovershoot for both carriages (try for less than
) with as fast a
response as possible. Again, don't forget to record thegains.
Noncollocated: Simulate the controller you designed in steps
3 and 4 above. Find
and
to meet rise time and overshoot less
than
and
, respectively.
Lab procedure
Configure the Model 210 plant for this experiment. Be sure to
check that you are using the medium stiffness spring between thefirst and second carriages.
Code the two controller structures (collocated PD and
noncollocated PD + notch filter) into the LabVIEW control loop.Again, you can use a case selector to easily switch between the two
algorithms.
Implement the high-gain controller from step 5.1 of the
pre-lab and perform a 3000 count step and save the plot. Notice thebehavior of the second mass carriage. Gently displace the carriages
and note the relative stiffness of the servo system at the firstmass.
Now implement the low-gain controller from step 5.1 and
perform a 3000 count step and save the plot. Manually displace thefirst and second masses and note their relative stiffness. Are they
generally more or less stiff than for the controller from the stepabove? How does the speed compare to the high-gain controller? How
about the steady-state error?
Now implement your noncollocated PD + notch filter controller
from step 5b of the pre-lab and perform a 3000 count step; save theplot. From the response plot, determine the rise time and overshoot
of the second mass carriage.
7.4 post-lab
What was the predominant behavior of the second mass carriage
with the highgain collocated PD controller? Can you give anexplanation for the difference in the responses of the two masses
in terms of their closed-loop transfer functions?
What differences did you observe in the responses between the
low-gain and high-gain collocated PD controllers?
What was the rise time and overshoot for your noncollocated
PD + notch filter controller. Was this better or worse than youwere able to achieve with the collocated controllers? How did the
steady-state error of the system for this controller compare tothat of the low-gain collocated PD controller?