Derive a One Dimensional Kalman Update for Altitude Fusion
Last updated: November 29, 2026
Quick Overview
An aircraft estimates altitude by predicting with a vertical velocity model and correcting with a noisy barometer. Derive the scalar Kalman filter predict and update equations, compute one step by hand, and explain how the gain behaves as sensor noise changes.
Shield AI
November 29, 20260
0
0 solved
An aircraft estimates altitude by predicting with a vertical velocity model and correcting with a noisy barometer. Derive the scalar Kalman filter predict and update equations, compute one step by hand, and explain how the gain behaves as sensor noise changes.
State estimation is the foundation that lets Shield AI's aircraft fly without GPS, so autonomy and perception candidates are expected to reason about uncertainty precisely. The interviewer checks that you can derive the gain from minimizing variance, plug in numbers correctly, and connect the math to real sensor behavior.
What the Interviewer Expects
- Writes the process and measurement models with noise terms
- Derives the gain as the variance-minimizing blend
- Computes a numeric step without arithmetic slips
- Explains the limits: gain near 1 when the sensor is precise, near 0 when it is noisy
- Mentions what breaks when noise is not Gaussian or the model is wrong
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How do you detect and reject a barometer outlier (innovation gating)?
- Extend to a 2-state [altitude, vertical velocity] filter. What is the F matrix?
- How would you tune Q and R from flight logs?
- Why does the variance converge to a steady state even with no new information about the true altitude?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
State: altitude . Process: , with and known commanded climb rate . Measurement: , . We keep a Gaussian belief wit...
Approach
Predict: , .
Update: we blend . The error is , so its variance is . Set...
Submit Your Answer
Shield AI Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline