Professional Documents
Culture Documents
Filip Jeremic
McMaster University
Kinetic Energy
Definition
The energy which an object possesses due to its motion
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Kinetic Energy
Definition
The energy which an object possesses due to its motion
Kinetic Energy
Definition
The energy which an object possesses due to its motion
1
Ek = mv 2
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Potential Energy
Definition
The energy of an object or a system due to the position of the
body or the arrangement of the particles of the system
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Potential Energy
Definition
The energy of an object or a system due to the position of the
body or the arrangement of the particles of the system
Potential Energy
Definition
The energy of an object or a system due to the position of the
body or the arrangement of the particles of the system
Ep = mgh
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Lagrangian Mechanics
Lagrangian Mechanics
Lagrangian Mechanics
Lagrangian
Definition
In classical mechanics, the natural form of the Lagrangian is
defined as L = Ek − Ep
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Lagrangian
Definition
In classical mechanics, the natural form of the Lagrangian is
defined as L = Ek − Ep
s(t) = A sin ωt
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
s(t) = A sin ωt
Problem
Our problem is to derive the E.O.M. which relates time with the
acceleration of the angle from the vertical position
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Visualization
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Visualization
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Visualization
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Visualization
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup
Setup
L = Ek − Ep
1
L = mv 2 − mgy
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ
= L2 θ̇2 (cos2 θ + sin2 θ)
= L2 θ̇2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ
= L2 θ̇2 (cos2 θ + sin2 θ)
= L2 θ̇2
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ
= L2 θ̇2 (cos2 θ + sin2 θ)
= L2 θ̇2
1
L = mv 2 − mgy
2
1
L = mL2 θ̇2 − mgL cos θ
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
∂L
Computing ∂θ
1
L = mL2 θ̇2 − mgL cos θ
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
∂L
Computing ∂θ
1
L = mL2 θ̇2 − mgL cos θ
2
∂L
= 0 + mgL sin θ
∂θ
= mgL sin θ
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mgL cos θ
2
We compute in two steps:
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mgL cos θ
2
We compute in two steps:
∂L
= mL2 θ̇ − 0
∂ θ̇
= mL2 θ̇
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mgL cos θ
2
We compute in two steps:
∂L
= mL2 θ̇ − 0
∂ θ̇
= mL2 θ̇
d ∂L
= mL2 θ̈
dt ∂ θ̇
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup
Setup
L = Ek − Ep
1
L = mv 2 − mgy
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 (cos2 θ + sin2 θ) − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 (cos2 θ + sin2 θ) − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
1
L = mv 2 − mgy
2
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
Setup Continued...
Velocity is a vector representing the change in position, hence
v 2 = ẋ 2 + ẏ 2
= L2 θ̇2 cos2 θ + L2 θ̇2 sin2 θ − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 (cos2 θ + sin2 θ) − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
= L2 θ̇2 − 2ALω sin θ cos (ωt)θ̇ + A2 ω 2 cos2 (ωt)
1
L = mv 2 − mgy
2
1 2 2
L = mL θ̇ − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
∂L
Computing ∂θ
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
∂L
Computing ∂θ
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
∂L
= 0 − mALω cos θ cos (ωt)θ̇ + 0 + mgL sin θ − 0
∂θ
= −mALω cos θ cos (ωt)θ̇ + mgL sin θ
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
We compute in two steps:
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
We compute in two steps:
∂L
= mL2 θ̇ − mALω sin θ cos (ωt) + 0 − 0 − 0
∂ θ̇
= mL2 θ̇ − mALω sin θ cos (ωt)
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
d ∂L
Computing dt ∂ θ̇
1
L = mL2 θ̇2 − mALω sin θ cos (ωt)θ̇
2
1
+ mA2 ω 2 cos2 (ωt) − mgL cos θ − mgA sin (ωt)
2
We compute in two steps:
∂L
= mL2 θ̇ − mALω sin θ cos (ωt) + 0 − 0 − 0
∂ θ̇
= mL2 θ̇ − mALω sin θ cos (ωt)
d ∂L
= mL2 θ̈ − mALω cos θ cos (ωt)θ̇ + mALω 2 sin θ sin (ωt)
dt ∂ θ̇
Background Inverted Pendulum Visualization Derivation Without Oscillator Derivation With Oscillator
References
http://en.wikipedia.org/wiki/Euler-Lagrange equation
http://en.wikipedia.org/wiki/Lagrangian mechanics
http://en.wikipedia.org/wiki/Newton’s laws of motion