Tuesday, December 21, 2010

Collocated / Noncollocated Control of 2DOF Rectilinear System

Summary: 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 for the system.

Pre-Lab

  1. Consider the system shown below. Both mass carriages are loaded with four 0.5kg brass weights and the medium stiffness spring is connecting them.
    Figure 1: 2DOF Plant Configuration
    Figure 1 (plant.jpg)
    Derive the equations of motion for this system and rewrite them so that the control effort is u(t) (DAC counts) and the respective positions, velocities, and accelerations are: x1ex1ex1ex2ex2ex2e
  2. From your EOM derive the appropriate transfer function numerator and denominator polynomials N1(s) , N2(s) , and D(s) in the block diagram below:
    Figure 2: PD + Notch Filter Control
    Figure 2 (model.jpg)
  3. Using root locus techniques, find the rate feedback gain kv that provides satisfactory damping of the complex roots of the inner loop x1(s)/R*(s).
  4. With kv determined, you can now design for the system given by G*(s) in the block diagram. Design a notch filter, Gn(s)=Nn(s)/Dn(s) with two poles at 5.0Hzand two additional higher frequency poles at 8.0Hz, using ζ=\2/2 for both poles. Place the zeros of Gn(s) such that they cancel the oscillatory poles of G*(s) . Finally, normalize the notch filter transfer function to have unity DC gain.
  5. Write a LabVIEW VI that simulates this plant configuration with two differentcontrollers. Write your VI so it displays the response of both mass carriages.
    1. 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 the inner feedback loop. With these gains, what do you notice about the behavior of the second mass carriage? Remember to record these gains so you can implement them in the lab. Now iteratively reduce the controller gains until you are able to achieve minimal overshoot for both carriages (try for less than 10% ) with as fast a response as possible. Again, don't forget to record the gains.
    2. Noncollocated: Simulate the controller you designed in steps 3 and 4 above. Find kp and kd to meet rise time and overshoot less than 0.5sec and 10% , respectively.

Lab Procedure

  1. Configure the Model 210 plant for this experiment. Be sure to check that you are using the medium stiffness spring between the first and second carriages.
  2. 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.
  3. Implement the high-gain controller from step 5.1 of the pre-lab and perform a 3000 count step and save the plot. Notice the behavior of the second mass carriage. Gently displace the carriages and note the relative stiffness of the servo system at the first mass.
  4. Now implement the low-gain controller from step 5.1 and perform a 3000 count step and save the plot. Manually displace the first and second masses and note their relative stiffness. Are they generally more or less stiff than for the controller from the step above? How does the speed compare to the high-gain controller? How about the steady-state error?
  5. Now implement your noncollocated PD + notch filter controller from step 5b of the pre-lab and perform a 3000 count step; save the plot. From the response plot, determine the rise time and overshoot of the second mass carriage.

7.4 Post-Lab

  1. What was the predominant behavior of the second mass carriage with the highgain collocated PD controller? Can you give an explanation for the difference in the responses of the two masses in terms of their closed-loop transfer functions?
  2. What differences did you observe in the responses between the low-gain and high-gain collocated PD controllers?
  3. What was the rise time and overshoot for your noncollocated PD + notch filter controller. Was this better or worse than you were able to achieve with the collocated controllers? How did the steady-state error of the system for this controller compare to that of the low-gain collocated PD controller?

No comments:

Post a Comment