blockLowpassButterworth

Output the input signal filtered with a low pass Butterworth filter of any order

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

This block defines the transfer function between the input u and the output y as an n-th order low pass filter with Butterworth characteristics and cut-off frequency f. It is implemented as a series of second order filters and a first order filter. Butterworth filters have the feature that the amplitude at the cut-off frequency f is 1/sqrt(2) (= 3 dB), i.e., they are always "normalized". Step responses of the Butterworth filter of different orders are shown in the next figure:

Butterworth.png

If transients at the simulation start shall be avoided, the filter should be initialized in steady state (e.g., using option initType=Modelica.Blocks.Types.Init.SteadyState).

Parameters

TypeNameDefaultDescription
Integern2Order of filter
SI.FrequencyfCut-off frequency
Initialization
Modelica.Blocks.Types.InitinitTypeModelica.Blocks.Types.Init.NoInitType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Real[m]x1_startzeros(m)Initial or guess values of states 1 (der(x1)=x2)
Real[m]x2_startzeros(m)Initial or guess values of states 2
Realxr_start0.0Initial or guess value of real pole for uneven order otherwise dummy
Realy_start0.0Initial value of output (states are initialized in steady state if possible)

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal

Components

TypeNameDefaultDescription
Real[m]x1States 1 of second order filters (der(x1) = x2)
Real[m]x2States 2 of second order filters
RealxrState of real pole for uneven order otherwise dummy