Complementary Angle Filter
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
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoFilterCategory.png Category Filter – Signal filtering and smoothing components.
- File:TArduinoAngleCategory.png Category Angle – Angle and rotation-related components.