Automatic code scanning system for die bonder material
By designing an automatic code scanning system during the production process of Mini LED display, the problems of low scanning efficiency and missed scanning are solved, and efficient QR code scanning and accurate upload of material information are achieved.
Patent Information
- Application Number
- CN202510380896.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-06-27
AI Technical Summary
During the production process of Mini LED display, manual scanning of QR codes on solid crystal materials is inefficient and easy to miss scanning, resulting in difficulty in following tracking.
Design an automatic code scanning system, including conveyor belts, code scanning equipment, sensors, industrial control machines and crystal solid machines. The sensor detects the material and triggers the signal. The industrial control machine controls the scanning device to scan the QR code, and performs damage repair and information extraction. The solid crystal machine uploads the information to the MES system.
It improves the scanning efficiency of the QR code of the solid crystal machine material, reduces the scan situation, and realizes automatic repair of damaged QR codes, ensuring accurate upload and follow-up tracking of material information.
Smart Images

Figure CN120218095A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Mini LED display manufacturing, and particularly to an automatic code scanning system for die bonding machine materials. Background Art
[0002] In the production process of Mini LED displays, the die bonding production materials are divided into chips and PCBs. Each time materials are put in, employees need to use a PDA to scan the QR code on the PCB and the QR code on the chip on the blue film. Scanning once takes about 1 minute, which is time-consuming and laborious, and the scanning efficiency is low. Secondly, if there is a missed scan and an abnormality occurs later, it is impossible to trace. Summary of the Invention
[0003] The present invention provides an automatic code scanning system for die bonding machine materials, which can solve the problems of low scanning efficiency and missed scanning in the prior art by manually scanning the QR codes on die bonding machine materials.
[0004] An embodiment of the present invention provides an automatic code scanning system for die bonding machine materials, including: a conveyor belt, a code scanning device installed above the conveyor belt, a sensor installed on the side of the conveyor belt, an industrial control computer, and a die bonding machine;
[0005] The sensor is used to detect the die bonding machine materials on the conveyor belt, and when detecting that there are die bonding machine materials passing by, generate a trigger signal and transmit the trigger signal to the industrial control computer;
[0006] The industrial control computer is used to control the code scanning device to start when receiving the trigger signal;
[0007] The code scanning device is used to scan the QR code on the die bonding machine materials after starting and transmit the scanned QR code image to the industrial control computer;
[0008] The industrial control computer is further used to identify whether the QR code image is damaged. If so, repair the damaged QR code image and extract the material information of the die bonding machine materials according to the repaired QR code image; if not, extract the material information of the die bonding machine materials according to the QR code image; and transmit the extracted material information to the die bonding machine;
[0009] The die bonding machine is used to upload the material information to the MES system for storage.
[0010] Further, the industrial control computer identifies whether the QR code image is damaged in the following manner:
[0011] Perform grayscale processing on the QR code image to obtain a grayscale image;
[0012] Perform binarization processing on the grayscale image to obtain a binary image;
[0013] Perform edge detection on the binary image to generate an edge image, and extract contour information in the edge image that conforms to the shape characteristics of the positioning patterns in the QR code.
[0014] Identify the positioning patterns in the QR code image according to the contour information. When the number of positioning patterns is not 3, or there are positioning patterns with discontinuous edges, determine that the positioning patterns in the QR code image are damaged.
[0015] Further, the industrial control computer also identifies whether the QR code image is damaged in the following manner:
[0016] In the binary image, search for continuous white pixel areas around the positioning patterns to determine the separators in the QR code image, and determine the format information and version information areas according to the standard specifications of the QR code.
[0017] Exclude the areas where the positioning patterns, separators, format information, and version information of the QR code image are located to obtain the area where the data modules are located.
[0018] Divide the area where the data modules are located according to the module structure of the QR code, determine the pixel range corresponding to each data module, and identify a number of data modules.
[0019] When the difference in the number between the total number of data modules in the QR code image and the total number of data modules in the standard QR code exceeds a preset difference, determine that the data modules in the QR code image are damaged.
[0020] Further, the damage repair of the QR code image includes:
[0021] When the number of positioning patterns is not 3, determine the relative position relationship of the three positioning patterns according to the standard specifications of the QR code.
[0022] Determine the positions of the missing positioning patterns according to the positions of the remaining positioning patterns and the relative position relationship of the three positioning patterns.
[0023] Generate a new positioning pattern at the positions of the missing positioning patterns according to a preset positioning pattern template for filling.
[0024] Further, the damage repair of the QR code image also includes:
[0025] When there are positioning patterns with discontinuous edges, for each positioning pattern with discontinuous edges, identify the discontinuous edges, and fill in the missing modules in the discontinuous edges according to the black-and-white alternating rule of the standard positioning pattern.
[0026] Further, the damage repair of the two-dimensional code image further includes:
[0027] When the quantity difference between the total number of data modules and the total number of data modules of the standard two-dimensional code exceeds a preset difference, determine the version and error correction level of the current two-dimensional code image according to the format information;
[0028] Extract the binary streams corresponding to all remaining data modules in the current two-dimensional code image;
[0029] Based on the extracted binary streams, generate the original data and error correction codewords through the Reed-Solomon algorithm;
[0030] Merge the original data and error correction codewords to form an updated binary stream;
[0031] Generate a complete two-dimensional code matrix according to the updated binary stream;
[0032] Cover the missing data module area according to the two-dimensional code matrix.
[0033] Further, the industrial control computer is further configured to control the conveyor belt to stop conveying and generate a warning message when the two-dimensional code image is damaged and the damage repair fails.
[0034] Further, the industrial control computer is further configured to control the conveyor belt to move a preset distance in the opposite direction and then re-control the conveyor belt to move in the original direction when the two-dimensional code image is not damaged but the material information of the die bonder material cannot be extracted, so that the scanning device re-scans the undamaged two-dimensional code image.
[0035] Further, one end of the conveyor belt close to the scanning device is connected to the feeding port of the die bonder, so that the die bonder material is transmitted to the feeding port of the die bonder after passing through the scanning device for two-dimensional code scanning.
[0036] Implementing the present invention has the following beneficial effects:
[0037] An embodiment of the present invention provides an automatic code scanning system for die bonding machine materials, including: a conveyor belt, a code scanning device installed above the conveyor belt, a sensor installed on the side of the conveyor belt, an industrial control computer, and a die bonding machine; the sensor is used to detect the die bonding machine materials on the conveyor belt, and when detecting that there is a die bonding machine material passing by, generate a trigger signal and transmit the trigger signal to the industrial control computer; the industrial control computer is used to control the code scanning device to start when receiving the trigger signal; the code scanning device is used to scan the two-dimensional code on the die bonding machine material after starting and transmit the scanned two-dimensional code image to the industrial control computer; the industrial control computer is also used to identify whether the two-dimensional code image is damaged, if so, repair the damaged two-dimensional code image, and extract the material information of the die bonding machine material according to the repaired two-dimensional code image; if not, extract the material information of the die bonding machine material according to the two-dimensional code image; and transmit the extracted material information to the die bonding machine; the die bonding machine is used to upload the material information to the MES system for storage. Compared with the prior art, the present application realizes the automatic scanning of the two-dimensional code on the die bonding material through the cooperation of the conveyor belt, the sensor and the scanning device, improves the scanning efficiency, reduces the situation of missed scanning, and automatically repairs the damaged two-dimensional code during the scanning process, further reducing the problem of missed scanning. In addition, the extracted material information is uploaded to the MES system by the die bonding machine for storage to realize subsequent traceability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the present application, the drawings required for implementation will be briefly introduced below. Obviously, the drawings in the following description are only some implementations of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0039] Figure 1 It is a system architecture diagram of an automatic code scanning system for die bonding machine materials provided by an embodiment of the present invention.
[0040] BRIEF DESCRIPTION OF THE DRAWINGS: Conveyor belt 1, Sensor 2, Code scanning device 3, Industrial control computer 4, Die bonding machine 5. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0041] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present application belong to the scope of protection of the present application.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terms used herein are for the purpose of describing specific embodiments only and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above description of the drawings are intended to cover non-exclusive inclusion.
[0043] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "a plurality" is more than two, unless otherwise specifically defined.
[0044] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appearing in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0045] In the description of the embodiments of this application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after.
[0046] In the description of the embodiments of this application, the term "a plurality" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0047] In the description of the embodiments of this application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected to", "fixed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can also be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of this application can be understood according to specific circumstances.
[0048] See Figure 1, An automatic code scanning system for die bonder materials provided by an embodiment of the present invention includes: a conveyor belt 1, a code scanning device 3 installed above the conveyor belt 1, a sensor 2 installed on the side of the conveyor belt 1, an industrial control computer 4, and a die bonder 5;
[0049] The sensor 2 is used to detect the die bonder 5 materials on the conveyor belt 1. When it detects that there is a die bonder 5 material passing by, it generates a trigger signal and transmits the trigger signal to the industrial control computer 4;
[0050] The industrial control computer 4 is used to control the code scanning device 3 to start when receiving the trigger signal;
[0051] The code scanning device 3 is used to scan the two-dimensional code on the die bonder 5 materials after starting and transmit the scanned two-dimensional code image to the industrial control computer 4;
[0052] The industrial control computer 4 is further used to identify whether the two-dimensional code image is damaged. If so, it repairs the damaged two-dimensional code image and extracts the material information of the die bonder 5 materials according to the repaired two-dimensional code image; if not, it extracts the material information of the die bonder 5 materials according to the two-dimensional code image; and transmits the extracted material information to the die bonder 5;
[0053] The die bonder 5 is used to upload the material information to the MES system for storage.
[0054] Preferably, the above-mentioned sensor 2 can use a photoelectric sensor 2 to judge whether there is a die bonding material passing through by emitting a light signal and detecting the reflected light or occlusion; the above-mentioned code scanning device 3 can be composed of a CCD camera and an industrial lens; the sensor 2 should be installed in front of the code scanning device 3, and the installation distance between the sensor 2 and the code scanning device 3 can meet the following formula: d = v * t; where d is the horizontal distance between the installation positions of the sensor 2 and the code scanning device 3, v is the conveying speed of the conveyor belt 1, and t is the sum of the starting duration of the code scanning device 3 and the image transmission time, so as to avoid missing scanning of the die bonding materials. In addition, the code scanning device 3 needs to be perpendicular to the surface of the die bonding materials to avoid image distortion caused by tilting, and the distance between the code scanning device 3 and the materials is within its depth of field.
[0055] In a preferred embodiment, one end of the conveyor belt 1 close to the code scanning device 3 is connected to the feeding port of the die bonder 5, so that the die bonder 5 materials are transmitted to the feeding port of the die bonder 5 after passing through the code scanning device 3 for two-dimensional code scanning.
[0056] During use, the staff places the replaced material of the die bonder 5 at one end of the conveyor belt 1 close to the sensor 2, with the QR code facing up. The conveyor belt 1 is controlled by a motor (not shown in the figure) to move along the sensor 2 towards the QR code scanning device 3. When the material of the die bonder 5 passes through the sensor 2, it is detected by the sensor 2, and a trigger signal is sent to the industrial control computer 4. The industrial control computer 4 sends a start command to the QR code scanning device 3, so that the QR code scanning device 3 starts after receiving the start command, scans the QR code on the material of the die bonder 5, and transmits the scanned QR code image back to the industrial control computer 4. After receiving the QR code image, the industrial control computer 4 detects whether the QR code is damaged. If it is damaged, it is repaired, and then the material information of the material of the die bonder 5 is extracted according to the repaired QR code image; otherwise, the material information is directly extracted according to the QR code image. After extracting the material information, the corresponding material information is transmitted to the die bonder 5. At the same time, after the material of the die bonder 5 passes through the QR code scanning device 3, it falls into the feeding port of the die bonder 5. And the die bonder 5 uploads the corresponding material information to the MES system (Manufacturing Execution System) for storage for subsequent traceability. Through the above process, the automatic scanning of the QR code of the material of the die bonder 5 can be realized, which improves the scanning efficiency, reduces the situation of missed scanning. In addition, the damaged QR code is automatically repaired during the scanning process, further reducing the problem of missed scanning.
[0057] In a preferred embodiment, the industrial control computer 4 identifies whether the QR code image is damaged in the following manner:
[0058] Perform gray-scale processing on the QR code image to obtain a gray-scale image;
[0059] Perform binary processing on the gray-scale image to obtain a binary image;
[0060] Perform edge detection on the binary image to generate an edge image, and extract contour information that conforms to the shape characteristics of the positioning pattern in the QR code from the edge image;
[0061] Identify the positioning pattern in the QR code image according to the contour information. When the number of the positioning patterns is not 3, or there is a positioning pattern with discontinuous edges, it is determined that the positioning pattern in the QR code image is damaged.
[0062] Specifically, the QR code image is converted into a single-channel grayscale image by weighted averaging, and then the grayscale image is converted into a black-and-white binary image. Then, the edge contour of the QR code is extracted by the Canny edge detection algorithm to obtain an edge image. Then, the contour that meets the characteristics of the QR code positioning pattern is extracted from the edge image. The QR code positioning pattern is three large squares, and the specific characteristics are as follows: Size: The side length accounts for 1 / 4 to 1 / 3 of the entire QR code. Position: Located in the upper left corner, upper right corner, and lower left corner respectively; Structure: Light-colored small squares are nested inside the dark square (similar to the shape of a "return"). Through the above features, the area that meets the corresponding characteristics is extracted to obtain the positioning pattern. Finally, if the number of positioning patterns is less than 3, for example, if only 2 positioning patterns are detected, the QR code is directly determined to be damaged. In addition, the edge continuity of the contour of each positioning pattern is checked: check whether there is a break or gap in the contour, and if so, the QR code is determined to be damaged.
[0063] In addition to the positioning pattern damage, the data module will also be damaged;
[0064] Therefore, in another preferred embodiment, the industrial computer 4 further identifies whether the two-dimensional code image is damaged by:
[0065] In the binary image, by searching for a continuous white pixel area around the positioning pattern, the separator in the two-dimensional code image is determined, and according to the standard specification of the two-dimensional code, the format information and version information area are determined;
[0066] Excluding the area where the two-dimensional code image positioning pattern is located, the area where the separator is located, the area where the format information is located, and the area where the version information area is located, to obtain the area where the data module is located;
[0067] Divide the area where the data module is located according to the module structure of the QR code, determine the pixel range corresponding to each data module, and identify and obtain several data modules;
[0068] If the difference between the total number of the data modules and the total number of data modules of a standard two-dimensional code exceeds a preset difference, it is determined that the data modules in the two-dimensional code image are damaged.
[0069] Specifically, in the structure of the QR code, the positioning pattern is used to assist the code scanning device 3 in locating the position and direction of the QR code, and the separator is a circle of white pixel areas surrounding the positioning pattern, with the previously identified positioning pattern as the center and the search is performed around it. Since the separator is a continuous white pixel area, the area where the separator is located can be found by setting a suitable search range and pixel color judgment condition (the white pixel value is usually 255).
[0070] However, according to the standard specifications of the QR code, the positions of the format information and version information areas are fixed. For example, the format information is usually located at specific positions in the upper left and lower right corners of the QR code, and the version information (for QR codes of version 7 and above) is located at specific positions in the upper right and lower left corners of the QR code. After determining the delimiter, the format information and version information areas can be determined based on these standard positions. The format information and version information contain key information such as the error correction level, mask pattern, and version number of the QR code.
[0071] In the binary image, mark the areas where the previously determined positioning patterns, delimiters, format information, and version information are located, and exclude these areas from the entire QR code image. The remaining part is the area where the data modules are located.
[0072] The data modules of the QR code are composed of small squares, and each square represents a binary bit (black square is 1, white square is 0). By dividing the area where the data modules are located according to the module structure of the QR code, the pixel range corresponding to each data module can be determined, and then all the data modules can be identified. Finally, calculate the total number of the identified data modules and compare it with the total number of standard data modules of the corresponding version of the QR code, and calculate the difference between the two. If the difference exceeds the preset difference, it is determined that the data modules in the QR code image are damaged.
[0073] Schematically, assume that we are dealing with a version 1 QR code, the total number of its standard data modules is 21×21 = 441, and the preset difference is 10. After the previous steps, the total number of data modules we identified is 420. At this time, the quantity difference is 441 - 420 = 21, which exceeds the preset difference of 10. Therefore, it can be determined that the data modules of this QR code are damaged.
[0074] In a preferred embodiment, the damage repair of the QR code image includes:
[0075] When the number of positioning patterns is not 3, according to the standard specifications of the QR code, determine the relative position relationship of the three positioning patterns;
[0076] According to the positions of the remaining positioning patterns and the relative position relationship of the three positioning patterns, determine the positions of the missing positioning patterns;
[0077] According to the preset positioning pattern template, generate a new positioning pattern at the position of the missing positioning pattern for filling.
[0078] Specifically, the positioning patterns in the QR code are located at fixed positions. The positioning pattern in the upper left corner: coordinates (0, 0); the positioning pattern in the upper right corner: coordinates (0, n - 1) (n is the number of side length modules of the QR code); the positioning pattern in the lower left corner: coordinates (n - 1, 0); they form an isosceles right triangle with a side length of n - 1 modules. Therefore, the location of the damaged positioning pattern can be determined based on the relative position relationship between the three remaining positioning patterns. For example: if the upper left (0, 0) and the upper right (0, n - 1) remain, then the coordinates of the lower left positioning pattern are (n - 1, 0).
[0079] The positioning pattern template is a 7×7 module, with a 5×5 black module in the center. There is a 1 - layer white border on the periphery. There is a 1 - layer black border on the outermost layer. Through the above - mentioned positioning pattern template, a new positioning pattern is directly generated and then filled in the corresponding position.
[0080] In a preferred embodiment, the damaged repair of the QR code image further includes:
[0081] When there is a positioning pattern with discontinuous edges, for each positioning pattern with discontinuous edges, identify the discontinuous edges, and fill in the missing modules in the discontinuous edges according to the black - and - white alternating rule of the standard positioning pattern.
[0082] Specifically, the standard positioning pattern has a specific structure, usually a 7×7 matrix composed of alternating black and white modules. Discontinuous edges mean that in the edge part of this 7×7 matrix, some modules are missing or damaged, resulting in the interruption of the originally continuous black - and - white alternating lines. Its black - and - white alternating rule is: starting from the upper left corner of the positioning pattern, the module colors alternate horizontally and vertically. For example, the module color order in the top row is black - white - black - white - black - white - black. According to the black - and - white alternating rule of the standard positioning pattern, determine the correct colors of the missing modules at the discontinuous edges, and then fill in these modules at the corresponding positions to restore the integrity of the positioning pattern.
[0083] Schematically, assume that the edge of the top row of a positioning pattern is discontinuous between the 3rd and 4th modules. By checking the colors of the existing surrounding modules, it is found that the 2nd module is white. According to the horizontal black - and - white alternating rule (black - white - black - white - black - white - black), it can be determined that the missing 3rd module should be black. Then, in the binarized image, set the pixel value at this position to 0 to complete the filling of the missing module.
[0084] In a preferred embodiment, the damaged repair of the QR code image further includes:
[0085] When the quantitative difference between the total number of data modules and the total number of data modules of the standard QR code exceeds a preset difference, determine the version and error correction level of the current QR code image according to the format information;
[0086] Extract the binary stream corresponding to all remaining data modules in the current QR code image;
[0087] Based on the extracted binary stream, use the Reed-Solomon algorithm to generate the original data and error correction codewords;
[0088] Combine the original data and error correction codewords to form an updated binary stream;
[0089] Generate a complete QR code matrix according to the updated binary stream;
[0090] Cover the missing data module area according to the QR code matrix.
[0091] Specifically, the format information of the QR code contains key contents such as the version and error correction level. The sizes and capacities of QR codes in different versions are different, and the error correction level determines the number of error correction codewords and the error correction ability. Accurately obtaining this information is the basis for subsequent error correction operations.
[0092] In the binarized QR code image, locate the area where the format information is located according to the QR code standard specification. Generally, the format information is located at specific positions in the upper left corner and lower right corner of the QR code.
[0093] Decode the binary data corresponding to the extracted format information to obtain the version number and error correction level of the QR code. The version number can clarify the size of the QR code (such as the number of modules), and the error correction level is usually divided into four levels: L (low), M (medium), Q (high), and H (highest).
[0094] Scan the data module area row by row or column by column according to the data encoding rule of the QR code, and convert the color (black or white) of each module into the corresponding binary value (1 or 0), so as to obtain the binary stream corresponding to all remaining data modules.
[0095] Determine the generating polynomial of the Reed-Solomon code according to the error correction level of the QR code. Using the extracted binary stream as the input, perform a series of polynomial operations with this generating polynomial to obtain the error correction codewords.
[0096] Separate the original data (i.e., the information to be actually encoded) and the generated error correction codewords from the extracted binary stream.
[0097] Arrange the original data and error correction codewords in sequence according to the order specified by the QR code encoding specification to form a new binary stream.
[0098] According to a specific coding rule (such as serpentine coding), each bit in the updated binary stream is sequentially mapped to each module position of the matrix. If the binary bit is 1, the corresponding module is black; if it is 0, the corresponding module is white.
[0099] Based on the generated data module matrix, non-data areas such as positioning patterns, separators, format information, version information, etc. are added to form a complete QR code matrix.
[0100] The generated complete QR code matrix is overlaid on the missing data module area of the original QR code image to repair the damaged part of the QR code.
[0101] In a preferred embodiment, the industrial control computer 4 is further configured to control the conveyor belt 1 to stop conveying and generate a warning message when the QR code image is damaged and the damage repair fails.
[0102] In this embodiment, if the QR code image cannot be repaired due to excessive damage, the industrial control computer 4 will control the motor to stop running to control the conveyor belt to stop conveying, and generate a warning message to be transmitted to the die bonder 5, which is uploaded to the MES system by the die bonder 5 to prompt the staff to replace it again.
[0103] In a preferred embodiment, the industrial control computer 4 is further configured to control the conveyor belt 1 to move a preset distance in the opposite direction and then re-control the conveyor belt 1 to move in the original direction when the QR code image is not damaged but the material information of the material of the die bonder 5 cannot be extracted, so that the scanning device 3 re-scans the undamaged QR code image.
[0104] In this embodiment, if the QR code image is not damaged but the corresponding material information is not extracted, it may be that the decoding of the industrial control computer 4 is incorrect. At this time, the industrial control computer 4 first controls the conveyor belt 1 to move a preset distance in the opposite direction, and then re-controls the conveyor belt 1 to move in the original direction, so that the scanning device 3 re-scans the undamaged QR code image, and then the industrial control computer 4 decodes again.
[0105] The above is the preferred implementation manner of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.
Claims
1. An automatic code scanning system for die bonding machine materials, characterized in that: include: A conveyor belt, a barcode scanning device installed above the conveyor belt, a sensor installed on the side of the conveyor belt, an industrial computer and a die bonder; The sensor is used to detect the die bonder material on the conveyor belt, and when it detects that the die bonder material passes by, it generates a trigger signal and transmits the trigger signal to the industrial computer; The industrial computer is used to control the code scanning device to start up when receiving the trigger signal; The code scanning device is used to scan the two-dimensional code on the material of the die bonding machine after startup, and transmit the scanned two-dimensional code image to the industrial computer; The industrial computer is further used to identify whether the two-dimensional code image is damaged. If so, the two-dimensional code image is repaired and the material information of the die bonding machine material is extracted according to the repaired two-dimensional code image; if not, the material information of the die bonding machine material is extracted according to the two-dimensional code image; and, transmitting the extracted material information to a die bonding machine; The die bonding machine is used to upload the material information to the MES system for storage.
2. The automatic code scanning system for die bonding machine materials according to claim 1, characterized in that: The industrial computer identifies whether the two-dimensional code image is damaged by: Gray-scale the two-dimensional code image to obtain a grayscale image; Binarizing the grayscale image to obtain a binary image; Detecting the edge of the binary image to generate an edge image, and extracting contour information that conforms to the shape features of the positioning pattern in the two-dimensional code from the edge image; The positioning patterns in the two-dimensional code image are identified according to the contour information, and when the number of the positioning patterns is not 3 or there are positioning patterns with discontinuous edges, it is determined that the positioning patterns in the two-dimensional code image are damaged.
3. The automatic code scanning system for die bonder materials according to claim 2, characterized in that: The industrial computer also identifies whether the two-dimensional code image is damaged by: In the binary image, by searching for a continuous white pixel area around the positioning pattern, the separator in the two-dimensional code image is determined, and according to the standard specification of the two-dimensional code, the format information and version information area are determined; Excluding the area where the two-dimensional code image positioning pattern is located, the area where the separator is located, the area where the format information is located, and the area where the version information area is located, to obtain the area where the data module is located; Divide the area where the data module is located according to the module structure of the QR code, determine the pixel range corresponding to each data module, and identify and obtain several data modules; If the difference between the total number of the data modules and the total number of data modules of a standard two-dimensional code exceeds a preset difference, it is determined that the data modules in the two-dimensional code image are damaged.
4. The automatic code scanning system for die bonding machine materials according to claim 3, characterized in that: The method of repairing the damaged QR code image includes: When the number of the positioning patterns is not 3, the relative position relationship of the three positioning patterns is determined according to the standard specification of the two-dimensional code; Determine the position of the missing positioning pattern according to the position of the remaining positioning pattern and the relative position relationship of the three positioning patterns; According to the preset positioning pattern template, a new positioning pattern is generated at the position of the missing positioning pattern for filling.
5. The automatic code scanning system for die bonder materials according to claim 4, characterized in that: The repairing of the damaged QR code image further includes: When there are positioning patterns with discontinuous edges, for each positioning pattern with discontinuous edges, the discontinuous edges are identified, and the missing modules in the discontinuous edges are filled according to the black-white alternating rule of the standard positioning pattern.
6. The automatic code scanning system for die bonder materials according to claim 5, characterized in that: The repairing of the damaged QR code image further includes: When the difference between the total number of data modules and the total number of data modules of the standard two-dimensional code exceeds a preset difference, determining the version and error correction level of the current two-dimensional code image according to the format information; Extract the binary stream corresponding to all remaining data modules in the current QR code image; Based on the extracted binary stream, the original data and error correction codewords are generated by using the Reed-Solomon algorithm; Merge the original data and the error correction codeword to form an updated binary stream; Generate a complete QR code matrix based on the updated binary stream; According to the two-dimensional code matrix, the missing data module area is covered.
7. The automatic code scanning system for die bonder materials according to claim 6, characterized in that: The industrial computer is also used to control the conveyor belt to stop conveying and generate warning information when the two-dimensional code image is damaged and the damage repair fails.
8. The automatic code scanning system for die bonder materials according to claim 7, characterized in that: The industrial computer is also used to control the conveyor belt to move in the opposite direction for a preset distance, and then re-control the conveyor belt to move in the original direction when the QR code image is not damaged but the material information of the crystal bonding machine material cannot be extracted, so that the scanning device can re-scan the undamaged QR code image.
9. The automatic code scanning system for die bonder materials according to claim 8, characterized in that: One end of the conveyor belt close to the code scanning device is connected to the feeding port of the crystal bonding machine, so that the material of the crystal bonding machine is transmitted to the feeding port of the crystal bonding machine after being scanned by the code scanning device for a two-dimensional code.
Citation Information
Cited By
Aluminum alloy casting full-automatic detection system and working method thereof
CN121103691A