Casting barcodes for cylindrical pipe fittings, identification methods and systems for casting barcodes of cylindrical pipe fittings

By designing multi-line binary encoded cylindrical pipe casting barcodes and using 3D scanning technology, the problems of untimely data flow and errors caused by manual identification were solved, realizing automated identification of casting barcodes and improving production efficiency and data accuracy.

CN115271017BActive Publication Date: 2026-06-02WUHU YINGSHIMAI INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHU YINGSHIMAI INTELLIGENT TECH CO LTD
Filing Date
2022-08-04
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In existing technologies, the identification of casting pipe numbers during the production of cylindrical pipe fittings relies on manual operation, which leads to untimely data flow and statistical errors, making it difficult to achieve automated and efficient inter-process data transfer.

Method used

A casting barcode for cylindrical pipe fittings is designed, employing a multi-line binary encoding structure. Combined with a 3D scanner and a decoding workstation, the barcode is automatically identified through an identification system. This includes the encoded image of the start position, end position, and data information. Point cloud data is collected using laser scanning and filtered and verified to identify the start and end positions of the casting barcode. Median filtering and smoothing are then used to achieve accurate decoding of the barcode information.

Benefits of technology

Automatic identification of barcodes in cylindrical pipe castings has been achieved, improving the timeliness and accuracy of data transmission, overcoming the problems of rough casting surfaces and poor illumination, simplifying mechanical structures, and improving production efficiency and information scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115271017B_ABST
    Figure CN115271017B_ABST
Patent Text Reader

Abstract

This invention discloses a method for identifying casting barcodes on cylindrical pipe fittings, comprising the following steps: S1, laser scanning to acquire point cloud data of the casting barcode on the cylindrical pipe fitting; S2, filtering the point cloud data of the casting barcode to remove invalid and abnormal points; S3, extracting the start and end positions of each code in the casting barcode from the point cloud data, and calculating the width of each code; S4, determining code 1 corresponding to the start position and code 2 corresponding to the end position in the casting barcode based on the code width, and identifying and decoding the codes between code 1 and code 2 to obtain the encoding information of the casting barcode. This invention utilizes a 3D scanner to scan the point cloud data of the casting barcode on the surface of the pipe fitting, enabling automatic barcode recognition for each pipe fitting product in different processes, solving problems such as untimely data flow and data statistics errors caused by manual statistics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of visual inspection technology. More specifically, this invention relates to a casting barcode for cylindrical pipe fittings, a method and system for identifying the casting barcode of cylindrical pipe fittings. Background Technology

[0002] The digitalization and informatization of the manufacturing process can make the entire production process transparent, effectively improving production efficiency and reducing production costs. In the pipe fitting production process, pipe castings need to undergo shot blasting, grinding, machining, hydraulic pressing, painting, and warehousing. Identifying the casting number on each casting is a key step in achieving automatic flow and data statistics between processes. Currently, the method used in production is to manually read and identify the casting number at each process and input it into the production management system. Manual statistics lead to problems such as untimely data flow and data errors. Summary of the Invention

[0003] This invention provides a method for identifying casting barcodes on cylindrical pipe fittings, aiming to achieve automatic identification of casting barcodes on cylindrical pipe fittings.

[0004] This invention is implemented as follows: a casting barcode for cylindrical pipe fittings, the casting barcode for cylindrical pipe fittings comprising:

[0005] The start bit, stop bit, and data information are located between the start bit and the stop bit. The start bit, data information, and stop bit are encoded in binary to form a multi-line encoded image. The encoded images of the start bit and stop bit are different in size from the encoded image of the data information.

[0006] The data information consists of row numbers and encoding information.

[0007] Furthermore, the encoded image size of the start and stop bits is larger than the encoded image size of the data information.

[0008] Furthermore, the data information also includes a checksum, used to verify the encoded information after identification.

[0009] This invention is implemented as follows: a method for identifying casting barcodes on cylindrical pipe fittings, the method specifically including the following steps:

[0010] S1. Laser scanning is used to collect point cloud data of the casting barcode on the cylindrical pipe fitting;

[0011] S2. Filter the point cloud data of the cast barcode to remove invalid and abnormal points;

[0012] S3. Extract the start and end positions of each code in the casting barcode from the point cloud data, and calculate the width of each code;

[0013] S4. Based on the encoding width, determine the encoding 1 corresponding to the start position and the encoding 2 corresponding to the stop position in the cast barcode. Identify and decode the encoding between encoding 1 and encoding 2 to obtain the barcode information of the cast barcode.

[0014] Furthermore, the specific methods for extracting the start and end positions of each code are as follows:

[0015] S31. Extract the distance value z with the maximum distance from the laser scanner from the filtered barcode point cloud. max and the minimum distance value z min , z max To z min Decrease the distance threshold sequentially.

[0016] S32. Detect whether there is a continuous point cloud region between two adjacent distance thresholds;

[0017] S33. If it does not exist, increase the next distance threshold and execute step S32; if it exists, execute step S34.

[0018] S34. Extract the coordinates of the start and end positions of each continuous point cloud region;

[0019] S35. Merge the coordinates of the start and end positions of all continuous point cloud regions to obtain the start and end positions of all codes.

[0020] Furthermore, the start and end positions that have an inclusion relationship are merged to complete the fusion of the start and end position coordinates of all continuous point cloud regions.

[0021] Furthermore, based on the distance between the laser scanner and the cast barcode, a lower and upper limit for the distance threshold are set. Points that are not located at the lower or upper limit of the distance threshold are identified as invalid or abnormal points, and invalid and abnormal points are removed from the point cloud data.

[0022] Furthermore, the procedure includes the following steps after step S2 and before step S3:

[0023] The filtered barcode point cloud is then subjected to median filtering and smoothing.

[0024] This invention is implemented as follows: a system for identifying casting barcodes on cylindrical pipe fittings, the system comprising:

[0025] The bracket has a traction cable connecting the handheld 3D scanner to the end of the bracket. The handheld 3D scanner is connected to the decoding workstation, and the decoding workstation is connected to the MES system.

[0026] Below the handheld 3D scanner is a station for placing cylindrical pipe fittings, with the casting barcode side of the cylindrical pipe fitting placed in front of the 3D scanner;

[0027] The point cloud data of the casting barcode on the cylindrical pipe fitting at the workstation is scanned line by line by a handheld 3D scanner and sent to the decoding workstation. The decoding workstation identifies the casting barcode of the cylindrical pipe fitting at the workstation based on the casting barcode identification method described in any one of claims 4 to 8 and sends it to the MES system for casting barcodes.

[0028] This invention utilizes a 3D scanner to scan the point cloud data of barcode castings on the surface of pipe fittings. The casting barcodes for each pipe fitting product can be automatically recognized at different stages of the manufacturing process, solving problems such as untimely data flow and statistical errors caused by manual statistics. Scanning point cloud data with a 3D line laser scanner overcomes the problems of rough casting surfaces and poor lighting on metal surfaces during 2D image acquisition, facilitating barcode data reading and recognition. Furthermore, compared to point laser scanning, it eliminates the need for a turntable, simplifying the mechanical structure and significantly improving efficiency. The barcodes are arranged in multiple rows, and the encoded data can be expanded by adding barcode marker rows, improving the scalability of the information being written. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the structure of a casting barcode for cylindrical pipe fittings provided in an embodiment of the present invention;

[0030] Figure 2 A flowchart illustrating the method for recognizing casting barcodes provided in an embodiment of the present invention;

[0031] Figure 3 This is a schematic diagram of the structure of the casting barcode recognition system provided in an embodiment of the present invention. Detailed Implementation

[0032] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, so as to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention.

[0033] Figure 1 This is a schematic diagram of the structure of a casting barcode for cylindrical pipe fittings provided in an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown. The casting barcode for cylindrical pipe fittings includes:

[0034] The start bit, stop bit, and data information are located between the start bit and the stop bit. The start bit, data information, and stop bit are encoded using multi-line binary to form a multi-line encoded image. The encoded images of the start bit and stop bit are different in size from the encoded image of the data information. The data information consists of row numbers and encoded information.

[0035] The start and end bits are used to identify the start and end positions of the data information, the row number is used to identify the row number of the encoded image, and the encoded information is the identification number of the cylindrical pipe fitting.

[0036] In this embodiment of the invention, the encoded image size of the start bit and the stop bit is larger than the encoded image size of the data information, and the encoded image size of the start bit and the stop bit is the same.

[0037] In this embodiment of the invention, the data information also includes: a check code, used for verifying the encoded information after identification.

[0038] Figure 2 This is a flowchart of a method for recognizing casting barcodes provided in an embodiment of the present invention. The method specifically includes the following steps:

[0039] S1. Laser scanning is used to collect point cloud data of the casting barcode on the cylindrical pipe fitting;

[0040] S2. Filter the point cloud data of the cast barcode to remove invalid and abnormal points;

[0041] In this embodiment of the invention, a lower limit and an upper limit of the distance threshold are set based on the distance between the laser scanner and the cast barcode. Points that are not located at the lower limit and the upper limit of the distance threshold are identified as invalid points and abnormal points. Invalid points and abnormal points are removed. Then, the filtered barcode point cloud is subjected to median filtering and smoothing.

[0042] S3. Extract the start and end positions of each code in the casting barcode from the point cloud data, and calculate the width of each code;

[0043] S4. Based on the encoding width, determine the encoding 1 corresponding to the start position and the encoding 2 corresponding to the stop position in the cast barcode. Identify and decode the encoding between encoding 1 and encoding 2 to obtain the barcode information of the cast barcode.

[0044] In this embodiment of the invention, the method for extracting the start and end positions of each code is as follows:

[0045] S31. Extract the distance value z with the maximum distance from the laser device from the filtered barcode point cloud. max and the minimum distance value z min , z max To z min The distance threshold is set to decrease sequentially, and the laser direction is the z-axis.

[0046] S32. Detect whether there is a continuous point cloud region between two adjacent distance thresholds;

[0047] S33. If it does not exist, increase the next distance threshold and execute step S32; if it exists, execute step S34.

[0048] S34. Extract the coordinates of the start and end positions of each continuous point cloud region;

[0049] S35. Merge the coordinates of the start and end positions of all continuous point cloud regions to obtain the start and end positions of all codes.

[0050] The fusion of start and end position coordinates refers to merging start and end positions that have an inclusion relationship. Taking the merging of continuous point cloud region 1 and continuous point cloud region 2 as an example, the details are as follows:

[0051] Assuming a continuous point cloud region 1 has a start position 1 and an end position 1, and a continuous point cloud region 2 has a start position 2 and an end position 2, if both start position 1 and end position 1 are located within the regions where start position 2 and end position 2 are located, then continuous point cloud region 1 is merged into continuous point cloud region 2, with the start position of the merged region being start position 2 and the end position being end position 2; if only start position 1 is located within the regions where start position 2 and end position 2 are located, then continuous point cloud region 1 and continuous point cloud region 2 are merged, with the start position of the merged region being start position 2 and the end position being end position 1; if only end position 1 is located within the regions where start position 2 and end position 2 are located, then continuous point cloud region 1 and continuous point cloud region 2 are merged, with the start position of the merged region being start position 1 and the end position being end position 2.

[0052] Figure 3 This is a schematic diagram of the casting barcode recognition system provided in an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown. The system includes:

[0053] The bracket has a traction cable connecting the handheld 3D scanner to the end of the bracket. The handheld 3D scanner is connected to the decoding workstation, and the decoding workstation is connected to the MES system.

[0054] Below the handheld 3D scanner is a station for placing cylindrical pipe fittings, with the casting barcode side of the cylindrical pipe fitting placed in front of the 3D scanner.

[0055] The point cloud data of the casting barcode on the cylindrical pipe fitting at the workstation is scanned line by line by a handheld 3D scanner and sent to the decoding workstation. The decoding workstation identifies the casting barcode on the pipe fitting based on the above casting barcode identification method and sends it to the MES system for casting barcode for production management and product tracking.

[0056] The present invention has been described by way of example. Obviously, the specific implementation of the present invention is not limited to the above-described manner. Any non-substantial improvements made using the inventive concept and technical solution of the present invention, or the direct application of the inventive concept and technical solution of the present invention to other occasions without modification, are all within the protection scope of the present invention.

Claims

1. A method for identifying casting barcodes on cylindrical pipe fittings, characterized in that, The casting barcode for cylindrical pipe fittings includes: The system consists of a start bit, a stop bit, and data information. The data information is located between the start bit and the stop bit. The start bit, data information, and stop bit are encoded in binary to form a multi-line encoded image. The encoded images of the start bit and the stop bit are different in size from the encoded image of the data information. The data information consists of row numbers and encoded information. The method for identifying casting barcodes used in cylindrical pipe fittings includes the following steps: S1. Laser scanning is used to collect point cloud data of the casting barcode on the cylindrical pipe fitting; S2. Filter the point cloud data of the cast barcode to remove invalid and abnormal points; S3. Extract the start and end positions of each code in the casting barcode from the point cloud data, and calculate the width of each code; S4. Based on the encoding width, determine the encoding 1 corresponding to the start position and the encoding 2 corresponding to the stop position in the casting barcode, identify and decode the encoding between encoding 1 and encoding 2, and obtain the encoding information of the casting barcode. The specific methods for extracting the start and end positions of each code are as follows: S31. Extract the distance value z with the maximum distance from the laser scanner from the filtered barcode point cloud. max and the minimum distance value z min , z max To z min Decrease the distance threshold sequentially. S32. Detect whether there is a continuous point cloud region between two adjacent distance thresholds; S33. If it does not exist, increase the next distance threshold and execute step S32; if it exists, execute step S34. S34. Extract the coordinates of the start and end positions of each continuous point cloud region; S35. Merge the coordinates of the start and end positions of all continuous point cloud regions to obtain the start and end positions of all codes. The starting and ending positions that have an inclusion relationship are merged to complete the fusion of the starting and ending position coordinates of all continuous point cloud regions.

2. The method for identifying casting barcodes for cylindrical pipe fittings as described in claim 1, characterized in that, The encoded image size of the start and stop bits is larger than the encoded image size of the data information.

3. The method for identifying casting barcodes for cylindrical pipe fittings as described in claim 1, characterized in that, The data information also includes a check code, which is used to verify the encoded information after identification.

4. The method for identifying casting barcodes for cylindrical pipe fittings as described in claim 1, characterized in that, Based on the distance between the laser scanner and the cast barcode, a lower and upper limit for the distance threshold are set. Points that are not located at the lower or upper limit of the distance threshold are identified as invalid or abnormal points, and invalid and abnormal points are removed from the point cloud data.

5. The method for identifying casting barcodes for cylindrical pipe fittings as described in claim 1, characterized in that, The steps following step S2 and before step S3 include: The filtered barcode point cloud is then subjected to median filtering and smoothing.

6. A system for identifying casting barcodes for cylindrical pipe fittings, characterized in that, The system includes: The bracket has a traction cable connecting the handheld 3D scanner to the end of the bracket. The handheld 3D scanner is connected to the decoding workstation, and the decoding workstation is connected to the MES system. Below the handheld 3D scanner is a station for placing cylindrical pipe fittings, with the casting barcode side of the cylindrical pipe fitting placed in front of the 3D scanner; The point cloud data of the casting barcode on the cylindrical pipe fitting at the workstation is scanned line by line by a handheld 3D scanner and sent to the decoding workstation. The decoding workstation identifies the casting barcode of the cylindrical pipe fitting at the workstation based on the casting barcode identification method described in any one of claims 1 to 5 and sends it to the MES system for casting barcodes.