crashmetrics.lower_extremity¶
lower_extremity
¶
Lower-extremity injury criteria for crash test dummies.
Functions:
tibia_index: Tibia Index (TI) from tibia bending moments and axial force.femur_force_criterion: Femur compressive force exceedance against a force-time limit.tibia_compression: Peak tibia compressive force (UN-ECE R94 tibia compression force criterion; Euro NCAP uses the Tibia Index).knee_slider_displacement: Knee slider displacement (Euro NCAP CP 005, Section 3.6.3).
Units are SI: forces in N, moments in N m, time in s. Filter the channels first; Euro NCAP uses CFC 600 for tibia and femur loads.
Sign convention: by default compressive axial force is negative, as
in Euro NCAP, where the femur criterion uses the most negative femur
force and the Tibia Index is zero whenever Fz >= 0. Set
compression_negative=False if your data uses positive compression.
TIBIA_INDEX_CRITICAL_VALUES
module-attribute
¶
TIBIA_INDEX_CRITICAL_VALUES: dict[
str, tuple[float, float]
] = {
"hybrid3_50": (225.0, 35900.0),
"hybrid3_05": (114.0, 22900.0),
"hybrid3_95": (306.0, 44100.0),
"thor_50": (225.0, 35900.0),
}
Critical resultant moment (N m) and critical compressive force (N).
Source: Euro NCAP Data Acquisition and Injury Calculation protocol (CP 005, v1.4.1, 2026). Check the values against the protocol version you assess to.
FEMUR_FORCE_LIMITS
module-attribute
¶
FEMUR_FORCE_LIMITS: dict[
str, tuple[tuple[float, float], ...]
] = {"r94_hybrid3_50": ((0.0, 9070.0), (10.0, 7580.0))}
Femur compressive force-time limits as (duration in ms, force in N).
The limit is linear between points and constant after the last one.
"r94_hybrid3_50" is the UN-ECE R94 femur force criterion for the
Hybrid III 50th male: 9.07 kN at 0 ms falling to 7.58 kN at 10 ms and
longer. Check the values, and whether durations are cumulative or
continuous, against the regulation you assess to.
R94_TIBIA_COMPRESSION_LIMIT
module-attribute
¶
UN-ECE R94 tibia compression force criterion (TCFC) limit, N.
TibiaIndexResult
dataclass
¶
FemurForceResult
dataclass
¶
FemurForceResult(
peak_compression: float,
peak_time: float,
utilisation: float,
critical_duration_ms: float,
passed: bool,
levels: NDArray[float64],
durations_ms: NDArray[float64],
)
Result of a femur force criterion check.
peak_compression
instance-attribute
¶
Largest compressive force, in N (positive).
utilisation
instance-attribute
¶
Largest ratio of the exceedance curve to the limit; a value above 1 means the limit is exceeded.
critical_duration_ms
instance-attribute
¶
Duration (ms) at which the utilisation is largest.
levels
instance-attribute
¶
Compressive force levels (N) of the exceedance curve, highest first.
durations_ms
instance-attribute
¶
Time (ms) the compression is at or above each level.
tibia_index
¶
tibia_index(
time: ArrayLike,
mx: ArrayLike,
my: ArrayLike,
fz: ArrayLike,
dummy: str | None = None,
critical_moment: float | None = None,
critical_force: float | None = None,
compression_negative: bool = True,
) -> TibiaIndexResult
Return the Tibia Index (TI).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
ArrayLike
|
1D time array in s. |
required |
mx
|
ArrayLike
|
Tibia bending moments in N m (upper or lower tibia). |
required |
my
|
ArrayLike
|
Tibia bending moments in N m (upper or lower tibia). |
required |
fz
|
ArrayLike
|
Tibia axial force in N. |
required |
dummy
|
str | None
|
Key of |
None
|
critical_moment
|
float | None
|
Critical resultant bending moment in N m. |
None
|
critical_force
|
float | None
|
Critical compressive force in N. |
None
|
compression_negative
|
bool
|
True if compression is negative in |
True
|
Returns:
| Type | Description |
|---|---|
TibiaIndexResult
|
|
Notes
At each sample, with MR = sqrt(Mx**2 + My**2)::
TI = |MR / MR_c| + |Fz / Fz_c| while the tibia is in compression
TI = 0 otherwise
as defined by Euro NCAP. Calculate it separately for the upper and lower tibia of each leg and report the highest value your protocol asks for.
femur_force_criterion
¶
femur_force_criterion(
time: ArrayLike,
fz: ArrayLike,
limit: str
| tuple[tuple[float, float], ...] = "r94_hybrid3_50",
mode: Literal[
"cumulative", "continuous"
] = "cumulative",
compression_negative: bool = True,
) -> FemurForceResult
Check femur compressive force against a force-time limit.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
ArrayLike
|
1D time array in s. |
required |
fz
|
ArrayLike
|
Femur axial force in N. |
required |
limit
|
str | tuple[tuple[float, float], ...]
|
Key of |
'r94_hybrid3_50'
|
mode
|
Literal['cumulative', 'continuous']
|
|
'cumulative'
|
compression_negative
|
bool
|
True if compression is negative in |
True
|
Returns:
| Type | Description |
|---|---|
FemurForceResult
|
|
Notes
For each compressive force level F, let D(F) be the time
the compression is at or above F. The limit is exceeded if
F > limit(D(F)) for some F; the utilisation is the largest
F / limit(D(F)).
In cumulative mode D is linear in F between sample values,
so checking every sample value and every level where D meets a
limit breakpoint is exact for the linearly interpolated signal. In
continuous mode 2000 evenly spaced levels are added as well.
tibia_compression
¶
tibia_compression(
time: ArrayLike,
fz: ArrayLike,
compression_negative: bool = True,
t_start: float | None = None,
t_end: float | None = None,
) -> PeakResult
Peak tibia compressive axial force |min(Fz)|, N (positive).
The UN-ECE R94 tibia compression force criterion (TCFC) is the
compressive Fz transmitted axially on each tibia, limited to 8 kN
(R94_TIBIA_COMPRESSION_LIMIT). Euro NCAP has scored it in
frontal tests alongside the Tibia Index (2 kN higher and 8 kN lower
performance limit in the ODB, Assessment Protocol - Adult Occupant
Protection v8.0, Section 3.1.5).
knee_slider_displacement
¶
knee_slider_displacement(
time: ArrayLike,
displacement: ArrayLike,
t_start: float | None = None,
t_end: float | None = None,
) -> PeakResult
Knee slider displacement Dknee = |min(Dknee(t))|, mm.
Euro NCAP CP 005, Section 3.6.3 (filter CFC 180).