Lockheed Martin Simulates Orion Spacecraft Missions Using a Multidomain Power System Model
Challenge
Simulate the Orion spacecraft’s power system to validate the design, test fault conditions, and verify system performance
Solution
Use Simulink and Simscape Electrical to model solar arrays, batteries, and the complete system and to run simulations for a variety of mission profiles
Results
- Development time cut by two-thirds
- Library of reusable components established
- Low-level coding minimized
NASA’s Orion spacecraft will be capable of carrying humans to deep space destinations, including Mars. The Orion program has already successfully completed its Exploration Flight Test 1 (EFT-1) mission in Earth’s orbit, and Lockheed Martin engineers are working on the crew module for Exploration Mission 1 (EM-1), an unmanned flight around the moon.
Four solar arrays and four lithium-ion battery assemblies will power the Orion spacecraft life support, propulsion, guidance, and other systems. To ensure adequate power for these systems on lengthy deep space missions, Lockheed Martin engineers run simulations using a model of the Orion power system developed with Simulink® and Simscape Electrical™.
“The multinode power model we created in Simulink enables us to run simulations with greater fidelity than was possible with the single-node model we used previously,” says Hector Hernandez, Orion lead power system analyst at Lockheed Martin. “Simscape Electrical made it easier to model the full power network and simulate more realistic behavior. We now have the capability to measure the voltage drops across various components, which gives us greater insight into power quality across the system.”
Challenge
Several years ago, Lockheed Martin engineers developed a power system model for NASA’s Constellation program using Microsoft® Excel® and Visual Basic® for Applications (VBA). As engineers tried to examine more and more test cases, however, the model slowed and occasionally crashed. Because it was a single-node power model, the team could not use it to evaluate voltage drops throughout the system or to assess power quality requirements.
Lockheed Martin needed to create a multinode model of the Orion power system, including its power generation, storage, and distribution components, and then run simulations to validate the design, test fault conditions, verify system performance, and perform mission analysis. They wanted a visual model that their NASA colleagues would understand immediately, without having to examine low-level code.
Solution
Lockheed Martin engineers used Simulink and Simscape Electrical to model and simulate the power system for the Orion spacecraft.
To model the solar arrays, the team created a custom solar cell model written in the Simscape™ language. To calculate an accurate current-voltage (IV) curve for the array, this model takes into account the number of cells per wing, pointing angles of the solar array, shadowing, and thermal effects such as solar, planetary infrared and albedo. Performance degradation factors such as radiation, contamination, and collisions with micrometeoroids and orbital debris were also considered.
Next, the team created a lithium-ion battery model using a combination of standard blocks from the Simscape Electrical component library and custom blocks developed using the Simscape language. The model accounts for battery hysteresis effects, temperature, and battery state of charge.
Continuing to work with the Simscape language, the team created a custom power load block in order to simulate the varying loads generated by the spacecraft’s propulsion, guidance, and other systems as they switch on and off throughout a mission. Using the integrated power system model, the team ran simulations for a variety of mission profiles. They monitored mission and load changes to assess power impacts during development, simulated fault scenarios, including battery failures, stuck switches, and solar array failures in the ascent and orbit phases. The results were used to guide the development of mission opportunities and protocols for failure cases.
They also simulated numerous mission profiles to ensure that the solar arrays and batteries were sized correctly and to project how the power system would perform during hours-long eclipse scenarios. The inputs to these simulations were timelines of commanded system states and load profiles generated with MATLAB®.
Using MATLAB, the team postprocessed and visualized the simulation results, which they validated against results generated by NASA’s internal power system simulator for the International Space Station.
Results
- Development time cut by two-thirds. “With Simscape Electrical and the Simscape language, we reduced the time needed to develop the Orion power system model by about two-thirds compared with using VBA,” says Hernandez. “Simscape is straightforward; it enables us to create custom components faster and more efficiently than with VBA.”
- Library of reusable components established. “We have created a library of custom components with Simscape that includes power distribution components as well as electrical, thermal, and orbital mechanics blocks,” Hernandez says. “Reusing several components from EFT-1 for EM-1 enabled us to perform quick turnaround assessments for the program.”
- Low-level coding minimized. “With Simulink and Simscape Electrical, I don’t have to write more code to numerically solve systems of equations. I build the custom blocks, connect them graphically, and let the solver do its work,” says Hernandez. “The NASA engineers I work with like the Simscape models, because the models are more intuitive than low-level code.”