Cable defect detection method and system based on artificial intelligence

By combining two-dimensional and three-dimensional detection technology, using the Sobel operator and YOLOv3 network to detect cable defects, and establishing a stress distribution model, it solves the problem that traditional two-dimensional detection is difficult to identify defects in cables with high contrast and high reflection characteristics, and achieves a better Accurate cable defect detection and assessment.

CN118747742AInactive Publication Date: 2024-10-08JIANGSU NANYUAN CABLE CO LTD

Patent Information

Application Number
CN202410819298.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional two-dimensional defect detection is difficult to effectively identify defect images under the high contrast and high reflective characteristics of the cable surface, resulting in inaccurate detection.

Method used

An artificial intelligence-based cable defect detection method is adopted, combining two-dimensional and three-dimensional detection, collecting image data through two-dimensional cameras and three-dimensional cameras, using the Sobel operator and YOLOv3 network for edge extraction and defect detection, and establishing stress distribution through the finite element method model that fuses 2D and 3D information to improve detection accuracy.

Benefits of technology

It achieves a more comprehensive and accurate detection of cable surface defects, makes up for the shortcomings of two-dimensional detection, provides more accurate defect information and severity assessment, and improves the reliability and accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747742A_ABST
    Figure CN118747742A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of cable defect detection, and particularly relates to a cable defect detection method and system based on artificial intelligence, and the cable defect detection method based on artificial intelligence comprises cable two-dimensional defect detection, cable three-dimensional defect detection and cable two-dimensional and three-dimensional information fusion. The two-dimensional defect detection of the cable specifically comprises the following steps: step 1, acquiring an original image of the cable through a two-dimensional camera, and then carrying out graying and median filtering processing on the acquired original image to obtain a preprocessed grayscale image; step 2, performing differential calculation or second-order differential on each pixel point of the grayscale image of the cable by using a Sobel operator for the grayscale image, and further detecting points with obvious changes to realize edge extraction of the grayscale image of the cable; according to the invention, more accurate defect information can be provided especially for the characteristics of high contrast and high light reflection of the surface material of the cable; and the severity of the defect and the influence of the defect on the performance and the safety of the cable can be evaluated more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cable defect detection, and in particular to a cable defect detection method and system based on artificial intelligence. Background Art

[0002] The quality and standard issues of cable production and on-site installation have gradually become prominent, becoming a key bottleneck restricting the healthy development of the industry. Due to the high contrast and high reflectivity of the cable surface material, traditional two-dimensional defect detection cannot guarantee that the collected defect images can be identified. Summary of the invention

[0003] The present invention provides a cable defect detection method and system based on artificial intelligence, which solves the shortcomings in the prior art that traditional two-dimensional defect detection cannot guarantee that the collected defect images can be identified due to the high contrast and high reflectivity of the cable surface material.

[0004] The present invention provides the following technical solutions:

[0005] On the one hand, the present application provides a cable defect detection method based on artificial intelligence, including cable two-dimensional defect detection, cable three-dimensional defect detection, and cable two- and three-dimensional information fusion;

[0006] The cable two-dimensional defect detection specifically includes the following steps:

[0007] Step 1: The original image of the cable is collected by a two-dimensional camera, and then the collected original image is grayed and median filtered to obtain a pre-processed gray image;

[0008] Step 2: Use the Sobel operator on the grayscale image to perform differentiation or second-order differentiation on each pixel of the cable grayscale image, and then detect the points with obvious changes to achieve edge extraction of the cable grayscale image;

[0009] Step 3: Input the edge-extracted cable image into the YOLOv3 network to perform two-dimensional defect detection on the cable to obtain two-dimensional defects;

[0010] The three-dimensional cable defect detection specifically includes the following steps:

[0011] Step 4: The three-dimensional defect detection of the cable uses a 3D camera to detect the circularity of the cable;

[0012] Step 5: If the curvature of the cable point cloud data has an obvious mutation, it means that there is defect information at that location of the cable;

[0013] Step 6: Use the least squares algorithm to fit the cable circularity of the collected three-dimensional point cloud data. The circularity of the standard circle is 1. According to the actual cable data, the circularity empirical threshold is set to 14. If the circularity is greater than the threshold, it is judged that there is a three-dimensional circularity defect at that location of the cable.

[0014] Step 7: Fuse the previous two-dimensional defect and three-dimensional circularity defect data;

[0015] Step 8: Based on the finite element method, considering the geometric shape of the cable and the influence of three-dimensional defects, a stress distribution model of the cable under tension is established.

[0016] As a further improvement of the above scheme.

[0017] Preferably, the convolution factor in step 2 is:

[0018]

[0019] The operator contains two sets of 3x3 matrices, one for horizontal and one for vertical. By performing planar convolution with the cable image, the approximate values ​​of the horizontal and vertical brightness differences can be obtained respectively. A represents the original cable image, Gx and Gy represent the grayscale values ​​of the image detected by horizontal and vertical edges respectively. The formula is as follows:

[0020]

[0021] The specific calculation is as follows:

[0022] Gx=(-1)*f(x-1,y-1)+0*f(x,y-1)+1*f(x+1,y-1)+(-2)*f(x-1,y)+0*f(x,y)+2*f(x+1,y)+(-1)*f(x-1,y+1)+0*f(×,y+1)+1*f(x+1,y+1)

[0023] =[f(x+1,y-1)+2*f(x+1,y)+f(x+1,y+1)]-[f(x-1,y-1)+2*f(x-1,y)+f(x-1,y+1)]

[0024] Gy=1*f(x-1,y-1)+2*f(x,y-1)+1*f(x+1,y-1)+0*f(x-1,y)0*f(x,y)+0*f(x+1,y)+(-1)*f(x-1,y+1)+(-2)*f(x,y+1)+(-1)*f(x+1,y+1)

[0025] =[f(x-1,y-1)+2f(x,y-1)+f(x+1,y-1)]-[f(x-1,y+1)+2*f(x,y+1)+f(x+1,y+1)]

[0026] Where f(a, b) represents the gray value of the image point (a, b);

[0027] The horizontal and vertical grayscale values ​​of each pixel in the image are combined through the following formula to calculate the grayscale of the point:

[0028]

[0029] If the gradient G is greater than the edge threshold, the point (x, y) is considered to be an edge point, and the edge points are connected to complete the edge extraction of the cable image.

[0030] Preferably, in step 3, the detection process of the YOLOv3 neural network is as follows: first, the input image is scaled to a standard size and standardized; then the image is subjected to multiple convolutions and pooling to obtain a feature map and output to the next layer; the image obtained in the previous layer is input into the fully connected layer to obtain the final feature map.

[0031] Preferably, in step 5, the curvature calculation method of the point cloud data is as follows:

[0032] First, assume the normal vector of vertex v on the skeleton triangulation network:

[0033]

[0034] Assume that point p is an arbitrary point on the surface, e1 and e2 are two specified main directions, then at this time at T θ The curvature of a direction can be expressed as:

[0035]

[0036] is the principal curvature at point p, θ is T θ The angle between the main direction e1 and the above formula can be expressed as follows through integral operation:

[0037]

[0038] Where M v is a symmetric matrix, T θ represents the unit tangent vector, and the orthogonal principal directions of the surface r(u,v) at point p are {T1,T2}, then M v It can be written as:

[0039]

[0040] in:

[0041]

[0042] The characteristic matrix M of the principal curvature can be obtained by the formula v The eigenvalue is not 0, so now we only need to determine M v Medium k p (T θ ) values, we can solve them to get M v The eigenvalues ​​and eigenvectors of , then the principal curvature and principal direction at point p can also be calculated. Assume that point p i is a point in the neighborhood of point p, passing through point p i The normal curvature k can be obtained from the direction p (T θ );

[0043]

[0044] Preferably, in step 7, it specifically includes:

[0045] Firstly, two-dimensional defect detection is performed by a two-dimensional camera and three-dimensional defect detection is performed by a three-dimensional camera to obtain respective detection coordinates;

[0046] The spatial coordinates of the two-dimensional camera and the three-dimensional camera are obtained through the encoder in the camera transmission device, and the coordinate alignment relative to the cable identification area is completed, so that the spatial point of the cable obtains the two-dimensional image information and three-dimensional image information of the point. If a defect is identified in the two-dimensional defect detection, the defect detection result of the three-dimensional image of the defective area can be found through the coordinates of the defect, and the depth information can be compared to determine whether it is a false detection or a real defect. If a defect is detected in the three-dimensional defect, the defect detection result of the two-dimensional image of the corresponding area can be found, and the type of defect at that location can be determined through the stronger classification ability of the two-dimensional defect.

[0047] Preferably, in step 8, the stress distribution model formula is:

[0048] δ(x,y,z)=f(E,u,α,V,d,T,x,y,z)

[0049] Among them, δ(x, y, z) is the stress magnitude in the cable at that point, (x, y, z) is the spatial coordinate of the cable at that point in the cable section, f is the stress distribution function, E is the elastic modulus of the cable material, μ is the Poisson's ratio, α is the thermal expansion coefficient of the cable material, d is the distance from the point to the center of the cable, T is the current temperature of the cable material, and V is the cable defect volume obtained by fusion of the above two-dimensional and three-dimensional data.

[0050] On the other hand, the present application also provides an artificial intelligence-based cable defect detection system, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the above-mentioned artificial intelligence-based cable defect detection method.

[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention.

[0052] The present invention combines the relevant theories of machine vision, and combines the two-dimensional and three-dimensional images of the cable with the distribution of cable tension, establishes a relationship model between the three-dimensional defects and tension of the cable, and proposes a cable defect detection method that can combine the detection methods of two-dimensional and three-dimensional images, and can capture the defects on the cable surface more comprehensively and accurately. In particular, for the high contrast and high reflective characteristics of the cable surface material, three-dimensional detection can make up for the shortcomings of two-dimensional detection in some cases and provide more accurate defect information;

[0053] By introducing cable tension distribution information and establishing a relationship model between three-dimensional defects and tension, the severity of defects and their impact on cable performance and safety can be more accurately assessed. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A specific flow chart of cable defect detection provided by an embodiment of the present invention;

[0055] Figure 2 A flow chart of the fusion of two-dimensional and three-dimensional cable defect detection provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0057] In the description of the embodiments of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms, "connection" and "installation" should be understood in a broad sense. For example, "connection" can be a detachable connection or a non-detachable connection; it can be a direct connection or an indirect connection through an intermediate medium. In addition, "connection" can be a direct connection or an indirect connection through an intermediate medium. Among them, "fixed" means that they are connected to each other and the relative position relationship after connection remains unchanged. The directional terms mentioned in the embodiments of the present invention, such as "inside", "outside", "top", "bottom", etc., are only reference to the directions of the accompanying drawings. Therefore, the directional terms used are for better and clearer explanation and understanding of the embodiments of the present invention, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present invention.

[0058] In the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0059] In the embodiments of the present invention, "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0060] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present invention. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0061] Example

[0062] Reference Figure 1-Figure 2 , artificial intelligence-based cable defect detection methods, including cable two-dimensional defect detection, cable three-dimensional defect detection, and cable two- and three-dimensional information fusion;

[0063] The cable two-dimensional defect detection specifically includes the following steps:

[0064] Step 1: The original image of the cable is collected by a two-dimensional camera, and then the collected original image is grayed and median filtered to obtain a pre-processed gray image;

[0065] Step 2: Use the Sobel operator on the grayscale image to perform differentiation or second-order differentiation on each pixel of the cable grayscale image, and then detect the points with obvious changes to achieve edge extraction of the cable grayscale image;

[0066] Among them, the convolution factor is:

[0067]

[0068] The operator contains two sets of 3x3 matrices, one for horizontal and one for vertical. By performing planar convolution with the cable image, the approximate values ​​of the horizontal and vertical brightness differences can be obtained respectively. A represents the original cable image, Gx and Gy represent the grayscale values ​​of the image detected by horizontal and vertical edges respectively. The formula is as follows:

[0069]

[0070] The specific calculation is as follows:

[0071] Gx=(-1) * f(x-1, y-1)+0*f(x, y-1)+1 * f(x+1,y-1)

[0072] +(-2) * f(x-1,y)+0 * f(×,y)+2 * f(×+1,y)

[0073] +(-1)*f(×-1,y+1)+0*f(x,y+1)+1 * f(x+1, y+1)

[0074] =[f(x+1,y-1)+2 * f(x+1,y)+f(x+1,y+1)]-[f(x-1,y-1)+2 * f(x-1,y)+f(x-1,y+1)]

[0075] Gy=1 * f(x-1,y-1)+2 * f(x,y-1)+1 * f(x+1,y-1)

[0076] +0 * f(x-1,y)0 * f(x,y)+0 * f(×+1,y)

[0077] +(-1)*f(x-1,y+1)+(-2)*f(x,y+1)+(-1)*f(x+1,y+1)

[0078] =[f(x-1,y-1)+2f(x,y-1)+f(x+1,y-1)]-[f(x-1,y+1)+2 * f(x,y+1)+f(x+1,y+1)]

[0079] Where f(a, b) represents the gray value of the image point (a, b);

[0080] The horizontal and vertical grayscale values ​​of each pixel in the image are combined through the following formula to calculate the grayscale of the point:

[0081]

[0082] If the gradient G is greater than the edge threshold, the point (x, y) is considered to be an edge point, and the edge points are connected to complete the edge extraction of the cable image.

[0083] Step 3: Input the edge-extracted cable image into the YOLOv3 network to perform two-dimensional defect detection on the cable and obtain two-dimensional defects. In step 3, the detection process of the YOLOv3 neural network is as follows: first, the input image is scaled to a standard size and standardized; then the image is subjected to multiple convolutions and pooling to obtain a feature map and output it to the next layer; the image obtained in the previous layer is input into the fully connected layer to obtain the final feature map.

[0084] The three-dimensional cable defect detection specifically includes the following steps:

[0085] Step 4: The three-dimensional defect detection of the cable uses a 3D camera to detect the circularity of the cable;

[0086] Step 5: If the curvature of the cable point cloud data has an obvious mutation, it means that there is defect information at that location of the cable;

[0087] In step 5, the curvature calculation method of the point cloud data is as follows:

[0088] First, assume the normal vector of vertex v on the skeleton triangulation network:

[0089]

[0090] Assume that point p is an arbitrary point on the surface, e1 and e2 are two specified main directions, f is the focal length of the camera, and nf is the vector of vertex v at the focal length of the camera. Then at this time in T θ The curvature of a direction can be expressed as:

[0091]

[0092] is the principal curvature at point p, θ is T θ The angle between the main direction e1 and the above formula can be expressed as follows through integral operation:

[0093]

[0094] Where M v is a symmetric matrix, T θrepresents the unit tangent vector, and the orthogonal principal directions of the surface r(u,v) at point p are {T1,T2}, then M v It can be written as:

[0095]

[0096] in:

[0097]

[0098] The characteristic matrix M of the principal curvature can be obtained by the formula v The eigenvalue is not 0, so now we only need to determine M v Medium k p (T θ ) values, we can solve them to get M v The eigenvalues ​​and eigenvectors of , then the principal curvature and principal direction at point p can also be calculated. Assume that point p i is a point in the neighborhood of point p, passing through point p i The normal curvature k can be obtained from the direction p (T θ );

[0099] N′ represents the normal vector of the domain of p.

[0100] Step 6: Use the least squares algorithm to fit the cable circularity of the collected three-dimensional point cloud data. The circularity of the standard circle is 1. According to the actual cable data, the circularity empirical threshold is set to 14. If the circularity is greater than the threshold, it is judged that there is a three-dimensional circularity defect at that location of the cable.

[0101] The 3D point cloud data of the cable is obtained from a 3D camera or scanning device, and the data is cleaned to remove noise points or outliers. A circle is fitted to the 3D point cloud data using the least squares method, and this is achieved by finding the parameters (center and radius) that minimize the sum of the squares of the distances from all points to the fitted circle. The optimal center and radius values ​​are found through an iterative optimization algorithm. The circle is fitted to the point cloud data, and the circularity is calculated by comparing the difference between the actual point cloud data and the fitted circle. A circularity threshold is set based on actual cable data and experience. If the calculated circularity is greater than this threshold, it is determined that the cable has a 3D circularity defect at that location, and the circularity value and the judgment result of whether there is a defect are output;

[0102] Step 7: Fuse the previous two-dimensional defect and three-dimensional circularity defect data;

[0103] In step 7, the following steps are specifically included:

[0104] Firstly, two-dimensional defect detection is performed by a two-dimensional camera and three-dimensional defect detection is performed by a three-dimensional camera to obtain respective detection coordinates;

[0105] The spatial coordinates of the two-dimensional camera and the three-dimensional camera are obtained through the encoder in the camera transmission device, and the coordinate alignment relative to the cable identification area is completed, so that the spatial point of the cable obtains the two-dimensional image information and the three-dimensional image information of the point. The spatial coordinates of the two-dimensional camera and the three-dimensional camera are obtained through the encoder to ensure that the coordinate systems between the two are consistent, and the two-dimensional image and the three-dimensional image are accurately corresponded in space, providing a basis for the subsequent depth information comparison;

[0106] In the two-dimensional image, the defects on the cable surface are identified by using the image processing algorithm. Once the defects are identified, the coordinate position of the defects in the two-dimensional image is recorded. In the three-dimensional image, the three-dimensional data of the cable surface is obtained by using the three-dimensional scanning equipment. By analyzing the three-dimensional data, the defects on the cable surface are detected and the coordinate position of the defects in the three-dimensional space is recorded. The defect coordinates identified in the two-dimensional image are compared with the corresponding coordinates in the three-dimensional image, and the defect characteristics, size, shape and other information of the two are compared to judge the authenticity and accuracy of the defects. If the defects identified in the two-dimensional defect detection also have corresponding defect characteristics in the three-dimensional image, then it is confirmed that the defect is real; otherwise, it may be a false detection;

[0107] Through depth information comparison, false detection of two-dimensional images due to factors such as lighting and shadows can be eliminated. Combining the defect detection results of two-dimensional and three-dimensional images can more accurately determine the existence and type of defects. Depth information comparison provides a more reliable method for cable defect detection, which helps to improve the accuracy and reliability of detection.

[0108] If a defect is identified in the two-dimensional defect detection, the defect detection result of the three-dimensional image of the defect area can be found through the coordinates of the defect. By comparing the depth information, it can be determined whether it is a false detection or a real defect. By comparing the defect characteristics, size, shape and other information of the two, the authenticity and accuracy of the defect can be confirmed. If a defect is detected in the three-dimensional defect, the defect detection result of the two-dimensional image of the corresponding area can be found, and the type of defect can be determined through the stronger classification ability of two-dimensional defects.

[0109] Step 8: Based on the finite element method, considering the geometric shape of the cable and the influence of three-dimensional defects, a stress distribution model of the cable under tension is established.

[0110] In step 8, the stress distribution model formula is:

[0111] δ(x,y,z)=f(E,u,α,V,d,T,x,y,z)

[0112] Among them, δ(x, y, z) is the stress magnitude in the cable at that point, (x, y, z) is the spatial coordinate of the cable at that point in the cable section, f is the stress distribution function, E is the elastic modulus of the cable material, μ is the Poisson's ratio, α is the thermal expansion coefficient of the cable material, d is the distance from the point to the center of the cable, T is the current temperature of the cable material, and V is the cable defect volume obtained by fusion of the above two-dimensional and three-dimensional data.

[0113] A cable defect detection system based on artificial intelligence includes a memory and a processor, wherein the processor executes a computer program stored in the memory, the above-mentioned cable defect detection method based on artificial intelligence.

[0114] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention; the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A cable defect detection method based on artificial intelligence, characterized in that: Including cable 2D defect detection, cable 3D defect detection, cable 2D and 3D information fusion; The cable two-dimensional defect detection specifically includes the following steps: Step 1: The original image of the cable is collected by a two-dimensional camera, and then the collected original image is grayed and median filtered to obtain a pre-processed gray image; Step 2: Use the Sobel operator on the grayscale image to perform differentiation or second-order differentiation on each pixel of the cable grayscale image, and then detect the points with obvious changes to achieve edge extraction of the cable grayscale image; Step 3: Input the edge-extracted cable image into the YOLOv3 network to perform two-dimensional defect detection on the cable to obtain two-dimensional defects; The three-dimensional cable defect detection specifically includes the following steps: Step 4: The three-dimensional defect detection of the cable uses a 3D camera to detect the circularity of the cable; Step 5: If the curvature of the cable point cloud data has an obvious mutation, it means that there is defect information at that location of the cable; Step 6: Use the least squares algorithm to fit the cable circularity of the collected three-dimensional point cloud data. The circularity of the standard circle is 1. According to the actual cable data, the circularity empirical threshold is set to 14. If the circularity is greater than the threshold, it is judged that there is a three-dimensional circularity defect at that location of the cable. Step 7: Fuse the previous two-dimensional defect and three-dimensional circularity defect data; Step 8: Based on the finite element method, considering the geometric shape of the cable and the influence of three-dimensional defects, a stress distribution model of the cable under tension is established.

2. The cable defect detection method based on artificial intelligence according to claim 1 is characterized in that: The convolution factor in step 2 is: The operator contains two sets of 3x3 matrices, one for horizontal and one for vertical. By performing planar convolution with the cable image, the approximate values ​​of the horizontal and vertical brightness differences can be obtained respectively. A represents the original cable image, Gx and Gy represent the grayscale values ​​of the image detected by horizontal and vertical edges respectively. The formula is as follows: The specific calculation is as follows: Gx=(-1)*f(x-1,y-1)+0*f(x,y-1)+1*f(x+1,y-1) +(-2) * f(x-1,y)+0*f(x,y)+2 * f(x+1,y) +(-1) * f(×-1,y+1)+0*f(×,y+1)+1 * f(x+1,y+1) =[f(x+1,y-1)+2 * f(x+1,y)+f(x+1,y+1)]-[f(x-1,y-1)+2*f(x-1,y)+f(x-1,y+1)] Gy=1 x f(x-1,y-1)+2 * f(x,y-1)+1 * f(x+1,y-1) +0*f(x-1,y)0*f(x,y)+0*f(x+1,y) +(-1)*f(x-1,y+1)+(-2)*f(x,y+1)+(-1)*f(x+1,y+1) =[f(x-1,y-1)+2f(x,y-1)+f(x+1,y-1)]-[f(x-1,y+1)+2*f(x,y+1)+f(x+1,y+1)] Where f(a, b) represents the gray value of the image point (a, b); The horizontal and vertical grayscale values ​​of each pixel in the image are combined through the following formula to calculate the grayscale of the point: If the gradient G is greater than the edge threshold, the point (x, y) is considered to be an edge point, and the edge points are connected to complete the edge extraction of the cable image.

3. The cable defect detection method based on artificial intelligence according to claim 2 is characterized in that: In step 3, the detection process of the YOLOv3 neural network is as follows: first, the input image is scaled to a standard size and standardized; then the image is convolved and pooled multiple times to obtain a feature map and output it to the next layer; the image obtained in the previous layer is input into the fully connected layer to obtain the final feature map.

4. The cable defect detection method based on artificial intelligence according to claim 3 is characterized in that: In step 5, the curvature calculation method of the point cloud data is as follows: First, assume the normal vector of vertex v on the skeleton triangulation network: Assume that point p is an arbitrary point on the surface, e1 and e2 are two specified main directions, then at this time at T θ The curvature of a direction can be expressed as: is the principal curvature at point p, θ is T θ The angle between the main direction e1 and the above formula can be expressed as follows through integral operation: Where M v is a symmetric matrix, T θ represents the unit tangent vector, and the orthogonal principal directions of the surface r(u, v) at point p are {T1, T2}, then M v It can be written as: in: The characteristic matrix M of the principal curvature can be obtained by the formula v The eigenvalue is not 0, so now we only need to determine M v Medium k p (T θ ) values, we can solve them to get M v The eigenvalues ​​and eigenvectors of , then the principal curvature and principal direction at point p can also be calculated. Assume that point p i is a point in the neighborhood of point p, passing through point p i The normal curvature k can be obtained from the direction p (T θ ); 5. The cable defect detection method based on artificial intelligence according to claim 4 is characterized in that: In step 7, the following steps are specifically included: Firstly, two-dimensional defect detection is performed by a two-dimensional camera and three-dimensional defect detection is performed by a three-dimensional camera to obtain respective detection coordinates; The spatial coordinates of the two-dimensional camera and the three-dimensional camera are obtained through the encoder in the camera transmission device, and the coordinate alignment relative to the cable identification area is completed, so that the spatial point of the cable obtains the two-dimensional image information and three-dimensional image information of the point. If a defect is identified in the two-dimensional defect detection, the defect detection result of the three-dimensional image of the defective area can be found through the coordinates of the defect, and the depth information can be compared to determine whether it is a false detection or a real defect. If a defect is detected in the three-dimensional defect, the defect detection result of the two-dimensional image of the corresponding area can be found, and the type of defect at that location can be determined through the stronger classification ability of the two-dimensional defect.

6. The cable defect detection method based on artificial intelligence according to claim 5 is characterized in that: In step 8, the stress distribution model formula is: δ(x,y,z)=f(E,u,α,V,d,T,x,y,z) Among them, δ(x, y, z) is the stress magnitude in the cable at that point, (x, y, z) is the spatial coordinate of the cable at that point in the cable section, f is the stress distribution function, E is the elastic modulus of the cable material, μ is the Poisson's ratio, α is the thermal expansion coefficient of the cable material, d is the distance from the point to the center of the cable, T is the current temperature of the cable material, and V is the cable defect volume obtained by fusion of the above two-dimensional and three-dimensional data.

7. A cable defect detection system based on artificial intelligence, comprising a memory and a processor, characterized in that: The processor executes the computer program stored in the memory to implement the artificial intelligence-based cable defect detection method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Simulation model of 10kV cable terminal and establishment method thereof

    CN114818216A

  • Surface defect detection method and device, medium and electronic equipment

    CN116596886A

  • Method of making three dimension model and defect analysis using camera and laser scanning

    KR1020150128300A

Cited By

  • Auxiliary device for butt joint of oil pipelines

    CN119642001A

  • An auxiliary device for connecting oil pipelines

    CN119642001B

  • Method and system for simulating relation between insulation eccentricity and electrical performance of high-voltage alternating-current cable

    CN119670312A

  • Online detection method and system for cable appearance particles

    CN119722682A

  • Cable production identification monitoring system and method based on cable image

    CN122089723A