Your Equation

Library / Signal processing and digital filters / DSP-32

Signal processing and digital filters

Output variance of an FIR driven by white noise

Output variance of an FIR filter (up to 8 taps, unused ones zero) fed by zero-mean, uncorrelated input noise of variance σx².

Ref
DSP-32
Rev
v1
Field
Signal processing and digital filters
Result
σy2 [V²]

White noise through an FIR filter y[n] = Σ h[j]x[n − j] gives an output variance σy² = σx² Σ|h[j]|², because the samples of the input are uncorrelated, so their variances add after weighting by the squared taps. The sum Σh² is the noise power gain, and for a unit-DC-gain smoother it is below 1.

Output variance of an FIR filter (up to 8 taps, unused ones zero) fed by zero-mean, uncorrelated input noise of variance σx². The factor is the sum of squared tap magnitudes, the noise power gain of the filter.

Calculator

Solve for
V²
V²
0.0011,000
−22
−22
−22
−22
−22
−22
−22
−22
  • Noise power gain, Σh²0.375
  • Output RMS noise1.225 V
  • DC gain, Σh1

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Output variance (V²) current value 1.5 V²
σx2Input noise varianceKey driver
3.75e-4375
h0Filter tap 0
1.2517.3
h1Filter tap 1
0.516.5
h2Filter tap 2
1.2517.3
h3Filter tap 3
17.5
h4Filter tap 4
17.5
h5Filter tap 5
17.5
h6Filter tap 6
17.5
h7Filter tap 7
17.5
  • The filter passes 37.5 % of the input noise power: 4 V² in, 1.5 V² out.
  • With a DC gain of 1, a slowly varying signal passes unchanged while the noise falls, which is the point of smoothing.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing (V²)Local stepChange in result
σx2 Input noise variance0.001 to 1,000 V²3.75e-4375375+10%+10 %
h0 Filter tap 0−2 to 2 1.2517.2516+0.08 +12.4 %
h1 Filter tap 1−2 to 2 0.516.516+0.08 +23 %
h2 Filter tap 2−2 to 2 1.2517.2516+0.08 +12.4 %
h3 Filter tap 3−2 to 2 1.517.516+0.08 +1.71 %
h4 Filter tap 4−2 to 2 1.517.516+0.08 +1.71 %
h5 Filter tap 5−2 to 2 1.517.516+0.08 +1.71 %
h6 Filter tap 6−2 to 2 1.517.516+0.08 +1.71 %
h7 Filter tap 7−2 to 2 1.517.516+0.08 +1.71 %

Sweep of Input noise variance

Input noise variance (V²)Output variance (V²)
0.0013.75e-4
0.0056230.002109
0.031620.01186
0.17780.06669
10.375
5.6232.109
31.6211.86
177.866.69
1,000375

Sweep one variable

Output variance (V²)Hover, touch, or use the arrow keys on the chart
0100200300400 0.0010.010.11101001000 Input noise variance (V²), log scale now 1.5

Variables and how each one contributes

σy2

Output variance

Result · V²

What the equation gives you. Everything else feeds it.

σx2

Input noise variance

V² · typical 0.001 to 1,000

The input noise variance, in V². Raises the output variance in direct proportion. Raising it by 10 % (to 4.4) moves the result by +10 %, from 1.5 to 1.65 V².

h0

Filter tap 0

· typical −2 to 2

The filter tap h[0]. Adds h[0]² to the noise power gain. Raising it by 10 % (to 0.275) moves the result by +3.5 %, from 1.5 to 1.552 V².

h1

Filter tap 1

· typical −2 to 2

The filter tap h[1]. Adds h[1]² to the noise power gain. Raising it by 10 % (to 0.55) moves the result by +14 %, from 1.5 to 1.71 V².

h2

Filter tap 2

· typical −2 to 2

The filter tap h[2]. Adds h[2]² to the noise power gain. Raising it by 10 % (to 0.275) moves the result by +3.5 %, from 1.5 to 1.552 V².

h3

Filter tap 3

· typical −2 to 2

The filter tap h[3]. Adds h[3]² to the noise power gain. Raising it by 10 % (to 0) moves the result by +0 %, from 1.5 to 1.5 V².

h4

Filter tap 4

· typical −2 to 2

The filter tap h[4]. Adds h[4]² to the noise power gain. Raising it by 10 % (to 0) moves the result by +0 %, from 1.5 to 1.5 V².

h5

Filter tap 5

· typical −2 to 2

The filter tap h[5]. Adds h[5]² to the noise power gain. Raising it by 10 % (to 0) moves the result by +0 %, from 1.5 to 1.5 V².

h6

Filter tap 6

· typical −2 to 2

The filter tap h[6]. Adds h[6]² to the noise power gain. Raising it by 10 % (to 0) moves the result by +0 %, from 1.5 to 1.5 V².

h7

Filter tap 7

· typical −2 to 2

The filter tap h[7]. Adds h[7]² to the noise power gain. Raising it by 10 % (to 0) moves the result by +0 %, from 1.5 to 1.5 V².

Worked example with the values above

  1. Squared taps: 0.25² + 0.5² + 0.25² = 0.375.
  2. Input variance: σx² = 4 V².
  3. σy² = 4 × 0.375 = 1.5 V².

Assumptions and limits

  • Equally spaced samples, and noise that is uncorrelated from sample to sample.
  • A signal that is smooth over the filter span, so a local quadratic fit describes it.

Common mistakes

  • Using these filters at the ends of a record, where the window is incomplete.
  • Forgetting that centred filters add a delay of half the window length in real-time use.
  • Using a moving average where the sinc sidelobes let high frequencies leak through.

Statistics and uncertainty

Smoothing reduces random error and adds bias, which cannot both be small. A Savitzky–Golay fit lowers the noise variance by the factor Σc² (here 0.49) but flattens any curvature of higher order than a quadratic.

Where it is used

  • Smoothing sensor signals and estimating velocity from position records.
  • Predicting the noise reduction and frequency response of simple FIR smoothers.

Maths you need

  • Moving average: the mean of the latest M samples
  • Least-squares fit: the polynomial that minimises squared error
  • Noise power gain: Σh² for an FIR filter

Related formulas

Practise this formula