A quality inspection method and system for photovoltaic cable production process

By calculating and correcting the image offset in photovoltaic cable production and using multi-angle view detection, the problem of mechanical vibration affecting the accuracy of uniformity detection is solved, and detection accuracy and product quality control are improved.

CN118644489BActive Publication Date: 2024-10-18GUANGZHOU XINXING CABLES IND CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411120124.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-18
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

During the production process of photovoltaic cables, mechanical vibration and uneven traction force cause cable vibration, which affects the accuracy of the uniformity detection of the insulation layer or sheath and reduces the accuracy of the uniformity assessment.

Method used

By acquiring an image of the cable extruded by the extruder, segmenting it into sub-regions, calculating the offset between adjacent frame images, correcting the image to ensure alignment of the sub-regions, using multi-angle views for inspection, and calculating the unevenness of the cable surface, Generate alarm signals to monitor product quality.

Benefits of technology

It improves the accuracy of cable surface uniformity detection, reduces the impact of cable vibration on detection, ensures the consistency of image data, effectively monitors and controls product quality, and reduces the generation of unqualified products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644489B_ABST
    Figure CN118644489B_ABST
Patent Text Reader

Abstract

The present application relates to the field of cable production quality inspection, and in particular to a quality inspection method and system for photovoltaic cable production process, the method comprising the steps of: obtaining an image of a cable extruder, processing the image, and obtaining a cable region; dividing the cable region into multiple sub-regions according to a preset window, and calculating the offset between the sub-regions in two adjacent frames of images; correcting the image according to the offset, and performing cable surface unevenness inspection on the corrected image. The present application has the effect of improving the accuracy of cable surface uniformity inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cable production quality inspection, and in particular to a quality inspection method and system for a photovoltaic cable production process. Background Art

[0002] Photovoltaic cables are cables designed for solar photovoltaic systems to connect photovoltaic components (such as solar panels) and inverters or power grids. These cables need to withstand various tests in outdoor environments, such as UV exposure, temperature changes, humidity and mechanical stress.

[0003] The production process of photovoltaic cables includes: conductor processing, using highly conductive materials (such as copper or aluminum) to manufacture cable conductors; insulation extrusion, extruding one or more layers of insulation material around the conductor to protect the conductor and provide electrical isolation; cabling, if the cable contains multiple conductors, they need to be twisted or braided in a certain way to form the basic structure of the cable; sheath extrusion, extruding another layer of sheath on the outside of the cable to provide additional protection. The uniformity of the insulation layer and sheath after extrusion greatly affects the performance and life parameters of the high-voltage cable, so the uniformity needs to be tested to detect the quality of the cable.

[0004] For example, the patent publication number CN111680578A is a real-time monitoring system for the cable production process based on the Internet of Things. The patent provides a solution for monitoring the cable production process. In the prior art, the purpose of cable quality detection can be achieved through further monitoring operations, such as obtaining a picture containing the cable through monitoring, identifying the image of the insulation layer or sheath, and judging the surface uniformity.

[0005] However, during the extrusion process of the insulation layer or sheath, the operation of the extruder will generate mechanical vibrations, which will be transmitted to the cable and cause it to vibrate. Or, due to uneven traction, the cable will vibrate during the extrusion process. This will cause irregular changes in the cable surface in the collected image, affecting the uniformity detection and reducing the accuracy of the uniformity assessment. Summary of the invention

[0006] In order to improve the accuracy of surface uniformity detection during cable production, the present application provides a quality detection method and system for a photovoltaic cable production process.

[0007] In a first aspect, the present application provides a quality inspection method for a photovoltaic cable production process, which adopts the following technical solution:

[0008] A quality inspection method for a photovoltaic cable production process comprises the following steps: obtaining an image of a cable extruder, processing the image to obtain a cable region; dividing the cable region into multiple sub-regions according to a preset window, and calculating the offset between the sub-regions in two adjacent frames of images; correcting the image according to the offset, and performing unevenness inspection on the cable surface on the corrected image; wherein the offset is calculated by: calculating the Euclidean distance between a pixel point in the sub-region and a preset detection line, constructing an offset sequence according to the Euclidean distance, and taking the pixel point on the detection line corresponding to the maximum value in the offset sequence as the end point of the window; taking one end point of the window as a standard point, taking the line between any pixel point in the window and the standard point as an offset vector, taking the angle between the offset vector and the detection line as an offset angle, and taking the product of the offset vector and the cosine value of the offset angle as the offset.

[0009] The beneficial effects are: the cable area is divided into multiple sub-areas, the offset of the cable in two frames of images is calculated, and the position of each sub-area is adjusted according to the offset to achieve the purpose of correcting the image. The offset evaluation is quantified, and the position of the sub-area is adjusted according to the offset, which can ensure the alignment of the sub-area between consecutive frames, thereby improving the accuracy of image analysis and ensuring the consistency of image data acquired at different time points. The impact of cable vibration on uniformity detection is reduced, and the accuracy of uniformity detection is improved.

[0010] Optionally, the image is corrected according to the offset, including: moving the pixel point in the direction of the detection line by a distance corresponding to the offset to correct the position of the pixel point; and stitching the images of all sub-areas to correct the position of the sub-areas.

[0011] Optionally, the window settings include: taking the pixel point of the detection line close to the extruder as the starting point, and the pixel point far from the extruder as the ending point; making the starting point of the first window coincide with the starting point of the detection line, and the ending point of the last window coincide with the ending point of the detection line, the ending point of the first window is the first extreme point, and the ending point of the first window coincides with the starting point of the next window. Similarly, the starting point and end point of all windows are obtained, and the starting point and end point of the window are all extreme points.

[0012] Optionally, the images are top and side views of the cable.

[0013] The beneficial effects are: image correction is performed at both the top view angle and the side view angle, and the uniformity of the cable can be identified from multiple angles. Some defects may be difficult to find from a single viewing angle, and product quality can be monitored and controlled more effectively to reduce unqualified products.

[0014] Optionally, the corrected image is subjected to unevenness detection on the cable surface, including: calculating a production quality evaluation, and generating an alarm signal in response to the production quality evaluation being no greater than a preset threshold; the production quality evaluation is calculated as follows: in the upper edge of the cable area in the top view, calculating the absolute value of the difference between the ordinate of any edge pixel point and the mean ordinate of all edge pixel points, traversing and calculating the cumulative sum of all absolute values, negatively normalizing the cumulative sum with the ratio of the total number of upper edge pixels, and using the normalized result as the quality evaluation of the upper edge in the top view; similarly, obtaining the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view; and taking the minimum value of the quality evaluation as the production quality evaluation.

[0015] The beneficial effects are: by analyzing the edge features of the cable area, the uniformity abnormality of the cable edge is obtained, the quality inspection and evaluation criteria are quantified, and the inspection efficiency and accuracy are improved.

[0016] Optionally, the corrected image is subjected to unevenness detection on the cable surface, including: calculating a production quality evaluation, and generating an alarm signal in response to the production quality evaluation being no greater than a preset threshold; the production quality evaluation is calculated as follows: in the upper edge of the cable area in the top view, calculating the absolute value of the difference between the ordinate of any edge pixel point and the mean ordinate of all edge pixel points, traversing and calculating the cumulative sum of all absolute values, normalizing the cumulative sum with the ratio of the total number of upper edge pixels by a positive correlation, and using the normalized result as the quality evaluation of the upper edge in the top view; similarly, obtaining the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view; and using the maximum value of the quality evaluation as the production quality evaluation.

[0017] In a second aspect, the present application provides a quality inspection system for a photovoltaic cable production process, which adopts the following technical solution:

[0018] A quality inspection system for a photovoltaic cable production process comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a quality inspection method for the photovoltaic cable production process is implemented.

[0019] The beneficial effect is: the quality inspection method of the photovoltaic cable production process is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making a system based on the memory and the processor for easy use.

[0020] This application has the following technical effects:

[0021] 1. The offset evaluation is quantified. The position of the sub-region is adjusted according to the offset to ensure the alignment of the sub-region between consecutive frames, thereby improving the accuracy of image analysis and ensuring the consistency of image data acquired at different time points. The impact of cable vibration on uniformity detection is reduced, and the accuracy of uniformity detection is improved.

[0022] 2. Identify the uniformity of the cable from multiple angles. Some defects may be difficult to find from a single perspective. More effectively monitor and control product quality and reduce unqualified products. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-restrictive manner, and the same or corresponding numbers represent the same or corresponding parts.

[0024] Figure 1 It is a method flow chart of a quality inspection method for a photovoltaic cable production process according to an embodiment of the present application.

[0025] Figure 2 It is a flow chart of a method for calculating offset in a quality inspection method for a photovoltaic cable production process according to an embodiment of the present application.

[0026] Figure 3 It is a flow chart of a method for correcting an image according to an offset in a quality inspection method for a photovoltaic cable production process in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0028] It should be understood that when the terms "first", "second", etc. are used in the claims, specification and drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0029] An embodiment of the present application discloses a quality inspection method for a photovoltaic cable production process, which is used to inspect the surface uniformity during the insulation layer extrusion or sheath extrusion process in the cable production process. During the insulation layer extrusion process, the method is used to inspect the uniformity of the insulation layer surface; during the sheath extrusion process, the method is used to inspect the uniformity of the insulation layer surface.

[0030] Reference Figure 1 , including steps S1 to S3, which are specifically as follows:.

[0031] S1: Obtain an image of the extruder when the cable is extruded, process the image, and obtain the cable area.

[0032] In one embodiment, the images are a top view and a side view of the cable. The top view is an image taken vertically downward from above, and the side view is an image taken from the side of the cable, and the acquisition angle of the top view is set perpendicular to the acquisition angle of the side view. The top view and the side view show a longitudinal view of the cable, which is used to show the length of the cable, the surface texture, and the changes during the extrusion process.

[0033] In other embodiments, other longitudinal views capable of displaying the cable may be used to replace the top view and the side view, but the viewing angles of the two replaced views need to be set vertically.

[0034] The method for processing the image is to input the image into a segmentation model, where the segmentation model is a trained convolutional neural network model. In the output image, the pixel value of the cable area is 1, and the pixel value of the non-cable area is 0. The construction and training of the segmentation model are prior arts and will not be described in detail here.

[0035] S2: According to the preset window, the cable area is divided into multiple sub-areas, and the offset between the sub-areas in two adjacent frames of images is calculated.

[0036] Reference Figure 2 The calculation method of the offset includes steps S20 to S22, which are as follows:

[0037] S20: Calculate the Euclidean distance between the pixel point in the sub-region and the preset detection line, construct an offset sequence according to the Euclidean distance, and use the pixel point on the detection line corresponding to the maximum value in the offset sequence as the endpoint of the window.

[0038] The method for obtaining the maximum value is as follows: when any Euclidean distance value is greater than the two adjacent Euclidean distance values, the Euclidean distance value is the maximum value.

[0039] S21: Take one end point of the window as the standard point, and take the line between any pixel point in the window and the standard point as the offset vector.

[0040] In each window, the end point close to the extruder is the starting point, and the end point far from the extruder is the end point. The standard point can be the starting point or the end point of the window.

[0041] S22: taking the included angle between the offset vector and the detection line as the offset angle, and taking the product of the offset vector and the cosine value of the offset angle as the offset amount.

[0042] The expression for the offset is: ,in, is the offset, is the offset vector, Indicates the offset angle.

[0043] The window settings are:

[0044] The pixel point where the detection line is close to the extruder is the starting point, and the pixel point far away from the extruder is the ending point.

[0045] In one embodiment, the starting point of the first window is the starting point of the detection line, the previous point of the first extreme point is the end point of the first window, the end point of the last window is the end point of the detection line, and the last extreme point is the starting point of the last window. In other windows, the first extreme point is the starting point of the second window, the previous pixel point of the second extreme point is the end point of the second window, and the second extreme point is the starting point of the third window. Similarly, the starting points and end points of all windows are obtained.

[0046] In other embodiments, the starting point of the first window is made to coincide with the starting point of the detection line, the end point of the last window is made to coincide with the end point of the detection line, the end point of the first window is made to be the first extreme point, the end point of the first window coincides with the starting point of the next window, and similarly, the starting point and end point of all windows are obtained, and the starting point and end point of each window are extreme points.

[0047] S3: Correct the image according to the offset, and perform unevenness detection on the cable surface on the corrected image.

[0048] Reference Figure 3 The method for correcting an image according to an offset includes steps S30 and S31, which are specifically as follows:

[0049] S30: moving the pixel point toward the detection line by a distance corresponding to the offset to correct the position of the pixel point.

[0050] S31: Perform image stitching on all sub-regions to correct the positions of the sub-regions.

[0051] The method for detecting unevenness of the cable surface on the corrected image is as follows:

[0052] Calculate the production quality evaluation. The calculation method of production quality evaluation is:

[0053] In one embodiment, in the upper edge of the cable area in the top view, the absolute value of the difference between the ordinate of any edge pixel point and the average ordinate of all edge pixel points is calculated, the cumulative sum of all absolute values ​​is traversed and calculated, the cumulative sum is negatively correlated with the ratio of the total number of upper edge pixel points, and the normalized result is used as the quality evaluation of the upper edge in the top view. Exemplarily, the mathematical expression of the quality evaluation of the upper edge is:

[0054] ,in, represents the quality evaluation of the upper edge, represents the normalization function, Indicates the total number of pixels on the upper edge. Indicates the top edge The vertical coordinate of the edge pixel, Represents the mean ordinate of all edge pixels in the upper edge.

[0055] Similarly, the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view are obtained;

[0056] In other embodiments, the ratio of the cumulative sum to the total number of pixels on the upper edge may be normalized by positive correlation, and the normalized result may be used as the quality evaluation of the upper edge in the top view; illustratively, the mathematical expression of the quality evaluation of the upper edge is:

[0057] ,in, represents the quality evaluation of the upper edge, represents the hyperbolic tangent function, the purpose is to Perform normalization processing, Indicates the total number of pixels on the upper edge. Indicates the top edge The vertical coordinate of the edge pixel, Represents the mean ordinate of all edge pixels in the upper edge.

[0058] In response to the production quality evaluation being not greater than a preset threshold, an alarm signal is generated.

[0059] In one embodiment, the preset threshold value may be 0.8, and the setting of the preset threshold value may be modified according to the actual application scenario. When the production quality evaluation is less than or equal to the preset threshold value, an alarm signal is generated to alarm, and the alarm signal may be a siren, a flashing warning light, etc., to prompt the operator that the cable quality is abnormal. When the production quality evaluation is greater than the preset threshold value, the original state is maintained for detection, and no alarm is issued.

[0060] An embodiment of the present application also discloses a quality inspection system for a photovoltaic cable production process, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a quality inspection method for the photovoltaic cable production process according to the present application is implemented.

[0061] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.

[0062] In the present application, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high bandwidth memory HBM (High Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.

[0063] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.

[0064] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A quality inspection method for a photovoltaic cable production process, characterized in that: Includes steps: Acquire an image of the cable being extruded by the extruder, and process the image to obtain a cable region; wherein the image is a top view and a side view of the cable; According to the preset window, the cable area is divided into multiple sub-areas, and the offset between the sub-areas in two adjacent frames of images is calculated; Correct the image according to the offset, and detect the unevenness of the cable surface on the corrected image; The calculation method of the offset is: Calculate the Euclidean distance between the pixel point in the sub-region and the preset detection line, construct an offset sequence based on the Euclidean distance, and take the pixel point on the detection line corresponding to the maximum value in the offset sequence as the endpoint of the window; wherein, the method for obtaining the maximum value is: when any Euclidean distance value is greater than the two adjacent Euclidean distance values, the Euclidean distance value is the maximum value; take one endpoint of the window as the standard point, take the line between any pixel point in the window and the standard point as the offset vector, take the angle between the offset vector and the detection line as the offset angle, and take the product of the offset vector and the cosine value of the offset angle as the offset; The step of correcting the image according to the offset includes: Move the pixel point toward the detection line by a distance corresponding to the offset to correct the position of the pixel point; perform image stitching on all sub-areas to correct the position of the sub-areas; The settings of the window include: The pixel point of the detection line close to the extruder is the starting point, and the pixel point far from the extruder is the ending point. In each window, the end point close to the extruder is the starting point, and the end point far from the extruder is the end point. Let the starting point of the first window coincide with the starting point of the detection line, and the end point of the last window coincide with the end point of the detection line. The end point of the first window is the first extreme point, and the end point of the first window coincides with the starting point of the next window. Similarly, the starting point and end point of all windows are obtained, and the starting point and end point of the window are all extreme points. The unevenness detection of the cable surface on the corrected image includes: In the upper edge of the cable area in the top view, calculate the absolute value of the difference between the ordinate of any edge pixel point and the mean ordinate of all edge pixel points, traverse and calculate the cumulative sum of all absolute values, and use the normalized result of the ratio of the cumulative sum to the total number of upper edge pixels as the quality evaluation of the upper edge in the top view; similarly, obtain the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view; use the minimum or maximum value of the quality evaluation as the production quality evaluation.

2. The quality inspection method for photovoltaic cable production process according to claim 1, characterized in that: The unevenness detection of the cable surface on the corrected image specifically includes: calculating a production quality evaluation, and generating an alarm signal in response to the production quality evaluation being not greater than a preset threshold; The calculation method of production quality evaluation is as follows: in the upper edge of the cable area in the top view, the absolute value of the difference between the ordinate of any edge pixel point and the mean ordinate of all edge pixel points is calculated, the cumulative sum of all absolute values ​​is traversed and calculated, the cumulative sum is negatively correlated with the ratio of the total number of upper edge pixel points and the normalized result is used as the quality evaluation of the upper edge in the top view; Similarly, the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view are obtained; The minimum value of the quality evaluation is used as the production quality evaluation.

3. The quality inspection method for photovoltaic cable production process according to claim 1, characterized in that: The unevenness detection of the cable surface on the corrected image specifically includes: calculating a production quality evaluation, and generating an alarm signal in response to the production quality evaluation being not greater than a preset threshold; The calculation method of production quality evaluation is as follows: in the upper edge of the cable area in the top view, the absolute value of the difference between the ordinate of any edge pixel point and the mean ordinate of all edge pixel points is calculated, the cumulative sum of all absolute values ​​is traversed and calculated, the cumulative sum is positively correlated with the ratio of the total number of upper edge pixel points and the normalized result is used as the quality evaluation of the upper edge in the top view; Similarly, the quality evaluation of the lower edge in the top view, the quality evaluation of the upper edge in the side view, and the quality evaluation of the lower edge in the side view are obtained; The maximum value of the quality evaluation is used as the production quality evaluation.

4. A quality inspection system for photovoltaic cable production process, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the quality inspection method for the photovoltaic cable production process as described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Cable production process real-time monitoring system based on Internet of Things

    CN111680578A

  • Infrared image non-uniformity correction method and device, equipment and storage medium

    CN113379636A

  • Weld joint detection method, system and device based on offset correction and storage medium

    CN116012306A