SlideShare a Scribd company logo
1 of 6
Download to read offline
International Journal of Engineering Science Invention
ISSN (Online): 2319 – 6734, ISSN (Print): 2319 – 6726
www.ijesi.org ||Volume 6 Issue 4|| April 2017 || PP. 33-38
www.ijesi.org 33 | Page
Simulation of Simple Pendulum
Abdalftah Elbori1
, Ltfei Abdalsmd2
1
(MODES Department Atilim University Turkey)
2
(Material Science Department, Kastamonu University Turkey)
Abstract :This paper presents the Physics Rotational Method of the simple gravity pendulum, and it also
applies Physics Direct Method to represent these equations, in addition to the numerical solutions discusses.
This research investigates the relationship between angular acceleration and angle to find out different
numerical solution by using simulation to see their behavior which shows in last part of this article.
Keywords: Physics Rotational Method, Simple Pendulum, Numerical Solution, Simulation
I. INTRODUCTION
A pendulum is a weight suspended from a pivot so that it can swing freely. When a pendulum is
displaced sideways from its resting equilibrium position, it is subject to a restoring force due to gravity that will
accelerate it back toward the equilibrium position [1] and [2] . When released, the restoring force combined with
the pendulum's mass causes it to oscillate about the equilibrium position, swinging back and forth. The time for
one complete cycle, a left swing and a right swing, is called the period. The period depends on the length of the
pendulum and also on the amplitude of the oscillation. However, if the amplitude is small, the period is almost
independent of the amplitude [3] and [4].
Many things in nature wiggle in a periodic fashion. That is, they vibrate. One such example is a simple
pendulum. If we suspend a mass at the end of a piece of string, we have a simple pendulum. Here, we try to
represents a periodic motion used in times past to control the motion of grandfather and cuckoo clocks. Such
oscillatory motion is called simple harmonic motion[5]. It was Galileo who first observed that the time a
pendulum takes to swing back and forth through small distances depends only on the length of the pendulum[3].
In this paper applies Physics - Rotational Method and Physics Direct Method to represent these equations. In the
second step, it discusses Numerical Solution and Linearization of simple pendulum. In the third step in this
paper figures out how to use Simulation of Simple pendulum and compare with double pendulum, finally we
will find the relationship between angular acceleration and angle to investigate the numerical solution and
simulation to see their behavior.
II. PHYSICS – ROTATIONAL METHOD
The pendulum is modeled as a point mass at the end of a massless rod. We define the following variables as in
the figure 1:
θ = angle of pendulum (0=vertical).
R = length of rod.
T = tension in rod.
m = mass of pendulum.
g = gravitational constant.
Figure.1. Pendulum variables
We will derive the equation of motion for the pendulum using the rotational analog of Newton's second law for
motion about a fixed axis, which is τ = I α, where τ = net torque, I = rotational inertia α=θ= acceleration. The
rotational inertia about the pivot is I=mR². Torque can be calculated as the vector cross product of the position
vector and the force. The magnitude of the torque due to gravity works out to be . So, we
have:
Which simplifies to
This is the equation of motion for the pendulum.
Simulation of Simple Pendulum
www.ijesi.org 34 | Page
III. PHYSICS - DIRECT METHOD
Let us consider Newton's second law . To show that there is nothing new in the rotational version of
Newton's second law, we derive the equation of motion here without the rotational dynamics. As you will see,
this method involves more algebra. We'll need the standard unit vectors, as in the Figure 2.
Figure.2. standard unit vectors
= unit vector in horizontal direction, = unit vector in vertical direction.
Figure.3. One Pendulum
By Figure 3 is easy to derive the kinematics of the pendulum as follows:
,
,
The position is derived by a fairly simple application of trigonometry. The velocity and acceleration are then the
first and second derivatives of the position. Next, we draw the free body diagram for the pendulum. The forces
on the pendulum are the tension in the rod T and gravity. So, it is possible to write the net force as in the figure
4:
Figure.4. Pendulum forces
Using Newton's law and the pendulum acceleration we found earlier, we have
It is possible to rewrite the vector components of the above equation as separate equations. This gives us two
simultaneous equations: the first components is and the second is for the component.
&
Next, by doing some algebraic manipulations to eliminate the unknown T. Multiply the first equation by
and the second by .
mg
T
Simulation of Simple Pendulum
www.ijesi.org 35 | Page
(2)
(3)
By adding the equation (2) and (3) together, we obtain
Therefore,
,
hence,
θ''+ =0
IV. NUMERICAL SOLUTION AND LINEARIZATION
Let us discuss how we can solve the equations of motion numerically, so that we can drive the simulation, we
use the Runge-Kutta method for solving sets of ordinary differential equations. Firstly let us define a variable
for the angular velocity Then we can write the second order equation (1) as two first order equations.
Such as,
Then, &
(4)
The restoring force must be proportional to the negative of the displacement. Here we have: ,
which is proportional to and not to itself.
By using Talyor series to get approximation of the function at the equlibrium point , we obtain
.
Figure.5. Motion of Simple Pendulum
Therefore, for small angles, we have
, where .
We have also the period and frequency are: , and ,
where
and let
We obtain
FT
Simulation of Simple Pendulum
www.ijesi.org 36 | Page
(5)
V. SIMULATION OF SIMPLE PENDULUM.
This simulation shows a simple pendulum operating under gravity. For small oscillations, the pendulum is
linear, but it is non-linear for larger oscillations.
We have where is positive constant. Hence
θ''+ =0 (6)
let us use represent state to solve this ordinary differential equation (6). Let’s start with a same step
.
Then,
&
(7)
Open up a m-file and type:
function dudt=pendulum (t,u)
w=10;
dudt(1,:) = u(2);
dudt(2,:) = -w*sin(u(1));
end
we note that, by looking at the figure.6, a number of frequencies increase as we decrease the value w. Let us
save this file as “pendulum m”. We need to use MATLAB to solve l the differential equation by this code
clear all
tspan=[0,2*pi];
u0=[pi/4;0];
[t,u]=ode45(@pendulum,tspan,u0,[]);
plot(t,u(:,1),'b-', 'Line Width', 2)
xlabel('time')
ylabel('angle')
0 1 2 3 4 5 6 7
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
time
angle
w=10
0 1 2 3 4 5 6 7
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
time
angle
w=100
Figure.6 Angular Displacement
Note that as we increase then oscillations will increase. By another word if we decrease R = length of rod we
will increase number of oscillations
Simulation of Simple Pendulum
www.ijesi.org 37 | Page
V.1 Euler method
We can also use Euler method, let us describe here is the code for the numerical solution of the equations of
motion for a simple pendulum using the Euler method. There is important this, we note that these oscillations
grow with time. The MATLAB code has already existed [1], just we insert our data as in the figure.7
length= 1;
g=9.8;
npoints = 250;
dt = 0.04;
omega = zeros(npoints,1);
theta = zeros(npoints,1);
time = zeros(npoints,1);
theta (1) =0.2;
for step = 1: npoints-1
omega(step+1) = omega(step) - (g/length) *theta(step)*dt;
theta(step+1) = theta(step)+omega(step)*dt
time(step+1) = time(step) + dt;
end
plot (time,theta,'r' ); xlabel('time (seconds) ');
ylabel ('theta (radians)');
0 1 2 3 4 5 6 7 8 9 10
-1.5
-1
-0.5
0
0.5
1
1.5
time (seconds)
theta(radians)
Simple Pendulum - Euler Method
Figure.7 Numerical Solution by Euler Method
VI. SIMULATION OF SIMPLE NON‐LINEAR.
Although finding an analytical solution to the simple non‐linear model is not evident, it can be solved
numerically with the aid of MATLAB‐Simulink. Start by isolating the highest order derivative from the linear
model:
The MATLAB‐Simulink model that solves this equation is given by the figure.8.
Figure.8 Simulation of Simple Nonlinear Pendulum
Note that the drag force must change sign based on the angular velocity of the pendulum. In other words,
although the drag force is taken as constant, it must always act opposite to the direction of motion.
If we run the figure.9, we obtain figure.9 and it depends on initial condition and the mass =55 and time=12
second, inertia= [ 1.25e-4 0 0; 0 0.208 0; 0 0 0.208], we obtain
Simulation of Simple Pendulum
www.ijesi.org 38 | Page
Figure.9 coordinates axes
VII. CONCLUSION
The length of the simple pendulum is directly proportional to the square of the period of oscillation, we
found that the pendulum goes slower than simple pendulum theory at larger angles. The time of this motion is
called the period, the period does not depend on the mass of the pendulum or on the size of the arc through
which it swings. Another factor involved in the period of motion is, the acceleration due to gravity (g), which on
the earth is 9.8 m/s2. It follows then that a long pendulum has a greater period than a shorter pendulum.
REFERENCES
[1]. Kidd, R.B. and S.L. Fogg, A simple formula for the large-angle pendulum period. The Physics Teacher, 2002. 40(2): p. 81-83.
[2]. Kenison, M. and W. Singhose. Input shaper design for double-pendulum planar gantry cranes. in Control Applications, 1999.
Proceedings of the 1999 IEEE International Conference on. 1999. IEEE.
[3]. Ganley, W., Simple pendulum approximation. American Journal of Physics, 1985. 53(1): p. 73-76.
[4]. Shinbrot, T., et al., Chaos in a double pendulum. American Journal of Physics, 1992. 60(6): p. 491-499.
[5]. Åström, K.J. and K. Furuta, Swinging up a pendulum by energy control. Automatica, 2000. 36(2): p. 287-295.

More Related Content

What's hot

Numerical and statistical methods new
Numerical and statistical methods newNumerical and statistical methods new
Numerical and statistical methods newAabha Tiwari
 
solved examples in fourier series.
solved examples in fourier series.solved examples in fourier series.
solved examples in fourier series.salum jabir
 
Applications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First DegreeApplications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First DegreeDheirya Joshi
 
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions Manual
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions ManualStatics and Mechanics of Materials 5th Edition Hibbeler Solutions Manual
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions Manualnubob
 
3d printer project report
3d printer project report3d printer project report
3d printer project reportsubhashis das
 
machine-design-problems
machine-design-problemsmachine-design-problems
machine-design-problemsAyuob Yahay
 
CE6451 - FLUID MECHANICS AND MACHINERY NOTES
CE6451 - FLUID MECHANICS AND MACHINERY NOTES CE6451 - FLUID MECHANICS AND MACHINERY NOTES
CE6451 - FLUID MECHANICS AND MACHINERY NOTES ASHOK KUMAR RAJENDRAN
 

What's hot (11)

Numerical and statistical methods new
Numerical and statistical methods newNumerical and statistical methods new
Numerical and statistical methods new
 
solved examples in fourier series.
solved examples in fourier series.solved examples in fourier series.
solved examples in fourier series.
 
Matter waves
Matter wavesMatter waves
Matter waves
 
Applications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First DegreeApplications of Differential Equations of First order and First Degree
Applications of Differential Equations of First order and First Degree
 
Chapter 3 (maths 3)
Chapter 3 (maths 3)Chapter 3 (maths 3)
Chapter 3 (maths 3)
 
Matlab-fundamentals of matlab-1
Matlab-fundamentals of matlab-1Matlab-fundamentals of matlab-1
Matlab-fundamentals of matlab-1
 
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions Manual
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions ManualStatics and Mechanics of Materials 5th Edition Hibbeler Solutions Manual
Statics and Mechanics of Materials 5th Edition Hibbeler Solutions Manual
 
3d printer project report
3d printer project report3d printer project report
3d printer project report
 
machine-design-problems
machine-design-problemsmachine-design-problems
machine-design-problems
 
CE6451 - FLUID MECHANICS AND MACHINERY NOTES
CE6451 - FLUID MECHANICS AND MACHINERY NOTES CE6451 - FLUID MECHANICS AND MACHINERY NOTES
CE6451 - FLUID MECHANICS AND MACHINERY NOTES
 
Harmonic oscillator
Harmonic oscillatorHarmonic oscillator
Harmonic oscillator
 

Similar to Simulation of Simple Pendulum

A Route to Chaos for the Physical Double Pendulum by
A Route to Chaos for the Physical Double Pendulum by A Route to Chaos for the Physical Double Pendulum by
A Route to Chaos for the Physical Double Pendulum by Daniel Berkowitz
 
Simulation of Double Pendulum
Simulation of Double PendulumSimulation of Double Pendulum
Simulation of Double PendulumQUESTJOURNAL
 
REPORT SUMMARYVibration refers to a mechanical.docx
REPORT SUMMARYVibration refers to a mechanical.docxREPORT SUMMARYVibration refers to a mechanical.docx
REPORT SUMMARYVibration refers to a mechanical.docxdebishakespeare
 
Form 4 experiments all topics
Form 4 experiments all topicsForm 4 experiments all topics
Form 4 experiments all topicsCarwoy Rock
 
Circular motion
Circular motionCircular motion
Circular motionBashrTebse
 
Damped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptxDamped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptxBrijeshMishra525980
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
The simple pendulum (using O.D.E)
The simple pendulum (using O.D.E)The simple pendulum (using O.D.E)
The simple pendulum (using O.D.E)darshan231995
 
On Equivalent Amplitude Motion of the Foucault Pendulum
On Equivalent Amplitude Motion of the Foucault PendulumOn Equivalent Amplitude Motion of the Foucault Pendulum
On Equivalent Amplitude Motion of the Foucault PendulumShuai Yuan
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)irjes
 

Similar to Simulation of Simple Pendulum (20)

Shm 1
Shm 1Shm 1
Shm 1
 
A Route to Chaos for the Physical Double Pendulum by
A Route to Chaos for the Physical Double Pendulum by A Route to Chaos for the Physical Double Pendulum by
A Route to Chaos for the Physical Double Pendulum by
 
Simulation of Double Pendulum
Simulation of Double PendulumSimulation of Double Pendulum
Simulation of Double Pendulum
 
REPORT SUMMARYVibration refers to a mechanical.docx
REPORT SUMMARYVibration refers to a mechanical.docxREPORT SUMMARYVibration refers to a mechanical.docx
REPORT SUMMARYVibration refers to a mechanical.docx
 
Story of pendulum
Story of pendulumStory of pendulum
Story of pendulum
 
AP Physics C Rotational Motion
AP Physics C Rotational MotionAP Physics C Rotational Motion
AP Physics C Rotational Motion
 
ProjectAndersSchreiber
ProjectAndersSchreiberProjectAndersSchreiber
ProjectAndersSchreiber
 
Free vibrations
Free vibrationsFree vibrations
Free vibrations
 
Form 4 experiments all topics
Form 4 experiments all topicsForm 4 experiments all topics
Form 4 experiments all topics
 
Chapter 2 pp
Chapter 2 ppChapter 2 pp
Chapter 2 pp
 
Shm
ShmShm
Shm
 
Circular motion
Circular motionCircular motion
Circular motion
 
Damped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptxDamped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptx
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
The simple pendulum (using O.D.E)
The simple pendulum (using O.D.E)The simple pendulum (using O.D.E)
The simple pendulum (using O.D.E)
 
On Equivalent Amplitude Motion of the Foucault Pendulum
On Equivalent Amplitude Motion of the Foucault PendulumOn Equivalent Amplitude Motion of the Foucault Pendulum
On Equivalent Amplitude Motion of the Foucault Pendulum
 
Ch09 ssm
Ch09 ssmCh09 ssm
Ch09 ssm
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
 
group 9 sec c3 .docx
group 9 sec  c3 .docxgroup 9 sec  c3 .docx
group 9 sec c3 .docx
 
Fly wheel(2).docx
Fly wheel(2).docxFly wheel(2).docx
Fly wheel(2).docx
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 

Simulation of Simple Pendulum

  • 1. International Journal of Engineering Science Invention ISSN (Online): 2319 – 6734, ISSN (Print): 2319 – 6726 www.ijesi.org ||Volume 6 Issue 4|| April 2017 || PP. 33-38 www.ijesi.org 33 | Page Simulation of Simple Pendulum Abdalftah Elbori1 , Ltfei Abdalsmd2 1 (MODES Department Atilim University Turkey) 2 (Material Science Department, Kastamonu University Turkey) Abstract :This paper presents the Physics Rotational Method of the simple gravity pendulum, and it also applies Physics Direct Method to represent these equations, in addition to the numerical solutions discusses. This research investigates the relationship between angular acceleration and angle to find out different numerical solution by using simulation to see their behavior which shows in last part of this article. Keywords: Physics Rotational Method, Simple Pendulum, Numerical Solution, Simulation I. INTRODUCTION A pendulum is a weight suspended from a pivot so that it can swing freely. When a pendulum is displaced sideways from its resting equilibrium position, it is subject to a restoring force due to gravity that will accelerate it back toward the equilibrium position [1] and [2] . When released, the restoring force combined with the pendulum's mass causes it to oscillate about the equilibrium position, swinging back and forth. The time for one complete cycle, a left swing and a right swing, is called the period. The period depends on the length of the pendulum and also on the amplitude of the oscillation. However, if the amplitude is small, the period is almost independent of the amplitude [3] and [4]. Many things in nature wiggle in a periodic fashion. That is, they vibrate. One such example is a simple pendulum. If we suspend a mass at the end of a piece of string, we have a simple pendulum. Here, we try to represents a periodic motion used in times past to control the motion of grandfather and cuckoo clocks. Such oscillatory motion is called simple harmonic motion[5]. It was Galileo who first observed that the time a pendulum takes to swing back and forth through small distances depends only on the length of the pendulum[3]. In this paper applies Physics - Rotational Method and Physics Direct Method to represent these equations. In the second step, it discusses Numerical Solution and Linearization of simple pendulum. In the third step in this paper figures out how to use Simulation of Simple pendulum and compare with double pendulum, finally we will find the relationship between angular acceleration and angle to investigate the numerical solution and simulation to see their behavior. II. PHYSICS – ROTATIONAL METHOD The pendulum is modeled as a point mass at the end of a massless rod. We define the following variables as in the figure 1: θ = angle of pendulum (0=vertical). R = length of rod. T = tension in rod. m = mass of pendulum. g = gravitational constant. Figure.1. Pendulum variables We will derive the equation of motion for the pendulum using the rotational analog of Newton's second law for motion about a fixed axis, which is τ = I α, where τ = net torque, I = rotational inertia α=θ= acceleration. The rotational inertia about the pivot is I=mR². Torque can be calculated as the vector cross product of the position vector and the force. The magnitude of the torque due to gravity works out to be . So, we have: Which simplifies to This is the equation of motion for the pendulum.
  • 2. Simulation of Simple Pendulum www.ijesi.org 34 | Page III. PHYSICS - DIRECT METHOD Let us consider Newton's second law . To show that there is nothing new in the rotational version of Newton's second law, we derive the equation of motion here without the rotational dynamics. As you will see, this method involves more algebra. We'll need the standard unit vectors, as in the Figure 2. Figure.2. standard unit vectors = unit vector in horizontal direction, = unit vector in vertical direction. Figure.3. One Pendulum By Figure 3 is easy to derive the kinematics of the pendulum as follows: , , The position is derived by a fairly simple application of trigonometry. The velocity and acceleration are then the first and second derivatives of the position. Next, we draw the free body diagram for the pendulum. The forces on the pendulum are the tension in the rod T and gravity. So, it is possible to write the net force as in the figure 4: Figure.4. Pendulum forces Using Newton's law and the pendulum acceleration we found earlier, we have It is possible to rewrite the vector components of the above equation as separate equations. This gives us two simultaneous equations: the first components is and the second is for the component. & Next, by doing some algebraic manipulations to eliminate the unknown T. Multiply the first equation by and the second by . mg T
  • 3. Simulation of Simple Pendulum www.ijesi.org 35 | Page (2) (3) By adding the equation (2) and (3) together, we obtain Therefore, , hence, θ''+ =0 IV. NUMERICAL SOLUTION AND LINEARIZATION Let us discuss how we can solve the equations of motion numerically, so that we can drive the simulation, we use the Runge-Kutta method for solving sets of ordinary differential equations. Firstly let us define a variable for the angular velocity Then we can write the second order equation (1) as two first order equations. Such as, Then, & (4) The restoring force must be proportional to the negative of the displacement. Here we have: , which is proportional to and not to itself. By using Talyor series to get approximation of the function at the equlibrium point , we obtain . Figure.5. Motion of Simple Pendulum Therefore, for small angles, we have , where . We have also the period and frequency are: , and , where and let We obtain FT
  • 4. Simulation of Simple Pendulum www.ijesi.org 36 | Page (5) V. SIMULATION OF SIMPLE PENDULUM. This simulation shows a simple pendulum operating under gravity. For small oscillations, the pendulum is linear, but it is non-linear for larger oscillations. We have where is positive constant. Hence θ''+ =0 (6) let us use represent state to solve this ordinary differential equation (6). Let’s start with a same step . Then, & (7) Open up a m-file and type: function dudt=pendulum (t,u) w=10; dudt(1,:) = u(2); dudt(2,:) = -w*sin(u(1)); end we note that, by looking at the figure.6, a number of frequencies increase as we decrease the value w. Let us save this file as “pendulum m”. We need to use MATLAB to solve l the differential equation by this code clear all tspan=[0,2*pi]; u0=[pi/4;0]; [t,u]=ode45(@pendulum,tspan,u0,[]); plot(t,u(:,1),'b-', 'Line Width', 2) xlabel('time') ylabel('angle') 0 1 2 3 4 5 6 7 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 time angle w=10 0 1 2 3 4 5 6 7 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 time angle w=100 Figure.6 Angular Displacement Note that as we increase then oscillations will increase. By another word if we decrease R = length of rod we will increase number of oscillations
  • 5. Simulation of Simple Pendulum www.ijesi.org 37 | Page V.1 Euler method We can also use Euler method, let us describe here is the code for the numerical solution of the equations of motion for a simple pendulum using the Euler method. There is important this, we note that these oscillations grow with time. The MATLAB code has already existed [1], just we insert our data as in the figure.7 length= 1; g=9.8; npoints = 250; dt = 0.04; omega = zeros(npoints,1); theta = zeros(npoints,1); time = zeros(npoints,1); theta (1) =0.2; for step = 1: npoints-1 omega(step+1) = omega(step) - (g/length) *theta(step)*dt; theta(step+1) = theta(step)+omega(step)*dt time(step+1) = time(step) + dt; end plot (time,theta,'r' ); xlabel('time (seconds) '); ylabel ('theta (radians)'); 0 1 2 3 4 5 6 7 8 9 10 -1.5 -1 -0.5 0 0.5 1 1.5 time (seconds) theta(radians) Simple Pendulum - Euler Method Figure.7 Numerical Solution by Euler Method VI. SIMULATION OF SIMPLE NON‐LINEAR. Although finding an analytical solution to the simple non‐linear model is not evident, it can be solved numerically with the aid of MATLAB‐Simulink. Start by isolating the highest order derivative from the linear model: The MATLAB‐Simulink model that solves this equation is given by the figure.8. Figure.8 Simulation of Simple Nonlinear Pendulum Note that the drag force must change sign based on the angular velocity of the pendulum. In other words, although the drag force is taken as constant, it must always act opposite to the direction of motion. If we run the figure.9, we obtain figure.9 and it depends on initial condition and the mass =55 and time=12 second, inertia= [ 1.25e-4 0 0; 0 0.208 0; 0 0 0.208], we obtain
  • 6. Simulation of Simple Pendulum www.ijesi.org 38 | Page Figure.9 coordinates axes VII. CONCLUSION The length of the simple pendulum is directly proportional to the square of the period of oscillation, we found that the pendulum goes slower than simple pendulum theory at larger angles. The time of this motion is called the period, the period does not depend on the mass of the pendulum or on the size of the arc through which it swings. Another factor involved in the period of motion is, the acceleration due to gravity (g), which on the earth is 9.8 m/s2. It follows then that a long pendulum has a greater period than a shorter pendulum. REFERENCES [1]. Kidd, R.B. and S.L. Fogg, A simple formula for the large-angle pendulum period. The Physics Teacher, 2002. 40(2): p. 81-83. [2]. Kenison, M. and W. Singhose. Input shaper design for double-pendulum planar gantry cranes. in Control Applications, 1999. Proceedings of the 1999 IEEE International Conference on. 1999. IEEE. [3]. Ganley, W., Simple pendulum approximation. American Journal of Physics, 1985. 53(1): p. 73-76. [4]. Shinbrot, T., et al., Chaos in a double pendulum. American Journal of Physics, 1992. 60(6): p. 491-499. [5]. Åström, K.J. and K. Furuta, Swinging up a pendulum by energy control. Automatica, 2000. 36(2): p. 287-295.