FireCADCalc

First-Order Digital Filter Coefficient and Response

Smoothing coefficient of a first-order digital filter for a time constant and sample time, in exact and backward-Euler forms, with cutoff and settling.

Thermal power plantProcess steam and utilitiesRefinery and petrochemical

Inputs

Examples: Illustrative 2 s filter on 100 ms scanLight 0.5 s on 250 msHeavy 10 s on 50 ms

Accepted: 0.0001 to 10,000 s
Accepted: 1E-6 to 100 s

Results

y[k] = y[k−1] + α(x[k] − y[k−1]), α = 1 − e^(−T_s/τ) (or T_s/(τ + T_s) by backward Euler, close when T_s ≪ τ). White noise is reduced by √(α/(2 − α)). Filtering a controlled variable adds lag; keep τ well below the loop's dead time.

Coefficient (exact discretisation)0.004988
Coefficient (backward Euler)0.004975
Cutoff frequency0.015915Hz
Samples to 95 % of a step600.00
White-noise reduction factor0.050000

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Illustrative 2 s filter on 100 ms scan. The inputs, in the units selected above:

InputValue
Filter time constant2.0000 s
Sample (scan) time0.10000 s

Applying the formula below gives:

ResultValue
Coefficient (exact discretisation)0.048771
Coefficient (backward Euler)0.047619
Cutoff frequency0.079577 Hz
Samples to 95 % of a step60.000
White-noise reduction factor0.15810

Open this example in the calculator and change any input.

Formula

\(\alpha = 1 - e^{-T_s/\tau}, \quad \alpha_{BE} = \frac{T_s}{\tau + T_s}, \quad \frac{\sigma_{out}}{\sigma_{in}} = \sqrt{\frac{\alpha}{2 - \alpha}}\)

Variables

Symbol Meaning SI unit
\(\tau\) Filter time constant s
\(T_s\) Sample (scan) time s
\(\alpha\) Coefficient (exact discretisation) -
\(\alpha_{BE}\) Coefficient (backward Euler) -
\(f_c\) Cutoff frequency 1/s
\(n_{95}\) Samples to 95 % of a step -
\(\sigma_{out}/\sigma_{in}\) White-noise reduction factor -

Method and standards

Digital filter.

Where it is used

  • PLC and DCS signal conditioning.
  • Data logger smoothing.

Common mistakes

  • Filtering inside a fast control loop.
  • Using a filter time constant shorter than the scan time.

Assumptions and limits

  • Constant sample time; white input noise.

References

  • Discretised first-order low-pass filter

Questions and answers

Which coefficient form does my PLC use?

Many PLC and DCS filter blocks use α = T_s/(τ + T_s); check the block description.

Why not filter heavily?

The filter adds lag; in a control loop it slows the response and can destabilise it.

What do the defaults represent?

An illustrative 2 s filter time constant on a 100 ms scan.

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Sources

Oppenheim and Schafer, Discrete-Time Signal Processing, 3rd ed. (Pearson, 2010)

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.