





   
   
|
|
Analog Configuration
Overview of Analog Configuration Tool
The Analog to Digital Converter ( ADC ) of each channel converts the analog signal from the
corresponding sensor to the digital code. The analog input range of the ADC is determined by the reference voltages -
UPR2 High and UPR1 Low. The full-scale range of the ADC is equal to UPR2 High - UPR1 Low. Output of the ADC is value from 0 units at UPR1 Low to 1023 units at UPR2 High.
SerReg converts these units to the required engineering units by a transformation file. This file is generated by means
of Analog Configuration Tool. Analog Configuration Tool can work in two modes: Linear Conversion and Nonlinear Conversion.
Linear Conversion mode creates a linear relation between the analog input ( U in ) and the displayed value. This is the most used
mode because the most sensors are designed to be linear.Nonlinear Conversion mode is very useful when the sensor has a nonlinear
output ( thermistor , RTD ). This mode allows to create a straight-line relation between the physical variable and the
displayed value by a linear interpolation. In this case, physical variable must be applied to the sensor.
 fig.1 Convert Mechanism Where U PR1 Low and U PR2 High are determined with PR1 and PR2 resistors. |
Main Dialog Box
 fig.2 Analog Configuration Tool
|
Common controls of Analog Configuration Tool:
-
Generate - generates a tranformation file
Units - name of engineering units as an example: kPa , C
Decimal Places - number of digits after the decimal point
Linear / Nonlinear Conversion - mode select radio buttons
Main modes:
-
Linear Conversion




- Click on Linear Conversion radio button.
- Enter the desired engineering units in Lower Limit ( 0 ) edit box.
- Enter the desired engineering units in Upper Limit ( 1023 ) edit box.
- Click on Generate button.
- In the interface application open the configuration dialog of the corresponding channel and load the generated file by clicking on Convert File button.
Nonlinear Conversion


- Connect the desire sensor to SerReg.
- Select a COM port and a channel.
- Apply physical variable to the sensor that corresponds to the lower calibration point.
- In the edit box Value On Display enter the value of the physical variable applied to the sensor and click Set button.You can see the corresponding units ( N ) from SerReg in the static box Value From PIC.
- Change the value of the physical variable applied to the sensor and repeat step 4 until reach the upper calibration point.
- Click on Generate button.
- If you want to edit the entered value, double click on it in the table.
- You can change the edit box Value On Display with Step and "+" or "-" buttons.
- In the interface application open the configuration dialog of the corresponding channel and load the generated file by clicking on Convert File button.
|
  |