An automated color difference detection system for packaging bag production

By designing an automated chromatic aberration detection system with the projection warning end, the angle detection end and the grading chromatic aberration end, the problems of luminous chromatic aberration and detection angle deviation in packaging bag production are solved, and high-precision chromatic aberration detection is achieved.

CN119688598BActive Publication Date: 2025-04-29MAIWEIKU (XIAMEN) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510215284.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-04-29
Estimated Expiration
2045-02-26

AI Technical Summary

Technical Problem

During the packaging bag production process, the existing automated chromatic aberration detection system cannot detect the chromatic aberration and detection angle deviation in real time, resulting in large chromatic aberration detection errors and inability to ensure accuracy.

Method used

An automated chromatic aberration detection system including projection warning end, angle detection end and grading chromatic aberration end is designed. By collecting and analyzing the spectral data of the lighting equipment in real time, judging and correcting the luminous chromatic aberration; by calculating the detection angle deviation value of the packaging bag, correcting the deviation angle in real time; and by grading detection, evaluating the chromatic aberration deviation value of multiple areas of the surface of the packaging bag.

Benefits of technology

Real-time detection and correction of chromatic aberration and detection angle deviation of irradiated light are achieved, improving the accuracy and accuracy of chromatic aberration detection of packaging bags and reducing detection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119688598B_ABST
    Figure CN119688598B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic color difference detection system for packaging bag production, which relates to the field of color difference detection technology, including a projection warning end, an angle detection end and a stepped color difference end; the projection warning end is used to set an automatic color difference detection area, and judge whether the color difference of the irradiated light occurs at the color difference detection position of the packaging bag; the angle detection end is used to judge whether the angle deviation of the color difference detection position of the packaging bag occurs by calculating the angle deviation value of the color difference detection of the current packaging bag; the stepped color difference end is used to evaluate the quality of packaging bag production in real time through the color difference deviation values ​​of different areas. The automatic color difference detection system for packaging bag production can detect in real time whether the color difference of the irradiated light occurs at the color difference detection position of the packaging bag, reduce the deviation of the color difference detection position of the packaging bag, realize multi-area stepped color difference detection for different packaging bags, and improve the color difference detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of color difference detection, and in particular to an automatic color difference detection system for packaging bag production. Background Art

[0002] The automated color difference detection system for packaging bag production is a complex system that integrates multiple advanced technologies. It is designed to improve the efficiency and accuracy of quality control in the packaging bag production process. This is one of the core components of the system, responsible for capturing images of the packaging bag surface. The high-resolution camera can obtain high-quality images to ensure that tiny color differences can be clearly identified during the detection process. In order to ensure the accuracy and stability of image acquisition, the system is equipped with a lighting system to ensure the automated color difference detection effect of packaging bag production.

[0003] At present, due to the existence of multiple processes in the production process of packaging bags, when performing real-time detection of color difference on the surface of packaging bags, the equipped lighting system illuminates the surface of the packaging bags, and cannot detect in real time whether there is color difference of the irradiated light at the color difference detection position of the packaging bags. If there is light color difference in the irradiated projection, it may cause a large error in the color difference detection, and the accuracy of the color difference detection cannot be guaranteed; at the same time, when performing color difference detection, it is impossible to detect in real time whether the detection angle of the color difference detection of the packaging bags is abnormal, which may cause the color difference detection position of the packaging bags to deviate, and the detection position of the packaging bags cannot be corrected in real time when it is abnormal; when performing color difference detection of packaging bags, since the drawing of the packaging bag surface is not fixed, it is impossible to realize multi-region stepped color difference detection when performing color difference detection of the packaging bag surface, resulting in color difference comparison errors when the packaging bags are detected, further affecting the accuracy and detection effect of the color difference detection of the packaging bags.

[0004] Therefore, an automated color difference detection system for packaging bag production is proposed to solve the above problems. Summary of the invention

[0005] The main purpose of the present invention is to provide an automated color difference detection system for packaging bag production to solve the problems raised in the above background.

[0006] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is: an automatic color difference detection system for packaging bag production, comprising a projection warning end, an angle detection end and a step color difference end, wherein the projection warning end, the angle detection end and the step color difference end are jointly provided with a voice alarm module;

[0007] The projection warning terminal is used to set an automatic color difference detection area, formulate color difference detection standard parameters, equip lighting equipment at multiple angles in the color difference detection area, perform color difference detection on the projections generated by multiple lighting equipment in real time, determine whether color difference of the irradiated light occurs at the color difference detection position of the packaging bag, and remove the color difference in real time if color difference of the irradiated light occurs;

[0008] The angle detection end is used to collect the position of the packaging bag for color difference detection in real time, and obtain the standard position of the corresponding type of packaging bag for color difference detection according to the color difference detection standard parameters, and to determine whether the packaging bag has an angle deviation of the color difference detection position by calculating the angle deviation value of the current packaging bag for color difference detection, and to correct it in real time when the color difference detection position of the packaging bag deviates;

[0009] The step color difference end is used to collect the surface image of the packaging bag in real time, set the image in regional steps, automatically perform step detection on the image, detect the color difference deviation values ​​of multiple regions on the surface of the packaging bag in real time, and evaluate the quality of the packaging bag production in real time according to the color difference deviation values ​​of different regions;

[0010] The voice alarm module is used to send out a voice alarm reminder through a voice alarm when the system is abnormal, and feedback is sent to manual processing.

[0011] The projection warning terminal includes an area setting module, a lighting equipment module and a projection tracking module;

[0012] The area setting module includes an area setting unit, a color difference detection standard and a packaging type unit;

[0013] The area setting unit is used to set the range of the automated color difference detection area in the packaging bag production process;

[0014] The color difference detection standard is used to formulate color difference detection standard parameters, which include the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state;

[0015] The packaging type unit is used to set different color difference detection standards according to different packaging bags. The color difference standard data includes the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state.

[0016] The lighting device module includes an illumination area unit and a projection color difference unit;

[0017] The irradiation area unit is used to set a plurality of illuminating devices in the packaging bag color difference detection area, the irradiation points of the plurality of illuminating devices are the same point, and the plurality of illuminating devices are numbered in Arabic numeral sequence;

[0018] The projection color difference unit is used to collect the spectrum data of the light emitted by multiple lighting devices in real time through the light sensor, and calculate the color difference between two spectrum data of the spectrum data of multiple lighting devices in real time through the color difference method. The calculation formula is as follows:

[0019] ;

[0020] in, Represents the color difference between two light source data, The light source coordinates representing the first spectrum data, The light source coordinates representing the second spectrum data, Represents the difference in brightness between two lighting fixtures.

[0021] The projection tracking module includes a chromatic aberration removal unit and a lighting warning unit;

[0022] The color difference removal unit is used to perform difference calculation on two spectral data among the spectral data of multiple lighting devices. If the difference result is equal to 0, it is judged that there are two identical spectral data. If the difference result is not equal to 0, it is judged that there are no two identical spectral data. When there are two or more identical data, the light source data with color difference are uniformly adjusted to the same light source data as the same data. If the spectral data of multiple lighting devices do not have the same data, the light source data with color difference are uniformly adjusted to the light source data equal to the average value of the multiple light source data.

[0023] The lighting warning unit is used to send a voice alarm to the reporting system when there is a difference in brightness, reminding the automated color difference detection system for packaging bag production to be abnormal.

[0024] The angle detection end includes a packaging tracking module, an angle detection module and a position correction module;

[0025] The package tracking module includes a position positioning unit and a standard position unit;

[0026] The position positioning unit is used to monitor the position of the packaging bag for color difference detection in real time through a camera, and to locate it in real time using GPS technology;

[0027] The standard position unit is used to obtain a standard position for color difference detection of a corresponding type of packaging bag according to a color difference detection standard parameter.

[0028] The angle detection module includes a vertical angle unit and a deviation warning unit;

[0029] The vertical angle unit is used to calculate whether the detection angle of the color difference detection position of the packaging bag is deviated, as follows:

[0030] Step I: Set the basic center point of the color difference detection standard position at the current moment as the origin, establish a coordinate system, and obtain the detection angle deviation value of the color difference detection position of the packaging bag by the calculation formula:

[0031] ;

[0032] ;

[0033] in, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the X-axis, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the Y axis, is the moving distance of the color difference detection position of the packaging bag, is the vector of the detection angle of the color difference detection position of the packaging bag in the X-axis direction, is the vector of the detection angle of the color difference detection position of the packaging bag in the Y-axis direction;

[0034] Step II: Move the calculated color difference detection position of the packaging bag and Compare with the detection angle of the color difference detection position of the packaging bag. The detection angle of the color difference detection position of the standard packaging bag is set to O and M. -O≥1 and -M≥1, it is judged that the detection angle of the color difference detection position of the packaging bag is abnormal; if not, it is judged that the detection angle of the color difference detection position of the packaging bag is normal;

[0035] The deviation warning unit is used to report the system to issue a voice alarm when the detection angle of the color difference detection position of the packaging bag is abnormal.

[0036] The position correction module includes a position correction unit and a correction comparison unit;

[0037] The position correction unit is used to adjust the detection angle of the packaging bag color difference detection position in real time according to the calculated detection angle deviation value;

[0038] The correction and comparison unit is used to calculate the difference between the detection angle of the color difference detection position of the packaging bag after adjustment and the detection angle of the color difference detection position of the packaging bag before adjustment. If the difference is equal to 0, it means that the correction is effective. If the difference is not equal to 0, it means that the correction is invalid. The correction is repeated twice until the correction is effective. When the correction is invalid for more than three times, the reporting system will issue a voice alarm to remind feedback for manual processing.

[0039] The step color difference terminal includes a drawing step module, a step detection module, a color difference comparison module and a detection and recording module;

[0040] The drawing grading module includes an image acquisition unit and a regional grading unit;

[0041] The image acquisition unit is used to acquire the surface image of the packaging bag in real time through a camera;

[0042] The regional classification unit is used to set regional classification for the surface image of the packaging bag. The regional classification setting is to divide the image entering the detection area into four regions, and arrange the four regions in sequence using Arabic numerals in ascending order.

[0043] The step detection module is used to perform step detection operation of color difference detection angles on four areas in real time through color difference step detection, as follows:

[0044] Step I: Calculate the coefficient of the first-order term of the regression equation. The formula is as follows:

[0045] ;

[0046] in, is a linear coefficient and represents the quadratic relationship between the detection angle and the color difference data of the packaging bag during color difference detection, as follows: It indicates the basic value of the detection angle deviation when testing the color difference of the first packaging bag. Indicates the basic value of the deviation of the first color difference detection angle to the specified point. Indicates the base value of the second color difference detection angle deviation. Indicates the basic value of the second color difference detection angle reaching the specified point. Indicates the basic value of the color difference detection angle deviation at the current moment, which indicates the deviation values ​​at different time points and different color difference detection angles;

[0047] Step II: Calculate the quadratic coefficient of the regression equation. The formula is as follows:

[0048] ;

[0049] in, represents the coefficient of the quadratic term, and represents the binary quadratic relationship between the detection angle during the color difference detection of the packaging bag and the color difference data during the color difference detection of the packaging bag;

[0050] ;

[0051] ;

[0052] in, represents the constant term coefficient, It indicates the average value of the color difference detection angle deviation at the current moment. The color difference detection angle here indicates the deviation angle between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. Indicates The deviation value of the color difference detection angle, It indicates the average value of the deviation angle data deformation of the packaging bag for color difference detection. Represents the average value of the deviation angle data of all color difference detections in the angle data set;

[0053] Step III: A regression equation is established based on the coefficient of the first-order term, the coefficient of the second-order term and the coefficient of the constant term, so as to obtain the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. If the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas is less than or equal to 0, the reporting system will issue a voice alarm to remind that the color difference detection angle of the packaging bag is abnormal, and feedback is given for manual processing;

[0054] The color difference comparison module is used to calculate the color difference between different areas on the packaging bag surface image for a second time according to the step detection module. If the result is equal to 0, it means there is no color difference. If the result is not equal to 0, it means there is color difference.

[0055] The detection and recording module includes a detection receiving unit and a color difference evaluation unit;

[0056] The detection receiving unit is used to receive the color difference detection data results of packaging bag production in real time through a data receiver;

[0057] The color difference evaluation unit is used to evaluate the packaging bag according to the color difference detection data results. If the detection result is abnormal, the packaging bag is judged to have failed the color difference detection. If the detection result is normal, the packaging bag is judged to have passed the color difference detection.

[0058] The present invention has the following beneficial effects:

[0059] 1. In the present invention, by setting a projection warning end, when performing real-time detection of color difference on the surface of the packaging bag, by formulating color difference detection standard parameters and setting different color difference detection standards for different packaging bags, the clarity of color difference detection for different packaging bags is guaranteed. At the same time, light is irradiated on the surface of the packaging bag, and the generated projection is used for real-time color difference detection. It is possible to detect in real time whether there is a problem of color difference of the irradiated light at the color difference detection position of the packaging bag, thereby ensuring the accuracy of color difference detection of the packaging bag and further reducing the color difference detection error.

[0060] 2. In the present invention, by setting an angle detection end, when performing real-time detection of color difference on the surface of the packaging bag, by calculating the angle deviation value of the color difference detection of the current packaging bag, it is judged in real time whether the packaging bag has an angle deviation in the color difference detection position, so that the system can reduce the deviation of the color difference detection position of the packaging bag, and when the color difference detection position of the packaging bag deviates, the color difference detection position of the packaging bag corresponding to the color difference detection standard parameters can be corrected in real time, so that when the detection position of the packaging bag is abnormal, the deviation angle can be corrected in real time, thereby ensuring the accuracy of the color difference detection position of the packaging bag.

[0061] 3. In the present invention, by setting a stepped color difference end, when performing real-time detection of color difference on the surface of the packaging bag, when detecting the color difference of the packaging bag, the image is automatically stepped to detect the color difference deviation values ​​of multiple areas on the surface of the packaging bag in real time, and the quality of the packaging bag production is evaluated in real time according to the color difference deviation values ​​of different areas, so that the system can realize multi-area stepped color difference detection for different packaging bags, reduce the situation of color difference comparison errors when performing color difference detection on the packaging bag, and further improve the accuracy and detection effect of color difference detection of the packaging bag. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 This is a schematic diagram of the overall system architecture of an automated color difference detection system for packaging bag production according to the present invention;

[0063] Figure 2 It is a schematic diagram of the structure of a projection warning terminal of an automatic color difference detection system for packaging bag production according to the present invention;

[0064] Figure 3 This is a schematic diagram of the structure of an angle detection end of an automated color difference detection system for packaging bag production according to the present invention;

[0065] Figure 4 The present invention is a schematic diagram of the structure of a stepped color difference end of an automatic color difference detection system for packaging bag production. DETAILED DESCRIPTION

[0066] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods. Embodiment 1

[0067] Please refer to Figure 1 to Figure 2 As shown: an automatic color difference detection system for packaging bag production, including a projection warning end, an angle detection end and a step color difference end, the projection warning end, the angle detection end and the step color difference end are jointly provided with a voice alarm module;

[0068] The projection warning terminal is used to set the automatic color difference detection area and formulate the color difference detection standard parameters, equip lighting equipment at multiple angles in the color difference detection area, perform real-time color difference detection on the projections generated by multiple lighting equipment, determine whether the color difference of the irradiation light occurs at the color difference detection position of the packaging bag, and remove the color difference in real time if the color difference of the irradiation light occurs;

[0069] The angle detection end is used to collect the position of the packaging bag for color difference detection in real time, and obtain the standard position of the corresponding type of packaging bag for color difference detection according to the color difference detection standard parameters, and to determine whether the packaging bag has an angle deviation of the color difference detection position by calculating the angle deviation value of the current packaging bag for color difference detection, and to correct it in real time when the color difference detection position of the packaging bag deviates;

[0070] The step color difference end is used to collect the surface image of the packaging bag in real time, set the image in different regions, automatically perform step detection on the image, and detect the color difference deviation values ​​of multiple regions on the surface of the packaging bag in real time. The quality of the packaging bag production is evaluated in real time according to the color difference deviation values ​​of different regions;

[0071] The voice alarm module is used to send out voice alarm reminders through the voice alarm when the system is abnormal, and feedback is provided for manual processing.

[0072] The projection warning terminal includes an area setting module, a lighting equipment module and a projection tracking module;

[0073] The area setting module includes an area setting unit, a color difference detection standard and a packaging type unit;

[0074] The area setting unit is used to set the automatic color difference detection area range in the packaging bag production process;

[0075] The color difference detection standard is used to formulate the color difference detection standard parameters, which include the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state;

[0076] The packaging type unit is used to set different color difference detection standards according to different packaging bags. The color difference standard data includes the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state.

[0077] The lighting device module includes an illumination area unit and a projection color difference unit;

[0078] The irradiation area unit is used to set a plurality of illuminators in the color difference detection area of ​​the packaging bag, the irradiation points of the plurality of illuminators are the same point, and the plurality of illuminators are numbered in Arabic numeral sequence;

[0079] The projection color difference unit is used to collect the spectrum data of the light emitted by multiple lighting devices in real time through the light sensor, and calculate the color difference between two spectrum data of the spectrum data of multiple lighting devices in real time through the color difference method. The calculation formula is as follows:

[0080] ;

[0081] in, Represents the color difference between two light source data, The light source coordinates representing the first spectrum data, The light source coordinates representing the second spectrum data, Represents the difference in brightness between two lighting fixtures.

[0082] The projection tracking module includes a chromatic aberration removal unit and a lighting warning unit;

[0083] The color difference removal unit is used to calculate the difference between two spectral data of the spectral data of multiple lighting devices. If the difference result is equal to 0, it is judged that there are two identical spectral data. If the difference result is not equal to 0, it is judged that there are no two identical spectral data. When there are two or more identical data, the light source data with color difference are uniformly adjusted to the same light source data as the same data. If the spectral data of multiple lighting devices do not have the same data, the light source data with color difference are uniformly adjusted to the light source data equal to the average value of the multiple light source data.

[0084] The lighting warning unit is used to report the abnormality of the automated color difference detection system in the packaging bag production when there is a difference in brightness. Multiple lighting devices simultaneously illuminate the surface of the packaging bag, and the resulting projection is used for real-time color difference detection. It can detect in real time whether there is a color difference in the irradiation light at the color difference detection position of the packaging bag. If there is a color difference in the irradiation projection, the color difference is removed in real time to ensure the accuracy of the color difference detection of the packaging bag and further reduce the color difference detection error. Embodiment 2

[0085] Please refer to Figure 3 As shown: Based on the first embodiment, the angle detection end includes a packaging tracking module, an angle detection module and a position correction module;

[0086] The package tracking module includes a position positioning unit and a standard position unit;

[0087] The position positioning unit is used to monitor the position of the packaging bag for color difference detection in real time through a camera, and use GPS technology to locate it in real time;

[0088] The standard position unit is used to obtain the standard position for color difference detection of the corresponding type of packaging bag according to the color difference detection standard parameters.

[0089] The angle detection module includes a vertical angle unit and a deviation warning unit;

[0090] The vertical angle unit is used to calculate whether the detection angle of the color difference detection position of the packaging bag is deviated, as follows:

[0091] Step I: Set the basic center point of the color difference detection standard position at the current moment as the origin, establish a coordinate system, and obtain the detection angle deviation value of the color difference detection position of the packaging bag by the calculation formula:

[0092] ;

[0093] ;

[0094] in, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the X-axis, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the Y axis, is the moving distance of the color difference detection position of the packaging bag, is the vector of the detection angle of the color difference detection position of the packaging bag in the X-axis direction, is the vector of the detection angle of the color difference detection position of the packaging bag in the Y-axis direction;

[0095] Step II: Move the calculated color difference detection position of the packaging bag and Compare with the detection angle of the color difference detection position of the packaging bag. The detection angle of the color difference detection position of the standard packaging bag is set to O and M. -O≥1 and -M≥1, it is judged that the detection angle of the color difference detection position of the packaging bag is abnormal; if not, it is judged that the detection angle of the color difference detection position of the packaging bag is normal;

[0096] The deviation warning unit is used to report the abnormal detection angle of the color difference detection position of the packaging bag to the system to issue a voice alarm.

[0097] The position correction module includes a position correction unit and a correction comparison unit;

[0098] The position correction unit is used to adjust the detection angle of the color difference detection position of the packaging bag in real time according to the calculated detection angle deviation value;

[0099] The correction and comparison unit is used to calculate the difference between the detection angle of the color difference detection position of the packaging bag after adjustment and the detection angle of the color difference detection position of the packaging bag before adjustment. If the difference is equal to 0, it means that the correction is effective. If the difference is not equal to 0, it means that the correction is invalid. The correction is repeated twice until the correction is effective. When the correction is invalid for more than three times, the reporting system will issue a voice alarm to remind feedback for manual processing. The system can detect in real time whether the detection angle of the color difference detection of the packaging bag is abnormal, reduce the deviation of the color difference detection position of the packaging bag, and when the color difference detection position of the packaging bag deviates, the color difference detection position of the packaging bag corresponding to the color difference detection standard parameters can be corrected in real time, so that when the detection position of the packaging bag is abnormal, the deviation angle can be corrected in real time to ensure the accuracy of the color difference detection position of the packaging bag. Embodiment 3

[0100] Please refer to Figure 4 As shown: Based on the first embodiment, the step color difference end includes a drawing step module, a step detection module, a color difference comparison module and a detection and recording module;

[0101] The drawing stratification module includes an image acquisition unit and a regional stratification unit;

[0102] The image acquisition unit is used to acquire the surface image of the packaging bag in real time through a camera;

[0103] The regional classification unit is used to set the regional classification of the surface image of the packaging bag. The regional classification setting is to divide the image entering the detection area into four areas, and arrange the four areas in sequence using Arabic numerals in ascending order.

[0104] The step detection module is used to perform step detection operation of color difference detection angles on four areas in real time through color difference step detection, as follows:

[0105] Step I: Calculate the coefficient of the first-order term of the regression equation. The formula is as follows:

[0106] ;

[0107] in, is a linear coefficient and represents the quadratic relationship between the detection angle and the color difference data of the packaging bag during color difference detection, as follows: It indicates the basic value of the detection angle deviation when testing the color difference of the first packaging bag. Indicates the basic value of the deviation of the first color difference detection angle to the specified point. Indicates the base value of the second color difference detection angle deviation. Indicates the basic value of the second color difference detection angle reaching the specified point. Indicates the basic value of the color difference detection angle deviation at the current moment, which indicates the deviation values ​​at different time points and different color difference detection angles;

[0108] Step II: Calculate the quadratic coefficient of the regression equation. The formula is as follows:

[0109] ;

[0110] in, represents the coefficient of the quadratic term, and represents the binary quadratic relationship between the detection angle during the color difference detection of the packaging bag and the color difference data during the color difference detection of the packaging bag;

[0111] ;

[0112] ;

[0113] in, represents the constant term coefficient, It indicates the average value of the color difference detection angle deviation at the current moment. The color difference detection angle here indicates the deviation angle between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. Indicates The deviation value of the color difference detection angle, It indicates the average value of the deviation angle data deformation of the packaging bag for color difference detection. Represents the average value of the deviation angle data of all color difference detections in the angle data set;

[0114] Step III: A regression equation is established based on the coefficient of the first-order term, the coefficient of the second-order term and the coefficient of the constant term, so as to obtain the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. If the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas is less than or equal to 0, the reporting system will issue a voice alarm to remind that the color difference detection angle of the packaging bag is abnormal, and feedback is given for manual processing;

[0115] The color difference comparison module is used to calculate the color difference between different areas on the surface image of the packaging bag according to the step detection module. If the result is equal to 0, it means there is no color difference. If the result is not equal to 0, it means there is color difference. The steps are as follows:

[0116] The four areas of the packaging bag surface image are graded into the first grade, the second grade, the third grade and the fourth grade, and the linear term coefficient of the regression equation is calculated as follows:

[0117] ;

[0118] Among them, here is a linear coefficient and represents the quadratic relationship between the first-level color difference data of the packaging bag and the second-level color difference data of the packaging bag, as follows: Indicates the basic value of color difference deviation when the first packaging bag is tested for color difference. Indicates the basic value of the first color difference deviation from the standard color deviation. Indicates the basic value of color difference deviation when testing the color difference of second-level packaging bags. Indicates the basic value of the second-level packaging bag color deviation from the specified point. Indicates the basic value of the color difference deviation at the current moment, which indicates the deviation values ​​at different time points and different colors;

[0119] Calculate the quadratic term coefficient of the regression equation as follows:

[0120] ;

[0121] in, represents the coefficient of the quadratic term, and represents the binary quadratic relationship between the first-level color difference data of the packaging bag and the second-level color difference data of the packaging bag;

[0122] ;

[0123] ;

[0124] in, represents the constant term coefficient, Indicates the average value of the color difference deviation at the current moment. The color difference deviation here indicates the deviation value of the color difference deviation of the packaging bag from the color difference data of other levels. Indicates The deviation value of the color difference detection, It represents the average value of the deviation data deformation of the packaging bag for color difference detection. Represents the average value of deviation data of all color difference detections in the angle dataset;

[0125] According to the coefficient of the first-order term, the coefficient of the second-order term and the coefficient of the constant term, a regression equation is established to obtain the deviation value of the color difference detection of the packaging bag and the color difference detection of other grades (the hierarchical detection operation here is performed based on the condition that the colors of the four areas of the surface image are the same. If the parameters are changed, the four areas of the surface image of the packaging bag can be graded and compared to adjust the color difference detection of the four areas with different colors). If the deviation value of the color difference detection of the packaging bag and the color difference detection of other grades is equal to 0, it means there is no color difference. If it is not equal to 0, it means there is color difference. The reporting system sends a voice alarm to remind that the color difference detection of the packaging bag is abnormal and feedback is given for manual processing.

[0126] The detection and recording module includes a detection receiving unit and a color difference evaluation unit;

[0127] The detection receiving unit is used to receive the color difference detection data results of packaging bag production in real time through a data receiver;

[0128] The color difference evaluation unit is used to evaluate the packaging bags according to the color difference detection data results. If the detection result is abnormal, the packaging bags are judged to have failed the color difference detection. If the detection result is not abnormal, the packaging bags are judged to have passed the color difference detection. When performing color difference detection, the image is automatically graded for detection, and the color difference deviation values ​​of multiple areas on the surface of the packaging bags are detected in real time. The quality of the packaging bag production is evaluated in real time according to the color difference deviation values ​​of different areas, so that the system can realize multi-area graded color difference detection for different packaging bags, reduce the occurrence of color difference comparison errors when performing color difference detection on packaging bags, and further improve the accuracy and detection effect of color difference detection on packaging bags.

[0129] In the present invention, an automatic color difference detection system for packaging bag production is provided. When the system is in operation, the automatic color difference detection area is first set, and the color difference detection standard parameters are formulated. Lighting equipment is provided at multiple angles in the color difference detection area, and the projections generated by multiple lighting equipment are subjected to real-time color difference detection, and it is determined whether the irradiation light color difference occurs at the color difference detection position of the packaging bag, and the irradiation light color difference is removed in real time after the irradiation light color difference occurs. Different color difference detection standards are set for different packaging bags to ensure the clarity of color difference detection for different packaging bags. At the same time, lighting equipment is provided at multiple angles in the color difference detection area, and multiple lighting equipment simultaneously emits light. The light is irradiated on the surface of the packaging bag, and the resulting projection is subjected to real-time color difference detection. It can detect in real time whether there is a problem of color difference in the irradiation light at the color difference detection position of the packaging bag. If there is light color difference in the irradiation projection, the color difference is removed in real time to ensure the accuracy of the color difference detection of the packaging bag and further reduce the color difference detection error; then the position of the packaging bag for color difference detection is collected in real time, and the standard position of the color difference detection of the corresponding type of packaging bag is obtained according to the color difference detection standard parameters. By calculating the angle deviation value of the color difference detection of the current packaging bag, it is judged whether the packaging bag has an angle deviation in the color difference detection position, and the color difference detection error is detected in the packaging bag. When the detection position deviates, it is corrected in real time. By calculating the angle deviation value of the color difference detection of the current packaging bag, it is judged in real time whether the angle of the color difference detection position of the packaging bag deviates, so that the system can detect in real time whether the detection angle of the color difference detection of the packaging bag is abnormal, reduce the deviation of the color difference detection position of the packaging bag, and when the color difference detection position of the packaging bag deviates, the color difference detection position of the packaging bag corresponding to the color difference detection standard parameters can be corrected in real time, so that when the detection position of the packaging bag is abnormal, the deviation angle can be corrected in real time to ensure the accuracy of the color difference detection position of the packaging bag; finally, by real-time acquisition of the surface image of the packaging bag, and The image is automatically divided into regions and stages, and the image is automatically divided into stages for detection. The color difference deviation values ​​of multiple regions on the surface of the packaging bag are detected in real time. The quality of the packaging bag production is evaluated in real time according to the color difference deviation values ​​of different regions. When performing color difference detection, the image is automatically divided into stages for detection, and the color difference deviation values ​​of multiple regions on the surface of the packaging bag are detected in real time. The quality of the packaging bag production is evaluated in real time according to the color difference deviation values ​​of different regions. This enables the system to realize multi-region divided color difference detection for different packaging bags, reduce the occurrence of color difference comparison errors when performing color difference detection on packaging bags, and further improve the accuracy and detection effect of color difference detection on packaging bags.

[0130] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. An automated color difference detection system for packaging bag production, characterized in that: The automatic color difference detection system for packaging bag production includes a projection warning end, an angle detection end and a step color difference end, and the projection warning end, the angle detection end and the step color difference end are jointly provided with a voice alarm module; The projection warning terminal is used to set an automatic color difference detection area, formulate color difference detection standard parameters, equip lighting equipment at multiple angles in the color difference detection area, perform color difference detection on the projections generated by multiple lighting equipment in real time, determine whether color difference of the irradiated light occurs at the color difference detection position of the packaging bag, and remove the color difference in real time if color difference of the irradiated light occurs; The angle detection end is used to collect the position of the packaging bag for color difference detection in real time, and obtain the standard position of the corresponding type of packaging bag for color difference detection according to the color difference detection standard parameters, and to determine whether the packaging bag has an angle deviation of the color difference detection position by calculating the angle deviation value of the current packaging bag for color difference detection, and to correct it in real time when the color difference detection position of the packaging bag deviates; The step color difference end is used to collect the surface image of the packaging bag in real time, set the image in regional steps, automatically perform step detection on the image, detect the color difference deviation values ​​of multiple regions on the surface of the packaging bag in real time, and evaluate the quality of the packaging bag production in real time according to the color difference deviation values ​​of different regions; The voice alarm module is used to send out a voice alarm reminder through a voice alarm when the system is abnormal, and feedback is sent to manual processing.

2. The system according to claim 1, characterized in that The projection warning terminal includes an area setting module, a lighting equipment module and a projection tracking module; The area setting module includes an area setting unit, a color difference detection standard and a packaging type unit; The area setting unit is used to set the range of the automated color difference detection area in the packaging bag production process; The color difference detection standard is used to formulate color difference detection standard parameters, which include the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state; The packaging type unit is used to set different color difference detection standards according to different packaging bags. The color difference standard data includes the color difference detection position, color difference detection angle, color difference detection light, color difference detection time and color difference level of the packaging bag under the standard state.

3. The system according to claim 2, characterized in that The lighting device module includes an illumination area unit and a projection color difference unit; The irradiation area unit is used to set a plurality of illuminating devices in the packaging bag color difference detection area, the irradiation points of the plurality of illuminating devices are the same point, and the plurality of illuminating devices are numbered in Arabic numeral sequence; The projection color difference unit is used to collect the spectrum data of the light emitted by multiple lighting devices in real time through the light sensor, and calculate the color difference between two spectrum data of the spectrum data of multiple lighting devices in real time through the color difference method. The calculation formula is as follows: ; in, Represents the color difference between two light source data, The light source coordinates representing the first spectrum data, The light source coordinates representing the second spectrum data, Represents the difference in brightness between two lighting fixtures.

4. The system according to claim 3, characterized in that The projection tracking module includes a chromatic aberration removal unit and a lighting warning unit; The color difference removal unit is used to perform difference calculation on two spectral data among the spectral data of multiple lighting devices. If the difference result is equal to 0, it is judged that there are two identical spectral data. If the difference result is not equal to 0, it is judged that there are no two identical spectral data. When there are two or more identical data, the light source data with color difference are uniformly adjusted to the same light source data as the same data. If the spectral data of multiple lighting devices do not have the same data, the light source data with color difference are uniformly adjusted to the light source data equal to the average value of the multiple light source data. The lighting warning unit is used to send a voice alarm to the reporting system when there is a difference in brightness, reminding the automated color difference detection system for packaging bag production to be abnormal.

5. The system according to claim 1, characterized in that The angle detection end includes a packaging tracking module, an angle detection module and a position correction module; The package tracking module includes a position positioning unit and a standard position unit; The position positioning unit is used to monitor the position of the packaging bag for color difference detection in real time through a camera, and to locate it in real time using GPS technology; The standard position unit is used to obtain a standard position for color difference detection of a corresponding type of packaging bag according to a color difference detection standard parameter.

6. The system according to claim 5, characterized in that The angle detection module includes a vertical angle unit and a deviation warning unit; The vertical angle unit is used to calculate whether the detection angle of the color difference detection position of the packaging bag is deviated, as follows: Step I: Set the basic center point of the color difference detection standard position at the current moment as the origin, establish a coordinate system, and obtain the detection angle deviation value of the color difference detection position of the packaging bag by the calculation formula: ; ; in, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the X-axis, is the angle between the moving distance of the color difference detection position of the packaging bag and the positive direction of the Y axis, is the moving distance of the color difference detection position of the packaging bag, is the vector of the detection angle of the color difference detection position of the packaging bag in the X-axis direction, is the vector of the detection angle of the color difference detection position of the packaging bag in the Y-axis direction; Step II: Move the calculated color difference detection position of the packaging bag and Compare with the detection angle of the color difference detection position of the packaging bag. The detection angle of the color difference detection position of the standard packaging bag is set to O and M. -O≥1 and -M≥1, it is judged that the detection angle of the color difference detection position of the packaging bag is abnormal; if not, it is judged that the detection angle of the color difference detection position of the packaging bag is normal; The deviation warning unit is used to report the system to issue a voice alarm when the detection angle of the color difference detection position of the packaging bag is abnormal.

7. The system according to claim 6, characterized in that The position correction module includes a position correction unit and a correction comparison unit; The position correction unit is used to adjust the detection angle of the packaging bag color difference detection position in real time according to the calculated detection angle deviation value; The correction and comparison unit is used to calculate the difference between the detection angle of the color difference detection position of the packaging bag after adjustment and the detection angle of the color difference detection position of the packaging bag before adjustment. If the difference is equal to 0, it means that the correction is effective. If the difference is not equal to 0, it means that the correction is invalid. The correction is repeated twice until the correction is effective. If the correction is invalid for more than three times, the reporting system will issue a voice alarm to remind feedback for manual processing.

8. The system according to claim 1, characterized in that The step color difference terminal includes a drawing step module, a step detection module, a color difference comparison module and a detection and recording module; The drawing grading module includes an image acquisition unit and a regional grading unit; The image acquisition unit is used to acquire the surface image of the packaging bag in real time through a camera; The regional classification unit is used to set regional classification for the surface image of the packaging bag. The regional classification setting is to divide the image entering the detection area into four regions, and arrange the four regions in sequence using Arabic numerals in ascending order.

9. The system according to claim 8, characterized in that The step detection module is used to perform step detection operation of color difference detection angles on four areas in real time through color difference step detection, as follows: Step I: Calculate the coefficient of the first-order term of the regression equation. The formula is as follows: ; in, is a linear coefficient and represents the quadratic relationship between the detection angle and the color difference data of the packaging bag during color difference detection, as follows: It indicates the basic value of the detection angle deviation when testing the color difference of the first packaging bag. Indicates the basic value of the deviation of the first color difference detection angle to the specified point. Indicates the base value of the second color difference detection angle deviation. Indicates the basic value of the second color difference detection angle reaching the specified point. Indicates the basic value of the color difference detection angle deviation at the current moment, which indicates the deviation values ​​at different time points and different color difference detection angles; Step II: Calculate the quadratic coefficient of the regression equation. The formula is as follows: ; in, represents the coefficient of the quadratic term, and represents the binary quadratic relationship between the detection angle during the color difference detection of the packaging bag and the color difference data during the color difference detection of the packaging bag; ; ; in, represents the constant term coefficient, It indicates the average value of the color difference detection angle deviation at the current moment. The color difference detection angle here indicates the deviation angle between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. Indicates The deviation value of the color difference detection angle, It indicates the average value of the deviation angle data deformation of the packaging bag for color difference detection. Represents the average value of the deviation angle data of all color difference detections in the angle data set; Step III: A regression equation is established based on the coefficient of the first-order term, the coefficient of the second-order term and the coefficient of the constant term, so as to obtain the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas. If the deviation value between the color difference detection angle of the packaging bag and the color difference detection angle of other areas is less than or equal to 0, the reporting system will issue a voice alarm to remind that the color difference detection angle of the packaging bag is abnormal, and feedback is given for manual processing; The color difference comparison module is used to calculate the color difference between different areas on the packaging bag surface image for a second time according to the step detection module. If the result is equal to 0, it means there is no color difference. If the result is not equal to 0, it means there is color difference.

10. The system according to claim 9, characterized in that The detection and recording module includes a detection receiving unit and a color difference evaluation unit; The detection receiving unit is used to receive the color difference detection data results of packaging bag production in real time through a data receiver; The color difference evaluation unit is used to evaluate the packaging bag according to the color difference detection data results. If the detection result is abnormal, the packaging bag is judged to have failed the color difference detection. If the detection result is normal, the packaging bag is judged to have passed the color difference detection.

Citation Information

Patent Citations

  • Microscopic hyperspectral imaging system for micron-scale color measurement and color measurement method

    CN112710395A

  • Online detection system and method for printing and dyeing chromatic aberration and medium

    CN118758429A