A consumer smartwatch failing and corrupting its step-counter data is an annoyance. A medical infusion pump failing and delivering a lethal dose of medication, or a car’s electronic braking system failing on a highway, is a catastrophe.
To bridge this massive disparity in risk, the engineering world relies on formal safety standards. The two most prominent are SIL (Safety Integrity Level), derived from the general functional safety standard IEC 61508, and ASIL (Automotive Safety Integrity Level), derived from the automotive-specific ISO 26262.
Understanding and designing a product to meet these levels is one of the most intellectually demanding (and expensive) challenges in hardware engineering.
What are SIL and ASIL?
SIL and ASIL are not physical hardware certifications; they are classifications of risk reduction. They answer the question: “If this specific hardware or software component fails, how likely is it to kill someone, and therefore, how much mathematical rigor must we apply to keep the probability of that failure acceptably low?”
The ASIL Classification (A to D)
In the automotive standard (ISO 26262), risk is evaluated based on three factors:
- Severity (S): If an accident occurs due to the failure, how bad are the injuries?
- Exposure (E): How often is the vehicle in a situation where this failure could happen?
- Controllability (C): Can the driver reasonably prevent the accident if the failure occurs?
Combining these creates a matrix that assigns an ASIL level:
- QM (Quality Management): No safety risk (e.g., the car radio breaks). Standard engineering practices apply.
- ASIL A: Very low risk (e.g., rear taillights stop working).
- ASIL B / C: Medium-to-high risk (e.g., instrument cluster freezes, advanced driver assistance systems).
- ASIL D: Extreme, life-threatening risk (e.g., electronic power steering locks up, ABS brakes fail).
Similarly, the industrial standard (IEC 61508) uses SIL 1 through SIL 4, where SIL 4 is the most rigorous (commonly used in railway signaling or nuclear power). The two scales are defined differently and have no official equivalence; comparisons such as “ASIL D ≈ SIL 3” are only approximate.
Engineering for ASIL-D / SIL 3
If the vehicle-level hazard analysis assigns ASIL-D to a function, the entire V-Model development process changes drastically compared to consumer electronics.
- Redundancy (Lockstep Processing): An ASIL-D system cannot rely on a single MCU core. Designs typically use Dual-Core Lockstep (DCLS) microcontrollers (like the NXP S32 or TI Hercules). These chips physically possess two identical CPU cores running the exact same code, staggered by a clock cycle. A localized hardware comparator instantly checks the output of both cores. If a cosmic ray flips a bit in one core and the outputs diverge, the hardware immediately triggers a safe shutdown (e.g., de-energising the actuator outputs).
- ECC Memory: RAM and Flash are guarded by Error-Correcting Code (ECC), which corrects single-bit errors and detects double-bit errors on the fly.
- Traceability: Every single line of C/C++ code must trace back to a specific, reviewable software requirement, which traces back to a system requirement.
- Failure Mode and Effects Analysis (FMEA/FMEDA): Engineers assign a failure rate in FIT (Failures In Time), i.e. failures per billion operating hours, to every individual resistor, capacitor, and integrated circuit on the PCB and analyze its failure modes, to show that the rate of dangerous failures of the safety function remains below the target set for the required integrity level.
Official References
- IEC 61508 — Functional safety of E/E/PE safety-related systems — IEC (SIL framework)
- ISO 26262 — Road vehicles: Functional safety (ASIL) — ISO (ASIL framework)