Docsity

Simple Pendulum-Modeling and Simulation-Lecture Handouts, Lecture notes of Mathematical Modeling and Simulation

Toggle sidebar
bg1
1๎˜ƒCIS308๎˜ƒโ€๎˜ƒModeling๎˜ƒand๎˜ƒSimulation๎˜ƒ
Handout#27๎˜ƒ
Simple๎˜ƒPendulum
Any๎˜ƒobject๎˜ƒthat๎˜ƒswings๎˜ƒback๎˜ƒand๎˜ƒforth๎˜ƒis๎˜ƒcalled๎˜ƒa๎˜ƒphysical๎˜ƒpendulum.๎˜ƒThe๎˜ƒsimple๎˜ƒpendulum๎˜ƒis๎˜ƒa๎˜ƒspecial๎˜ƒ
case๎˜ƒof๎˜ƒthe๎˜ƒphysical๎˜ƒpendulum๎˜ƒand๎˜ƒconsists๎˜ƒof๎˜ƒa๎˜ƒrod๎˜ƒof๎˜ƒlength๎˜ƒl๎˜ƒto๎˜ƒwhich๎˜ƒa๎˜ƒmass๎˜ƒm๎˜ƒis๎˜ƒattached๎˜ƒat๎˜ƒone๎˜ƒend.๎˜ƒ
In๎˜ƒdescribing๎˜ƒthe๎˜ƒmotion๎˜ƒof๎˜ƒa๎˜ƒsimple๎˜ƒpendulum๎˜ƒin๎˜ƒa๎˜ƒvertical๎˜ƒplane,๎˜ƒwe๎˜ƒmake๎˜ƒthe๎˜ƒsimplifying๎˜ƒassumptions๎˜ƒ
that๎˜ƒthe๎˜ƒmass๎˜ƒof๎˜ƒthe๎˜ƒrod๎˜ƒis๎˜ƒnegligible๎˜ƒand๎˜ƒthat๎˜ƒno๎˜ƒexternal๎˜ƒdamping๎˜ƒor๎˜ƒdriving๎˜ƒforces๎˜ƒact๎˜ƒon๎˜ƒthe๎˜ƒsystem.๎˜ƒ๎˜ƒ
๎˜ƒ
Mathematical๎˜ƒModel๎˜ƒ๎˜ƒ
๎˜ƒ๎˜ƒ
To๎˜ƒderive๎˜ƒthe๎˜ƒdifferential๎˜ƒequation๎˜ƒof๎˜ƒmotion๎˜ƒfor๎˜ƒthe๎˜ƒpendulum,๎˜ƒ
we๎˜ƒbegin๎˜ƒwith๎˜ƒNewtonโ€™s๎˜ƒsecond๎˜ƒlaw๎˜ƒin๎˜ƒrotational๎˜ƒform๎˜ƒ
)1(
2
12
2
2
โˆ’โˆ’โˆ’โˆ’โˆ’= dt
d
I
ฮธ
ฯ„
๎˜ƒ
where๎˜ƒฯ„๎˜ƒis๎˜ƒthe๎˜ƒtorque,๎˜ƒI๎˜ƒis๎˜ƒthe๎˜ƒmoment๎˜ƒof๎˜ƒinertia,๎˜ƒฮฑ๎˜ƒis๎˜ƒthe๎˜ƒangular๎˜ƒ
acceleration,๎˜ƒand๎˜ƒฮธ๎˜ƒis๎˜ƒthe๎˜ƒangle๎˜ƒfrom๎˜ƒthe๎˜ƒvertical.๎˜ƒIn๎˜ƒthe๎˜ƒcase๎˜ƒof๎˜ƒ
the๎˜ƒpendulum,๎˜ƒthe๎˜ƒtorque๎˜ƒis๎˜ƒgiven๎˜ƒby๎˜ƒ
)2(sin โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’=
ฮธ
ฯ„
mgL ๎˜ƒ
and๎˜ƒthe๎˜ƒmoment๎˜ƒof๎˜ƒinertia๎˜ƒis
)3(
2โˆ’โˆ’โˆ’โˆ’โˆ’= mLI ๎˜ƒ
Substituting๎˜ƒthe๎˜ƒvalues๎˜ƒof๎˜ƒฯ„๎˜ƒfrom๎˜ƒeq.๎˜ƒ(2)๎˜ƒand๎˜ƒI๎˜ƒfrom๎˜ƒeq.๎˜ƒ(3)๎˜ƒin๎˜ƒeq.๎˜ƒ
(1),๎˜ƒwe๎˜ƒget๎˜ƒ๎˜ƒ
2
2
2
2
1
sin dt
d
mLmgL
ฮธ
ฮธ
=โˆ’ ๎˜ƒ
)4(0sin
2
2
โˆ’โˆ’โˆ’โˆ’โˆ’=+
ฮธ
ฮธ
L
g
dt
d
๎˜ƒ
For๎˜ƒthe๎˜ƒpendulum๎˜ƒproblem,๎˜ƒthe๎˜ƒdifferential๎˜ƒequation๎˜ƒcan๎˜ƒbe๎˜ƒwritten๎˜ƒin๎˜ƒthe๎˜ƒform๎˜ƒ
ฮธโ€™โ€™+๎˜ƒฯ‰2๎˜ƒsinฮธ๎˜ƒ=๎˜ƒ๎˜ƒ0,๎˜ƒwhere๎˜ƒฯ‰2๎˜ƒ=๎˜ƒg/L๎˜ƒ๎˜ƒ๎˜ƒโ€โ€โ€โ€โ€๎˜ƒ(5)๎˜ƒ
๎˜ƒ
Because๎˜ƒof๎˜ƒthe๎˜ƒsine๎˜ƒterm๎˜ƒthis๎˜ƒis๎˜ƒa๎˜ƒnonlinear๎˜ƒdifferential๎˜ƒequation.๎˜ƒThe๎˜ƒlinear๎˜ƒapproximation๎˜ƒfor๎˜ƒsmall๎˜ƒ
angles๎˜ƒis๎˜ƒobtained๎˜ƒby๎˜ƒreplacing๎˜ƒsinฮธ๎˜ƒby๎˜ƒฮธ,๎˜ƒthe๎˜ƒfirst๎˜ƒterm๎˜ƒin๎˜ƒthe๎˜ƒTaylor๎˜ƒseries๎˜ƒexpansion๎˜ƒof๎˜ƒsinฮธ๎˜ƒ
ฮธโ€™โ€™+๎˜ƒฯ‰2๎˜ƒฮธ๎˜ƒ=๎˜ƒ0,๎˜ƒwhere๎˜ƒฯ‰2๎˜ƒ=๎˜ƒg/L๎˜ƒ๎˜ƒ๎˜ƒโ€โ€โ€โ€โ€๎˜ƒ(6)๎˜ƒ
๎˜ƒ
The๎˜ƒcharacteristic๎˜ƒequation๎˜ƒis๎˜ƒgiven๎˜ƒby๎˜ƒ
x2๎˜ƒ+๎˜ƒฯ‰2x๎˜ƒ=๎˜ƒ0๎˜ƒ๎˜ƒ๎˜ƒโ€โ€โ€โ€โ€(7)๎˜ƒ
๎˜ƒ
Let๎˜ƒus๎˜ƒtake๎˜ƒthe๎˜ƒtrial๎˜ƒsolution๎˜ƒx๎˜ƒ=๎˜ƒert.๎˜ƒSubstituting๎˜ƒinto๎˜ƒ(7)๎˜ƒgives๎˜ƒ
r2ert๎˜ƒ+๎˜ƒฯ‰2ert๎˜ƒ=๎˜ƒ0๎˜ƒ
which๎˜ƒimplies๎˜ƒthat๎˜ƒr2๎˜ƒ+๎˜ƒฯ‰2๎˜ƒ=๎˜ƒ0๎˜ƒso๎˜ƒr๎˜ƒ=๎˜ƒยฑiฯ‰.๎˜ƒSince๎˜ƒthis๎˜ƒis๎˜ƒa๎˜ƒlinear๎˜ƒdifferential๎˜ƒequation๎˜ƒthe๎˜ƒgeneral๎˜ƒsolution๎˜ƒof๎˜ƒ
(7)๎˜ƒin๎˜ƒcomplex๎˜ƒform๎˜ƒis๎˜ƒgiven๎˜ƒby๎˜ƒ
x๎˜ƒ=๎˜ƒc1eiฯ‰t๎˜ƒ+๎˜ƒc2eโ€iฯ‰t๎˜ƒโ€โ€โ€โ€โ€๎˜ƒ๎˜ƒ๎˜ƒ(8)๎˜ƒ
๎˜ƒ
docsity.com
pf2

Partial preview of the text

Download Simple Pendulum-Modeling and Simulation-Lecture Handouts and more Lecture notes Mathematical Modeling and Simulation in PDF only on Docsity!

CIS308 โ€ Modeling and Simulation 1

Handout#

Simple Pendulum

Any object that swings back and forth is called a physical pendulum. The simple pendulum is a special case of the physical pendulum and consists of a rod of length l to which a mass m is attached at one end. In describing the motion of a simple pendulum in a vertical plane, we make the simplifying assumptions that the mass of the rod is negligible and that no external damping or driving forces act on the system.

Mathematical Model

To derive the differential equation of motion for the pendulum, we begin with Newtonโ€™s second law in rotational form

2

2

dt

d

I

where ฯ„ is the torque, I is the moment of inertia, ฮฑ is the angular acceleration, and ฮธ is the angle from the vertical. In the case of the pendulum, the torque is given by

ฯ„ =โˆ’ mgL sin ฮธ โˆ’โˆ’โˆ’โˆ’โˆ’( 2 )

and the moment of inertia is

I = mL^2 โˆ’โˆ’โˆ’โˆ’โˆ’( 3 )

Substituting the values of ฯ„ from eq. (2) and I from eq. (3) in eq. (1), we get

2

2 2

sin

dt

d

mgL mL

ฮธ

2 sin^0 (^4 )

2

L

g dt

d

For the pendulum problem, the differential equation can be written in the form ฮธโ€™โ€™+ ฯ‰^2 sinฮธ = 0, where ฯ‰^2 = g/L โ€โ€โ€โ€โ€ (5)

Because of the sine term this is a nonlinear differential equation. The linear approximation for small angles is obtained by replacing sinฮธ by ฮธ, the first term in the Taylor series expansion of sinฮธ ฮธโ€™โ€™+ ฯ‰^2 ฮธ = 0, where ฯ‰^2 = g/L โ€โ€โ€โ€โ€ (6)

The characteristic equation is given by x^2 + ฯ‰^2 x = 0 โ€โ€โ€โ€โ€(7)

Let us take the trial solution x = ert. Substituting into (7) gives r 2 ert^ + ฯ‰^2 ert^ = 0 which implies that r 2 + ฯ‰^2 = 0 so r = ยฑiฯ‰. Since this is a linear differential equation the general solution of (7) in complex form is given by

x = c 1 e iฯ‰t^ + c 2 eโ€iฯ‰t^ โ€โ€โ€โ€โ€ (8)

docsity.com

CIS308 โ€ Modeling and Simulation 2

We can use the identity e iฯ‰t^ = cosฯ‰t + isinฯ‰t to obtain the general solution in real form x = c 1 eiฯ‰t^ + c 2 eโ€iฯ‰t = c 1 (cosฯ‰t + i sinฯ‰t) + c 2 (cosฯ‰t โˆ’ i sinฯ‰t) = (c 1 + c 2 ) cosฯ‰t + i(c 1 โˆ’ c 2 ) sinฯ‰t Therefore, the general solution in real form (C and D real) is x = C cosฯ‰t + Dsinฯ‰t โ€โ€โ€โ€โ€ (9)

The particular solution satisfying the initial conditions x(0) = x 0 and xโ€™(0) = v 0 at time t = 0 is obtained by substitution into this equation and its derivative xโ€™ = โˆ’ฯ‰C sinฯ‰t + ฯ‰ Dcosฯ‰t โ€โ€โ€โ€โ€ (10)

This gives the values C = x 0 and D = v 0 /ฯ‰ for the constants C and D, so the particular solution satisfying these initial conditions is given by x = xo cosฯ‰t + (ฮฝo /ฯ‰)sinฯ‰t โ€โ€โ€โ€โ€ (11)

In the special case that v 0 = 0, corresponding to zero initial angular velocity for the pendulum the particular solution has the simple form x = x 0 cosฯ‰t โ€โ€โ€โ€โ€ (12)

docsity.com