Difference between revisions of "Tutorial: Gravity Assist"

From Kerbal Space Program Wiki
Jump to: navigation, search
(How to do it: Mün -> Mun)
m (Fixed categories)
 
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
[[File:Gravitational slingshot.svg|right|thumb|Over-simplified example of gravitational slingshot: the spacecraft's velocity (v) changes by up to twice the body's orbital velocity (U).]]
 
[[File:Gravitational slingshot.svg|right|thumb|Over-simplified example of gravitational slingshot: the spacecraft's velocity (v) changes by up to twice the body's orbital velocity (U).]]
  
A '''Gravity Assist''' a.k.a. '''Swing-By''' or '''Slingshot''' is a very fuel-efficient method to change your [[craft]]'s speed and heading using the orbital velocity and gravity of a [[celestial body]]. With the exception of [[Kerbol]], every celestial body orbits another larger body.  Whichever celestial body that your craft is currently in the [[sphere of influence]] of, that body's own orbital velocity is also influencing your craft.  By entering the sphere of influence of a new body, you can use that body's orbital velocity and gravity to your own advantage to increase or decrease your craft's speed and change its heading much more efficiently than firing engines alone.
+
A '''gravity assist''', a.k.a. '''swing-by''' or '''slingshot''', is a fuel-efficient method to change your [[craft]]'s speed and heading using the orbital velocity and gravity of a [[satellite]] (commonly a planet/moon) orbiting the same body as you. By flying either 'ahead' or 'behind' the other body, you can use its gravity to 'pull' you [[prograde]] (or [[retrograde]]), changing your velocity around the primary without any need to fire your engines.
  
 +
It's even possible to repeatedly use a body for a gravity assist, provided you remain in your original SOI and not on an escape trajectory.  Repeated assists are most easily done by using planets.  After the previous assist you will most likely need to perform a small course correction to encounter the satellite again.
  
 
*'''Length:''' 30 minutes
 
*'''Length:''' 30 minutes
Line 10: Line 11:
 
== How to do it ==
 
== How to do it ==
  
In this example we will leave from [[Kerbin]] to a trajectory to [[Duna]] by performing a gravity assist around the [[Mun]]. Usually you need to raise your apoapsis to 85 million km to escape from Kerbin. With this method we will just have to get to the Mun orbit (12 million km). This will save you fuel for several hundred m/s of delta-v.
+
In example one, we will leave from [[Kerbin]] to a trajectory to [[Duna]] by performing a gravity assist around the [[Mun]]. Usually you need to raise your apoapsis to 85 million meters to escape from Kerbin. With this method we will just have to get to the Mun orbit (12 million meters). This will save you fuel for several hundred m/s of delta-v.
  
# Get your ship into a circular Low Kerbin Orbit
+
# Get your ship into a circular Low Kerbin Orbit.
 
# Zoom out so you can see the orbit of Kerbin around the sun.
 
# Zoom out so you can see the orbit of Kerbin around the sun.
 
# Arrange for a fly-by with the Mun just like you learned in the "Going to the Mun" ingame tutorial, but arrange for it to happen while the Mun is heading into the direction you want to go. In this case we want to get further way from the sun, so do it when the Mun is going in that direction - the moment it intersects the orbit of Kerbin.
 
# Arrange for a fly-by with the Mun just like you learned in the "Going to the Mun" ingame tutorial, but arrange for it to happen while the Mun is heading into the direction you want to go. In this case we want to get further way from the sun, so do it when the Mun is going in that direction - the moment it intersects the orbit of Kerbin.
Line 21: Line 22:
 
# So perform another correction maneuver which leads you to another close Mun fly-by and again try to pass it as close as possible. The best moment to perform this maneuver is usually when you are furthest away from Mun.
 
# So perform another correction maneuver which leads you to another close Mun fly-by and again try to pass it as close as possible. The best moment to perform this maneuver is usually when you are furthest away from Mun.
  
Congratulations, you should now be on an orbit leading you in the general direction of Duna with plenty of fuel left for the return trip. When you want to go back, perform the same trick with [[Ike]].
+
Congratulations, you are now on a trajectory toward Duna, or at least on an orbit that can get to it! You could use a similar trick with Ike to escape Duna.
  
== Reverse Gravity assist ==
+
In example two, we will use the gravity of Kerbin to get ourselves to [[Jool]]. This is especially useful for heavy probes like orbiters and manned missions, but useless for probes that are just using it as a flyby.
 +
 
 +
# Get your ship into a circular Low Kerbin Orbit.
 +
# Set up a maneuver node somewhere along the orbit on the night side of Kerbin.
 +
# Pull the prograde vector until you get into a heliocentric orbit, then pull it some more until the time to apoapsis is at least one year. When you get to it, execute the node.
 +
# Warp until you exit Kerbin's SOI, then set up a maneuver node at the apoapsis.
 +
# Pull the retrograde vector until you get an encounter with Kerbin.
 +
# Warp to the node and execute it. Along the way, it is best to fine-tune the trajectory, getting close enough for a Joolean encounter. Remember not to go below 70,000 meters. Execute the correction maneuvers and then warp until you get to the SOI of Kerbin.
 +
# When you get to the SOI of Kerbin, make sure to possibly do science tests, or, if you are using RemoteTech, use it as the final window for quicker communication.
 +
# After you exit Kerbin's SOI, you can make a couple more TCM.
 +
 
 +
Congratulations, you are now on a trajectory set for Jool!
 +
 
 +
== Gravity brake ==
 
[[File:Gravity Assist.svg|right|thumb|Pass in front of a celestial body to brake and behind a celestial body to accelerate]]
 
[[File:Gravity Assist.svg|right|thumb|Pass in front of a celestial body to brake and behind a celestial body to accelerate]]
 
[[File:Jool gravity assist deceleration.jpg|left|thumb|Using a reverse gravity assist around Tylo to get into a Jool orbit. The necessary course correction required less fuel than getting close enough to Jool for an [[aerobrake]] maneuver. It is also much safer than aerobraking.]]
 
[[File:Jool gravity assist deceleration.jpg|left|thumb|Using a reverse gravity assist around Tylo to get into a Jool orbit. The necessary course correction required less fuel than getting close enough to Jool for an [[aerobrake]] maneuver. It is also much safer than aerobraking.]]
  
Should you enter the Duna-Ike system in a suitable trajectory, you can perform a reverse-gravity-assist to lose speed instead of gaining it. To do so just do an Ike-fly-by. In order to lose speed instead of gaining it, your Ike periapsis needs to be in front of Ike's trajectory instead of behind it.
+
Should you enter the Duna-Ike system in a suitable trajectory, you can perform a gravity brake to lose speed instead of gaining it. To do so just do an Ike flyby. In order to lose speed instead of gaining it, your Ike periapsis needs to be in front of Ike's trajectory instead of behind it.
 +
 
 +
The same could go for the Joolean trajectory. However, if you had burned relatively close to the planet and are making a periapsis-raising burn, you could use Tylo's gravity to decrease your orbital period.
  
 
== Powered Gravity assist ==
 
== Powered Gravity assist ==
  
 
To get even more out of a gravity assist, you can perform a powered gravity assist. As you know, accelerating at your periapsis has the greatest effect on your apoapsis. This still applies to your periapsis during a gravity assist. When you accelerate during your fly-by, this fuel is used very efficiently to increase the apoapsis of your final trajectory. This is, however, a very difficult technique, because it is hard to control your final trajectory, even when using a maneuver node.
 
To get even more out of a gravity assist, you can perform a powered gravity assist. As you know, accelerating at your periapsis has the greatest effect on your apoapsis. This still applies to your periapsis during a gravity assist. When you accelerate during your fly-by, this fuel is used very efficiently to increase the apoapsis of your final trajectory. This is, however, a very difficult technique, because it is hard to control your final trajectory, even when using a maneuver node.
 +
 +
== Real Life ==
 +
For those who may be wondering about the physics at work here, or crying "unrealistic game engine exploit": this maneuver ''is'' an exploit of sorts, but an exploitation of the laws of physics rather than a glitch. Also called a gravitational slingshot maneuver, this is a very common trick used by real-world space programs to save vast amounts of fuel on interplanetary missions. What is essentially happening here is that you are using the planet as a giant trebuchet. As the spacecraft approaches periapsis, the two become tethered together by gravity. The craft is dragged slightly in the direction of the planet's motion, and the planet is dragged slightly in the direction of the spacecraft. The effect on the planet is incredibly tiny, small enough that this part of the equation can be ignored both by the game and in the real world. For the much smaller spacecraft, however, it's a significant gain in kinetic energy, which hurls it back out into space like a boulder at a castle wall.
  
 
== See also ==
 
== See also ==
 
* [https://www.youtube.com/watch?v=lIORB7svhaA Using Gravity Assists To Save Fuel] by Scott Manley on YouTube
 
* [https://www.youtube.com/watch?v=lIORB7svhaA Using Gravity Assists To Save Fuel] by Scott Manley on YouTube
* [http://www.youtube.com/watch?v=LA-FTqfuXrI How to perform a gravity assist (Narrated)]
 
 
* {{Wikipedia|Gravity assist}}
 
* {{Wikipedia|Gravity assist}}
  
[[Category:Tutorials]]
+
[[Category:Tutorials|Gravity Assist]]
[[Category:Maneuvers]]
+
[[Category:Maneuvers|Gravity Assist]]

Latest revision as of 19:58, 2 May 2019

Over-simplified example of gravitational slingshot: the spacecraft's velocity (v) changes by up to twice the body's orbital velocity (U).

A gravity assist, a.k.a. swing-by or slingshot, is a fuel-efficient method to change your craft's speed and heading using the orbital velocity and gravity of a satellite (commonly a planet/moon) orbiting the same body as you. By flying either 'ahead' or 'behind' the other body, you can use its gravity to 'pull' you prograde (or retrograde), changing your velocity around the primary without any need to fire your engines.

It's even possible to repeatedly use a body for a gravity assist, provided you remain in your original SOI and not on an escape trajectory. Repeated assists are most easily done by using planets. After the previous assist you will most likely need to perform a small course correction to encounter the satellite again.

  • Length: 30 minutes
  • Difficulty: Medium
  • For version: 0.18.4

How to do it

In example one, we will leave from Kerbin to a trajectory to Duna by performing a gravity assist around the Mun. Usually you need to raise your apoapsis to 85 million meters to escape from Kerbin. With this method we will just have to get to the Mun orbit (12 million meters). This will save you fuel for several hundred m/s of delta-v.

  1. Get your ship into a circular Low Kerbin Orbit.
  2. Zoom out so you can see the orbit of Kerbin around the sun.
  3. Arrange for a fly-by with the Mun just like you learned in the "Going to the Mun" ingame tutorial, but arrange for it to happen while the Mun is heading into the direction you want to go. In this case we want to get further way from the sun, so do it when the Mun is going in that direction - the moment it intersects the orbit of Kerbin.
  4. Accelerate time until you reach the sphere of influence of the Mun
  5. Now plan another course correction maneuver. The maneuver is more effective when you are close, so try to pass the Mun as close as possible without colliding. Your Mun periapsis needs to be behind Mun on Muns trajectory. When you pass in front of Mun, you will lose speed instead of gaining it. Also watch the declination of your trajectory - when it gets too high it will be problematic.
  6. Accelerate time until you left the SoI of the Mun.
  7. When you check the map you will notice that you are on a much wider orbit than you were before the Mun fly-by (likely with an apoapsis beyond Minmus orbit), but it's not a Kerbin escape trajectory yet. The Mun hasn't yet given you all the speed it can.
  8. So perform another correction maneuver which leads you to another close Mun fly-by and again try to pass it as close as possible. The best moment to perform this maneuver is usually when you are furthest away from Mun.

Congratulations, you are now on a trajectory toward Duna, or at least on an orbit that can get to it! You could use a similar trick with Ike to escape Duna.

In example two, we will use the gravity of Kerbin to get ourselves to Jool. This is especially useful for heavy probes like orbiters and manned missions, but useless for probes that are just using it as a flyby.

  1. Get your ship into a circular Low Kerbin Orbit.
  2. Set up a maneuver node somewhere along the orbit on the night side of Kerbin.
  3. Pull the prograde vector until you get into a heliocentric orbit, then pull it some more until the time to apoapsis is at least one year. When you get to it, execute the node.
  4. Warp until you exit Kerbin's SOI, then set up a maneuver node at the apoapsis.
  5. Pull the retrograde vector until you get an encounter with Kerbin.
  6. Warp to the node and execute it. Along the way, it is best to fine-tune the trajectory, getting close enough for a Joolean encounter. Remember not to go below 70,000 meters. Execute the correction maneuvers and then warp until you get to the SOI of Kerbin.
  7. When you get to the SOI of Kerbin, make sure to possibly do science tests, or, if you are using RemoteTech, use it as the final window for quicker communication.
  8. After you exit Kerbin's SOI, you can make a couple more TCM.

Congratulations, you are now on a trajectory set for Jool!

Gravity brake

Pass in front of a celestial body to brake and behind a celestial body to accelerate
Using a reverse gravity assist around Tylo to get into a Jool orbit. The necessary course correction required less fuel than getting close enough to Jool for an aerobrake maneuver. It is also much safer than aerobraking.

Should you enter the Duna-Ike system in a suitable trajectory, you can perform a gravity brake to lose speed instead of gaining it. To do so just do an Ike flyby. In order to lose speed instead of gaining it, your Ike periapsis needs to be in front of Ike's trajectory instead of behind it.

The same could go for the Joolean trajectory. However, if you had burned relatively close to the planet and are making a periapsis-raising burn, you could use Tylo's gravity to decrease your orbital period.

Powered Gravity assist

To get even more out of a gravity assist, you can perform a powered gravity assist. As you know, accelerating at your periapsis has the greatest effect on your apoapsis. This still applies to your periapsis during a gravity assist. When you accelerate during your fly-by, this fuel is used very efficiently to increase the apoapsis of your final trajectory. This is, however, a very difficult technique, because it is hard to control your final trajectory, even when using a maneuver node.

Real Life

For those who may be wondering about the physics at work here, or crying "unrealistic game engine exploit": this maneuver is an exploit of sorts, but an exploitation of the laws of physics rather than a glitch. Also called a gravitational slingshot maneuver, this is a very common trick used by real-world space programs to save vast amounts of fuel on interplanetary missions. What is essentially happening here is that you are using the planet as a giant trebuchet. As the spacecraft approaches periapsis, the two become tethered together by gravity. The craft is dragged slightly in the direction of the planet's motion, and the planet is dragged slightly in the direction of the spacecraft. The effect on the planet is incredibly tiny, small enough that this part of the equation can be ignored both by the game and in the real world. For the much smaller spacecraft, however, it's a significant gain in kinetic energy, which hurls it back out into space like a boulder at a castle wall.

See also