Complementary Analog Filter
File:TArduinoComplementaryAnalogFilter.png
Summary
Analog signal filter that combines raw input with its rate of change using a complementary filtering method.
Description
The Complementary Analog Filter is used for fusing or smoothing analog signals by blending the direct input with its rate of change. It applies a configurable time constant to balance between the fast response of the derivative component and the stability of the raw input. This is especially useful in sensor fusion applications such as accelerometer + gyroscope filtering.
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).
Pins
Input Pins
- In (analog) – Direct analog input signal.
- Rate of Change (analog) – Derivative input signal.
Output Pins
- Out (analog) – Filtered analog output signal.
Categories
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoFilterCategory.png Category Filter – Signal filtering and smoothing components.