Low-pass filter
First-order continuous filter.
- signal
- Gradara equations
- 2 ports
- 1 parameter
filterLibraryContinuousDescription
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
Also in this example:Limited integratorStepRampDerivativeSecond-orderTransport delay
Ports
Inputs 1
-
in
uInput signal.
Outputs 1
-
out
yFiltered 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
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.