PLC Interlocks and Test-Rig Safety Logic: Fail-Safe Design, Trips and SIL/PL
A test rig runs machines at their limits, often unattended for long hours. Its control system must stop the rig safely whenever something goes wrong: lubrication lost, overspeed, overtemperature, guard opened. Good interlock design is mostly about clear logic and fail-safe principles; the reliability mathematics of functional safety confirms that the design is good enough.
Key takeaways
- Permissives must be true before starting; trips stop the rig while running. Keep them separate and documented in a cause-and-effect matrix.
- Fail-safe: normally-closed contacts and de-energise-to-trip, so a broken wire or lost power stops the rig.
- Emergency stops are hard-wired through safety relays or a safety PLC; ordinary PLC logic is not a safety function by itself.
- Alarms come before trips; use time delays and hysteresis to avoid nuisance trips, and first-out indication to know what tripped first.
- Reliability: PFDavg ≈ λDU·T/2 for a single channel; redundancy (1oo2) and frequent proof tests reduce it.
1. Permissives, alarms and trips
| Kind | When checked | Example |
|---|---|---|
| Permissive | Before start | Lube pressure > 2 bar, guard closed, coolant flow OK, no active trip |
| Alarm | Running | Oil temperature > 85 °C, vibration > alert level |
| Trip | Running | Oil pressure < 1 bar for 2 s, overspeed > 110 %, vibration > alarm level, E-stop |
2. Fail-safe principles
- Use normally-closed (break) contacts for stop and trip inputs; a broken wire then looks like a trip.
- Outputs de-energise to trip (spring-return valves, contactors drop out).
- Monitor analogue signals for out-of-range (e.g. < 3.6 mA) and treat as a trip or alarm.
- Use a watchdog: if the PLC stops scanning, a hardware relay drops the drive.
- Require a manual reset after a trip; never auto-restart.
| IEC 60204-1 stop category | Action |
|---|---|
| 0 | Immediate removal of power (uncontrolled stop) |
| 1 | Controlled stop with power, then power removed |
| 2 | Controlled stop, power left on |
3. Cause-and-effect matrix (example rig)
| Cause | Setting | Delay | Effect |
|---|---|---|---|
| E-stop pressed | — | 0 | Cat 0 or 1 stop; drive enable off via safety relay |
| Guard or hood open | — | 0 | Trip; inhibit start |
| Lube oil pressure low | < 1.0 bar | 2 s | Trip drive; keep lube pump on for run-down |
| Lube oil temperature high | > 85 °C alarm / > 95 °C trip | 10 s | Alarm, then trip |
| Overspeed | > 105 % alarm / > 110 % trip | 0 | Trip |
| Vibration high | > alert / > alarm | 5 s | Alarm, then controlled stop |
| Cooling water flow low | < set flow | 10 s | Alarm, then controlled stop |
| Phase failure / earth fault | Relay | 0 | Trip |
| Sensor fault (< 3.6 mA) | — | 1 s | Treat as trip for that function |
Use hysteresis (e.g. reset 3–5 % below the alarm level) and short time delays so that noise does not cause nuisance trips, but keep delays short for fast-acting hazards.
4. Functional safety in brief
ISO 13849-1 uses Performance Levels PL a–e based on architecture (category), MTTFd, diagnostic coverage and common-cause failures; IEC 62061 uses SIL for machinery. Example: λDU = 2e-06/h, proof test yearly: 1oo1 PFD ≈ 8.8e-03 (SIL 2 band); 1oo2 ≈ 1.0e-04.
5. Calculators
Average probability of failure on demand
6. Self-test: check your understanding
Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).
7. References and further reading
- IEC 60204-1, Safety of machinery — Electrical equipment of machines.
- ISO 13849-1, Safety-related parts of control systems — General principles for design.
- IEC 62061, Safety of machinery — Functional safety of safety-related control systems.
- IEC 61508 / IEC 61511, Functional safety.
- ISA-18.2 / IEC 62682, Management of alarm systems for the process industries.