Calibration of analog inputs on the tracking devices FOX3 or BOLERO40 series
How to calibrate the analog inputs on the tracking devices FOX3 or BOLERO40 series
Normally, no need to calibrate the IOs on the tracking devices FOX3 or BOLERO40 series. However, if your application requires an approx. exact reading, then proceed the calibration like below.
- Define the I0 as analog one using the configuration
$PFAL,IO0.Config=AI
- Please measure the Voltage that is attached to the input! 12 VDC on a power supply does not mean that really 12 VDC arrive at the input. (There are measuring pins on the eval-board). Otherwise the calibration is not accurate.
- Put the assigned port to GND and set the offset voltage to 0:$PFAL,IO0.Calibrate,offset=0
- Apply the maximum voltage your application uses to the specified analogue input and set the voltage gain to the voltage e.g. 12.0
$PFAL,IO0.Calibrate,gain=12.0
. Hint: How to display a percentage instead of the exact voltage?
Usually each value read out from an analog IO is measured in volts. If you are not interested in the specific voltage but for example desire the percentage ( x % of maximum), send the command$PFAL,IO0.Calibrate,gain=100
. Hint: How to show temperatures with positive and negative values from a temperature sensor?
If you want to use an analog temperature sensor which detects temperatures from -50°C to 50°C and outputs a voltage between e.g. 5 and 10 V (5V = -50°C, 10V=50°C), you can configure the analog input to output the temperature values instead of a voltage between 5 and 10 VDC:- Connect 5 VDC to the IO (or your sensor at -50°C).
- Execute the configuration command $
PFAL,IO0.Calibrate,offset=-50 then disconnect the 5 VDC.
- Connect 10 VDC to the IO (or your sensor at +50°C).
- Execute the configuration command $
PFAL,IO0.Calibrate,gain=50
[Originally Published On: 09/20/2019 10:55 AM]