Method and device for identifying inspection blind area of power equipment
Through point cloud data processing and coordinate transformation technology, blind spots in power equipment inspections are identified and evaluated, solving the problems of insufficient automation and accuracy in existing technologies, improving inspection efficiency and coverage, and reducing power equipment operation risks.
Patent Information
- Application Number
- CN202410972954.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Existing technologies have problems with automation, low efficiency, and insufficient accuracy in blind spot identification for power equipment inspections. Especially in complex environments and harsh conditions, it is difficult to achieve efficient and comprehensive blind spot management.
By obtaining point cloud data of power equipment, a point cloud grid model is formed, and the mapping relationship between the global coordinate system and the inspection visual coordinate system is established. Based on the interaction analysis between the projected light and the point cloud grid model, the inspection blind spots are identified and marked. , to achieve automatic, efficient and accurate blind spot identification and quantitative assessment.
The inspection routes are optimized, inspection efficiency and coverage are improved, power equipment operation risks are reduced, and automatic, efficient, accurate identification and quantitative analysis of blind spots in power equipment inspections are achieved.
Smart Images

Figure CN118823764A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electric power inspection, and in particular relates to a method and a device for identifying blind areas of electric power equipment inspection. Background Art
[0002] Power equipment, such as substations and transmission lines, are often located in vast and complex environments. Effective monitoring of these devices is essential to ensure the stable operation of the power system. Current monitoring methods mainly rely on fixed pan-tilt cameras, ground robots, and drones to conduct regular equipment inspections to monitor the operating status of the equipment.
[0003] However, due to the limitations of the physical installation position and field of view of fixed pan-tilt cameras, and the height and inspection path limitations of ground robots, it is often impossible to cover the inspection of all key components of power equipment. These inspection visual blind spots may result in key faults or damages not being monitored, thus affecting the safe operation of the power system.
[0004] At the same time, although drones are flexible in position and have a wide viewing angle, they can provide multi-angle visual inspections and effectively fill in the gaps in monitoring at high places and inaccessible areas, but they still face challenges in actual operation. In particular, when it is impossible to accurately provide blind spot location information, drones need to adopt a full coverage point photography plan, which not only reduces flight efficiency, but also makes it difficult to achieve three-dimensional collaborative inspections within the station, resulting in repeated shooting and inspection blind spots.
[0005] The existing identification and assessment of blind spots in power equipment inspections has evolved from early manual drawing and simulation to complex computer modeling and simulation, as well as advanced computer vision technology. Computer modeling software is used to build a detailed three-dimensional model of the substation, and visual blind spots are identified and optimized through visible line analysis and patrol path simulation, which significantly improves the accuracy of blind spot management.
[0006] For example, patent CN112487916A provides a binocular 3D recognition system for power equipment, including: image acquisition and fusion module, recognition and positioning model training module and target positioning correction module; the image acquisition and fusion module, recognition and positioning model training module and target positioning correction module are connected in sequence, and finally output the type of power equipment and the boundary box of power equipment to complete the recognition of power equipment. This solution has the advantages of high recognition accuracy, strong anti-occlusion ability, and high utilization rate of training samples.
[0007] In addition, existing technologies also include the application of laser scanning and point cloud technology, especially the use of LiDAR equipment to quickly obtain three-dimensional data of substations, accelerate the construction of substation models, and provide higher-precision spatial analysis capabilities for blind spot identification and evaluation.
[0008] However, the above identification and evaluation methods usually have high requirements for computing resources, high costs, and low efficiency when processing large amounts of data. In addition, accuracy in complex environments is still challenging, especially in low light or bad weather conditions, where the error rate may increase. In addition, although existing technologies have made progress in the identification of inspection blind spots, they still show certain limitations in providing quantitative analysis of inspection blind spots, which limits the scientificity and systematicness of inspection blind spot management.
[0009] Therefore, how to identify the inspection blind spots of power equipment to achieve automatic, efficient, accurate and comprehensive inspection blind spot identification and to achieve quantitative analysis of the inspection blind spots is an urgent problem to be solved by technical personnel in this field. Summary of the invention
[0010] In view of the defects existing in the above-mentioned prior art, the present invention provides a method and device for identifying blind spots in power equipment inspections. The identification method specifically includes the following steps: obtaining point cloud data of power equipment, forming a point cloud mesh model of a single power equipment, and establishing a global coordinate system; providing a visual inspection coordinate system for power equipment inspections, and establishing a mapping relationship between the visual inspection coordinate system and the global coordinate system; providing the inspection blind spots of power equipment through the global coordinate system based on the interactive analysis of the inspection projection light and the point cloud mesh model. The present invention realizes automatic, efficient, accurate, and comprehensive identification of blind spots in power equipment inspections by integrating three-dimensional point clouds, visual inspections, and coordinate transformations, and then conducts quantitative evaluation of blind spots in power equipment inspections, so as to optimize inspection routes, improve inspection efficiency, inspection point coverage, and reduce the operational risks of power equipment.
[0011] In a first aspect, the present invention provides a method for identifying blind areas of power equipment inspection, which specifically comprises the following steps:
[0012] Obtain point cloud data of power equipment, form a point cloud mesh model of a single power equipment, and establish a global coordinate system;
[0013] Provide a visual inspection coordinate system for power equipment inspection, and establish a mapping relationship between the visual inspection coordinate system and the global coordinate system;
[0014] Through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind areas of the power equipment are given.
[0015] Further, forming a point cloud mesh model of a single power device specifically includes the following steps:
[0016] Obtain initial 3D point cloud data of power equipment;
[0017] Based on the Gaussian model, the initial three-dimensional point cloud data is preprocessed to obtain the point cloud data of the power equipment;
[0018] Through clustering processing, the point cloud data is classified to construct the point cloud data of each single power equipment;
[0019] Simplify the point cloud data of each single power equipment and convert it into voxel data;
[0020] The surface of the point cloud mesh model is extracted from the voxel data using an isosurface extraction algorithm;
[0021] The occupancy state of the voxel data and the surface of the point cloud mesh model are combined to form a point cloud mesh model of the single power equipment.
[0022] Furthermore, a global coordinate system is established, including:
[0023] Taking the vertical direction of the point cloud mesh model as the Z axis, the coordinate system of the point cloud mesh model is expressed as (x r ,y r , z r ), the coordinate system of the point cloud mesh model is defined as the global coordinate system.
[0024] Furthermore, a visual inspection coordinate system for power equipment inspection is provided, and a mapping relationship between the visual inspection coordinate system and the global coordinate system is established, which specifically includes the following steps:
[0025] Determine the inspection visual coordinate system of the power equipment inspection device;
[0026] Get the translation vector and rotation matrix to construct the affine transformation matrix;
[0027] The mapping relationship between the inspection visual coordinate system and the global coordinate system is established through the affine transformation matrix.
[0028] Furthermore, the translation vector and the rotation matrix are obtained to construct an affine transformation matrix, which specifically includes the following steps:
[0029] Get the vector from the origin of the inspection visual coordinate system to the origin of the global coordinate system and give the translation vector;
[0030] By analyzing the angles between each coordinate axis of the inspection vision coordinate system and the corresponding coordinate axis of the global coordinate system, a rotation matrix is given;
[0031] Combining the translation vector and the rotation matrix, an affine transformation matrix is constructed.
[0032] Furthermore, a mapping relationship between the inspection visual coordinate system and the global coordinate system is established, which is specifically expressed as follows:
[0033]
[0034] Among them, (xa, ya, za) is the point coordinate in the inspection visual coordinate system, Q(x c ,y c ,z c ) are the point and point coordinates in the global coordinate system corresponding to the point coordinates in the inspection coordinate system, R is the rotation matrix, and t is the translation vector.
[0035] Furthermore, through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind area of the power equipment is given, which specifically includes the following steps:
[0036] Define the inspection projection rays and obtain the corresponding target point cloud mesh model;
[0037] Analyze the intersection of the projected light and the target point cloud mesh model;
[0038] Based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked.
[0039] Furthermore, the intersection of the projected light and the target point cloud mesh model is analyzed, which is specifically expressed as:
[0040] P(x P ,y P ,z P )=(x 0 +td x ,y 0 +td y ,z 0 +td z )
[0041] Among them, (x 0 ,y 0 ,z 0 ) is the coordinate of the initial point of the projected light, t is the direction vector parameter, (d x ,d y ,d z ) is the component of the projected light on the normal vector of the target point cloud mesh model, and P is the intersection point.
[0042] Furthermore, based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked, which specifically includes the following steps:
[0043] Based on the direction of the inspection projection light, the plane figure of the target point cloud mesh model is determined;
[0044] Give the coordinates of the center of gravity of a plane figure in the global coordinate system;
[0045] Combined with the analysis of the connection vectors of the intersection point and each vertex in the plane figure, the vector cross product group is given, which is specifically expressed as:
[0046] Ci =(x i+1 -x i )·(y P -y i )-(y i+1 -y i )·(x P -x i )
[0047] Among them, C i is the vector cross product corresponding to the i-th vertex in the vector cross product group, (x i ,y i ) is the coordinate of the i-th vertex in the plane figure, (x i+1 ,y i+1 ) is the coordinate of the i+1th vertex in the plane figure, (x P ,y P ) are the coordinates of the intersection point P;
[0048] Based on the signs of each cross product and the comparison of the Euclidean distance between the intersection point and the centroid, the intersection point in the plane figure of the target point cloud mesh model is given, which is specifically expressed as:
[0049]
[0050] Where n is the total number of vector cross products in the vector cross product group, d() is the Euclidean distance between points, (x G ,y G ) is the coordinate of the center of gravity G of the plane figure of the target point cloud mesh model;
[0051] Based on the intersection points in the plane figure of the target point cloud grid model, the intersection points of multiple inspection projection rays and the grid model are identified with visible marks to give visual blind spots.
[0052] In a second aspect, the present invention further provides a device for identifying blind areas of power equipment inspection, which adopts the above-mentioned method for identifying blind areas of power equipment inspection, and specifically includes:
[0053] A collection unit, used to obtain point cloud data of power equipment;
[0054] A construction unit is used to form a point cloud mesh model of a single power device, establish a global coordinate system, and provide a visual inspection coordinate system for power equipment inspection;
[0055] The analysis unit is used to map the inspection visual coordinate system to the global coordinate system, and through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud grid model, the inspection blind area of the power equipment is given.
[0056] The present invention provides a method and device for identifying blind areas of power equipment inspection, which at least have the following beneficial effects:
[0057] (1) The present invention realizes automatic, efficient, accurate and comprehensive identification of power equipment inspection blind spots by integrating three-dimensional point cloud, visual inspection and coordinate transformation, and then conducts quantitative evaluation of power equipment inspection blind spots to optimize inspection routes, improve inspection efficiency and inspection point coverage, and reduce the operational risks of power equipment.
[0058] (2) The present invention ensures the accurate and seamless conversion of the inspection visual coordinate system to the global coordinate system through an affine transformation matrix composed of a translation vector and a rotation matrix. The vision of the inspection device can be effectively mapped to the point cloud mesh model so that the visual data of the inspection device can be used for further processing, blind spot analysis and evaluation of the point cloud mesh model. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A schematic diagram of a flow chart of a method for identifying blind areas in power equipment inspection provided by the present invention;
[0060] Figure 2 A schematic diagram of a construction process of a point cloud mesh model of a single power device according to a certain embodiment of the present invention;
[0061] Figure 3 A schematic diagram of a process for establishing a mapping relationship between an inspection visual coordinate system and a global coordinate system according to a certain embodiment of the present invention;
[0062] Figure 4 A schematic diagram of a process for constructing an affine transformation matrix according to an embodiment of the present invention;
[0063] Figure 5 A schematic diagram of an affine transformation of an embodiment provided by the present invention;
[0064] Figure 6 A schematic diagram of a process flow of providing a blind area of inspection of electric equipment in accordance with a certain embodiment of the present invention;
[0065] Figure 7 A schematic diagram of the field of view of an inspection device according to a certain embodiment of the present invention;
[0066] Figure 8 A point diagram of a multi-patrol inspection device provided in a certain embodiment of the present invention;
[0067] Fig. 9 An example diagram of a patrol blind area in a multi-patrol inspection device according to an embodiment of the present invention;
[0068] Fig.10 A schematic diagram of the structure of a device for identifying blind areas in inspection of electric equipment provided by the present invention. DETAILED DESCRIPTION
[0069] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0070] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0071] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0072] In order to further improve the efficiency and accuracy of blind spot identification and quantitative evaluation of power equipment inspection, computer vision and artificial intelligence technologies have been introduced. By installing cameras at key locations and applying occlusion area detection algorithms, blind spots in images can be automatically identified and patrol strategies can be optimized.
[0073] Based on the fusion of 3D point cloud, visual inspection and coordinate transformation, and through the blind spot detection algorithm, the camera coverage of various inspection methods such as fixed pan-tilt cameras, ground robots and drone platforms is calculated to achieve automatic, efficient, accurate and comprehensive identification of blind spots in power equipment inspections.
[0074] like Figure 1 As shown, the present invention provides a method for identifying blind areas of power equipment inspection, which specifically includes the following steps:
[0075] Obtain point cloud data of power equipment, form a point cloud mesh model of a single power equipment, and establish a global coordinate system;
[0076] Provide a visual inspection coordinate system for power equipment inspection, and establish a mapping relationship between the visual inspection coordinate system and the global coordinate system;
[0077] Through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind areas of the power equipment are given.
[0078] The identification of blind spots in power equipment inspections provided by the present invention covers key technical points such as comprehensive processing of three-dimensional point cloud data, posture calibration of inspection equipment (such as camera gimbal), coordinate transformation, blind spot detection, coordinated coverage of multiple inspection platforms, and quantitative evaluation of inspection blind spots, ultimately achieving automatic, efficient, accurate, and comprehensive identification of blind spots in power equipment inspections.
[0079] To obtain point cloud data of power equipment, a variety of scanning technologies can be used, such as ground static laser scanners, mobile scanning systems or laser scanning technology carried by drones, depth cameras, etc., to perform detailed scans of power equipment (such as high-voltage equipment, cameras and other structures in substations) from multiple angles and positions to ensure that the scan covers all key areas. During the scanning process, the device emits lasers and receives their reflected light to calculate the distance and form point cloud data. After the acquisition is completed, data synchronization, correction and feature point matching are performed to ensure that data from different scanning perspectives are accurately aligned. Through these steps, a high-quality three-dimensional point cloud data of power equipment that accurately corresponds to the physical facility is finally formed.
[0080] After obtaining the point cloud data of the power equipment, the point cloud data is denoised. The denoising algorithm based on the Gaussian mathematical model or the point cloud processing software can be used. The denoising algorithm based on the Gaussian mathematical model mainly uses the statistical characteristics of the Gaussian distribution (normal distribution) to identify and remove noise points caused by random errors. The specific steps include the following:
[0081] A neighborhood is defined for each point A in the point cloud data, wherein the neighborhood is a spherical neighborhood with a preset radius;
[0082] The mean vector and covariance matrix of all points in the neighborhood are given, which can be expressed as:
[0083]
[0084] X i =(x i ,y i ,z i )
[0085]
[0086] Among them, μ is the mean vector, Σ is the covariance matrix, (μ x ,μ y ,μ z ) is the component vector of the mean vector, m is the total number of points in the neighborhood, X i is the i-th point in the neighborhood, (x i,y i ,z i ) is the coordinate of the i-th point in the neighborhood;
[0087] The point cloud data is denoised by analyzing the Mahalanobis distance between each point in the neighborhood and the mean vector and combining it with the threshold for determining the degree of compactness.
[0088] The Mahalanobis distance between each point in the neighborhood and the mean vector is specifically expressed as:
[0089]
[0090] Among them, D M (X i ) is the Mahalanobis distance between the i-th point in the domain and the mean vector.
[0091] According to the Mahalanobis distance D M (X i ) value, set a threshold τ. If D M (X i ) is greater than τ, then it is considered that point X i The above method can effectively smooth the point cloud surface, thereby reducing random noise in the data and improving the overall quality of the data.
[0092] Of course, in addition to the above denoising algorithms, you can also use the ready-made denoising tools provided by the point cloud processing software to remove abnormal points (outliers), such as the SOR Filter or Noise Filter provided by CloudCompare. These tools are specifically designed to detect and remove noise and outliers in point cloud data, thereby improving data quality and analysis accuracy, and providing a cleaner and more accurate data set for subsequent data processing and analysis. SORFilter is based on statistical analysis methods and identifies possible noise or outliers by comparing the distance distribution of each point with its surrounding points. It is suitable for removing irregular points caused by random measurement errors. Noise Filter focuses on the local geometric characteristics of the points and evaluates the geometric consistency of each point with its surrounding points, such as the smoothness of the surface or spatial continuity. It is suitable for processing errors or outliers caused by environmental interference or scanning equipment limitations. The combined use of these tools can significantly improve the processing quality and availability of point cloud data.
[0093] For the individualization of power equipment, we can combine clustering algorithms (or related operations in point cloud processing software) and cutting and classification of point cloud data to construct point cloud data and point cloud mesh models for each individual power equipment.
[0094] like Figure 2 As shown, forming a point cloud mesh model of a single power device specifically includes the following steps:
[0095] Obtain initial 3D point cloud data of power equipment;
[0096] Based on the Gaussian model, the initial three-dimensional point cloud data is preprocessed to obtain the point cloud data of the power equipment;
[0097] Through clustering processing, the point cloud data is classified to construct the point cloud data of each single power equipment;
[0098] Simplify the point cloud data of each single power equipment and convert it into voxel data;
[0099] The surface of the point cloud mesh model is extracted from the voxel data using an isosurface extraction algorithm;
[0100] The occupancy state of the voxel data and the surface of the point cloud mesh model are combined to form a point cloud mesh model of the single power equipment.
[0101] For clustering processing, it specifically includes:
[0102] Identify each core point in the 3D point cloud data, where a core point has at least MinPts points in its neighborhood; thus, the core point can show a high enough density to be considered as part of a cluster.
[0103] The boundary points and noise points for clustering are defined by core points, where the boundary points have fewer points in the neighborhood than MinPts but are located in the neighborhood of at least one core point, and the noise points have fewer points in the neighborhood than MinPts and do not belong to the neighborhood of any core point.
[0104] Starting from any unclustered core point, find all core points that are density-reachable to it to form a new cluster. Density-reachable means that one can reach another core point from one core point through a series of core points in the neighborhood.
[0105] All density-reachable points starting from the core point are classified into the same cluster, where the density-reachable points include core points and boundary points.
[0106] Repeat the above process until all point cloud data are processed.
[0107] Through the above clustering process, the point cloud can be effectively organized into independent clusters according to its density, and each cluster corresponds to a single device. After the clustering process is completed, the clustering results need to be carefully analyzed and verified to ensure that each cluster accurately represents a specific device. In addition, manual intervention may be required to correct any classification errors caused by the clustering algorithm to ensure the accuracy and reliability of the data.
[0108] In addition to the above clustering, point cloud data can also be spatially cut and classified through plane cutting, polygon cutting, and voxel cutting tools provided by point cloud processing software such as CloudCompare to effectively isolate and analyze specific equipment or structural areas.
[0109] Specifically, plane cutting divides the point cloud by setting one or more planes, which is suitable for isolating simple structures. For objects with more complex or irregular shapes, the polygon cutting tool provides a custom cutting path to crop the point cloud as needed. These cutting methods greatly simplify the process of extracting detailed information about specific equipment or facilities from huge point cloud data, laying the foundation for the subsequent refined processing of equipment units.
[0110] Of course, after completing the rough cutting and classification of the point cloud data through the above steps and preliminarily obtaining the individualized device point cloud data, the individualized device point cloud data can be denoised again to improve the quality of the individualized device point cloud.
[0111] The point cloud data of each single power equipment is simplified and converted into voxel data, including:
[0112] Determine the size of the voxel. Each voxel is a cube in space, and its size is determined by the length of the side of the cube.
[0113] Each point in the point cloud data of each single power device is assigned to a corresponding voxel according to its coordinates. In each voxel, all points will be merged into a representative point, which is usually the geometric center of all points in the voxel.
[0114] The isosurface extraction algorithm is used to extract the surface of the point cloud mesh model from the voxel data, which is specifically expressed as:
[0115] Determine the size of the voxel grid. Set the 3D grid size according to the distribution of the point cloud and the required target resolution. Each grid unit is defined as a voxel. The size of the voxel will directly affect the level of detail and computational efficiency of the model.
[0116] By calculating the distance from each point in the point cloud to the voxel center, the points are mapped to the nearest voxel.
[0117] A threshold is set, and the number of points inside a voxel is used to determine whether it is occupied. If the number of points inside a voxel is greater than the threshold, it indicates that the voxel is occupied, otherwise it is not occupied. Empty voxels are filled by interpolation or morphological operations to ensure the continuity and integrity of the point cloud mesh model and avoid holes.
[0118] The Marching Cubes algorithm is used to extract the surface of the point cloud mesh model from the voxelized data. The algorithm connects the boundaries of voxels according to the voxel occupancy state to form a continuous surface, thereby obtaining a point cloud mesh model of the individualized device.
[0119] Establish a global coordinate system, including:
[0120] Taking the vertical direction of the point cloud mesh model as the Z axis, the coordinate system of the point cloud mesh model is expressed as (x r ,y r , z r ), the coordinate system of the point cloud mesh model is defined as the global coordinate system.
[0121] In a certain embodiment, the coordinate system of the three-dimensional point cloud model in the substation scene is defined as a global coordinate system. In this global coordinate system, the spatial relationships of point cloud data, camera positions, pan / tilt settings, and other sensors can be accurately calibrated and matched. The use of a unified coordinate system not only promotes efficient integration and processing of data, but also supports precise object positioning, spatial relationship measurement between devices, and complex scene analysis to ensure consistency and accuracy of data processing. The coordinate system of the three-dimensional point cloud model has high flexibility and can be customized according to the configuration of the point cloud acquisition device. For example, when using a ground scanner to collect point cloud data, the Z axis of the point cloud model can be set to be perpendicular to the ground, that is, vertically upward, while the X and Y axes are adjusted according to the layout of the scanning environment to best capture and describe the spatial characteristics of the scanned object. The origin of the coordinate system of the three-dimensional point cloud model can be expressed as (x r ,y r , z r ).
[0122] like Figure 3 As shown, a visual inspection coordinate system for power equipment inspection is given, and a mapping relationship between the visual inspection coordinate system and the global coordinate system is established, which specifically includes the following steps:
[0123] Determine the inspection visual coordinate system of the power equipment inspection device;
[0124] Get the translation vector and rotation matrix to construct the affine transformation matrix;
[0125] The mapping relationship between the inspection visual coordinate system and the global coordinate system is established through the affine transformation matrix.
[0126] The inspection device for electric power equipment covers a variety of equipment such as fixed pan-tilt cameras, ground mobile robots and drones. Each device has its own unique coordinate system, and its precise definition and relationship are crucial for coordinate transformation. Specifically, the camera coordinate system usually takes the optical center of the camera as the origin, the camera's line of sight as the Y-axis, the Z-axis perpendicular to the Y-axis and upward, and the X-axis perpendicular to the YZ plane, forming a standard right-handed coordinate system. For drones and ground robots, they are usually equipped with advanced navigation systems. Their coordinate systems take the drone itself as the origin, and the direction is set according to the specific configuration of the equipment. For example, a drone can set the current photo-taking point as the coordinate origin, and its heading angle is defined as the Y-axis, the Z-axis vertically upward, and the X-axis perpendicular to the YZ plane.
[0127] There are two main methods to calibrate the camera's intrinsic parameters, such as focal length f. The first is the traditional checkerboard calibration method, which is a widely used technique that calculates the camera's intrinsic parameters by capturing a checkerboard pattern placed at different angles. Second, you can use the software development kit (SDK) provided by the camera manufacturer to obtain the intrinsic parameter settings such as focal length directly from the software interface. Checkerboard calibration can provide highly accurate results, but using the SDK is faster and more convenient.
[0128] The external parameters of the camera include its installation position and pan / tilt attitude (pitch angle and horizontal angle of the camera pan / tilt) in the world coordinate system. Among them, the installation position of the camera can be matched with the known three-dimensional point cloud model of the substation to determine the precise position of the camera. The pan / tilt attitude calibration includes the precise determination of the pitch angle, yaw angle, and roll angle. If the pan / tilt supports remote control, these external parameter settings can be obtained directly from the software interface using the software development kit (SDK) provided by the camera manufacturer. In addition, when the camera adjusts its pan / tilt attitude according to the preset points, these angle values should be re-acquired to ensure that they accurately reflect the actual attitude of the camera.
[0129] According to the above calibration method, the camera's installation position, coordinate system, internal parameters (focal length) and external parameters (pan-tilt posture) can be accurately obtained. Among them, the origin of the camera coordinate system (installation position) is expressed as (x c ,y c ,z c ). The camera coordinate system takes the camera optical center as the origin, the camera line of sight as the Y axis, the Z axis perpendicular to the Y axis upward, and the X axis perpendicular to the YZ plane, forming a standard right-handed coordinate system. The camera internal parameters such as focal length are represented as f. The three-dimensional posture of the gimbal can be expressed as Euler angles (Pitch, Yaw, Roll), where Pitch is the pitch angle, Yaw is the yaw angle, and Roll is the roll angle.
[0130] After determining the installation location of the fixed PTZ camera, the inspection routes of the robot and drone, and the PTZ postures of all cameras, the camera coordinate system and posture are accurately mapped to the point cloud model coordinate system through coordinate transformation. This transformation involves an affine transformation matrix consisting of a translation transformation matrix and a rotation transformation matrix to ensure accurate and seamless conversion from the camera coordinate system to the point cloud coordinate system.
[0131] like Figure 4 As shown, obtaining the translation vector and rotation matrix and constructing the affine transformation matrix specifically includes the following steps:
[0132] Get the vector from the origin of the inspection visual coordinate system to the origin of the global coordinate system and give the translation vector, which is specifically expressed as:
[0133]
[0134] Among them, t x ,t y ,t z The coordinates of the origin of the inspection visual coordinate system in the global coordinate system;
[0135] By analyzing the angles between the coordinate axes of the inspection vision coordinate system and the corresponding coordinate axes of the global coordinate system, a rotation matrix is given. Among them, the origin of the inspection vision coordinate system has been aligned with the origin of the global coordinate system through the translation vector t. In order to further synchronize the directions of the two coordinate systems, it is necessary to construct a rotation matrix R, which is determined based on the angle relationship between the camera coordinate system and the axes of the global coordinate system.
[0136] In a scenario, such as Figure 5 As shown, the inspection visual coordinate system is rotated around the Z axis of the global coordinate system until the directions of the two coordinate systems are completely aligned, and the rotation matrix R can be expressed as:
[0137]
[0138] Where θ is the rotation angle around the Z axis of the inspection vision coordinate system.
[0139] If the rotation involves multiple axes (for example, a rotation of θ around the Z axis followed by a rotation of φ around the X axis), the rotation matrix R can be combined by matrix multiplication:
[0140] R=R x (φ)·R z (θ)
[0141] Among them, the rotation matrix R around the X axis x (φ) is:
[0142]
[0143] Combining the translation vector and the rotation matrix, an affine transformation matrix is constructed.
[0144] The rotation matrix R is combined with the translation vector t to ensure that the transformation from the inspection vision coordinate system to the global coordinate system involves not only rotation alignment but also position alignment. The formula of the affine transformation matrix T is as follows:
[0145]
[0146] The transformation matrix T ensures accurate mapping from the inspection vision coordinate system to the global coordinate system, achieving complete spatial alignment. By applying the transformation matrix T, any point and vector in the inspection vision coordinate system can be accurately transformed into the global coordinate system.
[0147] Establish the mapping relationship between the inspection visual coordinate system and the global coordinate system, which is specifically expressed as follows:
[0148]
[0149] Among them, (xa, ya, za) is the point coordinate in the inspection visual coordinate system, Q(x c ,y c ,z c ) are the point and point coordinates in the global coordinate system corresponding to the point coordinates in the inspection coordinate system, R is the rotation matrix, and t is the translation vector.
[0150] Combining the field of view and ray projection technology of the inspection device, as well as other blind spot detection algorithms, the visual coverage of each camera for a single device in various gimbal postures is accurately calculated, including the precise marking of the visible and invisible parts (i.e. blind spots) in the point cloud model of each device.
[0151] like Figure 6 As shown in the figure, through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind area of the power equipment is given, which specifically includes the following steps:
[0152] Define the inspection projection rays and obtain the corresponding target point cloud mesh model;
[0153] Analyze the intersection of the projected light and the target point cloud mesh model;
[0154] Based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked.
[0155] like Figure 7 As shown, the inspection projection ray is defined as emitting multiple rays from the camera position to cover the entire field of view, which is usually achieved by uniformly generating light vectors within the camera field of view. Specifically expressed as:
[0156]
[0157] Where FOV is the field of view of the camera, usually in degrees. d is the size of the camera sensor (width or height), usually in millimeters (mm). f is the focal length of the camera, also usually in millimeters (mm).
[0158] The number and distribution density of these light vectors can be adjusted according to specific needs to achieve the best balance between computational efficiency and coverage accuracy. Light can be represented as:
[0159] R(t)=O+tD
[0160] Among them, Ο is the origin of the light (camera position), D is the direction vector of the light (unit vector), t is the parameter along the direction of the light, t≥0.
[0161] Analyze the intersection of the projected light and the target point cloud mesh model, which is specifically expressed as:
[0162] P(x P ,y P ,z P )=(x 0 +td x ,y 0 +td y ,z 0 +td z )
[0163] Among them, (x 0 ,y 0 ,z 0 ) is the coordinate of the initial point of the projected light, t is the direction vector parameter, (d x ,d y ,d z ) is the component of the projected light on the normal vector of the target point cloud mesh model, and P is the intersection point.
[0164] Taking the triangular point cloud mesh model as an example, for each ray, calculate its intersection with the triangle on the surface of the point cloud model of each individual device in the substation scene. The condition for determining whether the ray intersects with the triangle can be determined by solving the corresponding linear equations.
[0165] For a triangular model, its surface can be defined by the following vertices:
[0166] Triangle=(P 1 ,P 2 ,P 3 )
[0167] Among them, P 1 ,P 2 ,P 3are the three vertices of a triangle.
[0168] The condition for determining whether a ray intersects a triangle can be determined by solving the corresponding system of linear equations. Substitute the equation of the ray into the equation of the plane where the triangle lies:
[0169] N·(Ο+tD)+d=0
[0170] Where N is the normal vector of the triangle, obtained by the following cross product:
[0171] N=(P 2 -P 1 )×(P 3 -P 1 )
[0172] d is the constant term in the plane equation and can be calculated using the distance formula from a point to the plane.
[0173] Solve for t and find the potential intersection point P:
[0174] P=O+tD
[0175] Based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked, which specifically includes the following steps:
[0176] Based on the direction of the inspection projection light, the plane figure of the target point cloud mesh model is determined;
[0177] Give the coordinates of the center of gravity of a plane figure in the global coordinate system;
[0178] Combined with the analysis of the connection vectors of the intersection point and each vertex in the plane figure, the vector cross product group is given, which is specifically expressed as:
[0179] C i =(x i+1 -x i )·(y P -y i )-(y i+1 -y i )·(x P -x i )
[0180] Among them, C i is the vector cross product corresponding to the i-th vertex in the vector cross product group, (x i ,y i ) is the coordinate of the i-th vertex in the plane figure, (x i+1 ,y i+1 ) is the coordinate of the i+1th vertex in the plane figure, (x P ,y P ) are the coordinates of the intersection point P;
[0181] Based on the signs of each cross product and the comparison of the Euclidean distance between the intersection point and the centroid, the intersection point in the plane figure of the target point cloud mesh model is given, which is specifically expressed as:
[0182]
[0183] Where n is the total number of vector cross products in the vector cross product group, d() is the Euclidean distance between points, (x G ,y G ) is the coordinate of the center of gravity G of the plane figure of the target point cloud mesh model;
[0184] Based on the intersection points in the plane figure of the target point cloud grid model, the intersection points of multiple inspection projection rays and the grid model are identified with visible marks to give visual blind spots.
[0185] like Figure 8 The arrangement of multiple inspection devices is shown, wherein: Figure 8 (a) is the video surveillance point map, Figure 8 (b) is the outdoor point map of the robot inspection.
[0186] Depend on Figure 8 (a) Video surveillance shows that the bottom of #1 main transformer is covered by camera 2, and the right side is covered by camera 1. Figure 8 (b) Robot inspection shows that the left and right positions of the #1 main transformer are covered by the robot-carried cameras. According to the blind spot detection algorithm proposed above, the visible and invisible points of the point cloud model of the 1# main transformer under the specific viewing angles of the 1#, 2# and robot cameras can be calculated respectively. By fusing the visible and invisible points under the viewing angles of multiple cameras, the union of all visible points is obtained. Finally, the visible and invisible points of the point cloud model of the 1# main transformer can be obtained, as shown in Fig. 9 shown.
[0187] After the visual blind area is given, the following steps are also included:
[0188] Calculate the area of the grid cells of the point cloud grid model and add them up to obtain the total area of the power equipment;
[0189] Provide visible point cloud and invisible point cloud markings of the point cloud mesh model of the power equipment;
[0190] By cumulatively calculating the blind spot coverage of all individual devices, a quantitative assessment of the blind spots of power equipment can be achieved.
[0191] Taking the triangular point cloud mesh model as an example, the triangle has vertices A, B and C, then the two vectors and It can be calculated from the following coordinate difference:
[0192]
[0193] The area of the i-th triangle is S i This can be found by taking half the length of the cross product of these two vectors:
[0194]
[0195] Among them, the cross product Given a vector whose length is equal to the vector given by and The area of the parallelogram formed is perpendicular to the plane formed by the two vectors.
[0196] Add up the areas of all triangles in the model to get the overall surface area S.
[0197]
[0198] Calculate the visible point cloud surface area s cover , the blind area coverage rate P of each power equipment is calculated by the following formula: i :
[0199] P i =1-s cover / s
[0200] Among them, s cover It is the coverage area of the single equipment under the field of view of multiple cameras on multiple patrol platforms (the visible point cloud surface area in the point cloud model of the power equipment), and s is the overall area of the front, back, left, right and top surfaces of the power equipment.
[0201] By accumulating and calculating the blind area coverage rate P of all single devices, the quantitative evaluation of the blind area of substation equipment is achieved. The formula is as follows:
[0202]
[0203] Wherein, n is the number of individual devices in the substation, and i is the i-th individual device.
[0204] like Fig.10 As shown, the present invention also provides a device for identifying blind areas of power equipment inspection, which adopts the above-mentioned method for identifying blind areas of power equipment inspection, and specifically includes:
[0205] A collection unit, used to obtain point cloud data of power equipment;
[0206] A construction unit is used to form a point cloud mesh model of a single power device, establish a global coordinate system, and provide a visual inspection coordinate system for power equipment inspection;
[0207] The analysis unit is used to map the inspection visual coordinate system to the global coordinate system, and through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud grid model, the inspection blind area of the power equipment is given.
[0208] The present invention provides a method and device for identifying blind areas of power equipment inspection, which at least have the following beneficial effects:
[0209] (1) The present invention realizes automatic, efficient, accurate and comprehensive identification of power equipment inspection blind spots by integrating three-dimensional point cloud, visual inspection and coordinate transformation, and then conducts quantitative evaluation of power equipment inspection blind spots to optimize inspection routes, improve inspection efficiency and inspection point coverage, and reduce the operational risks of power equipment.
[0210] (2) The present invention ensures the accurate and seamless conversion of the inspection visual coordinate system to the global coordinate system through an affine transformation matrix composed of a translation vector and a rotation matrix. The vision of the inspection device can be effectively mapped to the point cloud mesh model so that the visual data of the inspection device can be used for further processing, blind spot analysis and evaluation of the point cloud mesh model.
[0211] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for identifying blind areas in power equipment inspections. It is characterized in that The specific steps include: Obtain point cloud data of power equipment, form a point cloud mesh model of a single power equipment, and establish a global coordinate system; Provide a visual inspection coordinate system for power equipment inspection, and establish a mapping relationship between the visual inspection coordinate system and the global coordinate system; Through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind areas of the power equipment are given.
2. The method for identifying blind areas of power equipment inspection according to claim 1, It is characterized in that Forming a point cloud mesh model of a single power device specifically includes the following steps: Obtain initial 3D point cloud data of power equipment; Based on the Gaussian model, the initial three-dimensional point cloud data is preprocessed to obtain the point cloud data of the power equipment; Through clustering processing, the point cloud data is classified to construct the point cloud data of each single power equipment; Simplify the point cloud data of each single power equipment and convert it into voxel data; The surface of the point cloud mesh model is extracted from the voxel data using an isosurface extraction algorithm; The occupancy state of the voxel data and the surface of the point cloud mesh model are combined to form a point cloud mesh model of the single power equipment.
3. The method for identifying blind areas of power equipment inspection as claimed in claim 2, It is characterized in that Establish a global coordinate system, including: Taking the vertical direction of the point cloud mesh model as the Z axis, the coordinate system of the point cloud mesh model is expressed as (x r ,y r , z r ), the coordinate system of the point cloud mesh model is defined as the global coordinate system.
4. The method for identifying blind areas of power equipment inspection according to claim 1, It is characterized in that A visual inspection coordinate system for power equipment inspection is given, and a mapping relationship between the visual inspection coordinate system and the global coordinate system is established, which specifically includes the following steps: Determine the inspection visual coordinate system of the power equipment inspection device; Get the translation vector and rotation matrix to construct the affine transformation matrix; The mapping relationship between the inspection visual coordinate system and the global coordinate system is established through the affine transformation matrix.
5. The method for identifying blind areas of power equipment inspection as claimed in claim 4, It is characterized in that Obtain the translation vector and rotation matrix and construct the affine transformation matrix, which includes the following steps: Get the vector from the origin of the inspection visual coordinate system to the origin of the global coordinate system and give the translation vector; By analyzing the angles between each coordinate axis of the inspection vision coordinate system and the corresponding coordinate axis of the global coordinate system, a rotation matrix is given; Combining the translation vector and the rotation matrix, an affine transformation matrix is constructed.
6. The method for identifying blind areas of power equipment inspection according to claim 4, It is characterized in that Establish the mapping relationship between the inspection visual coordinate system and the global coordinate system, which is specifically expressed as follows: Among them, (xa, ya, za) is the point coordinate in the inspection visual coordinate system, Q(x c ,y c ,z c ) are the point and point coordinates in the global coordinate system corresponding to the point coordinates in the inspection coordinate system, R is the rotation matrix, and t is the translation vector.
7. The method for identifying blind areas of power equipment inspection according to claim 1, It is characterized in that Through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud mesh model, the inspection blind area of the power equipment is given, which specifically includes the following steps: Define the inspection projection rays and obtain the corresponding target point cloud mesh model; Analyze the intersection of the projected light and the target point cloud mesh model; Based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked.
8. The method for identifying blind areas of power equipment inspection as claimed in claim 7, It is characterized in that Analyze the intersection of the projected light and the target point cloud mesh model, which is specifically expressed as: P(x P ,y P ,z P )=(x 0 +td x ,y 0 +td y ,z 0 +td z ) Among them, (x 0 ,y 0 ,z 0 ) is the coordinate of the initial point of the projected light, t is the direction vector parameter, (d x ,d y ,d z ) is the component of the projected light on the normal vector of the target point cloud mesh model, and P is the intersection point.
9. The method for identifying blind areas of power equipment inspection as claimed in claim 7, It is characterized in that Based on the shape and position relationship between the intersection point and the target point cloud mesh model, the visual blind area is marked, which specifically includes the following steps: Based on the direction of the inspection projection light, the plane figure of the target point cloud mesh model is determined; Give the coordinates of the center of gravity of a plane figure in the global coordinate system; Combined with the analysis of the connection vectors of the intersection point and each vertex in the plane figure, the vector cross product group is given, which is specifically expressed as: C i (x) i+1 -x i )·(and P -and i )-(and i+1 -and i )·(x P -x i ) Among them, C i is the vector cross product corresponding to the i-th vertex in the vector cross product group, (x i ,y i ) is the coordinate of the i-th vertex in the plane figure, (x i+1 ,y i+1 ) is the coordinate of the i+1th vertex in the plane figure, (x P ,y P ) are the coordinates of the intersection point P; Based on the signs of each cross product and the comparison of the Euclidean distance between the intersection point and the centroid, the intersection point in the plane figure of the target point cloud mesh model is given, which is specifically expressed as: Where n is the total number of vector cross products in the vector cross product group, d() is the Euclidean distance between points, (x G ,y G ) is the coordinate of the center of gravity G of the plane figure of the target point cloud mesh model; Based on the intersection points in the plane figure of the target point cloud grid model, the intersection points of multiple inspection projection rays and the grid model are identified with visible marks to give visual blind spots.
10. A device for identifying blind areas of power equipment inspection. It is characterized in that The method for identifying blind areas of power equipment inspection as claimed in any one of claims 1 to 9 specifically comprises: A collection unit, used to obtain point cloud data of power equipment; A construction unit is used to form a point cloud mesh model of a single power device, establish a global coordinate system, and provide a visual inspection coordinate system for power equipment inspection; The analysis unit is used to map the inspection visual coordinate system to the global coordinate system, and through the global coordinate system, based on the interactive analysis of the inspection projection light and the point cloud grid model, the inspection blind area of the power equipment is given.
Citation Information
Patent Citations
Binocular three-dimensional recognition system for power equipment
CN112487916A
Laser and vision fused inspection robot substation map construction method
CN111045017A
Rapid three-dimensional reconstruction method for mine inspection scene of unmanned aerial vehicle
CN112288875A
Multi-sensor fusion obstacle avoidance system for industrial inspection robot
CN113485359A
Vision-based point cloud processing obstacle avoidance method
CN114202567A
