Alarms#
An alarm tells an operator that something on a test stand needs a response, in time to make it. It works only while operators trust it, and they stop trusting alarms that go off too often or need nothing from them.
What an alarm is#
The alarm management standards ANSI/ISA-18.2 and IEC 62682 define an alarm as an “audible and/or visible means of indicating to the operator an equipment malfunction, process deviation, or abnormal condition requiring a timely response”.[1] An alarm goes to a person, it marks something abnormal, and the person has to act on it soon. If the operator doesn’t need to respond promptly, the condition shouldn’t be an alarm.[1]
ISA-18.2 names the notifications that fall short of an alarm:[2]
An alert needs assessment or action, but doesn’t meet the criteria for an alarm.
A notice doesn’t need a timely response.
An event is recorded for later review, and isn’t shown to the operator.
In Nominal, an event marks a point or span of time for review, so it fits the last kind.
Alarms, trips and events#
An alarm, a trip and an event can all start from the same measurement. They differ in who responds:
Who responds |
Example |
|
|---|---|---|
Alarm |
An operator, soon |
A load motor’s winding passes 85 °C, and the operator drops the load |
Trip |
The control software, at once |
A motor on a dyno passes 100 °C, and the control software stops every motor |
Event |
Someone reviewing the data later |
A test point starts |
An alarm protects nothing by itself. It works only if someone notices it, understands it, and acts in time. After the explosion at the Texaco refinery in Milford Haven, HSE recommended that “ultimate plant safety should not rely on operator response to a control system alarm.”[3] In layer of protection analysis, the norm is to credit an operator’s response to an alarm with at most a tenfold reduction in risk, and usually only if the operator has at least 20 minutes to respond.[4]
So where the consequence of a late response is damage, use a trip. Where it’s harm to people, use the hardware described in Safety.
Alarm limits and trip limits#
An alarm limit sits between normal operation and the trip limit. Alarm limits “should be set such that the operators have sufficient time to carry out their defined response before the plant condition escalates.”[5] An alarm limit too close to normal operation goes off in every test. One too close to the trip limit leaves the operator no time before the stand trips.
To place an alarm limit, work back from the trip limit. The time the operator gets is the margin between the two limits, divided by how fast the measurement can move toward the trip limit. The worked example does this for the dyno.
The same ordering applies between software and hardware. On an e-axle dyno, where a motor drives the e-axle under test and a load motor on each side brakes it, the power supply has its own overvoltage protection, set above the software’s bus voltage trip so that the software trips first.
A limit alarm in OPC UA can have four limits, which must be in the order HighHigh > High > Low > LowLow.[6]
How alarm software handles an alarm#
Ignition, a SCADA platform, and OPC UA Part 9, the OPC UA model for alarms and conditions, show how an alarm behaves once it’s configured.
Active and acknowledged#
An alarm is active while its condition is true, and clears when the condition becomes false. Separately, an operator acknowledges it to show they’ve seen it. Ignition combines the two into four states:[7]
State |
What it means |
|---|---|
Active and unacknowledged |
The condition is true, and no operator has acknowledged it yet. |
Active and acknowledged |
The condition is true, and an operator has acknowledged it. |
Cleared and unacknowledged |
The condition has gone, but no operator has acknowledged it. |
Cleared and acknowledged |
The condition has gone, and an operator has acknowledged it. |
In Ignition, a cleared alarm never becomes active again. If the condition returns, a new alarm event starts.[7] Ignition’s Ack Mode setting makes acknowledgement manual, automatic when the alarm clears, or unused.[8]
Acknowledging an alarm says that someone saw it, not that the problem is fixed. OPC UA can keep the two apart. In its example, an operator acknowledges a motor’s high temperature alarm, lowers the load on the motor, and then confirms the alarm to report that a corrective action has been taken.[6] A latched alarm goes further: it stays active until someone resets it, even after the value returns to normal.[6]
The ISA-18.2 state diagram#
ISA-18.2’s first edition draws every state an alarm can be in, and what moves it from one to the next:[9][10]
stateDiagram-v2
state "States A to F" as alarm {
A: A. Normal
B: B. Active and unacknowledged
C: C. Active and acknowledged
D: D. Cleared and unacknowledged
E: E. Latched and unacknowledged
F: F. Latched and acknowledged
A --> B: Condition becomes true
B --> C: Acknowledge
B --> D: Condition clears
C --> A: Condition clears
D --> A: Acknowledge
D --> B: Condition becomes true
C --> B: Re-alarm
B --> E: Clears, if latching
C --> F: Clears, if latching
E --> F: Acknowledge
E --> D: Reset
F --> A: Reset
}
G: G. Shelved
H: H. Suppressed by design
I: I. Out of service
alarm --> G: Shelve
G --> alarm: Unshelve
alarm --> H: Suppress
H --> alarm: Unsuppress
alarm --> I: Remove from service
I --> alarm: Return to service
Ignition’s four states are A to D. Where the diagram moves an alarm from D back to B, Ignition starts a new alarm event instead.[7] A re-alarming alarm goes from C back to B if it’s still active after a set time, which brings it back to the operator’s attention.[6]
OPC UA keeps each part of an alarm’s state separately, as ActiveState, AckedState, LatchedState, ShelvingState, SuppressedState and OutOfServiceState, rather than as one list of combined states. Shelving, suppression and out of service don’t depend on whether the alarm is active or acknowledged. OPC UA says its model supports all the alarm states in IEC 62682.[6]
Priority#
Priority tells the operator which alarm to answer first. Set it from how severe the consequence is, and how much time the operator has to respond.[11] HSE recommends about three priorities, based on the consequences if the operator fails to respond, in proportions such as 5% high, 15% medium and 80% low.[12]
Ignition has five priorities: Diagnostic, Low, Medium, High and Critical.[8] OPC UA uses a severity from 1 to 1,000, and recommends severities above 400 for alarms.[6]
Kepware#
Kepware Server connects to devices and serves their data over OPC. Its Alarms & Events plug-in adds alarms to server tags, such as a temperature tag that raises an event when it reaches its maximum value. It supports level, deviation and rate-of-change alarms, each with a severity from 0 to 1,000, and serves them to OPC Alarms and Events clients.[13] An HMI or SCADA client then shows them to operators.
Alarm fatigue#
Healthcare research defines alarm fatigue as “sensory overload when clinicians are exposed to an excessive number of alarms, which can result in desensitization to alarms and missed alarms.”[14] In hospitals, The Joint Commission estimates that 85% to 99% of alarm signals don’t require clinical intervention. Of 98 alarm-related events reported to it from 2009 to 2012, 80 resulted in a death, and alarm fatigue was the most common contributing factor.[15]
Operators learn how much an alarm is worth. In a study of responses to alarms that were true 25%, 50% or 75% of the time, about 90% of subjects didn’t respond to every alarm. They matched how often they responded to how often the alarms were true.[16] Google’s site reliability engineers found the same with pages to on-call engineers: “When pages occur too frequently, employees second-guess, skim, or even ignore incoming alerts, sometimes even ignoring a ‘real’ page that’s masked by the noise.”[17]
Floods#
An alarm flood is more alarms than an operator can handle. EEMUA 191, the UK alarm management guide, starts one at more than 10 new alarms in 10 minutes.[18]
At Milford Haven in 1994, two operators had to recognize, acknowledge and act on 275 alarms in the last 10.7 minutes before the explosion. At times, they did nothing but acknowledge alarms. Of the alarms configured, 87% were high priority, with no rule for deciding what priority an alarm should have. The flare drum’s high-level alarm went off about 25 minutes before the explosion, and there’s no evidence that anyone saw it.[3]
Standing alarms#
An alarm that stays on tells the operator nothing. At the BP Texas City refinery in 2005, a tower’s high-level alarm was active for the entire startup that ended in an explosion. Operators expected it, because they purposely filled the tower above the range of its level transmitter during startup, and the alarm had gone off 74 times in 14 of the previous 19 startups. A second, hardwired high-level alarm failed and never sounded. Its silence reinforced the board operator’s belief that the tower’s level reading was accurate, while the tower had in fact filled four feet above the transmitter’s top tap.[19]
Where nuisance alarms come from#
When alarms moved into software, they became free to add. A control panel wall had fewer than 100 possible alarms, where the control system that replaced it could have 2,000 to 4,000.[20] Common causes of nuisance alarms follow from that:
Defaults. Some teams turn on every alarm the control system offers, at default limits of 10%, 20%, 80% and 90% of range.[11]
Status shown as alarms. An alarm that says a pump is off, rather than that it’s off when it should be on, reports status, not a problem.[20] HSE says status indicators shouldn’t be alarms.[12]
Alarms for equipment that isn’t running. In many control rooms, more than 50% of standing alarms are for motors that aren’t running.[11]
Fear of removing alarms. Teams keep an alarm because it was “obviously put there for a reason.”[11]
Deciding what gets an alarm#
Every alarm should be “useful and relevant to the operator, and have a defined response.”[5] Reviewing each alarm against that rule is called rationalization. Ask three questions of each one:[11]
Does it show an abnormal condition?
Does the operator have to act to prevent a defined consequence?
Is it the only alarm for that condition?
For each alarm that passes, record its cause, its consequence, the operator’s response, and the time the operator has to respond.[11] Those set its limit and its priority.
A condition that fails still has somewhere to go:
If no one has to act, but the record is useful later, record it as an event.[21]
If it shows that something is running normally, show it on the HMI as status.[12]
If it repeats another alarm, remove it.
If it needs a faster response than a person can give, make it a trip.
The same rules hold for alerts in software operations. Google’s SRE book says that “every page should be actionable”, and that “it’s better to spend much more effort on catching symptoms than causes”.[17] On a stand, alarm on the condition the operator acts on, such as a hot motor, rather than on each thing that could cause it.
On a test stand, an alarm can protect the data as well as the hardware. Above 85 °C, the dyno’s motor controllers reduce their current without reporting it, so the stand looks like it’s at the commanded load when it isn’t. An alarm whose consequence is data that’s quietly wrong has a defined consequence and a defined response, so it passes.
Rationalization takes time. HSE estimates that a quick first pass covers about 50 alarms per shift, while a thorough review and redesign may take more than one shift per alarm.[12]
Fixing nuisance alarms#
Alarm software has settings for each kind of nuisance alarm:
Nuisance |
Fix |
Ignition |
OPC UA |
|---|---|---|---|
Chattering: a noisy value near its limit turns the alarm on and off repeatedly |
A deadband, so the value must come back past the limit by a margin before the alarm clears |
Deadband[8] |
Deadband properties on limit alarms[6] |
Chattering, when a deadband isn’t enough |
An off-delay, which holds the alarm on for a time after the condition clears |
Clear Delay[8] |
|
Fleeting: a brief spike past the limit |
An on-delay, which waits until the value has stayed past the limit for a time |
Active Delay[8] |
|
Standing: the alarm doesn’t apply in the stand’s current state |
Suppress the alarm in that state |
Enabled, bound to a tag[22] |
|
A known problem someone is already working on |
Shelve the alarm for a limited time |
Shelving[7] |
Timed or one-shot shelving[6] |
In Ignition, an alarm with setpoints of 45 and 65 and a deadband of 3 goes active outside 45 to 65, and clears only when the value falls below 42 or rises above 68.[22] Ignition can bind Enabled to a tag, for example to “disable alarms when production is stopped.”[22]
ISA-18.2’s first edition gives starting points for deadbands and delays:[11]
Measurement |
Deadband, % of range |
On-delay or off-delay |
|---|---|---|
Flow |
5% |
15 s |
Level |
5% |
60 s |
Pressure |
2% |
15 s |
Temperature |
1% |
60 s |
Treat them as starting points, and check each delay against how fast the measurement can move. The worked example has a temperature where a 60 s delay would use up most of the operator’s time.
Shelving hides an alarm. It doesn’t fix one. In Ignition, a shelved alarm always has a duration, and the scripting function that shelves alarms defaults to 15 minutes.[7][23] OPC UA has a maximum shelving time to “prevent permanent Shelving of an Alarm.”[6] Inductive Automation, which makes Ignition, says shelving “is not intended as a long-term or indefinite solution for nuisance alarms.”[24] Fix the cause.
An alarm depends on its measurement#
An alarm can’t go off if its measurement stops changing. At the Buncefield fuel depot in 2005, a tank’s level gauge had stuck 14 times in the three months before the explosion. When it stuck again, the tank’s alarms, which worked from that gauge, couldn’t operate. The tank’s independent high-level switch didn’t work either.[25]
Alarm on the measurement’s health, as well as its value. Ignition has a Bad Quality alarm mode, which goes active when a tag’s value becomes bad quality, such as when communication is lost.[8] The dyno checks that each measurement is fresh before it trips on it, and trips on telemetry more than 0.5 s old. See Network performance.
A stuck measurement can also cause an alarm. A temperature sensor stuck high looks like a hot motor. After a thermal alarm or trip on the dyno, check that the reading falls as the motor cools.
Measuring an alarm system#
ISA-18.2 sets targets for each operator’s alarm load, based on at least 30 days of data:[11]
Measure |
Target |
|---|---|
Alarms per hour |
About 6 is very likely acceptable, and 12 is the most that’s manageable |
Alarms per 10 minutes |
About 1 is very likely acceptable, and 2 is the most that’s manageable |
10-minute periods with more than 10 alarms |
Under 1% |
Share of all alarms from the 10 most frequent |
1% to 5% at most |
Chattering and fleeting alarms |
None |
Stale alarms, active for more than 24 hours |
Fewer than 5 a day |
Priorities |
80% low, 15% medium and 5% high |
Averages hide peaks, so count floods as well as the average.[18]
ISA-18.2 is written for the process industries.[11] On a stand, the same counts work per run: how many alarms the operator saw, how many needed a response, and which alarms went off most often. HSE suggests watching for operators who acknowledge many alarms in quick succession, or turn audible alarms off.[12]
Alarms in Nominal#
A Nominal streaming checklist evaluates a published checklist against an asset’s live data. When a check fails, it can create an event and notify an integration such as Slack.[26] The events give you a record of every alarm to count and review in a workbook.
from datetime import timedelta
from nominal.core import NominalClient, StreamingNotificationConfig
client = NominalClient.from_profile("default")
checklist = client.get_checklist("<checklist RID>")
checklist.execute_streaming(
assets=["<asset RID>"],
notifications=[StreamingNotificationConfig("<integration RID>")],
# A failing check can't recover for at least 60 s, so a noisy channel can't chatter
recovery_delay=timedelta(seconds=60),
# Record each failure as an event, and update the event when the check recovers
auto_create_events=True,
)
recovery_delay must be at least 15 s. StreamingNotificationConfig also takes mute_until, which silences a destination’s notifications until a given time, like shelving with a time limit.[27]
Worked example: an alarm on the load motors’ temperature#
The dyno trips when any motor’s temperature passes 100 °C. It has no alarm before that. The load motors’ windings limit how long it can run at load: copper losses heat the windings, while the controllers stay cool. Above 85 °C, each load motor’s controller starts reducing its current, so data taken there isn’t at the commanded load. The dyno’s manual says to drop the load and cool down at 85 °C.
That’s an alarm. Rationalize it:
Question |
Answer |
|---|---|
What’s abnormal? |
A load motor’s winding is above 85 °C while the stand runs. |
What does the operator do? |
Drops the load, and lets the motor cool. |
What happens if they don’t? |
The test point’s data isn’t at the commanded load. At 100 °C, the stand trips and the run ends. |
How long do they have? |
About 5 minutes at 10 A, and about 80 s at 20 A. |
The time comes from a measured soak test. At 10 A of brake current, the windings rose about 2.8 °C a minute, so the 15 °C between 85 °C and 100 °C takes about 5 minutes. Copper loss grows with the square of the current, so at the load motors’ 20 A maximum, they heat about four times as fast, about 11 °C a minute. That leaves about 80 s. Both figures are on the safe side, because the temperature rises more slowly as a motor nears its steady state.
The rest of the design follows from those numbers:
Priority. The consequence is bad data and a tripped run, not damage, because the trip at 100 °C protects the motors. Rank it below any alarm whose consequence is damage.
On-delay. ISA-18.2’s starting point for temperature is 60 s. At 11 °C a minute, 60 s would use 11 °C of the 15 °C margin. An on-delay of 5 s uses under 1 °C, and still ignores a single noisy reading.
Deadband. Make it larger than the reading’s noise, which you can see in a past run’s data. With a 2 °C deadband, the alarm clears once the temperature falls below 83 °C.
State. Enable the alarm only while the stand is RUNNING. In ARMED, nothing loads the motors, so there’s no load to drop.
Acknowledge and confirm. The operator acknowledges the alarm, drops the load, and confirms it once the temperature is falling.
To check the heating rate on your own stand, plot each load motor’s winding temperature and current from a past run in a workbook, and read the slope at each current.
Further reading#
HSE, Better alarm handling, a four-page checklist for reviewing an alarm system.
HSE, The explosion and fires at the Texaco Refinery, Milford Haven, the full investigation report.
Siemens, Setting a new standard in alarm management, a summary of the ISA-18.2 lifecycle and its metrics.
Inductive Automation, Alarming, the Ignition 8.1 documentation.
OPC Foundation, OPC 10000-9: Alarms and Conditions, the alarm model that OPC UA servers and clients share.
R. Ewaschuk, Monitoring Distributed Systems, chapter 6 of Google’s Site Reliability Engineering, on alerts in software operations.