App-5
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)
0
1 = (f0 + f1)h
2 = (f0 + f1)h + (f1 + f2)h = I1 + (f1 + f2
n = In-1 +
1
2
1
2
1
2
1
2
(f
n-1 + fn)h
1
Binary Conversion(BIN)
Performs binary conversion using the specified threshold levels.
1
Upper threshold level
Appendix