6379 - Chapter2Ed3 2
6379 - Chapter2Ed3 2
2-1
© 2007 by John Gardner; duplication and distribution rights not granted
2-2
© 2007 by John Gardner; duplication and distribution rights not granted
2-3
© 2007 by John Gardner; duplication and distribution rights not granted
2-4
© 2007 by John Gardner; duplication and distribution rights not granted
2-5
© 2007 by John Gardner; duplication and distribution rights not granted
2-6
© 2007 by John Gardner; duplication and distribution rights not granted
2-7
© 2007 by John Gardner; duplication and distribution rights not granted
2-8
© 2007 by John Gardner; duplication and distribution rights not granted
2-9
© 2007 by John Gardner; duplication and distribution rights not granted
2-10
© 2007 by John Gardner; duplication and distribution rights not granted
2-11
© 2007 by John Gardner; duplication and distribution rights not granted
2-12
© 2007 by John Gardner; duplication and distribution rights not granted
2-13
© 2007 by John Gardner; duplication and distribution rights not granted
2-14
© 2007 by John Gardner; duplication and distribution rights not granted
2-15
© 2007 by John Gardner; duplication and distribution rights not granted
2-16
© 2007 by John Gardner; duplication and distribution rights not granted
2-17
© 2007 by John Gardner; duplication and distribution rights not granted
2-18
© 2007 by John Gardner; duplication and distribution rights not granted
2-19
© 2007 by John Gardner; duplication and distribution rights not granted
2-20
© 2007 by John Gardner; duplication and distribution rights not granted
2-21
© 2007 by John Gardner; duplication and distribution rights not granted
2-22
© 2007 by John Gardner; duplication and distribution rights not granted
2-23
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.11
2-24
© 2007 by John Gardner; duplication and distribution rights not granted
2-25
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.12
2-26
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.13
∂ ∂
Tˆt ≅ (Tt ) Ω1 =Ω1 Ωˆ 1 + (Tt ) Ω1 =Ω1 ΔP̂
∂Ω1 ΔP =ΔP ∂ΔP ΔP =ΔP
⎛ ⎞
⎛ T ⎛ Ω ⎞⎛ 1 ⎞⎞ ⎜ 1 ⎟
Tˆt ≅ ⎜⎜ −2 0 ⎜1 − 1 ⎟ ⎜ − ⎟ ⎟ Ω
ˆ − ⎜ T ⎟ ΔP̂
6 ⎝ Ω0 ⎠ ⎝ Ω0 ⎠ ⎟⎠ Ω1 =Ω1 ⎜ 1 − ΔP ⎟
1 0
⎝
ΔP =ΔP ⎜ P0 ⎟⎠ Ω1 =Ω1
⎝
ΔP =ΔP
T ⎛ Ω ⎞ˆ T0
Tˆt ≅ 0 ⎜1 − 1 ⎟ Ω1− ΔPˆ
3Ω0 ⎝ Ω0 ⎠ ΔP
1−
P0
2-27
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.14
di
ei = Ri + L + eD
dt
i = I 0 eα eD
To solve the problem first we must solve the diode function for eD and substitute
it back to the loop equations.
1 ⎛ i ⎞
eD = ln ⎜ ⎟
α ⎝ I0 ⎠
di 1 ⎛ i ⎞
ei = Ri + L + ln ⎜ ⎟
dt α ⎝ I 0 ⎠
1 ⎛i ⎞
ei = Ri + ln ⎜ ⎟
α ⎝ I0 ⎠
ei = ei + eˆi
i = i + iˆ
2-28
© 2007 by John Gardner; duplication and distribution rights not granted
(
1 ⎛ i + iˆ ) ⎞⎟
(
ei + eˆi = R i + iˆ + L ) d
dt
( )
i + iˆ + ln ⎜
α ⎜ I0 ⎟
⎝ ⎠
ei + eˆi = Ri + Riˆ + L
di diˆ 1 ⎛ i + iˆ
+ L + ln ⎜
( ) ⎞⎟
dt dt α ⎜ I 0 ⎟
⎝ ⎠
1
ln ⎜
(
⎛ i + iˆ ) ⎞⎟ ≅ 1 ln ⎛ i ⎞ ∂ ⎡ 1 ⎛ i ⎞⎤
⎜ ⎟ + ⎢ ln ⎜ ⎟ ⎥ iˆ
α ⎜ I0 ⎟ α ⎝ I 0 ⎠ ∂i ⎣ α ⎝ I 0 ⎠ ⎦ i = i
⎝ ⎠
1 ⎛ i ⎞ 1⎛I ⎞
= ln ⎜ ⎟ + ⎜ 0 ⎟ iˆ
α ⎝ I0 ⎠ α ⎝ i ⎠
di diˆ 1 ⎛ i ⎞ 1 ⎛ I ⎞
ei + eˆi = Ri + Riˆ + L + L + ln ⎜ ⎟ + ⎜ 0 ⎟ iˆ
dt dt α ⎝ I 0 ⎠ α ⎝ i ⎠
1 ⎛i ⎞ diˆ 1 ⎛ I ⎞
ei + eˆi = Ri + ln ⎜ ⎟ + Riˆ + L + ⎜ 0 ⎟ iˆ
α ⎝ I0 ⎠ dt α ⎝ i ⎠
Notice that the definition of the NOP allows us to cancel the first term on the LHS
with the first two terms on the RHS. Rearranging, we have the final answer:
diˆ ⎛ 1 ⎛ I ⎞⎞
eˆi = L + ⎜ R + ⎜ 0 ⎟ ⎟ iˆ
dt ⎝ α ⎝ i ⎠⎠
2-29
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.15
To solve the problem, we need to derive the equation of motion for the ball.
Combining the equation for the magnetic force with the information in the free
body diagram, give us the following nonlinear equation of motion.
i2
mx = mg − K i
x2
Part (a) asks to find the relationship between the coil current and the position of
the ball for a steady state equilibrium. This is found by setting the derivatives
(wrt time) equal to zero.
i2
0 = mg − K i
x2
mg
i = x
Ki
Part (b) asks for the linearized equation describing small perturbations about the
nominal equilibrium point. Using the Taylor series expansion, the following
equation can be derived:
2K i i ˆ 2K i i 2
mxˆ = − i+ xˆ
x2 x3
2-30
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.16
Since the shaft connecting J1 and J2 is rigid, we can lump them together as a
single rotational inertia.
Free Body Diagrams of the two bodies (the combined inertias and the rack) lead
to the following two equations of motion:
Ti − RFrack = ( J 1 + J 2 )Ω
− Frack − Fk − Fb = mx
Where Frack is the internal force transmitting the motion between the rack and the
pinion (J2), Fk is the force exerted by the spring to the rack (assumed positive in
compression) and Fb is the damping force exerted on the pinion.
Solve the second equation for Frack and substitute into the first, thus eliminating
the force.
− Rmx
Ti + RFk + RFb = ( J 1 + J 2 )Ω
RΩ = − x
Taking the time derivative of the constraint equation and substituting into the
previous equation gives us the answer:
⎡ ⎛ J 1 + J 2 ⎞⎤ T
⎢m + ⎜ ⎟⎥ x + bx + kx = − i
⎝ R ⎠⎦
2
⎣ R
2-31
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.17
There are three energy storing elements in this system, hence a third order
differential equation can be expected. Examining J1, the flexible drive and J2
separately, the following three equations can be written:
Ti − BΩ1 − Tshaft = J 1Ω 1
Tshaft = K (θ 1 − θ 2 )
Tshaft = J 2 Ω 2
Combining the three equations to eliminate Tshaft and W1, leads to the following
solution:
J 1 J 2 J B
Ω2 + 2 Ω 2 + ( J 1 + J 2 )Ω 2 + BΩ 2 = Ti
K K
J1 J 2 d 3Ω 2 J 2 B d 2 Ω 2 dΩ 2
3
+ 2
+ (J1 + J 2 ) + BΩ 2 = Ti
K dt K dt dt
2-32
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.18
This is a great problem because it appears simple, but it’s quite difficult. In later
chapters, it will be a great example of how a state space approach can help
clarify thinking.
F − Fk1 − Fk 2 = mx
Assuming that the reference point for measuring x is the static equilibrium point.
Fk 2 = k 2 x
Now it gets interesting. Let’s introduce a new displacement variable, x’, which is
the displacement of the point linking the spring k1 with the damper.
Fk1 = k1 ( x − x ′)
Fb = bx′
Now, notice that the force in the spring k1 must be the same as the force in the
damper. We can combine the two equations and eliminate the variable x’.
k
Fk1 + 1 Fk1 = k1 x
b
⎡ mk1 2 k1 k 2 ⎤ ⎡ k1 ⎤
⎢mD + b D + (k1 + k 2 ) D + b ⎥ x = ⎢ D + b ⎥ F
3
⎣ ⎦ ⎣ ⎦
d 3 x mk1 d 2 x d x k1 k 2 dF k1
m 3
+ 2
+ ( k1 + k 2 ) + x= + F
dt b dt dt b dt b
2-33
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.19
From Problem 1.15, we already know the linearized version of the force:
2Ki i ˆ 2Ki i 2
Fm =
ˆ i− xˆ
x2 x3
For a nominal value of 0.015 m for x, the corresponding current is 2.144 amps,
and the nominal force is 0.6671 N.
The following Matlab Script computes the nonlinear force for various values of
displacement and a constant current. It also computes the linearized
approximation of the force.
%
% Script to Solve P2.19
%
m=0.068;
Ki=3.2654E-5
xbar=0.015;
%
% Nominal current and force at xbar
%
ibar=(m*9.81/Ki)^0.5*xbar
Fmbar=Ki*ibar^2/xbar^2;
%
% Compute linear coefficient for x-hat
%
Kx=2*Ki*ibar^2/xbar^3;
%
% set up the displacement matrix
%
x=[0.005:0.001:0.025];
%
% compute nonlinear force and the linearized force
%
for i=1:length(x)
Fm(i)=Ki*ibar^2./x(i)^2;
Fmhat(i)=Fmbar-Kx*(x(i)-xbar);
end
%
% Plot results
%
plot(x,Fm,x,Fmhat)
grid
title('Mag Lev Force vs. position')
xlabel('equilibrium position (m)')
ylabel('Force (N))')
2-34
© 2007 by John Gardner; duplication and distribution rights not granted
Mag Lev Force vs. position
7
4
Force (N))
-1
0.005 0.01 0.015 0.02 0.025
equilibrium position (m)
To get a handle on the linearization error, compute the difference between the
two force vectors:
>>err=Fm-Fmhat
err =
Columns 1 through 11
Columns 12 through 21
>>plot(x,err)
I manipulated this plot using MATLAB’s zoom tool to get this figure:
2-35
© 2007 by John Gardner; duplication and distribution rights not granted
0.08
0.06
0.04
linerization error
0.02
-0.02
0.013 0.0135 0.014 0.0145 0.015 0.0155 0.016 0.0165 0.017 0.0175 0.018
displacement
We’re looking for the range of displacement that keeps the linearization error
within 10%. For a nominal force of 0.67 N, we want the error to be under
0.067N. The plot indicates that the answer is:
2-36
© 2007 by John Gardner; duplication and distribution rights not granted
Problem 2.20
Free body diagrams of the two masses yield the following equations of motion:
x2 = b1 ( x1 − x2 ) + k1 ( x1 − x2 ) + k2 ( x1 − x2 )
m2
x2 + b1 x2 + ( k1 + k2 ) x2 − b1 x1 − ( k1 + k2 ) x1 = 0
m2
⎣⎡ m1 D + ( b1 + b2 ) D + (k1 + k2 + k3 ) ⎦⎤ x1 + ⎡⎣ −b1 D − ( k1 + k2 ) ⎤⎦ x2 = Fi
2
⎣⎡ m2 D + b1 D + ( k1 + k 2 ) ⎦⎤ x2 + ⎡⎣ −b1 D − ( k1 + k2 ) ⎤⎦ x1 = 0
2
m2 D 2 + b1 D + ( k1 + k2 )
x1 = x2
⎡⎣b1 D + ( k1 + k2 ) ⎤⎦
Substituting back:
m2 D 2 + b1 D + ( k1 + k2 )
⎡⎣ m1 D + ( b1 + b2 ) D + (k1 + k2 + k3 ) ⎤⎦
2
x2 + ⎡⎣ −b1 D − ( k1 + k2 ) ⎤⎦ x2 = Fi
⎡⎣b1 D + ( k1 + k2 ) ⎤⎦
(
+ ( ( b1 + b2 )( k1 + k2 ) + b1 ( k1 + k2 + k3 ) − 2b1 ( k1 + k2 ) ) D + ( k1 + k2 )( k1 + k2 + k3 ) − ( k1 + k2 ) ] x2
2
)
= [b1 D + (k1 + k2 )]Fi
+ ( ( b1 + b2 )( k1 + k2 ) + b1 ( k1 + k2 + k3 ) − 2b1 ( k1 + k2 ) )
d x2
dt
( )
+ ( k1 + k2 )( k1 + k2 + k3 ) − ( k1 + k2 ) x2
2
dFi
= b1 + (k1 + k2 ) Fi
dt
2-38
© 2007 by John Gardner; duplication and distribution rights not granted