Periodic Average

Purpose

Periodically average input signal over specified time

Library

Control / Filters

Description

../../_images/periodicaverage.svg

This block periodically averages a continuous input signal \(u\) over the specified averaging time \(T\). The output \(y\) is updated at the end of each averaging period. Mathematically, this block corresponds to a moving average filter where the output is processed by a zero-order hold:

\[y(t) = \frac{1}{T}\int_{(n-1)T}^{nT} u(\tau)d\tau, \quad t \in [nT,(n+1)T) \quad n \geq 0\]

However, the implementation of Periodic Average filter is computationally less expensive and more accurate than the continuous Moving Average filter. The block is suited to determine average conduction losses of power semiconductors. To determine average switching losses, use the Periodic Impulse Average.

Parameters

Averaging time

A scalar specifying the period or a two-element vector specifying the period and offset of the averaging interval, in seconds \((\mathrm{s})\). See also the Discrete-Periodic sample time type in section Sample Times.

Probe Signals

Input

The input signal.

Output

The filtered output signal.