04 — The safety function

One job, from sensing to acting.

+ The questionWhat must happen, from the sensor to the final element, to protect against one hazard, and how fast?

One hazard and the demand it makes

The incubator holds the air around a newborn at the set temperature, the controller's set point, and a second, separate circuit watches the same air. In the first circuit, a thermistor in the air stream changes its resistance with temperature, an analog front end and a converter turn the resistance into a number, and a controller compares that number with the set temperature and drives the heater through the heater driver. A display and an alarm at the cot side take their reading from the controller's thermistor, so they show the staff what the controller sees. How the number is made, and how it drifts, is the subject of Part II of the Academy guide The chain behind the number. This chapter takes the number as given.

The second circuit exists for one hazard: air hot enough to harm the infant. The hazard can begin inside the control loop. A heater driver that fails with its output on, or a controller that reads the air as colder than it is, keeps the heater running at any set temperature. An infant has died of heat stroke in an incubator whose control was found to have malfunctioned, the case that Chapter 1 tells. In 2008 a maker recalled 18 incubators because the power board that controls the heater might not regulate the temperature, as FDA's recall record states.

In Chapter 1's vocabulary, a stuck driver is a fault, the wrong heater power is an error, and the loop's loss of the set temperature is a failure. That failure harms no one at once, because the air has to climb first, and protection is useful only if it acts during the climb. In Chapter 1's sense a demand is the occasion on which the protection must act. The control loop's failure creates the demand, and for the cutout the demand comes when the climbing air reaches its limit.

Three parts in a row

The second circuit carries out a safety function: one job, aimed at one hazard, that brings the equipment to a safe condition when the demand comes. It is not a second controller. The controller works continuously to keep the air at the set temperature, while the safety function does nothing until the air passes its limit, and then cuts the heater.

Every safety function has three parts in a row. A sensor measures the condition that signals the hazard. A logic solver compares the measurement with the limit and decides whether to act. The logic solver can be a programmable controller, a dedicated circuit or a single comparator. The final element acts on the process: a valve that closes, for example, or a contact that opens. The act in which the logic solver drives the final element to its protective position is a trip. Because the function includes all three parts and the wiring and power between them, a fault anywhere along the row is a fault of the function.

In the incubator the three parts are a second thermistor in the air stream, a separate comparison of its reading with a limit, and a cutout in series with the heater. The second thermistor has its own wiring, so a fault in the controller's thermistor leaves the protective channel's view of the air unchanged. The comparison holds limits of its own, which do not track the set temperature. The cutout sits in the heater's power path, so once it opens no command from the controller can keep the heater on.

08 — The incubator's two loops
HEATER INFANT AIR STREAM ENCLOSURE CONTROL LOOP DISPLAY AND ALARM AT THE COT SIDE CONTROLLER SET TEMPERATURE ANALOG FRONT END AND CONVERTER HEATER DRIVER THERMISTOR (CONTROL) SKIN PROBE (SKIN MODE) skin mode: the loop closes through the infant POWER SUPPLY SECOND THERMISTOR SENSOR COMPARISON WITH ITS OWN LIMIT 38 °C BELOW A SET TEMPERATURE OF 37 °C, 39.5 °C ABOVE LOGIC SOLVER PROTECTIVE CHANNEL: THE SAFETY FUNCTION CUTOUT FINAL ELEMENT OPEN: HEATER UNPOWERED, THE SAFE STATE TRIP ANNOUNCED RANGE ABOVE 37 °C SHARED BY BOTH LOOPS (CHAPTER 14) POWER SUPPLY AIR STREAM ENCLOSURE SOFTWARE BUILD SET-TEMPERATURE RANGE software build: shared only if the comparison runs in software in series with the heater: no command from the controller can keep it on Schematic. Limits from the summary of one maker's filing with FDA (2019), maker's figures.
Basic controlSafe stateOperator and alarmSafety functionFocal detail
Plate 08 — The control loop holds the air at the set temperature, or in skin mode the infant's skin at its set value. The protective channel has its own thermistor, its own limit and a cutout in the heater's supply, so it acts whatever the controller commands. The two loops still share a power supply, an air stream, an enclosure and the choice of range above 37 °C, and a comparison that runs in software may share the controller's software build.

The second circuit is independent of the controller's own faults, which is its purpose, but not of every fault. The two loops still share some items. Both thermistors sit in one air stream, both channels draw on one power supply inside one enclosure, and a comparison that runs in software may share the controller's software build. A cause acting through any of these items can defeat both loops at once, and Chapter 14 follows such causes.

Kept apart from the control it protects

The separation follows from where the demands arise. When the control loop fails and overheats the air, the failure that makes the demand lies inside the loop. A protection that shared the failed part would be disabled by the failure that called on it. A line in the controller's program that turned the heater off above 38 °C would not run once the controller had stopped, and could not stop a driver stuck with its output on. A program and a driver fail in different ways, for reasons that Chapter 3 gives, but in either case the protection would fail with what it protects.

Keeping the function apart gives it its own sensor, decision and means of acting, so that the control loop's failures create demands on the function, not failures of it. At a fuel storage site, a tank's independent overfill system should be physically and electrically separate from the tank gauging, and preferably automatic, in the 2009 guidance of the Process Safety Leadership Group, a body of regulators and industry. The particular standard for hemodialysis equipment, the part of IEC 60601 written for that kind of machine, asked for the same independence, though not for automatic action. Its 2012 edition, since replaced, required a protective system independent of the control system wherever the machine adjusted the composition of its dialysis fluid from a measurement on the patient. That protective system's safe condition was an audible and visual alarm signal.

Tank 912 at Buncefield, whose overfill the opening tells, had the same arrangement. Its safety function rested on an independent high-level switch, set above the gauge's alarms and meant to close the valves on the incoming pipelines without anyone acting. The switch was the sensor. The tank's floating deck, a lid that rides on the petrol, operated the switch as the deck rose. The function's logic was the circuit that turned the switch's change of state into an emergency shutdown, and its final elements were the valves. On the night of the overfill the gauge stuck and the switch could not act, for reasons that Chapter 11 tells.

Two modes and one limit

The incubator heats in one of two modes, and the cutout protects in both. In air mode the controller holds the air at the set temperature. The guide's incubator takes its settings from the public summary of one maker's filing with FDA, for an incubator that the agency cleared in November 2019. The figures are therefore a maker's, not a standard's. The air can be set from 25 to 39 °C in steps of 0.1 °C, and an alarm sounds when it strays 3 °C above or below the set temperature. That alarm moves with the set temperature, because it reports a loop that has lost its target.

In skin mode the controller holds the infant's skin at a set value instead of the air. A probe fixed to the infant's skin measures the skin temperature, and the controller heats the air as much as it must to bring the skin to that value. The same filing gives the skin's set value a range of 34 to 38 °C, with an alarm 1 °C either side. The air then has no set temperature and goes wherever the loop drives it. An incubator run this way is "baby controlled" in the terms of its particular standard, IEC 60601-2-19:2020+AMD1:2023. Skin mode closes the loop through a measurement on the patient. On that ground, a 2017 article from MEDTEQ, a test-engineering site, treats an incubator in skin mode as a physiologic closed-loop controller, the kind of controller whose development IEC 60601-1-10 governs. The article states that this interpretation cannot be taken directly from the standard's normative part, the part that states its requirements. Chapter 25 follows what happens when the probe comes off the skin.

The cutout's limit moves with the set temperature only once, in a single step at 37 °C. The filing gives an "Air overheat" limit of 38 °C while the set temperature is below 37 °C and of 39.5 °C when it is above, and reports 38 and 40 °C for the incubator it is compared with. In its 2024 specification for the transport incubators it buys, India's health ministry asks for a thermal cut-out, a safety cut-off at 38 °C for skin and 39 °C for air, and a warning at an incubator temperature no higher than 40 °C. Each of these ceilings lies between 38 and 40 °C. Transport incubators answer to a particular standard of their own, IEC 60601-2-20. The guide's incubator gives the filing's limits to its protective channel. In skin mode it takes the step at 37 °C from the skin's set value, a choice made for the example, and the cutout is then the only bound on the air.

Without the step at 37 °C, a trip at 38 °C would cut the heater during normal control whenever the air was set above 38 °C, as air mode allows. The step costs the protective channel some independence. To choose its limit, the channel must know which range the set temperature is in, and that range is a setting it shares with the control side. That setting joins the shared items that Chapter 14 examines.

Solved example: where the alarm and the trip fall at three set temperatures

In air mode the guide's incubator alarms 3 °C above the set temperature and trips at 38 °C while the set temperature is below 37 °C. At a set temperature of 34.0 °C the alarm sounds at 34.0 + 3 = 37.0 °C, and the cutout trips 1 °C higher, at 38.0 °C. At 35.0 °C the two coincide at 38.0 °C. At 36.0 °C the alarm moves up to 39.0 °C, but the trip stays at 38.0 °C, 2 °C above the set temperature. Above a set temperature of 35 °C, therefore, air heated by a failed control loop reaches the trip before the loop's own alarm. The margin between the set temperature and the trip shrinks from 4 °C at 34 °C to about 1 °C just below 37 °C.

A safe state that holds

When the cutout opens, the incubator is in its safe state: the heater has no power, so whatever has failed upstream can no longer heat the air. The state is safe against one hazard only. An unheated incubator lets the infant cool, so the trip has to be announced and the staff have to take over.

The state must also hold. A cutout that closed again as the air cooled would restart the heater on the same fault, so the guide's cutout stays open until someone resets it. The fuel-storage guidance asks the same of an overfill function: its final element should be unable to reset itself. In Chapter 2's terms, a cutout that opens without a demand fails safe, and one whose contacts weld shut fails dangerously and shows nothing until a test or a demand finds it.

The alarm system makes the announcement. The alarm standard for medical electrical equipment, IEC 60601-1-8, separates two things in that work and defines both. An alarm condition is the state of the alarm system when it has determined that a potential or actual hazardous situation exists that needs the operator's awareness or response. An alarm signal is what the system generates to announce that condition, such as a tone or a light. A condition detected without a signal reaches nobody, and a signal by itself changes nothing in the air.

An alarm leaves the action to a person

A protection that ends at an alarm relies on a person to notice it, decide what to do and drive a final element, such as a valve on the incoming line. The person's time comes out of the same budget as a sensor's lag and a cutout's opening: the time the process allows, which the next section sets out. The incubator's cutout acts with no person in the loop, and an alarm reports the trip. Chapter 9 asks how far a person in the loop can be relied on.

The time the process allows

The process sets how fast the function must act. The time the process allows is the process safety time: the period from a failure in the equipment or its control system that can give rise to a hazardous event to the moment by which action must be complete to prevent the event. The definition is that of IEC 61508-4. In the incubator the process safety time runs from the moment the heater driver fails on to the latest moment the heater can lose power without the air going on to harm the infant. Its length depends on how fast the air heats with the heater full on and on the temperature at which the air harms an infant.

Inside the process safety time the function spends its response time, from the demand to the safe state. Three delays make it up. The protective thermistor lags the air, because its own mass must warm before its resistance follows. The comparison takes time to decide, and the cutout takes time to open. Even then the air warms a little more, because the heater element is still hot when its power is cut. Part of the process safety time is spent before the demand exists, since the air first has to climb from the set temperature to the trip limit.

09 — The time budget from failure to safe state
AIR TEMPERATURE TIME (SCHEMATIC) TEMPERATURE AT WHICH THE AIR HARMS THE INFANT TRIP LIMIT 38 °C SET TEMPERATURE 36 °C IF THE CUTOUT OPENED HERE FAILURE: HEATER DRIVER STUCK ON DEMAND SAFE STATE: CUTOUT OPEN HEAT LEFT IN THE HEATER LATEST MOMENT THE HEATER CAN LOSE POWER CLIMB TO THE LIMIT RESPONSE TIME: SENSOR LAG, COMPARISON, CUTOUT OPENING what is left of the budget PROCESS SAFETY TIME Schematic, not to scale. Trip limit from the summary of one maker's filing with FDA (2019); set temperature chosen for the example.
Basic controlDangerous failureSafe stateSafety functionFocal detail
Plate 09 — The process safety time runs from the failure to the latest moment the heater can lose power without the air reaching harm. The climb to the trip limit spends part of it before there is a demand, the response time of sensor, comparison and cutout spends more, and the heat left in the heater keeps the air rising briefly after the trip.

The trip limit and the response time therefore share one budget, the process safety time. A higher limit spends more of it on the climb and leaves less for the response, and a lower limit sits closer to the temperatures the air reaches in normal control. Normal control can carry the air past its set temperature before the loop settles, an excursion called an overshoot. An overshoot of up to 2 °C is acceptable in a 2019 white paper by Solecki of Fluke Biomedical, a maker of incubator test equipment. From a set temperature of 36 °C, an overshoot of that size reaches the 38 °C limit. The limit, the response time and the control loop's tuning are therefore chosen together, and Chapter 17 shows where the function's written requirements record them.

Write the safety function down, one part to a line

For each hazard, write the safety function one line per part: what the sensor measures and where; the limit and how the logic compares against it; the final element and its safe state; how the trip is held, reset and announced. Beside them, write the process safety time and the response time with the delays that make it up. Then list what the function shares with the control loop: power, the medium both sensors measure, the enclosure, the software build and any shared setting, such as the incubator's range above 37 °C.

+ What this chapter established
  • A safety function protects against one hazard with a sensor, a logic solver and a final element in a row, and does nothing until the process reaches its limit, which is the demand.
  • It is kept apart from the control it protects, whose failures create its demands, though the incubator's two loops still share a power supply, an air stream, an enclosure and a setting.
  • The incubator heats in air mode or in skin mode, a closed loop through the infant. In both modes its cutout bounds the air at the limits of one maker's filing: 38 °C while the set temperature is below 37 °C and 39.5 °C above it. In skin mode the guide's incubator takes the step from the skin's set value, a choice made for the example.
  • The process safety time comes from how fast the process moves toward harm, and the climb to the trip limit, the response time and the heat left in the heater must fit inside it.
Created with Claude (Anthropic).
Educational reference material, not engineering, regulatory or clinical advice. Product and company names referenced are the property of their respective owners.