Docsity

Control System Lab: Exploring Servo Systems at University of Utah - Prof. A. Stolp, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
p1 ECE 2210 Control System Lab
University of Utah
Electrical & Computer Engineering Department
ECE 2210 Lab 9
Control System
(
Servo
)
rev, 3/23/06
Note :
Bring a book to lab that shows second order differential equation solutions
(underdamped, critically damped, and overdamped) if you’re not sure what they look like.
Objective
To see how many of the subjects that you have learned in this class relate to an electro-
mechanical control system.
Equipment and materials from stockroom:
ECE 2210 kit (if available) You will only use a wire or two
Servo
10x scope probe (switch to 10x)
Experiment
Turn off the power switch on the servo and hook it up to
the power supply. Adjust the power supply to provide
+
6V
as you did in the first lab. If you’ve forgotten how to do
this, refer back to the lab handout for lab 1. Remember
that you may be able to recall the
+
6 V configuration by
simply hitting the
Recall
button twice (If no one else
changed it in the meantime).
Check the gears and turn them by hand (the red gear is the easiest to turn) to make sure that
they are turning freely. The most common cause for binding is the rubber connector between
the gear train and the motor position sensor pot. It needs to be pushed onto the pot shaft just
the right distance. If it’s pushed on the shaft too far, it causes the whitish-clear output gear to
rub against the metal frame of the gear train. Too little and it causes the whitish-clear output
gear to push the red gear against the white gear. Either way there’s too much friction. When
you’re satisfied that the gears turn smoothly, turn on the power switch on the servo and make
sure that it is functioning properly. Turn it back off for now. Make some mention of what you
did in your lab notebook.
Setup the Function generator and Scope
Your wire kit should include a BNC “T” connector, connect it to the output of the function
generator. Then wire the function generator, scope, and servo as shown in the next drawing
with two BNC-to-BNC cables and one 10x probe. The “Double wire” referred to at the “motor
disconnect” switch is the bottom connection that has two wires rather than one. Trace one of
the wires down to the proto-board on the servo, push in an extra wire there and connect CH2
of the scope to that wire. This is the output of the servo circuitry, normally hooked directly to
the motor. There’s a green wire to the left of that connection that runs from the top of the
board to the bottom. That is ground. Connect the scope ground where that wire is connected.
pf3

Partial preview of the text

Download Control System Lab: Exploring Servo Systems at University of Utah - Prof. A. Stolp and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

University of Utah

Electrical & Computer Engineering Department

ECE 2210 Lab 9

Control System (Servo)^

A. Stolp, 11/09/ rev, 3/23/ Note : Bring a book to lab that shows second order differential equation solutions (underdamped, critically damped, and overdamped) if you’re not sure what they look like.

Objective

To see how many of the subjects that you have learned in this class relate to an electro- mechanical control system.

Equipment and materials from stockroom:

ECE 2210 kit (if available) You will only use a wire or two Servo 10x scope probe (switch to 10x)

Experiment

Turn off the power switch on the servo and hook it up to the power supply. Adjust the power supply to provide + 6V as you did in the first lab. If you’ve forgotten how to do this, refer back to the lab handout for lab 1. Remember that you may be able to recall the + 6 V configuration by simply hitting the Recall button twice (If no one else changed it in the meantime). Check the gears and turn them by hand (the red gear is the easiest to turn) to make sure that they are turning freely. The most common cause for binding is the rubber connector between the gear train and the motor position sensor pot. It needs to be pushed onto the pot shaft just the right distance. If it’s pushed on the shaft too far, it causes the whitish-clear output gear to rub against the metal frame of the gear train. Too little and it causes the whitish-clear output gear to push the red gear against the white gear. Either way there’s too much friction. When you’re satisfied that the gears turn smoothly, turn on the power switch on the servo and make sure that it is functioning properly. Turn it back off for now. Make some mention of what you did in your lab notebook. Setup the Function generator and Scope Your wire kit should include a BNC “T” connector, connect it to the output of the function generator. Then wire the function generator, scope, and servo as shown in the next drawing with two BNC-to-BNC cables and one 10x probe. The “Double wire” referred to at the “motor disconnect” switch is the bottom connection that has two wires rather than one. Trace one of the wires down to the proto-board on the servo, push in an extra wire there and connect CH of the scope to that wire. This is the output of the servo circuitry, normally hooked directly to the motor. There’s a green wire to the left of that connection that runs from the top of the board to the bottom. That is ground. Connect the scope ground where that wire is connected.

Turn on the function generator and set the Ampl itude to 50 mVpp (output will actually be 100 mVpp). Hit the Shift key, the Store key (shifted Recall ), turn the knob ‘till the display shows “STORE 1", and then hit the Enter key. This stores the current configuration of a 100mV, 1kHz sine wave as configuration “1". Now adjust the Freq uency to 500 mHz (0.5 Hz), the Ampl itude to 500 mVpp (output will actually be 1 Vpp), and set the waveform to a square wave. Store this as configuration “2". Make some mention of what you did in your lab notebook. NOTE: It needs to be a SQUARE WAVE! Observe how the gain knob affects the response of the servo Turn down the gain of the servo to minimum (fully CCW). Turn on the servo. It should move back and forth in jerks, making one move every second. Slowly turn the gain knob through its entire range to get an idea of the different types of motion that the servo can make. Return the gain to minimum and observe how little the servo moves and how sluggishly it gets there. Does it overshoot its intended position? Do you think it even reaches its intended position? Slowly turn up the gain. What happens to the motion? Does it get a little more snappy? Does it move further than it did before and thus get closer to its intended position? The low- gain response was slow and had a lot of position error. The response gets much better as you turn up the gain. You can actually hear it get better. Continue to turn up the gain until you start to see (or hear) some overshoot. Just under this point is the optimal gain setting. Turn up the gain further until you get a little ringing (more than one overshoot). In class you’ve learned about the three types of second-order transient responses in terms of overdamped, critically damped, and underdamped. Relate these to the servo outputs you’ve observed at various gains. Disconnect the function generator, turn up the gain all the way, and turn the input position knob to the center of its range. What is the servo doing now? Can the circuits that we studied do that? Measure the circuit gain at important points Turn down the gain very slowly until the oscillation stops, then turn it back up just a hair. Try to get the oscillation started again by turning the “INPUT POSITION” knob a bit. Repeat this until you are satisfied that you’ve found the minimum gain needed for oscillation. Switch down the motor disconnect switch, reconnect the function generator and recall configuration “1" (Hit Recall , turn the knob ‘till the display reads “RECALL 1", then hit Enter ). Observe CH2 on the