Product detection method and system
By setting preset judgment rules and workstation registers or QR code storage in industrial production and executing the inspection process in a loop, the problem of multi-station inspection equipment being unable to process inspection results in a superimposed manner is solved, achieving more accurate quality assessment and flexible inspection process optimization.
Patent Information
- Application Number
- CN202510841751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2025-10-03
AI Technical Summary
In existing industrial production, multi-station inspection equipment is unable to achieve the superposition processing of multiple inspection results, resulting in inaccurate quality assessment. The equipment also has poor flexibility and is difficult to quickly respond to changes in production demand, resulting in high modification costs.
By setting preset judgment rules, executing the inspection process in a loop, judging the product's eligibility based on the superposition of inspection results from multiple inspection stations, and using station registers or QR codes to store inspection results, dynamic inspection and flexible rejection are achieved.
It improves detection efficiency, achieves more accurate quality assessment, reduces duplicate detection, reduces modification costs, and optimizes detection processes and problem tracing capabilities.
Smart Images

Figure CN120746375A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of production management, and in particular to a product detection method and system. Background Art
[0002] In the industrial production process, multi-station inspection and rejection of products are key links in achieving quality control. At present, most common inspection equipment on the market adopts the method of fixed-point inspection and fixed-point rejection, that is, after each station completes the inspection independently, if unqualified products are found, the rejection operation will be performed immediately. This type of solution has significant technical limitations. On the one hand, it cannot realize the superposition processing of multiple test results, and the results of a single inspection station cannot fully reflect the quality of the product. The existing method cannot integrate these scattered inspection information, and it is difficult to make a more accurate quality assessment of the product. On the other hand, due to real-time rejection, the rejection standards and the number of rejection stations cannot be flexibly set in the inspection process. When production needs change, it is difficult for existing equipment to respond quickly, and large-scale transformation or even replacement of equipment is required, which is costly, time-consuming and labor-intensive. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a product detection method and system.
[0004] According to a first aspect of an embodiment of the present disclosure, a product detection method is provided, the method comprising:
[0005] Determine the preset judgment rules for each inspection station;
[0006] Testing the product at the first testing station to obtain a test result;
[0007] The following detection process is executed cyclically until the detection results of all the detection stations are assigned:
[0008] Determining whether the product needs to be inspected based on a preset judgment rule of the Nth inspection station;
[0009] If the product needs to be tested, the product is tested at the Nth testing station to obtain a test result of the Nth testing station;
[0010] If the product does not need to be tested, the test result of the Nth test station is directly assigned a value;
[0011] Determine the superposition value of the detection results of the 1st to Nth detection stations based on the detection result of the Nth detection station and the superposition value of the detection results of the 1st to N-1th detection stations, where N is a positive integer greater than 1;
[0012] Based on the superposition value of the detection results of all the detection stations after the detection results of all the detection stations are assigned, it is determined whether the product is a qualified product.
[0013] In some embodiments of the present disclosure, the testing of the product at the first testing station to obtain the test result includes:
[0014] Testing the first testing parameter of the product at the first testing station to obtain original testing data;
[0015] Based on the original inspection data, determine whether the product meets the inspection requirements of the first inspection station, and determine the inspection result of the first inspection station based on the judgment result, wherein if the product meets the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a first value; if the product does not meet the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a second value, and the first value is greater than the second value.
[0016] In some embodiments of the present disclosure, the preset judgment rule of the Nth detection station includes judging whether the superposition value of the detection results of the 1st to N-1th detection stations is greater than the preset judgment value of the Nth detection station;
[0017] The determining whether the product needs to be inspected based on the preset judgment rule of the Nth inspection station includes:
[0018] If the sum of the test results of the 1st to N-1th test stations is greater than the preset judgment value of the Nth test station, the product is tested;
[0019] If the sum of the detection results of the 1st to N-1th detection stations is less than the preset judgment value of the Nth detection station, the product will not be tested.
[0020] In some embodiments of the present disclosure, if the product needs to be inspected, the product is inspected at the Nth inspection station to obtain the inspection result of the Nth inspection station, including:
[0021] Determining whether the product meets the inspection requirements of the Nth inspection station, and determining the inspection result of the Nth inspection station based on the determination result, wherein if the product meets the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned a first value; if the product does not meet the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned a second value;
[0022] If the product does not need to be tested, directly assigning a value to the test result of the Nth test station includes:
[0023] If the product does not need to be inspected, the inspection result of the Nth inspection station is assigned a second value.
[0024] In some embodiments of the present disclosure, the product detection method further includes:
[0025] After the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored;
[0026] After the Nth inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored.
[0027] In some embodiments of the present disclosure, a station register is set for storage, or a QR code is set for storage.
[0028] In some embodiments of the present disclosure, setting the station register for storage includes:
[0029] A station register is configured for each of the inspection stations, wherein the station register at the first inspection station is used to store the inspection result of the first inspection station, and the station register at the Nth inspection station is used to store the inspection result of the Nth inspection station and the superposition value of the inspection results of the first to Nth inspection stations;
[0030] When the product is transferred to the Nth inspection station by the transport device, the inspection result stored in the station register on the first inspection station is transferred to the station register on the Nth inspection station, and the inspection result stored in the station register on the first inspection station is cleared at the same time;
[0031] When the product is transferred to the N+1th inspection station through the conveying device, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations stored in the station register on the Nth inspection station are transferred to the station register on the N+1th inspection station, and at the same time, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations stored in the station register on the Nth inspection station are cleared.
[0032] In some embodiments of the present disclosure, setting the QR code for storage includes:
[0033] A QR code is configured on each of the products, and a reading device is configured on each of the inspection stations;
[0034] After the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored in the QR code of the product through the reading device of the first inspection station;
[0035] The reading device at the Nth inspection station first reads the QR code on the product and determines whether the superposition value of the inspection results of the 1st to N-1th inspection stations is greater than the preset judgment value of the Nth inspection station;
[0036] If it is greater than, the product is inspected at the Nth inspection station, and the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored in the QR code;
[0037] If it is less than, there is no need to test the product, and the test result of the Nth test station is directly assigned a value, and the assigned value and the superimposed value of the test results of the 1st to Nth test stations are stored in the QR code.
[0038] In some embodiments of the present disclosure, determining whether the product is a qualified product based on the superposition of the test results of all the test stations after the test results of all the test stations are assigned values includes:
[0039] Based on the superposition value of the detection results of the 1st to Nth detection stations, determine whether it is less than the preset detection value of the Nth detection station, if so, reject the product, if not, the product is qualified;
[0040] The detection method further comprises:
[0041] If the inspection result of the Mth inspection station indicates that the product does not meet the inspection requirements of the Mth inspection station, it is determined that the M+1th to Nth inspection stations do not need to inspect the product, where M is a positive integer greater than 1 and less than or equal to N.
[0042] According to a second aspect of an embodiment of the present disclosure, a detection system is further provided, applicable to the product detection method according to any one of the first aspects above, the detection system comprising:
[0043] A plurality of inspection stations for inspecting the product;
[0044] A storage unit, for storing the detection result of the first detection station, and for storing the detection result of the Nth detection station and the superposition value of the detection results of the 1st to N-1th detection stations;
[0045] a control and judgment unit, configured to judge whether the Nth inspection station needs to inspect the product based on the inspection result of the first inspection station or the superposition value of the inspection results of the 1st to N-1th inspection stations stored in the storage unit;
[0046] A transport device for transporting the product;
[0047] The rejection device is used to reject the unqualified products.
[0048] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0049] The product inspection method disclosed in the present invention determines whether a product needs to be inspected based on preset judgment rules at each inspection station. If no inspection is required, a value is directly assigned. This avoids repeated inspection of all products at each inspection station, significantly shortens inspection time, and improves inspection efficiency. The final determination of qualified products is based on the superposition of the inspection results of all stations, rather than the independent judgment of a single station. This enables unqualified products to be accurately screened and achieves more accurate quality assessment of products. At the same time, the inspection results and superposition logic of each inspection station are clearly traceable, facilitating subsequent tracing of problem links, optimizing inspection processes, or locating the root causes of product defects.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0052] Figure 1 It is a flowchart of a product detection method according to an embodiment. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0054] In the industrial production process, multi-station inspection and rejection of products are key links in achieving quality control. At present, most common inspection equipment on the market adopts the method of fixed-point inspection and fixed-point rejection, that is, after each station completes the inspection independently, if unqualified products are found, the rejection operation will be performed immediately. This type of solution has significant technical limitations. On the one hand, it cannot realize the superposition processing of multiple test results, and the results of a single inspection station cannot fully reflect the quality of the product. The existing method cannot integrate these scattered inspection information, and it is difficult to make a more accurate quality assessment of the product. On the other hand, due to real-time rejection, the rejection standards and the number of rejection stations cannot be flexibly set in the inspection process. When production needs change, it is difficult for existing equipment to respond quickly, and large-scale transformation or even replacement of equipment is required, which is costly, time-consuming and labor-intensive.
[0055] An exemplary embodiment of the present disclosure provides a product detection method, such as Figure 1 As shown, the method includes:
[0056] S100: Determine the preset judgment rules for each inspection station.
[0057] It is understandable that multiple inspection stations are set. In this embodiment, three inspection stations can be set, wherein the first station is used to detect burrs on the product, the second station is used to detect the cross section, straight line and length of the product, and the third station is used to detect the structural stability of the product. According to the needs of the detection, specific judgment rules are formulated for each inspection station. For example, the preset judgment rule of the Nth inspection station can be set as follows: only when the 1st to N-1th inspection stations all detect that the product is qualified, the Nth inspection station will detect the product, wherein N is a positive integer greater than 1. Of course, in other embodiments, the preset judgment rule of the Nth inspection station can also be: judge in the preceding inspection station before the Nth inspection station, select two or more associated inspection stations, and only when the two associated inspection stations simultaneously detect that the product is unqualified, the Nth inspection station will not detect the product and directly assign a value to the product. That is to say, if only one of the two associated inspection stations is unqualified, the Nth inspection station will still detect the product. The two or more associated inspection stations may be set according to actual inspection requirements.
[0058] S200: Test the product at the first testing station to obtain the test results.
[0059] For example, when the product enters the first inspection station, the inspection is automatically triggered. If the product meets the inspection standard of the first inspection station, the inspection result is assigned a value of 1. If the product does not meet the inspection standard of the first inspection station, the inspection result is assigned a value of 0.
[0060] S300: Execute the following detection process in a loop until the detection results of all detection stations are assigned:
[0061] S310: Based on the preset judgment rule of the Nth inspection station, determine whether the product needs to be inspected.
[0062] That is to say, starting from the second inspection station, each inspection station is judged in turn until all inspection stations have completed the inspection. Among them, the preset judgment rule of the Nth inspection station can be: only when the inspection results of the product at the 1st to N-1 inspection stations are all qualified, the Nth inspection station will inspect the product, otherwise the Nth inspection station will not inspect the product. In this way, it can effectively avoid invalid inspections of products that have been determined to be unqualified, saving time and resources. Of course, the preset judgment rule of the Nth inspection station can also be: among the 1st to N-1 inspection stations, two or more related inspection stations are selected. Only when the two related inspection stations fail to inspect the product at the same time, the Nth inspection station will not inspect the product and will directly assign a value to the product. That is to say, among two specific inspection stations, only one inspection station is unqualified, and the Nth inspection station will still inspect the product.
[0063] S311. If the product needs to be tested, the product is tested at the Nth testing station to obtain the test result of the Nth testing station.
[0064] It can be understood that if it is determined that the product needs to be tested, the Nth inspection station will start the corresponding inspection equipment. After the inspection is completed, the inspection result of the inspection station will be obtained. If it meets the inspection standards of the Nth inspection station, the inspection result will be assigned a value of 1. If the product does not meet the inspection standards of the Nth inspection station, the inspection result will be assigned a value of 0.
[0065] S312: If the product does not need to be tested, directly assign a value to the test result of the Nth test station.
[0066] For example, when it is determined that no inspection is required, the inspection result of the Nth inspection station is directly assigned a value of 0.
[0067] S320 , determining a superposition value of detection results of the 1st to Nth detection stations based on the detection result of the Nth detection station and the superposition value of detection results of the 1st to N-1th detection stations, where N is a positive integer greater than 1.
[0068] S400: Determine whether the product is qualified based on the superposition value of the test results of all the test stations after the test results of all the test stations are assigned.
[0069] In this embodiment, each inspection station determines whether a product needs to be inspected based on preset judgment rules. If no inspection is required, a value is directly assigned. This avoids repeated inspection of all products at each inspection station, significantly shortening inspection time and improving inspection efficiency. The final determination of qualified products is based on the superposition of the inspection results of all stations, rather than the independent judgment of a single station. This allows unqualified products to be accurately screened and achieves more accurate product quality assessment. At the same time, the inspection results and superposition logic of each inspection station are clearly traceable, facilitating subsequent tracing of problem links, optimizing inspection processes, or locating the root cause of product defects.
[0070] In one embodiment, step S200, testing the product at the first testing station to obtain the test results, includes:
[0071] At the first inspection station, the first inspection parameter of the product is inspected to obtain raw inspection data. For example, at the first inspection station, the product surface can be inspected using visual inspection equipment (e.g., an industrial camera), tactile inspection equipment (e.g., a probe or tactile sensor), or laser inspection equipment (a laser scanner / profilometer), etc., to obtain the actual value of the product. The collected actual value is synchronously transmitted to the current station controller or central processing system to ensure the real-time and accuracy of the data.
[0072] Based on the original inspection data, determine whether the product meets the inspection requirements of the first inspection station, and determine the inspection result of the first inspection station based on the judgment result, wherein if the product meets the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a first value; if the product does not meet the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a second value, and the first value is greater than the second value.
[0073] Exemplarily, in the central processing system or the station controller of the first inspection station, the qualified standard threshold of the inspection parameter is pre-set, and the actual value collected is compared with the preset threshold to determine whether the product meets the inspection requirements of the first inspection station: if the actual value is within the threshold range, that is, the product meets the inspection requirements of the current inspection station, the inspection result of the station is assigned to a first value, wherein the first value can be "1", and is stored in the corresponding position of the corresponding station register, such as the first bit of the register; if the actual value exceeds the threshold range, that is, the product does not meet the inspection requirements, the inspection result of the station is assigned to a second value, wherein the second value can be "0", and is stored in the corresponding position of the corresponding station register, such as the first bit of the register.
[0074] In this embodiment, the complete process from raw data collection, standard judgment to result assignment is realized at the first inspection station, providing basic data support for the superposition and dynamic elimination of inspection results at subsequent inspection stations, while ensuring the traceability and flexibility of the inspection logic.
[0075] In one embodiment, the preset judgment rule of the Nth detection station includes judging whether the superposition value of the detection results of the 1st to N-1th detection stations is greater than the preset judgment value of the Nth detection station. In this embodiment, when N is 3, the preset judgment rule of the 3rd detection station is to judge whether the superposition value of the detection results of the 1st and 2nd detection stations is greater than the preset judgment value of the 3rd detection station. It can be understood that only when the 1st and 2nd detection stations have all passed the product inspection, the 3rd detection station will further inspect the product. Of course, in other embodiments, N can also be other positive integers greater than 1, and the preset judgment rules of other detection stations are also the same. Only when all the previous detection stations have passed, the current detection station will start to inspect.
[0076] Step S310: Based on the preset judgment rule of the Nth inspection station, determine whether the product needs to be inspected, including: if the superposition value of the inspection results of the 1st to N-1th inspection stations is greater than the preset judgment value of the Nth inspection station, then inspect the product; if the superposition value of the inspection results of the 1st to N-1th inspection stations is less than the preset judgment value of the Nth inspection station, then do not inspect the product.
[0077] For example, the stacked values of the test results from the 1st to N-1th test stations are read and compared with the preset judgment value of the Nth test station. If the stacked value is greater than the preset judgment value, the test process for the Nth test station is initiated. If the stacked value is less than the preset judgment value, the Nth test station is not initiated and the product is directly assigned an unqualified value. In this way, the Nth test station implements dynamic detection trigger logic based on the stacked values of the previous results. Through the flexible configuration of the preset judgment value, it meets the requirements for refined control of the test process under different working conditions. For example, the condition that at least two previous results must be qualified before continuing the test can be set, further improving the flexibility and efficiency of the production line rejection strategy.
[0078] In one embodiment, step S311, if the product needs to be inspected, the product is inspected at the Nth inspection station to obtain the inspection result of the Nth inspection station, including: judging whether the product meets the inspection requirements of the Nth inspection station, and determining the inspection result of the Nth inspection station based on the judgment result, wherein if the product meets the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned to a first value; if the product does not meet the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned to a second value. Exemplarily, the Nth inspection station can be used to inspect the cross-section, straight line, length or other required performance of the product. The actual value of the type of product that needs to be inspected is first obtained. The qualified standard threshold of the inspection parameter is pre-set in the central processing system or the station controller of the Nth inspection station. The actual value collected is compared with the preset threshold to determine whether the product meets the inspection requirements of the Nth inspection station: if the actual value is within the threshold range, that is, the product meets the inspection requirements of the current inspection station, the inspection result of the station is assigned to a first value, where the first value can be "1" and stored in the corresponding position of the corresponding station register, such as the Nth bit of the current register; if the actual value exceeds the threshold range, that is, the product does not meet the inspection requirements, the inspection result of the station is assigned to a second value, where the second value can be "0" and stored in the corresponding position of the corresponding station register, such as the Nth bit of the current register.
[0079] Step S312: If it is not necessary to test the product, directly assign a value to the test result of the Nth test station, including: if it is not necessary to test the product, assign a value to the test result of the Nth test station. The second value can be "0" and stored in the corresponding position of the corresponding station register, such as the Nth position of the current register. In this way, when testing is required, accurate results are generated through threshold comparison, and unqualified results are directly marked when no testing is required, ensuring that the test results are synchronously superimposed and transmitted with the product. At the same time, through the numerical assignment rules and preset judgment values, the production line's flexible management capabilities for multi-station test results are further improved. The condition that at least X previous tests are qualified before the current test is executed can be customized, ensuring the traceability and flexibility of the test logic.
[0080] In one embodiment, the product inspection method further includes: after the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored; after the Nth inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored. For example, after the first inspection station completes the inspection and assigns the first numerical value or the second numerical value, the result is stored in the storage device corresponding to the first inspection station; after the Nth inspection station completes the inspection assignment or directly assigns the value, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are simultaneously stored in the storage device corresponding to the Nth inspection station. The storage device can be a register. In this way, the inspection results and the superposition value can be recorded and transmitted in an orderly manner, providing data support for quality traceability and process optimization of the production line, ensuring that whether each inspection station has inspected is based on the latest historical data, and further improving the reliability and manageability of the multi-station inspection system.
[0081] In one embodiment, a station register is set for storage, or a QR code is set for storage. In one embodiment, a station register can be set at each detection station to store the test result and the superposition value of the current station. For example, the first register stores the test result (1 or 0) of the 1st station, and the second register stores the 2nd and the test station result (1 or 0) and the superposition value of the 1st and 2nd test stations. The register can adopt EEPROM or RAM with backup power supply to prevent data loss during power outage. In another embodiment, a QR code can be set for each product, and a reading device can be set at each detection station to read the test situation of the product's preceding station and record the test result of the current detection station. The test result can be passed along with the product in the form of a station register or a physical QR code, which not only meets the efficiency requirements of real-time detection, but also provides the flexibility of physical tracing.
[0082] In one embodiment, setting a station register for storage includes: configuring a station register for each inspection station, the station register at the first inspection station is used to store the inspection result of the first inspection station, and the station register at the Nth inspection station is used to store the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations; when the product is transferred to the Nth inspection station through the handling device, the inspection result stored in the station register on the first inspection station is transferred to the station register on the Nth inspection station. The station register is used to clear the test result stored in the station register on the 1st test station at the same time; when the product is transferred to the (N+1)th test station through the handling device, the test result of the Nth test station stored in the station register on the Nth test station and the superposition value of the test results of the 1st to Nth test stations are transferred to the station register on the (N+1)th test station, and the test result of the Nth test station and the superposition value of the test results of the 1st to Nth test stations stored in the station register on the Nth test station are cleared at the same time. When the product is transported to the next inspection station through the handling device, the registers of each station are transferred to the next station in sequence, and the detection results and superimposed values of the registers of the previous station are synchronized to the registers of the subsequent stations, so that the judgment of each station is based on the latest historical detection data, avoiding misjudgment caused by data transmission delay in traditional fixed-point detection. The previous station clears the register after the data is transferred and can immediately receive the detection data of the next product, reducing the register occupancy time and preventing data confusion. Each station register independently saves the current detection results and superimposed values, which is convenient for tracing the detection status of a product at a specific station and ensuring the accuracy of the detection.
[0083] In one embodiment, setting up a QR code for storage includes: configuring a QR code for each product and configuring a reading device at each inspection station; after the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored in the QR code of the product through the reading device of the first inspection station; the reading device at the Nth inspection station first reads the QR code on the product to determine whether the superposition value of the inspection results of the 1st to N-1th inspection stations is greater than the preset judgment value of the Nth inspection station; if greater, the product is inspected at the Nth inspection station, and the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored in the QR code; if less than, there is no need to inspect the product, and the inspection result of the Nth inspection station is directly assigned a value, and the assigned value and the superposition value of the inspection results of the 1st to Nth inspection stations are stored in the QR code. By setting the QR code on the surface of the product, historical inspection records can be read in real time by scanning the code. Each inspection station will determine whether the product needs to be inspected based on the preset judgment rules. If no inspection is required, a value will be assigned directly, avoiding repeated inspection of all products at each inspection station, greatly shortening the inspection time, reducing unnecessary inspection links, improving inspection efficiency, and reducing inspection costs.
[0084] In one embodiment, determining whether a product is qualified based on the superimposed value of the test results of all test stations after the test results of all test stations are assigned a value includes: determining whether the superimposed value of the test results of the first to N test stations is less than the preset test value of the Nth test station, and if so, rejecting the product; if not, the product is qualified. By comparing the superimposed value of the test results of the first to N test stations with the preset test value of the Nth test station, the reliability and stability of the product are guaranteed. The preset test value can be modified in real time through the human-machine interface without modifying the hardware or program, quickly adapting to the quality standards of different products. There is no need to set up a rejection mechanism at each test station, and unified rejection is only performed at the last test station based on the total superimposed value, reducing the hardware cost and maintenance workload of the production line.
[0085] In other embodiments, the detection method further comprises:
[0086] If the test result of the Mth test station indicates that the product does not meet the test requirements of the Mth test station, then it is determined that the M+1th to Nth test stations do not need to test the product, and M is a positive integer greater than 1 and less than or equal to N. It is understandable that the preset judgment rules at each test station can be different. The preset judgment rule of the Mth test station can be to judge whether two or more of the preceding test stations are qualified at the same time, then the Mth test station will not test the product, and all tests before the Mth test station will test the product. For example, when M is 4, the first test station is used to detect the length of the product, the second test station is used to detect the width of the product, and the third test station is used to detect the height of the product. Only when the first and third test stations fail to test at the same time, the fourth test station will not start. If the first test station fails, the second test station passes, and the third test station passes, the fourth test station will still test the product. This allows targeted elimination of products with complex defects, avoiding the waste of testing resources caused by misjudgment of a single defect. By modifying the station combination conditions, the testing requirements of different products can be quickly adapted, enabling more accurate quality assessments. Furthermore, the test results and overlay logic for each station are clearly accessible, facilitating subsequent tracing of problem links, optimizing the testing process, or locating the root cause of product defects.
[0087] In one exemplary embodiment, an inspection system is also provided, applicable to the product inspection method of any of the above embodiments. The inspection system includes multiple inspection stations, a storage unit, a control and judgment unit, a handling device, and a rejection device. The multiple inspection stations are used to inspect products. Illustratively, each inspection station is equipped with dedicated inspection equipment, such as a visual sensor, a laser rangefinder, a pressure sensor, etc., for collecting product inspection parameters, such as length, width, and hardness. The storage unit is configured to store the inspection results of the first inspection station, the inspection results of the Nth inspection station, and the summed values of the inspection results of the 1st to N-1th inspection stations. Illustratively, each inspection station is configured with an independent register, such as an EEPROM or a RAM with a backup power supply, to store the inspection results of the current station and the summed values of the previous inspection results. Alternatively, each inspection station is equipped with a QR code inkjet printer and a code reader, and a QR code containing the inspection results is sprayed onto the surface of the product. The control and judgment unit is configured to determine whether the Nth inspection station needs to inspect the product based on the inspection results of the first inspection station or the summed values of the inspection results of the 1st to N-1th inspection stations stored in the storage unit. Exemplarily, the control and judgment unit may include an industrial PLC (programmable logic controller) or a central processing system with a built-in detection logic algorithm. The handling device is used to transport the product. Among them, the handling device may include a conveyor belt, a robotic arm or a guide rail system, an integrated position sensor and a register data synchronization module. When the product is transported from the Nth inspection station to the N+1th inspection station, the station register data of the Nth inspection station is synchronously triggered to be transferred to the station register of the N+1th inspection station, and the Nth inspection station register is cleared. The rejection device is used to reject unqualified products. Among them, the rejection device includes a cylinder push rod, a sorting robot or a pneumatic nozzle, which is installed at the end of the production line or a designated rejection station. In this way, each inspection station will determine whether a product needs to be inspected based on preset judgment rules. If no inspection is required, a value is directly assigned. This avoids repeated inspection of all products at each inspection station, significantly shortening inspection time and improving inspection efficiency. The final determination of qualified products is based on the superposition of the inspection results of all stations, rather than the independent judgment of a single station. This allows unqualified products to be accurately screened and achieves more accurate product quality assessment. At the same time, the inspection results and superposition logic of each inspection station are clearly traceable, facilitating subsequent tracing of problem links, optimizing inspection processes, or locating the root cause of product defects.
[0088] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the steps of any one of the above-mentioned product detection methods when executed by a processor.
[0089] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the claims.
[0090] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A product detection method, characterized in that: The detection method comprises: Determine the preset judgment rules for each inspection station; Testing the product at the first testing station to obtain a test result; The following detection process is executed cyclically until the detection results of all the detection stations are assigned: Determining whether the product needs to be inspected based on a preset judgment rule of the Nth inspection station; If the product needs to be tested, the product is tested at the Nth testing station to obtain a test result of the Nth testing station; If the product does not need to be tested, the test result of the Nth test station is directly assigned a value; Determine the superposition value of the detection results of the 1st to Nth detection stations based on the detection result of the Nth detection station and the superposition value of the detection results of the 1st to N-1th detection stations, where N is a positive integer greater than 1; Based on the superposition value of the detection results of all the detection stations after the detection results of all the detection stations are assigned, it is determined whether the product is a qualified product.
2. The product detection method according to claim 1, characterized in that: The product is tested at the first testing station to obtain a test result, including: Testing the first testing parameter of the product at the first testing station to obtain original testing data; Based on the original inspection data, determine whether the product meets the inspection requirements of the first inspection station, and determine the inspection result of the first inspection station based on the judgment result, wherein if the product meets the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a first value; if the product does not meet the inspection requirements of the first inspection station, the inspection result of the first inspection station is assigned to a second value, and the first value is greater than the second value.
3. The product detection method according to claim 2, characterized in that: The preset judgment rule of the Nth detection station includes judging whether the superposition value of the detection results of the 1st to N-1th detection stations is greater than the preset judgment value of the Nth detection station; The determining whether the product needs to be inspected based on the preset judgment rule of the Nth inspection station includes: If the sum of the test results of the 1st to N-1th test stations is greater than the preset judgment value of the Nth test station, the product is tested; If the sum of the detection results of the 1st to N-1th detection stations is less than the preset judgment value of the Nth detection station, the product will not be tested.
4. The product detection method according to claim 3, characterized in that: If the product needs to be tested, the product is tested at the Nth testing station to obtain the test result of the Nth testing station, including: Determining whether the product meets the inspection requirements of the Nth inspection station, and determining the inspection result of the Nth inspection station based on the determination result, wherein if the product meets the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned a first value; if the product does not meet the inspection requirements of the Nth inspection station, the inspection result of the Nth inspection station is assigned a second value; If the product does not need to be tested, directly assigning a value to the test result of the Nth test station includes: If the product does not need to be inspected, the inspection result of the Nth inspection station is assigned a second value.
5. The product detection method according to any one of claims 1 to 4, characterized in that: The product detection method further comprises: After the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored; After the Nth inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored.
6. The product detection method according to claim 5, characterized in that: Set the station register for storage, or set the QR code for storage.
7. The product detection method according to claim 6, characterized in that: Setting the station register for storage includes: A station register is configured for each of the inspection stations, wherein the station register at the first inspection station is used to store the inspection result of the first inspection station, and the station register at the Nth inspection station is used to store the inspection result of the Nth inspection station and the superposition value of the inspection results of the first to Nth inspection stations; When the product is transferred to the Nth inspection station by the transport device, the inspection result stored in the station register on the first inspection station is transferred to the station register on the Nth inspection station, and the inspection result stored in the station register on the first inspection station is cleared at the same time; When the product is transferred to the N+1th inspection station through the conveying device, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations stored in the station register on the Nth inspection station are transferred to the station register on the N+1th inspection station, and at the same time, the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations stored in the station register on the Nth inspection station are cleared.
8. The product detection method according to claim 6, characterized in that: Setting the QR code for storage includes: A QR code is configured on each of the products, and a reading device is configured on each of the inspection stations; After the first inspection station completes the inspection of the product and obtains the inspection result, the inspection result of the first inspection station is stored in the QR code of the product through the reading device of the first inspection station; The reading device at the Nth inspection station first reads the QR code on the product and determines whether the superposition value of the inspection results of the 1st to N-1th inspection stations is greater than the preset judgment value of the Nth inspection station; If it is greater than, the product is inspected at the Nth inspection station, and the inspection result of the Nth inspection station and the superposition value of the inspection results of the 1st to Nth inspection stations are stored in the QR code; If it is less than, there is no need to test the product, and the test result of the Nth test station is directly assigned a value, and the assigned value and the superimposed value of the test results of the 1st to Nth test stations are stored in the QR code.
9. The product detection method according to claim 1, characterized in that: The determining whether the product is a qualified product based on the superposition of the test results of all the test stations after the test results of all the test stations are assigned includes: Based on the superposition value of the detection results of the 1st to Nth detection stations, determine whether it is less than the preset detection value of the Nth detection station, if so, reject the product, if not, the product is qualified; The detection method further comprises: If the inspection result of the Mth inspection station indicates that the product does not meet the inspection requirements of the Mth inspection station, it is determined that the M+1th to Nth inspection stations do not need to inspect the product, where M is a positive integer greater than 1 and less than or equal to N.
10. A detection system, characterized in that: The product detection method according to any one of claims 1 to 9 above, wherein the detection system comprises: A plurality of inspection stations for inspecting the product; A storage unit, for storing the detection result of the first detection station, and for storing the detection result of the Nth detection station and the superposition value of the detection results of the 1st to N-1th detection stations; a control and judgment unit, configured to judge whether the Nth inspection station needs to inspect the product based on the inspection result of the first inspection station or the superposition value of the inspection results of the 1st to N-1th inspection stations stored in the storage unit; A transport device for transporting the product; The rejection device is used to reject the unqualified products.