Low-pass filter

First-order continuous filter.

  • signal
  • Modelica Standard Library
  • 2 ports
  • 1 parameter
BlockLow-pass filterKindfilterLibraryContinuous

Description

A first-order low-pass filter with unity DC gain (the Modelica library first-order block). The output follows the input with time constant τ, reaching about 63% of a step after τ.

Example

Step responses A unit step through a first-order filter, a second-order system, an integrator, a limited integrator, and a delay; a ramp through a derivative.

Step at 0.1 sFirst orderSecond orderIntegratorLimited to 1Delay 0.3 sRamp, slope 2Derivative
In Gradara, select a Low-pass filter block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:StepRampIntegratorLimited integratorDerivativeSecond-orderTransport delay

Ports

Inputs 1

  • u

    Input signal.

Outputs 1

  • y

    Filtered output.

Parameters

  • Time constanttau0.05 s

    ≥ 0.00001

    Time constant τ, in seconds. At least 1e-5 s. The corner frequency is 1/(2π · tau) Hz.

Equations

Modelica
dy/dt = (u − y) / tau, with y = 0 at time 0
Transfer function: 1 / (tau · s + 1)

Implementation

Modelica Standard Library 4.1.0Modelica.Blocks.Continuous.FirstOrder
MSL documentation

Assumptions and limitations

  • The output always starts at 0, so a nonzero input at time 0 gives a start-up transient.

Used in

These larger examples use it too. Open them from Examples in the app.

  • 480 VAC → 24 VDC flyback

See also

Select a block in Gradara and press F1 to open its page offline.