One small thing that no one ever seems to mention: You don't HAVE to go to 2/3rds orbital period for insertion. It might be cheaper and easier to go to 4/3rd or even 5/3rd, seeing how that would be a much higher Ap, meaning less dV needed in the carrier stage.
I brought this up in chat, but in my most recent game, I never deliberately built a comsat network around the Mun or Minmus. Instead, I set up the upper transfer stages of my launches to double as communications relays, so over time a constellation just sort of happened.
Also, with a kOS script to execute maneuver nodes and landings, the most critical needs for a communications network sort of went away.
Yea! I managed to work this one out for myself, well most of it. I was not only surprised I could do it, but that I was playing a computer game and actually wanted to "do the maths". Isn't KSP great!
Hi Mike, first I love your videos! they're amazing. Second, I have a question. In my career game I'm trying to put a Relay Comm on Kerbin (because I only have connection with KSP), so I follow your videos and put on each relay sat two HG-5 and the orbit period are 12h (so the orbit altitude is 4.906.298m) but I have one problem, the relay satellites don't communicate with each other. Trying to know the reason, I found the distance between each other is 8.497km (please correct me if I'm wrong, I found it because in a right triangle the short side (orbit altitude) is 4906km and the ang is 60° so tang 60 x 4906 = 8497km x 2 -> 16994km). So, what i'm doing wrong? How can I know if the power of the antennas are enough to communicate between each other?. Thank you for this class of videos, they are amazing.
There's another method I just discovered for getting equidistant relays around ANY body, and its actually simplifies things a lot. (TLDR at the bottom)
So I was number crunching seeing if I could come up with a simplified formula that didn't require you to target specific altitudes or orbital periods. With the idea that I don't have to memorize/lookup a handful of data and tables to make the right relay orbit, something that would be easy to remember…which would make things a lot more flexible. I started with the formula that finds a semi-major axis, "x" with the given Orbital period: (apologies for the excessive parenthesis upcoming in the formulas, writing formulas in Youtube is not the best) x = (GM * (T^2)/4pi^2)^1/3, where x is the semi-major axis of the phasing orbit
I then substituted T with the Orbital Period of the phasing orbit which is the 2/3rds the duration of the larger relay orbit: T = 2/3 * (2pi/GM * y^3)^(1/2), where "y" is the semi-major axis of the larger, circular orbit giving the formula: x = (GM * (2/3 * 2pi*(y^3/GM)^(1/2))^2 / 4pi^2) ^(1/3)
Most of the variables like the gravitational standard parameter mu and pi and the exponents cancel out. heres how it looks simplified: x = (2/3)^(2/3) * y Moving the leftover (2/3)^(2/3) into variable "o" (which I initially called the phasing orbit modifier, this simplifies things later). o = ((n-1)/n)^(2/3), where "n" is the number of relays you want in the orbit
I then substitute "x" with the semi-major axis formula (P+A)/2 , and y as A (since its both the phasing orbit's apoapsis and is also a circular orbit). then simplify further (P+A)/2 = 2*o * A – A => P = A* (2o – 1), where "P" is the phasing orbit's periapsis, and"A" is apoapsis of the phasing orbit
Great so if we know the apoapsis of the relay orbit we can also easily find the target periapsis needed for the phasing orbit using this phasing orbit modifier.
BUT WAIT THERE'S MORE!! While crunching for a "simplified formula" I had a hunch that eccentricity may be the thing I needed. I didn't recall seeing the formula for Eccentricity ever posted in the video series so I had to look it up. The formula is as follows: E = 1-2/(A/P+1), where A is the orbits apoapsis and P periapsis. (this formula doesn't apply to escaping orbits, i.e. parabolic/hyperbolic)
I had these two numbers up next to each other and quickly noticed that this also holds true: E = o-1 The phasing orbit mod is directly related to the phasing orbit's eccentricity!
This means that since KSP shows you the eccentricity, you don't need to plan for an explicit period or attitude(within reason, apoapsis still needs to be within the min/max bounds as mentioned in the video), you just burn for an explicit eccentricity and you'll get the perfect phasing orbit, which works on ALL CELESTIAL BODIES.
Its also possible to burn from periapsis, but only if the apoapsis is in the correct range. If the periapsis is very low the apoapsis can end up under the minimum bounds and thus get occluded from other relays by the body it's orbiting. Also like normal, after the relays have been deployed and circularized you still may need to do minor correction burns so that the sibling relays sync their orbital periods.
TLDR; Keep your apoapsis anywhere above 2x the body's radius but below the SOI (or for me, my upper bound is also the relays range / 25 for strong ground signal). Then burn for an eccentricity of 0.310371 (for 3 equidistant relays). If your eccentricity is less than this, burn retrograde. if its greater, burn prograde.
Good shit, man. Just started working on my relay network in KSP, so your explanations have been helpful. Wish my math teachers in school had been as clear as you.
Great video, i love the explanation, one question though, why does the period has to be dividable by 3? Can it not be 2 or 2.5 ad long as the period is exactly the same for all relays?
Me at 0:10 – seems alright. Me at 1:10 – wft. Great videos @mikeaben keep it up! Do you have a background in Maths to be able to do all these calculations? I am the reason for the extra 20 views in the last 3hrs lol. Now to fight with excel to get the equations onto my KSP helper spreadsheet
Doh. When figuring out the 2/3 radius for the orbital insertion, I never even considered calculating the radius of the Mun. I was just using the altitude numbers. Haha. No wonder it didn't work.
Great tutorial videos! I spent a few hours last night using what I learned from your videos to design a mission to position 3 relay satellites in orbit around kerbin, with 99.99% signal strength between each pair of relays and more on the hop to KSC. It should give me at least 85% signal on the first hop with any single communotron 16 inside the relay orbit, so the overall signal strength would be >82% easily. I also used your math videos to calculate the period of my chosen orbit, which I adjusted to the nearest multiple of Kerbins sidereal rotation period, so the relays should be in the same position above the surface once every 5 rotations. I calculated the periaps for a 2/3 period phasing orbit for insertion.
Then I used your math videos on hohmann transfers and elliptical transfers to calculate the dV I needed for each relay to circularise, for the inserted to get into the phasing orbit, and for the inserter to deorbit.
Finally, I learned from you about how to design the craft. How to use the interstage nodes in the fairing to install 3 payload craft. How to use subassemblies to save the payload and the boosters and reusable chunks. How to tune the booster subassembly for a particular carry weight (4.8t in my case).
Your videos have helped me do so much that I never thought I would have found fun but it is! Thanks for your great tutorial series.
Dude this was just way too fucking much. All i did was make a swarm of cubesats, only one cubesat had enough power and range to communicate with eloo from kerbin.
I know this is an older video but I'm only getting into this now, in Wolfram alpha I'm getting around 0.71 if I input this sum "2x³*3x³=0.8" and if I input the sum in the video "2x³*3x²=0.8" I get around 0.67. Am I using Wolfram alpha incorrectly or is the sum written down incorrectly? Thanks.
Someone may have asked this already, but why did you chose 80% as your minimum effective strength? Is that the minimum signal strength it takes to get your +40% bonus when transmitting science?
Great video! Even a few years later, this video still rocks and is still useful. I was wondering if there is any benefit to using more than three satellites in a relay network. Am I correct in thinking that using more satellites allows you to have a lower minimum orbit to maintain connectivity? If I'm thinking about the geometry correctly, using 6 sats instead of 3 would lower your minimum altitude by half.
That would give you a bigger range in which you can pick your relay orbit. So instead of adding antenna (or upgrading to more powerful antenna) to increase the min-max orbital range, you could add satellites.
However, it's probably cheaper (certainly easier) to just add more antenna (or upgrade antenna) than it is to add more satellites. And as you say in the video, this only really matters for the Mun.
amazing i love it
One small thing that no one ever seems to mention: You don't HAVE to go to 2/3rds orbital period for insertion. It might be cheaper and easier to go to 4/3rd or even 5/3rd, seeing how that would be a much higher Ap, meaning less dV needed in the carrier stage.
May I point out the comment on line 2 🙂 I've been using it since your com network video, thank you.
https://docs.google.com/spreadsheets/d/13qE-oKEdiMUFLx4UuB5cgZ3GOWbQW8Wp6XRfdWlUMjk/edit?usp=sharing
I brought this up in chat, but in my most recent game, I never deliberately built a comsat network around the Mun or Minmus. Instead, I set up the upper transfer stages of my launches to double as communications relays, so over time a constellation just sort of happened.
Also, with a kOS script to execute maneuver nodes and landings, the most critical needs for a communications network sort of went away.
This is the best KSP videos I've ever found. Thank You Mike so much for making these videos
Yea! I managed to work this one out for myself, well most of it. I was not only surprised I could do it, but that I was playing a computer game and actually wanted to "do the maths". Isn't KSP great!
I needed that thanks ! Very pedagogic explanation.
Next: Calculating Dark Side Time – https://youtu.be/T123t3lR_Ck
Hi Mike, first I love your videos! they're amazing. Second, I have a question. In my career game I'm trying to put a Relay Comm on Kerbin (because I only have connection with KSP), so I follow your videos and put on each relay sat two HG-5 and the orbit period are 12h (so the orbit altitude is 4.906.298m) but I have one problem, the relay satellites don't communicate with each other. Trying to know the reason, I found the distance between each other is 8.497km (please correct me if I'm wrong, I found it because in a right triangle the short side (orbit altitude) is 4906km and the ang is 60° so tang 60 x 4906 = 8497km x 2 -> 16994km). So, what i'm doing wrong? How can I know if the power of the antennas are enough to communicate between each other?.
Thank you for this class of videos, they are amazing.
Nice explanation, but i have problem in equation signal=- 2x^3+3x^2, can you explain why?, can I using this equation on remote tech mod
There's another method I just discovered for getting equidistant relays around ANY body, and its actually simplifies things a lot. (TLDR at the bottom)
So I was number crunching seeing if I could come up with a simplified formula that didn't require you to target specific altitudes or orbital periods. With the idea that I don't have to memorize/lookup a handful of data and tables to make the right relay orbit, something that would be easy to remember…which would make things a lot more flexible. I started with the formula that finds a semi-major axis, "x" with the given Orbital period: (apologies for the excessive parenthesis upcoming in the formulas, writing formulas in Youtube is not the best)
x = (GM * (T^2)/4pi^2)^1/3, where x is the semi-major axis of the phasing orbit
I then substituted T with the Orbital Period of the phasing orbit which is the 2/3rds the duration of the larger relay orbit:
T = 2/3 * (2pi/GM * y^3)^(1/2), where "y" is the semi-major axis of the larger, circular orbit
giving the formula:
x = (GM * (2/3 * 2pi*(y^3/GM)^(1/2))^2 / 4pi^2) ^(1/3)
Most of the variables like the gravitational standard parameter mu and pi and the exponents cancel out. heres how it looks simplified:
x = (2/3)^(2/3) * y
Moving the leftover (2/3)^(2/3) into variable "o" (which I initially called the phasing orbit modifier, this simplifies things later).
o = ((n-1)/n)^(2/3), where "n" is the number of relays you want in the orbit
I then substitute "x" with the semi-major axis formula (P+A)/2 , and y as A (since its both the phasing orbit's apoapsis and is also a circular orbit). then simplify further
(P+A)/2 = 2*o * A – A =>
P = A* (2o – 1), where "P" is the phasing orbit's periapsis, and"A" is apoapsis of the phasing orbit
Great so if we know the apoapsis of the relay orbit we can also easily find the target periapsis needed for the phasing orbit using this phasing orbit modifier.
BUT WAIT THERE'S MORE!!
While crunching for a "simplified formula" I had a hunch that eccentricity may be the thing I needed.
I didn't recall seeing the formula for Eccentricity ever posted in the video series so I had to look it up. The formula is as follows:
E = 1-2/(A/P+1), where A is the orbits apoapsis and P periapsis. (this formula doesn't apply to escaping orbits, i.e. parabolic/hyperbolic)
I had these two numbers up next to each other and quickly noticed that this also holds true:
E = o-1
The phasing orbit mod is directly related to the phasing orbit's eccentricity!
This means that since KSP shows you the eccentricity, you don't need to plan for an explicit period or attitude(within reason, apoapsis still needs to be within the min/max bounds as mentioned in the video), you just burn for an explicit eccentricity and you'll get the perfect phasing orbit, which works on ALL CELESTIAL BODIES.
Its also possible to burn from periapsis, but only if the apoapsis is in the correct range. If the periapsis is very low the apoapsis can end up under the minimum bounds and thus get occluded from other relays by the body it's orbiting. Also like normal, after the relays have been deployed and circularized you still may need to do minor correction burns so that the sibling relays sync their orbital periods.
TLDR;
Keep your apoapsis anywhere above 2x the body's radius but below the SOI (or for me, my upper bound is also the relays range / 25 for strong ground signal). Then burn for an eccentricity of 0.310371 (for 3 equidistant relays). If your eccentricity is less than this, burn retrograde. if its greater, burn prograde.
Good shit, man. Just started working on my relay network in KSP, so your explanations have been helpful. Wish my math teachers in school had been as clear as you.
Math went over my head :/
Bad ass!
That's precisely the video I needed to watch. Thank you!
Great video, i love the explanation, one question though, why does the period has to be dividable by 3? Can it not be 2 or 2.5 ad long as the period is exactly the same for all relays?
Me at 0:10 – seems alright.
Me at 1:10 – wft.
Great videos @mikeaben keep it up! Do you have a background in Maths to be able to do all these calculations? I am the reason for the extra 20 views in the last 3hrs lol. Now to fight with excel to get the equations onto my KSP helper spreadsheet
Bro you explained this better than my AP trig teacher
This is a great tool i found to easely plan your network if your too lazy to do math xD
https://meyerweb.com/eric/ksp/resonant-orbits/
Doh. When figuring out the 2/3 radius for the orbital insertion, I never even considered calculating the radius of the Mun. I was just using the altitude numbers. Haha. No wonder it didn't work.
thought the thumbnail was the orbits trying to form a pentagram
I feel like an ape now
So, the antenna rating (500k, 5M, 2G, etc.) is just the max range?
in early carrer stock game, this is pure gold
Any special reason why we want a signal strength of 80%?
Great tutorial videos! I spent a few hours last night using what I learned from your videos to design a mission to position 3 relay satellites in orbit around kerbin, with 99.99% signal strength between each pair of relays and more on the hop to KSC. It should give me at least 85% signal on the first hop with any single communotron 16 inside the relay orbit, so the overall signal strength would be >82% easily.
I also used your math videos to calculate the period of my chosen orbit, which I adjusted to the nearest multiple of Kerbins sidereal rotation period, so the relays should be in the same position above the surface once every 5 rotations. I calculated the periaps for a 2/3 period phasing orbit for insertion.
Then I used your math videos on hohmann transfers and elliptical transfers to calculate the dV I needed for each relay to circularise, for the inserted to get into the phasing orbit, and for the inserter to deorbit.
Finally, I learned from you about how to design the craft. How to use the interstage nodes in the fairing to install 3 payload craft. How to use subassemblies to save the payload and the boosters and reusable chunks. How to tune the booster subassembly for a particular carry weight (4.8t in my case).
Your videos have helped me do so much that I never thought I would have found fun but it is! Thanks for your great tutorial series.
This is the first time math has been fun.Thank you so much for the well paced explanation! I wish you were my math teacher back then 😉
Dude this was just way too fucking much. All i did was make a swarm of cubesats, only one cubesat had enough power and range to communicate with eloo from kerbin.
I wanted funni space game.
Instead I get math
Thanks for the video, it helped a lot
I know this is an older video but I'm only getting into this now, in Wolfram alpha I'm getting around 0.71 if I input this sum "2x³*3x³=0.8" and if I input the sum in the video "2x³*3x²=0.8" I get around 0.67. Am I using Wolfram alpha incorrectly or is the sum written down incorrectly? Thanks.
Someone may have asked this already, but why did you chose 80% as your minimum effective strength? Is that the minimum signal strength it takes to get your +40% bonus when transmitting science?
That "smaller and cheaper" satellite at 1:25 looks like a GPS IIF, which was a pretty expensive milsat flying at MEO. 😀
Great video! Even a few years later, this video still rocks and is still useful. I was wondering if there is any benefit to using more than three satellites in a relay network. Am I correct in thinking that using more satellites allows you to have a lower minimum orbit to maintain connectivity? If I'm thinking about the geometry correctly, using 6 sats instead of 3 would lower your minimum altitude by half.
That would give you a bigger range in which you can pick your relay orbit. So instead of adding antenna (or upgrading to more powerful antenna) to increase the min-max orbital range, you could add satellites.
However, it's probably cheaper (certainly easier) to just add more antenna (or upgrade antenna) than it is to add more satellites. And as you say in the video, this only really matters for the Mun.
Wow you explained this better than my math teacher lol
Mmmmmmmmm
Maph
My heart sank when you started talking about proofs. I have PTSD from doing proofs from my upper-division Linear Algebra and Analysis courses.