SlideShare a Scribd company logo
1 of 3
Download to read offline
Modelling a satellite exiting Earth’s Sphere of influence from low Earth orbit
Ricardo Fritzke
Department of Physics, Whitworth University, 300 W. Hawthorne Rd., Spokane WA, 99251, USA
(Dated: October 24, 2015)
A program was developed to model the trajectory of a satellite leaving a stable orbit until it
exited the Earth’s sphere of influence. The program allowed for the user to input various initial
orbit heights and thruster angle, while outputting a plot of the trajectory and the time taken to
leave earth’s sphere of influence. Comparison of these models revealed that a thrust in the direction
of the satellite’s velocity offered the fastest escape of the earth’s sphere of influence.
I. INTRODUCTION
For the majority of my time in college, my focus has
been on learning physics theory. Recently I have been
able to expand and learn some of the mathematical meth-
ods used to apply physics to more practical, real life situ-
ations. Taking Computational Physics has allowed me to
take it a step further and develop a program that provides
a relevant application by combining my coding experi-
ence with physics theory. While people have looking to
the stars for millenia, Newton was the first to accurately
model the gravitational forces between two objects. For
my project, I used Newton’s gravitational law to model
a satellite exiting the earth’s sphere of influence from a
stable orbit. The program allows for variations in initial
orbital height and thruster angle and outputs the trajec-
tory of the satellite along with the time taken to exit the
earth’s sphere of influence.
II. METHODOLOGY
A. Analytical Methods
The underlying physics behind the interactions be-
tween a satellite and the earth can be reduced to New-
ton’s second law and Newton’s law of universal gravita-
tion, given by
Fg = G
memsat
r2
(1)
where Fg is the gravitational force on the satellite, G is
the gravitational constant, me and msat are the masses
of the earth and the satellite, and r is the distance be-
tween the two. The total mass of the satellite (msat) was
approximated by summing the fixed mass and the pro-
pellant mass.The rate at which mass decreased over time
due to lost propellant (δm) was calculated by dividing
the power of the thruster (Pth) by the exhaust velocity
(vex).
δm = 2
Pth
vex
(2)
All calculatios were done with the assumption that the
satellite was only under the influence of the its thrust,
Earth’s gravitational field, and atmospheric drag. The
acceleration of the satellite can be modelled with:
a(t) =
T − Fd
msat − δm ∗ t
(3)
where T is the force of the thruster and Fd is the force
of drag. The angle of the thruster (φ) was calculated
by adding the angle input by the user (φ0) to the angle
tangent to velocity vector, given by:
φ = φ0 + tan−1
(
ru
h
) (4)
By analyzing the forces on the satellite, four first or-
der differential equations can be integrated to model the
trajectory of the satellite:
˙r = u (5)
˙θ =
h
r2
(6)
˙u =
h2
r3
−
Gme
r2
+ a(t)sin(φ) (7)
˙h = ra(t)cos(φ) (8)
where r is the radial distance from Earth’s center of
mass and θ is the angle from the x-axis. u is the radial
velocity and h is the specific angular momentum of the
satellite. To find the initial velocity of a stable orbit, the
equation for centripetal force was also needed, given by
Fc = ms
v2
s
r
(9)
where vs is the velocity of the satellite in the inital
stable orbit.
2
2
4
6
8
10
30
210
60
240
90
270
120
300
150
330
180 0
FIG. 1. This satellite had an initial stable orbit at 250 km
above the earth with a constant thrust of 3 N tangent to its
velocity. It was able to escape the earth’s sphere of influence
after 123 days.
B. Numerical Methods
In order to translate the analytical equations into a
program, it was necessary to transition from a continuous
domain to a discrete domain. This allows the program to
compute results quickly as an approximation. The pro-
gram begins by asking the user to input the initial height
of the satellite’s stable orbit as well as the angle of the
thruster. The program will then run several calcluations
to determine the rest of the initial conditions. It will then
send the intial values of r, θ, u, and h through a 4th order
Runge-Kutta approximation to solve the four differential
equations. The program will automatically cut off after
the satellite has reached the edge of the earth’s sphere of
influence and will then plot its trajectory along with the
time taken.
III. RESULTS
There are two main results that occur from initializing
the program with different parameters. In one scenario,
the satellite will be able to accumulate enough velocity to
exit the earth’s sphere of influence (see Fig. 1). A second
possibility is that the thruster is placed at an angle that
does not allow for the satellite to gain enough speed to
escape the sphere of influence, and it ends up orbiting the
earth indefinitely (see Fig. 2). When starting the satellite
from an initial orbit with a larger radius, the amount of
time it take to leave the sphere of influence is reduced,
agreeing with what we would expect (see Fig. 3).
After several trials, it was easy to see that the most
efficent angle of thrust was 0 degrees and that the higher
the initial orbit, the faster the satellite was able to escape
earth’s sphere of influence. (see Table I). Interestingly,
the force of drag had extremely small effects on the tra-
jectory of the satellite. Depending on the inital height of
0.02
0.04
0.06
0.08
0.1
30
210
60
240
90
270
120
300
150
330
180 0
FIG. 2. This satellite had an initial stable orbit at 250 km
above the earth with a constant thrust of 3 N 70 degrees above
the angle tangent to its velocity. It was unable to escape the
earth’s sphere of influence and continued to orbit indefinitely.
2
4
6
8
10
30
210
60
240
90
270
120
300
150
330
180 0
FIG. 3. This satellite had an initial stable orbit at 35786 km
above the earth (geosynchonous) with a constant thrust of 3
N 0 degrees above the angle tangent to its velocity. It escaped
the earth’s sphere of influence after 46.430 day.
the satellite, drag would only slow down the satellite by
several minutes over approximately a 3 month time pe-
riod. This is a result of the exremely low density of par-
ticles in space, again in agreement with what we would
expect.
IV. CONCLUSION AND FINAL THOUGHTS
A. Conclusion
This program was able to sucessfully model the tra-
jectory of a satellite exiting earth’s sphere of influence
from a stable orbit. The initial height or the orbit was a
large factor in travel time, and the angle of the thruster
was a large factor on the chance of escaping the sphere of
influence. From ( Table I) we can see that as the initial
orbit height increases, the exit time decreases. Likewise,
3
TABLE I. Time taken to leave Earth’s SOI for differnet initial
conditions
Orbit Height Thruster Angle Time
250 0 123.008
250 30 134.722
250 70 N/A
1500 0 113.481
1500 45 155.581
35786 0 46.430
35786 30 52.316
35786 70 120.353
the lower the thruster angle, the faster the exit time.
While this project was fairly simple in nature, it was a
very valuable learning tool for MATLAB programming as
well as problem solving and troubleshooting. However,
there was a persistant issue with my code, and that was
the drag function. It would seem to work correctly under
certain conditions, but not during others. For whatever
reason, it would occasionally decrease the time to exit the
sphere of influence instead of increase. The drag function
was a last minute addition and I was unfortuanely not
able to rigorously verify it.
B. Final Thoughts
They say that hindsight is 20/20, and I am certainly
glad that I took this course. The learning process was
not simple, easy, or fast, but it was worth it. I knew that
this course would be harder than any Gen-Ed, but I took
it because I wanted to learn something useful. Coming
from nearly no coding experience, I feel like now I have a
very good understanding of MATLAB. This will prove to
be an important skill for any future job or internship, as
there are many situations where computational solutions
are the only way to solve a problem. An important lesson
that I have learned from this class is to be persistant,
precise, and tp utilize my resources. Almost every code
written this Jan-Term felt like it left me in the deep end
of the pool, and it required patience and resourcefulness
to solve, but that is how I needed to learn these skills
that I will be able to use for the rest of my engineering
career.

More Related Content

What's hot

Kepler monitoring l_dwarfs_spot
Kepler monitoring l_dwarfs_spotKepler monitoring l_dwarfs_spot
Kepler monitoring l_dwarfs_spotSérgio Sacani
 
N15. Lucchesi- "fundamental physics with lageos satellites"
N15. Lucchesi- "fundamental physics with lageos satellites"N15. Lucchesi- "fundamental physics with lageos satellites"
N15. Lucchesi- "fundamental physics with lageos satellites"IAPS
 
Progress_on_Understanding_Satellite_Clus
Progress_on_Understanding_Satellite_ClusProgress_on_Understanding_Satellite_Clus
Progress_on_Understanding_Satellite_ClusVladimir Martinusi
 
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)Achmad Darul
 
Cold clumpy accretion_toward_an_active_supermasive_black_hole
Cold clumpy accretion_toward_an_active_supermasive_black_holeCold clumpy accretion_toward_an_active_supermasive_black_hole
Cold clumpy accretion_toward_an_active_supermasive_black_holeSérgio Sacani
 
Gaussian Orbital Determination of 1943 Anteros
Gaussian Orbital Determination of 1943 AnterosGaussian Orbital Determination of 1943 Anteros
Gaussian Orbital Determination of 1943 AnterosMatthew Li
 
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titan
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titanCassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titan
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titanSérgio Sacani
 
Optimal trajectory to Saturn in ion-thruster powered spacecraft
Optimal trajectory to Saturn in ion-thruster powered spacecraftOptimal trajectory to Saturn in ion-thruster powered spacecraft
Optimal trajectory to Saturn in ion-thruster powered spacecraftKristopherKerames
 
Photometry of Giant Propellers in Saturn's Rings
Photometry of Giant Propellers in Saturn's RingsPhotometry of Giant Propellers in Saturn's Rings
Photometry of Giant Propellers in Saturn's RingsJakaylaRobinson
 
A global map_of_the_nearest_known_brown_dwarf
A global map_of_the_nearest_known_brown_dwarfA global map_of_the_nearest_known_brown_dwarf
A global map_of_the_nearest_known_brown_dwarfSérgio Sacani
 
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...Sérgio Sacani
 
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...Sérgio Sacani
 
SuzukisSymplecticIntegrator
SuzukisSymplecticIntegratorSuzukisSymplecticIntegrator
SuzukisSymplecticIntegratorColin Delia
 
Presentation thesis
Presentation thesisPresentation thesis
Presentation thesiss1150048
 
Discovery of rotational modulations in the planetary mass companion 2m1207b i...
Discovery of rotational modulations in the planetary mass companion 2m1207b i...Discovery of rotational modulations in the planetary mass companion 2m1207b i...
Discovery of rotational modulations in the planetary mass companion 2m1207b i...Sérgio Sacani
 
On some structural_features_of_the_metagalaxy
On some structural_features_of_the_metagalaxyOn some structural_features_of_the_metagalaxy
On some structural_features_of_the_metagalaxySérgio Sacani
 

What's hot (20)

Kepler monitoring l_dwarfs_spot
Kepler monitoring l_dwarfs_spotKepler monitoring l_dwarfs_spot
Kepler monitoring l_dwarfs_spot
 
F0344451
F0344451F0344451
F0344451
 
N15. Lucchesi- "fundamental physics with lageos satellites"
N15. Lucchesi- "fundamental physics with lageos satellites"N15. Lucchesi- "fundamental physics with lageos satellites"
N15. Lucchesi- "fundamental physics with lageos satellites"
 
Progress_on_Understanding_Satellite_Clus
Progress_on_Understanding_Satellite_ClusProgress_on_Understanding_Satellite_Clus
Progress_on_Understanding_Satellite_Clus
 
Nature12887
Nature12887Nature12887
Nature12887
 
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)
Karakterisasi Letusan Merapi menggunakan Data SAR (Synthetic Aperture Radar)
 
Cold clumpy accretion_toward_an_active_supermasive_black_hole
Cold clumpy accretion_toward_an_active_supermasive_black_holeCold clumpy accretion_toward_an_active_supermasive_black_hole
Cold clumpy accretion_toward_an_active_supermasive_black_hole
 
Lunar Laser Ranging
Lunar Laser RangingLunar Laser Ranging
Lunar Laser Ranging
 
Gaussian Orbital Determination of 1943 Anteros
Gaussian Orbital Determination of 1943 AnterosGaussian Orbital Determination of 1943 Anteros
Gaussian Orbital Determination of 1943 Anteros
 
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titan
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titanCassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titan
Cassini vims hyperspectral_observations_of_the_huygens _landing_site_on_titan
 
Optimal trajectory to Saturn in ion-thruster powered spacecraft
Optimal trajectory to Saturn in ion-thruster powered spacecraftOptimal trajectory to Saturn in ion-thruster powered spacecraft
Optimal trajectory to Saturn in ion-thruster powered spacecraft
 
Photometry of Giant Propellers in Saturn's Rings
Photometry of Giant Propellers in Saturn's RingsPhotometry of Giant Propellers in Saturn's Rings
Photometry of Giant Propellers in Saturn's Rings
 
A global map_of_the_nearest_known_brown_dwarf
A global map_of_the_nearest_known_brown_dwarfA global map_of_the_nearest_known_brown_dwarf
A global map_of_the_nearest_known_brown_dwarf
 
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...
Low surface brightness_imaging_of_the_magellanic_system_imprints_of_tidal_int...
 
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...
Spectroscopic confirmation of_the_existence_of_large_diffuse_galaxies_in_the_...
 
Index
IndexIndex
Index
 
SuzukisSymplecticIntegrator
SuzukisSymplecticIntegratorSuzukisSymplecticIntegrator
SuzukisSymplecticIntegrator
 
Presentation thesis
Presentation thesisPresentation thesis
Presentation thesis
 
Discovery of rotational modulations in the planetary mass companion 2m1207b i...
Discovery of rotational modulations in the planetary mass companion 2m1207b i...Discovery of rotational modulations in the planetary mass companion 2m1207b i...
Discovery of rotational modulations in the planetary mass companion 2m1207b i...
 
On some structural_features_of_the_metagalaxy
On some structural_features_of_the_metagalaxyOn some structural_features_of_the_metagalaxy
On some structural_features_of_the_metagalaxy
 

Viewers also liked

MATLAB Programs For Beginners. | Abhi Sharma
MATLAB Programs For Beginners. | Abhi SharmaMATLAB Programs For Beginners. | Abhi Sharma
MATLAB Programs For Beginners. | Abhi SharmaAbee Sharma
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to MatlabAmr Rashed
 
Experimental research design
Experimental research designExperimental research design
Experimental research designNursing Path
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 

Viewers also liked (9)

Lent Matlab H Ss
Lent Matlab H SsLent Matlab H Ss
Lent Matlab H Ss
 
Libro de MATLAB
Libro de MATLABLibro de MATLAB
Libro de MATLAB
 
Matlab Basic Tutorial
Matlab Basic TutorialMatlab Basic Tutorial
Matlab Basic Tutorial
 
MATLAB Programs For Beginners. | Abhi Sharma
MATLAB Programs For Beginners. | Abhi SharmaMATLAB Programs For Beginners. | Abhi Sharma
MATLAB Programs For Beginners. | Abhi Sharma
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to Matlab
 
Types of experimental design
Types of experimental designTypes of experimental design
Types of experimental design
 
Experimental Design
Experimental DesignExperimental Design
Experimental Design
 
Experimental research design
Experimental research designExperimental research design
Experimental research design
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Similar to Computational Physics Final Report (MATLAB)

Interplanetary Mission Design
Interplanetary Mission DesignInterplanetary Mission Design
Interplanetary Mission DesignNicholas Cordero
 
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...Sérgio Sacani
 
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20Stefano Coltellacci
 
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet Atmosphere
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet AtmosphereDirect Measure of Radiative And Dynamical Properties Of An Exoplanet Atmosphere
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet AtmosphereSérgio Sacani
 
orbits-escape-velocity.pptx
orbits-escape-velocity.pptxorbits-escape-velocity.pptx
orbits-escape-velocity.pptxminhajuddin82
 
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitation
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal GravitationGiancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitation
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitationconquerer742
 
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...Christopher Iliffe Sprague
 
Solar trackersolution
Solar trackersolutionSolar trackersolution
Solar trackersolutionecampbell3
 
Lab 05 – Gravitation and Keplers Laws Name __________________.docx
Lab 05 – Gravitation and Keplers Laws Name __________________.docxLab 05 – Gravitation and Keplers Laws Name __________________.docx
Lab 05 – Gravitation and Keplers Laws Name __________________.docxDIPESH30
 
Gravitational acceleration | Gravitation | KSSM Physics F5
Gravitational acceleration | Gravitation | KSSM Physics F5Gravitational acceleration | Gravitation | KSSM Physics F5
Gravitational acceleration | Gravitation | KSSM Physics F5Nurul Fadhilah
 
An Earth-sized exoplanet with a Mercury-like composition
An Earth-sized exoplanet with a Mercury-like compositionAn Earth-sized exoplanet with a Mercury-like composition
An Earth-sized exoplanet with a Mercury-like compositionSérgio Sacani
 
There are relativistic effects in the solar group (proves)
There are relativistic effects in the solar group (proves)There are relativistic effects in the solar group (proves)
There are relativistic effects in the solar group (proves)Gerges francis
 
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed moleculeWhy Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed moleculeJames Smith
 
Relativistic Effect in GPS Satellite and Computation of Time Error
Relativistic Effect in GPS Satellite and Computation of Time Error Relativistic Effect in GPS Satellite and Computation of Time Error
Relativistic Effect in GPS Satellite and Computation of Time Error Vedant Srivastava
 

Similar to Computational Physics Final Report (MATLAB) (20)

Interplanetary Mission Design
Interplanetary Mission DesignInterplanetary Mission Design
Interplanetary Mission Design
 
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...
New Post-DART Collision Period for the Didymos System: Evidence for Anomalous...
 
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20
MAGIA satellite. Experimental Astronomy (8 December 2010), pp. 1-20
 
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet Atmosphere
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet AtmosphereDirect Measure of Radiative And Dynamical Properties Of An Exoplanet Atmosphere
Direct Measure of Radiative And Dynamical Properties Of An Exoplanet Atmosphere
 
GR.ppt
GR.pptGR.ppt
GR.ppt
 
orbits-escape-velocity.pptx
orbits-escape-velocity.pptxorbits-escape-velocity.pptx
orbits-escape-velocity.pptx
 
Rocket
RocketRocket
Rocket
 
Chapter2
Chapter2Chapter2
Chapter2
 
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitation
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal GravitationGiancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitation
Giancoli - Chapter 5 - Section 5.6 - 5.9 - Universal Gravitation
 
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...
Simulation of Interplanetary Trajectories Using Forward Euler Numerical Integ...
 
Solar trackersolution
Solar trackersolutionSolar trackersolution
Solar trackersolution
 
Lab 05 – Gravitation and Keplers Laws Name __________________.docx
Lab 05 – Gravitation and Keplers Laws Name __________________.docxLab 05 – Gravitation and Keplers Laws Name __________________.docx
Lab 05 – Gravitation and Keplers Laws Name __________________.docx
 
Ch11 ssm
Ch11 ssmCh11 ssm
Ch11 ssm
 
Gravitational acceleration | Gravitation | KSSM Physics F5
Gravitational acceleration | Gravitation | KSSM Physics F5Gravitational acceleration | Gravitation | KSSM Physics F5
Gravitational acceleration | Gravitation | KSSM Physics F5
 
Gravity.ppt
Gravity.pptGravity.ppt
Gravity.ppt
 
An Earth-sized exoplanet with a Mercury-like composition
An Earth-sized exoplanet with a Mercury-like compositionAn Earth-sized exoplanet with a Mercury-like composition
An Earth-sized exoplanet with a Mercury-like composition
 
There are relativistic effects in the solar group (proves)
There are relativistic effects in the solar group (proves)There are relativistic effects in the solar group (proves)
There are relativistic effects in the solar group (proves)
 
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed moleculeWhy Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
 
9015
90159015
9015
 
Relativistic Effect in GPS Satellite and Computation of Time Error
Relativistic Effect in GPS Satellite and Computation of Time Error Relativistic Effect in GPS Satellite and Computation of Time Error
Relativistic Effect in GPS Satellite and Computation of Time Error
 

Computational Physics Final Report (MATLAB)

  • 1. Modelling a satellite exiting Earth’s Sphere of influence from low Earth orbit Ricardo Fritzke Department of Physics, Whitworth University, 300 W. Hawthorne Rd., Spokane WA, 99251, USA (Dated: October 24, 2015) A program was developed to model the trajectory of a satellite leaving a stable orbit until it exited the Earth’s sphere of influence. The program allowed for the user to input various initial orbit heights and thruster angle, while outputting a plot of the trajectory and the time taken to leave earth’s sphere of influence. Comparison of these models revealed that a thrust in the direction of the satellite’s velocity offered the fastest escape of the earth’s sphere of influence. I. INTRODUCTION For the majority of my time in college, my focus has been on learning physics theory. Recently I have been able to expand and learn some of the mathematical meth- ods used to apply physics to more practical, real life situ- ations. Taking Computational Physics has allowed me to take it a step further and develop a program that provides a relevant application by combining my coding experi- ence with physics theory. While people have looking to the stars for millenia, Newton was the first to accurately model the gravitational forces between two objects. For my project, I used Newton’s gravitational law to model a satellite exiting the earth’s sphere of influence from a stable orbit. The program allows for variations in initial orbital height and thruster angle and outputs the trajec- tory of the satellite along with the time taken to exit the earth’s sphere of influence. II. METHODOLOGY A. Analytical Methods The underlying physics behind the interactions be- tween a satellite and the earth can be reduced to New- ton’s second law and Newton’s law of universal gravita- tion, given by Fg = G memsat r2 (1) where Fg is the gravitational force on the satellite, G is the gravitational constant, me and msat are the masses of the earth and the satellite, and r is the distance be- tween the two. The total mass of the satellite (msat) was approximated by summing the fixed mass and the pro- pellant mass.The rate at which mass decreased over time due to lost propellant (δm) was calculated by dividing the power of the thruster (Pth) by the exhaust velocity (vex). δm = 2 Pth vex (2) All calculatios were done with the assumption that the satellite was only under the influence of the its thrust, Earth’s gravitational field, and atmospheric drag. The acceleration of the satellite can be modelled with: a(t) = T − Fd msat − δm ∗ t (3) where T is the force of the thruster and Fd is the force of drag. The angle of the thruster (φ) was calculated by adding the angle input by the user (φ0) to the angle tangent to velocity vector, given by: φ = φ0 + tan−1 ( ru h ) (4) By analyzing the forces on the satellite, four first or- der differential equations can be integrated to model the trajectory of the satellite: ˙r = u (5) ˙θ = h r2 (6) ˙u = h2 r3 − Gme r2 + a(t)sin(φ) (7) ˙h = ra(t)cos(φ) (8) where r is the radial distance from Earth’s center of mass and θ is the angle from the x-axis. u is the radial velocity and h is the specific angular momentum of the satellite. To find the initial velocity of a stable orbit, the equation for centripetal force was also needed, given by Fc = ms v2 s r (9) where vs is the velocity of the satellite in the inital stable orbit.
  • 2. 2 2 4 6 8 10 30 210 60 240 90 270 120 300 150 330 180 0 FIG. 1. This satellite had an initial stable orbit at 250 km above the earth with a constant thrust of 3 N tangent to its velocity. It was able to escape the earth’s sphere of influence after 123 days. B. Numerical Methods In order to translate the analytical equations into a program, it was necessary to transition from a continuous domain to a discrete domain. This allows the program to compute results quickly as an approximation. The pro- gram begins by asking the user to input the initial height of the satellite’s stable orbit as well as the angle of the thruster. The program will then run several calcluations to determine the rest of the initial conditions. It will then send the intial values of r, θ, u, and h through a 4th order Runge-Kutta approximation to solve the four differential equations. The program will automatically cut off after the satellite has reached the edge of the earth’s sphere of influence and will then plot its trajectory along with the time taken. III. RESULTS There are two main results that occur from initializing the program with different parameters. In one scenario, the satellite will be able to accumulate enough velocity to exit the earth’s sphere of influence (see Fig. 1). A second possibility is that the thruster is placed at an angle that does not allow for the satellite to gain enough speed to escape the sphere of influence, and it ends up orbiting the earth indefinitely (see Fig. 2). When starting the satellite from an initial orbit with a larger radius, the amount of time it take to leave the sphere of influence is reduced, agreeing with what we would expect (see Fig. 3). After several trials, it was easy to see that the most efficent angle of thrust was 0 degrees and that the higher the initial orbit, the faster the satellite was able to escape earth’s sphere of influence. (see Table I). Interestingly, the force of drag had extremely small effects on the tra- jectory of the satellite. Depending on the inital height of 0.02 0.04 0.06 0.08 0.1 30 210 60 240 90 270 120 300 150 330 180 0 FIG. 2. This satellite had an initial stable orbit at 250 km above the earth with a constant thrust of 3 N 70 degrees above the angle tangent to its velocity. It was unable to escape the earth’s sphere of influence and continued to orbit indefinitely. 2 4 6 8 10 30 210 60 240 90 270 120 300 150 330 180 0 FIG. 3. This satellite had an initial stable orbit at 35786 km above the earth (geosynchonous) with a constant thrust of 3 N 0 degrees above the angle tangent to its velocity. It escaped the earth’s sphere of influence after 46.430 day. the satellite, drag would only slow down the satellite by several minutes over approximately a 3 month time pe- riod. This is a result of the exremely low density of par- ticles in space, again in agreement with what we would expect. IV. CONCLUSION AND FINAL THOUGHTS A. Conclusion This program was able to sucessfully model the tra- jectory of a satellite exiting earth’s sphere of influence from a stable orbit. The initial height or the orbit was a large factor in travel time, and the angle of the thruster was a large factor on the chance of escaping the sphere of influence. From ( Table I) we can see that as the initial orbit height increases, the exit time decreases. Likewise,
  • 3. 3 TABLE I. Time taken to leave Earth’s SOI for differnet initial conditions Orbit Height Thruster Angle Time 250 0 123.008 250 30 134.722 250 70 N/A 1500 0 113.481 1500 45 155.581 35786 0 46.430 35786 30 52.316 35786 70 120.353 the lower the thruster angle, the faster the exit time. While this project was fairly simple in nature, it was a very valuable learning tool for MATLAB programming as well as problem solving and troubleshooting. However, there was a persistant issue with my code, and that was the drag function. It would seem to work correctly under certain conditions, but not during others. For whatever reason, it would occasionally decrease the time to exit the sphere of influence instead of increase. The drag function was a last minute addition and I was unfortuanely not able to rigorously verify it. B. Final Thoughts They say that hindsight is 20/20, and I am certainly glad that I took this course. The learning process was not simple, easy, or fast, but it was worth it. I knew that this course would be harder than any Gen-Ed, but I took it because I wanted to learn something useful. Coming from nearly no coding experience, I feel like now I have a very good understanding of MATLAB. This will prove to be an important skill for any future job or internship, as there are many situations where computational solutions are the only way to solve a problem. An important lesson that I have learned from this class is to be persistant, precise, and tp utilize my resources. Almost every code written this Jan-Term felt like it left me in the deep end of the pool, and it required patience and resourcefulness to solve, but that is how I needed to learn these skills that I will be able to use for the rest of my engineering career.