Try It: Complementary Filter Tuning
Try It: Complementary Filter Tuning
animation
sensors
power-management
Try Leave Alpha, gyro weight at 0.96, Gyro drift (deg/s) at 0.5 and Accel noise (deg) at 3, then reduce alpha.
Observe The starting weights are 96% gyroscope and 4% accelerometer; the displayed 60-second drift is 1.20 degrees and the accelerometer contribution is 0.12 degrees.
Explain Alpha, gyro weight directly sets the gyro share; its complement scales both the displayed drift estimate and the accelerometer noise contribution.
Technical boundaries. The comparison assumes fixed operation counts of 5 and 150 per sample and fixed RAM estimates of 20 and 800 bytes. It calculates weights and error summaries without integrating an angle trace or running either filter on sensor samples.