Kaiyi — 2.2.5 Functions

AH500 Module Manual Signals after the calibration Original signals (X2, Y2) (10 V, 9.95) Voltage (X) Digital value (Y) (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 (X2, Y2) (10 V, 10.1) Original signals Signals after the calibration Voltage (X) Digital value (Y) (X: Analog signal; Y: Digital value) 2-8 10 10 V Sign 10 (X1, Y1) (0 V, -0.05) -10 10.1 10 (X1, Y1) (0 V, 0) 10 -10