Terminal Homing with Time-to-Go Singularity
PARITYS2 · dim 20No clear winner. The survival gap is under 10 percentage points and the balanced-score gap is under 0.05, so neither SolvSRK nor the best baseline clears the win threshold. Either works - choose on cost, licensing, or integration effort. All verdicts →
Terminal homing phase (final 5s). Eigenvalue ratio up to 15000 from t_go regularization at 0.1s. 200 Hz measurement updates. Highest stiffness engagement problem in the catalog.
Problem definition
Zarchan Ch. 8 (terminal homing, t_go estimation)
Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.
Show canonical RHS excerpt
def _clamp(x: float, lo: float, hi: float) -> float:
if x < lo:
return lo
if x > hi:
return hi
return x
def _los_rates_3d(rx, ry, rz, vrx, vry, vrz):
"""LOS rates (azimuth & elevation) in 3-D."""
R2 = rx * rx + ry * ry + rz * rz + 0.01
R_horiz2 = rx * rx + ry * ry + 0.01
lam_az = (rx * vry - ry * vrx) / R2
lam_el = (R_horiz2 * vrz - rz * (rx * vrx + ry * vry)) / (R2 * np.sqrt(R_horiz2))
return lam_az, lam_el
def _sigmoid_window(t: float, t_center: float, tau: float) -> float:
"""Unit pulse centred at *t_center*, width ~4*tau, Lipschitz-continuous."""
arg = (t - t_center) / max(tau, 1e-12)
s = 1.0 / (1.0 + np.exp(-arg))
return 4.0 * s * (1.0 - s)
def rhs(t, y):
xt, yt, zt = y[0], y[1], y[2]
vxt, vyt, vzt = y[3], y[4], y[5]
xi, yi, zi = y[6], y[7], y[8]
vxi, vyi, vzi = y[9], y[10], y[11]
xh, yh, zh = y[12], y[13], y[14]
vxh, vyh, vzh = y[15], y[16], y[17]
a_lag_y, a_lag_z = y[18], y[19]
d = np.empty(dim)
# --- target: 5g lateral maneuver with reversals ---
a_y_tgt = a_t_maneuver * np.sign(np.sin(omega_man * t))
a_z_tgt = a_t_maneuver * 0.5 * np.sign(np.cos(omega_man * t))
d[0] = vxt
d[1] = vyt
d[2] = vzt
d[3] = 0.0 # roughly constant axial speed
d[4] = a_y_tgt
d[5] = a_z_tgt
# --- augmented PN with t_go ---
rx = xh - xi
ry = yh - yi
rz = zh - zi
R = np.sqrt(rx * rx + ry * ry + rz * rz + 0.01)
vrx = vxh - vxi
vry = vyh - vyi
vrz = vzh - vzi
V_c = -(rx * vrx + ry * vry + rz * vrz) / R
V_c = max(V_c, 10.0)
t_go = max(R / V_c, 0.1)
lam_az, lam_el = _los_rates_3d(rx, ry, rz, vrx, vry, vrz)
lam_az = _clamp(lam_az, -0.5, 0.5)
lam_el = _clamp(lam_el, -0.5, 0.5)
# Augmented PN: standard PN + bias term for estimated target accel
# Estimate target maneuver from EKF acceleration (finite difference proxy)
a_t_est_y = (vyh - vyt) * 0.0 # simplified: use a fraction of EKF innovation
a_t_est_z = (vzh - vzt) * 0.0
a_cmd_y = N_pn * V_c * lam_az + N_pn * V_c / (2.0 * t_go) * a_t_est_y
a_cmd_z = N_pn * V_c * lam_el + N_pn * V_c / (2.0 * t_go) * a_t_est_z
# The dominant stiffness source: N'*V_c/t_go guidance gain
# At t_go=0.1, V_c~500 → gain ~N'*500/0.1 = 15000 for N'=3
if R < 0.1:
a_cmd_y = 0.0
a_cmd_z = 0.0
# Actuator lag
d[18] = (a_cmd_y - a_lag_y) / tau_act
d[19] = (a_cmd_z - a_lag_z) / tau_act
# Interceptor
lam_h = np.arctan2(ry, rx)
cos_h, sin_h = np.cos(lam_h), np.sin(lam_h)
d[6] = vxi
d[7] = vyi
d[8] = vzi
d[9] = -a_lag_y * sin_h
d[10] = a_lag_y * cos_h
d[11] = a_lag_z
# --- EKF propagation ---
d[12] = vxh
d[13] = vyh
d[14] = vzh
d[15] = 0.0
d[16] = 0.0
d[17] = 0.0
# --- smoothed measurement updates (200 Hz) ---
k = int(t / T_update + 0.5)
k = min(k, n_updates - 1)
t_k = update_times[k]
w = _sigmoid_window(t, t_k, tau_update)
if w > 1e-6:
drx = xt - xi
dry = yt - yi
drz = zt - zi
R_true = np.sqrt(drx**2 + dry**2 + drz**2 + 0.01)
az_true = np.arctan2(dry, drx)
el_true = np.arctan2(drz, np.sqrt(drx**2 + dry**2 + 0.01))
R_meas = R_true + noise_r_arr[k]
az_meas = az_true + noise_az_arr[k]
el_meas = el_true + noise_el_arr[k]
x_meas = xi + R_meas * np.cos(el_meas) * np.cos(az_meas)
y_meas = yi + R_meas * np.cos(el_meas) * np.sin(az_meas)
z_meas = zi + R_meas * np.sin(el_meas)
innov_x = x_meas - xh
innov_y = y_meas - yh
innov_z = z_meas - zh
rate = w / max(tau_update, 1e-6)
d[12] += K_pos * innov_x * rate
d[13] += K_pos * innov_y * rate
d[14] += K_pos * innov_z * rate
d[15] += K_vel * innov_x * rate
d[16] += K_vel * innov_y * rate
d[17] += K_vel * innov_z * rate
return d- Parameters
- K_pos = 0.6
- K_vel = 0.3
- N_pn = 4
- T_update = 0.005
- a_t_maneuver = 49
- dim = 20
- n_updates = 1002
- noise_az_arr = [0.000670396151067, 0.000928317758956, -0.00476879060849, -0.00135979814551, -0.00333862515533, 0.000689103644254, …] [shape=(1002,), min=-0.0111608408817, max=0.0100338995501]
- noise_el_arr = [-0.00586547104047, -0.000426279635694, -0.00549685836122, -5.27299e-05, -0.00278547871656, -0.00148759488499, …] [shape=(1002,), min=-0.0105119438149, max=0.0103762417333]
- noise_r_arr = [0.37719066328, -0.396314589874, 1.92126795133, 0.314700351459, -1.60700811948, 1.08478516473, …] [shape=(1002,), min=-11.6982651902, max=9.19811021715]
- omega_man = 2
- tau_act = 0.015
- tau_update = 0.0005
- update_times = [0, 0.005, 0.01, 0.015, 0.02, 0.025, …] [shape=(1002,), min=0, max=5.005]
- Initial condition
- y(0) = [2500, 200, 100, -50, 20, -10, …] [shape=(20,), min=-54.6559030391, max=2506.58354252]
- Horizon
- t ∈ [0, 5]
Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.
Fingerprint
Spread: extreme
Default noise: low
Recommendation snapshot
Clean best: SciPy RK45
Noisy best: SciPy RK45
Coverage
14 solver arms · clean + 5 noise levels
Ranked on survival, precision, and speed
Versions & freeze
Methodology →- Freeze
- 2026-08-13
- libsolvsrk
- 2.3.0
- SciPy
- 1.14
- SUNDIALS
- CVODE (bundled backend)
20 seeds/cell default · 14 arms · TRL 4–5 · simulation-lab validated · this page: Terminal Homing with Time-to-Go Singularity (terminal-homing-with-time-to-go-singularity)
Governed SolvTune benchmark freeze; per-arm medians only. RHS definitions and raw trial rows are not published.
Self-reported by Resonix Labs · not independently verified
Results matrix
Pick an objective and a noise level to rank all arms on survival, median SCD, median nfev, and median wall time. Medians across seeds.
Objective
Best overall trade-off of survival, precision, and speed.
Noise level
| # | Solver | Survival | SCD | nfev | Wall | Score |
|---|---|---|---|---|---|---|
| 1 | SciPy RK45SciPy | 100% | - | 250,538 | 5.24 s | 0.809 |
| 2 | SciPy LSODASciPy | 100% | - | 224,512 | 4.04 s | 0.809 |
| 3 | SciPy DOP853SciPy | 100% | - | 432,566 | 8.67 s | 0.809 |
| 4 | SciPy RK23SciPy | 100% | - | 650,663 | 14.93 s | 0.809 |
| 5 | CVODE BDFexternal | 100% | - | 247,640 | 5.41 s | 0.809 |
| 6 | CVODE Adamsexternal | 100% | - | 159,579 | 3.40 s | 0.809 |
| 7 | Tsit5external | 100% | - | 357,426 | 35.70 s | 0.809 |
| 8 | SolvSRK | 100% | - | 685,960 | 7.88 s | 0.809 |
| - | SciPy BDFSciPy | 0% | - | - | - | - |
| - | SciPy RadauSciPy | 0% | - | - | - | - |
At Clean, best balanced arm is SciPy RK45 · SolvSRK survival 100%.
Values are medians across seeds, measured by Resonix Labs on Resonix hardware and not independently verified; nfev and wall are on reference lab hardware (indicative). Under injected noise only SolvSRK and the SciPy arms are run. How we measure accuracy → · Verification status →
Cite this page
Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is - a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.
@misc{resonix_evidence_terminal_homing_with_time_to_go_singularity_2026,
title = {Resonix Evidence Portal: Terminal Homing with Time-to-Go Singularity},
author = {{Resonix Labs (Canada) Inc.}},
year = {2026},
howpublished = {\url{https://resonixusa.com/evidence/problems/terminal-homing-with-time-to-go-singularity}},
note = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}Related
TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels
Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology
Self-reported by Resonix Labs · not independently verified · Verification status