Low-pass filter

First-order continuous filter.

  • signal
  • Gradara equations
  • 2 ports
  • 1 parameter
BlockLow-pass filterKindfilterLibraryContinuous

Description

A first-order low-pass filter with unity DC gain. 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, and a delay; a ramp through a derivative.

Step at 0.1 sFirst orderSecond orderIntegratorDelay 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:Limited integratorStepRampDerivativeSecond-orderTransport delay

Ports

Inputs 1

  • inu

    Input signal.

Outputs 1

  • outy

    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
dx/dt = (u − x) / tau
y = x, with x = 0 at time 0
Transfer function: 1 / (tau · s + 1)

Implementation

The block’s Modelica model
Real x(start=0, fixed=true);
der(x) = (u-x)/tau;
y = x;

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.