crashmetrics.neck¶
neck
¶
Neck injury criteria for frontal impact dummies.
Functions:
occipital_condyle_moment: Upper neck moment transferred to the occipital condyle.neck_loads: Peak shear, tension, compression and extension / flexion moments (Euro NCAP CP 005, Sections 3.2.1, 3.2.3 and 3.2.5).nij: Neck injury criterion Nij (FMVSS 208; not a Euro NCAP criterion).neck_force_criterion: Neck force against a force-duration limit (UN-ECE R94).
Units: time in s, force in N, moment in N m, distance in m.
Sign convention (SAE J211, as in Euro NCAP and FMVSS 208): Fz positive in tension; My and the occipital condyle moment positive in flexion; Fx positive when the head moves rearward relative to the torso.
OC_DISTANCE_HYBRID3
module-attribute
¶
Distance from the upper neck load cell to the occipital condyle, m, for all Hybrid III sizes (Euro NCAP CP 005, Section 3.2.1).
NIJ_INTERCEPTS
module-attribute
¶
NIJ_INTERCEPTS: dict[str, NijIntercepts] = {
"hybrid3_50": NijIntercepts(
6806.0, 6160.0, 310.0, 135.0
),
"hybrid3_05": NijIntercepts(
4287.0, 3880.0, 155.0, 67.0
),
}
FMVSS 208 in-position intercepts: Hybrid III 50th male (S6.6(a)(3)) and 5th female (S15.3.6(a)(3)). Pass your own for other dummies or out-of-position tests.
FMVSS208_NECK_FORCE_LIMITS
module-attribute
¶
FMVSS208_NECK_FORCE_LIMITS: dict[
str, tuple[float, float]
] = {
"hybrid3_50": (4170.0, 4000.0),
"hybrid3_05": (2620.0, 2520.0),
}
FMVSS 208 peak upper neck (tension, compression) limits, N (S6.6(b)-(c) and S15.3.6(b)-(c)).
NECK_FORCE_LIMITS
module-attribute
¶
NECK_FORCE_LIMITS: dict[
str, tuple[tuple[float, float], ...]
] = {
"r94_tension": (
(0.0, 3300.0),
(35.0, 2900.0),
(60.0, 1100.0),
),
"r94_shear": (
(0.0, 3100.0),
(25.0, 1500.0),
(35.0, 1500.0),
(45.0, 1100.0),
),
}
UN-ECE R94 neck force-duration limits, (duration in ms, force in N), Hybrid III 50th male: tension 3.3 kN at 0 ms, 2.9 kN at 35 ms, 1.1 kN at 60 ms; shear 3.1 kN at 0 ms, 1.5 kN from 25 to 35 ms, 1.1 kN at 45 ms. Linear between points, constant after the last one. Euro NCAP used the same curves as the lower performance limits of its ODB test (Assessment Protocol - Adult Occupant Protection v8.0, Section 3.1.2).
R94_NECK_EXTENSION_LIMIT
module-attribute
¶
UN-ECE R94 neck extension bending moment limit, N m (Hybrid III 50th male).
NeckLoads
dataclass
¶
NeckLoads(
shear_positive: PeakResult,
shear_negative: PeakResult,
tension: PeakResult,
compression: PeakResult,
extension_moment: PeakResult,
flexion_moment: PeakResult,
moment: NDArray[float64],
)
Peak neck loads over the evaluation window.
shear_negative
instance-attribute
¶
shear_negative: PeakResult
Largest -Fx (head forward), N, as a positive magnitude.
compression
instance-attribute
¶
compression: PeakResult
Largest -Fz (compression), N, as a positive magnitude.
extension_moment
instance-attribute
¶
extension_moment: PeakResult
Extension moment abs(min(M)), N m (M = M_OCy for the Hybrid
III, the upper neck My for the THOR).
NijIntercepts
dataclass
¶
Nij critical intercepts: forces in N, moments in N m.
NijResult
dataclass
¶
NijResult(
value: float,
category: str,
time: float,
categories: dict[str, float],
history: NDArray[float64],
)
Result of an Nij calculation.
occipital_condyle_moment
¶
occipital_condyle_moment(
my: ArrayLike,
fx: ArrayLike,
d: float = OC_DISTANCE_HYBRID3,
) -> NDArray[float64]
Moment at the occipital condyle: M_OCy = My - Fx * d.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
my
|
ArrayLike
|
Upper neck moment My, N m. |
required |
fx
|
ArrayLike
|
Upper neck shear force Fx, N. |
required |
d
|
float
|
Load cell to occipital condyle distance, m (0.01778 m for the Hybrid III). The THOR upper neck moment is used without this correction in Euro NCAP. |
OC_DISTANCE_HYBRID3
|
neck_loads
¶
neck_loads(
time: ArrayLike,
fx: ArrayLike,
fz: ArrayLike,
my: ArrayLike,
dummy: Literal["hybrid3", "thor"] = "hybrid3",
oc_distance: float | None = None,
t_start: float | None = None,
t_end: float | None = None,
) -> NeckLoads
Peak upper neck loads (Euro NCAP CP 005, Sections 3.2.1-3.2.5).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
ArrayLike
|
1D time array in s. |
required |
fx
|
ArrayLike
|
Upper neck shear and axial force, N (filter CFC 1000). |
required |
fz
|
ArrayLike
|
Upper neck shear and axial force, N (filter CFC 1000). |
required |
my
|
ArrayLike
|
Upper neck moment, N m (filter CFC 600). |
required |
dummy
|
Literal['hybrid3', 'thor']
|
|
'hybrid3'
|
oc_distance
|
float | None
|
Override of d for the Hybrid III, m (default 0.01778 m). |
None
|
t_start
|
float | None
|
Evaluation window, s; for frontal impacts Euro NCAP considers the
loading phase (see |
None
|
t_end
|
float | None
|
Evaluation window, s; for frontal impacts Euro NCAP considers the
loading phase (see |
None
|
Notes
Peaks that never occur in the window (e.g. no compression) are 0.
The extension moment follows Euro NCAP's abs(min(M)).
nij
¶
nij(
time: ArrayLike,
fz: ArrayLike,
my: ArrayLike,
fx: ArrayLike | None = None,
dummy: str = "hybrid3_50",
intercepts: NijIntercepts | None = None,
oc_distance: float = OC_DISTANCE_HYBRID3,
t_start: float | None = None,
t_end: float | None = None,
) -> NijResult
Neck injury criterion Nij (FMVSS 208, S6.6 and S15.3.6).
Nij = Fz/Fzc + M_OCy/Myc at each instant, with the intercept for
tension or compression and for flexion or extension chosen by the
signs of Fz and M_OCy, giving the four categories NTE, NTF, NCE and
NCF. The FMVSS 208 limit is 1.0. Filter forces and moments with
CFC 600 for Nij.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
ArrayLike
|
1D time array in s. |
required |
fz
|
ArrayLike
|
Upper neck axial force, N (tension positive). |
required |
my
|
ArrayLike
|
Upper neck moment, N m (flexion positive). |
required |
fx
|
ArrayLike | None
|
Upper neck shear force, N. If given, the moment is moved to the
occipital condyle ( |
None
|
dummy
|
str
|
Key of |
'hybrid3_50'
|
intercepts
|
NijIntercepts | None
|
Custom intercepts. |
None
|
oc_distance
|
float
|
Load cell to occipital condyle distance, m. |
OC_DISTANCE_HYBRID3
|
t_start
|
float | None
|
Optional evaluation window, s. |
None
|
t_end
|
float | None
|
Optional evaluation window, s. |
None
|
neck_force_criterion
¶
neck_force_criterion(
time: ArrayLike,
force: ArrayLike,
limit: str
| Sequence[tuple[float, float]] = "r94_tension",
mode: Literal[
"cumulative", "continuous"
] = "cumulative",
direction: Literal["positive", "negative", "absolute"]
| None = None,
) -> ExceedanceCheckResult
Check a neck force against a force-duration limit.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
ArrayLike
|
1D time array in s. |
required |
force
|
ArrayLike
|
Upper neck Fz for tension, Fx for shear, N. |
required |
limit
|
str | Sequence[tuple[float, float]]
|
Key of |
'r94_tension'
|
mode
|
Literal['cumulative', 'continuous']
|
|
'cumulative'
|
direction
|
Literal['positive', 'negative', 'absolute'] | None
|
Part of the force assessed. Defaults: |
None
|