MIT2 04AS13 SuppLecture10
MIT2 04AS13 SuppLecture10
Supplement to Lecture 10
Dynamics of a DC Motor with Pinion Rack Load and Velocity Feedback
where we used the relationship ve = Kv ω for the motor’s back–emf and we have
neglected the inductance. In the Laplace domain, this equation becomes
Next we must write the mechanical equation of motion as torque balance on the
motor’s shaft. The motor’s torque is provided by the electrical current through the
windings, and is Km i(t). There are three torques counteracting the motor: (i) the
pinion inertia J, (ii) the rotational viscous damper D, and (iii) the torque exercised
by the translational elements (mass M and translational viscous damper fv ) via the
pinion gear. Since at the moment we do not know how to express torque (iii), let us
denote it by Tp . The time–domain equation of motion of the motor shaft then becomes
We still have to find Tp (s). This is done by force–balance on the translational part of
the load, i.e. the pinion’s rack that carries the mass M . If Fp (t) denotes the force by
the pinion on the rack, then in the time domain we have
We can now relate the pinion torque Tp to the pinion force Fp and the angular velocity
ω to the translational velocity v. Assuming that the pinion is perfectly cylindrical and
neglecting backlash or other nonlinearities due to the gears, then in the time–domain
we have
Finally, we need to collect all the above results towards a “plant transfer function” of
the form V (s)/Vs (s) (Laplace transform of the output velocity v divided by the Laplace
transform of the input voltage vs .) To do this, we must eliminate the intermediate
dynamical variables I(s), Ω(s), Tp (s), and Fp (s). This is done by first substituting (6),
V (s)
Km I(s) = (Js + D) + r (M s + fv ) V (s) ⇒
r
J + r2 M D + r 2 fv
I(s) = s+ V (s). (11)
rKm rKm
Now that we have a relationship between current I(s) and translational velocity V (s),
we substitute it in (2) along with (10) to obtain
J + r2 M D + r 2 fv V (s)
Vs (s) = s+ RV (s) + Kv . (12)
rKm rKm r
We are basically done; all that’s left is to rewrite (12) in proper transfer function form,
clearly indicating the location of the pole:
rKm
V (s) R J + r2 M
= . (13)
Vs (s) D + r2 fv + Km Kv /R
s+
J + r2 M
Substituting the (revised) numerical values R = 1Ω, Km = 1N · m/A. Kv =
sec/rad, J = 0.1kg · m2 , D = 0.5kg · m2 / (rad · sec), M = 9kg, fv = 5kg/sec and
1V · √
r = 0.1m = 0.3162m, we obtain
V (s) 0.3162 m/sec
= . (14)
Vs (s) s+2 V
Feedback transfer function
The velocity output is measured by a tachometer and fed back via a differential
amplifier. It is important to note that the tachometer converts the velocity to a voltage;
that voltage is then used as input in the negative terminal of the op–amp. The positive
terminal is connected to a reference voltage. We will now take a few steps to appreciate
the significance of the feedback and reference voltages.
Looking first at the feedback loop, we model the tachometer as producing a voltage
Vtach equal in numerical value to the translational velocity v of the mass. This means
that
Volts
Vtach (t) [Volts] = 1 v(t). (15)
m · sec
This relationship expresses an ideal “linear transducer with unit gain.” It is especially
important to note that the unit conversion requires the presence of a unity gain with
units Volts/ (m/sec). In many practical situations the relationship is not unity; we
would then have to take transduction into account as a non–unity gain in the feedback
path. Moreover, many transducers are approximately linear but saturate or exhibit
other types of nonlinearities if the measured variables (the velocity, in this case) be
come too large. In the interest of keeping this discussion as clear as possible, we will
Vref v(t)
Vtach
Using the closed–loop transfer function that we derived in class and is shown again
in Figure 2, we obtain
V (s) 0.3162K
= . (18)
Vref (s) s + 2 + 0.3162K
Interpretation of the feedback transfer function
To appreciate the effect of feedback in system behavior, we start by comparing the
closed–loop transfer function (18) to the plant (open–loop) transfer function (14). We
observe the following:
1. The plant’s pole is at −2rad/sec; whereas the closed–loop pole depends on the
feedback gain K and is located at −2 − 0.3162K. Therefore, the plant’s time
constant is τ = 0.5sec whereas the closed–loop system’s time constant is τ =
1/ (2 + 0.3162K) sec. In this system, as we increase the gain K the closed–loop
system pole moves to the left on the s–plane; therefore, the closed–loop system
response becomes faster.
Table 1: Time constant, steady–state velocity and steady–state error for the velocity
control system.
where E(s) represents the Laplace transform of the “error signal” (see Figure 2.) In
other words, the motor is driven by a voltage proportional to the difference between the
reference voltage and the (transduced) velocity. In response to vs , the DC motor draws
as much current as necessary from the op–amp to drive the rotational/translational
loads.
Now consider a motor that is initially at rest and the sequence of events after Vref
is turned on: Since v(t = 0) = 0, the error signal at the differential amplifier’s input
is initially equal to Vref . This produces a voltage vs and, in turn, provides current to
the motor to overcome the load’s inertia and friction and start rotating the shaft. The
shaft rotation causes the rack to translate (via the pinion gear coupling) and, since
v(t) is now increasing, the feedback signal Vtach at the op–amp’s “−” terminal begins
to increase as well. This causes the error signal to decrease and, in turn, vs decreases
as well. This sequence continues until the load has reached steady–state, which in
this case we can also call terminal velocity. At steady state, there is no acceleration,
i.e. the terms ω̇, v̇ in (3), (5) vanish. However, from these two equations we can see
that some residual torque is still required to overcome the rotational and translational
friction in the system. The difference between the voltages at the input terminals of
the differential amplifier must, therefore, remain equal to e∞ to provide the requisite
voltage (and current) to the DC motor so that it can keep the shaft rotating at constant
velocity despite the friction. The unfortunate outcome is that the output velocity
never reaches the numerical value of Vref ; this is, of course, undesirable, but it is an
unavoidable property of the feedback topology that we chose here. We’ll learn later
that other feedback topologies, e.g. the “PID controller” circuit that we will learn
about later, can correct this problem.
The physical description of the previous paragraph explains the origin of the terms
“reference voltage” and “error signal.” Moreover, we can also understand why the
steady–state error diminishes as the feedback gain K grows larger: the voltage vs
applied to the motor is K times the error signal; therefore, if K increases, then a
smaller error signal can drive the DC motor with a sufficiently large voltage vs to
overcome friction at steady state. The terminal velocity would then inch up to a
numerical value closer to Vref .
To conclude, we have plotted the unit step response of the system in open–loop
configuration and feedback (closed–loop) configuration side–by–side for comparison in
1 1
K=1
0.9 0.9 K=2
K=5
0.8 0.8 K=10
K=100
0.7 0.7
v [m/sec]
0.5 0.5
0.4 0.4
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 0.5 1 1.5 2 0 0.5 1 1.5 2
t [sec] t [sec]
10 1
K=1 K=1
9 K=2 0.9 K=2
K=5 K=5
8 K=10 K=10
0.8
K=100 K=100
7 0.7
6 0.6
e [V]
i [A]
5 0.5
4 0.4
3 0.3
2 0.2
1 0.1
0 0
0 0.5 1 1.5 2 0 0.5 1 1.5 2
t [sec] t [sec]
Figure 3. The figure also includes the evolution of the current through the DC motor
and the error signal applied between the op–amp’s terminals. We can verify the trends
described above, especially the time constant and steady state error of the closed–loop
step response as we vary the feedback gain K.
We might wish, ideally, to have K → ∞ because in this limit the steady–state error
is eliminated and, moreover, the system’s response is speediest. In practice, this is not
possible or even desirable because of several reasons:
a) We can see from (11) that the current through the DC motor includes a term
proportional to the derivative of the translational velocity. If the velocity changes
very fast, its derivative becomes large, which means that the motor must draw
a large current from the op–amp. Even though in our ideal model the op–amp
can produce as much current as we’d like, real life op–amps can produce a limited
maximum current. If we select the feedback gain K to be large enough to require
the DC motor to draw more than the op–amp’s available maximum current, the
op–amp will saturate. This is a nonlinear effect that we’ve neglected in our
analysis.
b) We recall from Lecture 6 that the DC motor has a finite inductance L which we
can neglect if the system’s response is slow enough. If we select the feedback
gain K to be large enough to require a response of time constant comparable
to the time constant due to L, then L will limit the response speed. This is
a linear effect that we’ve neglected in our analysis. In Problem Set 3, we ask
you to modify the model to include L, which will allow you to explore feedback
dynamics in a second–order system.
c) There are other phenomena that we’ve neglected: e.g., the internal gain and input
resistance of the op–amp were both assumed to be infinite in the differential
amplifier model; the DC motor itself has nonlinearities (e.g. dead zone), etc.
Finally, not to mince words, we must always be mindful that if we drive too
much current through an op–amp or DC motor, we might burn either or both of
them!!
The above caveats do not reduce the value of our simplified model; they just serve as a
warning that simple models, powerful as they can be with the intuitive understanding
of the physical world that they provide us with, they are limited by their inherent
assumptions. A good Engineer must know which is the minimum complexity required
to deal effectively with each given situation, and use just that amount of complexity.
(This rule is known as “Occam’s razor.”)
The last question (and perhaps the most relevant one) is: why use feedback at all?
From our analysis above, it is clear that by using feedback we can get the system to
behave in ways that its natural (open–loop) physics do not allow, e.g. we can get a
faster response than the open–loop system. It is also convenient that we can set the
desired output (velocity) as an external reference voltage Vref and then have the system
race to match the output to our reference input. In many cases, the most important
reason for using feedback is disturbance cancelation. We have not yet developed the
necessary tools to analyze this effect; but it is important to emphasize even now that
if the system is subject to a disturbance beyond our control, e.g. electrical noise,
mechanical vibrations, etc. which might cause the output to deviate from the desired
value Vref , then the feedback loop will act to cancel that disturbance.
A car’s cruise control option is a good example of feedback action canceling distur
bances; if you have ever used cruise control, you probably know already its utility and
its limitations (e.g., if the car needs to climb a steep hill while on cruise control, the
engine might not be able to provide enough torque, and the speed then drops or the
engine might even stall.) We will examine in detail disturbance cancelation in the near
future.
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.