Difference between revisions of "Tutorial: Basic Orbiting (Technical)"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Formulae and Tables)
m (Fixed categories)
 
Line 1: Line 1:
== Orbiting Tutorial ==
+
{{Stub|tutorial|Needs some math tags and general cleanup. -- [[User:N3X15|N3X15]] ([[User talk:N3X15|talk]]) 08:46, 1 October 2012 (UTC)}}
Getting into space is relatively easy, but staying there without drifting endlessly into space or falling back down to Kearth can be challenging.  This tutorial will teach you how to get into and remain in orbit, how to adjust your orbit to be circular or elliptical, and how to adjust to a higher or lower orbit.
 
  
=== Your first orbit ===
+
Getting into space is relatively easy, but staying there without drifting endlessly into space or falling back down to Kerbin can be challenging.  This tutorial will teach you how to get into and remain in [[orbit]], how to adjust your orbit to be circular or elliptical, and how to adjust to a higher or lower orbit.
A good procedure for getting into orbit was posted by HarvesteR on the KSP forums (edited with a better horizontal speed based on the orbital tables below):
 
  
# Launch straight up, and continue to climb up to about 10000 meters.
+
== Stabilizing your orbit ==
# Then, gradually start leveling off. You will start gaining horizontal speed.
 
# Now you're basically trading vertical speed for horizontal speed. The idea is to get to 0 vertical speed at about 40000 meters up, and be moving horizontally at about 2350 m/s.
 
  
This will put you in a stable orbitThe altitude at which you start leveling off and the altitude at which you reach orbital velocity will depend a lot on how your rocket is designed.  The idea, however, is to get out of the thickest part of the atmosphere before you start adding horizontal speed, so that you aren't wasting energy adding horizontal speed which will just bleed off due to air resistance.
+
During each orbit, your craft will reach maximum altitude, called '''apoapsis''', and on the opposite side of the planet, it will reach minimum altitude, called '''periapsis'''At both apoapsis and periapsis, your vertical speed will be zero.  These points are the easiest points to make orbital corrections, because you can easily determine how fast to go when your vertical speed is zero'''Note:''' The relative difference between your orbit's apoapsis and periapsis is called its '''eccentricity.'''  Orbits that are exactly circular have zero eccentricity, and highly "flattened-out" orbits have eccentricity close to 1.
  
It is likely that you will overshoot or undershoot these figures by a wide margin on your first couple attempts.  Don't worry!  Manual orbit insertion is difficult, that's why NASA uses computer guidance!  When you finally do get into a stable orbit, you'll probably be on an elliptical trajectory; that is, your ship will coast away from the planet, gradually losing speed.  When it reaches its maximum altitude, it will start to fall back toward Kearth, picking up speed againIf you're going fast enough, you'll fall "past" Kearth instead of into it, and that's orbiting.
+
There are a number of third-party calculators available which can crunch the numbers and tell you your eccentricity, as well as provide the speeds required to circularize your orbit at your current (or future) altitude.  Whether you calculate your orbits by hand, or use a third party app, the general procedures are still the same and are given below:
  
=== Controlling your orbit ===
+
First, in order to get into a nice, round orbit, you need to determine how fast to go. The mathematical basis for orbital speed is determined from your current distance from your central body (<math>r</math>), your [[semi-major axis]] from your central body (<math>a</math>), and the mass of the central body itself (<math>M</math>). These may be use to find the speed at an orbit around any body using the relation
During each orbit, your craft will reach maximum altitude, called '''apokee''', and on the opposite side of the planet, it will reach minimum altitude, called '''perikee'''.  At both apokee and perikee, your vertical speed will be zero.  These points are the easiest points to make orbital corrections, because you can easily determine how fast to go when your vertical speed is zero.  '''Note:''' The relative difference between your orbit's apokee and perikee is called its '''eccentricity.'''  Orbits that are exactly circular have zero eccentricity, and highly "flattened-out" orbits have eccentricity close to 1.
 
  
First, in order to get into a nice, round orbit, you need to determine how fast to go.  The higher your orbit, the less gravity you'll feel from Kearth, so the slower you'll need to go to be in a circular orbit.  Consult the table below to determine the proper speed for your altitude at apokee or perikee.  You'll probably want to watch your altimiter as you near one of the critical points, remember the altitude, look up the speed in the table, and make the correction on your next pass.  If you want to "round out" your orbit from apokee, you need to speed up to avoid falling back down to perikee.  Point your craft in the exact direction of travel (use the green circular indicator on the gimbal to line up), and apply thrust until you've gained enough speed.  To round out an orbit from perikee, you need to slow down to avoid climbing back up to apokee.  Point your craft in the opposite direction of travel (indicated on the gimbal by a green circle with an "X" through it), and apply thrust until you have slowed to the speed indicated by the table.  You should then be in an orbit that is very close to circular!  Depending on how eccentric your initial orbit was, you may need to make a large correction on your first pass followed by a small correction on a subsequent pass to get very stable.
+
<math>v = \sqrt{GM\left(\frac{2}{r}-\frac{1}{a}\right)}</math>
  
=== Video Tutorial ===
+
where <math>G</math> is the [[w:gravitational constant|gravitational constant]] <math>6.674 \cdot 10^{-11}\mathrm{\frac{m^3}{kg \cdot s^2}}</math>. Keep in mind that distances to the central body must account not only for altitude but also for the radius (<math>R</math>) of whatever body you are orbiting. The exact values of <math>M</math> and <math>R</math> may be found on their respective pages.
[http://www.youtube.com/watch?v=9RvVjysJKB4 Video Example Of Building A Rocket And Taking It To Orbit]
 
  
=== Formulae ===
+
Returning to our case, the higher your orbit, the less gravity you'll feel from Kerbin, so the slower you'll need to go to be in a circular orbit. Determine the proper speed for your altitude at apoapsis or periapsis either by hand, by calculator, or by table.  You'll probably want to watch your altimeter as you near one of the critical points, remember the altitude, determine your desired speed, and make the correction on your next pass.  If you want to "round out" your orbit from apoapsis, you need to speed up to avoid falling back down to periapsis.  Point your craft in the exact direction of travel (use the chartreuse yellow circular indicator on the [[Navball]] to line up), and apply thrust until you've gained enough speed.  To round out an orbit from periapsis, you need to slow down to avoid climbing back up to apoapsis.  Point your craft in the opposite direction of travel (indicated on the Navball by a chartreuse yellow circle with an "X" through it), and apply thrust until you have slowed to the speed indicated by the table.  You should then be in an orbit that is very close to circular!  Depending on how eccentric your initial orbit was, you may need to make a large correction on your first pass followed by a small correction on a subsequent pass to get very stable.
The relation between orbital speed and acceleration is given by the formula:
 
  
''a'' = ''v''<sup>2</sup> / ''r'',
+
For fine adjustments to your orbit, adding a set of [[RCS]] thrusters to your craft helps immensely. Additionally, you can see the current trajectory (and read periapsis and apoapsis altitudes) by switching to the [[Map view]] (M key).
  
where ''a'' is the acceleration due to gravity, ''v'' is the horizontal speed, and ''r'' is the radius of orbit.
+
== Transfer Orbits ==
  
Of course, gravity varies depending on your distance from the planet, so we also need the following formula to determine ''a'' based on your altitude:
+
The most efficient way to transfer from a lower circular orbit to a higher circular orbit (or vice-versa) is to use an elliptical transfer orbit, also known as a Hohmann transfer orbit.  To transfer, we make the periapsis of the elliptical orbit the same as the radius of the lower orbit, and the apoapsis of the elliptical orbit the same as the radius of the higher orbit.  If you are going from low to high, you make a burn in the direction of travel to elongate your orbit.  You will climb in altitude as you travel around the planet to the apoapsis of your transfer orbit.  Then, make a second burn to round out the new, higher orbit (as described above).  To go from high to low, do the opposite: Burn in the opposite direction of travel, then fall down to the periapsis of your transfer orbit, and make a second burn to round out the lower orbit (again in the opposite direction of travel).
  
''a'' = ''g'' * (''R'' / (''R'' + ''h''))<sup>2</sup>,
+
=== Target Speed ===
  
where ''g'' is the acceleration due to gravity at sea level (9.81 m/s<sup>2</sup>), ''R'' is the radius of Kearth (600 km), and ''h'' is the altitude of your orbit.
+
The key to transfer orbits is figuring out how much speed to add or subtract to reach a desired new orbital altitude. To do this, use the formula below to determine the target velocity for your initial burn:
  
'''Note:''' From here, we will substitute ''R'' + ''h'' for ''r'', since the radius of your orbit is equal to the radius of Kearth plus your altitude.
+
<math>v = 1,878,968 \cdot \sqrt{\frac{2}{r_i} - \frac{2}{(r_l+r_h)}}</math>
  
Substituting for ''a'' and simplifying, we get:
+
In this formula, ''r<sub>l</sub>'' and ''r<sub>h</sub>'' are the radii of the lower and higher orbits, respectively, and ''r<sub>i</sub>'' is the radius of the initial orbit.  If you are transferring to a higher orbit, ''r<sub>i</sub>'' will be equal to ''r<sub>l</sub>'', and ''v'' will be faster than your current speed, so burn in the direction of travel to reach ''v''.  If you are transferring to a lower orbit, ''r<sub>i</sub>'' will be equal to ''r<sub>h</sub>'', and ''v'' will be slower than your current speed, so burn in the opposite direction to reach ''v''.  Remember, ''v'' is the target speed for your initial burn that puts you into the elliptical transfer orbit.  Once you reach your new orbital altitude, you need to make a second burn to round out your orbit, using the same technique described in the [[Tutorial: Basic Orbiting#Stabilizing your orbit|stabilizing your orbit]] section.
  
''g'' * (''R'' / (''R'' + ''h''))<sup>2</sup> = ''v''<sup>2</sup> / (''R'' + ''h'')
+
Details of where this formula comes from are in the technical section below.  When using this formula, take care to remember that the radius of an orbit is equal to the orbital altitude plus Kerbin's radius (600 000 m).
  
''g'' * ''R''<sup>2</sup> / (''R'' + ''h'') = ''v''<sup>2</sup>
+
=== De-orbiting ===
 +
The most efficient way to de-orbit from any altitude is to initiate a transfer orbit with a periapsis below 69076 m, the edge of Kerbin's atmosphere. Note that the upper atmosphere is very thin so if you do not want to wait for several orbits of [[aerobraking]], aim for under 35000 m and thicker air. As you approach periapsis, the atmospheric drag will start to slow your craft and eventually it can no longer maintain orbit.
  
''v'' = ''R'' * sqrt(''g'' / (''R'' + ''h''))
+
=== R code snippet for planning Hohmann transfer ===
  
Finally, substituting known values for ''g'' and ''R'',
+
    hohmann <- function(from_alt,to_alt){
 +
      # provides information needed to perform
 +
      # a hohmann transfer from a circular ortbit
 +
      # at from_alt (km) to a circular orbit at to_alt (km)
 +
      mu  <- 3531.6    # Gravitational parameter (km^3/s^2)
 +
      R   <- 600          # Kerbin radius (km)
 +
      r1  <- from_alt+R  # radius 1 (km)
 +
      r2  <- to_alt+R    # radius 2 (km)
 +
      vc1 <- sqrt(mu/r1)  # circular orbit velocity 1 (km/s)
 +
      vc2 <- sqrt(mu/r2)  # circular orbit velocity 2 (km/s)
 +
      a  <- (r1+r2)/2    # semi-major axis of transfer orbit (km)
 +
      T  <- 2*pi*sqrt((a^3)/mu)  # period of transfer orbit (s)
 +
      dv1 <- (sqrt(r2/a)-1)*vc1  # delta v1 (km/s)
 +
      dv2 <- (1-sqrt(r1/a))*vc2  # delta v2 (km/s)
 +
      b1  <- list(from=vc1,to=vc1+dv1) # burn one from-to velocities (km/s)
 +
      t  <- T/2          # time between burns (s)
 +
      b2  <- list(from=vc2+dv2,to=vc2) # burn two from-to velocities (km/s)
 +
      out <- list(from_alt=from_alt,b1=b1,t=t,b2=b2,to_alt=to_alt)
 +
    return(out)}
  
''v'' = 600 000 m * sqrt(9.81 m/s<sup>2</sup> / (600 000 m + ''h''))
+
==== Example usage ====
  
From this formula, we can produce the table below.
+
Produce a graph showing the speeds need to transfer from a range of circular orbit altitudes into a landing orbit.
 +
 
 +
plot(100*1:40,1000*hohmann(100*1:40,34)$b1$to,main="Landing speeds",xlab="altitude (km)",ylab="speed (m/s)")
 +
 
 +
[[File:landingspeeds.png]]
 +
 
 +
R project Link [http://www.r-project.org/]
 +
 
 +
 
 +
=== Transfer Orbits ===
 +
Coming soon!
  
 
=== Orbital Table ===
 
=== Orbital Table ===
'''Note:''' Altitudes below 35 km are listed for reference, but the atmosphere will quickly drag you out of orbit at these altitudes.
+
'''Note:''' The atmosphere once had a sharp cutoff at 34.5&nbsp;km, but now extends to approximately 69&nbsp;km. Below this altitude, your orbit will gradually decay. The decay becomes quite rapid below about 45&nbsp;km. The orbital parameters below 69&nbsp;km are provided for reference, but understand that you will not be able to maintain these orbits without regular corrections to counteract the atmospheric drag.
{| class="wikitable"
+
{{:Tutorial: Basic Orbiting (Technical)/table|Altitude|Orbital speed|Orbital period}}
! Altitude
+
 
! Horizontal Speed
+
[[Category:Tutorials|Basic Orbiting (Technical)]]
|-
 
| 0 km || 2425.56 m/s
 
|-
 
| 5 km || 2415.52 m/s
 
|-
 
| 10 km || 2405.60 m/s
 
|-
 
| 15 km || 2395.80 m/s
 
|-
 
| 20 km || 2386.12 m/s
 
|-
 
| 25 km || 2376.56 m/s
 
|-
 
| 30 km || 2367.11 m/s
 
|-
 
| 35 km || 2357.77 m/s
 
|-
 
| 40 km || 2348.54 m/s
 
|-
 
| 45 km || 2339.42 m/s
 
|-
 
| 50 km || 2330.41 m/s
 
|-
 
| 55 km || 2321.49 m/s
 
|-
 
| 60 km || 2312.68 m/s
 
|-
 
| 65 km || 2303.97 m/s
 
|-
 
| 70 km || 2295.36 m/s
 
|-
 
| 75 km || 2286.84 m/s
 
|-
 
| 80 km || 2278.42 m/s
 
|-
 
| 85 km || 2270.09 m/s
 
|-
 
| 90 km || 2261.85 m/s
 
|-
 
| 95 km || 2253.70 m/s
 
|-
 
| 100 km || 2245.64 m/s
 
|-
 
| 105 km || 2237.66 m/s
 
|-
 
| 110 km || 2229.77 m/s
 
|-
 
| 115 km || 2221.96 m/s
 
|-
 
| 120 km || 2214.23 m/s
 
|-
 
| 125 km || 2206.58 m/s
 
|-
 
| 130 km || 2199.01 m/s
 
|-
 
| 135 km || 2191.52 m/s
 
|-
 
| 140 km || 2184.10 m/s
 
|-
 
| 145 km || 2176.76 m/s
 
|-
 
| 150 km || 2169.49 m/s
 
|-
 
| 155 km || 2162.29 m/s
 
|-
 
| 160 km || 2155.17 m/s
 
|-
 
| 165 km || 2148.12 m/s
 
|-
 
| 170 km || 2141.13 m/s
 
|-
 
| 175 km || 2134.21 m/s
 
|-
 
| 180 km || 2127.36 m/s
 
|-
 
| 185 km || 2120.57 m/s
 
|-
 
| 190 km || 2113.85 m/s
 
|-
 
| 195 km || 2107.20 m/s
 
|-
 
| 200 km || 2100.60 m/s
 
|-
 
| 205 km || 2094.07 m/s
 
|-
 
| 210 km || 2087.59 m/s
 
|-
 
| 215 km || 2081.18 m/s
 
|-
 
| 220 km || 2074.82 m/s
 
|-
 
| 225 km || 2068.53 m/s
 
|-
 
| 230 km || 2062.29 m/s
 
|-
 
| 235 km || 2056.10 m/s
 
|-
 
| 240 km || 2049.98 m/s
 
|-
 
| 245 km || 2043.90 m/s
 
|-
 
| 250 km || 2037.88 m/s
 
|-
 
| 255 km || 2031.91 m/s
 
|-
 
| 260 km || 2026.00 m/s
 
|-
 
| 265 km || 2020.13 m/s
 
|-
 
| 270 km || 2014.32 m/s
 
|-
 
| 275 km || 2008.56 m/s
 
|-
 
| 280 km || 2002.84 m/s
 
|-
 
| 285 km || 1997.18 m/s
 
|-
 
| 290 km || 1991.56 m/s
 
|-
 
| 295 km || 1985.99 m/s
 
|-
 
| 300 km || 1980.46 m/s
 
|-
 
| 305 km || 1974.99 m/s
 
|-
 
| 310 km || 1969.55 m/s
 
|-
 
| 315 km || 1964.16 m/s
 
|-
 
| 320 km || 1958.82 m/s
 
|-
 
| 325 km || 1953.52 m/s
 
|-
 
| 330 km || 1948.26 m/s
 
|-
 
| 335 km || 1943.04 m/s
 
|-
 
| 340 km || 1937.87 m/s
 
|-
 
| 345 km || 1932.74 m/s
 
|-
 
| 350 km || 1927.64 m/s
 
|-
 
| 355 km || 1922.59 m/s
 
|-
 
| 360 km || 1917.58 m/s
 
|-
 
| 365 km || 1912.60 m/s
 
|-
 
| 370 km || 1907.67 m/s
 
|-
 
| 375 km || 1902.77 m/s
 
|-
 
| 380 km || 1897.91 m/s
 
|-
 
| 385 km || 1893.09 m/s
 
|-
 
| 390 km || 1888.30 m/s
 
|-
 
| 395 km || 1883.55 m/s
 
|-
 
| 400 km || 1878.83 m/s
 
|-
 
| 405 km || 1874.15 m/s
 
|-
 
| 410 km || 1869.51 m/s
 
|-
 
| 415 km || 1864.90 m/s
 
|-
 
| 420 km || 1860.32 m/s
 
|-
 
| 425 km || 1855.78 m/s
 
|-
 
| 430 km || 1851.27 m/s
 
|-
 
| 435 km || 1846.79 m/s
 
|-
 
| 440 km || 1842.35 m/s
 
|-
 
| 445 km || 1837.94 m/s
 
|-
 
| 450 km || 1833.55 m/s
 
|-
 
| 455 km || 1829.20 m/s
 
|-
 
| 460 km || 1824.88 m/s
 
|-
 
| 465 km || 1820.60 m/s
 
|-
 
| 470 km || 1816.34 m/s
 
|-
 
| 475 km || 1812.11 m/s
 
|-
 
| 480 km || 1807.91 m/s
 
|-
 
| 485 km || 1803.74 m/s
 
|-
 
| 490 km || 1799.60 m/s
 
|-
 
| 495 km || 1795.48 m/s
 
|-
 
| 500 km || 1791.40 m/s
 
|-
 
| 505 km || 1787.34 m/s
 
|-
 
| 510 km || 1783.31 m/s
 
|-
 
| 515 km || 1779.31 m/s
 
|-
 
| 520 km || 1775.33 m/s
 
|-
 
| 525 km || 1771.38 m/s
 
|-
 
| 530 km || 1767.46 m/s
 
|-
 
| 535 km || 1763.56 m/s
 
|-
 
| 540 km || 1759.69 m/s
 
|-
 
| 545 km || 1755.84 m/s
 
|-
 
| 550 km || 1752.02 m/s
 
|-
 
| 555 km || 1748.23 m/s
 
|-
 
| 560 km || 1744.45 m/s
 
|-
 
| 565 km || 1740.71 m/s
 
|-
 
| 570 km || 1736.98 m/s
 
|-
 
| 575 km || 1733.28 m/s
 
|-
 
| 580 km || 1729.61 m/s
 
|-
 
| 585 km || 1725.95 m/s
 
|-
 
| 590 km || 1722.32 m/s
 
|-
 
| 595 km || 1718.72 m/s
 
|-
 
| 600 km || 1715.13 m/s
 
|-
 
| 605 km || 1711.57 m/s
 
|-
 
| 610 km || 1708.03 m/s
 
|-
 
| 615 km || 1704.51 m/s
 
|-
 
| 620 km || 1701.02 m/s
 
|-
 
| 625 km || 1697.54 m/s
 
|-
 
| 630 km || 1694.09 m/s
 
|-
 
| 635 km || 1690.65 m/s
 
|-
 
| 640 km || 1687.24 m/s
 
|-
 
| 645 km || 1683.85 m/s
 
|-
 
| 650 km || 1680.48 m/s
 
|-
 
| 655 km || 1677.13 m/s
 
|-
 
| 660 km || 1673.80 m/s
 
|-
 
| 665 km || 1670.49 m/s
 
|-
 
| 670 km || 1667.20 m/s
 
|-
 
| 675 km || 1663.92 m/s
 
|-
 
| 680 km || 1660.67 m/s
 
|-
 
| 685 km || 1657.44 m/s
 
|-
 
| 690 km || 1654.22 m/s
 
|-
 
| 695 km || 1651.02 m/s
 
|-
 
| 700 km || 1647.85 m/s
 
|-
 
| 705 km || 1644.69 m/s
 
|-
 
| 710 km || 1641.54 m/s
 
|-
 
| 715 km || 1638.42 m/s
 
|-
 
| 720 km || 1635.32 m/s
 
|-
 
| 725 km || 1632.23 m/s
 
|-
 
| 730 km || 1629.16 m/s
 
|-
 
| 735 km || 1626.10 m/s
 
|-
 
| 740 km || 1623.07 m/s
 
|-
 
| 745 km || 1620.05 m/s
 
|-
 
| 750 km || 1617.04 m/s
 
|-
 
| 755 km || 1614.06 m/s
 
|-
 
| 760 km || 1611.09 m/s
 
|-
 
| 765 km || 1608.13 m/s
 
|-
 
| 770 km || 1605.20 m/s
 
|-
 
| 775 km || 1602.27 m/s
 
|-
 
| 780 km || 1599.37 m/s
 
|-
 
| 785 km || 1596.48 m/s
 
|-
 
| 790 km || 1593.61 m/s
 
|-
 
| 795 km || 1590.75 m/s
 
|-
 
| 800 km || 1587.90 m/s
 
|-
 
| 805 km || 1585.08 m/s
 
|-
 
| 810 km || 1582.26 m/s
 
|-
 
| 815 km || 1579.47 m/s
 
|-
 
| 820 km || 1576.68 m/s
 
|-
 
| 825 km || 1573.91 m/s
 
|-
 
| 830 km || 1571.16 m/s
 
|-
 
| 835 km || 1568.42 m/s
 
|-
 
| 840 km || 1565.69 m/s
 
|-
 
| 845 km || 1562.98 m/s
 
|-
 
| 850 km || 1560.29 m/s
 
|-
 
| 855 km || 1557.60 m/s
 
|-
 
| 860 km || 1554.93 m/s
 
|-
 
| 865 km || 1552.28 m/s
 
|-
 
| 870 km || 1549.64 m/s
 
|-
 
| 875 km || 1547.01 m/s
 
|-
 
| 880 km || 1544.39 m/s
 
|-
 
| 885 km || 1541.79 m/s
 
|-
 
| 890 km || 1539.20 m/s
 
|-
 
| 895 km || 1536.62 m/s
 
|-
 
| 900 km || 1534.06 m/s
 
|-
 
| 905 km || 1531.51 m/s
 
|-
 
| 910 km || 1528.97 m/s
 
|-
 
| 915 km || 1526.45 m/s
 
|-
 
| 920 km || 1523.94 m/s
 
|-
 
| 925 km || 1521.44 m/s
 
|-
 
| 930 km || 1518.95 m/s
 
|-
 
| 935 km || 1516.47 m/s
 
|-
 
| 940 km || 1514.01 m/s
 
|-
 
| 945 km || 1511.56 m/s
 
|-
 
| 950 km || 1509.12 m/s
 
|-
 
| 955 km || 1506.69 m/s
 
|-
 
| 960 km || 1504.27 m/s
 
|-
 
| 965 km || 1501.87 m/s
 
|-
 
| 970 km || 1499.47 m/s
 
|-
 
| 975 km || 1497.09 m/s
 
|-
 
| 980 km || 1494.72 m/s
 
|-
 
| 985 km || 1492.36 m/s
 
|-
 
| 990 km || 1490.01 m/s
 
|-
 
| 995 km || 1487.67 m/s
 
|}
 

Latest revision as of 19:52, 2 May 2019

This article is a stub. You can help KSP Wiki by expanding it.

tutorial

Getting into space is relatively easy, but staying there without drifting endlessly into space or falling back down to Kerbin can be challenging. This tutorial will teach you how to get into and remain in orbit, how to adjust your orbit to be circular or elliptical, and how to adjust to a higher or lower orbit.

Stabilizing your orbit

During each orbit, your craft will reach maximum altitude, called apoapsis, and on the opposite side of the planet, it will reach minimum altitude, called periapsis. At both apoapsis and periapsis, your vertical speed will be zero. These points are the easiest points to make orbital corrections, because you can easily determine how fast to go when your vertical speed is zero. Note: The relative difference between your orbit's apoapsis and periapsis is called its eccentricity. Orbits that are exactly circular have zero eccentricity, and highly "flattened-out" orbits have eccentricity close to 1.

There are a number of third-party calculators available which can crunch the numbers and tell you your eccentricity, as well as provide the speeds required to circularize your orbit at your current (or future) altitude. Whether you calculate your orbits by hand, or use a third party app, the general procedures are still the same and are given below:

First, in order to get into a nice, round orbit, you need to determine how fast to go. The mathematical basis for orbital speed is determined from your current distance from your central body (), your semi-major axis from your central body (), and the mass of the central body itself (). These may be use to find the speed at an orbit around any body using the relation

where is the gravitational constant . Keep in mind that distances to the central body must account not only for altitude but also for the radius () of whatever body you are orbiting. The exact values of and may be found on their respective pages.

Returning to our case, the higher your orbit, the less gravity you'll feel from Kerbin, so the slower you'll need to go to be in a circular orbit. Determine the proper speed for your altitude at apoapsis or periapsis either by hand, by calculator, or by table. You'll probably want to watch your altimeter as you near one of the critical points, remember the altitude, determine your desired speed, and make the correction on your next pass. If you want to "round out" your orbit from apoapsis, you need to speed up to avoid falling back down to periapsis. Point your craft in the exact direction of travel (use the chartreuse yellow circular indicator on the Navball to line up), and apply thrust until you've gained enough speed. To round out an orbit from periapsis, you need to slow down to avoid climbing back up to apoapsis. Point your craft in the opposite direction of travel (indicated on the Navball by a chartreuse yellow circle with an "X" through it), and apply thrust until you have slowed to the speed indicated by the table. You should then be in an orbit that is very close to circular! Depending on how eccentric your initial orbit was, you may need to make a large correction on your first pass followed by a small correction on a subsequent pass to get very stable.

For fine adjustments to your orbit, adding a set of RCS thrusters to your craft helps immensely. Additionally, you can see the current trajectory (and read periapsis and apoapsis altitudes) by switching to the Map view (M key).

Transfer Orbits

The most efficient way to transfer from a lower circular orbit to a higher circular orbit (or vice-versa) is to use an elliptical transfer orbit, also known as a Hohmann transfer orbit. To transfer, we make the periapsis of the elliptical orbit the same as the radius of the lower orbit, and the apoapsis of the elliptical orbit the same as the radius of the higher orbit. If you are going from low to high, you make a burn in the direction of travel to elongate your orbit. You will climb in altitude as you travel around the planet to the apoapsis of your transfer orbit. Then, make a second burn to round out the new, higher orbit (as described above). To go from high to low, do the opposite: Burn in the opposite direction of travel, then fall down to the periapsis of your transfer orbit, and make a second burn to round out the lower orbit (again in the opposite direction of travel).

Target Speed

The key to transfer orbits is figuring out how much speed to add or subtract to reach a desired new orbital altitude. To do this, use the formula below to determine the target velocity for your initial burn:

In this formula, rl and rh are the radii of the lower and higher orbits, respectively, and ri is the radius of the initial orbit. If you are transferring to a higher orbit, ri will be equal to rl, and v will be faster than your current speed, so burn in the direction of travel to reach v. If you are transferring to a lower orbit, ri will be equal to rh, and v will be slower than your current speed, so burn in the opposite direction to reach v. Remember, v is the target speed for your initial burn that puts you into the elliptical transfer orbit. Once you reach your new orbital altitude, you need to make a second burn to round out your orbit, using the same technique described in the stabilizing your orbit section.

Details of where this formula comes from are in the technical section below. When using this formula, take care to remember that the radius of an orbit is equal to the orbital altitude plus Kerbin's radius (600 000 m).

De-orbiting

The most efficient way to de-orbit from any altitude is to initiate a transfer orbit with a periapsis below 69076 m, the edge of Kerbin's atmosphere. Note that the upper atmosphere is very thin so if you do not want to wait for several orbits of aerobraking, aim for under 35000 m and thicker air. As you approach periapsis, the atmospheric drag will start to slow your craft and eventually it can no longer maintain orbit.

R code snippet for planning Hohmann transfer

   hohmann <- function(from_alt,to_alt){
     # provides information needed to perform
     # a hohmann transfer from a circular ortbit
     # at from_alt (km) to a circular orbit at to_alt (km)
     mu  <- 3531.6     # Gravitational parameter (km^3/s^2)
     R   <- 600          # Kerbin radius (km)
     r1  <- from_alt+R   # radius 1 (km)
     r2  <- to_alt+R     # radius 2 (km)
     vc1 <- sqrt(mu/r1)  # circular orbit velocity 1 (km/s)
     vc2 <- sqrt(mu/r2)  # circular orbit velocity 2 (km/s)
     a   <- (r1+r2)/2    # semi-major axis of transfer orbit (km)
     T   <- 2*pi*sqrt((a^3)/mu)  # period of transfer orbit (s)
     dv1 <- (sqrt(r2/a)-1)*vc1   # delta v1 (km/s)
     dv2 <- (1-sqrt(r1/a))*vc2   # delta v2 (km/s)
     b1  <- list(from=vc1,to=vc1+dv1) # burn one from-to velocities (km/s)
     t   <- T/2          # time between burns (s)
     b2  <- list(from=vc2+dv2,to=vc2) # burn two from-to velocities (km/s)
     out <- list(from_alt=from_alt,b1=b1,t=t,b2=b2,to_alt=to_alt)
   return(out)}

Example usage

Produce a graph showing the speeds need to transfer from a range of circular orbit altitudes into a landing orbit.

plot(100*1:40,1000*hohmann(100*1:40,34)$b1$to,main="Landing speeds",xlab="altitude (km)",ylab="speed (m/s)")

Landingspeeds.png

R project Link [1]


Transfer Orbits

Coming soon!

Orbital Table

Note: The atmosphere once had a sharp cutoff at 34.5 km, but now extends to approximately 69 km. Below this altitude, your orbit will gradually decay. The decay becomes quite rapid below about 45 km. The orbital parameters below 69 km are provided for reference, but understand that you will not be able to maintain these orbits without regular corrections to counteract the atmospheric drag.

Altitude (m) Orbital speed (m/s) Orbital period
40 000 2 349.1 28 m 31.8 s
50 000 2 330.9 29 m 12.1 s
60 000 2 313.2 29 m 52.7 s
70 000 2 295.9 30 m 33.6 s
80 000 2 278.9 31 m 14.8 s
90 000 2 262.4 31 m 56.3 s
100 000 2 246.1 32 m 38.1 s
110 000 2 230.3 33 m 20.2 s
120 000 2 214.7 34 m 2.6 s
130 000 2 199.5 34 m 45.3 s
140 000 2 184.6 35 m 28.3 s
150 000 2 170.0 36 m 11.6 s
160 000 2 155.7 36 m 55.2 s
170 000 2 141.6 37 m 39.1 s
180 000 2 127.8 38 m 23.2 s
190 000 2 114.3 39 m 7.7 s
200 000 2 101.1 39 m 52.4 s
210 000 2 088.1 40 m 37.4 s
220 000 2 075.3 41 m 22.6 s
230 000 2 062.8 42 m 8.2 s
240 000 2 050.4 42 m 54 s
250 000 2 038.3 43 m 40.1 s
260 000 2 026.5 44 m 26.5 s
270 000 2 014.8 45 m 13.1 s
280 000 2 003.3 46 m 0.1 s
290 000 1 992.0 46 m 47.2 s
300 000 1 980.9 47 m 34.7 s
310 000 1 970.0 48 m 22.4 s
320 000 1 959.3 49 m 10.4 s
330 000 1 948.7 49 m 58.6 s
340 000 1 938.3 50 m 47.1 s
350 000 1 928.1 51 m 35.8 s
360 000 1 918.0 52 m 24.9 s
370 000 1 908.1 53 m 14.1 s
380 000 1 898.3 54 m 3.6 s
390 000 1 888.7 54 m 53.4 s
400 000 1 879.3 55 m 43.4 s
410 000 1 869.9 56 m 33.7 s
420 000 1 860.7 57 m 24.2 s
430 000 1 851.7 58 m 15 s
440 000 1 842.8 59 m 6 s
450 000 1 834.0 59 m 57.3 s
460 000 1 825.3 1 h 0 m 48.8 s
470 000 1 816.7 1 h 1 m 40.6 s
480 000 1 808.3 1 h 2 m 32.6 s
490 000 1 800.0 1 h 3 m 24.8 s
500 000 1 791.8 1 h 4 m 17.3 s
510 000 1 783.7 1 h 5 m 10 s
520 000 1 775.7 1 h 6 m 3 s
530 000 1 767.9 1 h 6 m 56.2 s
540 000 1 760.1 1 h 7 m 49.6 s
550 000 1 752.4 1 h 8 m 43.3 s
560 000 1 744.8 1 h 9 m 37.2 s
570 000 1 737.4 1 h 10 m 31.3 s
580 000 1 730.0 1 h 11 m 25.7 s
590 000 1 722.7 1 h 12 m 20.2 s
600 000 1 715.5 1 h 13 m 15.1 s
610 000 1 708.4 1 h 14 m 10.1 s
620 000 1 701.4 1 h 15 m 5.4 s
630 000 1 694.5 1 h 16 m 0.9 s
640 000 1 687.6 1 h 16 m 56.6 s
650 000 1 680.9 1 h 17 m 52.6 s
660 000 1 674.2 1 h 18 m 48.8 s
670 000 1 667.6 1 h 19 m 45.2 s
680 000 1 661.0 1 h 20 m 41.8 s
690 000 1 654.6 1 h 21 m 38.7 s
700 000 1 648.2 1 h 22 m 35.7 s
710 000 1 641.9 1 h 23 m 33 s
720 000 1 635.7 1 h 24 m 30.5 s
730 000 1 629.5 1 h 25 m 28.3 s
740 000 1 623.4 1 h 26 m 26.2 s
750 000 1 617.4 1 h 27 m 24.4 s
760 000 1 611.4 1 h 28 m 22.8 s
770 000 1 605.6 1 h 29 m 21.4 s
780 000 1 599.7 1 h 30 m 20.2 s
790 000 1 594.0 1 h 31 m 19.2 s
800 000 1 588.3 1 h 32 m 18.4 s
810 000 1 582.6 1 h 33 m 17.9 s
820 000 1 577.0 1 h 34 m 17.5 s
830 000 1 571.5 1 h 35 m 17.4 s
840 000 1 566.0 1 h 36 m 17.5 s
850 000 1 560.6 1 h 37 m 17.8 s
860 000 1 555.3 1 h 38 m 18.3 s
870 000 1 550.0 1 h 39 m 19 s
880 000 1 544.7 1 h 40 m 19.9 s
890 000 1 539.5 1 h 41 m 21 s
900 000 1 534.4 1 h 42 m 22.3 s
910 000 1 529.3 1 h 43 m 23.8 s
920 000 1 524.3 1 h 44 m 25.6 s
930 000 1 519.3 1 h 45 m 27.5 s
940 000 1 514.3 1 h 46 m 29.6 s
950 000 1 509.5 1 h 47 m 32 s
960 000 1 504.6 1 h 48 m 34.5 s
970 000 1 499.8 1 h 49 m 37.2 s
980 000 1 495.1 1 h 50 m 40.2 s
990 000 1 490.3 1 h 51 m 43.3 s
1 000 000 1 485.7 1 h 52 m 46.7 s
2 868 378 1 009.1 5 h 59 m 56.5 s
8 140 000 635.7 3 d 5 h 59 m 49.6 s