Jump to content

Precise KEO/KSO insertion


Recommended Posts

My original question is below, but if anyone wants a spreadsheet that they can input their orbital values into to move into a precise KSO/KEO orbit, the link is:

SPREADHSEET

I haven't bothered making it super precise so that you can enter your current altitude, so it works best if you start from a parking orbit with an eccentricity close to 0. If anyone has any suggestions or notices something wrong, please let me know!

Hello! I apologize for such a simple question but I can't seem to find an answer in the normal wiki spots.

Currently in my games, to put a satellite into KEO/KSO I just park them above or below the correct altitude and wait for the target to pass under to correct the orbital period to 6 hours.

I got to thinking that there must be a way to predetermine when to make a burn so that you arrive at periapsis or apoapsis above your target and make it a bit more scientific. If some of you wizards of maths could help me I'd very much appreciate it.

I'd ultimately like to put 3 satellites each into inclinations graduating by 45 degrees, for a total of 24 if my math is right. Each satellite in the same inclination would be separated by 2 hours, and all inclinations would intersect above a common point (KSO for the first satellite), with a satellite passing over that intersection point every 15 minutes. I plan to have the apoapsis and periapsis values different for satellites orbiting in prograde and retrograde to prevent collisions, but will enjoy the problem of fine tuning that dance when I encounter it.

I did search the forums, but didn't find an answer so assumed if it's there to find I'm suffering from a case of missing keys.

Edited by tkb
Added spreadsheet link!
Link to comment
Share on other sites

Best idea would be to choose a circular parking orbit at the altitude where the periapsis would be on a four hour orbit with apoapsis at KSO altitude.

Then burn when you are directly opposite your desired point and wait 1.5 orbits to circularize

Link to comment
Share on other sites

To get a satellite directly above a location on Kerbin stationary orbit, first you need to find out the angle between the satellite and the location you want it above. Take that, divide by 360, and then multiply that number times 6 hours (21,600 seconds).

If you are ahead of the location, this is the amount of time you need to increase your orbital period by, and if you are behind that location it is the amount of time you need to decrease your period by.

Now that you know the time that your orbit needs to take, you can solve this equation for the semi major axis, and adjust your orbit accordingly. After one full orbit you circularize back to a six hour period, and you should be in your desired position.

The same thing works for satellite spacing, just find out what angle the craft is at from where you want it to be at.

If you are doing inclination intervals of 45 degrees, you should only need 12 satellites, otherwise once you get past four inclinations the orbits start to overlap, but the satellites will be traveling in opposite directions, making for a nice fireworks show.

Link to comment
Share on other sites

Thanks for the answer. I'd just like to make sure I smell what you're stepping in and not getting lucky.

Let's say I'm in a parking orbit with a SMA of 2633.09 km. That should give me an orbital period of 14285.41 seconds. I would want to burn to raise my apoapsis to ~2868.75km, giving me a SMA of 3050.92 km, and increasing my orbital period to 17817.24 seconds. So I'd take the difference of 3531.83 seconds, divide by 21600, then multiply by 360 to get the degrees? That results in 58.86 degrees, which I'd then wait one full orbit and circularize at periapsis to give myself an orbital period of 6 hours?

Based on the above, I decided to try to half it so I could burn at the next apoapsis, and it put me about right above KSC (I burnt at ~104 degrees west). Now to figure out the timing for a bi-elliptic transfer.

Link to comment
Share on other sites

I think that might've ended up being a little more luck than anything else. I wish there was a way to write out formulas in a post that looked nice and neat, it would make things so much easier.

The math you did is almost right, because you increased took the difference between the first orbit and the second orbit, you'd have to divide by the period of the second orbit to get the angular change between your position before and after one orbit, relative to the other orbit.

Starting from a parking orbit at a lower altitude complicates things a little bit, because then you have to take into account how long it takes for you to travel from position one to position two, and from there you can found out the angle you need to be at relative to the second position to make the burn at. It essentially becomes the same as an interplanetary transfer, where you have a specific launch window to get from point A to point B.

If you want to do it this way, then you have to find the flight time for one half of the transfer orbit, because when you perform a Hohmann transfer you only go through half of the orbit before you recircularize.

Starting from a 2633.09 km SMA, the transfer orbit will have a SMA of 3050.92 km, and a period of 17817.24s. Divide that by two to get the travel time, which is 8908.62s. Now imagine that you draw a line straight up from the location you want to be over to the synchronous orbit, and place a ball there. It's orbital period will be 21600s, so if we divide 8908.62 by 21600, we will get the percent of it's orbit the ball travels through. Multiply by 360 and you get the number of degrees it travels, which in this case is 148.48 degrees. This means that the target will travel ~148 degrees while you complete your transfer to apoapsis of the higher orbit. This means that the target must be 180-148.48 degrees in front of you when you begin the transfer, or 31.52 degrees. If you burn at this time, it will place your apoapsis directly at the target, where you then burn and circularize.

However, if it was me, I would start at synchronous orbit, find the angle between me and the location I want to be, and follow the math from my first post. If you've done rendezvous of two craft in the same orbit, its the same idea, except with a location as your target instead of a second craft. For example, I launch in synchronous orbit, but find out I am about 45 degrees too far ahead of where I want to be. I divide 45 by 360, and multiply by 21600, to give me 2700s. I can rearrange the equation for orbital period to solve for SMA, just plug in everything and let algebra do its magic. Because you are ahead of the desired position, add 2700 to 21600, solving gives me a SMA of 3752.10 km. This means that apoapsis needs to be increased 4035.46 km, if I did all the math right.

IMO, the second method is easier and faster to do that the first, but if you need a parking orbit for some reason then the first method would be the way to go. Also, I know there is a protractor program you can download that overlays a movable protractor onto your desktop screen, it's very useful for finding angles between objects. I don't know what it is called or where it is however, it's on my computer but I can't find it at the current moment. If you have any questions about any algebra I left out between steps let me know, it would be a lot easier if I could draw out diagrams and formulas onto the forum.

Link to comment
Share on other sites

Ah, it was absolutely luck that it ended up in the correct position! I ended up making corrections to a spreadsheet I made for KEO/KSO launches and tested it with varying parking orbits and I'm putting satellites within a degree of KSC, so it's great. I know it may be more complicated, but it makes me feel like I'm doing it the way a mission planner on earth would do it.

Anyway, thanks again!

Link to comment
Share on other sites

My original question has been answered, but if anyone wants a spreadsheet that they can input their orbital values into to move into a kind of precise KSO/KEO orbit, the link is:

SPREADHSEET

I haven't bothered making it super precise so that you can enter your current altitude, so it works best if you start from a parking orbit with an eccentricity close to 0. If anyone has any suggestions or notices something wrong, please let me know!

Link to comment
Share on other sites

I'm glad I could help :) There's nothing else like the satisfaction of a precisely coordinated mission working out. Also, I'm sure you've figured it out by now with your spreadsheet, but the bigger the difference between the parking orbit and final orbit, the less time you have to wait until another opportunity to transfer to the final orbit.

Link to comment
Share on other sites

Yep! Again, I really appreciate the help in figuring it out. If you'd be willing to continue the help, I'm working on another issue now.

I'm working on adding polar insertion into my spreadsheet. I've got the first part down, I think. I can get it to tell me based on from what latitude I burn from to the equator, it tells me the longitude I'll arrive at. I know with these values I can then figure out when in the future I'll arrive at the correct lat/long to burn for a polar orbit that passes directly over KSC at the same time my KEO satellite does (Don't worry, I'll give them 50 meters or so of altitude difference so there's no sad engineers on the ground!). I figure for now that passing over it heading north or south is really inconsequential, but I'm having problems putting the equation together.

Edited by tkb
Corrected explanation
Link to comment
Share on other sites

Okay, so it took me a little while to think through this, I hadn't planned something like this before, but I'm pretty sure what I've got should work. I'm going to use this picture to try and help. Now, if you use your imagination and pretend that these are nice, perfect circles, the diagrams are drawn from a top down view of Kerbin.

C25AtP1.jpg?1

I'm assuming that you are already in a polar parking orbit, which is the vertical line in the second diagram, and the satellite is coming over the top of Kerbin down the page. The KEO satellite is at some position in the desired orbit, for now it doesn't matter. Let's pretend we take the parking orbit and lay it on its side, so that is orbiting the same direction as the desired orbit. This gives us the first diagram. If we transpose latitudes onto the parking orbit in the first diagram, 90 degrees North would be on the left, 0 degrees would be on the bottom, and 90 degrees South would be on the right. From now on I will call North latitudes positive, and South latitudes negative. For example, 45 degrees N will be +90 degrees, and 60 degrees S will be -60 degrees.

If these were two equatorial orbits, with a parking orbit SMA of 1500, and the desired is a synchronous orbit, then the KEO satellite would travel 109.1 degrees during the transfer, and needs to be 70.9 degrees ahead of the current satellite when the first burn occurs. It works the exact same way for a polar orbit insertion, except that now we can no longer hold a protractor over Kerbin, and we have to find a meaningful way to compare latitude to longitude. To help keep things clear, we'll call the angle that the KEO satellite needs to lead the current satellite by alpha. So angle alpha is is 70.9 degrees in this situation. Now we just need to focus on the bottom half of the second diagram. If you look at that diagram you will see that I labeled one portion positive, and one portion negative. They are separated by the plane of the polar orbit, and that's how we will orient ourselves. Angle alpha is positive, so it is on the right portion, which is exactly how we would expect the positions to look like for a transfer between two equatorial orbits.

We know what angle alpha is, but to find out what angle the KEO satellite has to make with the polar plane, which will be angle beta, we have to look at our current latitude. If our latitude is 0 degrees, then angle beta is the same as angle alpha. However, let's say our latitude is +50 degrees. To find angle beta, we subtract the latitude from angle alpha and get 20.9 degrees. This means that the KEO satellite must make an angle of 20.9 degrees with the polar plane, and since it is positive, it will be 20.9 degrees to the right. If our latitude is +80 degrees, angle beta is -9.1 degrees, and therefore is 9.1 degrees to the left of the polar plane. If our latitude is -60 degrees, then angle beta is 70.9-(-60), which is 130.9 degrees, to the right. Additionally, for the transfer burn to put you in the right position to circularize, angle beta + latitude has to equal angle alpha. Any other time and you won't end up at the right spot to pass over at the same take as the KEO satellite.

Now, what do we do if angle beta plus our latitude doesn't equal angle alpha? If beta plus latitude doesn't equal alpha, we will call beta plus latitude angle theta instead. And now can find the rate at which angle theta is changing. The rate of change of position angle in each orbit is called angular velocity, which is 360 divided by the orbit period. In the example from before, the angular velocity of the synchronous orbit is 0.0167 degrees/second. The angular velocity of the parking orbit is -0.0446 degrees/second, because the current satellite is traveling from positive to negative latitude. To find the rate that theta is changing, we add the angular velocities together, which gives us -0.0279 degrees/second. If we take angle alpha minus angle theta, and divide it by the rate that theta is changing, it should give us the time until there orbits are properly lined up and we perform our transfer burn. For example, let's say our orbits are the same as before, which means angle alpha is 70.9 degrees. If we are at latitude +45, and angle beta is 60 degrees, then angle theta is 105 degrees. Angle alpha minus angle theta is -34.1 degrees, divide by -0.0279 degrees/second, and we get 1222.22 seconds until the orbits line up properly.

I really hope this helped some, the method turned out to be a lot more convoluted than I had hoped, but I couldn't figure out any other way to make it work using latitude, since latitude goes from 90 N to 90 S and then repeats on the other side. I'm pretty sure it will work out correctly, but I haven't had a chance to test it yet. Also, sorry if I ended up typing too much, I was an organic chemistry lab instructor last year, so I got used to breaking things down into very small pieces to explain them.

Link to comment
Share on other sites

I'm dense and am not quite sure I'm following your solution as every time I try I can't get it to work out. I've ended up working out a method that takes the given lat/long, then just does stepping burns based on that to slowly bring the satellite and the location closer together.

I've also thought about launching, achieving KSO, burning out to double my orbital period, performing the inclination change, then recircularizing.

Link to comment
Share on other sites

It's not that you're dense, it's just that once you start trying to do calculations on orbits that are of two very different inclinations, things become a lot less intuitive. It's one thing to see that in a co-planar transfer you need to be behind your target if you're in a lower orbit, because you are traveling faster, and the added problem of trying to compare latitude to longitude just complicates things further. I hadn't gotten a chance to test out my method, but I'll see if I can get it to work today, and get it into a spreadsheet.

Link to comment
Share on other sites

Okay, I got a spreadsheet working, and I think it should work for just about any case, I tried it out real quick using mechjeb for the manuevers. If you use an ion engine or RCS to get everything extremely accurate, you should pretty much be able to hit one satellite with the other. Mechjeb was a few seconds off from a perfect orbit, but I was still able to get the satellites within 3 km of each other.

GzaQYtv.png

And here is the spreadsheet that I created. You just need to put in the altitude of the parking and final orbits, and I also include a spot for the gravitational parameter if you want to use the spreadsheet for other bodies too.

Spreadsheet

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...