Twin model-based fault detection method and apparatus for insulator, and storage medium
Through the detection method based on twin models, the feature matching and clustering of twin image information and entity image information are used to solve the intelligent problem of insulator fault detection, improve detection accuracy and intelligence, and reduce losses caused by faults.
Patent Information
- Application Number
- PCT/CN2023/137614
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-12-08
- Publication Date
- 2024-10-03
AI Technical Summary
Existing technology is difficult to intelligently detect insulator faults, leading to problems such as power supply interruptions and short circuits, causing serious losses.
The detection method based on the twin model is used to obtain the twin image information and entity image information of the insulator twin model, determine the local features, perform feature matching, clustering and straight line fitting to detect insulator faults.
The intelligence and accuracy of insulator fault detection are improved, faults can be discovered in advance and losses can be reduced.
Smart Images

Figure CN2023137614_03102024_PF_FP_ABST
Abstract
Description
Insulator fault detection method, device and storage medium based on twin model Technical Field
[0001] The present invention relates to the technical field of insulators, and in particular to a twin model-based insulator fault detection method, device and storage medium. Background Art
[0002] Because insulators are exposed to harsh environments and strong electric fields for long periods of time, they can suffer varying degrees of damage. This damage can cause power outages and short circuits, resulting in serious losses. Therefore, intelligent detection of insulator failures and proactive prevention are crucial issues.
[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art.
[0004] Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide an insulator fault detection method, device and storage medium based on a twin model, so as to solve the technical problem of how to intelligently detect insulator faults.
[0006] The technical solution of the present invention is:
[0007] An insulator fault detection method based on a twin model is characterized in that the insulator fault detection method based on the twin model comprises the following steps:
[0008] Acquire twin image information of the insulator twin model and entity image information of the insulator, and determine twin local features of the twin image information and entity local features of the entity image information;
[0009] Perform feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features;
[0010] After clustering the feature matching points, some feature matching points are restored and straight line fitting is performed on the restored feature matching points;
[0011] The fault information of the insulator is detected based on the image information on both sides of the insulator after straight line fitting.
[0012] The step of determining the twin local features of the twin image information and the entity local features of the entity image information includes:
[0013] Determine the horizontal gradient and vertical gradient of the twin image information and the entity image information in two-dimensional coordinates;
[0014] Determine a first product of the abscissa gradient and the ordinate gradient of the twin image information, and determine a second product of the abscissa gradient and the ordinate gradient of the entity image information;
[0015] Performing weighted processing on the first product and the second product to obtain a Gaussian matrix;
[0016] Determine the eigenvalues of the twin image information and the entity image information based on the Gaussian matrix;
[0017] The twin local features of the twin image information and the entity local features of the entity image information are determined according to the eigenvalues.
[0018] The step of performing feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features includes:
[0019] Match each pixel of the twin local feature with each pixel of the entity local feature;
[0020] Determining errors between matched pixels and accumulating the errors;
[0021] When the accumulation times reaches a preset number, the accumulation is stopped and the feature matching points of the local features of the entity are determined according to the accumulation times.
[0022] After clustering the feature matching points, before the steps of restoring some feature matching points and performing straight line fitting on the restored feature matching points, the method further includes:
[0023] Determine a feature matching point set and determine a fuzzy matrix of the feature matching point set;
[0024] Initialize the fuzzy matrix, perform clustering iteration on the initialized fuzzy matrix and update the fuzzy matrix;
[0025] The maximum value of the difference between adjacent elements in the updated fuzzy matrix is selected, and clustering is stopped when the maximum value is less than the preset iteration threshold.
[0026] Before the steps of obtaining the twin image information of the insulator twin model and the entity image information of the insulator, and determining the twin local features of the twin image information and the entity local features of the entity image information, the method further includes:
[0027] Discretize the insulator model to obtain a discrete point set model;
[0028] Based on the discrete point set model and according to the preset grid algorithm, a discrete point set relationship is constructed to generate a grid model;
[0029] Determine the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error;
[0030] A coordinate point set is generated according to the target coordinate value, and the coordinate point set is input into the grid model to generate an insulator twin model.
[0031] Before the step of determining the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error, the method further includes:
[0032] Perform simulation modeling according to the geometric shape of the insulator to obtain a first model;
[0033] determining deviation primitives of the insulator shape according to the first model;
[0034] The production error terms are obtained by simulation based on the deviation primitives, and the production error terms are accumulated to obtain the coordinate values of the production errors.
[0035] Before the step of determining the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error, the method further includes:
[0036] Perform simulation modeling based on the random field of the insulator to obtain a second model;
[0037] Perform discrete sampling based on the second model to obtain discrete random values;
[0038] Determine eigenvalues and eigenvectors based on discrete random values, and determine a transformation matrix based on the eigenvalues and eigenvectors;
[0039] The deviation vector is determined according to the conversion matrix, and the coordinate value of the random error is obtained by accumulating the deviation vector.
[0040] The insulator fault detection device based on the twin model includes: a feature determination module, a feature matching module, a feature processing module and a fault detection module;
[0041] The feature determination module is used to obtain the twin image information of the insulator twin model and the entity image information of the insulator, and determine the twin local features of the twin image information and the entity local features of the entity image information;
[0042] The feature matching module is used to perform feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features;
[0043] The feature processing module is used to restore some feature matching points after clustering the feature matching points and perform straight line fitting on the restored feature matching points;
[0044] The fault detection module is used to detect fault information of the insulator based on image information on both sides of the insulator after straight line fitting.
[0045] An insulator fault detection device based on a twin model, comprising: a memory, a processor, and an insulator fault detection program based on a twin model stored in the memory and executable on the processor. When the insulator fault detection program based on the twin model is executed by the processor, the steps of an insulator fault detection method based on the twin model are implemented.
[0046] A storage medium stores an insulator fault detection program based on a twin model. When the insulator fault detection program based on the twin model is executed by a processor, the steps of the insulator fault detection method based on the twin model are implemented.
[0047] The beneficial effects of the present invention are:
[0048] The present invention proposes a twin model-based insulator fault detection method, device, and storage medium. The method comprises: obtaining twin image information of an insulator twin model and entity image information of the insulator, and determining twin local features of the twin image information and entity local features of the entity image information; performing feature matching on the twin local features and entity local features to obtain feature matching points of the entity local features; clustering the feature matching points, restoring some feature matching points, and performing linear fitting on the restored feature matching points; and detecting insulator fault information based on the image information on both sides of the insulator after linear fitting. The present invention performs feature matching on the twin and entity local features, clusters and then restores the obtained feature matching points, performs linear fitting on the restored feature matching points, and detects insulator fault information based on the image information after linear fitting, thereby improving the intelligence of insulator fault detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1 is a schematic structural diagram of an insulator fault detection device based on a twin model in a hardware operating environment according to an embodiment of the present invention;
[0050] FIG2 is a flow chart of a first embodiment of a twin model-based insulator fault detection method according to the present invention;
[0051] FIG3 is a flow chart of a second embodiment of a twin model-based insulator fault detection method according to the present invention;
[0052] FIG4 is a flow chart of a third embodiment of a twin model-based insulator fault detection method according to the present invention;
[0053] FIG5 is a structural block diagram of a first embodiment of an insulator fault detection device based on a twin model according to the present invention. DETAILED DESCRIPTION
[0054] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments.
[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0056] 1 , which is a schematic structural diagram of an insulator fault detection device based on a twin model in a hardware operating environment according to an embodiment of the present invention.
[0057] As shown in FIG1 , the twin model-based insulator fault detection device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. In the present invention, the wired interface of the user interface 1003 may be a USB interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0058] Those skilled in the art will understand that the structure shown in FIG1 does not constitute a limitation on the insulator fault detection device based on the twin model, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0059] As shown in FIG1 , the memory 1005 , which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an insulator fault detection program based on a twin model.
[0060] In the twin model-based insulator fault detection device shown in Figure 1, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user equipment; the twin model-based insulator fault detection device calls the twin model-based insulator fault detection program stored in the memory 1005 through the processor 1001, and executes the twin model-based insulator fault detection method provided by the embodiment of the present invention.
[0061] Based on the above hardware structure, an embodiment of the insulator fault detection method based on the twin model of the present invention is proposed.
[0062] 2 , which is a flow chart of a first embodiment of an insulator fault detection method based on a twin model of the present invention, provides a first embodiment of an insulator fault detection method based on a twin model of the present invention.
[0063] Step S10: obtaining twin image information of the insulator twin model and entity image information of the insulator, and determining twin local features of the twin image information and entity local features of the entity image information.
[0064] It should be noted that the execution entity of this embodiment can be computer service software with data processing, network communication and program running functions, such as an insulator fault detection device based on a twin model, or other electronic devices that can achieve the same or similar functions. This embodiment does not impose any restrictions on this.
[0065] It can be understood that the physical image information of the insulator can be captured by a camera, and the twin image information of the corresponding insulator twin model can be intercepted based on the physical image information. The physical image information and the twin image information are matched one by one.
[0066] It should be noted that the twin local features of the twin image information and the entity local features of the entity image information can be determined through corner detection, that is, the gradients of the twin image information and the entity image information in the two-dimensional coordinates are determined, the gradient product in the two directions is calculated and Gaussian weighted according to the Gaussian function to produce a Gaussian matrix, the eigenvalues are generated according to the Gaussian matrix, and the eigenvalues are non-maximum suppressed to obtain the twin local features and the entity local features.
[0067] Step S20: performing feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features.
[0068] It should be noted that the plate size of the entity local features and the twin local features is determined, the feature points in the entity local features are randomly selected, and the errors between the feature points in the entity local features and the feature points in the twin local features are determined. The errors between the feature points in the entity local features and the feature points in the twin local features are continuously randomly selected and continuously determined, and the errors are accumulated. When the number of accumulations exceeds a threshold, the entity local feature matching points are determined by the number of accumulations.
[0069] Furthermore, in order to improve the matching accuracy, step S20 in this embodiment may include:
[0070] Matching each pixel point of the twin local feature with each pixel point of the entity local feature;
[0071] Determining errors between matched pixels and accumulating the errors;
[0072] When the accumulation times reaches a preset number, the accumulation is stopped and the feature matching points of the local features of the entity are determined according to the accumulation times.
[0073] It should be noted that the absolute error is first defined, that is, the absolute error between the twin local features and the entity local features is determined and the threshold is determined. The pixel points in the entity local features are randomly selected for matching with the pixel points of the twin local features, and the errors of the pixel points between the successfully matched entity local features and the twin local features are calculated respectively. The error is calculated once for each match and the error is accumulated. When the accumulation times exceeds the threshold, the accumulation is stopped and the total number of current accumulation times is recorded. The value of each pixel point in the entity local feature on the two-dimensional coordinate is determined. When the value is equal to the total number of accumulation times, the pixel point is the feature matching point.
[0074] Step S30: After clustering the feature matching points, some feature matching points are restored and straight line fitting is performed on the restored feature matching points.
[0075] It should be noted that feature matching between twin local features and entity local features can only determine the position of the entity insulator, but it does not only detect faults on one insulator. It is necessary to match twin local features and entity local features on multiple insulators at the same time. Each successful match is divided into a group, and faults in multiple groups of insulators are detected. Therefore, it is necessary to reduce the matching error between twin local features and entity local features and increase the difference in features between each group.
[0076] It should be noted that the feature matching points are fuzzy clustered and the clustered feature matching points are restored until the information of the insulator center axis is completely restored. However, since some features of the center axis are lost during the matching process, it is necessary to restore the feature matching points in the area close to the cluster center point, and then perform straight line fitting on the restored feature matching points.
[0077] It can be understood that a straight line fitting can be performed on the feature matching points restored from the cluster centers according to the least squares method.
[0078] Furthermore, in order to improve the accuracy of insulator fault detection, the present embodiment may further include the following steps before step S30:
[0079] Determining the feature matching point set and determining a fuzzy matrix of the feature matching point set;
[0080] Initializing the fuzzy matrix, performing clustering iteration on the initialized fuzzy matrix and updating the fuzzy matrix;
[0081] The maximum value of the difference between adjacent elements in the updated fuzzy matrix is selected, and clustering is stopped when the maximum value is less than a preset iteration threshold.
[0082] In the specific implementation, a data set is formed based on all feature matching points and fuzzy partitioning is performed to obtain a fuzzy matrix. The fuzzy matrix is initialized and the feature matching points of the cluster center are clustered iteratively according to the elements in the initialized fuzzy matrix. The fuzzy evidence is updated according to the results after clustering iteration, and a stop iteration threshold is set. When the maximum value of the difference between adjacent elements after the update is less than the stop iteration threshold, clustering is stopped to obtain an updated fuzzy matrix.
[0083] Step S40: detecting fault information of the insulator based on the image information on both sides of the insulator after straight line fitting.
[0084] It should be noted that the center line after straight line fitting is used as the baseline, the image information on both sides is obtained and adjusted to the same contrast, the image information on one side is mirrored and differentiated from the image on the other side, and the longitudinal grayscale is statistically analyzed to obtain the fault information of the insulator.
[0085] This embodiment obtains twin image information of an insulator twin model and image information of the insulator entity, and determines the twin local features of the twin image information and the entity local features of the entity image information; performs feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features; after clustering the feature matching points, some feature matching points are restored and linear fitting is performed on the restored feature matching points; and insulator fault information is detected based on the image information on both sides of the insulator after linear fitting. This embodiment performs feature matching on the twin and entity local features, clusters the obtained feature matching points, and then restores them. Linear fitting is performed on the restored feature matching points, and insulator fault information is detected based on the image information after linear fitting, thereby improving the intelligence of insulator fault detection.
[0086] 3 , which is a flow chart of a second embodiment of the insulator fault detection method based on a twin model according to the present invention, a second embodiment of the insulator fault detection method based on a twin model according to the present invention is proposed based on the first embodiment shown in FIG. 2 .
[0087] In the second embodiment, step S10 includes:
[0088] Step S101: Determine the horizontal gradient and the vertical gradient of the twin image information and the entity image information in two-dimensional coordinates.
[0089] It should be noted that, and Calculate the gradient of the twin image information and the entity image information in the x-axis direction and the y-axis direction, where F x is the transverse gradient, F y is the horizontal gradient, and F is the image coordinate.
[0090] Step S102: determining a first product of the abscissa gradient and the ordinate gradient of the twin image information, and determining a second product of the abscissa gradient and the ordinate gradient of the entity image information.
[0091] It should be noted that the horizontal coordinate gradient and the vertical coordinate gradient of the twin image information are respectively multiplied, and the horizontal coordinate gradient and the vertical coordinate gradient of the twin image information are respectively multiplied to obtain the first product.
[0092] It should be noted that the horizontal coordinate gradient and the vertical coordinate gradient of the entity image information are cumulatively multiplied, and the horizontal coordinate gradient and the vertical coordinate gradient of the entity image information are multiplied to obtain the second product.
[0093] Step S103: performing weighted processing on the first product and the second product to obtain a Gaussian matrix.
[0094] It should be noted that the first product and the second product include the cumulative product of the abscissa gradient, the cumulative product of the ordinate gradient, and the product of the abscissa gradient and the ordinate gradient.
[0095] It should be noted that the Gaussian matrix is obtained by performing Gaussian weighting on the cumulative product of the abscissa gradient, the cumulative product of the ordinate gradient, and the product of the abscissa gradient and the ordinate gradient according to the Gaussian function.
[0096] Step S104: Determine the eigenvalues of the twin image information and the entity image information based on the Gaussian matrix.
[0097] It should be noted that the characteristic thresholds of the twin image information and the entity image information are determined according to the Gaussian matrix, and the characteristic values of each pixel in the twin image information and the entity image information are calculated.
[0098] Step S105: Determine the twin local features of the twin image information and the entity local features of the entity image information according to the feature values.
[0099] It should be noted that the non-maximum value suppression of the characteristic value is performed according to the characteristic threshold to determine the local maximum point of the twin image information and the entity image information. The local maximum point is the twin local feature or the entity local feature.
[0100] This embodiment determines the horizontal gradient and vertical gradient of the twin image information and the entity image information in two-dimensional coordinates; determines the first product of the horizontal coordinate gradient and the vertical coordinate gradient of the twin image information, and determines the second product of the horizontal coordinate gradient and the vertical coordinate gradient of the entity image information; performs weighted processing on the first product and the second product to obtain a Gaussian matrix; determines the eigenvalues of the twin image information and the entity image information based on the Gaussian matrix; and determines the twin local features of the twin image information and the entity local features of the entity image information according to the eigenvalues. This embodiment determines the first product of the horizontal and vertical gradients of the twin image information and the second product of the horizontal and vertical gradients of the entity image information by determining the horizontal and vertical gradients of the twin image information and the entity image information, and obtains a Gaussian matrix by Gaussian weighting of the first product and the second product through a Gaussian function. The feature threshold is determined through the Gaussian matrix and the eigenvalues of the pixels in the twin image information and the entity image information are calculated. The eigenvalues are non-maximum suppressed based on the feature threshold to obtain the twin local features of the twin image information and the entity local features of the entity image information, so that a large number of effective features can be extracted and the feature points are uniform and reasonable, thereby improving the stability of the feature points.
[0101] 4 , which is a flow chart of a third embodiment of the insulator fault detection method based on a twin model of the present invention, is proposed based on the first embodiment shown in FIG2 .
[0102] In the third embodiment, before step S10, the method further includes:
[0103] Step S00: Discretize the insulator model to obtain a discrete point set model.
[0104] It is understandable that the CAD model of the insulator can be used as a modeling model, and the CAD model can be discretized to obtain a discrete point set model.
[0105] Step S01: constructing a discrete point set relationship based on the discrete point set model and using a preset grid algorithm to generate a grid model.
[0106] It should be noted that the Delaunay grid algorithm can be used to construct the neighborhood relationship of discrete point sets, and the grid model can be generated by the relationship between discrete point sets.
[0107] Step S02: determining the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error.
[0108] It should be noted that during the production process, since the errors generated during the manufacture of insulators have certain predictability, repeatability and certainty, the error information can be identified through simulation and other methods. This type of error is a production error.
[0109] It should be noted that since there are many factors that cause errors, such as missing data, random errors can be obtained through physical and computational methods.
[0110] It should be noted that the target coordinate value is obtained by superimposing the coordinate value of the production error and the coordinate value of the random error.
[0111] Furthermore, in order to reduce errors and prevent the generated model from being inaccurate, the present embodiment may further include the following steps before step S02:
[0112] Perform simulation modeling according to the geometric shape of the insulator to obtain a first model;
[0113] Determining deviation primitives of the insulator shape according to the first model;
[0114] A simulation is performed based on the deviation primitives to obtain production error terms, and the production error terms are accumulated to obtain coordinate values of the production errors.
[0115] In a specific implementation, simulation modeling is performed based on the second-order geometric surface shape to obtain a first model, the deviation primitive of the second-order shape is determined based on the first model, the second-order shape deviation primitive is simulated to obtain the production error term, and the production error term is superimposed to obtain the coordinate value of the production error.
[0116] Furthermore, in order to reduce errors and prevent the generated model from being inaccurate, the present embodiment may further include the following steps before step S02:
[0117] Perform simulation modeling based on the random field of the insulator to obtain a second model;
[0118] Perform discrete sampling based on the second model to obtain discrete random values;
[0119] Determining eigenvalues and eigenvectors according to the discrete random values, and determining a transformation matrix according to the eigenvalues and the eigenvectors;
[0120] A deviation vector is determined according to the conversion matrix, and the coordinate value of the random error is obtained by accumulating the deviation vector.
[0121] In a specific implementation, a second model is obtained by simulation modeling through a random field, discrete sampling is performed on the second model to generate discrete random values of discrete sampling points, the eigenvalues and eigenvectors of the discrete random values are calculated and converted into a matrix, the random deviation normal vectors of the discrete sampling points are calculated according to the transformation matrix to obtain random error terms, and the random error terms are superimposed to obtain the coordinate values of the random errors.
[0122] Step S03: generating a coordinate point set according to the target coordinate value, and inputting the coordinate point set into the grid model to generate an insulator twin model.
[0123] It should be noted that the coordinate point set is input into the grid model, modeling is performed using the coordinate point set, and it is determined whether the modeled dimensions meet the tolerance specification requirements. If so, the insulator twin model is obtained.
[0124] This embodiment discretizes the insulator model to obtain a discrete point set model; constructs a discrete point set relationship based on the discrete point set model and according to a preset grid algorithm to generate a grid model; determines a target coordinate value based on the coordinate value of the production error and the coordinate value of the random error; generates a coordinate point set based on the target coordinate value, and inputs the coordinate point set into the grid model to generate an insulator twin model. This embodiment discretizes the CAD model to obtain a discrete point set model, and uses a preset grid algorithm to process the discrete point set model to obtain a grid model. The coordinate values of the production error and the coordinate values of the random error are superimposed to obtain the target coordinate value, which is input into the grid model for modeling to obtain the insulator twin model, thereby generating a complete insulator twin model and improving the accuracy of insulator fault detection.
[0125] In addition, referring to FIG5 , an embodiment of the present invention further proposes an insulator fault detection device based on a twin model, wherein the insulator fault detection device based on the twin model includes: a feature determination module 10 , a feature matching module 20 , a feature processing module 30 and a fault detection module 40 ;
[0126] The feature determination module 10 is used to obtain twin image information of the insulator twin model and entity image information of the insulator, and determine twin local features of the twin image information and entity local features of the entity image information;
[0127] The feature matching module 20 is used to perform feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features;
[0128] The feature processing module 30 is used to restore some feature matching points after clustering the feature matching points and perform straight line fitting on the restored feature matching points;
[0129] The fault detection module 40 is configured to detect fault information of the insulator based on image information on both sides of the insulator after straight line fitting.
[0130] This embodiment obtains twin image information of an insulator twin model and image information of the insulator entity, and determines the twin local features of the twin image information and the entity local features of the entity image information; performs feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features; after clustering the feature matching points, some feature matching points are restored and linear fitting is performed on the restored feature matching points; and insulator fault information is detected based on the image information on both sides of the insulator after linear fitting. This embodiment performs feature matching on the twin and entity local features, clusters the obtained feature matching points, and then restores them. Linear fitting is performed on the restored feature matching points, and insulator fault information is detected based on the image information after linear fitting, thereby improving the intelligence of insulator fault detection.
[0131] In addition, an embodiment of the present invention also proposes a storage medium, on which an insulator fault detection program based on a twin model is stored. When the insulator fault detection program based on a twin model is executed by a processor, the insulator fault detection method based on a twin model as described above is implemented.
[0132] Based on the first embodiment of the insulator fault detection device based on the twin model of the present invention, a second embodiment of the insulator fault detection device based on the twin model of the present invention is proposed.
[0133] In this embodiment, the feature determination module 10 is used to determine the horizontal gradient and the vertical gradient of the twin image information and the entity image information in two-dimensional coordinates.
[0134] Furthermore, the feature determination module 10 is also used to determine a first product of the horizontal coordinate gradient and the vertical coordinate gradient of the twin image information, and to determine a second product of the horizontal coordinate gradient and the vertical coordinate gradient of the entity image information.
[0135] Furthermore, the feature determination module 10 is further configured to perform weighted processing on the first product and the second product to obtain a Gaussian matrix.
[0136] Furthermore, the feature determination module 10 is also used to determine the feature values of the twin image information and the entity image information based on the Gaussian matrix.
[0137] Furthermore, the feature determination module 10 is also used to determine the twin local features of the twin image information and the entity local features of the entity image information according to the feature values.
[0138] Furthermore, the feature matching module 20 is also used to match each pixel point of the twin local feature with each pixel point of the entity local feature.
[0139] Furthermore, the feature matching module 20 is further configured to determine errors between matched pixel points and accumulate the errors.
[0140] Furthermore, the feature matching module 20 is further configured to stop accumulation when the number of accumulations reaches a preset number and determine a feature matching point of the local feature of the entity according to the number of accumulations.
[0141] Furthermore, the feature processing module 30 is further configured to determine the feature matching point set and determine a fuzzy matrix of the feature matching point set.
[0142] Furthermore, the feature processing module 30 is further configured to initialize the fuzzy matrix, perform clustering iteration on the initialized fuzzy matrix, and update the fuzzy matrix.
[0143] Furthermore, the feature processing module 30 is further configured to select the maximum value of the difference between adjacent elements in the updated fuzzy matrix, and stop clustering when the maximum value is less than a preset iteration threshold.
[0144] Furthermore, the fault detection module 40 is further configured to discretize the insulator model to obtain a discrete point set model.
[0145] Furthermore, the feature determination module 10 is further configured to generate a grid model by constructing a discrete point set relationship based on the discrete point set model and according to a preset grid algorithm.
[0146] Furthermore, the feature determination module 10 is further configured to determine target coordinate values based on the coordinate values of the production error and the coordinate values of the random error.
[0147] Furthermore, the feature determination module 10 is further configured to generate a coordinate point set according to the target coordinate value, and input the coordinate point set into the grid model to generate an insulator twin model.
[0148] Furthermore, the feature determination module 10 is further configured to perform simulation modeling according to the geometric shape of the insulator to obtain a first model.
[0149] Furthermore, the feature determination module 10 is further configured to determine deviation primitives of the insulator shape according to the first model.
[0150] Furthermore, the feature determination module 10 is further configured to perform simulation based on the deviation primitives to obtain production error terms, and accumulate the production error terms to obtain coordinate values of the production errors.
[0151] Furthermore, the feature determination module 10 is further configured to perform simulation modeling based on the insulator random field to obtain a second model.
[0152] Furthermore, the feature determination module 10 is further configured to perform discrete sampling based on the second model to obtain discrete random values.
[0153] Furthermore, the feature determination module 10 is further configured to determine eigenvalues and eigenvectors according to the discrete random values, and determine a transformation matrix according to the eigenvalues and the eigenvectors.
[0154] Furthermore, the feature determination module 10 is further configured to determine a deviation vector according to the transformation matrix, and accumulate the deviation vector to obtain a coordinate value of the random error.
[0155] Other embodiments or specific implementations of the insulator fault detection device based on the twin model of the present invention can refer to the above-mentioned method embodiments and will not be repeated here.
Claims
1. An insulator fault detection method based on a twin model, characterized in that: The insulator fault detection method based on the twin model comprises the following steps: Acquire twin image information of the insulator twin model and entity image information of the insulator, and determine twin local features of the twin image information and entity local features of the entity image information; Perform feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features; After clustering the feature matching points, some of the feature matching points are restored and straight line fitting is performed on the restored feature matching points; The fault information of the insulator is detected based on the image information on both sides of the insulator after straight line fitting.
2. The insulator fault detection method based on twin model according to claim 1, characterized in that: The step of determining the twin local features of the twin image information and the entity local features of the entity image information includes: Determine the lateral gradient and longitudinal gradient of the twin image information and the entity image information in two-dimensional coordinates; Determine a first product of a horizontal coordinate gradient and a vertical coordinate gradient of the twin image information, and determine a second product of a horizontal coordinate gradient and a vertical coordinate gradient of the entity image information; Performing weighted processing on the first product and the second product to obtain a Gaussian matrix; Determine the eigenvalues of the twin image information and the entity image information based on the Gaussian matrix; The twin local features of the twin image information and the entity local features of the entity image information are determined according to the eigenvalues.
3. The insulator fault detection method based on twin model according to claim 1, characterized in that: The step of performing feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features includes: Match each pixel point of the twin local feature with each pixel point of the entity local feature; Determine the error between the matched pixels and accumulate the error; When the accumulation times reaches a preset number, the accumulation is stopped and the feature matching points of the local features of the entity are determined according to the accumulation times.
4. The insulator fault detection method based on twin model according to claim 1, characterized in that: Before the step of restoring some of the feature matching points after clustering the feature matching points and performing straight line fitting on the restored feature matching points, the method further includes: Determine a feature matching point set, and determine a fuzzy matrix of the feature matching point set; Initialize the fuzzy matrix, perform clustering iteration on the initialized fuzzy matrix and update the fuzzy matrix; The maximum value of the difference between adjacent elements in the updated fuzzy matrix is selected, and clustering is stopped when the maximum value is less than the preset iteration threshold.
5. The insulator fault detection method based on twin model according to claim 1, characterized in that: Before the step of obtaining the twin image information of the insulator twin model and the entity image information of the insulator, and determining the twin local features of the twin image information and the entity local features of the entity image information, the method further includes: Discretize the insulator model to obtain a discrete point set model; Based on the discrete point set model and according to the preset grid algorithm, a discrete point set relationship is constructed to generate a grid model; Determine the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error; A coordinate point set is generated according to the target coordinate value, and the coordinate point set is input into the grid model to generate an insulator twin model.
6. The insulator fault detection method based on twin model according to claim 5, characterized in that: Before the step of determining the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error, the method further includes: Perform simulation modeling according to the geometric shape of the insulator to obtain a first model; Determining deviation primitives of the insulator shape according to the first model; The production error terms are obtained by simulation based on the deviation primitives, and the production error terms are accumulated to obtain the coordinate values of the production errors.
7. The insulator fault detection method based on twin model according to claim 5, characterized in that: Before the step of determining the target coordinate value according to the coordinate value of the production error and the coordinate value of the random error, the method further includes: Perform simulation modeling according to the random field of the insulator to obtain a second model; Perform discrete sampling based on the second model to obtain discrete random values; Determine eigenvalues and eigenvectors according to the discrete random values, and determine a transformation matrix according to the eigenvalues and eigenvectors; The deviation vector is determined according to the conversion matrix, and the coordinate value of the random error is obtained by accumulating the deviation vector.
8. An insulator fault detection device based on a twin model, characterized in that: The insulator fault detection device based on the twin model includes: a feature determination module, a feature matching module, a feature processing module and a fault detection module; The feature determination module is used to obtain the twin image information of the insulator twin model and the entity image information of the insulator, and determine the twin local features of the twin image information and the entity local features of the entity image information; The feature matching module is used to perform feature matching on the twin local features and the entity local features to obtain feature matching points of the entity local features; The feature processing module is used to restore some feature matching points after clustering the feature matching points and perform straight line fitting on the restored feature matching points; The fault detection module is used to detect fault information of the insulator based on image information on both sides of the insulator after straight line fitting.
9. An insulator fault detection device based on a twin model, characterized in that: The insulator fault detection device based on the twin model includes: a memory, a processor, and an insulator fault detection program based on the twin model stored in the memory and executable on the processor. When the insulator fault detection program based on the twin model is executed by the processor, the steps of the insulator fault detection method based on the twin model as described in any one of claims 1 to 7 are implemented.
10. A storage medium, characterized in that: The storage medium stores an insulator fault detection program based on a twin model, and when the insulator fault detection program based on a twin model is executed by a processor, the steps of the insulator fault detection method based on a twin model as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Overhead contact system rod insulator fault detection method based on Harris corners and image difference
CN103310438A
Overhead line system insulator damage foreign matter mixed fault detection method
CN107742293A
Line insulator defect detection method and device
CN113506290A
Digital twin model construction system based on image recognition and dynamic matching
CN114548253A
Equipment fault prediction method and device, equipment and storage medium
CN115392037A
Cited By
Lightning protection composite insulator insulation cooperation detection and structure optimization method based on digital twinning
CN119692128A
Pump station operation optimization method and system based on digital twinning
CN120597783A
