Skip to main content

Module noise

Module noise 

Source
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 a is a/ω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 x follows the truth p by ẍ = ωn² (p − x) + 2ζωn (ṗ − ẋ), so under a constant acceleration a it settles a/ω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 deviation sigma, time constant tau_s, so that two samples Δt apart correlate by exp(−Δ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 calibers behind the shoulder and mach, 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_s after the charge, m, at scale times the Pnut’s, read linearly between its samples and zero outside them.
quantize
value rounded to the nearest multiple of step, as a logger writes it; step 0 keeps it.
tau_for
The time constant of an AR(1) series with lag-one correlation phi at rate_hz, s.
white
White noise of standard deviation sigma, one draw a sample.