Skip to main content
DD-CAT IDE logoDD-CAT IDE

First-Order Low-Pass Filter Coefficient (α)

Favorite

From sample period and cut-off, get the first-order IIR coefficient α, the fixed-point Q coefficient and settling time — ready to paste into ADC smoothing code.

Key points

First-Order Low-Pass Filter Coefficient (α): From sample period and cut-off, get the first-order IIR coefficient α, the fixed-point Q coefficient and settling time — ready to paste into ADC smoothing code. Formula: α = Ts/(RC + Ts), RC = 1/(2πf_c); y += α(x − y). Enter parameters on the DD-CAT IDE online tool page to get results instantly, with a calculation-model diagram that updates with the inputs. The fixed-point form is y = y + ((α_q * (x − y)) >> 16); mind the accumulator width and sign extension. Keep the cut-off well below the sample rate (at least 1/10), otherwise the discrete response drifts from the design.

Inputs

α = Ts/(RC + Ts), RC = 1/(2πf_c); y += α(x − y)

Calculation model (updates with parameters)

Step inputα = 0.386定点 25288Small α: smooth but laggy; large α: fast but noisy
Filter coefficient α0.385870
Time constant τ = RC15.92 ms
Theoretical cut-off10 Hz
Actual discrete -3dB frequency7.76 Hz
Fixed-point coefficient25288
Settling time (±1%)79.58 ms
Output one sample after a step38.59 %

Engineering notes

  • The fixed-point form is y = y + ((α_q * (x − y)) >> 16); mind the accumulator width and sign extension.
  • Keep the cut-off well below the sample rate (at least 1/10), otherwise the discrete response drifts from the design.

FAQ

What is First-Order Low-Pass Filter Coefficient (α) for?
From sample period and cut-off, get the first-order IIR coefficient α, the fixed-point Q coefficient and settling time — ready to paste into ADC smoothing code.
What is the formula for First-Order Low-Pass Filter Coefficient (α)?
Core formula: α = Ts/(RC + Ts), RC = 1/(2πf_c); y += α(x − y). The tool returns results instantly using this formula and the selected parameters.
What engineering notes should I keep in mind when using First-Order Low-Pass Filter Coefficient (α)?
The fixed-point form is y = y + ((α_q * (x − y)) >> 16); mind the accumulator width and sign extension. Keep the cut-off well below the sample rate (at least 1/10), otherwise the discrete response drifts from the design.