Expand description
The noise terms a synthetic logger adds to a flight’s truth, each a function of its own so that a test can hold it to its stated parameters.
Sources, by term (the project’s research notes, each citing its primary sources):
- Correlated barometer noise: an Ornstein–Uhlenbeck process, the continuous form of an
AR(1) series, of 0.5 m at 50 Hz with lag-one correlation 0.5, the noise measured at rest in
public logs; a white-noise model holds a smoother’s 90% interval about 70% of the time instead
(
docs/research/altimeter-sensor-noise.md§3, §6;altimeter-smoothing-methods.md§6). - Per-flight offset, gain and drift: the MS5607’s ±1.0 mbar after the pad’s zero, the Bosch
parts’ relative accuracy of 0.03–0.08 hPa per 100 hPa, and a drift of 1–3 Pa over 30–300 s
(
altimeter-sensor-noise.md§2–3, §6). - The port’s transonic error: the pressure coefficient measured on a 3-caliber
ogive-cylinder in Langley’s 8-foot transonic tunnel, by calibers behind the nose’s shoulder
and Mach number (Czarnecki and Monta, NASA TN D-3516, 1966, Fig. 5, as
altimeter-mach-error.md§1 reads it). - The ejection charge’s pulse: the shape on the public Pnut log Debrief ships, as
hpr_flightdata’s closed-form synthetic log has it. - GNSS lag: a second-order tracking loop, whose error under a constant acceleration
aisa/ωn², with dropouts at ignition and burnout (gnss-in-boost.md§3–4).
Structs§
- Lag
- A second-order tracking loop, the shape of a GNSS receiver’s navigation filter: its output
xfollows the truthpbyẍ = ωn² (p − x) + 2ζωn (ṗ − ẋ), so under a constant accelerationait settlesa/ωn²behind.
Constants§
- LAG_
DAMPING - The loop’s damping ratio, 1/√2: the usual choice for a second-order loop.
- PULSE_M
- The ejection pulse’s shape, m of indicated altitude at each 0.05 s step from the charge, as on
the public Pnut log Debrief ships (
hpr_flightdata’s synthetic log copies it). - PULSE_
STEP_ S - The pulse’s sample interval, s.
Functions§
- between
- A number drawn uniformly from
[low, high). - ornstein_
uhlenbeck - An Ornstein–Uhlenbeck process sampled at
times_s: stationary standard deviationsigma, time constanttau_s, so that two samplesΔtapart correlate byexp(−Δt/τ). - port_
error_ pa - The pressure a port reads above the true static pressure, Pa:
Cp · q. - port_
pressure_ coefficient - The tunnel’s pressure coefficient at
calibersbehind the shoulder andmach, read bilinearly; below Mach 0.7 and above 1.2 the ends hold, and past the measured calibers the last row does. - pulse_m
- The pulse’s indicated altitude
since_safter the charge, m, atscaletimes the Pnut’s, read linearly between its samples and zero outside them. - quantize
valuerounded to the nearest multiple ofstep, as a logger writes it;step0 keeps it.- tau_for
- The time constant of an AR(1) series with lag-one correlation
phiatrate_hz, s. - white
- White noise of standard deviation
sigma, one draw a sample.