
2.4.6 Integration (L_PHINT)
Function library LenzeDrive.lib
Processing of phase−angle signals
2−44
L
LenzeDrive.lib EN 1.7
If the count falls below the value of −32000 encoder revolutions, then
bFail_b switches= TRUE.
If the count falls below the value of −32768 encoder revolutions (corresponds to −2147483648
inc.) there is an overflow, and the count procedure continues from a value of +32767 encoder
turns.
bReset_b = TRUE:
– the integrator switches to 0.
– sets dnOut_p to 0, as long as nIn_v has a positive signal applied.
– switches bFail_b = FALSE .
2.4.6.2 Calculation of the output signal
The output value at dnOut_p can be derived from the formula:
dnOut_p[inc] + nIn_v[rpm] @ t[s] @ 65536[incńUmdr.]
(t = integration time, 16384 15000 rpm, 1 inc. = 1)
Example:
You want to determine the count of the integrator with a certain speed at the input and a certain
integration time t.
Given values:
– nIn_v = 1000 rpm (INT)1092
– t = 10 s
– Start value of the integrator is 0.
Solution:
– Conversion of the input signal nIn_v:
1000rpm +
1000rev.
60s
– Calculation of the output signal
dnOut_p +
1000rev.
60s
@ 10s @
65536inc
rev.
+ 10922666inc
Kommentare zu diesen Handbüchern