App-5
IM DLM3054-01EN
Differentiation and Integration
The computation of the differentiated value uses the 5th order Lagrange interpolation formula to derive a point of
data from the five points of data before and after the target point.
The following equations use data f0 to fn and I0 to In with respect to sampling time x0 to xn. The derivative and
integrated values corresponding to these data points are computed as follows:
Differentiation (DIFF)
Point xk
fk' = [fk-2 – 8fk-1 + 8fk+1 – fk+2]
h = Dx is the sampling interval (sec) (example: When 5 kHz, h = 200 × 10-6)
1
12h
Integration(INTEG)
Point x0 I
0
= 0
Point x1 I
1
= (f
0
+ f
1
)h
Point x2 I
2
= (f
0
+ f
1
)h + (f
1
+ f
2
)h = I
1
+ (f
1
+ f
2
)
Point xn I
n
= I
n-1
+
1
2
1
2
1
2
1
2
(f
n-1
+ f
n
)h
1
2
Binary Conversion(BIN)
Performs binary conversion using the specified threshold levels.
1
0
Upper threshold level
Lower threshold level
Appendix