You are on page 1of 3

Ramp--function generator RGE

Symbol

RGE
Input quantity -- X N2 N2 Y -- Output quantity
Upper limit value -- LU YA -- Acceleration value
Lower limit value -- LL B1 QE -- Output Y = input X
Output setting value -- SV QU -- Upper limit value reached
Ramp--up time -- TU R2 QL -- Lower limit value reached
Ramp--down time -- TD
Higher -- CU B1
Lower -- CD
Output = input -- CF
Set -- S

Application Block diagram


Ramp--function generator to limit the rate of change of CU TU TD SV LL LU
input quantity X.
CD
Control
The output quantity can be limited. CF logic
Independent adjustment as well as change of the X
following quantities during operation: Y
- Ramp--up and ramp--down times
- Output limits LU and LL
- Setting value YA

Flexible ramp--function generator functions: QE


S
- Initial value can be set ( Þ load SV into integrator)
QU
- Ramp--function generator output can be corrected,
integrating to setpoint X QL
- Ramp--function generator output can be increased
and decreased, integrating
Valid for the acceleration value for ramp--up:

Mode of operation YA = TA
TU for Y > 0
The function block has an integrator with two separately
adjustable integral action time constants. Output Y YA = - TA for Y < 0
TU
changes according to the algorithm.
Valid for the acceleration value for ramp--down:
Yn = Yn--1 + YAn
YA = - TA for Y > 0
Acceleration value YA is separately calculated for TD
ramp--up and ramp--down, and is provided at an output. TA
YA = for Y < 0
TD
Ramp--up is when the output value Y moves away from
TA = sampling time
zero.
Ramp--down is when output value Y approaches zero. Changeover between ramp--up and ramp--down time is
realized at direction change and at the zero crossover
point of the transfer function.

Siemens AG Item No.: 465 980.7104.23 05.96 2--1


SIMADYN D ¡ Standard Function Blocks P16
RGE Ramp--function generator

The mode is preset via control logic as a function of the Integrator behavior at the limits
logical statuses of control inputs S, CF, CU and CD.
If output Y reaches limits LL or LU during the control
The output quantity can be limited using inputs LU and process, the integrator value is held. Output value Y is
LL. When the set limit has been reached, Y is used to then held constant, until the integrator value leaves the
signal the condition at the binary outputs with QU=1 or limit when one of the input parameters changes.
QL=1.
If the integrator is at the limit, and the limit is changed,
Binary output QE=1, if Y=X.
the integrator behaves differently depending on the
Ramp--up and ramp--down times direction of the limit value change.
Ramp--up time TU is the time, in which the output value If the absolute limit value is increased, and if the control
increases by 100%. logic specifies that the ramp--function generator should
ramp--up in the same direction, the integrator integrates
Ramp--down time TD is the time in which the output
from the previously held value according to the set
value is reduced by 100%.
ramp--up time, until the output reaches the limit value
Ramp--up and ramp--down times can be set differently. again.
The lower TA/TU or TA/TD, then the lower is the If the absolute limit value is reduced, the integrator
amplitude change at Y from one sampling instant to the integrates, from the previously held value, according to
next. the selected ramp--down time, until the output again
TA is the sampling time with which the function block is reaches the limit value.
processed. Notes
Modes and control of the ramp--function generator The integrator operates internally with increased
accuracy, so that it still continues to integrate even for
The following priorities are valid for the control inputs:
small setpoint--actual value differences. It should be
S before CF before CU and CD.
ensured, that the sampling time is sufficiently low in
Function of the control inputs: relation to the ramp--up and ramp--down time.
S =1: Setting value SV is loaded into the integrator --
The illustrated operating gradient for acceleration YA
no integrating
can be used to
CF =1: Output Y tracks, integrating, setpoint X
a) determine the ramp--up respectively ramp--down
CU =1: Output Y tracks, integrating, in direction LU
time if acceleration YA is specified, for example
CD =1: Output Y tracks, integrating, in direction LL
YA=1% => TU/TA=100 => TU=100¡TA=
The combination of commands at the control inputs and 400ms/ TA=4ms
the possible modes can be taken from the truth tables. b) convert the ramp--up respectively ramp--down time in
For standard ramp--function generator operation, a proportional value, for example:
LL± 0± LU and LL<Yn<LU. However, other settings are ramp--up time=400ms=100¡TA/TA=4ms
possible which are explained in the following. ? YA=1%
The following is valid for the setting with LL² LU: ? TU as a proportional value
Limit LU is dominant over limit LL.

Truth table, ramp--function generator stop


S CF CU CD YAn Yn Mode Comments

0 0 0 0 0 Yn--1 Stop Y = constant

LL<LU and LL<actual value Yn--1<LU


1 * * * Step SVn Set output to SV SV, any value, fixed or variable

0 1 * * TA/TU; TA/TD Yn--1 +YAn Standard operation Y ® X TU for [X > Y ? Y ³ 0] ? [X < Y ? Y £ 0]


TD for [X > Y ? Y < 0] ? [X < Y ? Y > 0]

0 0 1 0 TA/TU (TA/TD) Yn--1 +YAn Approach upper limit value Y ® LU TU,TD as before, dep. on the initial position

0 0 0 1 TA/TD (TA/TU) Yn--1 +YAn Approach lower limit value Y ® LL TU,TD as before, dep. on the initial position

* = any

2--2 05.96 Siemens AG Item No.: 465 980.7104.23

SIMADYN D ¡ Standard Function Blocks P16


Ramp--function generator RGE

Transfer functions Example 3: Set integrator with LL<LU

X,Y
1
CU
LU 0
1
CD
0
X1
LL < LU LL>LU LL < LU
1.0 Y
-1.0
LU

TU TD
X2 X4
TU TD
t

1.0 Reduce
--1.0 limit
t
X
Y X3
Increase
Reduce
LL limit
limit
Example 1: CF=1 with LL<LU and LL<X<LU, and LL
X1=150%, X2=X4=0.%, X3=-150%, LU=199%,
LL=-200%, TU>TD Example 4: Changing and interchanging limits LU and
LL
1
CU 0
1
CD
0 Operating gradient for acceleration YA
Y
YA
LU in %
100

10

t 1

LL 0.1
Example 2: Motorized potentiometer function with CU
and CD and with LL<LU, TU>TD 0.01

1
S 0

CF
1
0 100 101 102 103 104 16384
TU , TD
1 YA TA
CD 0

LU
X

SV

t
Technical data
Computation time 60 ms
LL

Siemens AG Item No.: 465 980.7104.23 05.96 2--3


SIMADYN D ¡ Standard Function Blocks P16

You might also like