AH500 Module Manual
2-8
(X: Analog signal; Y: Digital value)
Example 2:
The inputs received by a channel are voltages in the range of -10.0 V to +10.0 V. The original
signals are used. The gain is 1, and the offset is 0. If the voltage received by the channel is 0 V, the
digital value is 0.0. If the voltage received by the channel is 10.0 V, the digital value is 10.1. Users
can calibrate the channel by calibrating the gain and the offset.
The users can get the gain for the calibration by means of the equations below.
Gain=(Y2-Y1)/(X2-X1)=[10.1-0]/(10-0)=1.01
Gain used for calibration=1/Gain=1/1.01=0.99
The users can get the offset for the calibration by means of the equations below.
Offset=Y1=0
Offset used for calibration=0-Y1=0
(X: Analog signal; Y: Digital value)
10
10.1
-10
Voltage (X)
Original signals
Signals after the calibration
(X1, Y1) (0 V, 0)
(X2, Y2) (10 V, 10.1)
Di
ital value
10V
10
(X2, Y2) (10 V, 9.95)
(X1, Y1) (0 V, -0.05)
-10
Voltage (X)
Original signals
Signals after the calibration
Digital value (Y)
10 V
-10 V