Download Getting Started with the Control System Toolbox
Transcript
4 Designing Compensators If you want to use this servomechanism for position control, you can use the input voltage to the electromagnet to control the ram position. When measurements of the ram position are available, you can use feedback for the ram position control, as shown in the figure below. Reference Position + C(s) Applied Voltage Gservo(s) Ram Position — Compensator Plant Figure 4-22: Feedback Control Structure for an Electrohydraulic Servomechanism Your task is to design the compensator, C(s). Plant Transfer Function If you have not already done so, type load ltiexamples to load a collection of linear models that include Gservo, which is a linearized plant transfer function for the electrohydraulic position control mechanism. Typing Gservo at the MATLAB prompt displays the servomechanism (plant) transfer function. Gservo Zero/pole/gain from input "Voltage" to output "Ram position": 40000000 ----------------------------s (s+250) (s^2 + 40s + 9e004) Design Specifications For this example, you want to design a controller so that the step response of the closed-loop system meets the following specifications: • The 2% settling time is less than 0.05 second. • The maximum overshoot is less than 5%. 4-26