(→Tips) |
(→Tips) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
===Lab Manual Link=== | ===Lab Manual Link=== | ||
===Prelab Link=== | ===Prelab Link=== | ||
| − | == | + | == Presentation == |
| − | + | ''After doing this lab for a few years, I have developed a rough script for the presentation of the lab material. In particular '' | |
| + | |||
| + | === Preamble === | ||
| + | |||
| + | Welcome to Digital Control Systems Part I. Though you have all had an introduction to control theory in class, in this presentation I will not place so much emphasis on the mathematical details of control theory as they pertain to linear time-invariant systems, but this will be a more intuitive introduction (or re-introduction) to control systems in a real-world setting. In particular we will experiment with open and closed loop controllers, and of closed-loop controllers we will experiment with different types. | ||
| + | |||
| + | The main message of this lab is as follows; closed-loop control is generally considered to be more accurate than open-loop, but ultimately this depends on the application. Open-loop control can be very accurate for certain applications, and closed-loop control can be implemented in a manner such that the system response is suboptimal. Consider the example of a control system whose input is a square wave, and the plant moves between two fixed positions (and we will do exactly this later in the lab). The system response can be underdamped, which, for a given application, might be highly undesirable. | ||
Like the pre-lab presentation, it is useful to devote some time to explaining the experimental apparatus. | Like the pre-lab presentation, it is useful to devote some time to explaining the experimental apparatus. | ||
| − | The system is powered by a DC motor. Attached to the DC motor shaft is a tachometer, an analog device that produces a voltage proportional to the angular velocity. Tachometers are used in car speedometers. The motor shaft drives a gearbox with a reduction of 14:1. Attached to the output shaft is an digital optical incremental encoder, which measures the change in angular position as follows: a light beam shines on a disk with slits. As such, an on/off signal is sensed by a photodiode, which is a function of the change of position of the disk. The resolution of this encoder is 4000 counts/revolution, but industrial encoders can have a resolution of up to 10 000. A potentiometer, like an encoder, measures position, but it is an analog device. | + | The system is powered by a DC motor. Attached to the DC motor shaft is a tachometer, an analog device that produces a voltage proportional to the angular velocity. Tachometers are used in car speedometers. The motor shaft drives a gearbox with a reduction of 14:1. Attached to the output shaft is an digital optical incremental encoder, which measures the change in angular position as follows: a light beam shines on a disk with slits. As such, an on/off signal is sensed by a photodiode, which is a function of the change of position of the disk. The resolution of this encoder is 4000 counts/revolution, but industrial encoders can have a resolution of up to 10 000. A potentiometer, like an encoder, measures position, but it is an analog device. It works as follows: a tap (or wiper, or connector) connects the shaft and uniform resistance material. As the shaft changes position, the length of the resistor changes, and accordingly so does the measured voltage, which corresponds to a position. For a digital control system, a digital encoder is preferred since it returns a position, rather than a voltage that has to be converted by the ADC. |
==FAQ== | ==FAQ== | ||
Latest revision as of 14:33, 21 October 2016
Contents
Lab Info[edit]
Purpose[edit]
The purpose of the lab is to introduce students to the basics of digital control systems. Students implement a variety of position and velocity controllers for a robotic arm; open-loop and closed-loop controllers, and among the latter, first-order and second-order controllers.
Lab Manual Link[edit]
Prelab Link[edit]
Presentation[edit]
After doing this lab for a few years, I have developed a rough script for the presentation of the lab material. In particular
Preamble[edit]
Welcome to Digital Control Systems Part I. Though you have all had an introduction to control theory in class, in this presentation I will not place so much emphasis on the mathematical details of control theory as they pertain to linear time-invariant systems, but this will be a more intuitive introduction (or re-introduction) to control systems in a real-world setting. In particular we will experiment with open and closed loop controllers, and of closed-loop controllers we will experiment with different types.
The main message of this lab is as follows; closed-loop control is generally considered to be more accurate than open-loop, but ultimately this depends on the application. Open-loop control can be very accurate for certain applications, and closed-loop control can be implemented in a manner such that the system response is suboptimal. Consider the example of a control system whose input is a square wave, and the plant moves between two fixed positions (and we will do exactly this later in the lab). The system response can be underdamped, which, for a given application, might be highly undesirable.
Like the pre-lab presentation, it is useful to devote some time to explaining the experimental apparatus.
The system is powered by a DC motor. Attached to the DC motor shaft is a tachometer, an analog device that produces a voltage proportional to the angular velocity. Tachometers are used in car speedometers. The motor shaft drives a gearbox with a reduction of 14:1. Attached to the output shaft is an digital optical incremental encoder, which measures the change in angular position as follows: a light beam shines on a disk with slits. As such, an on/off signal is sensed by a photodiode, which is a function of the change of position of the disk. The resolution of this encoder is 4000 counts/revolution, but industrial encoders can have a resolution of up to 10 000. A potentiometer, like an encoder, measures position, but it is an analog device. It works as follows: a tap (or wiper, or connector) connects the shaft and uniform resistance material. As the shaft changes position, the length of the resistor changes, and accordingly so does the measured voltage, which corresponds to a position. For a digital control system, a digital encoder is preferred since it returns a position, rather than a voltage that has to be converted by the ADC.
FAQ[edit]
Problems Encountered Running Lab[edit]
Part I[edit]
When running the open-loop velocity controller, it becomes apparent that the plant exhibits a higher angular velocity in the clockwise direction.
Part II[edit]
When designing the velocity controller in part II, it seems no choice of gain value yields a satisfactory match between setpoint and output.
Part III[edit]
Email Tech Staff with Lab Issues[edit]
Click Here to report lab equipment issues.