Functions, rates of change and averages · Formula 6.16

Sampling and moving average

fs>2fmax,xˉk=1m∑j=0m−1xk−jf_s>2 f_{\mathrm{max}},\qquad \bar x_k=\frac1m\sum_{j=0}^{m-1}x_{k-j}

Your values

Decimal comma or decimal point, without thousands separators. The selected unit applies to the numerical value entered.

Your calculation method

Units · Calculation relationship · Results
From the formula collection

The explanation of the formula

The sampling theorem assumes a signal band-limited to fmaxf_{\mathrm{max}}. An analog anti-aliasing filter must sufficiently attenuate frequencies above the usable range before digitization. A higher sampling rate alone does not protect against coupled-in switching edges or overloading. A moving average reduces rapid fluctuations, but delays changes and can conceal short peaks. With uniform sampling, the symmetrically interpreted average has a delay of (m−1)/(2fs)(m-1)/(2f_s); this delay must also be considered for protection functions.

Example from the book

A 50-Hz sine wave sampled at 80 Hz can appear as a 30-Hz waveform. An energy management system using values sampled at one-second intervals can detect slow load changes, but cannot derive reliable harmonic quantities from them. Missing values are transmitted with a quality flag. Interpolation is often helpful for graphical representation, but must be disclosed and justified in an energy balance relevant to billing or acceptance.

Formelsammlung Strom · Erik Schmidt · Formula 6.16