|
The NASA Space Shuttle was the world's first operational space plane capable of reaching orbit. It was operated from 1981 to 2011 on a total of 135 missions during which two orbiters, Challenger and Columbia, were lost in accidents. The mixture of a rocket-like launch, a spacecraft-like near ballistic early atmospheric phase and an airplane like approach and landing makes the Space Shuttle a truly unique flying experience.
The Space Shuttle model for Flightgear, first released together with version 3.6, aims to re-create this experience by a detailed modeling of all aspects of the spacecraft's operations, ranging from sophisticated aerodynamical modeling to a comprehensive simulation of the Shuttle's systems and the effect of their failures. It is by now one of the most advanced simulations in Flightgear and likely one of the most realistic representations of the Space Shuttle available. The main platform for the aerodynamical, orbital motion and systems simulation is JSBSim, a sophisticated Open Source multi-platform flight dynamics engine which is also used in research and professional applications. Download: Last stable version Possibly unstable development version Flight Manual:
The official Flight Manual (Standard Edition) is available from the bookstore, a Deluxe Edition with more information is in preparation!
An informal development log
AerodynamicsSpanning the full range of a rarified atmosphere rushing by at Mach 27 to the dense low atmosphere through which the Shuttle glides at subsonic speeds on final approach, the orbiter probes a huge variety of conditions. Through this range, the aerodynamical properties change drastically. The entry into the atmosphere is flown at a high AoA of 40 degrees, creating a detached shockwave of hot plasma which limits the direct heat transfer to the fuselage, while at lower Mach numbers the AoA is gradually reduced, leading to a more aircraft-like behavior.While the craft is yaw-stable at subsonic speeds, at supersonic and hypersonic speeds the high AoA places the vertical stabilizer essentially outside the airstream, making the craft dynamically unstable in the yaw axis. Yaw stability in this regime is then purely managed by the flight control systems. For a similar reason, the response of the craft to elevon deflections is non-linear and asymetric at high Mach numbers and high AoA and gradually becomes symmetric only at lower airspeeds. Aerodynamics is where Flightgear and JSBSim excel - the platform offers the possibility to incorporate a huge amount of available data into the simulation. All aerodynamics used is based on NASA technical documents in public domain - for the nominal regime, in-flight data has been used, for off-nominal situations wind tunnel results both for the mated launch vehicle and the orbiter alone have been utilized.
Features of the aerodynamical modeling include:
CockpitThe Shuttle flightdeck is densely packed with screens, controls and switches and allows to monitor hundreds of parameters. Many of these are animated and fully functional in the simulation such that practically all major tasks can be performed by utilizing 3d cockpit controls.The cockpit also has a fairly detailed lighting model in which all available lights with their brightness controls are simulated, in addition to an ambient lighting model that takes into accound instrument backlighting and external light sources such as the glow of the plasma during entry to determine the residual light in the cockpit.
Features of the 3d cockpit include:
AvionicsThe Space Shuttle has quite a complex avionics system, with an older layer, the data processing system (DPS) dating back to the time before a glass cockpit was installed, and a newer layer, the multi-function electronic display system (MEDS) having been installed later.This structure, along with its quirks, error messages and pitfalls, has been faithfully implemented in the simulation, Over 40 pages allow to access systems ranging from basic flight control and attitude over RCS jet management to the details of the temperature distribution in the hydraulics systems. By using the cockpit keyboards, commands can be issued to both systems management and guidance and control systems, allowing to control the Shuttle just as it is in reality. The simulation 'speaks Shuttle', i.e. you need to learn commands like ITEM 30 +1 EXEC to interact with the systems, and probably soon understand Commander John Young's frustration when he said: What we have in the Shuttle is a disaster. We are not making computers do what we want. (...) We end up working for the computer, rather than the computer working for us.
Features of the avionics include:
Thrust for the ShuttleFrom the huge solid rocket boosters (SRBs) used to get the spacecraft off the launch pad to the tiny Vernier thrusters used for attitude hold in orbit, the Shuttle utilizes more than 50 distinct engines, all with their unique characteristics.The powerful SRBs and the main engines can be gimbaled to provide thrust vector control during ascent. After little more than two minutes, the SRBs are spent and separated, to fall back down to Earth, and the main engines continue for another six minutes to push the Shuttle into orbit, constantly re-adjusting for the change in the center of gravity as the external fuel tank gradually empties.
Once in space, the reaction control system (RCS) becomes the main mode of controlling the Shuttle and the orbital maneuvering system (OMS) engines execute the orbital insertion and de-orbit burns. Due to structural and thermal constraints, the arrangement of the RCS is somewhat awkward, with pronounced cross-coupling between both nominal rotational (yaw, pitch and roll) and translational (x, y, z) firings. Each of these thrusters comes with a detailed hardware model, checking free flow of propellant, availability of hydraulic or electrical power to operate valves and accounting for various damage modes, including e.g. RCS jets failing to extinguish. Features of the thruster modeling include:
The flight control systemBringing a craft with the aerodynamics of a brick which in addition is yaw-unstable safely through the upper atmosphere where the trajectory has to be carefully controlled and managed is no mean feat. Neither is providing seamless control for the pilot from launch under full engine thrust via orbital maneuvering to the final landing. The flight control system (FCS) is the piece of software at the heart of all this.The Shuttle is controlled by a number of selectable digital autopilots (DAPs), most of which are available in the simulation. These range from special-purpose in-orbit DAPs like the Vernier control which utilizes the weakest thrusters for attitude holding to highly adaptive pieces of software like the Aerojet DAP which is used for atmospheric entry till rollout, which has to cope with the transition from a purely-RCS controlled spacecraft at entry interface to a purely airfoil-controlled subsonic glider. DAPs utilize thrust vector control, RCS thrusters or airfoils to maintain the Shuttle's attitude and trajectory at all times. They have to cope with control cross-couplings, instabilities, shifting center of gravity - and yet they make controlling the Shuttle feel easy.
Features of flight control modeling include:
Automated flightWhile it was entirely possible to fly almost all parts of a Shuttle mission by hand, this was not normally done. Rather, the Shuttle was maneuvering under automatic control. An autopilot often manages tasks like achieving a precise inclination better than a human pilot, and especially highly dynamical situations such as the pullout after the plunge into the deep atmosphere during a contingency abort that stresses the Shuttle to its structural limits is better be handled by the flight computer.There is extensive support in the simulation for automated flight both for nominal and off-nominal trajectories. The systems can be run to fully control the Shuttle as well as to provide 'fly-to' indicators for a human pilot to train manual control. On orbit, correction burns with the orbital maneuvering system can be planned and executed completely on autopilot, and to support a mission, multiple pointing and tracking routines are available which can be used e.g. to keep instruments in the payload bay pointed at a specific location on Earth's surface. Automated flight features include:
SystemsThe Space Shuttle is a complicated piece of hardware, with many different, mutually dependent systems aboard. For normal operations, power is generated by fuel cells which produce water for the environment systems as a by-product. To meet the higher power demands during launch and entry, three auxiliary power units (APUs) provide hydraulic pressure to actualize main engine valves and move airfoils and engine gimbal mounts. Several different cooling systems, among them water spray boilers, flash evaporators or the freon radiator loops, take care of the excess heat generated by the operation of these systems.Crucial for orbital operations, the RCS and OMS use hypergolic propellants which are driven from the tanks by helium pressure. A complicated chain of valves allows to isolate parts of the system in case of leakage or to set up cross-feeding from one system to the other. In preparation for entry, part of this fuel may have to be dumped to move the center of gravity of the vehicle to a suitable value. The environment system utilizes cryogenic storages to supply water and breathable air to the cabin. The atmosphere is constantly cycled through air scrubbers to remove the CO2, and a system of fans uses it to provide cooling for the avionics. In preparation for a spacewalk, the atmosphere pressure and composition may have to be changed.
The Shuttle does not simply drift after reaching orbit, there are many other procedures to be followed - for instance leftover fuel needs to be dumped after main engine cutoff, propellant feedlines need to be vacuum inerted, the radiator need to be deployed, heaters for the RCS and OMS thrusters need to be activated, fuel cells may need to be purged regularly. There are navigational needs as well - the star tracker need to be activated, and sometimes a manual procedure to fix attitude errors may be needed in addition. All of these are part of the systems modeling of the Flightgear Space Shuttle. Features of systems modeling include:
Orbital encountersOften a Space Shuttle mission does not simply go into orbit and back, rather it serves a purpose there - be it the release of a satellite or another payload, or a service flight to a space station. While there is not yet an extensive choice of missions, some of these at least can be explored. It is for instance possible to carry a satellite in the payload bay and release it into space - or catch it again and fly it back to Earth. Also visits to the International Space Station can be done.
Supported features include:
Night operationsLaunch windows don't wait for the sun to rise - the Shuttle needs to be able to launch any time. The simulation fully supports nighttime operations. On orbit, this basically is a must since half of each orbit is in darkness, but also launches and landings during the night are possible. Unlike in other simulations, nights in FG tend to be realistically dark, so you are going to need light sources to see anything!
Night-operation features include:
The physics environment of spaceThe low orbit environment the Space Shuttle moves in would by most people be characterized by the lack of gravity and an atmosphere. Yet this is not entirely correct - technically the orbiter is moving in a microgravity environment. The small tidal forces by the gravity difference between Earth-facing and sky-facing side still tug at the vessel, and so does the residual trace atmosphere.The lack of an atmosphere also makes the thermal environment quite interesting - since convection can no longer carry heat away, all surfaces come into radiative thermal equilibrium, implying pronounced differences between sunward surfaces which may heat up to 350 K and dark surfaces which may cool down to 150 K. Both orbiter attitude and active thermal management systems, including the freon loop radiator and heating elements for thrusters and fuel lines are used to keep the vehicle functioning in this environment. Features of physics modeling include:
LimitsWhile the sky is not the limit for the Space Shuttle, other things are. Have you ever wondered why the Space Shuttle is operated a certain way? For instance why the main engines need to be throttled back about 30 seconds after liftoff? Why a high AoA need to be maintained in the early, hot phase of atmospheric entry?The simulation takes into account a large number of known structural and thermal limits of the Space Shuttle, from the wing bending moment upon ascent (which requires the craft to be flown into orbit in a heads-down attitude) to the vertical speed upon final touchdown. The violation of any limit can optionally be just called out, or can cause damage to the systems or aerodynamics of the vehicle.
Limit checks include:
Failure and redundancy modelingMany of the procedures aboard the Space Shuttle are concerned with failure management and utilizing the redundancy of systems. The whole simulation of the Shuttle in Flightgear has been designed with that in mind - practically every single component in the model can be failed, with whole chains of failures generated throughout the rest of the systems.For instance, watch a water spray boiler fail - this will lead to an overheating APU. Is this is not shut down in time, it will fail, causing a hydraulics system failure. This in turn will cause priority rate limiting for the airfoil movements as well as possibly reduce braking force on the runway and/or disable nose wheel steering. Lack of steering may lead the orbiter off the runway, causing a burst tire. Or imagine one of the electric buses is shorted. Operating voltage will drop, and all equipment on the bus will cease to work. Over time, this may affect fuel line heaters which can't perform their function without power. Thus, if parts of the Shuttle are not heated by the sun, hydrazine may freeze up there once temperature gets low enough --- preventing the OMS thrusters from igniting.
The simulation contains multiple such failure scenarios to train the appropriate response. You may have to fly a Transatlantic Abort Landing in response to an engine failure, you may have to perform a manual engine shutdown in case of engine lockup or gimbal failure, you may have to de-orbit before running out of cooling water if you can't get any of the two freon radiator loops to work or you may have to set up a crossfeed for a leaky RCS tank - any of these is supported. Features of failure modeling include:
There are literally hundreds of well modeled airports which might be utilized as an alternative or emergency landing site for the Shuttle across the world. Elevation data for the world in the default FG engine is very precise, providing stunning visuals of mountain chains from up to 100 kilometers altitude.
In addition, Flightgear comes with a complete weather engine, capable of producing a large range of weather situations from fine weather to multiple overcast layers of rain clouds and fully interacting with the scene lighting and rendering model - clouds change to dramatic sunset colors, cloud shadows fall across the terrain, rain changes terrain reflectivity, wind changes ocean wave patterns. All this leads to rather compelling visuals during the first launch minutes and the final approach.
And, of course, Flightgear is OpenSource and GPL compatible - you can freely use anything for your own projects, and it's a piece of code made to tinker with: Customizations and modifications are easy, many changes to not even require coding skills but can be done by modifying xml files.
Features of Flightgear as simulation platform include:
|
Created by Thorsten Renk 2015-2016 - see the disclaimer, privacy statement and contact information.