A product inspection system

By introducing the IO board to automatically calculate the trigger delay function in the product inspection system, the problems of complexity and low automation are solved, and the accuracy of product removal and system integration and convenience are improved.

CN119783705APending Publication Date: 2025-04-08GUANGZHOU MICROEMBEDDED IDENTIFY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411787319.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing product inspection system has complex equipment and low degree of automation, resulting in inaccurate product removal, affecting the inspection and removal effect of products with small sizes, small spacing and fast speed on the production line.

Method used

A product inspection system is designed, including a scanning module, a computer, an IO board and a removal mechanism. The trigger delay of the culling trigger signal is automatically calculated through the IO board, and based on the distance data and the conveying speed of the production line, ensuring that the culling signal is triggered accurately when the product reaches the culling mechanism.

Benefits of technology

It improves the accuracy of product removal, reduces the impact of signal transmission delay on removal accuracy, enhances the integration and convenience of equipment, and reduces the cost of equipment debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119783705A_ABST
    Figure CN119783705A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of product inspection, and discloses a product inspection system for inspecting the current product on the production line; the system comprises: a scanning module for scanning the barcode set on the current product to obtain the current barcode data; a host computer connected to the scanning module for receiving the current barcode data and outputting a rejection instruction when the current barcode data is detected to be abnormal; an IO board connected to the output end of the host computer for determining the trigger delay after receiving the rejection instruction output by the host computer, and outputting a rejection trigger signal based on the trigger delay; a rejection mechanism connected to the output end of the IO board for receiving the rejection trigger signal; wherein the trigger delay is obtained based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line. Its beneficial effects are: improving the integration of the equipment, and being able to automatically calculate the trigger delay of the rejection trigger signal, thereby improving the accuracy of product rejection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of product inspection, and in particular to a product inspection system. Background Art

[0002] In the production process of products, it is usually necessary to set a barcode with a unique identifier on the product so that one product can be tracked with one code, improve product management efficiency, and ensure production quality. In actual situations, due to failures in the barcode data management link or the product production link, the barcode set on the product has duplicate data or data errors, making it impossible to effectively track the product. Therefore, it is usually necessary to use barcodes to inspect products and remove abnormal products from the production line to reduce the impact of barcode anomalies. In the related art, the degree of automation and equipment complexity of the technical solution for removing abnormal products still need to be improved. Summary of the invention

[0003] The present application provides a product inspection system, which solves the complex technical problems of equipment in related technologies, improves the integration of equipment, and can automatically calculate the trigger delay of the rejection trigger signal, thereby improving the accuracy of product rejection.

[0004] In order to achieve the above objectives, the main technical solutions adopted in this application include:

[0005] The embodiment of the present application provides a product inspection system for inspecting the current product on the production line; the system comprises:

[0006] A scanning module, used for scanning the barcode set on the current product to obtain the current barcode data of the current product;

[0007] A host computer connected to the scanning module, configured to receive the current barcode data and output a rejection instruction when an abnormality is detected in the current barcode data;

[0008] An IO board, connected to the output end of the host computer, for determining a trigger delay of a reject trigger signal after receiving a reject instruction output by the host computer, and outputting the reject trigger signal based on the trigger delay;

[0009] A rejection mechanism is connected to the output end of the IO board. Along the conveying direction of the current product, the rejection mechanism is located behind the scanning module. The rejection mechanism is used to receive the rejection trigger signal. The rejection trigger signal is used to trigger the rejection mechanism to reject the current product. The trigger delay is obtained based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line.

[0010] The product inspection system proposed in the embodiment of the present application, by scanning and detecting the barcode set on the product, when the current barcode data of the current product is abnormal, the IO board is used to automatically calculate the trigger delay of the rejection trigger signal according to the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line, and the rejection trigger signal is output to the rejection mechanism based on the trigger delay to reject the product corresponding to the abnormal barcode data. Compared with the related art, the present application automatically calculates the trigger delay according to the distance data and the conveying speed, so that the rejection trigger signal can accurately trigger the rejection mechanism when the product reaches the rejection mechanism to reject the product, thereby improving the accuracy of product rejection, and thus improving the inspection and rejection effect of small-sized, small-spacing and fast-speed products on the production line. In addition, compared with the technical solution of using a host computer to calculate the trigger delay in the related art, and outputting a rejection instruction to the IO board according to the trigger delay to trigger the rejection mechanism, the present application uses the IO board for automatic calculation, which reduces the influence of the delay of signal transmission on the accuracy of product rejection, and also improves the integration of the equipment, reduces the cost for equipment debugging, and improves the convenience of the system.

[0011] Optionally, the IO board is also used to receive the encoder speed signal of the production line to obtain the conveying speed of the production line; and perform delay calculation based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line to obtain the trigger delay.

[0012] Optionally, the system further includes a product detection module, which is located before the scanning module along the conveying direction of the current product; the product detection module is connected to the host computer and is used to detect whether the current product enters a detection area.

[0013] Optionally, the scanning module is further configured to scan a barcode set on the current product when it is detected that the current product enters the detection area, so as to obtain current barcode data of the current product.

[0014] Optionally, the host computer is also used to perform a double comparison on the current barcode data based on the original data and the read data to obtain a first comparison result and a second comparison result respectively; and determine whether the current barcode data has an abnormality based on the first comparison result and the second comparison result.

[0015] Optionally, the host computer is further used to perform a double code comparison on the current barcode data based on the read data to obtain the first double comparison result; wherein the read data is the barcode data determined to be free of abnormalities after double comparison;

[0016] The current barcode data is compared for errors based on the original data to obtain the second comparison result; wherein the original data respectively correspond to each product in the product batch to which the current product belongs.

[0017] Optionally, a database is pre-constructed in the host computer, and the database includes an original data table and a read data table, the original data table is used to store the original data, and the read data table is used to store the read data.

[0018] Optionally, the database further stores an abnormal data table for storing current barcode data with abnormalities; if the current barcode data is determined to be abnormal based on the first comparison result and the second comparison result, the current barcode data is stored in the abnormal data table.

[0019] Optionally, the scanning module is also used to capture an image of the current product; wherein the image includes a barcode of the current product; and the image is recognized using a deep learning algorithm to extract the current barcode data contained in the barcode of the current product.

[0020] Optionally, the system further comprises an alarm module; the IO board is further configured to simultaneously output the rejection trigger signal and the alarm signal;

[0021] The alarm module is connected to the output end of the IO board and is used to receive the alarm signal to issue an alarm prompt. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1 A structural diagram of a product inspection system provided in an embodiment of the present application;

[0024] Figure 2 This is a structural diagram of a scanning module in an embodiment of the present application;

[0025] Figure 3a A step diagram of a product inspection method provided in an embodiment of the present application;

[0026] Figure 3b Another step diagram of the product inspection method provided in the embodiment of the present application;

[0027] Figure 4A schematic diagram of the structure of a computer device provided in an embodiment of the present application.

[0028] Among them, the figure numbers of the drawings in the specification are as follows: 110. scanning module, 120. host computer, 130. IO board, 140. rejection mechanism, 150. product detection module, 160. production line, 170. alarm module, 111. scanning light source, 112. scanning camera. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0030] In the production process of products, it is usually necessary to set a unique barcode on the product so that the product can be tracked one by one, improve product management efficiency, and ensure production quality. In actual situations, due to failures in the barcode data management link or product production link, the barcode set on the product has duplicate data or data errors, making it impossible to effectively track the product. Therefore, it is usually necessary to use barcodes to inspect products and remove abnormal products from the production line to reduce the impact of barcode anomalies.

[0031] In the related art, when an abnormality is detected in a product, the host computer is usually used to calculate the trigger delay of the output trigger signal, and output a rejection instruction to the IO board according to the trigger delay, so that the IO board outputs a trigger signal to trigger the rejection device to reject the abnormal product. In the above scheme, the host computer calculates the trigger delay, sends the rejection instruction from the host computer to the IO board, and then outputs the trigger signal through the IO board. In the process, due to the possible delay in signal transmission between different devices, the rejection mechanism cannot accurately reject the abnormal product.

[0032] In addition, since the calculation of the trigger delay is completed by the host computer, different steps of product rejection are completed by different devices, which reduces the integration of the equipment and increases the overall complexity of the equipment, which in turn affects the installation and debugging process of the product inspection equipment.

[0033] Based on the above problems, the present application provides a product inspection system for inspecting the current product on the production line; the system includes: a scanning module, used to scan the barcode set on the current product to obtain the current barcode data; a host computer, connected to the scanning module, used to receive the current barcode data, and output a rejection instruction when an abnormality is detected in the current barcode data; an IO board, connected to the output end of the host computer, used to determine the trigger delay of the rejection trigger signal after receiving the rejection instruction output by the host computer, and output the rejection trigger signal based on the trigger delay; a rejection mechanism, connected to the output end of the IO board, used to receive the rejection trigger signal; wherein the trigger delay is obtained based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line.

[0034] The product inspection system proposed in the present application scans and detects the barcode set on the product. When there is an abnormality in the current barcode data of the current product, the IO board is used to automatically calculate the trigger delay of the reject trigger signal according to the distance data between the scanning module and the reject mechanism and the conveying speed of the production line, and outputs the reject trigger signal to the reject mechanism based on the trigger delay to reject the products corresponding to the barcode data with the abnormality.

[0035] Compared with the related art, the present application automatically calculates the trigger delay according to the distance data and the conveying speed, so that the rejection trigger signal can accurately trigger the rejection mechanism when the product reaches the rejection mechanism to reject the product, thereby improving the accuracy of product rejection, and thereby improving the inspection and rejection effect of small-sized, small-pitch and fast-speed products on the production line.

[0036] In addition, compared with the technical solution in the related art that uses a host computer to calculate the trigger delay and outputs a rejection instruction to the IO board according to the trigger delay to trigger the rejection mechanism, the present application uses the IO board for automatic calculation, which reduces the impact of signal transmission delay on the product rejection accuracy, while also improving the integration of the equipment, reducing the cost for equipment debugging, and improving the convenience of the system.

[0037] The product inspection system provided in this specification can be used to inspect products conveyed through a production line and automatically remove abnormal products. It is understandable that, after adaptive modification, this application can be used to inspect products conveyed in other ways, such as express sorting robots and material handling systems, etc. In addition, after adaptive modification, this application can also use other product identifiers other than barcodes to inspect products, such as QR codes, RFID and smart labels, etc.

[0038] Reference Figure 1As shown, in this embodiment, a product inspection system is provided for inspecting the current product on the production line 160; the system includes:

[0039] The scanning module 110 is used to scan the barcode set on the current product to obtain the current barcode data of the current product.

[0040] The host computer 120 is connected to the scanning module 110 and is used to receive the current barcode data and output a rejection instruction when an abnormality is detected in the current barcode data.

[0041] The IO board 130 is connected to the output end of the host computer 120, and is used to determine the trigger delay of the rejection trigger signal after receiving the rejection instruction output by the host computer 120, and output the rejection trigger signal based on the trigger delay.

[0042] The rejecting mechanism 140 is connected to the output end of the IO board 130. Along the conveying direction of the current product, the rejecting mechanism 140 is located behind the scanning module 110. The rejecting mechanism 140 is used to receive a rejecting trigger signal; wherein, the rejecting trigger signal is used to trigger the rejecting mechanism 140 to reject the current product, and the triggering delay is obtained based on the distance data between the scanning module 110 and the rejecting mechanism 140 and the conveying speed of the production line 160.

[0043] Specifically, Figure 1 As shown, the product inspection system provided by the present application is arranged near the production line 160, and includes a scanning module 110, a host computer 120, an IO board 130 and a rejection mechanism 140. The scanning module 110 and the rejection mechanism 140 are arranged along the conveying direction of the current product. Among them, the component for scanning the barcode in the scanning module 110 faces the production line 160, and the specific position of the scanning module 110 can be determined according to the position of the barcode set on the current product, for example, Figure 1 As shown, when the barcode is on the upper surface of the current product, the scanning module 110 can be set above the production line 160, and the component for scanning the barcode in the scanning module 110 is facing downward and aligned with the current product conveying position, so that the barcode set on the current product can be scanned.

[0044] Furthermore, the output end of the scanning module 110 is connected to the input end of the host computer 120, wherein the connection mode can be a network cable connection or a serial port connection, and the scanning module 110 outputs the current barcode data to the host computer 120 through the above connection mode. The host computer 120 is designed with corresponding application software. After receiving the current barcode data, the current barcode data is compared and tested by the application software to determine whether the current barcode data is abnormal. If the current barcode data is abnormal, it means that the corresponding current product will affect product tracking, and the current product needs to be removed and separated.

[0045] Furthermore, the output end of the host computer 120 is connected to the input end of the IO board 130, wherein the connection method may be a serial port connection. When there is an abnormality in the current barcode data, the host computer 120 outputs a rejection instruction to the IO board 130 through the above connection method, thereby instructing the IO board 130 and the rejection mechanism 140 to perform a subsequent product rejection process.

[0046] Furthermore, after receiving the rejection instruction, the IO board 130 automatically calculates the trigger delay corresponding to the current product based on the acquired conveying speed of the production line 160 and the distance data between the scanning module 110 and the rejection mechanism 140. The IO board 130 delays according to the trigger delay, and outputs a rejection trigger signal after the trigger delay ends, thereby instructing the rejection mechanism 140 to reject and separate the current product.

[0047] It should be noted that, compared with the technical solution in the related art that uses the host computer 120 to calculate the trigger delay and outputs a rejection instruction to the IO board 130 according to the trigger delay to trigger the rejection mechanism 140, the present application uses the IO board 130 to automatically calculate according to the distance data and the conveying speed to obtain the trigger delay corresponding to the current product, and outputs a rejection trigger signal to the rejection mechanism 140 according to the trigger delay, so that the rejection mechanism 140 can be accurately triggered, thereby achieving accurate rejection of abnormal products and improving the accuracy of product rejection.

[0048] Secondly, the IO board 130 in the present application can calculate the trigger delay based on the distance data and the conveying speed, so that the product inspection system provided by the present application can be applied to different production lines without the need for corresponding settings and adjustments, thereby expanding the scope of application of the product inspection system provided by the present application and improving the convenience of product inspection.

[0049] In addition, the present application uses the IO board 130 for automatic calculation, which reduces the impact of signal transmission delay on the accuracy of product rejection, and further improves the accuracy of product rejection. At the same time, since the trigger delay is calculated only through the IO board 130, the integration of the rejection device is improved, thereby reducing the complexity of the system, reducing the cost for equipment debugging, and improving the convenience of the system.

[0050] Furthermore, the output end of the IO board 130 is connected to the input end of the rejection mechanism 140, so that the IO board 130 can output a rejection trigger signal to the rejection mechanism 140 through the above connection to trigger the rejection mechanism 140 to reject the current product. In some embodiments, the rejection mechanism 140 can be a pneumatic mechanism or an electric mechanism.

[0051] The product inspection system provided in this embodiment scans and detects the barcode set on the product. When there is an abnormality in the current barcode data of the current product, the IO board 130 is used to automatically calculate the trigger delay of the reject trigger signal according to the distance data between the scanning module 110 and the reject mechanism 140 and the conveying speed of the production line 160, and outputs the reject trigger signal to the reject mechanism 140 based on the trigger delay to reject the products corresponding to the barcode data with the abnormality.

[0052] Compared with the related art, the present application automatically calculates the trigger delay according to the distance data and the conveying speed, so that the rejection trigger signal can accurately trigger the rejection mechanism 140 when the product reaches the rejection mechanism 140 to reject the product, thereby improving the accuracy of product rejection, and further improving the inspection and rejection effect of small-sized, small-pitch and fast-speed products on the production line.

[0053] In addition, compared with the technical solution in the related art that uses the host computer 120 to calculate the trigger delay and outputs the rejection instruction to the IO board 130 according to the trigger delay to trigger the rejection mechanism 140, the IO board 130 is used for automatic calculation in the present application, which reduces the impact of the signal transmission delay on the product rejection accuracy, while also improving the integration of the equipment, reducing the cost for equipment debugging, and improving the convenience of the system.

[0054] As an embodiment of the present application, the IO board 130 is also used to receive the encoder speed signal of the production line 160 to obtain the conveying speed of the production line 160; the delay is calculated according to the distance data between the scanning module 110 and the rejection mechanism 140 and the conveying speed of the production line 160 to obtain the trigger delay.

[0055] Specifically, the IO board 130 is connected to the encoder of the production line 160 to receive the encoder speed signal output by the encoder. The encoder speed signal is a pulse signal, and the IO board 130 determines the actual speed of the production line 160 conveying the current product by reading and calculating the encoder speed signal as the conveying speed of the production line 160.

[0056] It should be noted that compared with the solution in the related art of measuring the conveying speed of the production line 160 by means of photoelectric sensors or visual systems, the IO board 130 in the present application is directly connected to the encoder of the production line 160, and the encoder speed signal is used to determine the conveying speed of the production line 160. The obtained result is more accurate, thereby improving the accuracy of product rejection.

[0057] Furthermore, a trigger delay is obtained based on the distance data between the scanning module 110 and the rejection mechanism 140 and the conveying speed of the production line 160. After the trigger delay, the current product is conveyed from the production line 160 to the rejection mechanism 140, so that the current product can be accurately rejected by the rejection mechanism 140.

[0058] As an embodiment of the present application, the system also includes a product detection module 150, which is located before the scanning module 110 along the conveying direction of the current product; the product detection module 150 is connected to the host computer 120 to detect whether the current product enters the detection area.

[0059] Specifically, the product detection module 150 can be an infrared sensor or a photoelectric sensor, etc. When the current product is transported from the production line 160 to the product detection module 150, the product detection module 150 collects the arrival signal of the current product, indicating that the current product has entered the detection area, and the barcode set on the current product has entered the scanning field of view of the scanning module 110, and the barcode of the current product can be scanned.

[0060] As an embodiment of the present application, the scanning module 110 is also used to scan the barcode set on the current product when it is detected that the current product enters the detection area, so as to obtain the current barcode data of the current product.

[0061] Specifically, after collecting the arrival signal, the product detection module 150 sends a scan trigger signal to the scanning module 110 through the host computer 120, indicating that the current product has entered the detection area, thereby triggering the scanning module 110 to scan the barcode set on the current product, thereby realizing automatic scanning of the current product and obtaining the current barcode data of the current product.

[0062] As an embodiment of the present application, the host computer 120 is also used to perform a double comparison on the current barcode data based on the original data and the read data, and obtain a first comparison result and a second comparison result respectively; and determine whether there is an abnormality in the current barcode data based on the first comparison result and the second comparison result.

[0063] Specifically, the current barcode data input to the host computer 120 is compared by the application software in the host computer 120, so as to determine whether there is an abnormality in the current barcode data, so as to use the current barcode data to perform product inspection on the current product. The comparison process includes a double comparison based on the original data and the read data, wherein the first comparison result can be obtained by comparing the current barcode data with the original data; and the second comparison result can be obtained by comparing the current barcode data with the read data.

[0064] Furthermore, the product inspection is performed based on the first comparison result and the second comparison result to determine whether the current barcode data is abnormal. It should be noted that if any of the first comparison result or the second comparison result indicates that the current barcode data is abnormal, the current barcode data is determined to be abnormal, so as to perform the subsequent product rejection process. If both the first comparison result and the second comparison result indicate that the current barcode data is not abnormal, the current barcode data is determined to be abnormal, and the current barcode data is saved.

[0065] As an embodiment of the present application, the host computer 120 is also used to perform a double code comparison on the current barcode data based on the read data to obtain a first double comparison result; wherein the read data is the barcode data determined to have no abnormalities after double comparison.

[0066] Based on the original data, the current barcode data is compared for errors to obtain a second comparison result; wherein the original data respectively corresponds to each product in the product batch to which the current product belongs.

[0067] The read data is the barcode data that is determined to be free of abnormality after double comparison, and the read data may be the barcode data that has been scanned by the scanning module 110 and corresponds to the product that has passed the inspection in the product batch where the current product is located. If the current barcode data and the barcode data included in the read data are repeated, it means that a repeated barcode appears in the product batch where the current product is located, that is, the current barcode data of the current product is abnormal.

[0068] It is understandable that after double comparison, if both the first comparison result and the second comparison result indicate that there is no abnormality in the current barcode data, it is determined that there is no abnormality in the current barcode data, the current barcode data is saved as read data, and the next product is inspected.

[0069] The original data corresponds to each product in the product batch of the current product. The original data can be the preset barcode data of each product in the product batch to be inspected. If the current barcode data is not within the range of the original data, it means that the current barcode data is abnormal. Error code comparison of the current barcode data based on the original data can be used to check whether the current barcode data of the current product is wrong.

[0070] As an embodiment of the present application, a database is pre-built in the host computer 120, and the database includes an original data table and a read data table. The original data table is used to store original data, and the read data table is used to store read data.

[0071] Specifically, after receiving the current barcode data, the host computer 120 compares the current barcode data with the barcode data in the read data table, thereby obtaining a first re-comparison result representing the result of the re-comparison. Correspondingly, when it is determined that there is no abnormality in the current barcode data, the current barcode data is stored as the read data in the read data table, so the read data table is an empty data table when the product inspection starts, and is updated in real time during the product inspection process.

[0072] Furthermore, the current barcode data is compared with the barcode data in the original data table, thereby obtaining a second comparison result representing the error code comparison result. The original data table already contains the barcode data corresponding to each product in the product batch of the current product when the product inspection begins, and will not change during the product inspection process.

[0073] As an embodiment of the present application, the database also stores an abnormal data table for storing current barcode data with abnormalities; if the current barcode data is determined to be abnormal based on the first comparison result and the second comparison result, the current barcode data is stored in the abnormal data table.

[0074] Specifically, if it is determined according to the first comparison result that duplicate barcodes appear in the product batch to which the current product belongs, it is determined that the current barcode data of the current product is abnormal. If it is determined according to the second comparison result that the current barcode data is not within the range of the original data, it is determined that the current barcode data is abnormal. In the case that the barcode data corresponding to the product is abnormal, it is necessary to inspect the abnormal product after the product inspection process is completed. By storing the current barcode data with abnormalities in the abnormal data table, the staff can trace back and query the abnormal products.

[0075] As an embodiment of the present application, the scanning module 110 is also used to capture an image of the current product; wherein the image includes a barcode of the current product; and the image is recognized using a deep learning algorithm to extract the current barcode data contained in the barcode of the current product.

[0076] Reference Figure 2 As shown, the scanning module 110 can be a miniature intelligent scanning head, including a scanning light source 111 and a scanning camera 112, wherein the scanning camera 112 is used to collect the image of the current product. The number of scanning light sources 111 is 6, which are respectively distributed on both sides of the scanning camera 112, and are used to provide lighting for the scanning camera 112 during scanning, thereby improving the brightness of the collected image, thereby improving the accuracy of the extracted current barcode data.

[0077] Furthermore, a deep learning algorithm is provided in the scanning module 110, and the collected image is recognized by the deep learning algorithm. First, the image is recognized to determine the position of the barcode in the image and the specific form of the barcode. Secondly, the barcode is parsed using the deep learning algorithm to extract the current barcode data.

[0078] It should be noted that the scanning module 110 has the characteristics of compact structure by integrating the scanning light source 111 and the scanning camera 112. At the same time, the scanning module 110 also integrates a deep learning algorithm, so that during the barcode scanning process, there is no need to send the image to other devices, and the barcode data can be extracted through the scanning module 110, which reduces the complexity of the device.

[0079] In some embodiments, the scanning module 110 can output the current barcode data through various communication methods such as TCP, UDP, serial port, and USB port.

[0080] As an embodiment of the present application, the system further includes an alarm module 170; the IO board 130 is also used to output a rejection trigger signal and an alarm signal simultaneously.

[0081] The alarm module 170 is connected to the output end of the IO board 130 and is used to receive an alarm signal to issue an alarm prompt.

[0082] Specifically, the IO board 130 can also be connected to the alarm module 170, so that when the current barcode information is abnormal, the IO board 130 can alarm the staff through the alarm module 170 to remind the staff to check the abnormal products. After receiving the rejection instruction, the IO board 130 generates a corresponding rejection trigger signal and an alarm signal. And while outputting the rejection trigger signal to the rejection mechanism 140 after the trigger delay, it outputs an alarm signal to the alarm module 170 to trigger the alarm module 170 to issue an alarm prompt.

[0083] Reference Figure 3a As shown, the embodiment of the present application also provides a product inspection method, which is applied to a product inspection system. The product inspection system includes a scanning module, a host computer, an IO board, and a rejection mechanism. The current product on the production line is inspected by the product inspection system. The method includes:

[0084] S310. Scan the barcode set on the current product through the scanning module, obtain the current barcode data of the current product, and send it to the host computer.

[0085] S320. Receive the current barcode data through the host computer, and output a rejection instruction to the IO board when an abnormality is detected in the current barcode data.

[0086] S330. After receiving the rejection instruction, determine the trigger delay of the rejection trigger signal through the IO board, and output the rejection trigger signal to the rejection mechanism based on the trigger delay.

[0087] S340. Receive a rejection trigger signal through the rejection mechanism and reject the current product.

[0088] Among them, the rejection trigger signal is used to trigger the rejection mechanism to reject the current product, and the trigger delay is obtained based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line.

[0089] Reference Figure 3b As shown, the embodiment of the present application also provides a product inspection method, which is applied to the IO board of the product inspection system. The product inspection system also includes a scanning module, a host computer and a rejection mechanism. The current product on the production line is inspected by the product inspection system. The barcode set on the current product is scanned by the scanning module to obtain the current barcode data of the current product and send it to the host computer. The host computer receives the current barcode data and outputs a rejection instruction to the IO board when an abnormality is detected in the current barcode data. The method includes:

[0090] S410. When a rejection instruction is received, determine the trigger delay of the rejection trigger signal based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line.

[0091] S420. Output a rejection trigger signal to the rejection mechanism based on the trigger delay, so that the rejection mechanism rejects the current product.

[0092] See also Figure 4 , Figure 4 It is a structural diagram of a computer device provided by an embodiment of the present application. As shown in the figure, the computer device includes: one or more processors 10, a memory 20, and an interface for connecting various components, including a high-speed interface and a low-speed interface. Each component uses different buses to communicate with each other, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.

[0093] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0094] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0095] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0096] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0097] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0098] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0099] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.

[0100] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

[0101] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0102] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0103] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0104] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0105] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0107] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0108] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0109] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0110] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A product inspection system, characterized in that: Used to inspect the current products on the production line; the system includes: A scanning module, used for scanning the barcode set on the current product to obtain the current barcode data of the current product; A host computer, connected to the scanning module, for receiving the current barcode data and outputting a rejection instruction when an abnormality is detected in the current barcode data; An IO board, connected to the output end of the host computer, for determining a trigger delay of a reject trigger signal after receiving a reject instruction output by the host computer, and outputting the reject trigger signal based on the trigger delay; A rejection mechanism is connected to the output end of the IO board. Along the conveying direction of the current product, the rejection mechanism is located behind the scanning module. The rejection mechanism is used to receive the rejection trigger signal. The rejection trigger signal is used to trigger the rejection mechanism to reject the current product. The trigger delay is obtained based on the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line.

2. The system according to claim 1, characterized in that The IO board is also used to receive the encoder speed signal of the production line to obtain the conveying speed of the production line; and to perform delay calculation according to the distance data between the scanning module and the rejection mechanism and the conveying speed of the production line to obtain the trigger delay.

3. The system according to claim 1, characterized in that The system further comprises a product detection module, which is located before the scanning module along the conveying direction of the current product; the product detection module is connected to the host computer and is used to detect whether the current product enters a detection area.

4. The system according to claim 3, characterized in that The scanning module is also used to scan the barcode set on the current product when it is detected that the current product enters the detection area, so as to obtain the current barcode data of the current product.

5. The system according to claim 1, characterized in that The host computer is also used to perform a double comparison on the current barcode data based on the original data and the read data to obtain a first comparison result and a second comparison result respectively; and determine whether the current barcode data is abnormal based on the first comparison result and the second comparison result.

6. The system according to claim 5, characterized in that The host computer is also used to perform a double code comparison on the current barcode data based on the read data to obtain the first double comparison result; wherein the read data is the barcode data that is determined to have no abnormality after double comparison; The current barcode data is compared for errors based on the original data to obtain the second comparison result; wherein the original data respectively correspond to each product in the product batch to which the current product belongs.

7. The system according to claim 5, characterized in that A database is pre-built in the host computer, and the database includes an original data table and a read data table. The original data table is used to store the original data, and the read data table is used to store the read data.

8. The system according to claim 7, characterized in that The database also stores an abnormal data table for storing abnormal current barcode data; if the current barcode data is determined to be abnormal based on the first comparison result and the second comparison result, the current barcode data is stored in the abnormal data table.

9. The system according to claim 1, characterized in that The scanning module is also used to capture an image of the current product; wherein the image includes a barcode of the current product; and the image is recognized using a deep learning algorithm to extract the current barcode data contained in the barcode of the current product.

10. The system according to any one of claims 1 to 9, characterized in that The system also includes an alarm module; the IO board is also used to simultaneously output the rejection trigger signal and the alarm signal; The alarm module is connected to the output end of the IO board and is used to receive the alarm signal to issue an alarm prompt.