Apply the Kalman Innovation Gate
Apply the Kalman Innovation Gate
Apply the Kalman Innovation Gate
Step-throughGiven the same predicted position and variance, calculate the normalized innovation squared for the chapter's received reading, apply the configured gate, and distinguish rejection from a missing reading by inspecting the output record.
Model prediction
Position: 12.0 m Variance: 0.64 m² (uncertainty of the position estimate)
Sensor report
Pending
Plausibility gate
Pending
Published output
Pending
Model prediction
Position: 12.0 m Variance: 0.64 m² (uncertainty of the position estimate)
Sensor report
Reading: 14.0 m Measurement variance R = 0.36 m²
Plausibility gate
y = 14.0 m − 12.0 m = 2.0 m
Published output
Pending
Model prediction
Position: 12.0 m Variance: 0.64 m² (uncertainty of the position estimate)
Sensor report
Reading: 14.0 m Measurement variance R = 0.36 m²
Plausibility gate
Scalar direct observation with uncorrelated prediction and measurement errors lets the variances add.
S = 0.64 + 0.36 = 1.00 m²
Normalized innovation squared
NIS = y² / S = 4.0 m²1.00 m² = 4.0 (unitless)
Configured threshold for this example 3.84 (unitless)
Published output
Pending
Model prediction
Position: 12.0 m Variance: 0.64 m² (uncertainty of the position estimate)
Sensor report
Measurement correction inactive
Plausibility gate
NIS 4.0 > configured gate 3.84
Published output · reading received
14.0 m
Rejected
4.0
3.84
NIS exceeds configured gate
12.0 m
0.64 m²
Degraded
Model prediction
Position: 12.0 m Variance: 0.64 m² (uncertainty of the position estimate)
Published output · reading received
14.0 m
Rejected
4.0
3.84
NIS exceeds configured gate
12.0 m
0.64 m²
Degraded
Published output · no reading received
Missing
Missing
Unavailable
3.84 (unchanged)
No reading received
12.0 m
0.64 m²
Unspecified by this case
For the missing reading, the gate and measurement correction are skipped.
The filter estimates position along a line. The sensor measures that same position directly, so the predicted reading is the predicted position.
Technical boundaries. The sensor observes a single position along a line directly, and the prediction and measurement errors are assumed uncorrelated. The threshold and quarantine policy belong to this example. The missing reading skips the gate and correction, and its output mode is unspecified.