Rear impact (whiplash)¶
Module: crashmetrics.whiplash.
The rear impact assessment rates how well the seats protect against whiplash in low-speed rear-end crashes. It is part of Euro NCAP's (and ANCAP's) adult occupant protection, 5 points in the 2026 protocols:
| Seat | Part | Points |
|---|---|---|
| Front | Static geometry (head restraint height and backset) | 1 |
| Front | Dynamic: BioRID sled tests, medium and high severity pulses, 1.5 each | 3 |
| Rear | Head restraint geometry and non-use position | 1 |
Sources: Crash Protection Rear Impact Protocol v1.2 (August 2026) for the points and limits, Euro NCAP CP 005 v1.4.1 for the criteria. Interpretations are in the protocol notes.
Step 1: BioRID criteria from signals¶
from crashmetrics.whiplash import nic, nkm
value_nic = nic(t, t1_ax, head_ax, t_end=t_hrc_end, units="g")
value_nkm = nkm(t, upper_neck_fx, upper_neck_my, t_end=t_hrc_end).value
- NIC (CP 005 3.2.6):
NIC(t) = 0.2 a_rel + v_rel²witha_rel = a_T1,x − a_head,x(T1 the mean of left and right, CFC 60) andv_relits integral; maximum up to T-HRC(end). - Nkm (3.2.7):
M_OCy = My − 0.01778 Fx; the largest of the four flexion/extension and anterior/posterior shear combinationsM_OCy / M_int + Fx / F_intwith intercepts 88.1 / −47.5 N m and ±845 N, each counted only where both signs match. - T1 acceleration, T-HRC (head restraint contact), rebound velocity and seatback deflection come from the test and its film.
Step 2: score each pulse¶
from crashmetrics.whiplash import score_whiplash_pulse
medium = score_whiplash_pulse("medium", {
"nic": 7.2, "upper_neck_fx": 128.0, "upper_neck_fz": 532.0,
# capping parameters (optional): "nkm", "rebound_velocity", moments ...
"t1": 9.0, "t_hrc_start": 47.0,
})
Three criteria score 0.5 points each, linear between the higher (full points) and lower (none) performance limits:
| Criterion | Medium pulse | High pulse |
|---|---|---|
| NIC, m²/s² | 11.0 → 24.0 | 13.0 → 23.0 |
| Upper neck shear +Fx, N | 30 → 190 | 30 → 210 |
| Upper neck tension Fz, N | 360 → 750 | 470 → 770 |
Capping: reaching any of these gives no points for that pulse:
| Parameter | Medium | High |
|---|---|---|
| NIC | 27.0 | 25.5 |
| Nkm | not used | 0.78 |
| Head rebound velocity, m/s | 5.20 | 6.0 |
| Upper neck +Fx / −Fx, N | 290 / 360 | 364 / 360 |
| Upper neck Fz, N | 900 | 1024 |
| Upper and lower neck My extension / flexion, N m | 30 | 30 |
| Lower neck Fx (magnitude), N | 360 | 360 |
| Seatback deflection, deg | not used | 32 |
| T1 acceleration and T-HRC start (both reached) | 15.55 g and 92 ms | 17.80 g and 92 ms |
Step 3: the front seat¶
from crashmetrics.whiplash import score_front_seat
front = score_front_seat(
medium, high,
effective_height=830.0, backset=32.0, # test position, mm
lowest_rearmost=[(800.0, 62.0), (800.0, 62.0)], # each front seat
front_seats=2,
)
- Geometry, test position (0–1): the worse of the effective head restraint height (1 at 825 mm, 0 at 790 mm, linear between) and the backset (1 below 45 mm, else 0).
- Lowest and rearmost: each front seat meeting 790 mm height and 70 mm backset in that position earns 0.5 / n (n = number of front seats). Automatically adjusting head restraints earn it only with a raw dynamic score above 1.50.
- Geometry is test position plus lowest/rearmost credit, at most 1 point; 0 if the head restraint structure requirement (120 mm cylinder) fails.
- Dummy loading (design exploiting the dummy): −1 point.
Step 4: rear seats and the total¶
from crashmetrics.whiplash import RearSeat, rear_backset_limit, score_rear_seats, score_whiplash
seat = RearSeat(height_lowest=725.0, height_highest=785.0,
backset_mid=310.0, backset_worst=345.0, torso_angle=25.0,
non_use_position=True)
rear = score_rear_seats([seat, seat]) # symmetric: give one seat twice
total = score_whiplash(front, rear)
print(total.summary())
Per rear outboard seat (up to 1): effective height (lowest ≥ 720 mm and
highest ≥ 770 mm, or ≤ 50 mm gap to the roofline) 0.375; backset within
7.128 × torso angle + 153 mm in the mid position 0.25 and in the worst
case 0.125 (only with the height); non-use position 0.25 (only with
geometry above 0). The seat scores are scaled to 1 point; a row scores
only if its centre seat meets UN R17 as standard.
Complete example¶
Two front seat designs: a close head restraint (3.538 / 5) and a large backset with late head restraint contact (1.875 / 5, the high pulse capped by Nkm and neck tension):
"""Example 17: rear impact (whiplash) score, BioRID criteria from signals.
Synthetic sled tests of two front seat designs with the medium and high
severity pulses. NIC and Nkm are computed from the T1, head and upper
neck signals; the seat is scored with the 2026 rear impact protocol
(5 points: front seat 4, rear seats 1).
"""
import numpy as np
from crashmetrics.whiplash import (
RearSeat,
nic,
nkm,
rear_backset_limit,
score_front_seat,
score_rear_seats,
score_whiplash,
score_whiplash_pulse,
)
t = np.arange(0.0, 0.2, 1e-4) # s
def bump(peak, start, width):
phase = (t - start) / width
return np.where((phase > 0) & (phase < 1), peak * np.sin(np.pi * phase), 0.0)
def sled_test(severity, gap):
"""BioRID signals; ``gap`` (s) delays head restraint contact."""
t1 = bump(9.0 * severity, 0.02, 0.09) # g
head = bump(9.0 * severity, 0.03 + gap, 0.09) # head lags T1
fx = bump(80.0 * severity * (1 + 6 * gap / 0.02), 0.04 + gap, 0.05)
fz = bump(380.0 * severity * (1 + 4 * gap / 0.02), 0.05 + gap, 0.06)
my = bump(-6.0 * severity * (1 + 5 * gap / 0.02), 0.04 + gap, 0.05)
t_hrc_end = 0.12 + gap
values = {
"nic": nic(t, t1, head, t_end=t_hrc_end, units="g"),
"nkm": nkm(t, fx, my, t_end=t_hrc_end).value,
"upper_neck_fx": float(fx.max()),
"upper_neck_fz": float(fz.max()),
"t1": float(t1.max()),
"t_hrc_start": 1000 * (0.045 + gap),
"rebound_velocity": 3.2 * severity,
}
return values
def show(pulse, values):
score = score_whiplash_pulse(pulse, values)
crit = ", ".join(f"{k} {values[k]:.1f}" for k in
("nic", "upper_neck_fx", "upper_neck_fz"))
capped = f" capped: {', '.join(score.capped)}" if score.capped else ""
print(f" {pulse:6}: NIC/Fx/Fz {crit} | Nkm {values['nkm']:.2f} | "
f"points {score.points:.3f}{capped}")
return score
limit = rear_backset_limit(25.0) # rear backset limit, mm
rear = score_rear_seats([
RearSeat(height_lowest=725.0, height_highest=785.0, backset_mid=limit - 20,
backset_worst=limit + 15, torso_angle=25.0, non_use_position=True),
] * 2) # symmetric seats
designs = {
"Seat A: close head restraint (backset 32 mm)": dict(gap=0.002, height=830.0,
backset=32.0),
"Seat B: large backset (52 mm), late contact": dict(gap=0.006, height=805.0,
backset=52.0),
}
for name, d in designs.items():
print(name)
medium = show("medium", sled_test(1.0, d["gap"]))
high = show("high", sled_test(1.35, d["gap"]))
front = score_front_seat(medium, high, effective_height=d["height"],
backset=d["backset"],
lowest_rearmost=[(800.0, 62.0), (800.0, 62.0)])
total = score_whiplash(front, rear)
print(total.summary())
print()
Output:
Seat A: close head restraint (backset 32 mm)
medium: NIC/Fx/Fz nic 7.2, upper_neck_fx 128.0, upper_neck_fz 532.0 | Nkm 0.39 | points 0.973
high : NIC/Fx/Fz nic 9.8, upper_neck_fx 172.8, upper_neck_fz 718.2 | Nkm 0.52 | points 0.690
Rear impact (whiplash): 3.538 / 5
Front seat 2.663 / 4: geometry 1.000 (test position 1.000, lowest/rearmost 0.500), dynamic 1.663
medium pulse 0.973 / 1.5 (nic 0.500, upper_neck_fx 0.194, upper_neck_fz 0.279)
high pulse 0.690 / 1.5 (nic 0.500, upper_neck_fx 0.103, upper_neck_fz 0.086)
Rear seats 0.875 / 1
Seat B: large backset (52 mm), late contact
medium: NIC/Fx/Fz nic 9.5, upper_neck_fx 224.0, upper_neck_fz 836.0 | Nkm 0.66 | points 0.500
high : NIC/Fx/Fz nic 12.9, upper_neck_fx 302.4, upper_neck_fz 1128.6 | Nkm 0.90 | points 0.000 capped: nkm, upper_neck_fz
Rear impact (whiplash): 1.875 / 5
Front seat 1.000 / 4: geometry 0.500 (test position 0.000, lowest/rearmost 0.500), dynamic 0.500
medium pulse 0.500 / 1.5 (nic 0.500, upper_neck_fx 0.000, upper_neck_fz 0.000)
high pulse 0.000 / 1.5 (nic 0.500, upper_neck_fx 0.000, upper_neck_fz 0.000) CAPPED: nkm, upper_neck_fz
Rear seats 0.875 / 1
Protocol documents¶
- Crash Protection Rear Impact Protocol v1.2, August 2026 (ANCAP edition)
- Euro NCAP CP 005 Data Acquisition and Injury Calculation v1.4.1, April 2026
- Euro NCAP Whiplash Test Protocol v4.1.2 (sled test procedure)
- ANCAP Assessment Protocol Adult Occupant Protection v9.1.3.1 (2022): the earlier whiplash scoring text (sliding scales, pulse capping)