Quality detection method and device for labeling machine based on machine vision

Using machine vision technology to monitor the labeling size, shape, appearance and adhesion force of the labeling machine solves the problem of reduced accuracy of the labeling machine in a high-speed production environment, implements real-time quality assessment and control strategies, and ensures the high quality of product labels output.

CN118671003AInactive Publication Date: 2024-09-20SHENZHEN CPT PRECISION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410978829.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a high-speed production environment, the accuracy of the labeling machine is reduced, resulting in the inability to effectively guarantee the quality of product labels, and the accuracy and consistency of manual labeling are not high.

Method used

Adopt a quality inspection method for labeling machines based on machine vision to collect label information, monitor labeling size, shape, appearance and adhesion force, calculate quality parameters, and conduct cumulative analysis and control strategy execution based on the inspection results to ensure labeling machine operating performance and label quality.

Benefits of technology

Real-time detection of labeling quality is achieved, preventing unqualified products from entering the downstream production process, improving the stability and accuracy of the labeling machine, and ensuring high-quality output of product labels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118671003A
    Figure CN118671003A
Patent Text Reader

Abstract

The invention discloses a quality detection method and device for a labeling machine based on machine vision, and relates to the technical field of visual detection. Through comparison of a product image and a standard labeling graph, labeling size, shape, appearance and force application deviation can be detected in time, a size deviation value, a shape deviation value, an appearance performance value and a pressure performance value can be obtained through monitoring and analysis, each labeling operation can be effectively evaluated, quality parameters can be obtained, an accurate quality detection result can be output, and the product quality detection efficiency is improved. Important data support is provided for optimization control of subsequent labeling operation; by comprehensively analyzing quality parameters, real-time labeling quality evaluation is provided, and a corresponding detection result is output, so that the label quality of a product is ensured; and meanwhile, by deeply analyzing the working state of each labeling machine and adopting a corresponding control strategy, the stability, the precision and the efficiency of the labeling machine are improved, so that the product label quality risk and the fault risk are effectively reduced, and continuous high-quality label service is provided for products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual inspection technology, and in particular to a quality inspection method and device for a labeling machine based on machine vision. Background Art

[0002] Traditional product labels are pasted manually, but due to the different proficiency of each person, the accuracy and consistency of the product label pasting position are not high. With the rise of automation technology, labeling machines have been developed, which are used to accurately affix labels to the surface of products, which can effectively improve labeling efficiency and consistency. In order to adapt to high-speed production, current labeling machines usually perform labeling operations in a high-speed production environment. This high-load and long-term work will reduce the accuracy of the labeling machine, resulting in the inability to effectively guarantee the quality of the labels on the products. Summary of the invention

[0003] The present invention provides a quality detection method and device for a labeling machine based on machine vision, which are used to solve the above-mentioned technical problems.

[0004] The first aspect of the present invention provides a quality inspection method for a labeling machine based on machine vision, comprising the following steps: P1: collecting label information, wherein the label information includes a product image and pressure at each monitoring point on the labeling head; P2: Based on the label information, the label size, shape, appearance and adhesion force of the labeling operation are monitored and analyzed to obtain the quality parameters corresponding to the labeling operation, where the quality parameters include size deviation value, shape deviation value, appearance performance value and pressure performance value; P3: Perform comprehensive analysis based on quality parameters to obtain the test results of labeling operation, conduct cumulative analysis on the labeling machine based on the test results to determine its labeling operation performance, and execute the corresponding control strategy; the specific process is: Step 1: Retrieve quality parameters, including size deviation value, shape deviation value, appearance performance value and pressure performance value, and perform weighted calculation to obtain a test value; when the test value is greater than or equal to the set test threshold, output the test result of "label pasting is unqualified"; when the test value is less than the set test threshold, output the test result of "label pasting is qualified"; thus, the test result corresponding to each labeling operation of each labeling machine can be obtained; Step 2: Obtain the labeling record of each labeling machine, where the labeling record includes the number of labeling operations, recorded as D1, and the detection result, start labeling time and end labeling time corresponding to each labeling operation; calculate the time difference between the start labeling time and the end labeling time corresponding to each labeling operation to obtain the labeling time corresponding to each labeling operation, and calculate the average operation time by averaging, recorded as D2; Step 3: When the test result of the labeling operation is "unqualified label pasting", it is accumulated as one unqualified; when the test result of the labeling operation is "unqualified label pasting", it is accumulated as one qualified; the cumulative number of qualified times and the cumulative number of unqualified times of the labeling machine are counted respectively, and they are recorded as D3 and D4 respectively; Step 4: Substitute the number of labeling operations D1, average operation length D2, cumulative number of qualified results D3, and cumulative number of unqualified results D4 into the set formula The labeling operation value Dg is calculated, where g1, g2, and g3 are set weight factors, and their values ​​are set by technical personnel in this field according to actual needs; when the labeling operation value is greater than the maximum value in the operation range, it is taken offline and replaced with a spare labeling machine; when the labeling operation value is in the set operation range, the number of the labeling machine is obtained, and a maintenance instruction is generated and sent to the corresponding engineer.

[0005] Optionally, the specific process of labeling size monitoring and analysis is as follows: Assume that there is a standard labeling map, identify the product center points in the product image and the standard labeling map, and mark them in the product image and the standard labeling map respectively. Use the edge detection algorithm to extract the label edges and center points in the product image and the standard labeling map to obtain the label edge map corresponding to the product image and the standard edge map corresponding to the standard labeling map. Calculate the areas occupied by the labels in the label edge map and the standard edge map to obtain the label area and the standard area, and record them as S1 and S2 respectively. The formula set is The dimension deviation value Sa is obtained by calculation, wherein a1 is a correction factor, and its value is set by those skilled in the art according to actual needs.

[0006] Optionally, the specific process of labeling morphology monitoring and analysis is as follows: The label edge map and the standard edge map are overlapped and compared, where the center points of the label edge map and the standard edge map coincide, and the union area and intersection area of ​​the label edge map and the standard edge map are calculated, and recorded as Y1 and Y2 respectively, and substituted into the set formula The morphological deviation value Ha is calculated, wherein a2 is a set correction factor, and its value is set by those skilled in the art according to actual needs.

[0007] Optionally, the specific process of label appearance monitoring and analysis is as follows: The label in the product image is identified by using visual recognition technology, and the label part is cut and extracted to obtain a label attachment map; the wrinkle parts and bubble parts in the label attachment map are identified by using visual recognition technology, and they are marked on the label attachment map, and the wrinkle area of ​​each wrinkle part and the bubble area of ​​each bubble part are calculated; The wrinkle area and bubble area corresponding to the wrinkle part and bubble part are compared and analyzed to obtain the wrinkle coefficient and bubble coefficient, which are recorded as Zα and Zβ respectively; The wrinkle areas and bubble areas corresponding to each wrinkle part and bubble part in the label attachment diagram are summed up to obtain the total wrinkle area and the total bubble area, which are recorded as Y1 and Y2 respectively; Substitute the wrinkle coefficient Zα, bubble coefficient Zβ, total wrinkle area Y1 and total bubble area Y2 into the set formula The appearance performance value Ya is calculated, where a3 and a4 are respectively set weight factors, and the values ​​are set by technicians in this field according to actual needs.

[0008] Optionally, the specific process of comparing and analyzing the wrinkle area and the bubble area is as follows: The wrinkle area is compared with the set wrinkle interval to divide the wrinkle parts corresponding to the wrinkle area into high wrinkles, medium wrinkles and low wrinkles. The cumulative number of high wrinkles, medium wrinkles and low wrinkles is counted and recorded as Z1, Z2 and Z3 respectively. Substitute them into the set formula The wrinkle coefficient Zα is calculated, wherein b1, b2, and b3 are respectively set weight factors, and their values ​​are set by technicians in this field according to actual needs; Similarly, the bubble area corresponding to the bubble position is compared with the set bubble interval to obtain the bubble coefficient, which is recorded as Zβ.

[0009] Optionally, the specific process of label attachment force monitoring analysis is as follows: The pressure of each monitoring point on the label head is retrieved, and it is decomposed along the direction perpendicular to the label head panel and parallel to the label head panel to obtain the vertical component and the parallel component respectively. The modulus of the vertical component is taken as the vertical force, and the vertical force of each monitoring point is recorded as Ni, where i=1, 2, 3...I, I is a positive integer, I represents the total number of monitoring points on the label head, and i represents the serial number of any monitoring point on the label head; Assume that there is a standard force, take the modulus of the standard force as the standard force BN, and use the set formula The pressure deviation value Nai of each monitoring point is calculated, where a5 is a set correction factor, and its value is set by technicians in this field according to actual needs; Compare and analyze the pressure deviation value with the set deviation interval to divide the monitoring points corresponding to the pressure deviation value into high deviation, medium deviation and low deviation. Count the cumulative number of high deviation, medium deviation and low deviation respectively, and record them as C1, C2 and C3 respectively, and substitute them into the set formula The pressure performance value Ca is calculated, where is the average vertical force of each monitoring point, a6, a7, a8, and a9 are respectively set weight factors, and their values ​​are set by technical personnel in this field according to actual needs.

[0010] The second aspect of the present invention provides a quality inspection device for a labeling machine based on machine vision, the device comprising: so that the quality inspection device for a labeling machine based on machine vision performs the above-mentioned quality inspection method for a labeling machine based on machine vision, the device comprising: a data acquisition module, a quality inspection module and a safety control module; The data acquisition module is used to collect label information, where the label information includes product images and the pressure at each monitoring point on the labeling head; The quality inspection module monitors and analyzes the labeling size, shape, appearance and adhesion force of the labeling operation based on the label information to obtain the quality parameters corresponding to the labeling operation, where the quality parameters include size deviation value, shape deviation value, appearance performance value and pressure performance value; The safety control module performs a comprehensive analysis based on the quality parameters to obtain the test results of the labeling operation, and performs a cumulative analysis of the labeling machine based on the test results to determine its labeling operation performance and execute the corresponding control strategy; the specific process is: Step 1: Retrieve quality parameters, including size deviation value, shape deviation value, appearance performance value and pressure performance value, and perform weighted calculation to obtain a test value; when the test value is greater than or equal to the set test threshold, output the test result of "label pasting is unqualified"; when the test value is less than the set test threshold, output the test result of "label pasting is qualified"; thus, the test result corresponding to each labeling operation of each labeling machine can be obtained; Step 2: Obtain the labeling record of each labeling machine, where the labeling record includes the number of labeling operations, recorded as D1, and the detection result, start labeling time and end labeling time corresponding to each labeling operation; calculate the time difference between the start labeling time and the end labeling time corresponding to each labeling operation to obtain the labeling time corresponding to each labeling operation, and calculate the average operation time by averaging, recorded as D2; Step 3: When the test result of the labeling operation is "unqualified label pasting", it is accumulated as one unqualified; when the test result of the labeling operation is "unqualified label pasting", it is accumulated as one qualified; the cumulative number of qualified times and the cumulative number of unqualified times of the labeling machine are counted respectively, and they are recorded as D3 and D4 respectively; Step 4: Substitute the number of labeling operations D1, average operation length D2, cumulative number of qualified results D3, and cumulative number of unqualified results D4 into the set formula The labeling operation value Dg is calculated, where g1, g2, and g3 are set weight factors, and their values ​​are set by technical personnel in this field according to actual needs; when the labeling operation value is greater than the maximum value in the operation range, it is taken offline and replaced with a spare labeling machine; when the labeling operation value is in the set operation range, the number of the labeling machine is obtained, and a maintenance instruction is generated and sent to the corresponding engineer.

[0011] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects: 1. By comparing the product image with the standard labeling image, the deviation of labeling size, shape, appearance and force can be detected in time to monitor and analyze the size deviation value, shape deviation value, appearance performance value and pressure performance value, which can effectively evaluate each labeling operation and obtain quality parameters. Based on this, accurate quality inspection results can be output, providing important data support for the optimization control of subsequent labeling operations; 2. Through comprehensive analysis of quality parameters, real-time labeling quality assessment is provided, and corresponding test results are output, which helps to timely discover label quality problems, avoid unqualified products from entering the downstream production process, and ensure the label quality of the product; at the same time, through in-depth analysis of the working status of each labeling machine and adopting corresponding control strategies, the stability, accuracy and efficiency of the labeling machine are improved, thereby effectively reducing the product label quality risk and failure risk, and providing continuous high-quality labeling services for the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. The following drawings are not intentionally scaled to the actual size, and the focus is on illustrating the main purpose of the present application.

[0013] Figure 1 It is a schematic diagram of the method flow of the present invention; Figure 2 It is a schematic diagram of the connection of the device modules of the present invention. DETAILED DESCRIPTION

[0014] Embodiments of the present invention provide an energy scheduling management method, apparatus, device and storage medium. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0015] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1-2 In an embodiment of the present invention, a quality detection method for a labeling machine based on machine vision is implemented by a quality detection device for a labeling machine based on machine vision, wherein the quality detection device for a labeling machine based on machine vision includes: a data acquisition module, a quality detection module and an optimization control module; the specific method includes the following steps: P1: The data acquisition module communicates with the labeling machine and various sensors mounted on the labeling machine to collect label information in real time. The labeling information includes the image of the product after labeling and the pressure at each monitoring point on the labeling head. It should be noted that label information refers to the information generated by the labeling machine in the process of labeling the product. Therefore, each time the labeling machine completes the labeling of a product, a corresponding piece of labeling information is generated. Several monitoring points are set on the labeling head, and a pressure sensor is installed at each monitoring point. The pressure at each monitoring point on the labeling head refers to the pressure applied when the labeling head contacts the product (that is, when the labeling head attaches the label to the surface of the product), which is very important for ensuring that the label is firmly adhered to the surface of the product. A manipulator is installed on the labeling machine. The manipulator grabs the product to a fixed position according to a preset posture, and performs labeling operations according to the preset labeling position. After the labeling operation, the product image is captured using a high-definition camera. P2: The quality inspection module monitors and analyzes the labeling size, shape, appearance and adhesion force of the labeling machine based on the label information to extract quality parameters; specifically: P21: Retrieve labeling information corresponding to the labeling operation, where the labeling information includes the product image and the pressure at each monitoring point on the labeling head; assume that there is a standard labeling diagram. It should be noted that the standard labeling diagram refers to the appearance diagram of the labeled product that meets the process requirements after the labeling machine performs the labeling operation at the preset labeling position in a fixed position according to the preset posture; therefore, the product image and the standard labeling diagram are photos taken in the same posture. If there is a large difference between the position of the label in the product image and the standard labeling diagram, it means that there is a risk that the labeling position of the product corresponding to the product image does not meet the process requirements; P22: Identify the center point of the product in the product image and the standard labeling image, and mark it in the product image and the standard labeling image respectively. Use the edge detection algorithm to extract the label edge and center point in the product image and the standard labeling image to obtain the label edge image corresponding to the product image and the standard edge image corresponding to the standard labeling image. Calculate the area occupied by the label in the label edge image and the standard edge image to obtain the label area and the standard area, and record them as S1 and S2 respectively. It should be noted that the smaller the size difference between the label in the product image and the standard labeling image is, the smaller the difference between the label area and the standard area is. By setting the formula The size deviation value Sa is obtained by calculation, wherein a1 is a correction factor, and its value is set by the personnel in the field according to actual needs. Specifically, the value of a1 can be 2.811. It can be seen from the formula that when the difference between the label area and the standard area is larger, the denominator is smaller, and the size deviation value is larger; when the difference between the label area and the standard area is smaller, the denominator is larger, and the size deviation value is smaller. P23: Overlap and compare the label edge map and the standard edge map, where the center points of the label edge map and the standard edge map overlap (the center point plays a positioning role), calculate the union area and intersection area of ​​the label edge map and the standard edge map, and record them as Y1 and Y2 respectively; it should be noted that the union area refers to the area of ​​the overlapping part when the label edge map and the standard edge map are overlapped and compared, and the union area refers to the total area when the label edge map and the standard edge map are overlapped and compared, that is, the sum of all edge areas existing in any image of the label edge map and the standard edge map; it should be noted that the smaller the difference in label angle between the product image and the standard labeling image, the smaller the difference in intersection area and union area; through the set formula The morphological deviation value Ha is obtained by calculation, wherein a2 is a set correction factor, and its value is set by the personnel in this field according to actual needs. The specific value of a2 can be 2.067. It can be seen from the formula that when the difference between the intersection area and the union area is larger, the denominator is smaller, and the morphological deviation value is larger; when the difference between the intersection area and the union area is smaller, the denominator is larger, and the morphological deviation value is smaller. P24: Use visual recognition technology to identify the label in the product image, cut and extract the label part to obtain the label attachment map (the label attachment map refers to the image of the product image with other parts removed and only the label part retained); then use visual recognition technology to identify the wrinkle parts and bubble parts in the label attachment map, mark them on the label attachment map, count the number of wrinkle parts and bubble parts respectively, calculate the wrinkle area of ​​each wrinkle part, and the bubble area of ​​each bubble part; Compare and analyze the wrinkle area corresponding to the wrinkle part with the set wrinkle interval. When the wrinkle area is greater than the maximum value in the set wrinkle interval, it means that the wrinkle corresponding to the wrinkle part is more serious; then a high wrinkle is accumulated; when the wrinkle area is in the set wrinkle interval, a medium wrinkle is accumulated; when the wrinkle area is less than the minimum value in the set wrinkle interval, a low wrinkle is accumulated; the cumulative number of high wrinkles, medium wrinkles and low wrinkles are counted respectively, and they are recorded as Z1, Z2, and Z3 respectively; using the set formula The wrinkle coefficient Zα is calculated, wherein b1, b2, and b3 are respectively set weight factors, and their values ​​are set by technicians in this field according to actual needs; Compare and analyze the bubble area corresponding to the bubble part with the set bubble interval. When the bubble area is greater than the maximum value in the set bubble interval, it means that the bubble corresponding to the bubble part is more serious; then a high bubble is accumulated; when the bubble area is in the set bubble interval, a medium bubble is accumulated; when the bubble area is less than the minimum value in the set bubble interval, a low bubble is accumulated; count the cumulative number of high bubbles, medium bubbles and low bubbles respectively, and record them as Z4, Z5 and Z6 respectively; use the set formula The bubble coefficient Zβ is calculated, wherein b4, b5, and b6 are respectively set weight factors, and their values ​​are set by technicians in this field according to actual needs; The fold area and bubble area corresponding to each fold part and bubble part in the label attachment diagram are summed up to obtain the total fold area and bubble area, and recorded as Y1 and Y2 respectively. The appearance performance value Ya is obtained by calculation, wherein a3 and a4 are respectively set weight factors, and the values ​​thereof are set by those skilled in the art according to actual needs. It can be seen from the formula that when there are more wrinkle parts and bubble parts in the label attachment diagram, the corresponding wrinkle area and bubble area are larger, indicating that the appearance of the label does not meet the process requirements, and the appearance performance value is larger; P25: Retrieve the pressure of each monitoring point on the label head and record it as (vector), where i = 1, 2, 3...I, I is a positive integer, I represents the total number of monitoring points on the tag head, and i represents the serial number of any monitoring point on the tag head; the pressure of each monitoring point Decompose along the direction perpendicular to the labeling head panel and parallel to the labeling head panel to obtain the vertical component (vector) and the parallel component (vector), take the modulus of the vertical component as the vertical force (scalar), and thus the vertical force of each monitoring point can be recorded as Ni; It should be noted that if the direction or magnitude of the pressure at each monitoring point is inconsistent when the label head is labeling, the label attachment effect will be uneven or not firm. If the pressure direction is not perpendicular to the label head panel, the component force of the pressure perpendicular to the label head panel is too small, resulting in poor label attachment effect. It is assumed that there is a standard force (vector), and the modulus of the standard force is recorded as the standard force BN. It should be noted that the standard force is a force perpendicular to the labeling head panel, and its magnitude is determined by the specific process requirements. Excessive pressure will cause the label to be pressed too hard into the product surface, which may cause damage or deformation of the product surface, and may also cause uneven adhesion of the label. Too little pressure may cause the label to be loosely adhered in certain areas, or the overall adhesion effect is poor, because the label does not have enough strength to adhere to the product surface. Therefore, the closer the vertical force is to the standard force, the better the label adhesion effect. Using the set formula The pressure deviation value Nai of each monitoring point is calculated, where a5 is a set correction factor, and its value is set by technicians in this field according to actual needs; Compare and analyze the pressure deviation value with the set deviation interval. When the pressure deviation value is greater than the maximum value in the set deviation interval, a high deviation is accumulated; when the pressure deviation value is within the set deviation interval, a medium deviation is accumulated; when the pressure deviation value is less than the minimum value in the set deviation interval, a low deviation is accumulated; the accumulated number of high deviation, medium deviation and low deviation are counted respectively, and recorded as C1, C2, C3 respectively; using the set formula The pressure performance value Ca is calculated, where is the average value of the vertical force at each monitoring point, a6, a7, a8, and a9 are respectively set weight factors, and their values ​​are set by technicians in this field according to actual needs; it can be seen from the formula that when the pressure deviation of the monitoring point is larger, the difference between the pressure and the standard force is larger, and the pressure performance value is larger; when the pressure of each monitoring point is uneven, the pressure performance value is larger; P26: The size deviation value Sa, the shape deviation value Ha, the appearance performance value Ya and the pressure performance value Ca are recorded as the quality parameters of this labeling operation, thereby obtaining the quality parameters corresponding to each labeling operation of the labeling machine and sending them to the optimization control module; By comparing product images with standard labeling images, the deviations in labeling size, shape, appearance and force can be detected in a timely manner for monitoring and analysis to obtain the size deviation value Sa, shape deviation value Ya, appearance performance value Ya, and pressure performance value Ca. This can effectively evaluate each labeling operation and obtain quality parameters, based on which accurate quality inspection results can be output, providing important data support for the optimization control of subsequent labeling operations.

[0016] P3: The optimization control module comprehensively analyzes and judges the labeling quality corresponding to the labeling operation based on the received quality parameters and outputs the test results. It also conducts in-depth analysis of the working status of the labeling machine based on the test results and executes the corresponding control strategy; specifically: Retrieve quality parameters, including size deviation value Sa, shape deviation value Ha, appearance performance value Ya and pressure performance value Ca, and perform weighted calculation to obtain a test value; when the test value is greater than or equal to the set test threshold, it means that the label pasting corresponding to this label operation does not meet the technical requirements, and the test result of "label pasting is unqualified" is output; when the test value is less than the set test threshold, the test result of "label pasting is qualified" is output; thus, the test result corresponding to each labeling operation of each labeling machine can be obtained; Obtain the labeling record of each labeling machine, wherein the labeling record includes the number of labeling operations, recorded as D1, and the detection result, start labeling time and end labeling time corresponding to each labeling operation; calculate the time difference between the start labeling time and the end labeling time corresponding to each labeling operation to obtain the labeling time corresponding to each labeling operation, and calculate the average operation time by averaging, recorded as D2; When the test result of the labeling operation is "unqualified label pasting", it is accumulated as one unqualified; when the test result of the labeling operation is "unqualified label pasting", it is accumulated as one qualified; the cumulative number of qualified times and the cumulative number of unqualified times of the labeling machine are counted respectively, and they are recorded as D3 and D4 respectively; By setting the formula The labeling operation value Dg is obtained by calculation, wherein g1, g2, and g3 are respectively set weight factors, and the values ​​are set by technicians in this field according to actual needs. It can be seen from the formula that the larger the average operation length, the slower the efficiency of the labeling machine, and the larger the labeling operation value; the more unqualified times and the smaller qualified times, the lower the accuracy of the labeling machine, and the larger the labeling operation value; Compare and analyze the labeling operation value with the set operation range. When the labeling operation value is greater than the maximum value in the operation range, it means that there are relatively big problems in the labeling machine during the labeling operation, resulting in low labeling accuracy and efficiency. In this case, it will be taken offline and replaced with a spare labeling machine. When the labeling operation value is in the set operation range, the number of the labeling machine is obtained, and a maintenance instruction is generated and sent to the corresponding engineer for timely maintenance, so as to prevent equipment failure and ensure production efficiency. When the labeling operation value is less than the minimum value in the set operation range, no operation is required. By comprehensively analyzing quality parameters, providing real-time labeling quality assessment and outputting corresponding test results, it is helpful to promptly discover label quality problems, avoid unqualified products from entering the downstream production process, and ensure the label quality of the product; at the same time, by in-depth analysis of the working status of each labeling machine and adopting corresponding control strategies, the stability, accuracy and efficiency of the labeling machine can be improved, thereby effectively reducing the product label quality risk and failure risk, and providing continuous high-quality labeling services for the product.

[0017] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A quality inspection method for a labeling machine based on machine vision, characterized in that: The following steps are involved: P1: Collect label information, including product image and pressure at each monitoring point on the labeling head; P2: Based on the label information, the label size, shape, appearance and adhesion force of the labeling operation are monitored and analyzed to obtain the quality parameters corresponding to the labeling operation, where the quality parameters include size deviation value, shape deviation value, appearance performance value and pressure performance value; P3: Perform comprehensive analysis based on quality parameters to obtain the test results of labeling operation, conduct cumulative analysis on the labeling machine based on the test results to determine its labeling operation performance, and execute the corresponding control strategy; the specific process is: Step 1: Retrieve quality parameters, including size deviation value, shape deviation value, appearance performance value and pressure performance value, and perform weighted calculation to obtain the test value, perform judgment on it, and obtain the test result corresponding to each labeling operation of each labeling machine; Step 2: Obtain the labeling record of each labeling machine, wherein the labeling record includes the number of labeling operations and the detection result, start labeling time and end labeling time corresponding to each labeling operation; calculate the time difference between the start labeling time and the end labeling time corresponding to each labeling operation to obtain the labeling time corresponding to each labeling operation, and calculate the average of the operation to obtain the average operation time; Step 3: According to the test results of the labeling operation, the cumulative number of qualified and unqualified times of the labeling machine are counted respectively; Step 4: Normalize the number of labeling operations, average operation length, cumulative number of qualified and cumulative number of unqualified, and take their values, and analyze the values ​​to obtain the labeling operation value; when the labeling operation value is greater than the maximum value in the operation range, it will be taken offline and replaced with a spare labeling machine; when the labeling operation value is in the set operation range, the number of the labeling machine is obtained, and a maintenance instruction is generated and sent to the corresponding engineer.

2. The quality inspection method for labeling machine based on machine vision according to claim 1 is characterized in that: The specific process of labeling size monitoring and analysis is as follows: Assume that there is a standard labeling image, identify the product center points in the product image and the standard labeling image, and mark them in the product image and the standard labeling image respectively. Use the edge detection algorithm to extract the label edges and center points in the product image and the standard labeling image to obtain the label edge image corresponding to the product image and the standard edge image corresponding to the standard labeling image. Calculate the areas occupied by the labels in the label edge image and the standard edge image respectively to obtain the label area and the standard area, and perform formulaic calculation and analysis to obtain the size deviation value.

3. The quality inspection method for labeling machine based on machine vision according to claim 1, characterized in that: The specific process of labeling morphology monitoring and analysis is as follows: The label edge map and the standard edge map are overlapped and compared, wherein the center points of the label edge map and the standard edge map overlap, and the union area and intersection area of ​​the label edge map and the standard edge map are calculated, and the morphological deviation value is obtained by formulating and analyzing them.

4. The quality inspection method for labeling machine based on machine vision according to claim 1, characterized in that: The specific process of labeling appearance monitoring and analysis is as follows: The labels in the product images are identified by using visual recognition technology, and the label parts are cut and extracted to obtain the label attachment map; the wrinkle parts and bubble parts in the label attachment map are identified by using visual recognition technology, and they are marked on the label attachment map, and the wrinkle area of ​​each wrinkle part and the bubble area of ​​each bubble part are calculated; The wrinkle area and bubble area corresponding to the wrinkle part and bubble part are compared and analyzed to obtain the wrinkle coefficient and bubble coefficient; The fold areas and bubble areas corresponding to each fold part and bubble part in the label attachment diagram are summed up to obtain the total fold area and the total bubble area; The wrinkle coefficient, bubble coefficient, total wrinkle area and total bubble area are analyzed to obtain the appearance performance value.

5. The quality inspection method for labeling machine based on machine vision according to claim 4 is characterized in that: The specific process of comparative analysis of wrinkle area and bubble area is as follows: Compare and analyze the wrinkle area with the set wrinkle interval to divide the wrinkle parts corresponding to the wrinkle area into high wrinkles, medium wrinkles and low wrinkles, count the cumulative number of high wrinkles, medium wrinkles and low wrinkles respectively, and calculate and analyze them in a formula to obtain the wrinkle coefficient; Similarly, the bubble area corresponding to the bubble position is compared with the set bubble interval to obtain the bubble coefficient.

6. The quality inspection method for labeling machine based on machine vision according to claim 1, characterized in that: The specific process of labeling adhesion force monitoring and analysis is as follows: The pressure of each monitoring point on the label head is retrieved, and it is decomposed along the direction perpendicular to the labeling head panel and parallel to the labeling head panel to obtain the vertical component and the parallel component respectively. The modulus length of the vertical component is taken as the vertical force, thereby obtaining the vertical force of each monitoring point; Assume that there is a standard force, take the modulus length of the standard force as the standard force, and use the formula to calculate and analyze the vertical force of each monitoring point to obtain the pressure deviation value of each monitoring point; The pressure deviation value is compared with the set deviation interval to divide the monitoring points corresponding to the pressure deviation value into high deviation, moderate deviation and low deviation. The cumulative number of high deviation, moderate deviation and low deviation is counted respectively, and they are normalized with the pressure deviation value and vertical force of each monitoring point and their numerical values ​​are taken. The pressure performance value is obtained by numerical analysis.

7. A quality inspection device for a labeling machine based on machine vision, characterized in that: Applicable to the quality detection method for a labeling machine based on machine vision as claimed in any one of claims 1 to 6, the device comprises: a data acquisition module, a quality detection module and a safety control module; The data acquisition module is used to collect label information, where the label information includes product images and the pressure at each monitoring point on the labeling head; The quality inspection module monitors and analyzes the labeling size, shape, appearance and adhesion force of the labeling operation based on the label information to obtain the quality parameters corresponding to the labeling operation, where the quality parameters include size deviation value, shape deviation value, appearance performance value and pressure performance value; The safety control module performs a comprehensive analysis based on the quality parameters to obtain the test results of the labeling operation, performs a cumulative analysis of the labeling machine based on the test results to determine its labeling operation performance, and executes the corresponding control strategy.

Citation Information

Cited By

  • Identification installation method, system and equipment and computer readable storage medium

    CN119660106A