Coding method and device for digital level barcode scale
A technology of digital level and encoding method, which is applied in the direction of measuring devices, instruments, height/level measurement, etc., can solve the problem of low measurement accuracy, achieve the effect of improving accuracy, improving accuracy, and facilitating decoding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 As shown, a schematic flow chart of a coding method for a barcode ruler of a level gauge, including:
[0038] 100. Determine the line-of-sight range, the line-of-sight segment, and the barcode area corresponding to the line-of-sight segment according to the measurement requirements, and calculate the actual height h and actual width of the bar-code area that can be imaged on the image sensor according to the line-of-sight of the line-of-sight segment d and the minimum resolution size x of the image sensor for the barcode area.
[0039] 200, according to h, d, x and the total length of the barcode scale, respectively determine the number k of barcode types in the barcode areas of different width ranges in the barcode scale, the corresponding relationship between the barcode value and the width of the barcode, the distance L between adjacent barcodes, and the barcode The total number of barcodes in the area N, the number of barcodes in each code area m, ...
Embodiment 2
[0043] Such as figure 2 As shown, a schematic flow chart of a coding method for a barcode ruler of a level gauge, including:
[0044] 110. After the line-of-sight range is determined, the line-of-sight range is divided into multiple line-of-sight segments, and the multiple line-of-sight segments correspond to barcode areas of different width ranges, and the minimum line-of-sight range and the maximum line-of-sight distance of each line-of-sight line As well as the resolution of the image sensor, calculate the actual height h and actual width d of the barcode area of different width ranges that can be imaged on the barcode scale on the image sensor and the minimum resolution size x of the image sensor for the barcode area of different width ranges.
[0045] 210. According to h, d, x and the total length of the barcode scale, respectively determine the number k of barcode types in the barcode areas of different width ranges in the barcode scale, the corresponding relationsh...
Embodiment 3
[0052] The present invention also provides another embodiment of the coding method of the barcode scale of the level gauge based on the area array CCD, such as Figure 5 shown, including:
[0053] 120, the line-of-sight range is from 2 meters to 100 meters, divided into two line-of-sight segments from 2 meters to 10 meters and from 10 meters to 100 meters. Correspondingly, the barcode area is divided into a thin barcode area and a thick barcode area. According to the CCD resolution and The principle of optical imaging, when the viewing distance is 2 meters, 10 meters and 100 meters respectively, it is calculated that the actual height h on the barcode scale that can be imaged on the CCD is 19.2mm, 96mm and 960mm and the actual width d is 25.6 mm, 128mm and 1280mm, the minimum resolution size x of CCD is 0.032mm, 0.16mm and 1.6mm respectively.
[0054] 220, according to the calculated h, d, x and the total length of the barcode scale of 3 meters, in the thin barcode area, dete...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


