Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for How to Tune a Kalman Filter: Understanding Q and R

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

Localization & estimationInterview topic 034

How to Tune a Kalman Filter: Understanding Q and R

Kalman tuning distinguishes process covariance Q from measurement covariance R. Their balance changes correction strength, but representative noise data, innovation checks, and independent accuracy validation matter more than a smooth-looking trace.

Understand the concept

The key idea

Q represents uncertainty added by the motion model; R represents uncertainty assigned to sensor measurements. Increasing Q with R fixed raises predicted uncertainty and usually increases measurement influence, helping unmodeled motion but potentially following more noise. Increasing R with Q fixed generally makes the estimator follow its model more strongly and can slow response. Estimate noise using representative recordings, account for motion-dependent errors, and compare innovation patterns with predicted uncertainty. Bias, delay, or an inadequate model may require correction beyond tuning. Validate against an independent reference using consistent units, sampling interval, and operating conditions: smooth output alone does not establish accuracy.

What to remember

  • Q models process error; R models observation error.
  • Higher Q and higher R generally push measurement influence in opposite directions.
  • Innovation and independent reference checks support meaningful tuning.
Pause & think

Check your understanding

What generally happens when R increases while Q stays fixed?

Show the explanation

The filter trusts measurements less and follows its predicted model more closely.