Worked example
Example: Illustrative 2 s filter on 100 ms scan. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Filter time constant | 2.0000 s |
| Sample (scan) time | 0.10000 s |
Applying the formula below gives:
| Result | Value |
|---|---|
| Coefficient (exact discretisation) | 0.048771 |
| Coefficient (backward Euler) | 0.047619 |
| Cutoff frequency | 0.079577 Hz |
| Samples to 95 % of a step | 60.000 |
| White-noise reduction factor | 0.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)