Slew Rate Limiter - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Slew Rate Limiter

Limits the slew rate of a signal

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Slew Rate Limiter block limits the slew rate of its output signal to the range Falling,Rising. To ensure this for arbitrary inputs and in order to produce a differentiable output, the input is numerically differentiated with derivative time constant Td. Smaller time constant Td means nearer ideal derivative. The user has to choose the derivative time constant according to the nature of the input signal.

The Signal Size parameter assigns the dimension of the input and output connectors.

Equations

dyidt={smooth1,noEventminRising,maxFalling,uiyiTdstrictsmooth1,minRising,maxFalling,uiyiTdotherwise

Connections

Name

Description

Modelica ID

u

Real input vector

u

y

Real output vector

y

Parameters

General Parameters

Name

Default

Units

Description

Modelica ID

Signal Size

1

 

Dimension of input and output signals

signalSize

Rising

1

1s

Maximum rising slew rate

Rising

Falling

Rising

1s

Maximum falling slew rate

Falling

Td

0.001

s

Time constant used to compute numerical derivative

Td

ystart

0

 

Initial or guess value of output (=state)

y_start

Init type

Steady state initialization (derivatives of states are zero)

 

Type of initialization (SteadyState implies y = u)

initType

Advanced Parameters

Name

Default

Units

Description

Modelica ID

strict

false

 

True (checked) ensures limits are strictly enforced via events

strict

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Discontinuous Signal Blocks

Signal Blocks