Table of Contents:

1. Overview

AIS is a video photo recognition sensor, the sensor can be used in electricity meters, gas meters, water meters, pressure gauges and other types of meters.  Accurately identify the number of the current dial or upload the picture of the current dial for comparison, which can replace people to go to the door to read the meter, and is more accurate and energy-saving than the meter.  The first thing to do is to fix the AIS sensor, the end direction needs to be aligned with the object that needs to be identified, you can check whether the object all appears in the lens range through the upper computer, and then calibrate, Chapter 2 will explain the calibration method of different tables.  

2. Calibrate Digits Readings

2.1 Calibrate a Water Meter

2.1.1 Introduce

This water meter is designed in accordance with the Chinese standard for drinking cold water meters and hot water meters, GB/T 778.1-2007. It features five dial numbers for measurement accuracy.

2.1.2 Fix Sensor to a Water Meter

Do the following with EVB_Board
Debug Board SW12=[off on] : FT4222H SPI Slave mode
AIoT Board SW123456=[off off off off off off]

image-20240419174248-4.pngData URI image image-20240419174159-3.pngData URI image

Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the water meter.

image-20240419173432-1.jpegData URI image

2.1.3 Calibration

Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe.

Note: before you start the software HMX_FT4222H_GUI.exe. you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software.

1713519971789-213.pngData URI image

Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen.

image-20240419174908-5.pngData URI imageimage-20240419175103-7.pngData URI image

Click "enable Raw" and save the BMP image in the "Save" folder. This step is necessary to obtain the coordinate points of the watch face.

image-20240419175324-8.pngData URI image

image-20240419175324-9.pngData URI image

This water meter has only five fields, and the coordinates of the digital roulette wheel are shown in the figure.

If your device's digital scroll wheel dial does not match these five fields, you can try the other field dial coordinate dot plots in 2.4.

1713573839396-314.pngData URI image

The computer's drawing tool should be utilized to open the most recent bmp image and extract the coordinates of the digital wheel dial, as depicted in the accompanying illustration. Additionally, each coordinate point of the current dial should be obtained following the format specified for the digital wheel dial.

1713574859715-722.pngData URI image

Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up

The "Long dial" option is the long hand dial.

The "Short dial" option is the short pointer and digital wheel dial.

The "Digit wheel" option is the digital wheel dial.

Now we are calibrating the digital wheel face of the water meter. Here we select "digit wheel".

1713576691266-408.pngData URI image

1:Fill in the coordinates you just got; it's best to get a coordinate and fill in a coordinate.

2: Fill in the number of number wheel on their dial;

3: Select the number of short Pointers (currently we don't use short Pointers, the "digit wheelu" option defaults to 0);

4: Preview whether the setting of their coordinates is accurate;

5: Click to write all configuration to AIS;

6: Click the exit configuration interface, at this time, there will be a readout. If the Reading of "reading" is consistent with the watch face, the calibration is successful. The AIS cannot move thereafter to avoid misreading.

1713576930301-479.pngData URI image

The effect can be previewed by clicking the "Preview correction" button as shown below.

1713577029535-253.pngData URI image

After the calibration process is completed, it can be observed that the obtained reading aligns consistently with the numerical value displayed on the digital wheel dial.

1713577072196-132.pngData URI image

2.2 Calibration power meter

2.1 Calibrate a Water Meter

2.2.1 Introduce

This water meter is designed in accordance with the Chinese standard for drinking cold water meters and hot water meters, GB/T 778.1-2007. It features five dial numbers for measurement accuracy.

2.2.2 Fix Sensor to a Water Meter

Do the following with EVB_Board
Debug Board SW12=[off on] : FT4222H SPI Slave mode
AIoT Board SW123456=[off off off off off off]

image-20240419174248-4.pngData URI image image-20240419174159-3.pngData URI image

Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the water meter.

image-20240419173432-1.jpegData URI image

2.2.3 Calibration

Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe.

Note: before you start the software HMX_FT4222H_GUI.exe. you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software.

1713519971789-213.pngData URI image

Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen.

2.3 Calibration gas meter

2.4 Digital wheel dial take point coordinate diagram

4  numbers:

image-20240420094632-11.pngData URI image

5 numbers:

image-20240420094632-12.pngData URI image

6 numbers:

image-20240420094632-13.pngData URI image

7 numbers:

image-20240420094632-14.pngData URI image

8 numbers:

image-20240420094632-15.pngData URI image

Tags:
    
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0