# Block 8 Flashcards

Click a question to reveal the answer.

<div data-flashcards data-deck="block-8"></div>

<details>
<summary><strong>1. Define a sensor fault.</strong></summary>
<div class="card-answer"><p>Any condition where a measurement no longer behaves according to the assumed model <span class="math notranslate nohighlight">\(\mathbf{z}_k = h(\mathbf{x}_k) + \mathbf{v}_k\)</span> with <span class="math notranslate nohighlight">\(\mathbf{v}_k \sim \mathcal{N}(\mathbf{0},\,\mathbf{R}_k)\)</span>. A fault violates the distributional assumptions of the estimator. The filter has no internal way to know it; it ingests the corrupted measurement and silently drifts away from truth.</p></div>
</details>

<details>
<summary><strong>2. Why is "extra noise" not the same as a fault?</strong></summary>
<div class="card-answer"><p>Extra noise stays consistent with the filter's noise model, just larger. The filter's covariance <span class="math notranslate nohighlight">\(\mathbf{P}\)</span> grows accordingly and remains a valid bound on the error. A fault breaks the model: the residual carries a systematic, non-zero-mean component that the filter does not anticipate, so <span class="math notranslate nohighlight">\(\mathbf{P}\)</span> stays small and becomes inconsistent with the true error.</p></div>
</details>

<details>
<summary><strong>3. List four common GPS fault sources.</strong></summary>
<div class="card-answer"><p>(1) Spoofing or jamming (intentional bias); (2) unmodeled bias (satellite-clock anomaly, thermal drift, multipath); (3) wrong model parameters (incorrect lever arm, timing offset, scale factor); (4) geometry collapse (satellite dropout or sudden HDOP spike not captured in <span class="math notranslate nohighlight">\(\mathbf{R}\)</span>).</p></div>
</details>

<details>
<summary><strong>4. Write the innovation under a healthy filter and under a ramp fault.</strong></summary>
<div class="card-answer"><p>Healthy: <span class="math notranslate nohighlight">\(\boldsymbol{\nu}_k = \mathbf{z}_k - h(\hat{\mathbf{x}}_k^-) \sim \mathcal{N}(\mathbf{0},\,\mathbf{S}_k)\)</span>. Ramp fault on one channel with rate <span class="math notranslate nohighlight">\(\dot{b}_f\)</span> starting at <span class="math notranslate nohighlight">\(t_0\)</span>: <span class="math notranslate nohighlight">\(\nu_k \approx v_k + \dot{b}_f(t_k - t_0)\)</span>. The mean of the innovation grows linearly in time while <span class="math notranslate nohighlight">\(\mathbf{S}_k\)</span> stays at its healthy value.</p></div>
</details>

<details>
<summary><strong>5. Why does <span class="math notranslate nohighlight">\(\mathbf{S}_k\)</span> not change under a fault?</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(\mathbf{S}_k = \mathbf{H}\mathbf{P}^-\mathbf{H}^\top + \mathbf{R}\)</span> depends only on the filter's own model: the Jacobian, the predicted covariance, and the assumed measurement noise. None of those quantities know anything about a fault. So <span class="math notranslate nohighlight">\(\mathbf{S}_k\)</span> stays small and the test statistic <span class="math notranslate nohighlight">\(\nu_k/\sqrt{S_k}\)</span> grows just because the numerator does.</p></div>
</details>

<details>
<summary><strong>6. Define the Mahalanobis distance for a vector innovation.</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(D^2 = \boldsymbol{\nu}^\top\,\mathbf{S}^{-1}\,\boldsymbol{\nu}\)</span>. It is the multivariate generalization of "number of sigmas". Each component of <span class="math notranslate nohighlight">\(\boldsymbol{\nu}\)</span> is weighted by its uncertainty, and correlations between components are accounted for via the inverse covariance. Reduces to <span class="math notranslate nohighlight">\((\nu/\sigma)^2\)</span> in the scalar case.</p></div>
</details>

<details>
<summary><strong>7. Under healthy conditions, what distribution does <span class="math notranslate nohighlight">\(D^2\)</span> follow?</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(D^2 \sim \chi^2(m)\)</span> where <span class="math notranslate nohighlight">\(m\)</span> is the number of measurement components stacked into <span class="math notranslate nohighlight">\(\boldsymbol{\nu}\)</span>. This makes detection a hypothesis test against a chi-squared threshold.</p></div>
</details>

<details>
<summary><strong>8. State the chi-squared detection rule.</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(D^2 \gtrless \gamma\)</span> with <span class="math notranslate nohighlight">\(\gamma = \chi^2_{m,\,1 - P_{\rm FA}}\)</span>. <span class="math notranslate nohighlight">\(D^2 > \gamma\)</span> declares a fault; <span class="math notranslate nohighlight">\(D^2 \le \gamma\)</span> declares healthy. Tighter <span class="math notranslate nohighlight">\(\gamma\)</span> means faster detection but more false alarms.</p></div>
</details>

<details>
<summary><strong>9. Quick numeric: <span class="math notranslate nohighlight">\(\nu = 15\)</span> m, <span class="math notranslate nohighlight">\(S = 25\)</span> m². Compute <span class="math notranslate nohighlight">\(D^2\)</span>. Suspicious at <span class="math notranslate nohighlight">\(\gamma = 8.83\)</span>?</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(D^2 = 225/25 = 9.0\)</span>. Just above <span class="math notranslate nohighlight">\(\gamma = 8.83\)</span>, so yes — declared a fault at <span class="math notranslate nohighlight">\(P_{\rm FA} = 0.3\%\)</span>. The corresponding sigma count is <span class="math notranslate nohighlight">\(\sqrt{D^2} = 3\)</span>: a 3-sigma event.</p></div>
</details>

<details>
<summary><strong>10. What is time-to-detect, and what trade-off controls it?</strong></summary>
<div class="card-answer"><p>Time-to-detect <span class="math notranslate nohighlight">\(T_D = t_D - t_0\)</span>: elapsed time between the fault starting and the detector declaring the fault. Trade-off: tighter detection threshold (smaller <span class="math notranslate nohighlight">\(\gamma\)</span>) means faster detection but more false alarms; looser threshold means fewer false alarms but slower detection on slowly-growing faults.</p></div>
</details>

<details>
<summary><strong>11. List four common fault responses after detection.</strong></summary>
<div class="card-answer"><p>(1) <strong>Exclusion</strong>: drop the offending sensor and continue with the remaining ones; (2) <strong>accommodation</strong>: inflate <span class="math notranslate nohighlight">\(\mathbf{R}\)</span> for the suspect sensor or augment the state with a per-sensor bias; (3) <strong>recovery</strong>: re-introduce the sensor once its innovations return to nominal; (4) <strong>multi-filter</strong>: run sub-filters each excluding one sensor; the consistent sub-filter identifies the bad one.</p></div>
</details>

<details>
<summary><strong>12. Distinguish accuracy from integrity in one sentence each.</strong></summary>
<div class="card-answer"><p><strong>Accuracy</strong>: how close is the estimate to truth, on average. <strong>Integrity</strong>: can I trust this estimate <em>right now</em>, including under a single-sensor fault? Integrity is a worst-case guarantee, not an average-case statistic.</p></div>
</details>

<details>
<summary><strong>13. Why does the filter covariance <span class="math notranslate nohighlight">\(\mathbf{P}\)</span> become misleading under an undetected fault?</strong></summary>
<div class="card-answer"><p>The fault corrupts <span class="math notranslate nohighlight">\(\hat{\mathbf{x}}\)</span> but does not enter <span class="math notranslate nohighlight">\(\mathbf{P}\)</span>, because the filter has no internal mechanism that recognizes a model violation. <span class="math notranslate nohighlight">\(\mathbf{P}\)</span> stays small while the true error grows, and the resulting ellipse no longer contains truth — the filter is "confidently wrong".</p></div>
</details>

<details>
<summary><strong>14. Write HPL and VPL.</strong></summary>
<div class="card-answer"><p><span class="math notranslate nohighlight">\(\mathrm{HPL} = n_\alpha \sqrt{P_{\mathrm{int},N} + P_{\mathrm{int},E}}\)</span> and <span class="math notranslate nohighlight">\(\mathrm{VPL} = n_\alpha \sqrt{P_{\mathrm{int},D}}\)</span>. <span class="math notranslate nohighlight">\(P_\mathrm{int}\)</span> is the diagonal of the <strong>integrity covariance</strong> from the multi-filter architecture, not the main filter's <span class="math notranslate nohighlight">\(\mathbf{P}\)</span>. <span class="math notranslate nohighlight">\(n_\alpha\)</span> is the multiplier for the desired containment probability (e.g., <span class="math notranslate nohighlight">\(2.576\)</span> for 99%).</p></div>
</details>

<details>
<summary><strong>15. Define HMI in one sentence and write its horizontal/vertical conditions.</strong></summary>
<div class="card-answer"><p>Hazardous Misleading Information: the true position error exceeds the reported protection level while the fault is still undetected. Horizontal: <span class="math notranslate nohighlight">\(e_H > \mathrm{HPL}\)</span>. Vertical: <span class="math notranslate nohighlight">\(|e_D| > \mathrm{VPL}\)</span>. HMI is the most critical failure mode in any safety-critical navigation system because the operator believes a guarantee that no longer holds.</p></div>
</details>

<details>
<summary><strong>16. What is HMI exposure, and how is it different from time-to-detect?</strong></summary>
<div class="card-answer"><p>HMI exposure is the total time during the event in which the true error exceeds the protection level. It is at most equal to <span class="math notranslate nohighlight">\(T_D\)</span> (you cannot keep being misleading after detection if you respond), but can be smaller if the error stays under the protection level for part of the pre-detection window. The F-47 ANS Requirement 4 sets <span class="math notranslate nohighlight">\(T_D \le 5\)</span> s and HMI-exposure <span class="math notranslate nohighlight">\(\le 1\)</span> s as separate thresholds, both of which the test campaign must observe.</p></div>
</details>

<details>
<summary><strong>17. What is the role of a multi-filter sub-filter architecture in fault isolation?</strong></summary>
<div class="card-answer"><p>Run <span class="math notranslate nohighlight">\(N\)</span> sub-filters, each one excluding a different sensor. Under a single-sensor fault, exactly one sub-filter (the one excluding the faulted sensor) stays statistically consistent — its <span class="math notranslate nohighlight">\(D^2\)</span> traces stay below threshold across all its remaining sensors. Scanning the column of sub-filter <span class="math notranslate nohighlight">\(D^2\)</span> traces, the "all healthy" column identifies which satellite to exclude.</p></div>
</details>

<details>
<summary><strong>18. Why is a 30-second running chi-squared sum more sensitive to slow ramp faults than the per-sample <span class="math notranslate nohighlight">\(D^2\)</span> test?</strong></summary>
<div class="card-answer"><p>For a slowly-growing bias, any single-sample <span class="math notranslate nohighlight">\(D^2\)</span> may stay below the 1-DOF threshold for a long time because the bias is small. Summing 30 samples (with 30-DOF threshold) accumulates evidence: a small per-sample bias becomes a large summed statistic. Trade-off: latency. The window has to fill before the test fires, so detection of an instantaneous large fault is delayed by up to <span class="math notranslate nohighlight">\(M-1\)</span> samples.</p></div>
</details>
