





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






References:
Ogata, Katsuhiko. Modern Control Engineering, 3rd^ ed. Prentice Hall, New Jersey: 1997.
Horowitz & Hill. The Art of Electronics 2nd^ ed. Cambridge University Press, MA: 1989.
The proportional, PI, and PID controllers are among the most basic of feedback controllers. They are implemented easily and quickly, perform effectively in light of plant uncertainties, and widely used in industrial electronic, pneumatic and hydraulic motion control and power systems. They are valuable as a pedagogical tool because an intuitive understanding of the feedback mechanism serves as the basis for the material encountered in a classical controls course.
This laboratory exercise will focus on the hardware implementation and physical effects of basic feedback controllers. Issues such as calibration and signal interfacing will be encountered and resolved. In addition, the effects of proportional only, PI, and PID control will be observed through the various exercises and an intuitive feel for the three types of controllers will be developed. The mathematical background for the three types of controllers will not be covered here.
Read Ogata, pages 255 through 259 for a basic understanding of the inner workings of a hydraulic servo valve. (Note that valves, in themselves, can have integral and proportional action. These are mechanical control systems and can surprise the unwary engineer).
Unity Feedback Closed Loop Systems – Theoretical Overview
Plant Gp(s)
Controller Gc(s)
Error Control Input
Feedback
Reference R(s) Output Y(s)
Figure 1 Theoretical Unity Feedback System
Consider the closed loop system in Figure 1. As always, Gc(s) is the controller, Gp(s) is the plant, the reference value is denoted by R(s) and the system’s output is Y(s). The transfer function H(s) for the closed loop system can be written using basic block diagram algebra as:
G sG s
G sG s R s
Y s H s c p
c p
The mathematics of the system allow the engineer to determine the closed loop response of the controller plus plant system and modify the controller so that the response is one which meets certain design criteria. These calculations are the basis for most academic controls courses. However, for a intuitive understanding of what is going on physically, one must separately look at each of the blocks and connections between the blocks.
The output Y(s) of some system has value and units. It may be position in meters, velocity in m/s, flow rate in cm^3/s, or temperature in Celsius. Controlling the system refers to forcing the output of the system Y(s) to some desired reference value R(s). R(s) is presumed to have the same units as Y(s). This R(s) may vary in time, of course. The output of the system must be measured with a sensor. Typical measurement devices include variable resistors, speedometers, flow meters and thermocouples. In Figure 1, the measurement takes place at a pick-off point – a gross oversimplification!
A controllable system must also have an actuator of some sort. This is the means by which the engineer can manipulate the output Y(s) of the system. For example, in a conventional oven, the actuator may be the valve that opens a gas burner which changes the temperature inside. In modern control systems, these actuators typically receive electronic instructions. A small voltage or current, for example, can drive a servo motor which opens the valve that lets more gas into the burners of the oven. Actuators, however, can also receive mechanical instructions. Either way, the instructions are known as the control inputs. We concentrate on electronically actuated devices and electronic control inputs in this laboratory.
In a closed loop sytem, the difference between the output Y(s), as measured by the sensor, and the desired reference, R(s), as determined by the engineer, serves as the basis for the control inputs. The error signal is not directly used as the control input, in most cases. It is first scaled by some transfer function. This transfer function is the controller. By scaling the error signal with a properly designed controller, the system output Y(s) can be made to match the reference R(s) in many cases. The field of controls engineering is mainly concerned with designing these controllers.
Unity Feedback Closed Loop Systems – Physical Implementation
Proportional Only, PI and PID Control
Read Ogata for an overview of the above three types of controllers. The control input from a proportional only controller is simply the error signal multiplied by some gain. This is a most simple controller and has limited value when used alone. However, it is important to understand the effect of proportional control, as it is used in conjunction with integral and derivative control (PI and PID).
PI control is the sum of the error signal multiplied by a gain plus the error signal multiplied by a gain integrated over time. The PI controller transfer function looks like:
s
H (^) c ( PI )( s )= Kp + I (2)
Its effects will be discussed in the lab exercises.
The PID controller’s transfer function appears in (3).
K s s
H (^) c ( PID )( s )= Kp + I + d (3)
It is identical to the PI control transfer function except for the addition of a proportional derivative. Again, its effects will be investigated in the lab exercises.
Completion of the laboratory exercise will have required you to:
Experiment 1 Calibration Observation
A lab TA will calibrate the motor tachometer and cylinder’s linear potentiometer. Observe and take note of the resulting scaling parameters, as you will use this information in making your own block diagrams.
Experiment 2 Speed Regulation of Motor: Proportional Only Control
In this experiment, you will develop a proportional only controller and plot RPM versus time for two different step inputs of RPM reference speeds. You will observe the effects of proportional only control. See Figure 3 for a sample block diagram. This template will be available to you in the lab.
Experiment 5 Position Regulation of Cylinder: PID Control.
Finally a PID controller.
(1) Relate all blocks and connections labeled in Figure 2 to the physical system that was implemented in the Speed Regulation of the Motor using PI control (Experiment 3).
(2) In the proportional only motor speed control, a steady state error between the measured speed and the reference R(s) was observed. Was it possible to decrease the error? Why does this error exist (hint: friction plays only a very minor role). Is it possible to remove this error completely using just proportional control? Why or Why not? Consider how valves, hydraulic motors and the block diagram work together.
(3) If we attempted position regulation of the cylinder using just P control, would it have been possible to get zero steady state error? Why? Use plots along with arguments to explain you answer.
(4) What effect does integral control have? How does increasing I gain affect the step response and steady state error of the two systems? Use plots along with arguments to explain you answer.
(5) What effect does derivative control have? Why would it be necessary to filter the error signal before taking its derivative in Figure 4? When might derivative gain be useful? Use plots along with arguments to explain you answer.