Académique Documents
Professionnel Documents
Culture Documents
To measure and predict the steady state response rotation speed of the motor
2. Equipment :
DC Servo Motor and Tachometer, model # MT260-128EG
Power supply
Tektronix TDS 210, Digital Storage Oscilloscope
PCB Force sensor Model # 208C02and PCB signal conditioner, Model #484B
Computer station with data acquisition A/D board
3. Background:
Figure 1 below is a block diagram representation of a first order system subjected to an
input disturbance F(t). The general form of the differential equation describing this (and
all) first order system is:
F (t)
dy
y kF(t)
dt
k
1 p
(1)
y (t)
where is the time constant which governs the dynamic behavior of the system, k is the
steady-state gain of the system (also known as the DC gain), and F is the forcing function
or input disturbance. One purpose of this laboratory exercise is to measure the time
constant from experimental data.
F(t) X u(t)
0 for t 0
u(t)
The response to this input is:
1 for t 0
(2b)
y(t) Y 1 e
(3)
y(t)/Y
0.7
0.632
0.6
0.5
0.4
0.3
0.2
t1
0.1
0
t/
t1
1
2) The time constant of the system can also be identified by calculating the slope of the
response, i.e. the derivative of the response with respect to time. Taking the derivative of
the response (equation (3)) yields an expression for the slope of the response at any given
time:
dy Y t
e
dt
(5)
This slope can be used to write an expression for a line tangent to the curve at any point
in time. This tangent line has the form
-t1
y(t) Y 1 - e
t1
Ye
(t t 1 )
(6)
where t1 is the time at which the tangent line is drawn. As illustrated in Figure 2, the
tangent intersects with the steady-state value Y at a time, sec later
t t1
(7)
This provides a second means for evaluating the time constant, as this behavior is
common to all first order systems. In other words, if the slope of the response curve at
any arbitrary time is extrapolated to intersect with the asymptotic response, the
intersection will take place time units after the point the tangent was taken.
These two methods, the 63.2% response point and tangent intersection point, are two
quick ways to estimate the time response of the system.
3) If the experimental data are scattered, or if the steady-state value is unknown it may be
difficult to identify the 63.2% response point. Taking the derivative of the response to
evaluate the time constant via the intersection method is also prone to problems, because
experimental slopes will be highly sensitive to variations in data. A more rigorous way to
determine the time constant is to perform linear regression on the data. This is
accomplished by rearranging equation (3) as:
1-
y(t)
t
e
Y
(8)
Taking the natural log of both sides will result in an equation that is linear in time:
y(t)
1
ln 1
t
(9)
Considering time as the independent variable and the entire left-hand side as the
dependent variable, this is a linear relationship that can be used to determine the time
constant via linear regression. After the transformation, the data will fall on a straight line
as shown in Figure 3. When the data is treated in this manner, the fitted line is
constrained to pass through the origin (since there is only one fitting constant!) and has a
slope equal to the reciprocal of the time constant.
ln(1-y/Y)
Modeling
a DC
Figure
3: Semioflog
plotMotor
of the System
step response
An armature controlled DC motor is given schematically in Figure 4. An input voltage, e i,
is provided by an external power supply. The motor possesses an internal resistance, R,
and an inductance, L. This inductance is a result of the electromagnetic effect developed
by the armature windings, and has a negligible effect for most times of interest. The shaft
of the motor and driven component (a disk in the present lab) have an inherent rotational
inertia, J. The system also experiences viscous damping, characterized by the coefficient
b, due to internal and air damping.
A mathematical model of this motor can be developed by considering the electrical and
mechanical constituents of the system separately. The following equation describes the
armature circuit:
ei R i K g
(10)
where ei is the voltage applied to the armature, R is the resistance of the windings, i is the
current, Kg is the motor voltage constant (or generator constant) and is the angular
velocity of the motor shaft. The last term of equation (10) is commonly called the back
emf developed within the motor - it is a reverse voltage proportional to the angular speed
of the shaft. (Note: this characteristic is inherent because of the motor's capability to act
as a generator as well as a motor. That is, if the shaft was turned by an alternative source
(e.g. water), the same armature could be used to generate electricity.)
ei
b
J
ei
T,
The output torque T developed at the armature shaft is proportional to the armature
current, i.e.
(11)
T Kt i
This provides a connection between the mechanical response of the set-up and the
electrical behavior of the motor. (The two motor constants, K t, and Kg are actually equal
to one another, though details of this connection will not be presented here.) In this
particular set-up, the output torque is used to overcome the motor inertia and frictional
drag. If the frictional drag is viscous in nature, the equilibrium equation of the rotor
system is:
TJ
d
b
dt
(12)
where J is the inertia of the rotating parts, and b is the rotational viscous damping
coefficient. A composite block diagram of equations (10)-(12) is shown in Figure 5. The
symbol p is the differential operator and is equivalent to differentiation with respect to
time.
Thus, the input to this system is the voltage potential e i applied to the armature, and the
response is the angular velocity . Equations (10)-(12) can be combined (eliminating T
and i) to produce one differential equation which describes the combined electromechanical response of the system:
d
k ei
dt
(13a)
J
KtKg
(13b)
1
Kg
ei
+
-
(13c)
bR
Kt
1
R
1
Jpb
Kg
R
b
Motor
ei
Tachometer e =K
0
J
Load
To x-y plotter
Equation (13a) is a first order differential equation in the standard form. The time
constant is representative of the response speed of the system, and the gain constant k
dictates the steady-state sensitivity behavior between the system output and input.
ei
1
bR
Kg
Kt
(13c)
Furthermore, this gain depends on the resistance of the circuitry involved. Using a single
resistor in series with the internal resistance of the motor, the steady state speed can be
6
measured (recall that ei = 24 volts in all cases). Substituting the known values for R, K t,
ei, and the measured output into equation (13c) leaves one equation for two unknowns
(Kg and b). Using a different resistor in the circuit will produce a different steady state
rotation speed. Substituting these new values into equation (13c) gives a second equation
for the same two unknowns. A more graphical approach is to rewrite equation (13c) as
b
ei
R.
K g
Kt
(14)
Plotting the aforementioned data using this equation it becomes evident that the intercept
is Kg, the motor constant. Also, the slope is a combination of b and K t. This is shown
graphically in Figure 7.
ei
b
1
Kt
Kg
R
Figure 7: Test for determining b & Kg
Transient test:
The differential equation that describes the behavior of the DC motor is of first order.
Measuring the time constant of the system, will be accomplished using the three
techniques described in section 3. Furthermore, once the time constant is determined, the
rotary inertia to be determined by rearranging the Equation (13b);
KtKg
J b 1
bR
5. Experimental Procedure:
The overall experimental setup is shown schematically in Figure 8.
(15)
DC Motor
SCXI Chassis Power Supply
Signal
Conditioner
Computer
ei
R
(16)
where ei and R are known. Knowing the supplied current and the output torque, the motor
constant Kt may be determined using equation (11).
Free Speed Test
Carefully disengage the moment arm from the load. With no external resistance in the
circuit (leave the switch at 0 ohms), apply DC power to the circuit and wait until the
motor reaches its steady-state speed. Record this speed. Turn the power supply off and
let the motor come to a stop. Now add a 1-ohm resistor in series with the motor resistance
by flipping the resistance switch to 1 ohm. Start the motor up again and allow it to
8
come to steady state. Record this new rotation speed. Knowing the values of the steady
state speed and the additional resistance, equation (14) may be used to determine the
unknown motor generator constant Kg and the viscous damping constant b. Repeat this
procedure several times and create a plot similar to that shown in Figure 7. Compare your
Kg with your Kt obtained from the blocked motor test, both in value and in units. Discuss
the reasons if they are different.
Transient test
Record the transient time response of the motor during start-up. Do this test twice once
having no resistor in series with the motor and once with the 1 ohm resistor in series with
the motor. From these results, determine the time constant of the system using the three
methods described previously. Also determine the net moment of inertia of the system.
Note that the mass moment of inertia of the combined system is made up of the motor
armature, the tachometer armature and the installed rotor.
7. Acquiring Test Data using LabView
Exercise 1: Block rotor test (to determine motor torque constant Kt):
In this exercise, the force1102.VI is used to determine the motor stall torque. The
force1102.VI front panel is shown in Figure A1. After setting the parameters on the front
panel of the VI, attach the moment arm to the flywheel, and bring it to contact the force
transducer such that it blocks the armature from rotation. Set the DC power supply to 24
volts and leave this setting through the entire test sequence. With no external resistance in
the armature circuit, turn on the circuit and recording the resulting force. Use the data
acquisition system and run the force1102VI. After sampling the signal from the
accelerometer for a predetermined length of time, the sampled signal is displayed and the
resulting force and the corresponding voltage can be found.
Make sure your workstation is set up in the following manner:
1. Open the VI. (c:\me260w\lab5 _SDOF lab\force1102.vi)
2. Make sure the SCXI chassis is turned on.
3. Press the Save data button on the VI front panel (Option). This stores the data in
a file.
4. Set the following parameters on the VI:
Sample rate: as desired (e.g.1024)
Samples: as desired (e.g. 1024)
Device:1
Channels :ob0!sc1md2!0
5. Run button in the top left corner of the VI.
Exercise 2: Free speed test (to determine the motor generator constant K g and the
viscous damping constant b):
Carefully disengage the moment arm from the load. With no external resistance in the
circuit, apply DC power to the circuit and wait until a steady-state speed of the motor is
obtained. Repeat this test for various armature resistances. Calculate the resulting gain
constant k.
The rpm 1102.VI lets you measure motor rpm and the tachometer voltage. Figure 2A is
the front panel of the rpm1102.VI. The steps required for taking a tachometer voltage
measurement are provided. Read through them carefully and do not be afraid to try things
on the device. If you have a question after trying things on your own, contact your
instructor.
Taking Measurements:
Make sure your workstation is set up in the following manner:
1. Open the VI. (c:\me260w\lab5_SDOF lab\rpm1102.vi)
2. Make sure the SCXI chassis is turned on.
3. Press the Save data button on the VI front panel (Option). This stores the data in an
array.
Set the following parameters on the VI:
Device: 1
Channels: ob0!sc1md2!0:1
Sample rate: as desired (e.g. 10240)
Scans: as desired (e.g. 10240)
Filter: on
Filter type: low pass (select it only if the filter is ON)
Windows: None
Filter type: select as desired (non, low pass filter, high pass filter, band pass)
Low cut off: 20
High cut off: 50
4. Run button in the top left corner of the VI.
10
sample rate
1000.00
Save
Plot 0
Voltage
channel (0)
device
5000
OFF
Plot 0
Force
0.3
5.0
4.5
4.0
3.5
0.2
3.0
2.5
2.0
0.1
1.5
1.0
0.5
0.0
0.0
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
sec
0.0
5.0
0.5
1.0
1.5
2.0
Cursor 0
0.34
0.08
Cursor 0
0.52
17.61
Cursor 1
0.00
-0.01
Cursor 1
0.34
0.00
2.5
3.0
3.5
4.0
T a c ho m e te r V o lta g e
M o to r (rp m )
SDOF LAB2
d e v ic e
14 00.0
20.0
c ha nne ls
o b 0!s c 1!
m d 2!0
s a m p le
ss
a m p ling ra te
3000.00
18.0
12 00.0
16.0
10 00.0
14.0
1024.00
12.0
800.0
F ilte r
w ind o w
OFF
H a nnin
10.0
600.0
8.0
6.0
400.0
filte r ty p e
lo w c uto ff
3.00
sec
4.0
L o wp a
200.0
2.0
S a ve
ON
0.0
0.0
-2.0
-200.0
hig h c uto ff
50.00
0.0
0.0
C urs o r 0
C urs o r 1
0.5
50.00
50.00
1.0
1.5
2.0
0.5
1.0
1.5
2.5 s e c3.0
0.68
0.68
C urs o r 0
2.86
1.88
C urs o r 1
3.83
1.48
sec
11
2.0
2.5
3.0
sec
4.5
sec
5.0