← Back to the chapter · Next detail →

Technical detail · Sensor Fusion Best Practices

Calculate a scalar innovation gate

Worked example: scalar innovation gate
predicted temperature: 22.0 deg C
predicted variance P: 0.25
new measurement z: 25.0 deg C
measurement variance R: 0.25

innovation:
y = z - prediction = 25.0 - 22.0 = 3.0

innovation variance:
S = P + R = 0.25 + 0.25 = 0.50

normalized innovation squared:
NIS = y^2 / S = 9.0 / 0.50 = 18.0

decision:
For a one-dimensional 95 percent chi-square gate, the threshold is about 3.84.
18.0 is above that gate, so reject or quarantine this measurement.
Do not feed it into the fused state until the cause is understood.

← Back to the chapter · Next detail →