In‐Space Attitude Control Milestone - KSP-RO/RP-1 GitHub Wiki

Previous Chapter -- Main Page -- Next Chapter

Introduction

The Demonstrate Attitude Control In Space contract will be your space program's first foray into orbital flight, and is a major milestone in your career. Designing this rocket will require knowledge of vacuum attitude control design and is a first step towards designing orbital rockets of your own! The rocket, tech-wise, is slightly more technologically advanced than the previous chapter's sounding rocket, but it's mainly a design challenge. Hopefully you have completed some contracts, passed some time, and gained resources while you're waiting for technology to research; it's never good to have too much idle time. You should almost always be building a rocket or completing a contract or at least gaining science; staff aren't there to twiddle their thumbs, after all! And if you didn't, that's okay too; playing optimally is nice, but having fun is more important.

Contents

1: Contract Requirements

The requirements for this contract are fairly complex. There are four main concerns:

  1. Do not lose control at any point throughout the flight. You must always have sufficient avionics control tonnage active.
  2. You may not perform any sort of burn whilst in space. This will render the contract uncompleteable.
  3. You must have attitude control in space and hold three different attitudes for twenty seconds each.
  4. At the end of the flight you must have gone at least 800km downrange.

In order to achieve these objectives with a sensible rocket, the Post-War Rocketry Testing and Post-War Materials Science tech nodes are required:

2: Creating The Upper Stage

For our upper stage your main concern is ascent aerodynamics and achieving attitude control in space.

Start by configuring your avionics similar to this:

This configuration ensures we have enough control tonnage for our rocket and enough battery to not run out of power during the flight.

Next we need to achieve attitude control. This is where RCS comes in. Go into the Command & Control tab, and pick this RCS block:

We will also pick up a Hollow Interstage from the Coupling category as well as Another Modular Radial Tank from the Fuel Tanks category. First, attach the Hollow Interstage to the bottom of the avionics unit, enable crossfeed on it, disable top staging (the button will say 'Enable Top Staging' if it's configured correctly) and enable bottom staging. Second, stick four RCS blocks on it with radial symmetry. Third, stick four Another Modular Tanks inside of it, also with radial symmetry, and resize as appropriate. Finally, configure the RCS Blocks to use Helium, switch the tanks you just placed to HP Al Fuselage, and fill them with Helium. Where neccessary use the Move tool (Hotkey 2) to move everything into the right position. The finished interstage should look something like this:

3: Creating The Lower Stage

Creating the lower stage is not very complex. Attach a Modular Tank to the bottom of your interstage, give it the Shroud (XL) mount, attach an RD-100 inside the shroud and move it up with the Move tool until the HTP tanks at the top of the model are nestled inside the Modular Tank and the combustion chamber is still inside the mount:

Finally, add some fins to increase aerodynamic stability. Your finished rocket, staging and Delta-V stats should look like this:

4: Running A Sim

Now that the rocket is designed, we're ready to simulate. Flying the ascent to space manually is not required. Just configure MechJeb's Ascent Guidance with the Classic Ascent Profile and the following Ascent Path Editor settings:

Stop Autostaging at stage #1 is particularly important here, so we don't accidentally decouple from the first stage until we are ready to engage in the attitude control exercises.

Once you're ready for liftoff, click Engage autopilot in the Ascent Guidance UI and hit spacebar. Once your engine burns out, hit Disengage autopilot in the Ascent Guidance UI, throttle down all the way to zero, and wait until you reach 100km of altitude. The rocket may tumble whilst ascending to space. This is not a problem.

Once you're above 100km, the atmosphere has lost most of its grip on you. Stage to decouple from the first stage and enable your RCS. Additionally, open the Surface Info and Smart A.S.S. MechJeb menus. These will be of great assistance in achieving the attitudes required by the contract.

The first attitude the contract needs you to hold is a pitch of zero degrees, a heading of 90 degrees, and a roll of zero degrees:

To achieve this, go to the SURF tab in Smart A.S.S., Select the SURF button in the SURF tab, and set HDG (Heading) to 90, PIT (Pitch) to 0, and ROL (Roll) to 0. Make sure to tick the box on ROL, as it defaults to off. Once you've configured the attitude, click EXECUTE.

You should now be seeing your RCS fire and the upper stage orient to the required attitude.

Pay attention to the 20 second timer in the Contracts window. Once it completes, read the new required attitude in the Contracts window. Enter HDG 0, PIT 0, and ROL 0 into Smart A.S.S. and hit EXECUTE again. You will now be yawing left and end up pointing north. Once you've held this attitude for 20 seconds, read the final attitude from the Contracts, enter it into Smart A.S.S., and hit EXECUTE. You will end up pointing south with a 45 degree pitch.

Now all that's left is to look at the Downrange distance readout whilst we wait for it to hit 800km. Bear in mind that the 'Do not expend more than 10 m/s of dV whilst above 100km' parameter will only complete once you fall back down below 100km, provided you have followed this directive.

If everything went as intended, your final downrange distance will be approximately 820 km, as seen in the Mechjeb Ascent Stats window. You can also see that the contract has completed in the Contracts window. You are now ready to build and fly the actual mission.

5: Completing The Contract

If you've not built an LC in the 15t weight class before, do so now. Hit the New LC button in the Integration Info window, and configure the LC for your rocket.

If you have built a similarly sized LC already, select this LC in the Integration Info window, click the Modify button in the Integration Info window, and then click the Modify button in the Modify Launch Complex window. This will configure the LC to be able to build and launch your new design.

Building or modifying the LC takes time. Modifying is faster than building new, but both need to be planned for. A good time to perform build or modify the LC is whilst the technology required for your rocket is still researching.

6: The Next Step

The next contracts after this are the In-Space Ignition Milestone and the First Advanced Biological Suborbital Experiment contract. The first one is the In-Space Attitude Control contracts, which includes similar attitude control exercised, but also a 2500 m/s burn after the attitude portion. This contract will be covered in the next tutorial, as it is a decent step up in required capabilities. The First Advanced Biological Suborbital Experiment contract is fairly easy; just go really fast with an advanced biological capsule and some sounding payload. As this is fairly easy we won't be covering it in the tutorial.

So, congrats! You have just made your first step toward orbital rocketry. This is one of the first difficult contracts you will complete, and has hopefully prepared you for in-space maneuvers. The next chapter will cover how to build a two stage rocket and perform an unguided in-space burn.

Previous Chapter -- Main Page -- Next Chapter