Library / Engineering / KEVOS® original book
Trips and Alarms by the Numbers
Setting thresholds on noisy plant signals: false trips, missed trips, filters, hysteresis, on-delays, drift, voting and proof
How to set trip and alarm thresholds on noisy signals: predict nuisance trips from the noise, then choose filters, deadbands, on-delays and voting, and prove the settings work.
Start readingAbout this book
Every plant has thresholds on its signals. A low-pressure switch stops a machine when its cooling fails, a high-level alarm calls an operator before a tank overflows, a high-temperature trip cuts a heater before it damages the product. Each threshold is a small decision rule, and each one sits on a signal that is never perfectly steady. Pumps pulse, flows surge, sensors add their own noise. Set the threshold too close to the normal operating band and the noise will cross it, stopping production for nothing and teaching operators to ignore the alarm. Set it too far away, or bury it under heavy filtering and long delays, and it will respond too late to the fault it exists to catch.
This book shows how to set thresholds by calculation rather than by trial and error. It starts by measuring the noise on a signal and expressing any threshold as a margin in standard deviations. It then predicts how often a noisy signal will cross a level, using a formula that needs only two measured numbers. With that prediction in hand, it works through the usual remedies: filtering, hysteresis, on-delays, early warning of drift, and voting between redundant sensors. For each one it shows what it buys in fewer false trips and what it costs in slower response. The last chapter turns the chosen settings into a test plan and a record that can be audited.
It is written for controls, instrumentation and maintenance engineers, PLC programmers and plant engineers. It assumes algebra, logarithms, the normal distribution and the idea of a first-order lag. Each chapter works the running case with real numbers, includes one plausible mistake and how it was found, and ends with an exercise and its worked answer.
The running case
Every chapter follows one fictional plant. This is an illustration. Plant C runs an aluminium high-pressure die-casting cell, DC-2, on two eight-hour shifts. The die is cooled by water from pump P-3, and the pump’s discharge pressure is measured by transmitter PT-3 and scanned by the cell’s PLC every 10 ms. A low-pressure alarm, PAL-3, is set at 3.6 bar. A low-low trip, PSLL-3, is set at 3.2 bar and stops the cell before the next shot. With a clean strainer the pressure averages 4.20 bar. If the pump stops, the pressure falls to about 0.6 bar within a second or two, and the die engineer requires the cell to be stopped within 3 s of the pump stopping.
After a finer strainer mesh was fitted to protect the die’s cooling channels, the cell began to trip two or three times a shift for no apparent reason. Each nuisance trip scraps a casting and costs about 12 minutes of production. The plant’s controls engineer is asked to stop the nuisance trips without weakening the protection.
The plant, its equipment and every pressure, rate, time and cost are invented. None describes KEVOS® work, a real company or a real supplier’s product.
How to use the book
Read Chapters 1 to 3 first: they set up the measurements and the crossing-rate formula that everything else uses. Chapters 4 to 6 deal with the three classic remedies, filters, hysteresis and on-delays, one at a time. Chapter 7 deals with a mean that drifts towards the threshold, and Chapter 8 with the cases where noise helps a threshold rather than hinders it. Chapter 9 covers voting between redundant sensors, and Chapter 10 the testing and records that prove the settings.
KEVOS® tools are linked where they perform a step of the method, with a note of exactly what each one calculates and where its model stops. Where a tool solves a related problem rather than the chapter’s own, the text says so.
Source limits and professional responsibility
The methods here are the standard ones of random signal theory and reliability engineering: Gaussian noise, Rice’s level-crossing formula, first-order filters and simplified voting equations. Each chapter states its assumptions, chiefly that the noise is roughly Gaussian and stationary over the period studied. Real signals often have heavier tails, and the book shows how to check.
This book is educational. Trips that protect people or plant from harm are safety functions, and in Australia their design, verification and changes are governed by work health and safety law, the plant risk management guidance of Safe Work Australia and the functional safety standards named in the references. Settings on a real safety function must be set, reviewed and approved by competent people under the plant’s own management of change. Nothing in this book replaces that process.
Who this book is for
Controls, instrumentation and maintenance engineers, PLC programmers and plant engineers who set, review or troubleshoot alarm and trip thresholds on pressures, levels, temperatures and flows.
What you will learn
- Measure the noise on a plant signal and express any threshold as a margin in standard deviations.
- Predict how often a noisy signal will cross a threshold, using Rice's formula and a mean-crossing rate counted from a log.
- Choose a filter time constant, deadband and on-delay from the noise, and calculate what each costs in response time.
- Recognise when the mean is drifting towards a trip, and detect the drift before nuisance trips begin.
- Compare voting arrangements for spurious trips and failures on demand, and prove new settings with a test plan and confidence bounds.
Inside this book
Chapters
- 01A threshold on a noisy signalWhat a trip or alarm threshold decides, the four outcomes of that decision, the response-time budget a trip must meet, how to log a signal properly, and what nuisance trips cost.
- 02Margins in standard deviationsMeasuring a signal's noise from a log, splitting it into fast and slow parts with the autocorrelation, expressing a threshold as a margin in standard deviations, and reading tail probabilities.
- 03How often noise crosses a levelRice's formula for the rate at which Gaussian noise crosses a level, measuring the mean-crossing rate from a log, predicting nuisance trips per shift, and how long each excursion lasts.
- 04Filtering before the comparatorHow a first-order filter in the PLC reduces noise and its crossing rate, why it removes fast noise but not slow, what it costs in response time, and how to choose and test the time constant.
- 05Hysteresis and deadbandWhy an alarm chatters when a noisy signal hovers near its setpoint, how a deadband between set and clear levels stops it, how large the deadband must be, and what it cannot fix.
- 06On-delays and debounceRequiring a condition to persist before a trip acts: how long noise excursions last, what an on-delay removes and costs, why it should not follow a filter, and when long delays weaken protection.
- 07Drift towards the tripHow a drifting mean turns into nuisance trips, the expected trips over a fouling cycle, early detection with hourly means and a CUSUM, and replacing the warning the nuisance trips gave.
- 08Noise that helps: dither and stochastic resonanceHow noise lets a threshold or coarse quantiser measure a mean it could not otherwise see, the best noise level for a switch, stochastic resonance, dither, and checking against a reference.
- 09Voting between sensorsWhat one-out-of-two, two-out-of-two and two-out-of-three voting do to spurious trips and failures on demand, why voting does not cure process noise, common-cause failures, and deviation alarms.
- 10Proving the settingsTurning calculated trip and alarm settings into evidence: end-to-end response tests, a planned demonstration of the nuisance-trip rate with confidence bounds, and an auditable register entry.
Apply This in Practice
Use these KEVOS® tools to try the method from this reading with your own numbers.
Applies this method
CUSUM Control Chart Check (Tabular Upper and Lower Sums, Decision Interval, First Signal)
Runs a tabular CUSUM on hourly mean pressures against a clean-condition target and reports the first hour the lower sum passes the decision interval, giving early warning of a drift towards a trip.
Used in Drift towards the trip
Applies this method
MTBF Confidence Bounds (Field or Test Failures, Chi-Square Limits, Requirement Check)
Gives the lower confidence bound on the mean time between nuisance trips from logged running hours and trip count, and the further trip-free hours needed to meet an objective.
Used in Proving the settings
Applies this method
Normal Distribution Out-of-Tolerance
Gives the fraction of readings beyond a threshold, in parts per million, from the signal's mean and standard deviation: the tail probability behind a trip's margin in standard deviations.
Used in Margins in standard deviations
Applies this method
Reliability Demonstration Test Plan (MTBF Objective, Confidence, Allowed Failures, Test Length)
Calculates the running hours and production days needed to demonstrate a mean time between nuisance trips at a chosen confidence, with a stated number of trips allowed during the test.
Used in Proving the settings
Related Tools and Examples
Useful alongside
EWMA Control Chart Check (Weighted Moving Average, Control Limits, Small Shifts)
Calculates an EWMA statistic over up to twenty readings with control limits. Its weighting factor is the same recursion as a first-order trip filter, so it shows how a filter weights recent readings.
Related to Filtering before the comparator
Useful alongside
System Reliability from Weibull Components (Series and Redundancy)
Gives the reliability of identical redundant units with a constant failure rate at the end of a proof-test interval. A check on one-out-of-n arithmetic; it does not model voting, common cause or proof testing.
Related to Voting between sensors
References and source notes
The manuscript and worked examples are original KEVOS® writing. References inform particular concepts; their authors do not endorse this book. Web references were consulted on 31 October 2026.
- J. A. Freund and T. Pöschel (eds), Lecture Notes in Physics 557, Springer, Berlin (ISBN 3 540 41074 0). Stochastic Processes in Physics, Chemistry, and Biology (2000). Supplied source, in copyright. Read only as a subject map: its chapters on stochastic resonance, noise-driven escape over a barrier and the scaling of noise identify the physics behind threshold detection in noise. No text, equations, figures, examples or exercises are reproduced or adapted; the engineering treatment, running case and numbers here are original.
- S. O. Rice, Bell System Technical Journal, vol. 23, pp. 282–332, and vol. 24, pp. 46–156. Mathematical analysis of random noise (1944–1945). Original source of the expected rate at which a Gaussian random signal crosses a level, used in Chapters 3, 4 and 6.
- A. Papoulis and S. U. Pillai, McGraw-Hill, New York. Probability, Random Variables and Stochastic Processes, fourth edition (2002). Standard text for Gaussian processes, autocorrelation, filtered noise and level crossings, used as background throughout.
- L. Gammaitoni, P. Hänggi, P. Jung and F. Marchesoni, Reviews of Modern Physics, vol. 70, pp. 223–287. Stochastic resonance (1998). Review of stochastic resonance, including threshold detectors, used for the background of Chapter 8. No figures or data are reproduced.
- H. A. Kramers, Physica, vol. 7, pp. 284–304. Brownian motion in a field of force and the diffusion model of chemical reactions (1940). Original paper on the escape rate over a barrier, mentioned in Chapter 3 as the physics counterpart of a signal leaving its normal band.
- J. Vanderkooy and S. P. Lipshitz, Journal of the Audio Engineering Society, vol. 32, pp. 106–113. Resolution below the least significant bit in digital systems with dither (1984). Background for dither in quantised measurements in Chapter 8.
- S. W. Smith, California Technical Publishing. The Scientist and Engineer's Guide to Digital Signal Processing (1997). Public reference for single-pole recursive (first-order) filters and moving averages used in Chapter 4.
- P. Gruhn and H. L. Cheddie, ISA, Research Triangle Park. Safety Instrumented Systems: Design, Analysis, and Justification, second edition (2006). Background for the simplified spurious trip rate and average probability of failure on demand of voted arrangements in Chapter 9.
- National Institute of Standards and Technology. NIST/SEMATECH e-Handbook of Statistical Methods (2012). Public reference for the normal distribution, EWMA and CUSUM charts and confidence bounds on rates, used in Chapters 2, 4, 7 and 10.
- International Electrotechnical Commission; International Society of Automation; Engineering Equipment and Materials Users Association. IEC 61508 and IEC 61511 (functional safety; adopted in Australia as AS 61508 and AS IEC 61511), and ANSI/ISA-18.2, IEC 62682 and EEMUA 191 (alarm management) (current editions). Named by number and scope only in Chapters 5, 9 and 10. Nothing is quoted from them, and no target values from them are used.
- Safe Work Australia. Safe Work Australia: guidance on managing risks of plant in the workplace (current). The regulatory context for guarding and control systems on plant in Australia, referred to in the introduction and Chapter 9.