<
From version < 25.1 >
edited by Karry Zhuang
on 2024/04/20 09:46
To version < 26.1 >
edited by Karry Zhuang
on 2024/04/20 09:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,6 +12,8 @@
12 12  
13 13  = 1. Overview =
14 14  
15 +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.
16 +
15 15  = 2. Calibrate Digits Readings =
16 16  
17 17  == 2.1 Calibrate a Water Meter ==
... ... @@ -18,13 +18,107 @@
18 18  
19 19  === 2.1.1 Introduce ===
20 20  
23 +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.
24 +
21 21  === 2.1.2 Fix Sensor to a Water Meter ===
22 22  
23 -=== 2.1.3 Calibrate ===
27 +Do the following with EVB_Board
28 +Debug Board SW12=[off on] : FT4222H SPI Slave mode
29 +AIoT Board SW123456=[off off off off off off]
24 24  
31 +[[image:image-20240419174248-4.png||height="419" width="419"]] [[image:image-20240419174159-3.png||height="420" width="556"]]
25 25  
26 -== 2.2 Calibrate a Power Meter ==
33 +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.
27 27  
28 -== 2.3 Calibrate a Gas Meter ==
35 +[[image:image-20240419173432-1.jpeg||height="757" width="757"]]
29 29  
37 +
38 +=== 2.1.3 校准 ===
39 +
40 +在EVB板上执行电源复位,确保在打开HMX_FT4222H_GUI.exe之前关闭ota.exe程序。
41 +
42 +(% class="box warningmessage" %)
43 +(((
44 +(% class="mark" %)注意:在启动软件“HMX_FT4222H_GUI.exe”之前,必须预安装VisualCppRedist_AIO_x86_x64_v42.exe配置环境。否则将导致在运行软件时出现错误弹出窗口。
45 +)))
46 +
47 +[[image:1713519971789-213.png]]
48 +
49 +接下来,选择波特率 921600,然后单击“开始”。然后,单击“显示完整图像”以显示相机屏幕。
50 +
51 +[[image:image-20240419174908-5.png||height="491" width="406"]][[image:image-20240419175103-7.png||height="489" width="632"]]
52 +
53 +单击“启用 Raw”并将 BMP 图像保存在“保存”文件夹中。此步骤对于获取表盘的坐标点是必需的。
54 +
55 +[[image:image-20240419175324-8.png||height="637" width="911"]]
56 +
57 +[[image:image-20240419175324-9.png||height="348" width="913"]]
58 +
59 +这款水表只有五个字段,数字轮盘的坐标点如图所示。
60 +
61 +如果您的设备数字滚轮拨盘不符合这五个字段,您可以尝试 2.4 中的其他字段拨盘坐标点图。
62 +
63 +[[image:1713573839396-314.png||height="198" width="649"]]
64 +
65 +
66 +应使用计算机的绘图工具打开最新的 bmp 图像并提取数字滚轮表盘的坐标。如附图所示,当前表盘的每个坐标点都可以根据坐标点的格式获得。鼠标指针在图像上的 (X,Y) 位置对应于图像的左下角。
67 +
68 +[[image:1713574859715-722.png||height="481" width="576"]]
69 +
70 +点击“HIMAX_AMR_PC_Tool”中的“ROI设置”按钮,会出现三个选项。
71 +
72 +名为“长表盘”的选项代表长指针表盘。
73 +
74 +名为“短拨盘”的选项是指短指针和数字滚轮拨盘。
75 +
76 +标有“数字滚轮”的选项表示数字滚轮拨盘。
77 +
78 +目前,我们正在校准水表的数字轮面,因此我们应该选择“数字轮”选项。
79 +
80 +[[image:1713576691266-408.png]]
81 +
82 +1:填写刚刚得到的坐标,最好得到一个坐标并填写一个坐标;
83 +2:填写自己表盘上的数字轮号;
84 +3:选择短指针的数量(目前我们不使用短指针,“数字轮”选项默认为 0)。
85 +4:预览其坐标设置是否准确;
86 +5:点击将所有配置写入AIS
87 +6:点击退出配置界面,此时会出现读数,如下图所示,如果读数与表盘一致,则校准成功。此后,AIS无法移动,以避免误读。
88 +
89 +[[image:1713576930301-479.png]]
90 +
91 +可以通过单击“预览校正”按钮来预览效果,如下所示。
92 +
93 +[[image:1713577029535-253.png]]
94 +
95 +
96 +校准过程完成后,可以观察到获得的读数与数字滚轮刻度盘上显示的数值一致。
97 +
98 +[[image:1713577072196-132.png]]
99 +
100 +== 2.2 校准功率计 ==
101 +
102 +== 2.3 校准燃气表 ==
103 +
104 +== 2.4 数字轮刻度盘取点坐标图 ==
105 +
106 +4 个数字:
107 +
108 +[[image:image-20240420094632-11.png||height="134" width="410"]]
109 +
110 +5 个数字:
111 +
112 +[[image:image-20240420094632-12.png||height="130" width="427"]]
113 +
114 +6 个数字:
115 +
116 +[[image:image-20240420094632-13.png||height="112" width="444"]]
117 +
118 +7 个数字:
119 +
120 +[[image:image-20240420094632-14.png||height="111" width="454"]]
121 +
122 +8 个数字:
123 +
124 +[[image:image-20240420094632-15.png]]
125 +
30 30  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0