Skip to content

Pedestrian headform (Euro NCAP)

Module: crashmetrics.pedestrian (headform_score, correction_factor, hic_colour, verification_colour).

Protocols: "euroncap_2026" (Crash Protection – VRU Impacts v1.1, head maximum 10 points) and "euroncap_2023" (Assessment Protocol – VRU v11.4, head maximum 18 points).

How Euro NCAP scores the head

  1. The manufacturer predicts a colour (from HIC15) for every grid point of the bonnet, windscreen and A-pillar area.
  2. Euro NCAP tests a few verification points. Comparing the tested and predicted points gives a correction factor that scales all predicted points.
  3. Some points are scored directly: blue points from their own tests, default red points as 0 and (2026) A-pillar points from reward tests.
  4. Head score = corrected grid points / number of grid points × head maximum.

Step 1: colours from HIC15

from crashmetrics.pedestrian import hic_colour

hic_colour(620)    # 'green'
HIC15 Colour Points
< 650 green 1.00
650 – < 1000 yellow 0.75
1000 – < 1350 orange 0.50
1350 – < 1700 brown 0.25
≥ 1700 red 0.00

Step 2: build the grid

A dict with one entry per grid point. The key is any label you like, usually (row, column). The value is either a predicted HIC15, a predicted colour, or a special label:

grid = {
    (0, 0): 541.0,          # predicted HIC15 (e.g. from CAE)
    (0, 1): "yellow",       # or a predicted colour
    (8, 0): "default_red",  # 0 points, e.g. wiper spindle
    (7, 3): "blue",         # scored from its own test
    (8, 6): "a_pillar",     # 2026: reward tests; 2023: default red
    # ... every grid point
}

Step 3: verification tests and correction factor

For each verification point, give the measured HIC15:

from crashmetrics.pedestrian import correction_factor

verification = {(0, 0): 760.0, (3, 4): 1180.0}
cf = correction_factor({p: (grid[p], hic) for p, hic in verification.items()})
cf.factor, cf.accepted
for test in cf.tests:
    print(test.point, test.predicted_colour, test.measured_hic, test.assessed_colour)
  • A tested point keeps its predicted colour if the measured HIC15 is within the 10 % tolerance range of that colour; otherwise it takes the colour of the measured value, without tolerance (verification_colour):

    Predicted colour Measured HIC15 that confirms it
    green < 722.22
    yellow 590.91 – < 1111.11
    orange 909.09 – < 1500.00
    brown 1227.27 – < 1888.89
    red ≥ 1545.45
  • Factor = tested points ÷ predicted points of the verification tests, rounded to 3 decimals.

  • accepted is True inside 0.850–1.150. Outside it the prediction is reviewed with Euro NCAP; crashmetrics still applies the factor.

Step 4: the head score

from crashmetrics.pedestrian import headform_score

result = headform_score(
    grid,
    verification=verification,                    # optional
    blue_results={(7, 3): 900.0},                 # HIC15 per blue point
    a_pillar_results={(8, 6): [(20.0, 880.0), (30.0, 1500.0)]},  # (km/h, HIC15)
    protocol="euroncap_2026",
)
result.score, result.max_score, result.percentage
result.colour_counts, result.correction.factor

A-pillar rewards (2026): each tested A-pillar point earns the reward of the highest speed it passes: 20 km/h with HIC15 < 1000 → 1 point, 30 km/h with HIC15 < 1700 → 2, 40 km/h with HIC15 < 1700 → 3.

Score: [ \text{score} = \min\left(\frac{\text{corrected predicted} + \text{blue} + \text{A-pillar points}}{\text{grid points}},\ 1\right) \times \text{head maximum} ]

CAE stage

Without verification, no correction is applied: the result is the score predicted from your CAE HIC15 values alone. That is the quickest way to track the pedestrian head score during development.

Why is a point red?

Bonnet clearance and bottoming out finds, for every point, whether the head bottomed out on a hard part (and when, on which part, with how much energy left) or whether the bonnet itself is too stiff, from the mesh and each impact's nodout.

Verified against the protocols

The tests reproduce the worked examples of both protocols: 10.554 of 18 points (2023) and a correction factor of 1.120 (2026).

Complete example

"""Example 2: Euro NCAP headform grid score (2026 and 2023 protocols).

Every grid point gets a predicted HIC15 (for example from CAE) or a
label: "blue" (scored from its own test), "default_red" (0 points) or
"a_pillar" (2026 reward tests). Verification tests then correct the
predicted points.
"""

from collections import Counter

from crashmetrics.pedestrian import correction_factor, headform_score, hic_colour

# --- 1. Predicted HIC15 per grid point (row, column) -----------------------
grid = {}
for row in range(-2, 9):                 # rows along the wrap-around distance
    for col in range(-6, 7):             # columns across the car
        # Softer bonnet centre, stiffer near the cowl and the wings.
        grid[(row, col)] = 450.0 + 28.0 * col * col + 60.0 * max(row - 5, 0) ** 2
grid[(8, 0)] = "default_red"             # e.g. a wiper spindle area
grid[(7, 3)] = grid[(7, -3)] = "blue"    # tested zones, scored from their tests
grid[(8, 6)] = grid[(8, -6)] = "a_pillar"

colours = Counter(hic_colour(v) for v in grid.values() if isinstance(v, float))
print(f"Grid points  : {len(grid)}  predicted colours {dict(sorted(colours.items()))}")

# --- 2. Verification tests (measured HIC15 at 40 km/h) ----------------------
verification = {(0, 0): 760.0, (3, 4): 1180.0, (6, -5): 1460.0, (8, 2): 1050.0}
cf = correction_factor({p: (grid[p], hic) for p, hic in verification.items()})
# Outside 0.850-1.150 the prediction is reviewed with Euro NCAP; the factor
# is still applied in the score below.
print(f"Correction   : factor {cf.factor:.3f}, accepted without review: {cf.accepted}")
for test in cf.tests:
    print(f"  point {test.point}: predicted {test.predicted_colour:6s} measured "
          f"{test.measured_hic:6.0f} -> {test.assessed_colour}")

# --- 3. Head score -----------------------------------------------------------
blue = {(7, 3): 900.0, (7, -3): 1250.0}              # measured HIC15
a_pillar = {(8, 6): [(20.0, 880.0), (30.0, 1500.0)],  # (km/h, HIC15)
            (8, -6): [(20.0, 1100.0)]}
for protocol in ("euroncap_2026", "euroncap_2023"):
    result = headform_score(
        grid, verification=verification, blue_results=blue,
        a_pillar_results=a_pillar if protocol == "euroncap_2026" else None,
        protocol=protocol,
    )
    print(f"{protocol}: head {result.score:.3f} / {result.max_score:g} points "
          f"({result.percentage:.1f} %), A-pillar points {result.a_pillar_points:g}")

# --- 4. Prediction only (CAE stage, no tests yet) ---------------------------
cae = headform_score({p: v for p, v in grid.items() if v != "a_pillar"} | {
    (8, 6): "default_red", (8, -6): "default_red"}, blue_results=blue)
print(f"CAE estimate : {cae.score:.3f} / {cae.max_score:g} points (no correction)")

Output:

Grid points  : 143  predicted colours {'brown': 26, 'green': 45, 'orange': 26, 'yellow': 41}
Correction   : factor 0.818, accepted without review: False
  point (0, 0): predicted green  measured    760 -> yellow
  point (3, 4): predicted yellow measured   1180 -> orange
  point (6, -5): predicted orange measured   1460 -> orange
  point (8, 2): predicted orange measured   1050 -> orange
euroncap_2026: head 5.676 / 10 points (56.8 %), A-pillar points 2
euroncap_2023: head 9.965 / 18 points (55.4 %), A-pillar points 0
CAE estimate : 6.748 / 10 points (no correction)