

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CIS308 โ Modeling and Simulation 1
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
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
and the moment of inertia is
Substituting the values of ฯ from eq. (2) and I from eq. (3) in eq. (1), we get
2
2 2
ฮธ
2 sin^0 (^4 )
2
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
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)