0% found this document useful (0 votes)
60 views38 pages

6379 - Chapter2Ed3 2

The document is a chapter that contains multiple problems and their solutions related to nonlinear dynamics and control systems. Each problem presents a nonlinear system and the steps to linearize it and derive the governing equations for small perturbations around an operating point.

Uploaded by

Nandana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views38 pages

6379 - Chapter2Ed3 2

The document is a chapter that contains multiple problems and their solutions related to nonlinear dynamics and control systems. Each problem presents a nonlinear system and the steps to linearize it and derive the governing equations for small perturbations around an operating point.

Uploaded by

Nandana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

CHAPTER 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

This is an algebraic equation and is hence easier to linearize.

∂ ∂
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

Which simplifies to:

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

The loop equation for the circuit is:

di
ei = Ri + L + eD
dt

and the diode is modeled by this equation:

i = I 0 eα eD

which is clearly nonlinear.

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 ⎠

The loop equation is now:

di 1 ⎛ i ⎞
ei = Ri + L + ln ⎜ ⎟
dt α ⎝ I 0 ⎠

Now follow the five steps:

1) Derive the nonlinear model


Done (see above)

2) Determine the normal operation point:

Generally, the NOP occurs at an equilibrium where the derivatives go to zero.


Setting the di/dt term to zero, we find:

1 ⎛i ⎞
ei = Ri + ln ⎜ ⎟
α ⎝ I0 ⎠

3) Introduce incremental variables:

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 ⎟
⎝ ⎠

Before we linearize, let’s regroup:

ei + eˆi = Ri + Riˆ + L
di diˆ 1 ⎛ i + iˆ
+ L + ln ⎜
( ) ⎞⎟
dt dt α ⎜ I 0 ⎟
⎝ ⎠

4) Linearize the nonlinear term:

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 ⎠

5) Substitute back in and re-group:

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

which leads to:

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 )Ω

To eliminate the rotational variable, we need to derive the kinematic constraint


relating the pinion motion to that of the rack. The sign is important here as the
figure defines positive rotation and positive translation to be inconsistent with
each other.

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

Alternatively, in d/dt form:

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.

The forces acting on the mass quickly lead to this equation:

F − Fk1 − Fk 2 = mx

Assuming that the reference point for measuring x is the static equilibrium point.

The spring force in the second spring is easily derived:

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

To make this a little more straightforward, it is advantageous to introduce the “D”-


operator to combine our first equation with the definitions of Fk1 and Fk2. The
result is the following equation:

⎡ mk1 2 k1 k 2 ⎤ ⎡ k1 ⎤
⎢mD + b D + (k1 + k 2 ) D + b ⎥ x = ⎢ D + b ⎥ F
3

⎣ ⎦ ⎣ ⎦

Which, in traditional form becomes:

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))')

As a result of running this script, the following plot is generated:

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

4.4472 2.7017 1.6845 1.0555 0.6523 0.3891 0.2176


0.1084 0.0432 0.0098 -0.0000

Columns 12 through 21

0.0082 0.0302 0.0630 0.1045 0.1529 0.2069 0.2656


0.3282 0.3940 0.4625

The result is easier to interpret when you plot it:

>>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:

0.0125 m < x < 0.018 m

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:

x1 + b1 ( x1 − x2 ) + b2 x1 + k1 ( x1 − x2 ) + k2 ( x1 − x2 ) + k3 x1 = Fi


m1

x2 = b1 ( x1 − x2 ) + k1 ( x1 − x2 ) + k2 ( x1 − x2 )
m2 

Re-arrange to group by terms:

x1 + ( b1 + b2 ) x1 + (k1 + k2 + k3 ) x1 − b1 x2 − ( k1 + k2 ) x2 = Fi


m1

x2 + b1 x2 + ( k1 + k2 ) x2 − b1 x1 − ( k1 + k2 ) x1 = 0
m2 

Now we need to combine these equations to eliminate the unwanted motion


variable, x1. The most expedient approach is to use the “D” operator, solve the
second equation for x1 and substitute it back into the first equation.

⎣⎡ 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

Solving for x1:

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 ) ⎤⎦

Now multiply through by the denominator and gather terms:

[m1m2 D 4 + ( m1b1 + m2 ( b1 + b2 ) ) D 3 + ( m1 ( k1 + k2 ) + b1 ( b1 + b2 ) + m2 ( k1 + k2 + k3 ) − b12 ) D 2

(
+ ( ( 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

Which can be transformed back to an input/output differential equation:


2-37
© 2007 by John Gardner; duplication and distribution rights not granted
d 4 x2 d 3 x2 2
m1m2
dt 4
+ ( 1 1 2 ( 1 2 ) ) dt 3 ( 1 ( 1 2 ) 1 ( 1 2 ) 2 ( 1 2 3 ) 1 ) dt 2
m b + m b + b + m k + k + b b + b + m k + k + k − b 2 d x2

+ ( ( 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

You might also like