Professional Documents
Culture Documents
hw6 Sol
hw6 Sol
Study the motion. Let the angular position of the hydraulic motor output shaft be
denoted by the angle θ. The corresponding angular velocity is ω = θ̇. The angular
velocity of the table has magnitude ωt = ω/N (in the opposite sense to ω).
P τm = DP τm
Q Q = Dω ω
A similar icon can be drawn for the reduction gear. At the pinion input the torque is
τm and the angular velocity is ω, while at the table output, the torque is τt and the
1
angular velocity is ωt . The gear ratio is N . The icon summarizing this information
is shown below.
τm τt = Nτm τt
ω ω = Nωt ωt
The servovalve supplying the flow Q and the pressure P to the hydraulic motor is
described by the given valve characteristic
Q i P
= −
Qmax imax Pmax
In the present application the current i is the control variable and the flow Q is fixed
by the angular velocity of the motor shaft, so that the valve characteristic can be
considered to be the constitutive equation for determining the pressure P . When it
is is solved for P , we have
Pmax Pmax
P = i− Q (3)
imax Qmax
which can be represented diagramatically as follows
i
Pmax
imax
+
Σ P
- Pmax
Q
Qmax
The rotating table rotates with the angular velocity ωt and acts as an energy storage
element. None of the elements discussed so far involve any energy dissipation. To
illustrate how some dissipation can be included in our model, let us consider some
friction acting to retard the table rotation, modeled by a linear damper with damping
coefficient Bt . Then the torque τt delivered by the large gear would have to overcome
the friction torque Bt ωt as well as increase the angular momentum It ωt of the table
τt = Bt ωt + It ω̇t
This time-domain differential equation can be represented by the transfer function
ωt (s) 1
=
τt (s) Bt + sIt
2
1
τt ωt
Bt + sIt
(a) To develop a model to describe the the dependence of the table angular velocity
ωt upon the input current i, we assemble the above elements into the following
circuit diagram
i Pmax
imax
+
Σ P τm τt 1
Bt + sIt
ωt
- D N
Pmax
Qmax Q ω ωt
3
is worthwhile to verify that this is indeed the case. The parameter D has the
dimension of volume and the parameter N is dimensionless , so the term DN ωt
has the dimension of volume per unit time; i.e., the dimension of volume rate of
flow, which cancels the dimension of Qmax , so that the dimension of the second
term is that of Pmax which agrees with the dimension of the first term.
The motion of the table is controlled by an angular position sensor which pro-
duces a voltage esensor = M θt . The controller generates a current proportional
to the error voltage eerror which is the discrepancy between the reference voltage
eref and the sensor voltage esensor
The circuit diagram for the system plus controller is shown in Fig. 6.
To answer Parts (b) and (c) we need the response of the error voltage
4
eref
+
Σ eerror
G
i Pmax
imax
+
Σ P τm τt 1
Bt+Its ωt
- D N
-e sensor Pmax
Qmax Q ω ωt
1
s
esensor θt θt
M
to the input reference voltage eref (s). The sensor voltage can be eliminated
from (6) by introducing the open-loop transfer function
esensor (s)
OLT F (s) = (7)
eerror (s)
eerror (s) 1
= ERT F (s) = (8)
eref (s) 1 + OLT F (s)
Here the open-loop transfer function is readily obtained from Fig. 6 by incor-
porating the transfer function (5) from the current i(s) to the angular velocity
ωt (s) with the auxiliary relations
(b) The system of Fig.6 has one free integrator, and therefore is of Type One. As
a consequence, the steady-state error in response to a step input is zero. The
same result is obtained by applying the Final-Value theorem to the transfer
function (10).
(c) The Laplace transform of a unit ramp is 1/s2 . The Final-Value theorem applied
to the response of the error voltage to a unit ramp indicates that there is a
5
steady-state tracking error
" #
1 eerror (s) λi
lims→0 s( 2 ) =
s eref (s) Pmax DN
MG
imax It
(d) The system is now assumed to have additional dynamics. Where the servovalve
used to operate directly on i(s) in the s-plane, it now operates on
à !2
λv
i(s)
s + λv
and where the sensor voltage was simply proportional to the angle θt (s), it now
is proportional to the following operation on the angle
λs
esensor = M θt (s)
s + λs
The open-loop transfer function will now contain these additional operations
(e) The gain margin is obtained from the Bode plot of the open-loop transfer func-
tion. It is easy to see that the Bode plots for (9) and (11) will be quite different
and that therefore introducing the servovalve and sensor dynamics will affect
the gain margin. The answer is “Yes”.
6
er +
Σ eerror
G
ec
D
f 1
ms
v 1
s
x
-
ex
M
ex
The denominator has the standard second-order form with controllable behav-
ioral parameters
DM Gx m 1 kg
ωn2 = = (10 rad/sec)2 if Gx = ωn2 = (10 rad/sec)2 = 10
m DM 10 N/volt × 1 volt/m
and
2ζωn = DM Gv Gd /m = 2(0.707)(10 rad/sec) = 14.14 rad/sec
if
m 1 kg
Gv = 2ζωn = 14.14 rad/sec = 1.414
DM Gd 10 N/volt(1 volt/m)(1 volt per volt/sec)
With these values, the closed-loop transfer function is
ex (s) 100
= 2 (2)
er (s) s + 14.14s + 100
8
Σ Σ
er + eerror + G ec f 1 v 1 x
Kds D ms s
- + M
ex
ex
ex
Note that this has a zero at s = −1/Kd as well as a denominator with the
standard second-order form with controllable behavioral parameters
DM G m 1 kg
ωn2 = = (10 rad/sec)2 if G = ωn2 = (10 rad/sec)2 = 10
m DM 10 N/volt × 1 volt/m
and
2ζωn = DM GKd /m = 2(0.707)(10 rad/sec) = 14.14 rad/sec
if
m 1 kg
Kd = 2ζωn = 14.14 rad/sec = 0.1414 sec
DM G 10 N/volt(1 volt/m)(10)
Note that (2) and (5) have the same denominator, and therefore , the same
poles. The difference between proportional control with rate feedback (2), and
P-D control (5), is that the former has no zeros, while the latter has a zero.
9
Pole-zero map Bode Diagrams
10
5
0
Imag Axis
0
-5
-5
-10
-8 -6 -4 -2 0 -15
Real Axis
Step Response
0
1.2
-20
1
Amplitude
0.8 -40
0.6
-60
0.4
0.2 -80
0 0 1 2
10 10 10
0 0.16 0.32 0.48 0.64 0.8
Time (sec.) Frequency (rad/sec)
(d) The following MATLAB session produces the plots displayed in Fig. 10.
(e) The following MATLAB session produces the plots displayed in Fig. 11.
10
Pole-zero map Bode Diagrams
1
0.5 0
Imag Axis
-5
0
-10
-0.5 -15
Step Response
0
1 -20
0.8
Amplitude
-40
0.6
0.4 -60
0.2 -80
0 -1 0 1 2 3
10 10 10 10 10
0 0.16 0.32 0.48 0.64 0.8
Time (sec.) Frequency (rad/sec)
The system in (d) is underdamped (ζ = 0.707) and the step response has
considerable overshoot. The Bode plot has a mild resonant peak (≈ 3dB). The
system in (e) is overdamped (ζ = 2.0), but the slow-response pole is almost
canceled by the zero with the result that there is only a small overshoot in the
step response, and the Bode plot shows almost no resonant peak (< 1dB).
11