Lab #6 - Closed Loop Position Control
Lab #6 - Closed Loop Position Control
Lab #6 - Closed Loop Position Control
1. OBJECTIVE
Use the MS-15 D.C. motor control module to investigate the effect of gain changes on a
closed loop position control system.
Use Matlab/Simulink to simulate a position control system.
2. EQUIPMENT
+12V 0V -12V
PID
Controller
Inverter
I
0V
I/P O/P
VRef
Function +
LPF
P +
34/160Hz -
-
Generator
JB1
0V
0V
Amplifier
D A1
C
+
Vin +
FB3
FB2
Vout2
PART A
1. Construct the closed loop position control circuit shown in figure 1. Refer to the wiring
diagram given in figure 2.
NOTE: The drive enable jumper (refer Fig. 2 MS15 D.C. Motor Control Board) is not to
be applied until everything else is ready and the power turned on. To shut down the motor,
the enable jumper should be removed to stop the motor before any other connections are
changed and before power is turned off.
2. Pull up the magnetic brake lever to the zero position to remove the load torque from the
drive.
3. Keep controllers gain Kp = 5 (I, D and LPF switches = out); carefully check all connections
then apply power.
4. Arrange the signal generator to give a 1 Vpp square waveform, 0 offset, frequency of
0.25 Hz and connect to the system as shown in Fig. 2. Turn on DC power then enable the drive
(by using the enable jumper).
5. Use the oscilloscope to obtain the response to the 1 volt peak to peak square wave.
Record the waveform and the steady state error. Furthermore, record the time to reach the first
peak, Tp, the magnitude of any overshoot, %OS, and the frequency of any transient oscillation,
d. If the response is overdamped, record the time constant (when reached 63% of the final
value).
7. Decrease the controller gain to 0.5 ( at 5 * 0.1 ) and then repeat step 5.
8. Pull down the magnetic brake lever to the middle position to apply a load torque; and repeat
steps 3 to 7.
PART B
9. Use Simulink to simulate the system in Figure 3 for the following scenario. Use a Mux
block to display both the reference command and the potentiometer output on the same scope
1
[Hint: Use an Integrator block for the transfer function ; and Gain blocks for transfer
functions 1 (), 3 (), and ()]
Scenario A: the reference voltage is a unit step, the load torque is zero, the controller gain
= 5.
Scenario B: the reference voltage is a unit step, the load torque is zero, the controller gain
= 0.5.
Scenario C: the reference voltage is a unit step, the load torque is unit step, the controller
gain = 5.
Scenario D: the reference voltage is a unit step, the load torque is unit step, the controller
gain = 0.5.
1 () = 47 [/]
1
2 () = [//]
0.28 + 1
Gear box transfer function:
3 () = 0.11
Potentiometer transfer function:
() = 1.617 [/]
TL
_
Vref + Tm m Vout2
+ 1
KP G1(s) G2(s) G3(s) H(s)
_ s
controller
Motor Gear Box Potentiometer
4. REPORT