The Behavior of Dynamic Systems: 1.0 Where Are We in The Course?
The Behavior of Dynamic Systems: 1.0 Where Are We in The Course?
The Behavior of Dynamic Systems: 1.0 Where Are We in The Course?
Kinematics
Particle
September
September
System of particles
September
October
Rigid Bodies
September
October
Lagrangian formulation
November
Oscillations
December
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
it
it i
Add the homogeneous and solution and the particular solution, plug in the initial
conditions, and you are ready to go!
3.0 Linearization
Consider the inverted pendulum system we discussed in
class, shown in Figure 1. The equation of motion is:
2
2
ml + ka sin cos mgl sin = 0 .
(EQ 1)
eq
eq
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
eq
2, 3 = acos mgl
--------- . in other words, when the pendulum leans to the left or right enough
2
ka
that torque from gravity exactly counterbalances the torque from the spring. Keep in
mind that we are assuming that:
mgl
--------- 1 ;
2
ka
(EQ 2)
acos mgl
------- 2
ka
/2
/2
eq
point i and introduce a perturbation variable i such that = i + i . Here are some
simplifications for any equilibrium point:
sin (
The Behavior of Dynamic Systems
eq
(EQ 3)
(EQ 4)
+ ) sin
eq
+ cos
December 4, 2007
eq
(EQ 5)
3
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
cos (
When
eq
eq
eq
+ ) = cos sin
eq
(EQ 6)
(EQ 7)
and
cos (
eq
+ ) = cos 0 sin0 1 .
eq
(EQ 8)
ize the equations of motion for the inverted pendulum. Lets linearize about 1 = 0 .
Equation 1 simplifies to:
2
2
ml + (ka mgl) = 0 .
(EQ 9)
3.3 Stability
We test for stability by simply generating the characteristic equations and looking at the
roots. Where does the characteristic equation come from? It comes from using a guess
solution of the form ( t ) = Ae
2 2
for example gives us: ml + (ka mgl) = 0 . The solutions of this characteristic
equation are:
2
(ka mgl)- .
= ---------------------------2
ml
But wait, Condition 2 tells us that must be imaginary. This is good news because purely
imaginary roots imply that the system is oscillatory and therefore marginally stable.
Heres the summary:
If the real part of the roots is positive, the system is unstable.
If the real-part of the roots is zero, the system is marginally stable.
If the real-part of the system is negative, the system is asymptotically stable.
If the imaginary part of the roots is non-zero, the system will display oscillatory behav
ior.
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
k
m
c
FIGURE 3. Mass-spring-damper system
(EQ 10)
equivalent mass ml and equivalent spring stiffness (ka mgl) . This system has no
damping. Equation 10 is therefore the canonical system for all single-degree-of-freedom
linear systems of the sort we expect to see in our analysis. Equation 10 has constant coef
ficients and it is a homogenous equation because the right-hand-side is zero.
The solution approach to this canonical equation is a repeat of what we saw in Section 3.3;
we are doing exactly the same thing but now for the general system. Proposing a solution
t
m + c + k = 0 .
(EQ 11)
For systems where c=0, we saw that the natural frequency will be:
k- .
n = + --m
(EQ 12)
We will use this term n to simplify our writing here-forward. We call it the natural fre
quency of the system or the undamped natural frequency of the system. Dividing both
sides of Equation 11 by m, the equation reduces to:
2
c
k
2
c
2
+ ---- + ---- = + ---- + n = 0 .
m
m
m
(EQ 13)
c
We now introduce some new terminology. We define = -------------- as the damping factor.
2 km
Take it on faith for the moment. Equation 13 reduces to:
2
+ 2 n + n .
(EQ 14)
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
2 n 4( n ) 4 n
2
= ---------------------------------------------------------------- = n n 1 .
2
(EQ 15)
For positive and n the real-parts of the roots, as you can see, will always be less than
zero. So if we have a nice system, stability is assured. Now lets understand the behavior
in more detail.
If < 1 , then the system will have complex roots with negative real parts.
If = 1 , then the system will have purely real and repeated negative roots.
If > 1 , then the system will have purely real and distinct negative roots.
Each of these situations results in different behavior. Lets examine them.
If < 1 , the roots are imaginary. We can force the issue by rewriting as:
(EQ 16)
t
Inserting this back into our guessed solution x( t ) = Ae , we get the general solution as:
x( t ) = A 1 e
( n )t + i d t
+ A2 e
( n )t i d t
= e
( n )t
[A 1 e
i d t
+ A2 e
i d t
];
(EQ 17)
in other words, one term for each root. This can also be converted into sines and cosines
using Eulers Formula to get something of the form:
x( t ) = e
( n )t
[B 1 cos d t + B 2 sin d t] .
(EQ 18)
The insight here is that you get a sinusoidal curve of exponentially diminishing amplitude.
The circular frequency of the sinusoid is d .
Inserting the initial conditions x(0) = u o and x (0) = v o and solving for B1 and B2 we
get the particular solution:
x( t ) = e
( n )t
v o + n u o
--------------- sin d t .
u 0 cos d t + -----------
December 4, 2007
(EQ 19)
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
(n )t
+ A 2 te
(n )t
(EQ 20)
Solving once again for A1 and A2 using the initial conditions the initial conditions
x(0) = u and x (0) = v , we get the final particular solution:
o
x( t ) = e
( n )t
[u o + n u o t + v o t] .
(EQ 21)
When >1 we get two real, negative, unequal roots of the form:
n n 1 .
(EQ 22)
2
( n + )t
+ A2 e
( n )t
(EQ 23)
( n )t
[B 1 cosht + B 2 sinht] .
(EQ 24)
Solving for initial conditions x(0) = u o and x (0) = v o , we get the particular solution:
x( t ) = e
( n )t
(v o + n u o )
u o cosht + -------------------------------- sinh t .
w
December 4, 2007
(EQ 25)
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
k
m
p(t)
c
FIGURE 4. Forced mass-spring-damper
mx + cx + kx = p ( t ) .
(EQ 26)
The complete solution of this equation, as you learned, is the sum of the homogeneous
solution and the particular solution. The homogeneous solution is simply the same as what
we derived in the previous section (depending on the damping ratio, look at Sections 4.1,
4.2 or 4.3). We will concentrate on the particular solution to the forcing function.
The forcing function can be any function. It can be a constant force, a linearly increasing
force, a saw-tooth function, a sinusoid or a general squiggle over time. We will not con
sider all these functions. We will limit our analysis to harmonic (sinusoidal) forcing func
tions in this course. There are ways to compute th response to more general forcing
functions but that is what 2.004 is for!
(EQ 27)
One way to solve this equation is to replace the forcing function with the complex func
tion p o e
it
. This is complex, but the real-part of this is simply p o cos t . Let us also call
mx + cx + kx = p o cos t .
(EQ 28)
i(t )
U( m + ic + k)e
Cancelling out e
i(t)
i(t )
= po e
i(t)
(EQ 29)
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
Ue
p o
po k
Uo
- = ------------------------------------------------------------------------------,
= ---------------------------------------=
2
2
2
m + ic + k
(1 r ) + i(2r)
(1 r ) + i(2r)
(EQ 30)
where U o = p o k is the static displacement, i.e., the displacement of the spring if the
forcing function had had the same amplitude but were static in other words of zero fre
quency.
The denominator of the RHS of this equation is a complex number which can be
expressed in complex polar form as:
2
(1 r ) + i(2r) =
2 2
(1 r ) + (2r) e
2r
------------------
i atan
(1 r 2 )
complex modulus
(EQ 31)
phase
(EQ 32)
2r -
.
= atan ----------------2
(1 r )
(EQ 33)
and
(EQ 34)
December 4, 2007
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
D=101
=0.05
=0.3
D=100
=0.8
=0.7
D=10-1
D=10-2
r=10-1
r=100
r=10+1
180o
90o
=0.7
=0.3
=0.05
r=10-1
r=100
r=10+1
As the damping increases, the maximum dynamic amplitude reduces and the peak
moves to the left. This jives with our sense that damping reduces the damped natural
2
frequency: d = n 1 .
When the damping factor exceeds 0.7, there is no resonant peak.
The response always lags the excitation.
December 4, 2007
10
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
At small values of the damping factor, the lag goes from 180o to 0o when the frequency
ratio goes from just below 1 to just above.
Important piece of trivia: we have plotted the log of the gain against r in the upper of the
two graphs. Traditionally, people use 20 times the log of the gain. This is referred to as
decibels (dB). In other words, decibels of gain = 20lo D . Why do they do this? Just
because it is a more precise unit and it gives you greater sensitivity in communicating with
each other. So when you hear someone talk about a 20 dB difference, it means that the
gain is 10 times higher.
2
2
2
(1
r
)
(1 r ) + (2r)
(EQ 35)
The homogenous solution, from Section 4.0, assuming an underdamped system is:
xh( t ) = e
(n )t
[B 1 cos d t + B 2 sin d t] .
(EQ 36)
6.0 Conclusion
So there you have it. In the first two-thirds of the class, you derived the equations of
motion of rigid-body dynamic systems with springs and dampers thrown in. In the last
piece, you looked at how the equations behave. And guess what, you discovered stability,
damping and oscillation. Onwards to 2.004 now!
December 4, 2007
11
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
Appendix A
You might wonder about imaginary numbers, stability, oscillation, etc. Here I provide a
few simple comments which might help you piece together a number of concepts you
have learned over the years.
A.I.
History
The following history of infinite series is taken from Wikipedia, which is an excellent
source, believe it or not. I have listed the cultures which contributed to this topic. I pro
duce this because I want you to know that these concepts are not all that obvious, but if
you ponder them, you can make them somewhat instinctive. Many many mathematical
concepts have similar histories spanning centuries and continents.
The Pythagorean philosopher Zeno considered the problem of summing an infi
nite series to achieve a finite result, but rejected it as an impossibility: the result
was Zeno's paradox [Greece, 450 BC]. Later, Aristotle proposed a philosophical
resolution of the paradox, but the mathematical content was apparently unresolved
until taken up by Democritus and then Archimedes. It was through Archimedes's
method of exhaustion that an infinite number of progressive subdivisions could be
performed to achieve a finite trigonometric result. Liu Hui independently
employed a similar method several centuries later [China, 300 AD].
In the 14th century, the earliest examples of the use of Taylor series and closelyrelated methods were given by Madhava of Sangamagrama [India, 1400 AD].
Though no record of his work survives, writings of later Indian mathematicians
suggest that he found a number of special cases of the Taylor series, including
those for the trigonometric functions of sine, cosine, tangent, and arctangent. The
Kerala school of astronomy and mathematics further expanded his works with var
ious series expansions and rational approximations until the 16th century [India,
1500 AD].
In the 17th century, James Gregory [Scotland] also worked in this area and pub
lished several Maclaurin series [Scotland]. It was not until 1715 however that a
general method for constructing these series for all functions for which they exist
was finally provided by Brook Taylor [England], after whom the series are now
named.
A.II.
Infinite Series
You probably know this, but the English mathematician Brook Taylor came up with what
is now referred to as the Taylor Series: a representation of a function as an infinite sum of
terms calculated from the values of its derivatives at a single point. If a = 0 then the
series is also called the Maclaurin Series, a Scottish Mathematician.
f '(a)
f ''(a)
2 f '''(a)
3
f( x ) = f ( a ) + ------------ (x a) + ------------ (x a) + ---------- --- (x a) .
1!
2!
3!
The Behavior of Dynamic Systems
December 4, 2007
(EQ 37)
12
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
The Taylor Series does not converge or converge to the right value for every function. It
does in the neighborhood of a for a large class of functions called analytic functions. It is
true everywhere for a smaller class of functions called entire functions.
The Taylor expansion can be used to approximate functions in a neighborhood of a, as
we did in linearization. Usually we use the first few terms and ignore the rest.
The Taylor expansion can also be used to understand imaginary numbers. To under
stand this, we first state that the exponential, sine and cosine functions are all entire
functions.
x-- --x x
si ( x ) = x --+ -- ---- +
3! 5! 7!
2
(EQ 38)
x
x x
co ( x ) = 1 ---- + ----- ---- + .
2! 4! 6!
(EQ 39)
Just the first 4 terms in sine, as shown above, actually approximate it to within 3 parts in a
million! So you can get arbitrarily close if you want to.
The series for the exponential is:
2
x
x
x
x
e = 1 + x + ----- + ----- + ----- + .
2! 3! 4!
(EQ 40)
You can see an obvious similarity between Equations 38, 39 and 40. The first two seem to
want to merge to the third, but they dont actually add up, do they? In other words,
x
the imaginary number, i = 1 .1 It was the Swiss mathematician Euler who noticed that,
armed with the concept of imaginary numbers, we can generalize the exponential series to
include the sine and the cosine. He wrote down the Euler Formula in 1748:
x
e = co ( x ) + i si ( x ) .
(EQ 41)
Go ahead, try it outit works. The beauty of this is that now, we can express exponential
and oscillating functions under one complete umbrella.
1. The concept was first introduced by Cadano and Bombelli, both Italians, in the 1500s.
The Behavior of Dynamic Systems
December 4, 2007
13
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
i ---
Imaginary
e
i ---
2
Imaginary
e 4
i ---
e 6
+i
i( o ))
t=0
time
Real
-1
0,0
t=1.6
t=2 +1/2
0,0
+1
Real
+1
-i
amplitude
amplitude
/2
2
3/2
a) Imaginary root
FIGURE 6. Exponentials
A.IV.
time
time
3
a) Real root
and how they behave in the complex plane
When we solve the characteristic equation, we get roots which can be real or complex. If a
ibt
ibt
root is complex, say a + ib , the solution will have the form e . The function e can be
thought of as a rod of unit length which is pinned at, and rotating about, the origin of the
complex plane as shown in Figure 6(a) with an angular speed of b.This of course is what
you know and love as the polar form of a complex number. To make our lives easier for
the purposes of this explanation, assume that b = 1 . As t increases from 0, the rod rotates
counterclockwise as shown. The projection of the rod on the real-axis, which is the real
portion of the complex number, is co ( t ) . The projection on the imaginary axis is si ( t ) .
All obvious, but I just want to make sure everyone is on the same plane. It isnt complex
(well it is.) Remember that you have two roots, and there will be two such terms. If the ini
tial conditions are zero, then the nett answer will be purely realthe imaginary portions
will cancel out in the added-up final term.
If a root is real, say , the rod doesnt rotate. It stays on the real-line and simply increases
or decreases in length over time. There are two options. If is positive, then e
The Behavior of Dynamic Systems
December 4, 2007
explodes
14
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.
on you and you have instability. If the root is negative, then it exponential decay exponen
tially over time as shown in Figure 6(b) (where we assumed = 1 ).
December 4, 2007
15
Cite as: Sanjay Sarma, Nicholas Makris, Yahya Modarres-Sadeghi, and Peter So, course materials for 2.003J/1.053J
Dynamics and Control I, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology.