Block 9: Statistical Test Planning for the F-47 ANS#

By the end of this block you should be able to:

  1. Explain how VisNav, MagNav, and SoPNav aid an inertial EKF, and survey the GPS-degraded/denied threat and countermeasure landscape.

  2. Decompose a test plan GTO → STO → MOP → Data → FTT and frame a PRR recommendation.

  3. Explain why correlated time-series data require effective sample size \(N_{\text{eff}}\), not the raw sample count \(N\).

  4. Estimate \(T_{\text{corr}}\) as the 1/e crossing of the autocorrelation function of the horizontal error vector.

  5. Derive \(N_{\text{eff}}\) from first principles and plan a statistically defensible test duration.

  6. Plan flight test execution: ride-along collection, maneuvers for observability, and an adequate truth source.

  7. Apply the 95th-percentile ECDF for accuracy requirements (rather than a CI on the mean).

  8. Estimate inertial drift rate with a Schuler-aware fit and a 95% confidence interval built on \(N_{\text{eff}}\).

  9. Infer fault detection time from navigation-error behavior when no internal fault flag is available.

This block is the methods half of the F-47 ANS capstone. It opens with the mission context (what the ANS fuses and what it defends against) and the shape of the test plan, then works through the statistics, how to fly for the data, and what the PRR has to answer. The Project Overview page summarizes the operational handout (requirements, data request, datasets, deliverables, rubric).

Mission Context: Alternative Navigation and the GPS-Denied Landscape#

The F-47 Alternative Navigation Suite (ANS) exists because GPS can be denied or deceived. This section is a survey-level tour of what the ANS fuses and what it is defending against; program-status statements are as of 2026.

Every AltNav source is just another measurement model#

Every AltNav source is an aiding measurement for the same inertial EKF you built in Block 7. The INS mechanization predicts the state; each aid supplies a measurement \(\mathbf{z} = h(\mathbf{x}) + \mathbf{v}\) with its own measurement function \(h\), Jacobian \(\mathbf{H}\), and noise covariance \(\mathbf{R}\). The innovation \(\boldsymbol{\nu} = \mathbf{z} - h(\hat{\mathbf{x}}^-)\), its covariance \(\mathbf{S}\), and the Mahalanobis test \(D^2\) from Blocks 7–8 do not change. What differs from aid to aid is what it measures and what map or reference it needs. Relative aids slow inertial drift; absolute aids bound it.

Aid

What it measures

Reference it needs

Effect on drift

VisNav: visual(-inertial) odometry (VO/VIO)

Feature motion between camera frames

None

Relative: slows drift, error still grows with distance

VisNav: map registration

Image matched to geo-referenced imagery, landmarks, or terrain

Geo-referenced database

Absolute: bounds error (if the match is correct)

MagNav

Crustal magnetic anomaly

Magnetic anomaly map

Absolute

SoPNav

Time of arrival (TOA), time difference of arrival (TDOA), Doppler, or angle of arrival (AOA) of ambient RF

Transmitter positions and timing, known or co-estimated

Absolute (ranging)

VisNav. Odometry tracks features from frame to frame to get incremental motion; it needs no map, but its error accumulates with distance flown, much as inertial error accumulates with time (Block 2). Map registration matches the image to a geo-referenced database and produces a position fix that resets the error. Limits for both: night, weather and cloud, altitude (ground resolution), and low-texture scenes such as water or snow. Map registration is also limited by map currency.

MagNav. The measured field is the core field plus the crustal anomaly plus temporal (diurnal and space-weather) disturbances plus the aircraft’s own field. The navigation signal is the anomaly: typically under 1000 nT riding on a 25,000–65,000 nT core field, but mapped and stable over geologic time. The processing chain removes the aircraft field (Tolles–Lawson compensation), the core-field model, and the temporal disturbance, then matches the residual to an anomaly map to produce a position measurement. MagNav is passive, all-weather, and very hard to jam; its challenges are compensation quality, separating the spatial anomaly from temporal variation, map coverage and resolution, and a signal that weakens with altitude. The Tolles–Lawson coefficients come from a calibration flight of pitch, roll, and yaw maneuvers over a magnetically quiet area, so the calibration flight is itself a flight test technique.

SoPNav. Signals of opportunity are ambient, non-navigation RF signals (cellular, broadcast TV and radio, LEO communications satellites) used as pseudo-beacons. TOA gives range, TDOA gives a range difference (differencing cancels a common clock term), Doppler gives range rate through \(\dot{\rho} = -\lambda f_D\), and AOA gives a bearing. Unknown transmitter clocks or positions are co-estimated as extra EKF states, the same move as adding the receiver clock bias in Block 7. The signals are abundant and far stronger than GNSS at the receiver, which makes them hard to deny all at once; the costs are unstable transmitter clocks, multipath, signals not designed for ranging, and geometry (terrestrial towers sit near the horizon, so vertical DOP is poor).

Beyond the big three (as of 2026)#

  • Celestial / astro-inertial: star sightings fix attitude and, with the local vertical, position. Fielded for decades on strategic aircraft and missiles; compact daytime star trackers are now offered for aircraft.

  • Terrain-referenced navigation (TERCOM-class): a radar-altimeter terrain profile matched to an elevation map. Mature on cruise missiles and fighter avionics; needs terrain relief.

  • LEO-PNT: ranging and Doppler from low-orbit satellites, which are closer (stronger signals) and move faster across the sky (rapid geometry change). A LEO timing and location service already operates on an existing communications constellation; after earlier demonstrator satellites, the first production satellites of a dedicated LEO-PNT constellation launched in 2026, with commercial service planned for 2027.

  • eLoran: high-power 100 kHz terrestrial time of arrival. The UK funded a national program in 2025; the US is still evaluating terrestrial options.

  • Quantum sensing: cold-atom accelerometers and gyros, atomic clocks, and quantum magnetometers. Prototypes are in field and flight test; a quantum-magnetometer MagNav system flew more than 4 hours GPS-free on a transport jet in 2026.

Each is one more \(h(\mathbf{x})\) for the same filter. The test questions (accuracy, availability, integrity) do not change.

GPS-degraded vs. GPS-denied#

Degraded means GPS is still used but impaired: multipath, ionospheric scintillation, weak signal, partial jamming (fewer satellites, more noise), or subtle spoofing. The filter keeps trusting a bad measurement, so errors can be biased, not just noisy. Testing it means characterizing accuracy and integrity against carrier-to-noise density (\(C/N_0\)), satellite count, and geometry, in a representative interference environment. In the F-47 project, the STO 3 spoof events are the degraded case.

Denied means there is no usable GPS: it is jammed out or deliberately excluded, and navigation is inertial plus AltNav. Denial is easy to emulate (select the mode), but the transitions into and out of denial need testing, and live jamming also denies any GPS-based truth reference. In the F-47 project, the AltNav and Inertial modes are the denied cases (STO 1 and STO 2).

Jamming, spoofing, and countermeasures#

GPS arrives below the thermal noise floor, so it is easy to overpower. Jamming denies: it is cheap and simple but detectable, because \(C/N_0\) drops and the receiver knows it has lost the signal. Spoofing deceives: counterfeit signals capture the tracking loops and the receiver reports a wrong position or time with no alarm. Spoofing ranges from meaconing (record and rebroadcast) to synthesized, coherent takeover. Denial costs availability; deception costs integrity, which is why STO 3 tests a slow single-satellite ramp, the hardest case for the residual tests of Block 8. As of 2026, civil aviation authorities report widespread GNSS jamming and spoofing near conflict zones.

The countermeasure families layer:

  • CRPA (controlled reception pattern antenna): an antenna array that steers nulls toward jammers; \(N\) elements can null up to \(N-1\) sources. It also rejects a spoofer transmitting from one direction.

  • M-code: the encrypted, authenticated military GPS signal, spectrally separated from civil signals. The satellites broadcast it, but as of 2026 fielding of the modernized receivers is still behind schedule.

  • AltNav + inertial: non-GNSS aiding fused in the same EKF; it navigates through denial, and cross-checks expose inconsistent GNSS.

  • Integrity monitoring: \(C/N_0\), consistency, and residual tests (Block 8) detect deception but do not restore navigation.

Key Concept

Denied is a mode switch; degraded is a fight with the integrity monitor. AltNav sources are new measurement models for the same EKF, so the test questions for them are the same ones you ask of GPS: accuracy, availability, and integrity.

The Test Plan: GTO → STO → MOP → Data → FTT → PRR#

The project handout is written as an abbreviated developmental test plan. It decomposes one General Test Objective (GTO) into Specific Test Objectives (STOs), pairs each STO with Measures of Performance (MOPs) and their requirement thresholds, states the data needed, and names the flight test techniques (FTTs) that produce it. The Preliminary Report of Results (PRR) then answers the GTO. This STO → MOP breakdown is the model to emulate for Comp Orals.

GTO: Verify the upgraded F-47 ANS meets its mission-relevant navigation accuracy, inertial-only drift, and integrity requirements under representative operational conditions.

STO

MOP

Measure

Mode

Threshold

Req

1 Navigation accuracy

1.1

Horizontal and vertical position error (m)

AllSource

\(\le 1.0\) m H, \(\le 5.0\) m V (95th percentile); \(N_\text{eff} \ge 300\)

1

1.2

Horizontal and vertical position error (m)

AltNav

\(\le 5.0\) m H, \(\le 10.0\) m V (95th percentile); \(N_\text{eff} \ge 300\)

2

2 Inertial drift

2.1

Horizontal drift rate (NM/hr)

Inertial

\(\le 1.0\) NM/hr (upper 95% CI bound); \(\ge 85\) min

3

3 Fault detection and integrity

3.1

Time-to-detect \(T_D = t_D - t_0\) (s)

Selected fault-test mode

\(\le 5\) s

4

3.2

Horizontal and vertical HMI exposure during \([t_0, t_D]\) (s)

Selected fault-test mode

\(\le 1\) s each

4

Requirement 4 applies while GPS is in the navigation solution: at least 27 of 30 spoof events must pass, and an event passes only if it meets MOP 3.1 and both parts of MOP 3.2. You select the fault-test mode and justify it in the data request.

Data. Test planning is brief. Its single output is one consolidated data request from the Senior Responsible Officer (SRO) or Test Lead: \(X\) minutes in AllSource, \(Y\) in AltNav, \(Z\) in Inertial, and \(N\) single-SV ramp (spoof) events in the selected fault-test mode, each consuming about 5 minutes. The budget is $200,000 at $20,000 per flight hour: 10 flight hours, or 600 minutes, to be allocated across all four requirements with quantitative justification. Because \(T_{\text{corr}} = 15\) s is a HITL prediction, plan each accuracy run for up to 10% more correlation than that (Test Duration Planning, below). The rest of this reading supplies the tools for that justification.

The Problem with Correlated Data#

A 15-minute AllSource run sampled at 10 Hz yields \(N = 9{,}000\) samples. The tempting conclusion is that any 95% confidence interval on the mean error scales as

\[ \text{CI width} \propto \frac{\sigma}{\sqrt{9{,}000}} \approx 0.011\,\sigma, \]

i.e. you have an essentially perfect estimate of the mean. In practice this is wrong, and dangerously so, because consecutive error samples are not independent. Sample \(e_1\) at \(t = 0.1\) s and sample \(e_2\) at \(t = 0.2\) s are essentially the same number, drawn from the same realization of a navigation filter that has memory measured in seconds, not 0.1 s. With \(T_{\text{corr}} = 15\) s, the 10 Hz sample count overstates the number of independent samples by a factor of 300 (for this run, \(N_{\text{eff}} = 30\), as derived below), so the confidence interval comes out about \(\sqrt{300} \approx 17\) times too narrow, and the resulting test plan can fail an audit immediately.

Key Concept

The number of samples a time series gives you is not the number of independent samples it gives you. Correlated data require a discount: the effective sample size \(N_{\text{eff}}\) is what controls the width of any honest confidence interval.

The Autocorrelation Function#

The right way to quantify the discount is the autocorrelation function (ACF):

\[ R(\tau) = \mathbb{E}\big[e(t)\,e(t + \tau)\big]. \]

For navigation errors driven by an AR(1)-like process, which is a good approximation for a tightly-coupled GPS/INS filter in steady state, the ACF decays exponentially:

\[ R(\tau) = \sigma^2 \, e^{-|\tau| / T_{\text{corr}}}. \]

The parameter \(T_{\text{corr}}\) is the correlation time: the time constant of the navigation error’s “memory”. At \(\tau = 0\) the ACF is the variance \(\sigma^2\). At \(\tau = T_{\text{corr}}\) it has fallen to \(\sigma^2 / e \approx 0.37\sigma^2\). Beyond a few correlation times the ACF is essentially zero.

Reading \(T_{\text{corr}}\): the 1/e crossing#

The fall to \(1/e\) at \(\tau = T_{\text{corr}}\) is how this course reads \(T_{\text{corr}}\) from data. Remove the mean, compute the ACF, normalize it to \(\rho(\tau) = R(\tau)/R(0)\), and take the first lag at which \(\rho\) falls to \(1/e \approx 0.37\). For an exponential ACF that lag is exactly \(T_{\text{corr}}\). For a measured ACF that is not quite exponential, it is still the error’s memory time, and it is the number that goes into \(N_{\text{eff}} = T_{\text{total}}/(2T_{\text{corr}})\) in the next section.

Exponential ACF falling from 1 at zero lag. An orange marker at tau = T_corr = 15 s, where the ACF equals 1/e, about 0.37, is labeled as the 1/e crossing. A lighter gray marker at about 34.5 s, where the ACF equals 0.10, is labeled as the 10% decimation lag, a spacing rather than T_corr.

Fig. 1.1. Exponential ACF of an AR(1) navigation error with \(T_{\text{corr}} = 15\) s. The orange marker is the course’s reading of \(T_{\text{corr}}\): the lag where the ACF falls to \(1/e\). The lighter gray marker is the 10% decimation lag, \(\ln(10)\,T_{\text{corr}} \approx 2.30\,T_{\text{corr}}\), which some references use as a sample spacing (see the aside after the next section). It is not \(T_{\text{corr}}\).

Which error signal? Horizontal error has two components, so build the ACF of the horizontal error vector: remove the mean of \(e_N\) and of \(e_E\), compute each component’s autocovariance, and sum them, \(R_H(\tau) = R_N(\tau) + R_E(\tau)\), before normalizing by \(R_H(0)\). Do not use the magnitude \(e_H = \sqrt{e_N^2 + e_E^2}\). Its ACF falls about twice as fast as the components’ (for zero-mean Gaussian errors it goes roughly as \(\rho^2\)), so it would read about half the correlation time and roughly double \(N_{\text{eff}}\). Check the vertical error, the signed \(e_D\), separately. The \(N_{\text{eff}} \ge 300\) requirement is evaluated on the horizontal; a vertical value that differs is something to report and discuss in the PRR.

The HITL campaign on the F-47 ANS reports a steady-state horizontal-error correlation time of approximately 15 s. That number is the foundation of every test-duration calculation in the project.

The Effective Sample Size \(N_{\text{eff}}\)#

Start from the variance of a sample mean over correlated data. For a stationary error with variance \(\sigma^2\) and ACF \(\rho(\tau)\),

\[ \mathrm{Var}\big(\bar{e}\big) = \frac{\sigma^2}{N} \left(1 + 2 \sum_{k=1}^{N-1} \big(1 - \tfrac{k}{N}\big)\,\rho(k\,dt)\right). \]

For an exponential \(\rho(\tau) = e^{-|\tau|/T_{\text{corr}}}\) and \(N \gg T_{\text{corr}} / dt\), the bracket is just the ACF summed over every lag, backward and forward: \(\sum_{k} \rho(k\,dt) \approx \frac{1}{dt}\int_{-\infty}^{\infty} e^{-|\tau|/T_{\text{corr}}}\,d\tau = 2T_{\text{corr}}/dt\). With \(N\,dt = T_{\text{total}}\), the variance of the time average is

\[ \mathrm{Var}\big(\bar{e}\big) \approx \sigma^2\,\frac{2\,T_{\text{corr}}}{T_{\text{total}}} = \frac{\sigma^2}{N_{\text{eff}}}, \qquad \boxed{\,N_{\text{eff}} = \frac{T_{\text{total}}}{2\, T_{\text{corr}}}.\,} \]

The factor of 2 has a clean physical interpretation. \(T_{\text{corr}}\), the 1/e time, is the error’s memory time constant, and each sample remembers its neighbors both backward and forward in time. Summed over both sides, the ACF covers \(2\,T_{\text{corr}}\), so each “independent look” occupies \(2\,T_{\text{corr}}\) of the timeline. You can fit \(T_{\text{total}} / (2 T_{\text{corr}})\) such windows into a run of duration \(T_{\text{total}}\).

Key Concept

Read \(T_{\text{corr}}\) at the 1/e crossing of the ACF of the horizontal error vector. For an exponentially correlated error, the effective independent sample count is then \(N_{\text{eff}} = T_{\text{total}} / (2 T_{\text{corr}})\). The raw sample rate cancels out: sampling faster does not give you more independent information.

Aside: why some references divide by the lag instead

You may meet a different recipe elsewhere: read the ACF at a small decimation threshold, keep one sample per lag, and count \(N_{\text{eff}} = T_{\text{total}}/\text{lag}\). That lag is a different quantity. The 1/e lag is a memory time; a decimation lag is the spacing between samples that are already nearly independent. The two recipes agree when the threshold matches the physics. Decimating at \(2\,T_{\text{corr}}\), where \(\rho = e^{-2} \approx 13.5\%\), gives \(T_{\text{total}}/\text{lag} = T_{\text{total}}/(2T_{\text{corr}})\) exactly. The common “10% rule” decimates at \(\ln(10)\,T_{\text{corr}} \approx 2.30\,T_{\text{corr}}\), so \(T_{\text{total}}/\text{lag}_{10\%} \approx 0.87\,T_{\text{total}}/(2T_{\text{corr}})\), slightly conservative. The threshold does not change the physics; it changes what the lag means.

Never mix the two. Putting a 10% lag into \(T_{\text{total}}/(2\cdot\text{lag})\) applies the factor of 2 twice and undercounts \(N_{\text{eff}}\) by about 2.3×. This course uses the 1/e crossing with \(T_{\text{total}}/(2T_{\text{corr}})\).

Test Duration Planning#

Requirements 1 and 2 of the F-47 ANS capstone demand \(N_{\text{eff}} \ge 300\), evaluated on the horizontal error. With \(T_{\text{corr}} = 15\) s the minimum run duration is

\[ T_{\text{total}} \ge 2 \times 15 \times 300 = 9{,}000 \text{ s} = 150 \text{ min}. \]

That is the floor, and it holds only if the flight data are exactly as correlated as the HITL campaign predicted. Anything shorter and your 95th-percentile ECDF estimate has a wider sampling distribution than the requirement is willing to accept.

Plan with margin. The 15 s figure is a HITL prediction, and flight data may be more strongly correlated. Plan for up to 10% more correlation, \(T_{\text{corr}} = 16.5\) s:

\[ T_{\text{total}} \ge 2 \times 16.5 \times 300 = 9{,}900 \text{ s} = 165 \text{ min per accuracy mode}. \]

The margin also absorbs the scatter in the estimate itself. Even when the true correlation time is exactly 15 s, the 1/e reading from a single run scatters by about 0.9 s, so a 150-minute run reaches \(N_{\text{eff}} \ge 300\) only about half the time, while a 165-minute run reaches it in more than 90% of runs.

Run duration

\(N\) at 10 Hz

\(N_{\text{eff}}\) at 15 s

Meets \(N_{\text{eff}} \ge 300\)?

15 min

9,000

30

No

60 min

36,000

120

No

150 min

90,000

300

Yes, with no margin (273 at 16.5 s)

165 min

99,000

330

Yes, and still 300 at 16.5 s

Notice how the raw \(N\) column is misleading. A 15-minute run looks like 9,000 “samples”, but only 30 of them are independent. The test plan must request the longer run, and justify why, to produce a defensible accuracy assessment.

After the data come back, do not reuse the planning number. For each accuracy run, build the ACF of your own horizontal error vector, read \(T_{\text{corr}}\) at its 1/e crossing, compute \(N_{\text{eff}} = T_{\text{total}}/(2T_{\text{corr}})\), and report that value against 300, with the vertical result alongside it.

Plot of N_eff versus T_total in minutes for two correlation times. The navy line (T_corr = 15 s) crosses the dashed red N_eff = 300 line at 150 min, marked as the floor; the orange line (T_corr = 16.5 s) crosses it at 165 min, marked as the plan.

Fig. 2.1. \(N_{\text{eff}}\) as a function of total run duration for the HITL prediction, \(T_{\text{corr}} = 15\) s, and for 10% more correlation, \(T_{\text{corr}} = 16.5\) s. The 300-sample requirement projects onto a 150-minute floor at 15 s and a 165-minute plan at 16.5 s. No sample rate rescues a run that falls short.

Flight Test Execution: How to Fly for Nav Data#

The sections above say how much data you need. This one says how to fly to get it.

The ride-along concept#

Nav data collection is largely non-interfering: instrument the jet to record the EGI/EKF outputs and a truth reference, then fly. Nav testing therefore rides along on sorties flown for other test objectives, which is how a 600-minute (10 flight-hour) data buy becomes affordable. Think “instrument and collect,” not “fly a bespoke nav profile.” Some points still need dedicated or negotiated time: a long GPS-denied inertial-only leg, and the spoof-event injections.

Maneuvers drive observability#

There are two kinds of observability in an aided INS:

  • Spatial observability (Blocks 6–7): satellite geometry sets which position and clock components the pseudoranges can see. The rows of \(\mathbf{H}\) determine the DOP.

  • Dynamic observability (Block 7): INS error states such as attitude errors and sensor biases reach the measurements only through the dynamics \(\mathbf{F}\), and only when the vehicle maneuvers. In unaccelerated straight-and-level flight, heading error and several biases stay weakly observable; turns and accelerations couple them into the measurements so they become estimable and testable.

So you mix benign segments (clean steady-state and drift statistics) with dynamic segments (stress and expose the error states).

Profile / maneuver

What it mainly stresses or makes observable

Straight & level

Steady-state accuracy; position error; inertial drift slope

Turns

Attitude errors; inertial drift due to gyro errors

Accelerations

Velocity errors; inertial drift due to accelerometer errors

Climbs / descents

Vertical error (\(e_V\))

Representative operational profile

Generalizability to the operational envelope

Applied to the F-47 STOs, that table becomes one flight test technique per STO:

STO

Mode(s)

Profile / maneuvers

Why

1 Navigation accuracy (MOP 1.1, 1.2)

AllSource; AltNav

Straight-and-level segments plus a representative operational profile with turns, accelerations, climbs/descents

Steady-state statistics; exercises the error states and \(e_V\); generalizes to the envelope. Duration set by \(N_{\text{eff}} \ge 300\)

2 Inertial drift (MOP 2.1)

Inertial

Sustained GPS-denied straight and level for at least one Schuler period (\(\approx 84.4\) min; Requirement 3 asks for \(\ge 85\) min)

Clean drift statistics; one full Schuler period lets the fit separate drift from the Schuler oscillation without a large CI penalty (Block 2)

3 Fault detection and integrity (MOP 3.1, 3.2)

Selected fault-test mode, with GPS in the navigation solution

Repeated single-SV ramp-bias injections (\(\approx 5\)-minute spoof–detect–reset cycle), benign flight between events

Independent trials; known \(t_0\) from the injection log; error growth attributable to the fault

The truth source#

\(e_H\) and \(e_V\) are the SUT estimate minus a truth reference (time-space-position information, TSPI). The EGI does not grade itself, and the reference has its own error. If the truth error is independent of the SUT error and zero-mean, the two add in quadrature:

\[ \sigma_{\text{meas}} = \sqrt{\sigma_{\text{SUT}}^2 + \sigma_{\text{truth}}^2}. \]

\(\sigma_{\text{SUT}} : \sigma_{\text{truth}}\)

Inflation of \(\sigma_{\text{meas}}\) over \(\sigma_{\text{SUT}}\)

1 : 1

+41%

2 : 1

+12%

4 : 1

+3%

10 : 1

+0.5%

For Gaussian errors the 95th percentile scales with \(\sigma\), so it inflates by the same ratio. Hence the rule of thumb: the truth source should be several times better than the requirement. For the 1.0 m AllSource horizontal requirement (a 95th-percentile bound), a 4:1 ratio calls for a reference good to about 0.25 m (95%), such as post-processed carrier-phase differential GNSS. One caveat: the quadrature rule assumes the truth error is independent of the SUT error. A GNSS-based reference grading a solution that itself uses GPS (AllSource) can share common-mode errors (satellite orbit and clock, atmosphere) that cancel in the difference and stay invisible, so account for them or choose a reference that does not share them. If you deny GPS with live jamming, you deny GPS-based truth too, so plan a reference that survives the jammed segment.

Key Concept

Nav data rides along on other missions, but the profile still matters: geometry sets spatial observability, maneuvers set dynamic observability, and the truth source must be several times better than the requirement it grades.

95th-Percentile ECDF for Accuracy#

Requirements 1 and 2 bound the error “at 95%”: for example, horizontal position error \(\le 1.0\) m, stated in the MOP table as the 95th percentile. A looser wording such as “95% confidence” invites two readings, and they are not the same thing.

  • 95th-percentile ECDF. Find the value below which 95% of error samples fall. In MATLAB: H95 = prctile(errH, 95). This is a tail property: it says “95% of the time the error is at most this large”. That matches the operational reading of the requirement.

  • 95% CI on the mean. Tests whether the average error is below a bound. The requirement does not constrain the mean; a system with zero mean error and a fat tail can still violate the operational requirement. Using a CI on the mean would be fundamentally wrong.

The right tool is the empirical CDF. Compute the horizontal errors against truth, build the empirical CDF, read off the value where \(F(e_H) = 0.95\), and compare to the requirement.

Empirical CDF of horizontal error rising from 0 to 1, with a horizontal red dashed line at 0.95 and a vertical line dropping to e_{H,95} on the x-axis. A green dotted line shows the requirement bound; the e_{H,95} sits below it, labeled PASS.

Fig. 3.1. Empirical CDF of horizontal error with 95th-percentile readout. Compliance is the comparison \(e_{H,95} \le \text{requirement}\). The plot also makes the sample-size dependence visible: with too few independent samples the ECDF curve is jagged near the 95% mark, which inflates the uncertainty on the readout.

Key Concept

Accuracy is a tail property. Use the 95th-percentile of the empirical CDF, not a CI on the mean. The right number of samples is what makes the percentile readout statistically credible. That is where \(N_{\text{eff}}\) comes back in.

Inertial Drift with Confidence Interval#

Requirement 3 is different. In inertial-only mode the horizontal error does not grow along a clean line, and the estimator has to respect the shape the physics gives it. Block 2 derived that shape for one horizontal channel, starting from zero error (Block 2 calls the drift rate \(b\); here it is \(D\), so that \(b\) can stay the fitted slope). A gyro bias produces a drift ramp plus a Schuler oscillation locked to it,

\[ e_{\text{gyro}}(t) = D\left(t - \frac{\sin\omega t}{\omega}\right), \qquad \omega = \sqrt{g/R_e}, \quad \frac{2\pi}{\omega} \approx 84.4 \text{ min}, \]

whose amplitude \(D/\omega\) is about 415 m for every NM/hr of drift. The turn-on errors (alignment, accelerometer bias, initial velocity) add bounded Schuler terms of their own, \(A(1 - \cos\omega t) + B\sin\omega t\). Every one of those terms is a combination of \(1\), \(t\), \(\cos\omega t\), and \(\sin\omega t\), so the course model for each horizontal component \(k \in \{N, E\}\) is

\[ e_k(t) = a_k + b_k\,t + c_k\cos\omega t + d_k\sin\omega t + \varepsilon_k(t). \]

\(\omega\) is known, so this is still linear least squares, with four columns instead of two. The drift is the slope vector \(\hat{\mathbf{b}} = (\hat{b}_N, \hat{b}_E)\), and the drift rate is its length \(|\hat{\mathbf{b}}|\), converted from m/s to NM/hr by \(3600/1852\). Requirement 3 asks for a drift rate \(\le 1.0\) NM/hr at the upper 95% confidence bound (the upper end of the two-sided 95% CI, so a \(t_{0.975}\) quantile), over a run of at least 85 minutes. The upper bound of the CI is what you compare to the requirement, not the point estimate.

Fit the components, not the magnitude. Do not fit the Schuler model to \(e_H = \sqrt{e_N^2 + e_E^2}\). The magnitude is a nonlinear function of the Schuler terms, so it is not a line plus a sinusoid, and a Schuler-model fit to it reads low and gives a CI that misses the truth too often. Fit \(e_N\) and \(e_E\) separately, for the same reason the ACF uses the error vector rather than its magnitude.

\(N_{\text{eff}}\) from the residuals. The residuals \(r_N\) and \(r_E\) left after the fit are still correlated, so the textbook regression standard error, which assumes \(N\) independent samples, is far too small. Use the same rule as Requirements 1–2: read \(T_{\text{corr}}\) at the 1/e crossing of the ACF of the residual vector (the project helper EstimateCorrTime.m, the same one the Requirement 1–2 scripts call) and set \(N_{\text{eff}} = T_{\text{total}}/(2T_{\text{corr}})\). Inflate each component’s slope variance by \(N/N_{\text{eff}}\), combine the two with the delta method along the drift direction \(\mathbf{u} = \hat{\mathbf{b}}/|\hat{\mathbf{b}}|\) (neglecting the small covariance between the N and E slopes), and take the \(t\) quantile with \(N_{\text{eff}} - 4\) degrees of freedom (four fitted parameters per component):

\[\begin{split} \begin{aligned} v_k &= \frac{\sum r_k^2}{N - 4}\,\big[(\mathbf{X}^{\top}\mathbf{X})^{-1}\big]_{22}\,\frac{N}{N_{\text{eff}}}, \qquad k \in \{N, E\},\\ \mathrm{SE} &= \sqrt{u_N^2\,v_N + u_E^2\,v_E},\\ \text{CI} &= |\hat{\mathbf{b}}| \pm t_{0.975,\,N_{\text{eff}}-4}\,\mathrm{SE}. \end{aligned} \end{split}\]

In MATLAB,

w  = sqrt(9.81/6371e3);                  % Schuler rate (rad/s)
X  = [ones(N,1), t, cos(w*t), sin(w*t)]; % t (s) from start of run
bN = X \ errN;   rN = errN - X*bN;       % fit each component
bE = X \ errE;   rE = errE - X*bE;

Tc   = EstimateCorrTime([rN rE], dt);    % same 1/e rule as Reqs 1-2
Neff = T_total / (2*Tc);

iXX = inv(X' * X);
vN  = sum(rN.^2)/(N-4) * iXX(2,2) * (N/Neff);  % inflated by N/Neff
vE  = sum(rE.^2)/(N-4) * iXX(2,2) * (N/Neff);

b    = [bN(2), bE(2)];                   % drift vector (m/s)
bmag = norm(b);                          % drift rate (m/s)
u    = b / bmag;
se   = sqrt(u(1)^2*vN + u(2)^2*vE);      % delta method on |b|
tcrit = tinv(0.975, Neff - 4);

b_hi_NMhr = (bmag + tcrit*se) * (3600/1852);   % upper 95% bound

Compliance: b_hi_NMhr <= 1.0 and a run of at least 85 minutes. If the upper bound exceeds the requirement, the system fails, even if the point estimate is well below 1.0 NM/hr, because the test does not yet have enough evidence to rule out a drift rate above the bound.

Why at least 85 minutes. Because the model contains every term the physics produces, the fit is unbiased at any run length. What a short run costs is precision. Over much less than one Schuler period, \(\cos\omega t\) and \(\sin\omega t\) look too much like \(1\) and \(t\) for the fit to tell them apart, and the slope’s CI widens fast. With white noise, the Schuler-aware slope’s standard error is about 8.3 times the plain line fit’s at half a period, 3.2 times at three-quarters, 1.6 times at one period, and 1.07 times at 1.25 periods (about 105 min). So the 85-minute floor means at least one Schuler period, so the fit can separate the drift from the oscillation without a large CI penalty. A shorter run still gives an unbiased drift estimate, but its CI widens quickly, often too much to show compliance. The floor is not there so that the oscillation cancels out of a straight-line fit; for the gyro-locked term it does not, as the contrast below shows.

The contrast: a plain line on \(e_H\). The shortcut, a least-squares line \(a + b\,t\) fitted to the magnitude \(e_H\) with the textbook CI on the raw \(N\), fails twice. First, it is biased. The gyro term \(D(t - \sin(\omega t)/\omega)\) is not a line plus a zero-mean wiggle, so it tilts the fitted slope even at whole Schuler periods: at exactly one period a plain line reads about 30% high (7.6% at two periods, 3.4% at three), and the turn-on terms add a phase-dependent error on top. Second, the raw-\(N\) CI treats tens of thousands of correlated samples as independent, so it is far too narrow and usually excludes the true drift.

A simulated 100-minute horizontal error that rises along an S-shaped curve (a drift ramp plus a Schuler oscillation), tracked closely by the Schuler-aware model. An orange drift ramp with a thin 95% CI band rises below a dotted red 1.0 NM/hr requirement ramp; a gray dashed plain line fitted to e_H is steeper than the orange ramp. A dotted vertical line marks one Schuler period at 84.4 min. Green text reads PASS: upper 95% bound 0.865 NM/hr at most 1.0 NM/hr, and run 100 min at least 85 min.

Fig. 4.1. The Requirement 3 estimator on an illustrative simulated 100-minute inertial run (its own simulation, not a project dataset): true drift 0.85 NM/hr with its locked Schuler oscillation, plus 150 m turn-on Schuler terms and Gauss–Markov noise (40 m, 120 s) on each axis, sampled at 10 Hz. Fitting \(e_N\) and \(e_E\) separately gives \(|\hat{\mathbf{b}}| = 0.850\) NM/hr. The residual’s 1/e crossing is \(T_{\text{corr}} = 84\) s, so \(N_{\text{eff}} = 35.7\) and the 95% CI is [0.835, 0.865] NM/hr (orange band). The upper bound is below 1.0 NM/hr and the run exceeds 85 min: PASS. For contrast, the plain line on \(e_H\) (gray dashed) reads 0.975 NM/hr, and its raw-\(N\) CI, [0.972, 0.978] NM/hr, excludes the true 0.85 NM/hr.

The figure also shows the method’s soft spot. The residual’s 1/e reading, 84 s, sits below the 120 s used to generate the noise: over a 100-minute record, the four-term fit and the mean removal absorb part of the slow noise. \(N_{\text{eff}}\) therefore comes out somewhat optimistic, and in course simulations the 95% CI covers the true drift about 90–94% of the time rather than 95%. The drift estimate itself stays unbiased.

One run is one draw. Real INS drift specifications are population metrics: a CEP rate, the radial-error growth rate that half of many flights and turn-ons stay within. The USAF SNU 84-1 specification, for example, calls for 0.8 NM/hr CEP. A single flight is one draw of the gyro biases and the alignment, so a single-run CI like the one above captures only the within-flight noise, not the flight-to-flight spread. That is a limitation of the test, and the PRR should state it.

Key Concept

Fit the Schuler physics, not just a line: \(a + b\,t + c\cos\omega t + d\sin\omega t\) on \(e_N\) and \(e_E\) separately, with drift rate \(|\hat{\mathbf{b}}|\). Build the CI with \(N_{\text{eff}}\) from the fit residuals, by the same 1/e rule as the accuracy runs, and compare its upper bound to 1.0 NM/hr over at least one Schuler period.

Inferring Detection Time Without an FTI Flag#

Requirement 4 measures fault detection time and HMI exposure on 30 spoof events flown while GPS is in the navigation solution. The catch: the SPO has directed that DT use only production-representative sensors and avionics-bus data. There is no FTI tap into the integrity-monitoring algorithm, so the detection time \(t_D\) is not directly observable. You have to infer it from the time history of the navigation error itself.

Recall what happens during a fault: error rises from baseline as the bias accumulates, peaks while the integrity monitor triggers an exclusion or downweighting, then “snaps back” toward the baseline once the corrective action takes effect. The peak-and-snapback algorithm formalizes that pattern:

  1. Compute the pre-fault baseline \(e_{\text{base}}\) from a window of duration \(T_{\text{pre}}\) ending just before the known fault start time \(t_0\). Use the median or a robust statistic to immunize against single-point outliers.

  2. Find the peak error \(e_{\text{peak}}\) in the post-fault search window.

  3. Set the snapback threshold \(e_{\text{thr}} = e_{\text{base}} + \alpha\,(e_{\text{peak}} - e_{\text{base}})\) with \(\alpha = 0.25\). The system is considered “back to normal” once the error has fallen 75% of the way from the peak back down to baseline, so that what remains above baseline is 25% of the original rise.

  4. Detection time \(t_D\) is the first time after the peak at which \(e_H \le e_{\text{thr}}\) for at least 0.5 seconds (to immunize against measurement noise that briefly dips below threshold).

Once you have \(t_D\), the time-to-detect is \(T_D = t_D - t_0\) and the HMI exposure is the total time during \([t_0, t_D]\) for which the true error exceeds the protection level.

Time history of e_H starting near baseline, rising linearly past a peak, then falling back to baseline. Markers indicate t0 (fault start), the peak, the snapback threshold, and t_D (detection time). A double-headed arrow labeled T_D spans from t0 to t_D.

Fig. 5.1. Peak-and-snapback inference of \(t_D\). The threshold is at 25% of the way from baseline to peak. \(t_D\) is the first time after the peak that the error stays below the threshold for at least 0.5 s. Time-to-detect is \(T_D = t_D - t_0\).

This algorithm is robust to a wide range of fault scenarios, but it is not magic. If the fault is small enough that the error never gets clearly above baseline, peak-and-snapback will report a very small \(T_D\), possibly because nothing meaningful happened. Look at the error history of any such event and say in the PRR how you treated it. Zero HMI exposure is not a reason to drop an event: it is the best possible outcome.

The 27-of-30 Compliance Rule#

Requirement 4 specifies a probabilistic compliance rule: while GPS is in the navigation solution, at least 27 of 30 independent spoof events must satisfy \(T_D \le 5\) s, \(\text{HMI}_H \le 1\) s, and \(\text{HMI}_V \le 1\) s. Three failures out of thirty are tolerated.

The 27/30 number isn’t arbitrary, but it is easy to misread. 27 of 30 is a 90% observed success fraction, not a 90% probability of passing. Treat each event as an independent Bernoulli trial with per-event success probability \(p\); the probability of \(\ge 27\) successes out of 30 then follows from the binomial distribution. A system with \(p = 0.90\) passes the rule only about 65% of the time. With \(p = 0.92\) the pass probability is roughly 0.78, and it takes \(p \approx 0.95\) to reach about 0.94. At the other end, a system with \(p = 0.80\) still passes about 12% of the time. Read the other way, a 27/30 result supports a one-sided 95% lower confidence bound (Clopper–Pearson) of only about 0.76 on \(p\). So the rule asks for a per-event reliability near 0.95 to pass with high probability, while a single pass on its own demonstrates much less.

The probabilistic structure also means the test is not “all 30 must pass”. You can lose a few events to bad data, marginal HPL inflation, or edge cases, and still meet the requirement, as long as the system performs reliably on the bulk of events.

The PRR: Answering the GTO#

Pass/Fail on each MOP is necessary but not sufficient. The PRR has to tell the GTO-level story: does the ANS meet its mission-relevant requirements, and what program decision does the evidence support?

  • BLUF first: overall compliance against the GTO, then the STO → MOP evidence behind it.

  • Does the shortfall matter? For any MOP that fails, say by how much, in which mode, and what it means for the mission.

  • Recommend in standard DT language: conduct additional test, field, do not field, or proceed to Operational Test (OT), with any limitations stated.

  • Know the decision you support. If the SPO fields the system anyway, state the operational risk, the limitations to publish, and the testing that would retire the risk.

Producing the data products is not the objective; interpreting them is. The MATLAB analysis is meant to be straightforward. If your team spends more than 60–90 minutes wrestling with MATLAB on one data product, stop and ask for help, and put the time into the compliance argument instead.

Wrap-Up#

Eight ideas carry the project:

  1. AltNav is more measurements for the same EKF. VisNav, MagNav, and SoPNav differ in what they measure and what reference they need; jamming denies, spoofing deceives, and countermeasures layer (CRPA, M-code, AltNav, integrity monitoring).

  2. The test plan decomposes GTO → STO → MOP → Data → FTT, and the PRR answers the GTO with a recommendation in standard DT language.

  3. Autocorrelation and \(N_{\text{eff}}\). Correlated data require a discount. With \(T_{\text{corr}} = 15\) s, 300 independent samples take at least 150 minutes; plan 165 minutes per accuracy mode to cover up to 10% more correlation, then measure \(N_{\text{eff}}\) from the flight data.

  4. The 1/e crossing of the ACF of the horizontal error vector (N and E components, not the magnitude) is \(T_{\text{corr}}\), and \(N_{\text{eff}} = T_{\text{total}}/(2T_{\text{corr}})\). A lag read at a decimation threshold is a sample spacing that pairs with \(T_{\text{total}}/\text{lag}\); never put it into \(T_{\text{total}}/(2\cdot\text{lag})\).

  5. Flight test execution. Nav data rides along, maneuvers drive observability, and the truth source must be several times better than the requirement.

  6. 95th-percentile ECDF is the right tool for accuracy; CIs on the mean are not.

  7. A Schuler-aware drift fit with \(N_{\text{eff}}\) is the right tool for inertial drift: fit \(a + b\,t + c\cos\omega t + d\sin\omega t\) to \(e_N\) and \(e_E\), take \(|\hat{\mathbf{b}}|\), build the CI with \(N_{\text{eff}}\) from the residuals, and compare its upper bound, not the point estimate, to the requirement over at least one Schuler period.

  8. Peak-and-snapback inference is how you measure \(t_D\) without an FTI tap; the 27/30 rule is how you turn the resulting per-event statistics into a single pass/fail compliance decision.

The Project Overview walks through the operational deliverables: requirements, the data request, datasets, analysis scripts, briefing rubric, and the project handout PDF. The math in this block is what justifies the analysis choices in those scripts.