Complementary Analog Filter

From Visuino
Revision as of 00:06, 8 September 2025 by Visuino (talk | contribs) (Created page with "Image: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 i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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