Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 29.1
edited by Karry Zhuang
on 2024/04/20 10:46
on 2024/04/20 10:46
Change comment:
There is no comment for this version
To version 45.1
edited by Karry Zhuang
on 2024/04/20 14:42
on 2024/04/20 14:42
Change comment:
Uploaded new attachment "1713595371004-125.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 15 added, 0 removed)
- 1713581807938-460.png
- 1713581861452-512.png
- 1713581930163-372.png
- 1713581952939-423.png
- 1713592384928-500.png
- 1713595371004-125.png
- image-20240420105446-1.jpeg
- image-20240420105453-2.jpeg
- image-20240420134742-1.jpeg
- image-20240420134851-2.jpeg
- image-20240420135207-3.png
- image-20240420141955-4.png
- image-20240420143926-5.png
- image-20240420143939-6.png
- image-20240420144154-7.png
Details
- Page properties
-
- Content
-
... ... @@ -43,7 +43,7 @@ 43 43 44 44 (% class="box warningmessage" %) 45 45 ((( 46 -(% class="mark" %)Note: before you start the software hmx_ft4222h_gi.exe. you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software.46 +(% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. 47 47 ))) 48 48 49 49 (% aria-label="1713519971789-213.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713519971789-213.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -64,7 +64,7 @@ 64 64 65 65 (% aria-label="1713573839396-314.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713573839396-314.png||data-widget="image" height="198" width="649"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 66 66 67 -The computer's drawing tool should be u tilized to open the most recent bmp image and extractthe coordinates of the digital wheel dial, asdepictedin theaccompanying illustration. Additionally,each coordinate point of the current dialshould be obtainedfollowing the format specifiedfor the digitalwheeldial.67 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 68 68 69 69 (% aria-label="1713574859715-722.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713574859715-722.png||data-widget="image" height="481" width="576"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 70 70 ... ... @@ -105,6 +105,87 @@ 105 105 106 106 == 2.2 Calibration power meter == 107 107 108 + 109 +== 2.1 Calibrate a Water Meter == 110 + 111 +=== 2.2.1 Introduce === 112 + 113 +This power meter is designed in accordance with the Chinese standard for Electricity metering equipment, GB/T 17215.321-2008. It features six dial numbers for measurement accuracy. 114 + 115 +=== 2.2.2 Fix Sensor to a Water Meter === 116 + 117 +Do the following with EVB_Board 118 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 119 +AIoT Board SW123456=[off off off off off off] 120 + 121 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% style="background:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 122 + 123 +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 power meter. 124 + 125 +[[image:image-20240420134742-1.jpeg||height="909" width="909"]](% title="Click and drag to resize" %) 126 + 127 + 128 +=== 2.2.3 Calibration === 129 + 130 +Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 131 + 132 +(% class="box warningmessage" %) 133 +((( 134 +(% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. 135 +))) 136 + 137 +(% aria-label="1713519971789-213.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713519971789-213.png||data-widget="image"]](% style="background:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 138 + 139 +Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 140 + 141 +(% aria-label="image-20240419174908-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174908-5.png||data-widget="image" height="491" width="406"]][[image:image-20240420135207-3.png||height="450" width="654"]] 142 + 143 +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. 144 + 145 +[[image:1713592384928-500.png||height="494" width="266"]][[image:image-20240420141955-4.png||height="492" width="782"]] 146 + 147 +This power meter has only six fields, and the coordinates of the digital roulette wheel are shown in the figure. 148 + 149 +If your device's digital scroll wheel dial does not match these six fields, you can try the other field dial coordinate dot plots in 2.4. 150 + 151 +(% aria-label="image-20240420094632-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-13.png||data-widget="image" height="148" width="588"]] 152 + 153 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 154 + 155 +[[image:image-20240420134851-2.jpeg||height="626" width="837"]] 156 + 157 +(% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 158 + 159 +The "Long dial" option is the long hand dial. 160 + 161 +The "Short dial" option is the short pointer and digital wheel dial. 162 + 163 +The "Digit wheel" option is the digital wheel dial. 164 + 165 +Now we are calibrating the digital wheel face of the power meter. Here we select "digit wheel". 166 + 167 +(% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]](% style="background: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left: 0px; top: -15px; background: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left: 0px; top: -15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 168 + 169 +1: Fill in the coordinates you just got; it's best to get a coordinate and fill in a coordinate. 170 + 171 +2: Fill in the number of number wheel on their dial; 172 + 173 +3: Select the number of short Pointers (currently we don't use short Pointers, the "digit wheelu" option defaults to 0); 174 + 175 +4: Preview whether the setting of their coordinates is accurate; 176 + 177 +5: Click to write all configuration to AIS; 178 + 179 +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. 180 + 181 +(% aria-label="1713576930301-479.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576930301-479.png||data-widget="image"]](% style="background: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left: 0px; top: -15px; background: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left: 0px; top: -15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 182 + 183 +The effect can be previewed by clicking the "Preview correction" button as shown below. 184 + 185 + 186 + 187 + 188 + 108 108 == 2.3 Calibration gas meter == 109 109 110 110 == 2.4 Digital wheel dial take point coordinate diagram ==
- 1713581807938-460.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.7 KB - Content
- 1713581861452-512.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.7 KB - Content
- 1713581930163-372.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +136.3 KB - Content
- 1713581952939-423.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +238.7 KB - Content
- 1713592384928-500.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +136.3 KB - Content
- 1713595371004-125.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +127.8 KB - Content
- image-20240420105446-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.2 MB - Content
- image-20240420105453-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.2 MB - Content
- image-20240420134742-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.2 MB - Content
- image-20240420134851-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +269.6 KB - Content
- image-20240420135207-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +253.2 KB - Content
- image-20240420141955-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +228.4 KB - Content
- image-20240420143926-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +472.3 KB - Content
- image-20240420143939-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +472.3 KB - Content
- image-20240420144154-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +527.3 KB - Content