Things break
A growth chamber in a refugee camp is not in a laboratory. The power cuts out. Dust gets into everything. A sensor drifts, or fails outright, or reports a number that cannot be true. Someone leaves the door open. And the software that runs it all was written by people, so somewhere in it there is a mistake nobody has found yet.
None of this is unusual. It is the normal condition of equipment that runs for months with nobody watching. The engineering question is not how to stop things breaking. It is what happens next when they do.
No single failure
The principle is old and comes from industries that learned it the hard way: no single failure should be able to cause harm. Not a failed sensor, not a stuck relay, not a software fault, not a mistake by the operator.
It follows that safety cannot live in one place. If the only thing preventing an overheated chamber is a line of code, then a fault in that line is a fault in the whole system. Protection has to be arranged in layers, and each layer has to be designed on the assumption that the one above it has already failed.
Five layers
ReliefSense, our environmental-control program, is designed around five layers.
1. Software monitoring
The software checks its sensor readings against one another and against what is physically possible, and flags a reading that cannot be right. A sensor is evidence, not truth.
2. Interlocks
At the lowest level of the software sit fixed limits, designed so that no higher level can override them. Whatever the control logic above decides, it cannot command the equipment past those limits.
3. Hardware failsafes
Protection designed to act without the computer, for the case where the computer is the thing that failed.
4. Physical protection
In the design: fuses, vents and switches. Protection that does not depend on software at all, and works when there is no power to run any.
5. The operator
In the design: an emergency stop and a manual disconnect. A person has the last word, and does not need to understand the system to use it.
Fail toward safe
Layers decide who acts. A second principle decides what they do: when in doubt, move toward the state in which the least can go wrong.
This sounds obvious and is easy to get wrong. The commonest error is to treat a missing reading as a reading. A temperature sensor that has stopped answering has not reported a comfortable temperature. It has reported nothing, and a controller that carries on as if all were well is flying blind. In a design that fails toward safe, a lost sensor is a fault, and a fault takes the equipment it concerns to its safe state.
The same holds for power. A system that restarts after an outage should come back in a known, conservative state, not resume whatever it was doing when the lights went out.
The advisor cannot touch the equipment
ReliefSense includes an AI advisor that may suggest a change to the growing environment. By design it has no way to act on the equipment. A fixed safety layer stands between it and everything that moves.
This is the layered principle applied to a new kind of component. An advisor that can only advise can be wrong without consequence. Its suggestions pass through the same limits as every other command, and those limits do not learn, drift or improvise.
Why not one perfect controller
It is tempting to put the effort into making the main controller flawless. The trouble is that a single controller, however good, is a single point of failure, and the failures that matter are the ones its designers did not foresee.
Layers do not require anyone to foresee everything. Each one is simple enough to be examined on its own, each covers for the others, and the lower a layer sits the less it depends on. For a system that has to keep running where there is no expert to call and no connection to call on, as we set out in why ReliefSense is designed for offline control, that is the design that holds.