Skip to content

Building a Downrange Rocket

marsh1832 edited this page Mar 29, 2023 · 23 revisions

Introduction

A downrange rocket is a sub-orbital rocket that can potentially complete either the Downrange Distance LV Development, Low Space Film Return, or Advanced Biological Suborbital Experiment contracts. It is much larger and more expensive than a sounding rocket, so never build a downrange rocket for a contract that a sounding rocket can complete.

Contents

1: Basic Design

Like we did with the sounding rocket, lets look for a real life example to inspire our downrange rocket. Testing was done on captured V-2 rockets, so that makes an excellent design to mirror. The general shape and components of a V-2 is not unlike an Aerobee, just bigger in scale.

  • Avionics: In the tip of the rocket. They include the flight control electronics, batteries, experiments, and an antenna. However unlike the Aerobee, a V-2 can gimbal and steer itself using near-earth avionics, which are much larger than a science core. Note that the V-2 has something special that the Aerobee doesn't: a warhead. RP-1 is peaceful so we have no use for explosives, but it's important to remember that a 1000kg warhead was there when analyzing the rocket's stability.

  • Fuel tank: The middle of the rocket.

  • Engine, boat tail fairing, and fins: The bottom of the rocket. The V-2 engine is much larger than the Aerobee's, so it looks kind of ugly "naked." You can make it streamlined with a boat tail fairing. This is optional; there's slight aerodynamic benefits, but mainly it looks nice. The V-2 has 4 fins "attached" to the fairing. Fins are best placed as close to the bottom of the rocket as you can get them. Without the fairing the fins will "hover" over the engine, which looks weird. If we mount the fins near the bottom of the tank, but above the engine, they won't be hovering anymore, but will be too high up on the rocket, and it will be unstable.

Overall, the process is fairly similar to when we built the Aerobee, except now we're building an engine fairing. Let's go to the VAB! This is a new rocket design, so let's start a new craft file. Start with the procedural avionics part, but don't worry about configuring it for now. Put a conventional fuel tank underneath. In the payload tab, find the boat-tail adapter, press S twice to flip it upside down, then attach it to the fuel tank. We need it upside down because the engine fairing is pointed down, not up.

You have a choice between the A-4 and the RD-100 engines. They're similar, so choose what you like. If you're doing an American play through, pick the A-4. If you're doing Soviet or otherwise don't care, the RD-100 is probably the better choice. Attach your choice on the node directly next to the fairing base (not the floating node.)

I've colored the components again to make them easier to differentiate, but you can feel free to style it however you wish. You should have something like this:

2: Engine and Fairing

Now that we have the basic components, let's build upwards. Click through the engine's windows to figure out what it needs to operate:

  • Ullage This engine is subject to the movement of fuel within the tank.
  • Ignitions Remaining: Ground Support Clamps This engine only has one ignition, and it must be lit on the ground, attached to a launch clamp.
  • Min Throttle: 100 % This engine can only operate at 100% throttle.
  • Rated Burn Time: 70s This engine is rated for 70 seconds of burn time. It can go longer, but with increasing risk of failure.

The big differences compared to the Aerobee is that it does not require HP tanks, and that it MUST ignite from a launch clamp.

Now that we know that, let's cover the engine in a fairing. Set the fairing nodes to 2, set symmetry count to 1, pick a procedural fairing, flip it upside down (remember we flipped the boat-tail base,) then attach it. This should put a fairing only on one side, allowing us to more easily see what we are doing.

While still in the boat-tail base PAW, adjust the length to get it near the bottom of the engine. I used 2.9m. Then adjust "top" to narrow the bottom of the fairing (it's upside down remember.) I set it to 0.9m. Adjust the size of the base for a snug fit with the engine. I went with 1.5m. You should have 1/2 of a nice, smooth fairing now!

Make sure "disable crossfeed" is NOT clicked. Fuel needs to flow through this part to make it to the engine.

When you're happy, take the fairing off the base plate, set symmetry to 2, then put it back on. It should smoothly cover the engine. Now open the PAW for the fairing. Disable "Fairing Decoupler." It's cheaper and lighter when it doesn't decouple, and after all, this doesn't need to decouple, so why make it that way?

You can select "toggle open/closed" to open the fairings to get access to the engine and fairing base. It will be closed during flight. At the bottom of the PAW you can select the different styles, and if using the recolorable fairings, you can open the recolor GUI and style them as you like. I made mine orange for visibility and to separate it from the fuel tank, but color yours as you like.

Now that we know the width of the fairing, we know how big to make the fuel tank. Match it in size (mine is 1.5m.) Make sure you're not using HP tanks. Highly Pressurized should say "false." Make sure utilization is maxed. For this style of tank it is 83%. Now add the fuel. If the button isn't there, open the fairings with the "toggle open/closed" button, unhook and reattach the engine, and the fuel button should reappear. Now we need to lengthen the tank to get the full burn time of the engine. This engine has a burn time of 70s, plus the 5 free seconds, so we need at least 75 seconds. There's no solid underneath, so we don't need to add any extra time for that, but a little extra won't hurt! I set my tank to a length of 6.4m, which gets 76.2s of burn time.

3: Near Earth Avionics

  • Shape: Like the Aerobee, this will function as our nose cone, so let's make it nose cone-shaped. Select "smooth cone," set the top to 0 and the bottom to 1.5m. How long to make it is up to you. The V-2 is a much more powerful rocket, and isn't as sensitive to optimization like the Aerobee is, so we don't need a nose that is 5 times longer than it is wide. Plus, it would be a lot of empty space we really don't need. How about 3 times? That means a nose that is 4.5m long.

  • Controllable Mass: Open up the avionics config window if it's not already open. Set the avionics to "near earth." Near earth avionics differ in that you need to select a controllable mass. Controlling more mass requires heavier avionics, but the heavier it gets, the more efficiently it controls compared to it's own mass. Deciding how much to control is an important decision.

You might think the best thing to do is set the controllable mass to the mass of the rocket... and that is certainly ideal... for this rocket. But what about other downrange rockets? They won't be identical to this one. Avionics (especially near earth/deep space) are very expensive. You don't want to tool this any more than you have to. If we set controllable mass to the maximum of the launch pad (20t,) then we know that no matter what rockets we design in the future, the avionics we tool here will work for them as well.

There is a mass/cost penalty to having more avionics control than you need, but not as much as you might expect. 15t avionics are 392kg, and this rocket's ΔV is 3379 m/s. With 20t avionics it's 435kg and the ΔV is 3352 m/s. A small price to pay if it means we only have to tool these avionics once! Thus it is recommended to set the controllable mass of this rocket to 20t.

  • EC: Near earth avionics uses a lot more EC than a science core, so 400 is a healthy amount. Additional tank volume doesn't matter since we already have a nose cone shape, so select apply (preserve dimensions.)

  • Sounding Payload: If you look in the PAW you can see some info on our avionics, such as the utilization of 19%, meaning we have the rest of the space for payload. My contract requires 315 units (liters,) and yours might be slightly different. Under "real fuels" click the Tank UI button. This opens up the window to manually add any resources you like. At the top it will say info about how much volume is left for resources. My tank has 536 liters available. Scroll down to the bottom and find "SoundingPayload." Click add. It will default to the maximum available space. Manually type in what your contract requires and click update. The payload should now appear as a resource in the avionics. You can click the Tank UI button again to make the window close.

If the avionics doesn't have enough space, an alternate way of loading sounding payload in the rocket is the use of a thin HP tank between the avionics and fuel tank. Using an HP tank for sounding payload is superior in mass and cost to avionics, which contain an expensive service module. For the purposes of this tutorial, we will be putting the sounding payload into the avionics since that is how the real life rocket was.

  • Antenna: Go into communication and downgrade the antenna to 20 dBm for the same reasons as we did so on the Aerobee, the rocket just won't get that far away, so it doesn't need the gain.

  • Experiments: Open up the experiments configuration window and add a barometer and thermometer. Make sure to enable them, as well as telemetry analysis, so they will all transmit science automatically.

We should have a pretty nice rocket shape now:

4: Fins with an Engine Fairing

Select "Procedural Wing Early" and put 4 in symmetry somewhere near the bottom of the tank. Note that you cannot attach fins directly to a fairing, but don't worry, we will fix that in a bit. Hover over the wing's main body and press J to modify them. Let's make a rough shape first, position them, and then fine tune. Set the length to 1.25m, width (root) to 1.5m, width (tip) to 0.05m, and thickness at root and tip to 0.100. (Remember that FAR doesn't like 0's.)

You should have something roughly fin-shaped now. I colored mine to make their components easier to see:

Turn off angle snap, and using KSP's move tool, click on the fin. Now you can offset it over the fairing. Put it roughly in the middle. Then use the rotate tool to make the base of the fin match up to the fairing. Then offset it again to be flush with the fairing. (Switching from absolute to local helps here) It'll clip into the fairing a little but that's okay.

Now that it's positioned, let's make it the final shape. Extend the width (root) to take up most of the fairing's length. (2.150m) Then change the offset so the fins are flush with the bottom of the fairing. (0.925) You might need to use the move tool again for the final fit. When it's all done, all we need to do to adjust the CoL is change the length of the fins. Feel free to reduce the mass strength ratio of the fins to save a little mass if you wish, but it's less critical here compared to an Aerobee. Just make sure they don't break off during the launch!

5: Dry Center of Mass and RCS Build Aid

Enable the CoM and CoL indicators. There's an additional indicator that can help us, the Dry Center of Mass (DCoM.) This is not a stock KSP feature, but we can use RCS Build Aid for this. Click its icon on the toolbar. It looks like a circle arrow.

Under "resources," make sure nothing is selected. When you select something, you exclude it from the dry mass calculation. In other words, you're telling RCS Build Aid it's something that WILL NOT be consumed.

Under "markers," click DCoM. Consider clicking ACoM (Average Center of Mass) if you wish. You need to keep the RCS Build Aid window open to keep these markers up. The red marker is the DCoM.

  • Dry Center of Mass: Early engines like the A-4 are very heavy. Notice how far down the CoM moves as the rocket burns fuel? This makes the rocket unstable, especially high in the atmosphere after the engines turn off. Remember how the V-2 came with a 1000kg warhead? Now that it's not there, we have an unstable rocket. The real life V-2's used post war had stability issues as well.

To fix this, we need to add some of that mass back. It may seem to go against everything you know about rocket design to add extra mass that "does nothing," but keep in mind the V-2 was designed assuming a 1000kg mass would be there. We don't need to add all of that back to regain stability, so how about we add 500kg?

  • Lead Ballast: Open up the avionics since it's functioning as our nose (and that's where the warhead was,) open up the Tank UI and scroll down to leadballast and add it. It will default to use the rest of the internal space, but that's FAR too much lead. We only need 43 liters to get our 500kg. Note that lead ballast DOES NOT appear as a resource like EC and Sounding Payload. If you pay careful attention to the wet mass of the avionics, you can see that the mass is there.

Adding ballast is undesirable in rocket design, but it is what it is. Sometimes sacrifices are made for balance. Since it's not a resource with a "fuel bar" like everything else in KSP, make sure you remember you put it there when modifying this design for future contracts. You can confirm it's status of existence by opening up the Tank UI in the avionics and scrolling to the bottom and seeing if any is installed.

Look at what happened to the DCoM. It moved much higher, and closer to the CoM! This is much healthier for the rocket. Looking at the CoL as it relates to the CoM and DCoM, it seems to be in a good place. We don't need to adjust the fins, for now. We will find out in the sim!

  • Launch Clamp and Staging: Grab the medium launch clap and attach it to the engine, or alternately use Modular Launch Pads if you want to make it look prettier. Set the staging so the engine fires first, then the launch clamp. The engine will need time to spool up to full thrust before we release it, so don't stage both at the same time.

With that, the V-2 is complete! Let's save and sim it!

6: Flying a Downrange Rocket With Mechjeb

Note: There are many ways to fly suborbital rockets. This is simply one way to do it. Some use Smart A.S.S. while others fly by hand. Experiment and find what works best for you.

This is a fully-guided rocket, so there's more settings in mechjeb we need to set to automate it. Mechjeb isn't that great with suborbital rockets like this, so we will have to play with it a bit to get a nice, consistent launch profile.

  • Basic Settings: Make sure the mode is set to "Classic Ascent." Set orbit altitude to 1000km, or some other high number the rocket has no hope of reaching. This is just so mechjeb won't shut the engine off. Since we only have one ignition, this shutdown is permanent. Set the orbit inclination to "current." Set limit AoA to 5. What this does is limit how aggressively the rocket can steer. Enable autostage, with the delays and "stop at stage" at 0. This is so it stages on time and doesn't stop until it's used all stages.

  • Ascent Path: At the bottom, select "edit ascent path." This opens up the ascent path editor. We can fine tune the suborbital trajectory with this tool. Make sure "automatic altitude turn" is enabled. Use the velocity slider to select 27 m/s (or something close.) This sets the minimum speed before the rocket will start the gravity turn. Early rockets like this have a very high TWR (2.15 at launch in this case,) which is much higher than we would prefer. We need to mitigate that the best we can by tipping over immediately. Rockets with a more modest TWR would turn much more gradually.

Leave "flight path angle" at 0 for now. This can be useful in adjusting the final trajectory upwards for orbital rockets that use classic ascent guidance. You won't use it much/at all, but it's there if you need it.

  • Turn Shape: How aggressively the rocket will perform the gravity turn. For an orbital rocket you generally you want this as low as possible while not overheating or losing too much to drag. It means something different for a suborbital rocket; it decides the ballistic trajectory. By setting the number higher, you trade downrange distance for altitude, and vice versa by setting the number lower.

Let's set it to 30% for now. We will have to sim it to see how it works.

  • Limit AoA: This launch won't be entirely automated. We will need to help mechjeb a little. If we let the launch take it's course uninterrupted, it will not have an ideal flight path for our contract. We can modify that by, at some point in the flight, setting the "limit AoA" number to 0. This will prevent the rocket from doing any more steering, other than to stay on the prograde marker. It won't end the gravity turn, but it will give us some control on the final flight pitch at engine burnout. This pitch is an important thing we can do to control the downrange performance of our rocket. Additionally it helps stabilize the rocket for when the engine shuts off.

The most efficient pitch that maximizes the downrange distance of something on a ballistic trajectory is 45 degrees. On plantary scales, the ideal number is actually lower than 45 due to the curvature of the Earth. In general 35-45 degrees will produce similar results, so that's what we want the pitch at burnout to be. We can do this by setting the AoA limit to 0 at a certain point in the flight. What I like to do is pay attention to the rocket's current pitch, either through the mechjeb window or the nav ball itself. For this rocket, when it gets to 55 degrees, change the AoA limit in mechjeb to 0. The text should be green, showing the limit is in effect.

  • Review of the Flight Plan: To launch the rocket, we enable mechjeb and press spacebar. Mechjeb will handle flying the rocket. When the pitch gets to 55 degrees, change the AoA limit to 0. That's it! We can spend most of our time monitoring how the rocket is flying and taking notes for any changes to the next sim.

Let's launch the rocket and see what happens, paying close attention to the nav ball and prograde markers. You might have to launch several times to figure out how this works, and to get the numbers dialed in. Every time you launch, make sure the AoA limit is set to 5. It's easy to forget you set it to 0 on a previous launch!

7: Diagnosing the Flight

Looking stable! Ideally after the engine shuts off, it should stay stable and not flip, which causes drag and reduces the downrange performance. It's okay to tip in the upper atmosphere (100km) where there isn't much drag.

  • Monitoring Downrange Distance: You can create a custom mechjeb window (or add it to an existing one,) look at the contract window if you have a downrange contract, or look at the flight recorder. Looking at the contract window is a pretty good idea here because we are testing to see if this rocket can complete the contract. Follow it through it's flight path and make note of how high and how far downrange it got.

My rocket got to 113km altitude and 421km downrange. This did not complete the contract, so this needs to be fixed. The contract requires 140km altitude and 170km downrange.

  • Take Notes: It can be hard to remember the results of a flight, or changes a rocket might need, so take notes. For example, if one of the fins broke off, write this down to remind yourself to fix it back in the VAB. Make sure it is gathering science and sending it back to KSC, and that the EC lasts until the end of the mission. In this case, it's when the rocket is destroyed, either from impact with terrain or from aerodynamic forces. You can use the "range safety" button in the avionics PAW to end the mission on demand with an explosion.

  • Adjusting The Ascent: Since this rocket flew well, but had far more downrange than it needed, we can trade some of that for altitude to complete the contract. This is a fairly large change, so let's adjust the turn shape to 40%. You can also adjust it in a more subtle way by changing when you set the AoA limit to 0. If you wait longer to set the AoA to 0, it will pitch down more, and vice versa.

After the change, the rocket topped out at 146km altitude with 400km of downrange. This completed the contract! The turn shape could probably be a little higher than 40%, but this is good enough!

When you've figured out the right flight profile, it's important to write these numbers down somewhere. Mechjeb has a habit of changing settings between launches, not to mention that different launches might require different settings! For this rocket (and contract,) I'm going to write down:

  • Turn start is 27 m/s
  • Turn shape is 40%
  • AoA limit when at 55 degrees pitch

Since the downrange performance significantly exceeded the contract, it could probably do a more difficult contract in the future, but that's for a different sim! When you've got the rocket how you want, it's time to tool it. For me, it was about 24k funds. That's quite the sticker shock compared to the Aerobee! The majority of this cost (15.4k) is for the avionics alone, so you can see why I stressed only tooling it once. After tooling, click the launch button to put it in the KCT queue. Unlock any parts it asks for.

Clone this wiki locally