LowpassButterworth

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

    LowpassButterworth

Library

Modelica/Blocks/Continuous

Description

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

Butterworth.png

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

Parameters

LowpassButterworth_0

NameLabelDescriptionData TypeValid Values

mo_n

n

Order of filter

Scalar

mo_f

f

Cut-off frequency

Scalar

mo_m

m

Scalar

mo_evenOrder

evenOrder

Scalar

true
false

mo_w

w

Scalar

mo_initType

initType

Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)

Structure

mo_initType/choice1

Modelica.Blocks.Types.Init.NoInit

Number

0
1

mo_initType/choice2

Modelica.Blocks.Types.Init.SteadyState

Number

0
1

mo_initType/choice3

Modelica.Blocks.Types.Init.InitialState

Number

0
1

mo_initType/choice4

Modelica.Blocks.Types.Init.InitialOutput

Number

0
1

mo_x1_start

x1_start

Initial or guess values of states 1 (der(x1)=x2)

Vector

mo_x2_start

x2_start

Initial or guess values of states 2

Vector

mo_xr_start

xr_start

Initial or guess value of real pole for uneven order otherwise dummy

Scalar

mo_y_start

y_start

Initial value of output (states are initialized in steady state if possible)

Scalar

mo_x1

x1

x1

Structure

mo_x1/fixed

fixed

Cell of vectors

true
false

mo_x1/start

start

Cell of vectors

mo_x2

x2

x2

Structure

mo_x2/fixed

fixed

Cell of vectors

true
false

mo_x2/start

start

Cell of vectors

mo_xr

xr

xr

Structure

mo_xr/fixed

fixed

Cell of scalars

true
false

mo_xr/start

start

Cell of scalars

LowpassButterworth_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'z'
'polereal'
'poleimag'
'realpol'
'k2'
'D'
'w0'
'k1'
'T'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Connector of Real input signal

input

1

y

implicit

Connector of Real output signal

output

1

See Also