Complementary Angle Filter

From Visuino
Revision as of 00:10, 8 September 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoComplementaryAngleFilter.png == Summary == Angle filter that fuses raw angle input with its rate of change using complementary filtering. == Description == The Complementary Angle Filter is designed for sensor fusion of angular measurements, such as combining accelerometer- and gyroscope-based data. It applies a configurable time constant and supports multiple unit outputs (degrees, radians, normalized), allowing flexible integration into motion con...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoComplementaryAngleFilter.png

Summary

Angle filter that fuses raw angle input with its rate of change using complementary filtering.

Description

The Complementary Angle Filter is designed for sensor fusion of angular measurements, such as combining accelerometer- and gyroscope-based data. It applies a configurable time constant and supports multiple unit outputs (degrees, radians, normalized), allowing flexible integration into motion control and orientation systems.

Diagram:

Properties

  • Enabled – Enables or disables the filter.
  • Time Constant (tau) – The time constant controlling the balance between input and rate of change (default 0.075).
  • Units – Defines the output units:
    • auDegree – Degrees.
    • auRadians – Radians.
    • auNormalized – Normalized (0.0 – 1.0).

Pins

Input Pins

  • In (analog) – Raw angle input.
  • Rate of Change (analog) – Angular velocity or derivative input.

Output Pins

  • Out (analog) – Filtered angle output.

Categories