Low-pass filter
First-order continuous filter.
- signal
- Modelica Standard Library
- 2 ports
- 1 parameter
filterLibraryContinuousDescription
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
Also in this example:StepRampIntegratorLimited integratorDerivativeSecond-orderTransport delay
Ports
Inputs 1
-
u
Input signal.
Outputs 1
-
y
Filtered output.
Parameters
-
Time constant
tau0.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.0
MSL documentation Modelica.Blocks.Continuous.FirstOrderAssumptions 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.