Signal change rate limiter#

block

Block appearance in REPEAT VISION#

 This block allows to limit the changing rate (derivative) of the input function and the value of the output function does not change faster than the signal changing rates specified in the properties.

 The derivative is specified by the formula (1):

(1)#\[ rate=\frac{u\left(t\right)-y\left(t-1\right)}{∆t} \]

 When the derivative of the input function is within the specified rate limits: the output signal will be equal to the input one.

 If the rate of signal change does not match the limits, the outputsignal will be determined according to the formula (2):

(2)#\[\begin{split} y\left(t\right)=∆t\cdot\ Min_{rate}+y\left(t-1\right)\\ y\left(t\right)=∆t\cdot\ Max_{rate}+y\left(t-1\right) \end{split}\]

 Use the Initial condition of output signal property to set the output value and calculate the rate of change at the start time using the following formula (3):

(3)#\[rate=\frac{u(0)-y(-1)}{\Delta t}\]

Where y(-1) - the output signal value at the start of time.

1.  Properties#

Property

Default value

Description

Units of measurement

Falling slew rate

5

-

-

Rising slew rate

10

-

-

Initial condition of output signal

0

-

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Signal

Input

-

-

Automation

Signal

Output

-

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation