Fall 2009/JonathanS

From Class Wiki
Jump to navigation Jump to search

Problem

A simple pendulum with a length L = 0.5m is pulled back and released from an initial angle θ0=12o. Then it is run with a forcing function of cos(3θ) Find an equation that gives the angle of the pendulum at any given time t.

Solution

Assuming no damping and a small angle(θ<15o), the equation for the motion of a simple pendulum can be written as

d2θdt2+gθ=cos(3θ).


Substituting values we get

d2θdt2+9.810.5θ=cos(3θ).

d2θdt2+19.62θ=cos(3θ).


Remember the identities

{f(t)}=F(s)=0estf(t)dt.
{f'(t)}=s2F(s)sf(0)f'(0)


Now we can take the Laplace Transform to change the second order differential equation, from the t domain, into a simple linear equation, from the s domain, that's much easier to work with

{d2θdt2+19.62θ}=s2F(s)sf(0)f'(0)+19.62θ={cos(3θ)}

s2θsθ(0)θ'(0)+19.62θ=ss2+9


Since we know that θ(0)=12o and the initial velocity θ'(0)=0 we get

s2θ12s+19.62θ=ss2+9

θ(s2+19.62)=ss2+9+12s

θ(s2+19.62)=ss2+9+12s(s2+9)s2+9

θ(s2+19.62)=(12s3+109s)s2+9

θ=(12s3+109s)(s2+9)(s2+19.62)

θ=12s3+109s(s4+28.62s2+176.58)


Now we can take the inverse Laplace Transform to convert our equation back into the time domain

1{12s3+109s(s4+28.62s2+176.58)}=0.094162cos(3t)+11.9058cos(4.42945t)


This will give us the angle (in degrees) of the pendulum at any given time t.


Initial Value Theorem

We can use the Initial Value Theorem as a check that our initial values for the problem are valid.

{f'(t)}=sF(s)f(0)=0f'(t)estdt
limn{f'(t)}=limnsF(s)f(0)=limnsF(s)f(0)=0=limnsF(s)=f(0)

Below we will use this theorem to check the values for our problem.

limn{f'(t)}=limnsF(s)f(0)=limn0f'(t)estdt=limns(12s3+109s(s4+28.62s2+176.58))f(0)=0=limns(12s3+109s(s4+28.62s2+176.58))=f(0)12=f(0)

This value f(0)=12 is the initial angle we gave the pendulum so it checks out.

Final Value Theorem

We can use the Final Value Theorem as a check that our final values for the problem are valid.

{f'(t)}=sF(s)f()=0f'(t)estdt
limn0{f'(t)}=limn0sF(s)f()=limn0sF(s)f()=0=limn0sF(s)=f()

Below we will use this theorem to check the values for our problem.

limn0{f'(t)}=limn0sF(s)f()=limn00f'(t)estdt=limn0s(12s3+109s(s4+28.62s2+176.58))f()=0=limn0s(12s3+109s(s4+28.62s2+176.58))=f()0=f()

This is zero because the average angle as time goes to infinity will be zero (halfway between -12 and 12 degrees).

Bode Plot

To find the bode plot we use the function H(s)=12s3+109s(s4+28.62s2+176.58)

Entering this into a program such as Maple, Octave, or MATLAB will give you a plot that looks like this