WOLFRAM SYSTEM MODELER

Filter

Demonstrates the Continuous.Filter block with various options

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.Filter"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example demonstrates various options of the Filter block. A step input starts at 0.1 s with an offset of 0.1, in order to demonstrate the initialization options. This step input drives 4 filter blocks that have identical parameters, with the only exception of the used analog filter type (CriticalDamping, Bessel, Butterworth, Chebyshev of type I). All the main options can be set via parameters and are then applied to all the 4 filters. The default setting uses low pass filters of order 3 with a cut-off frequency of 2 Hz resulting in the following outputs:

Filter1.png

Parameters (5)

order

Value: 3

Type: Integer

Description: Number of order of filter

f_cut

Value: 2

Type: Frequency (Hz)

Description: Cut-off frequency

filterType

Value: Modelica.Blocks.Types.FilterType.LowPass

Type: FilterType

Description: Type of filter (LowPass/HighPass)

init

Value: Modelica.Blocks.Types.Init.SteadyState

Type: Init

Description: Type of initialization (no init/steady state/initial state/initial output)

normalized

Value: true

Type: Boolean

Description: = true, if amplitude at f_cut = -3db, otherwise unmodified filter

Components (5)

step

Type: Step

Description: Generate step signal of type Real

CriticalDamping

Type: Filter

Description: Continuous low pass, high pass, band pass or band stop IIR-filter of type CriticalDamping, Bessel, Butterworth or ChebyshevI

Bessel

Type: Filter

Description: Continuous low pass, high pass, band pass or band stop IIR-filter of type CriticalDamping, Bessel, Butterworth or ChebyshevI

Butterworth

Type: Filter

Description: Continuous low pass, high pass, band pass or band stop IIR-filter of type CriticalDamping, Bessel, Butterworth or ChebyshevI

ChebyshevI

Type: Filter

Description: Continuous low pass, high pass, band pass or band stop IIR-filter of type CriticalDamping, Bessel, Butterworth or ChebyshevI