Module 10 · Lesson 2
Verification, Validation and Testing
Before launch, a team must show that the system meets its requirements and does the job it is needed for. This lesson explains how that evidence is gathered.
Learning objectives
After this lesson you will be able to:
- Distinguish verification from validation
- Describe the four verification methods and the main environmental tests
- Explain test as you fly, and how flight software is tested using simulators and hardware-in-the-loop
Turning a claim into evidence
A design is only a claim until something supports it. Because a spacecraft cannot be recalled, that support has to be assembled on the ground, before launch. The work is called verification and validation, often shortened to V&V.
Two different questions
Verification asks whether the product meets its written requirements. The usual summary is "did we build it right".
Validation asks whether the product does what the mission needs, in the hands of the people who will use it. The usual summary is "did we build the right thing".
A requirement might say that the spacecraft shall downlink 50 gigabytes per day. Verification confirms that it can. Validation asks whether 50 gigabytes is actually enough for customers. A system can pass every verification and still disappoint, if the requirements were wrong or incomplete.
Four ways to verify
Each requirement is verified by one or more of four methods.
| Method | What it means | Example |
|---|---|---|
| Test | Operate the item under controlled conditions and measure the result | Measure transmitter output power |
| Analysis | Use calculation, models or simulation | Predict radiation dose over ten years |
| Inspection | Examine the item or its documents | Check that connectors match the drawing |
| Demonstration | Show that a function works, without detailed measurement | Show that a solar panel deploys |
Test is generally the most convincing, but it is not always possible. Nobody can test ten years in orbit, so lifetime questions are answered largely by analysis.
Why testing is tied to requirements
A test with no requirement behind it has no definition of success. A requirement with no verification behind it is an untested assumption. Projects therefore keep a table, commonly called a verification matrix, that lists every requirement, the method chosen for it and the evidence that closes it.
This has a consequence for anyone who writes requirements: each one must be verifiable. "The system shall respond quickly" cannot be verified. "The system shall respond within two seconds" can.
Verification is built up in levels. Individual units are tested first, then subsystems, then the assembled spacecraft. Programs also distinguish qualification, which proves the design by testing beyond expected conditions, from acceptance, which checks each flight unit for workmanship defects at gentler levels.
The environmental test campaign
Before launch, the assembled spacecraft goes through a series of tests representing what it will experience.
- Vibration. The spacecraft is bolted to a shaker table and vibrated to reproduce the loads of launch. Some spacecraft are also exposed to intense sound in an acoustic chamber, and to the sharp shock of separating from the rocket.
- Thermal vacuum. As described in the previous module, the spacecraft is operated in a vacuum chamber while it is cycled between hot and cold extremes.
- Electromagnetic compatibility. EMC testing, usually in a chamber lined with radio-absorbing material, checks that its units do not interfere with one another, with its own receivers or with the launch vehicle.
Functional tests are repeated before and after each of these to confirm that nothing has changed. The campaign usually also includes an end-to-end check that the real control center can command the spacecraft.
Test as you fly
A central principle of space testing is test as you fly. Test the system in its flight configuration, with the flight software, the real commands and the real sequences. The companion principle is fly as you test: do not operate the spacecraft in ways that were never tested.
Some things cannot be tested as flown. A large solar array cannot support its own weight on Earth, so it is deployed while suspended from a rig. Each such exception is identified and assessed, because failures tend to hide in the gap between the test and the flight.
Interfaces between teams are a common hiding place. NASA's Mars Climate Orbiter was lost in 1999 because one piece of ground software reported a quantity in English units while another expected metric units. End-to-end testing with real data across the real interface exists to catch that kind of mismatch.
Testing software
Flight software cannot be exercised on a spacecraft in orbit before launch, so the spacecraft is simulated.
- A software simulator models the spacecraft and its environment entirely in software. It supports development, automated regression testing after every change, and operator training.
- Hardware-in-the-loop testing connects a real flight computer, or an engineering copy of it, to a simulator that feeds it sensor readings and reacts to its commands in real time.
Simulation allows fault injection. Engineers can fail a sensor or cut a power line in the simulated spacecraft to check that fault protection responds correctly. Many of these cases could never be safely tried on flight hardware.
A practical example: one requirement, several kinds of evidence
A requirement states that the spacecraft shall enter safe mode and point its solar arrays at the Sun within ten minutes of battery voltage falling below a set threshold.
- Analysis shows that the battery can supply the spacecraft for that long.
- Hardware-in-the-loop testing injects a falling voltage and measures the time taken to reach a Sun-pointing attitude in simulation.
- Test on the assembled spacecraft confirms that the real computer issues the right commands. The spacecraft cannot turn freely in a clean room, so this part is a documented exception to test as you fly.
The requirement is verified. Then, during an operations rehearsal, the team finds that the low-rate telemetry sent in safe mode omits the values needed to tell why voltage fell. The requirement was met, but the operators' need was not. That is a validation finding, and it was found on the ground, where it could be fixed.
Evidence needs management
Tests produce confidence only if the thing tested is the thing that flies, and if the remaining risks are understood. The next lesson covers the practices that keep that true: risk management, configuration management and the culture of mission assurance.
Key takeaways
- Verification asks whether the system meets its written requirements. Validation asks whether it actually does what the mission needs.
- Requirements are verified by test, analysis, inspection or demonstration, and every requirement is traced to its evidence.
- The environmental test campaign exposes hardware to launch vibration, vacuum and temperature extremes, and electromagnetic interference before flight.
- Testing is most trustworthy when the system is tested in its flight configuration and operated in flight only in ways that were tested.
Knowledge check
Check your understanding. These questions are not graded and you can retry as often as you like.
0 of 3 questions answered.
Glossary
Verification
Confirming, with objective evidence, that a product meets its specified requirements. Often summarized as "did we build it right".
Validation
Confirming that a product fulfils its intended purpose in its intended environment. Often summarized as "did we build the right thing".
Environmental testing
Tests that expose hardware to conditions representing launch and space, such as vibration, vacuum, temperature extremes and electromagnetic interference.
Electromagnetic compatibility
The ability of equipment to operate without causing or suffering unacceptable electrical or radio interference. Usually shortened to EMC.
Test as you fly
The principle of testing a system in the same configuration, and operating it in the same way, as it will be used in flight.
Hardware-in-the-loop
A test arrangement in which real flight electronics or software run against a simulation of the rest of the spacecraft and its environment.
References and further reading
Finished this lesson?
Loading your progress…
Lesson version 1.0.0.