Photovoltaic panel positioning modeling method and device based on unmanned aerial vehicle image measurement

By using UAV image measurement methods combined with oblique photography technology of visible light and infrared images, the problem of high-precision three-dimensional positioning of photovoltaic panels with high pile positions and large tilt angles in the fishery-solar complementary scenario was solved, realizing precise positioning of the solar cell level of the heat-generating point of the photovoltaic panel and automated operation and maintenance.

CN123160652APending Publication Date: 2026-11-24SINOHYDRO BUREAU 14 CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611072483.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-20
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve high-precision 3D positioning of photovoltaic panels in a solar-fishery hybrid system, especially for reconstructing the geometric information of the back side of high-pile, large-angle photovoltaic panels and accurately mapping infrared images, resulting in low efficiency and insufficient positioning accuracy of traditional methods.

Method used

Using UAV imagery measurement, visible light and infrared images are acquired through oblique photography. An initial sparse 3D model is established, the photovoltaic panel mask is segmented and the point cloud of individual panels is extracted. The spatial coordinate benchmark is optimized by combining absolute control points, a second flight path is planned to acquire the back image, and the infrared image is accurately mapped by using joint bundle adjustment.

Benefits of technology

It achieves precise positioning of solar cell-level heat dissipation points on photovoltaic panels, overcomes the defects in back-side reconstruction caused by bracket obstruction, improves the geometric integrity and positioning accuracy of the model, and is suitable for automated operation and maintenance of solar-aquaculture hybrid power plants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160652A_ABST
    Figure CN123160652A_ABST
Patent Text Reader

Abstract

The application provides a photovoltaic panel positioning modeling method and device based on unmanned aerial vehicle image measurement, and relates to the technical field of photovoltaic panel positioning modeling. The application collects visible light and infrared images through a first route, solves a sparse three-dimensional model and a shooting pose, and generates a dense point cloud. A photovoltaic panel mask is segmented from the visible light image, and a single panel point cloud is extracted in combination with the shooting pose. A single front model is constructed through plane fitting and regularization. A space coordinate reference is established by using an absolute control point identified from the sparse three-dimensional model and a known space distribution constraint. A back visible light image sequence is collected according to the single front model to plan a second route. After the back point cloud is independently reconstructed, a complete shell model is generated by registration with the constraints of geometric prior and known panel thickness. Finally, the infrared, visible light and back image are jointly adjusted by the bundle method to solve the accurate shooting pose, realize pixel-level mapping of infrared radiation information, and finally realize accurate positioning of the heating point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photovoltaic panel positioning and modeling technology, specifically to a photovoltaic panel positioning and modeling method and apparatus based on UAV image measurement. Background Technology

[0002] With the rapid development of the photovoltaic power generation industry, land resources are becoming increasingly scarce. The "fishery-solar complementary model" (i.e., photovoltaic power generation on the upper level and aquaculture on the lower level) has been widely promoted due to its advantages such as intensive land use and eco-friendliness. However, the photovoltaic panels in this type of power station are usually mounted on piles 2-4 meters above the water surface, and often have a large tilt angle (e.g., 15-30 degrees) to obtain the optimal sunlight angle. During long-term operation, abnormalities such as hot spots, microcracks, and diode failures may occur in the internal cells of the photovoltaic panels, leading to localized heating and seriously affecting power generation efficiency and module lifespan. Infrared thermal imaging technology is widely used to detect such faults, but traditional manual handheld or vehicle-mounted inspection methods face problems such as difficulty in passage, low efficiency, and limited viewing angle in fishery-solar complementary scenarios.

[0003] Drones equipped with visible light and infrared cameras have become the mainstream solution for inspection, but the core bottleneck lies in how to accurately locate the heat-generating areas in two-dimensional infrared images onto the specific cells of each photovoltaic panel in three-dimensional space. Existing technologies typically use single oblique photogrammetry modeling, simply attaching the infrared image to the surface of the three-dimensional model. However, for photovoltaic panels with high pile positions and large tilt angles, the back is completely obscured by the support structure, and conventional drone flight paths can only collect frontal images. This results in the reconstructed model lacking back geometric information, and severe ghosting and offset occur during infrared image mapping due to the tilted shooting angle and insufficient pose calculation accuracy. In addition, interference factors such as water surface reflection, numerous pipe piles, and a lack of obvious ground control points in the fish-solar hybrid scenario further exacerbate the difficulty of modeling and positioning, making it difficult for traditional adjustment methods based on GPS or a few ground markers to achieve cell-level positioning accuracy (centimeter level).

[0004] To address the aforementioned issues, existing technologies attempt to enhance model details through dense matching or multi-view stereo vision, but these methods fail to adequately resolve texture drift problems caused by known front geometry, missing back geometry, and the independence of infrared image pose. Some methods incorporate LiDAR-assisted modeling, but these are costly and inefficient, hindering large-scale application. Therefore, there is an urgent need for a positioning and modeling method that can adapt to the large tilt angle characteristics of photovoltaic panels, integrate visible light information from both the front and back sides, and achieve high-fidelity infrared texture mapping to support high-precision, fully automated thermal fault diagnosis in solar-aquaculture hybrid power plants.

[0005] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] The purpose of this invention is to provide a method and apparatus for photovoltaic panel positioning and modeling based on UAV image measurement, so as to solve the problems mentioned in the background art.

[0007] To achieve the above objectives, the present invention provides the following technical solution: A photovoltaic panel positioning modeling method based on UAV imagery measurement, comprising the following steps: During the first flight path, visible light and infrared images of the target area are acquired; based on the visible light images, the initial sparse 3D model and the shooting pose of each visible light image are calculated, and a dense point cloud of the target area is generated through the shooting pose; The masks of each photovoltaic panel are segmented from the visible light image, and the point cloud of each individual panel is extracted from the dense point cloud by combining the shooting pose. The point cloud of the individual panel is fitted and regularized to construct a single front model representing each photovoltaic panel, and its centroid coordinates and normal vector are recorded. Absolute control points are identified from the initial sparse 3D model. The known spatial distribution of the absolute control points is used as a constraint to perform global optimization on the initial sparse 3D model and the shooting pose, and a spatial coordinate reference is established. Based on the centroid coordinates and normal vectors of all individual front models, a second flight path is planned to completely capture the back of each photovoltaic panel; the second flight path is executed to obtain a sequence of visible light images of the back. Based on the independent reconstruction of the back point cloud from the visible light image sequence, under the spatial coordinate reference, the back point cloud is registered with the corresponding front model of the single unit and the known thickness of the photovoltaic panel as constraints to generate a shell model with complete geometric structure. Infrared images, visible light images, and back-side visible light images are incorporated into a joint bundle adjustment. The precise shooting pose of each infrared image is calculated by using the rigid body transformation relationship calibrated between the visible light camera and the infrared camera as a constraint. Using the precise shooting pose, the radiation information of the infrared images is mapped pixel-level onto the shell model to achieve precise positioning of the photovoltaic panel's heating points.

[0008] Furthermore, by executing the first route, visible light images are continuously acquired by a visible light camera, and infrared images are simultaneously and continuously acquired by an infrared camera that is fixed to the visible light camera. The first route is an oblique photography route designed for the high-pile photovoltaic panel scene of the fishery-solar hybrid power station, and its directional overlap and lateral overlap are not lower than the corresponding preset thresholds. The rigid body transformation relationship between the infrared camera and the visible light camera was calibrated before data acquisition.

[0009] Furthermore, the visible light image is input into a pre-trained instance segmentation network to identify and segment each independent photovoltaic panel, and output the mask corresponding to each photovoltaic panel; Based on the shooting pose, the mask corresponding to each photovoltaic panel is projected onto the dense point cloud, and the individual panel point cloud belonging to each photovoltaic panel is extracted; The plane fitting and regularization specifically include: using a random sampling consensus algorithm to iteratively process the point cloud of each photovoltaic panel, with the goal of maximizing the number of interior points. During the iteration process, the support point cloud and edge flying points are automatically removed, and finally the spatial plane with the most interior points is taken as the best spatial plane representing the photovoltaic panel surface. Based on the normal vector and centroid of the optimal spatial plane, and according to the known standard length and standard width of the corresponding photovoltaic panel, the optimal spatial plane is regularized into a standard spatial rectangle, which is used as the single front model of the corresponding photovoltaic panel. The corner coordinates, centroid coordinates, and normal vector of the spatial rectangle are recorded, which are the centroid coordinates and normal vector of the single front model. The normal vector points to the side of the photovoltaic panel facing the drone, which is called the front of the single front model, and the side away from the normal vector is called the back.

[0010] Furthermore, in the initial sparse 3D model, the pipe pile structure set above the water surface in the target area is identified by color and geometric features. The point cloud sheet at the top of each pipe pile is extracted, and the point cloud sheet is fitted with a spatial circle to solve the three-dimensional coordinates of the circle center on the top surface of the pipe pile, which is used as the absolute control point.

[0011] Furthermore, establishing the spatial coordinate reference specifically includes: Using absolute control points as observations and the known pile distance between adjacent pipe piles determined by the regular arrangement of pipe piles as a relative distance constraint, bundle adjustment is performed together. By minimizing the reprojection error of the absolute control points and constraining the distance between the absolute control points of adjacent pipe piles after optimization to be equal to the known pile distance, the shooting pose of the initial sparse 3D model and the visible light image is optimized, thereby establishing a spatial coordinate reference. The reprojection error is the deviation between the pixel position calculated by the projection of the absolute control points and the pixel position actually identified in the image. The known spatial distribution constraint is the relative distance constraint.

[0012] Furthermore, all the constructed individual front models are traversed. For each individual front model, a supplementary shooting plane that is parallel to the individual front model and at a preset distance from the photovoltaic panel is calculated based on its centroid coordinates, normal vector and the corresponding standard length and standard width of the photovoltaic panel. On the reshoot plane, based on the field of view of the visible light camera and the preset overlap, a waypoint sequence covering the entire reshoot plane is generated in a serpentine path, and the waypoint sequences corresponding to all individual front models are combined to form the second flight path; the preset overlap is determined according to the requirement of ensuring the integrity of the back point cloud reconstruction. When the drone executes the second route, the drone gimbal keeps the camera optical axis in the same direction as the normal vector of the single front model, that is, perpendicular to the back of the photovoltaic panel, in order to obtain the visible light image sequence of the back.

[0013] Furthermore, generating the shell model specifically includes: Using the aforementioned visible light image sequence on the back side, and employing the same dense point cloud generation method as in step 1, the back side point cloud of each photovoltaic panel is generated independently. Using the constructed front model of the single unit as the registration reference, the geometric prior refers to the centroid coordinates, normal vector, and corner coordinates of the front model of the single unit; the back point cloud is registered to the back of the front model of the single unit; during the registration process, the standard thickness of the photovoltaic panel is used as a spatial constraint, and the deviation between the distance of the back point cloud to the plane where the back of the front model of the single unit is located and the standard thickness is used as a penalty term in the optimization term of the iterative nearest point algorithm, which constrains the back point cloud to translate along the normal vector direction of the front model of the single unit, while only performing rotation and shearing transformations within a preset threshold, and solving for the optimal spatial transformation so that the back point cloud is registered with the front model of the single unit under the spatial coordinate reference; Generate a shell model with complete front and back geometry. Specifically, perform Poisson surface reconstruction on the registered front and back point clouds to generate a shell model with complete front and back geometry.

[0014] Furthermore, the precise shooting pose is determined as follows: A joint bundle adjustment model was constructed. The variables to be optimized include the shooting poses of all visible light images, back visible light images, and infrared images, as well as the fixed relative rigid body transformation relationship between the visible light camera and the infrared camera. In the joint beam adjustment process, the pre-calibrated rigid body transformation relationship between the visible light camera and the infrared camera is added as a strong constraint to the optimization model. The main optimization objective is to minimize the shooting pose of the optimized visible light image and the reprojection error of the back visible light image. The shooting pose of each infrared image is jointly calculated and corrected, and the corrected shooting pose of each infrared image is used as the accurate shooting pose.

[0015] Furthermore, the precise positioning of the heat source of the photovoltaic panel specifically involves: Using the precise shooting pose of each infrared image and the intrinsic parameters of the infrared camera, each infrared image is projected onto the surface of the shell model one by one through perspective projection. For each facet on the shell model, all infrared images that can be captured on each facet are determined, the radiation value of the corresponding projection area on each infrared image is calculated, and the radiation value is weighted and fused using the angle between the optical axis of the infrared camera and the normal vector of the facet as the weight to generate an infrared radiation texture covering the front and back of the shell model. After generating infrared radiation texture, the shell model presents the radiation differences in different areas of each photovoltaic panel, thereby enabling precise location of the cell where the heat-generating fault point is located.

[0016] The present invention also provides a photovoltaic panel positioning and modeling device based on UAV image measurement. This device is used to implement the aforementioned photovoltaic panel positioning and modeling method based on UAV image measurement, and includes: The orthophoto and point cloud initial modeling module is used to acquire visible light and infrared images of the target area when executing the first flight path; based on the visible light images, the initial sparse 3D model is calculated and the shooting pose of each visible light image is obtained, and the dense point cloud of the target area is generated through the shooting pose; The single-unit front model extraction module is used to segment the masks of each photovoltaic panel from the visible light image, and extract the single-unit block point cloud corresponding to each photovoltaic panel from the dense point cloud by combining the shooting pose; perform plane fitting and regularization on the single-unit block point cloud to construct a single-unit front model representing each photovoltaic panel, and record its centroid coordinates and normal vector. The spatial coordinate reference establishment module is used to identify absolute control points from the initial sparse 3D model, and to perform global optimization on the initial sparse 3D model and shooting pose using the known spatial distribution of the absolute control points as constraints, thereby establishing a spatial coordinate reference. The back-side flight path planning module is used to plan a second flight path that can completely capture the back of each photovoltaic panel based on the centroid coordinates and normal vectors of all individual front models; and execute the second flight path to obtain a sequence of visible light images of the back side. The shell model generation module is used to independently reconstruct the back point cloud based on the back visible light image sequence. Under the spatial coordinate reference, with the geometric priors provided by the single front model and the known thickness of the photovoltaic panel as constraints, the back point cloud is registered with the corresponding single front model to generate a shell model with a complete geometric structure. The infrared image pose calculation and mapping module is used to incorporate the infrared image, visible light image and back visible light image sequence into the joint bundle adjustment. With the rigid body transformation relationship calibrated between the visible light camera and the infrared camera as a constraint, it calculates the precise shooting pose of each infrared image. Using the precise shooting pose, the radiation information of the infrared image is mapped to the shell model at the pixel level to achieve precise positioning of the photovoltaic panel heating point.

[0017] The technical effects and advantages provided by the present invention in the above technical solution are as follows: This invention acquires frontal images and establishes a single frontal model via a first flight path. Then, based on the centroid and normal vector, a second flight path is planned to independently acquire rear images. Using known plate thickness constraints, the rear point cloud is precisely registered with the front model, generating a complete shell model. This effectively overcomes the limitation of traditional oblique photography, which cannot reconstruct the rear due to support obstruction, significantly improving the geometric integrity of the model in the plate surface normal. Infrared images, frontal images, and visible light images from the rear are incorporated into joint bundle adjustment. Using pre-calibrated rigid body transformations between cameras as strong constraints, the shooting pose of each infrared image is accurately calculated, achieving pixel-level mapping of infrared radiation information onto the shell model. This eliminates texture shifts and ghosting caused by pose errors, achieving heat point positioning accuracy at the level of solar cells. Finally, fully utilizing the geometric prior of the regularly arranged pipe piles in the solar-fishery complementary scenario, global optimization is performed using the pile top center as the absolute control point and the known pile spacing as the distance constraint. This establishes a stable and reliable spatial coordinate benchmark, avoiding the impact of environmental interference such as water surface reflection on modeling accuracy. This invention enables high-precision modeling and spatial location of thermal faults for high-pile, large-angle photovoltaic panels without the need for additional ground control points or expensive sensors, providing reliable technical support for the automated and refined operation and maintenance of solar-fishery hybrid power plants. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the overall method flow of the present invention; Figure 2 This is a schematic diagram comparing the integrity and relative density of point clouds under different degrees of overlap in this invention; Figure 3 This is a schematic diagram of the device structure of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments.

[0020] It should be noted that, unless otherwise defined, the technical or scientific terms used in this invention should have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0021] Example: Please see Figures 1 to 2 The present invention provides a technical solution: A photovoltaic panel positioning modeling method based on UAV imagery measurement, comprising the following steps: Step 1: Acquire visible light and infrared images of the target area during the first flight path; calculate the initial sparse 3D model and the shooting pose of each visible light image based on the visible light images, and generate a dense point cloud of the target area through the shooting pose.

[0022] In this embodiment, by executing the first flight path, a visible light camera continuously acquires visible light images, and an infrared camera fixed to the visible light camera simultaneously and continuously acquires infrared images. The visible light camera and the infrared camera can be mounted on the same UAV platform, such as a hexacopter or multi-rotor UAV. The visible light camera is used to acquire high-resolution RGB (red, green, blue) color images of the target area, with a typical wavelength range of 0.4. Up to 0.7 The infrared camera is used to acquire mid-wave or long-wave infrared radiation information of the target area, and its band range is typically 3. Up to 5 Or 8 up to 14 It is used to detect the temperature distribution on the surface of photovoltaic panels.

[0023] The synchronous continuous acquisition refers to the process where, during the UAV's flight along the first flight path, the visible light camera and the infrared camera trigger their shutters simultaneously or within a very short time interval (e.g., a time synchronization error of less than 10 milliseconds) to obtain a pair of visible light and infrared images of the same target scene that are strictly aligned in time. This synchronization provides the foundation for the subsequent accurate mapping of infrared radiation information onto a 3D model.

[0024] The first flight path is an oblique photography flight path designed for the high-pile photovoltaic panel scene of the fishery-solar complementary power station, and its directional overlap and lateral overlap are not lower than the corresponding preset thresholds.

[0025] In this embodiment, the high-pile photovoltaic panel scenario of the fishery-solar hybrid power station has unique characteristics: the photovoltaic panel array is erected above the water surface by high piles, with water below the panels, allowing drones to fly safely above the water surface and between the photovoltaic panel arrays. This provides favorable conditions for designing inclined flight paths around each or each group of photovoltaic panels.

[0026] The oblique photography flight path refers to the flight path of the camera, which maintains a preset tilt angle (e.g., between 30 and 60 degrees) between its principal optical axis and the vertical direction (nadir direction), and flies around the target photovoltaic panel array area at a certain altitude. Compared to traditional vertical photography, oblique photography can effectively acquire geometric and textural information of the photovoltaic panel's side facade, support structure, and panel edges, which is crucial for subsequent reconstruction of a complete and accurate 3D model. Specifically, the flight path is designed as follows: the UAV flies around the central area of ​​the photovoltaic panel array at a constant altitude and speed, along one or more closed loops or zigzag paths. During the flight, the visible light camera and infrared camera simultaneously capture images at fixed time intervals or fixed flight distance intervals.

[0027] The forward overlap refers to the percentage of overlap between two adjacent images along the UAV's flight direction within the area of ​​a single image; the lateral overlap refers to the percentage of overlap between images taken along two adjacent parallel flight paths within the area of ​​a single image. The preset thresholds are set to ensure that the subsequent Structure of Motion (SFM) algorithm can robustly and completely solve the camera pose and sparse point cloud. Specifically, the preset threshold for forward overlap can be set to no less than 75%, and the preset threshold for lateral overlap can be set to no less than 65%. The SFM algorithm relies on extracting and matching a large number of stable feature points (such as SIFT feature points) from multi-view images. Sufficient forward and lateral overlap ensures that each 3D point is observed in at least three, ideally five or more, images, and that there is sufficient intersection angle between these viewing angles. This not only improves the robustness and quantity of feature matching but also significantly enhances the geometric accuracy and stability of camera pose calculation and 3D point coordinate triangulation. For photovoltaic panel scenarios with relatively regular structures but potentially repetitive textures, a high degree of overlap can effectively overcome mismatch problems and ensure the continuity and accuracy of the reconstructed model.

[0028] Based on the initial sparse 3D model calculated from visible light images and the shooting pose of each visible light image, a dense point cloud of the target area is generated by the shooting pose.

[0029] This process is specifically implemented using Structure for Motion Restoration (SFM) and multi-view stereo vision technology, and can be further subdivided into the following sub-steps: Feature extraction and matching: For all continuously acquired visible light images, scale-invariant feature transformation or accelerated robust feature extraction algorithms are used to extract scale- and rotation-invariant feature points and their feature description vectors from each image. Then, an approximate nearest neighbor search algorithm is used to match feature points between different images, establishing correspondences between corresponding points in the images. By combining random sampling consensus algorithm with epipolar geometry constraints, mismatched point pairs are eliminated, resulting in reliable sparse matching relationships.

[0030] Incremental Motion Recovery Structure: An incremental motion recovery process is employed. First, a pair of images with sufficient matching points and appropriate baseline length is selected as the initial image pair. The essential matrix is ​​estimated using a five-point or eight-point method, and then the initial shooting poses (i.e., the camera's position and orientation in 3D space) of the two images are obtained. The initial sparse 3D point cloud is then triangulated. Subsequently, new visible light images are iteratively added to the reconstruction process. The shooting pose of the newly added images is calculated using the Perspective-n-Point (PnP) algorithm, and more 3D points are triangulated. After each new image is added, global bundle adjustment is performed to minimize the sum of reprojection errors of all 3D points on all visible light images. This iterative optimization of all calculated camera shooting poses and sparse 3D point coordinates yields a globally consistent initial sparse 3D model and shooting poses for each visible light image.

[0031] Dense Point Cloud Generation: Using the precise shooting pose calculated in the previous two steps as input, multi-view stereo vision algorithms, such as patch-based matching or depth map fusion methods, are employed to estimate a depth map for each visible light image. Specifically, for each pixel in the reference image, the best matching point is searched along the epipolar line in several neighboring matching images, and its corresponding spatial depth value is calculated through triangulation. Subsequently, the depth maps of all images are globally fused and filtered to remove redundant and noise points, generating a high-density, high-precision 3D point cloud, i.e., generating a dense point cloud of the target area; this dense point cloud can finely depict the detailed geometry of the photovoltaic panel array, support structure, and surrounding environment.

[0032] Step 2: Segment the masks of each photovoltaic panel from the visible light image, and extract the point cloud of each individual panel corresponding to each photovoltaic panel from the dense point cloud based on the shooting pose; perform plane fitting and regularization on the point cloud of the individual panel to construct a single front model representing each photovoltaic panel, and record its centroid coordinates and normal vector.

[0033] In this embodiment, the visible light image is input into a pre-trained instance segmentation network to identify and segment each independent photovoltaic panel, and output the mask corresponding to each photovoltaic panel.

[0034] Visible light images refer to the original image sequence acquired by a visible light camera in step 1, used to generate the dense point cloud. The input to the instance segmentation network can be these original images or images after distortion correction. Preferably, to maintain consistency in geometric projection relationships, the same set of distortion-corrected images used in the Structure of Motion Restoration (SFM) solution is used as input.

[0035] The pre-trained instance segmentation model can employ a deep learning-based convolutional neural network architecture, such as Mask R-CNN, YOLACT, or SOLOv2. This network needs to be pre-trained using a labeled dataset containing a scenario of "high-pile photovoltaic panels in a fishery-solar hybrid power station."

[0036] In this embodiment, the pre-trained instance segmentation model is implemented using a complete, end-to-end deep convolutional neural network model. Its complete pre-training process includes three main stages: dataset construction, network structure design, and model training.

[0037] To train a model that can operate with high accuracy in this specific application scenario, a dedicated photovoltaic panel instance segmentation dataset with pixel-level annotations needs to be constructed. The dataset construction process specifically includes: Raw image acquisition: Using drones equipped with visible light cameras, typical photovoltaic panel arrays of multiple fish-solar hybrid power stations were photographed from multiple angles under different dates, lighting conditions (sunny, cloudy, overcast), and flight altitudes (e.g., 20 meters, 30 meters, 40 meters), acquiring a large amount of raw visible light images. This step ensured the diversity and complexity of data sources, covering various imaging states that might occur in actual operations.

[0038] Data filtering and cleaning: From the acquired raw images, invalid images that are severely blurry, overexposed, underexposed, or severely obstructed are removed. Images that contain complete photovoltaic panels, have clear boundaries, and have obvious gaps between the panels are preferred to ensure labeling quality.

[0039] Based on the shooting pose, the mask corresponding to each photovoltaic panel is projected onto the dense point cloud, and the individual panel point cloud belonging to each photovoltaic panel is extracted.

[0040] Pixel-level instance annotation: Using professional annotation tools (such as Labelme, CVAT), annotators delineate the visible area of ​​each individual photovoltaic panel on each selected image, depicting the precise boundaries of the panel. Each panel is assigned a unique instance identifier (ID, such as 1, 2, 3…), and all areas outside the panel (such as water surface, pipe piles, supports, and sky) are uniformly identified as background (ID=0). After annotation, an instance-level label map with the same resolution as the original image is generated.

[0041] Dataset partitioning and augmentation: The labeled dataset is randomly divided into training, validation, and test sets in a certain ratio (e.g., 8:1:1). To expand the amount of training data and improve the model's generalization ability, online data augmentation is applied simultaneously to the training set images and their corresponding label images. Augmentation strategies include: random horizontal / vertical flipping, random rotation (±15 degrees), random scaling (0.8 to 1.2 times), random brightness / contrast / saturation jitter, and random Gaussian noise injection.

[0042] Network architecture design phase: This embodiment preferably uses the classic and stable Mask R-CNN as the basic network architecture for instance segmentation. This network model consists of the following three core modules / layers, which work in sequence according to feature extraction, region proposal, classification, regression, and mask prediction. Specifically: Backbone Feature Extraction Network: This module is responsible for extracting hierarchical visual features from a single input visible light image. This embodiment uses ResNet-101 (a residual convolutional neural network with 101 layers) as the backbone network and integrates a Feature Pyramid Network (FPN). ResNet-101 extracts feature maps layer by layer, from low-level edge textures to high-level semantic information, through its internal convolutional layers, batch normalization layers, ReLU activation function layers, and residual connection blocks. The Feature Pyramid Network then fuses the multi-scale feature maps with varying spatial resolutions output from different stages of the backbone network to generate a set of feature map pyramids with stronger feature representation capabilities and different scales, used for detecting photovoltaic panel instances of different sizes.

[0043] Region Proposal Network: This module takes feature maps output by the Feature Pyramid Network as input. The Region Proposal Network slides a small convolutional network across these feature maps, generating multiple anchor boxes of a preset size and aspect ratio at each sliding window location. The network outputs two branches in parallel: one branch uses a classification layer to determine whether each anchor box contains the target object (i.e., distinguishing between foreground and background); the other branch uses a regression layer to predict the coordinate offset of each anchor box relative to its preset shape. Finally, a non-maximum suppression algorithm selects a fixed number of proposed regions, i.e., regions of interest, that are most likely to contain photovoltaic panel instances.

[0044] The three-branch prediction head takes as input a feature map generated by the backbone feature extraction network and proposed regions generated by the region proposal network. Through the ROI Align operation, proposed regions of varying shapes and sizes are mapped onto the feature map and pooled into a fixed-size feature map. This fixed-size feature map is then fed into three parallel fully convolutional branches: Classification branch: Predict the specific category to which the current proposed area belongs (in this embodiment, it is only the photovoltaic panel category, plus the background category).

[0045] Bounding box regression branch: Perform further fine regression on the bounding box coordinates of the current proposed region to obtain the final detection box.

[0046] The mask prediction branch consists of a small fully convolutional network that predicts a fixed-size binary mask output map corresponding to the detection box region for each photovoltaic panel instance; this is the mask itself. The modules are interconnected as follows: after the original image's features are extracted by the backbone feature extraction network, the feature pyramid network performs multi-scale fusion; the fused feature map is simultaneously provided to the region proposal network and the three-branch prediction head. The region proposal network uses these features to generate high-quality candidate regions, which are then accurately classified, located, and segmented at the pixel level by the three-branch prediction head.

[0047] Model training phase: The network is trained under supervised supervision using the pre-constructed dataset. The training process employs a combined multi-task loss function. To optimize all modules, the formula is: in, The classification loss is calculated using the cross-entropy loss function. The bounding box regression loss is calculated using the smooth L1 loss function. The mask prediction loss is applied (a binary cross-entropy loss function is applied to each pixel). The model iteratively updates the network weight parameters on the training set using backpropagation and a stochastic gradient descent optimizer. On the validation set, metrics such as total loss and mean average precision (mAP) are monitored until the model converges. Finally, the model weights that perform best on the validation set are selected as the pre-trained instance segmentation network.

[0048] The specific implementation method of this projection extraction process is as follows: First, for each 3D point coordinate in the dense point cloud generated in step 1 Using the known intrinsic parameter matrix K of the visible light camera and the corresponding shooting pose (rotation matrix) of the image, Translation vector Project it onto one or more visible light images and calculate its pixel coordinates. ;in, These represent the X-axis, Y-axis, and Z-axis coordinates of the 3D point in a predefined world coordinate system (usually a geographic reference coordinate system or the absolute spatial coordinate datum established in step 3); the projection transformation formula is: Where S is the scale factor and K is the camera intrinsic parameter matrix, including the focal length. and principal point coordinates , The extrinsic parameter matrix is ​​3×4. These are the homogeneous coordinates of the two-dimensional image points in the projected pixel coordinate system. Represents a three-dimensional point in the world coordinate system Homogeneous coordinate representation, It represents the equivalent focal length, expressed in pixels, along the x and y axes of the image.

[0049] Then, determine the pixel coordinates after projection. Check whether it is located within the valid image boundary and examine the instance label value corresponding to the pixel in the mask output by the instance segmentation network.

[0050] If the projection of a point falls within the mask region of the same photovoltaic panel on at least three images, the 3D point is determined to belong to that photovoltaic panel instance and is included in the point cloud of the corresponding single panel. Since both point cloud reconstruction and mask segmentation have certain edge errors, projection determination from a single viewpoint may be ambiguous and random. By using a multi-view consistency voting mechanism (requiring that the point be simultaneously identified as belonging to the same photovoltaic panel on at least three different viewpoints), misclassified points caused by occlusion, projection deviation, and segmentation edge jitter can be effectively filtered out, ensuring that the extracted single panel point cloud has high purity and completeness.

[0051] The plane fitting and regularization specifically includes: iteratively processing the point cloud of each photovoltaic panel using a random sampling consensus algorithm, with the optimization objective of maximizing the number of interior points. During the iteration process, support point clouds and edge flying points are automatically removed, and finally, the spatial plane with the largest number of interior points is taken as the optimal spatial plane representing the photovoltaic panel surface. Specific implementation details are as follows: For each extracted single-unit point cloud, robust plane fitting is performed.

[0052] Iterative plane fitting is performed using the Random Sample Consensus (RANSAC) algorithm; the number of iterations k can be automatically determined according to the following formula: in, The expected success probability is usually set to 0.99; The proportion of inliers in the dataset can be represented by an initial estimate or an iteratively updated value. To determine the minimum number of data points required to fit a planar model, for a three-dimensional plane, In each iteration, three non-collinear points are randomly selected to calculate a planar model (defined by the normal vector n=(a,b,c) and the distance d from the plane to the origin, i.e.) In this equation, a, b, and c constitute the three components of the plane's normal vector n = (a, b, c), and x, y, and z represent the coordinate variables of any spatial point (x, y, z) on the plane. This normal vector is perpendicular to the plane. Then, the distances from the remaining points in the point cloud to the plane model are calculated. Points with distances less than a preset distance threshold are marked as interior points, and the rest as exterior points.

[0053] The preset distance threshold is used to determine whether a point belongs to the currently assumed plane. The value of this parameter should be determined by comprehensively considering the reconstruction accuracy of the dense point cloud and the flatness of the photovoltaic panel surface. Typically, the photovoltaic panel surface has high glass flatness, and the reconstruction accuracy of the dense point cloud can reach centimeter or millimeter level (depending on flight altitude and image resolution). Considering the local protrusions caused by the support connectors and point cloud noise, the preset distance threshold can be set to 0.02 meters to 0.05 meters (i.e., 2 cm to 5 cm). For example, if the UAV flies at an altitude of 30 meters, the ground sampling distance is approximately 0.8 cm, and the theoretical accuracy of the dense point cloud is approximately 1-2 cm, taking 3 times the mean square error as the threshold, the preset distance threshold can be 0.05 meters. This value can effectively eliminate support connector points and flying points while maximizing the retention of effective points on the panel surface, ensuring the representativeness and accuracy of the fitted plane.

[0054] Record the set of interior points and the number of interior points obtained in each iteration. After k iterations, select the plane model with the largest number of interior points as the optimal spatial plane.

[0055] Using the set of interior points of the optimal spatial plane as the final effective point set can effectively and automatically eliminate scaffold point clouds and edge flying points, because these points are usually deviated from the mainstream plane and will be naturally classified as external points and excluded during the RANSAC iteration process.

[0056] Based on the normal vector and centroid of the optimal spatial plane, and according to the known standard length and standard width of the corresponding photovoltaic panel, the optimal spatial plane is regularized into a standard spatial rectangle, which is used as the single front model of the corresponding photovoltaic panel. The corner coordinates, centroid coordinates, and normal vector of the spatial rectangle are recorded, which are the centroid coordinates and normal vector of the single front model. The normal vector points to the side of the photovoltaic panel facing the drone, which is called the front of the single front model, and the side away from the normal vector is called the back.

[0057] The core of this regularization step is to use the rigidity and regular geometric priors of the photovoltaic panel to constrain and correct the model extracted from the point cloud, making its geometry more accurate. The specific process is as follows: The first step is to calculate the centroid of the optimal spatial plane. Center of mass This represents the average coordinates of all interior points in three-dimensional space.

[0058] The second step is to determine the direction of the normal vector of the optimal spatial plane, denoted as . To ensure the consistency of the normal vector, its direction needs to be determined. In this embodiment, the mean point of the shooting position of each visible light image is denoted as... Calculate vector If the normal vector The dot product with vector V is negative, that is... Then the normal vector is inverted, that is for This process ensures that the normal vector points to the side of the photovoltaic panel facing the drone, which is the front side captured by the camera.

[0059] The third step is to establish a local two-dimensional coordinate system on the optimal spatial plane. Any vector on the plane that is not collinear with the normal vector is chosen as the temporary x-axis direction. For example, the projection component of the world coordinate system's X-axis (1,0,0) onto the plane is selected. If the magnitude of this component is less than a preset threshold (i.e., the world X-axis is nearly perpendicular to the plane), then the Y-axis (0,1,0) is used for calculation. Through orthogonalization, two orthogonal and normalized local coordinate axis vectors u and v are obtained on the plane.

[0060] The fourth step is to perform rectangular regularization. Obtain the known standard length L and standard width W of this type of photovoltaic panel. This data can be obtained from the photovoltaic panel's product specifications or design drawings, pre-entered into the system database, and configured according to the actual photovoltaic panel model being inspected. For example, a common photovoltaic panel model has a standard length of 1.956m and a standard width of 0.992m.

[0061] With center of mass Centered on the coordinates of the four corner points, we calculate the coordinates by extending distances L / 2 and W / 2 along the positive and negative directions of the local coordinate axes u and v, respectively. in, , , , These represent the three-dimensional spatial coordinates of the four vertices that form the standard spatial rectangle of the single-unit front model after regularization. These four corner points are connected in sequence to form a standard spatial rectangle, which is the single-unit front model of the photovoltaic panel.

[0062] Record the coordinates of the four corner points P1, P2, P3, P4 and the centroid coordinates of the spatial rectangle. and normal vector These parameters serve as the complete geometric description parameters for the frontal model of the single unit. The centroid coordinates are the centroid coordinates of the frontal model of the single unit, and the normal vector is the normal vector of the frontal model of the single unit. This normal vector clearly distinguishes the front (the side where the normal vector points) and the back (the side where the normal vector does not point) of the photovoltaic panel.

[0063] Step 3: Identify absolute control points from the initial sparse 3D model, and use the known spatial distribution of the absolute control points as constraints to perform global optimization on the initial sparse 3D model and shooting pose, and establish a spatial coordinate reference.

[0064] In this embodiment, in the initial sparse three-dimensional model, the pipe pile structure set on the water surface in the solar-fishery hybrid power station in the target area is identified by color and geometric features. The point cloud sheet at the top of each pipe pile is extracted, and the point cloud sheet is fitted with a spatial circle to solve the three-dimensional coordinates of the circle center on the top surface of the pipe pile, which is used as the absolute control point.

[0065] This step is based on the initial sparse 3D model generated in step 1. This initial sparse 3D model is generated by the Structure of Motion (SFM) algorithm, and its coordinate system is an arbitrary, scaleless, and geographically unoriented local photogrammetric coordinate system. To unify subsequent modeling, positioning, and measurement under a spatial coordinate reference with real physical meaning, it is necessary to establish a precise transformation relationship between this local coordinate system and the real-world coordinate system. This scheme utilizes the stable and spatially distributed pipe pile structure in the environment of the solar-aquaculture hybrid power station to provide this constraint, avoiding the tediousness and difficulty of setting up and measuring artificial ground control points on the water surface.

[0066] The aforementioned pipe pile structure refers to rows of precast concrete or steel pipe piles that support the photovoltaic panels high above the water surface in a solar-aquaculture hybrid power station. These piles typically protrude a certain height above the water (e.g., 2 to 5 meters), arranged in a regular matrix, with their tops usually having a flat, circular or near-circular cross-section. These pipe piles are fixed in position and have distinct characteristics, serving as natural and ideal absolute control point markers.

[0067] Specific implementation methods for recognition using color and geometric features include: First, color threshold segmentation: Since pipe piles are typically grayish-white concrete or dark gray steel, while the surrounding water surface is green or blue-green, the two differ significantly in the RGB or HSV color space. A color threshold range can be set to initially segment the point cloud candidate regions belonging to the pipe pile. For example, in the HSV space, a threshold range for hue (H) can be set to exclude the blue-green hues of the water, and thresholds for saturation (S) and lightness (V) can be set to distinguish the highlight reflections from the water surface from the pipe pile itself.

[0068] Second, geometric shape screening: Connectivity analysis is performed on the candidate point clouds after color segmentation to calculate the geometric properties of each connected component, including height range, cylindricity, and aspect ratio. The top of photovoltaic panel piles typically exhibits a significant elevation abrupt change: on the Z-coordinate distributed along the vertical direction, the point cloud at the top of the pile forms a local elevation maxima region, with no other points above this region. By analyzing the histogram of the point cloud distribution in the vertical direction, these protruding columnar structures can be detected.

[0069] Third, elevation constraint extraction: After detecting the approximate location of the pipe pile, for each candidate area of ​​the pipe pile, the point cloud within a preset height threshold range (e.g., 0.1 meters to 0.3 meters) below its highest point is taken as the point cloud patch at the top of the pipe pile. The setting of this height range depends on the flatness of the top surface of the pipe pile and the reconstruction noise level of the point cloud. Usually, 0.15 meters can completely include the top cover plate or top surface of the pipe pile, while excluding most of the interference points on the side of the pile body.

[0070] The specific steps for spatial circle fitting are as follows: Suppose that the extracted point cloud of the top of the pipe pile contains Q three-dimensional points, and the coordinates of the q-th point are denoted as . q is the index of a three-dimensional point. These represent the X, Y, and Z coordinates of the q-th point in the point cloud within the local photogrammetric coordinate system of the initial sparse 3D model, respectively. A spatial circle is defined as the intersection of a sphere and a plane in 3D space. Therefore, spatial circle fitting requires simultaneously solving the equations of the spatial plane and the center and radius of the spatial circle.

[0071] First, the Random Sample Consensus (RANSAC) algorithm is used to fit the spatial plane of the point cloud patch to obtain the equation of the spatial plane containing the top surface of the pipe pile, and its unit normal vector is denoted as . And calculate the projected coordinates of these points on the plane; where They represent the unit normal vectors respectively. The component along the X-axis in the local photogrammetric coordinate system.

[0072] Then, on the fitted plane, the three-dimensional projection points are converted into two-dimensional coordinates, and a two-dimensional circle is fitted. The equation of the two-dimensional circle is... Where (a, b) are the two-dimensional coordinates of the center of the circle in the local planar coordinate system. Let be the radius of the circle. By iteratively solving using the least squares method, the sum of the squared distances from all projected points to the circumference can be minimized to obtain the center parameters (a, b).

[0073] Finally, by recalculating the local two-dimensional center coordinates (a, b) back to three-dimensional space using planar parameters, the three-dimensional coordinates of the top surface center of the pipe pile in the initial sparse three-dimensional model coordinate system can be obtained, denoted as . This is what is referred to as the absolute control point. One absolute control point can be extracted from each pipe pile, ultimately resulting in a set of absolute control points. ;in, Let represent the three-dimensional coordinate vector of the j-th absolute control point in the local photogrammetric coordinate system of the initial sparse 3D model. Let X, Y, and Z represent the X, Y, and Z coordinates of the j-th absolute control point, respectively, where j is the index of the absolute control point and N is the number of absolute control points.

[0074] In this embodiment, establishing the spatial coordinate reference specifically includes: Using absolute control points as observations and the known pile distances between adjacent pipe piles determined by the regular arrangement of the pipe piles as relative distance constraints, bundle adjustment is performed together. By minimizing the reprojection error of the absolute control points and constraining the distance between the absolute control points of adjacent pipe piles after optimization to be equal to the known pile distance, the shooting pose of the initial sparse 3D model and the visible light image is optimized, thereby establishing a spatial coordinate reference. The reprojection error is the deviation between the pixel position calculated by the projection of the absolute control points and the pixel position actually identified in the image. The known spatial distribution constraint is the relative distance constraint.

[0075] The core of this step is to integrate the image observations of absolute control points and the known distance constraints between pipe piles into the optimization framework of bundle adjustment, so as to achieve global joint optimization with absolute scale and relative spatial constraints. The specific implementation process is described below: Construct the objective function of the global optimization model; let the parameter vector to be optimized be... It includes: The coordinates of all 3D points in the initial sparse 3D model (excluding absolute control points, but including subsequently included feature points); The shooting pose (extrinsic parameter) of all visible light images, i.e., the rotation matrix corresponding to each image i. Translation vector , where i represents the index of the visible light image. This represents the rotation matrix of the i-th visible light image. Represents the translation vector of the i-th visible light image; The global similarity transformation parameters of the initial sparse 3D model include a scale factor (used to scale the length units of the local photogrammetric coordinate system to the true physical size, such as meters) and a 3×3 rotation matrix. (Used to rotate the coordinate axes of the local coordinate system to align with the real-world coordinate system) and a translation vector. (Used to translate the origin of the local coordinate system to the origin of the real-world coordinate system), this set of parameters can be used to transform local coordinates to an absolute geographic coordinate system or an engineering-independent coordinate system.

[0076] Optimization of the overall objective function Defined as the weighted sum of squares of all error terms: in, These are the weighting coefficients for each error.

[0077] The method for determining the weighting coefficients is as follows: The weights for the image feature point reprojection error term are usually normalized to 1 and used as the baseline weights. This is the weight of the reprojection error term for the absolute control points. Because these are high-confidence points identified and fitted manually, their positioning accuracy is higher than that of general feature points. This weight is used to emphasize their anchoring effect on the absolute benchmark. It can be set to a value between 5 and 10, and preferably to 8. The weight of the distance constraint error term applies high-precision prior geometric knowledge (the pile distance is determined by construction drawings or precise on-site measurements, with accuracy down to the millimeter level). It is crucial for restoring the absolute scale of the model and constraining the overall geometric deformation; therefore, its weight should be increased accordingly. It can be set to a value between 10 and 20, preferably 15. By giving higher weight to high-precision control information and prior geometric constraints, the optimization process is strongly guided to the true position of the control points and to satisfy the known spatial distance relationship while pursuing image reprojection consistency (minimizing feature point reprojection error). This prevents the optimization from getting trapped in local minima or causing overall deformation. The final coordinate reference has both high internal precision and absolute external accuracy.

[0078] The specific definitions of each error term are as follows: Image feature point reprojection error term : in, It is the actual observed pixel coordinate of the s-th sparse 3D feature point on the i-th visible light image; It is a perspective projection function, utilizing the intrinsic parameter matrix K of the visible light camera and , 3D points Projected onto the image plane; Here, is the Huber robust loss function, used to reduce the impact of outliers with large errors. I represents the total number of visible light images acquired and subjected to aerial triangulation in step 1, and s is the index of the 3D feature points. Let be the number of all three-dimensional feature points that can be projected onto the visible light image i. Let represent the 3D coordinate vector of the s-th 3D feature point in the local photogrammetric coordinate system of the initial sparse 3D model.

[0079] Absolute control point reprojection error term : in, This is the set of indices of all visible light images that can be observed at the j-th absolute control point. Let be the coordinates of the absolute control point extracted from the top center of the j-th pipe pile in the local coordinate system; This refers to the set of all visible light images that can be observed on the top surface of the j-th pipe pile during the aerial triangulation and image matching process in step 1. To determine the pixel coordinates of the top center of the pipe pile (identified through manual interaction or automatic template matching) on ​​the i-th image where pipe pile j can be observed, where J is the absolute control point index. The following method is used to determine the visibility conditions: using the shooting pose and three-dimensional coordinates of the pipe pile calculated in step 1, all images that meet the visibility conditions are selected through visibility analysis (including whether the projection falls within the effective range of the image and whether the angle between the normal vector and the line of sight is within the preset threshold).

[0080] Distance constraint error term : Where D is the set of indices of all adjacent pipe pile pairs, and an adjacent pipe pile pair is defined as two pipe piles that are directly adjacent in the row or column direction of the pipe pile arrangement. The known pile spacing is the design distance between the centers of adjacent pipe piles, determined by the regular arrangement of the pipe piles. This represents an index tuple for an adjacent pair of pipe piles. and These are the absolute control point indices corresponding to the two pipe piles in the pipe pile pair; and They are respectively and The three-dimensional coordinate vector. For example, in a typical solar-aquaculture hybrid power station, this known pile spacing is usually 4 meters or 6 meters, a parameter that can be accurately obtained from the power station's as-built drawings or design CAD files. This error term mandates that the Euclidean distance between any pair of absolute control points of adjacent pipe piles in the optimized model must be equal to the known physical pile spacing.

[0081] Nonlinear least squares optimization solution: The Levenberg-Marquardt algorithm or the Gauss-Newton algorithm is used to solve the above overall objective function. Perform iterative minimization. In each iteration, calculate the Jacobian matrix and error vector, solve the normal equation to obtain the parameter update, until convergence. The convergence condition can be set as either the parameter update being less than a set threshold or the decrease in the objective function value being less than a set threshold. After optimization, the following can be obtained: A sparse 3D model refined under absolute scale and spatial constraints; The precise shooting pose (including rotation matrix) of each visible light image under the spatial coordinate reference. Translation vector ); Transformation parameters from local coordinate system to real-world coordinate system .

[0082] Step 4: Based on the centroid coordinates and normal vectors of all individual front models, plan a second flight path that can completely capture the back of each photovoltaic panel; execute the second flight path to obtain a sequence of visible light images of the back.

[0083] In this embodiment, the geometric description parameters of the generated individual front model of each photovoltaic panel are obtained, including centroid coordinates, normal vector, standard length, and standard width; traversing all the constructed individual front models is to traverse these geometric description parameters.

[0084] For each individual front-facing model, a supplementary shooting plane is calculated based on its centroid coordinates, normal vector, and the corresponding standard length and width of the photovoltaic panel. This supplementary shooting plane is parallel to the model and located at a predetermined distance from the photovoltaic panel surface. The supplementary shooting plane is a virtual waypoint planning reference plane, defined as follows: the spatial plane containing the individual front-facing model is translated a predetermined distance along the negative direction of its normal vector (i.e., the direction pointing towards the back of the photovoltaic panel). The supplementary shooting plane is completely parallel to the individual front-facing model, and its area is equal to the size of the photovoltaic panel surface. The drone will plan shooting waypoints on this supplementary shooting plane, ensuring the camera's optical axis is perpendicular to the plane, and aiming at the back of the photovoltaic panel for shooting.

[0085] The method for determining the preset distance is as follows: Let the sensor size of the visible light camera be... (Width × Height, in millimeters), lens focal length is f (in millimeters). To ensure that a single image completely covers the back of a single photovoltaic panel, the image size of the photovoltaic panel on the image plane must be smaller than the sensor size. Considering that the photovoltaic panel is a standard rectangle, its long side... The image should be fully captured within the sensor; where 'o' is the photovoltaic panel index. Let represent the length of the longer side of the o-th photovoltaic panel. Based on the principle of similar triangles, what is the minimum shooting distance to satisfy the condition of complete coverage? Should meet: in, This refers to the dimension of the sensor's imaging area along the long side of the photovoltaic panel. If the camera's optical axis is perpendicular to the photovoltaic panel, the long side of the photovoltaic panel is usually aligned with the long side of the sensor during image composition. The value is the width of the sensor. or height One of the larger ones. For example, a visible light camera sensor has dimensions of 35.9mm × 24mm and a focal length of 35mm, while the standard length of a photovoltaic panel is... Standard width .but The corresponding sensor size is 35.9. The calculation yields: To retain a certain safety margin, avoid missing edge shots, and adapt to flight positioning errors, the preset distance... A redundancy can be added to the calculated minimum distance. This redundancy can be 10% to 30% of the minimum distance. For example, in the above example, adding a 25% redundancy... While a too-close shooting distance can improve image resolution, it can easily lead to the edges of the solar panel being cropped out of the image due to drone positioning errors or wobbling. Conversely, a too-close distance will reduce the number of pixels the solar panel occupies in the image, lowering the resolution of details on the back side and affecting the accuracy of subsequent point cloud reconstruction. By setting a redundancy of 10% to 30%, a balance can be achieved between coverage integrity and resolution.

[0086] On the reshoot plane, based on the field of view of the visible light camera and the preset overlap, a waypoint sequence covering the entire reshoot plane is generated in a serpentine path, and the waypoint sequences corresponding to all individual front models are combined to form the second flight path; the preset overlap is determined according to the requirement of ensuring the integrity of the back point cloud reconstruction.

[0087] The field of view of the visible light camera can be calculated using the sensor size and lens focal length; let the field of view be in the horizontal and vertical directions of the sensor, respectively. and The calculation formula is as follows: in, This represents the maximum angle formed by the camera's optical axis and the horizontal width edge of the sensor. This represents the maximum angle formed by the camera's optical axis and the edge of the sensor's vertical height.

[0088] Based on the field of view and the dimensions of the re-shooting plane, the ground area covered by a single image on the re-shooting plane can be calculated. Let the distance between the UAV and the re-shooting plane be... At this location, the camera's optical axis is perpendicular to the reshoot plane. The width of the area covered by a single image. and height for: Because the task of photographing the back of a single photovoltaic panel requires extremely high-fidelity 3D reconstruction, the images must maintain sufficient overlap. The preset overlap includes lateral overlap. and lateral overlap In the specific scenario of reshooting the back of a photovoltaic panel, the overlap value should be set relatively high to ensure the integrity of the point cloud reconstruction on the back side. (Front-end overlap value) and lateral overlap All overlaps can be set to no less than 80%. This setting is because the back of photovoltaic panels typically has weak texture, and common dark or white back panels lack abundant feature points. If the overlap is too low, the feature matching failure rate will increase significantly, leading to point cloud holes and model incompleteness. Using a high overlap of 80% or more ensures that each spatial point forms redundant observations in multiple images. Even if some weak texture areas fail to match, reconstruction can still be completed through the matching chain of neighboring images.

[0089] The specific method for generating a waypoint sequence along a serpentine path on the aforementioned reshoot plane is as follows: Starting from a corner point of the reshoot plane, the plane is divided into a regular grid. The row spacing of the grid... and column spacing Calculated based on preset overlap: Starting from the starting point, waypoints are generated sequentially along the first row, with a spacing of [missing information]. After completing the first row, move along the column direction. Starting from the second row, the second row of waypoints is generated sequentially in reverse order, and this process is repeated to form a serpentine return path until the grid covers the entire reshoot plane. Each waypoint records its three-dimensional coordinates in the spatial coordinate reference, as well as the camera's orientation at that waypoint (i.e., the negative direction of the normal vector).

[0090] All waypoint sequences corresponding to the photovoltaic panels are sorted and connected according to the shortest path principle. Transition waypoints are inserted between adjacent photovoltaic panels to connect all reshoot points with a smooth flight path, forming a complete second flight path. The altitude of the transition waypoints should be set higher than the photovoltaic panel supports and surrounding obstacles to ensure flight safety.

[0091] During this process, the UAV can be equipped with an RTK (Real-Time Kinematics) module or utilize a visual positioning system to autonomously fly according to the planned second waypoint sequence and a preset speed. Upon reaching each waypoint, the UAV hovers, and the gimbal automatically adjusts its pitch and azimuth angles to ensure that the camera's optical axis is aligned with the normal vector of the individual frontal model, i.e., the optical axis is perpendicular to the back of the photovoltaic panel. By controlling the camera to trigger the shutter at equal time intervals or equal flight distance intervals, a complete sequence of visible light images of the back side is acquired. This sequence provides a high-resolution, high-overlapping multi-view image set for the back of each photovoltaic panel, providing qualified data input for the independent reconstruction of the back point cloud in the subsequent step 5.

[0092] This embodiment focuses on a standard photovoltaic panel (1.956m long × 0.992m wide) installed at a height of 3.5 meters and a tilt angle of 25° in a typical solar-aquaculture hybrid power station. A comparative experiment was conducted on the acquisition of back-side images and point cloud reconstruction under different overlap parameters. During the experiment, the UAV flight altitude, camera field of view, and lighting conditions were kept relatively consistent. Thirty different combinations of parameters, ranging from 60% to 95% for both forward and lateral overlap, were set. The dense point cloud generation method described in step 5 of this invention was used to independently reconstruct the back-side point cloud of each photovoltaic panel, and the point cloud integrity, relative density, and relative model accuracy were quantitatively evaluated. Specific experimental data are shown in the table below. Table 1: Example Table of Simulation Data for Point Cloud Reconstruction on the Back Side of a Photovoltaic Panel According to Table 1 above and Figure 2As shown, the point cloud completeness increases monotonically with the increase of overlap: when the overlap in both the heading and lateral directions is 60% (number 1), the completeness is only 62.5%, and there are a large number of holes and missing areas in the point cloud, which is difficult to support the subsequent generation of the shell model; when the overlap increases to 70% to 75% (numbers 12 to 14), the completeness jumps rapidly to 82% to 87%; and when the overlap reaches 80% and above (numbers 20 to 30), the completeness is stably maintained above 97%, and approaches 100% after the overlap exceeds 85%, indicating that the geometric structure on the back of the photovoltaic panel has been completely reconstructed at this time, with no obvious voids remaining.

[0093] In the low overlap range (60%–70%), the relative density is significantly higher than the baseline value of 1, reaching 1.09–1.22. This phenomenon does not indicate richer point cloud information; rather, it reflects insufficient confidence in feature matching between images under low overlap conditions. The algorithm incorrectly includes a large number of mismatched noise points and stator edge flying points in the reconstruction results, resulting in artificially high point cloud values. As the overlap increases to over 75%, the relative density gradually converges to around 1, indicating that the matching results tend to be stable and accurate. However, when the overlap exceeds 90%, the relative density is slightly lower than 1. This is because the data redundancy caused by extremely high overlap produces a certain degree of smoothing effect during Poisson surface reconstruction, but the impact of this effect on the overall accuracy of the model is negligible.

[0094] like Figure 2 As shown, within the recommended area, the point cloud integrity exceeds 97%, the relative density returns to a reasonable range (0.99–1.01), and the model's relative accuracy is better than 2.5 mm. This also verifies the necessity and superiority of the high overlap (not less than 80%) second route planning strategy proposed in this embodiment; by increasing the overlap between images, not only is the feature matching robustness of texture-deficient areas enhanced and mismatch noise effectively suppressed, but the geometric integrity and positioning accuracy of the backside point cloud are also significantly improved.

[0095] Step 5: Reconstruct the back point cloud independently based on the back visible light image sequence. Under the spatial coordinate reference, with the geometric priors provided by the single front model and the known photovoltaic panel thickness as constraints, register the back point cloud with the corresponding single front model to generate a shell model with complete geometric structure.

[0096] In this embodiment, generating the shell model specifically includes: Using the aforementioned visible light image sequence on the back side, and employing the same dense point cloud generation method as in step 1, the back side point cloud of each photovoltaic panel is generated independently.

[0097] Using the constructed front model of the single unit as the registration reference, the geometric prior refers to the centroid coordinates, normal vector, and corner coordinates of the front model of the single unit; the back point cloud is registered to the back of the front model of the single unit; during the registration process, the standard thickness of the photovoltaic panel is used as a spatial constraint, and the deviation between the distance of the back point cloud to the plane where the back of the front model of the single unit is located and the standard thickness is used as a penalty term in the optimization term of the iterative nearest point algorithm, which constrains the back point cloud to translate along the normal vector direction of the front model of the single unit, while only performing rotation and shearing transformations within a preset threshold, and solving for the optimal spatial transformation so that the back point cloud is registered with the front model of the single unit under the spatial coordinate reference.

[0098] This registration step is crucial for transforming the independently reconstructed back-side point cloud from the local coordinate system to the unified spatial coordinate reference established in step 3. Instead of conventional unconstrained rigid body registration, it fully utilizes the known geometric properties of the photovoltaic panel: the precise pose of the front-side model and the standard thickness of the photovoltaic panel. These serve as strong priors to guide the registration process, ensuring accurate and robust registration results even when there are no direct connection points between the back-side point cloud and the front-side model. The specific registration process is as follows: From the single-unit frontal model constructed in step 2, extract its geometric prior information as a registration reference: centroid coordinates, normal vector (pointing towards the front side), and coordinates of the four corner points. The normal vector of the spatial plane containing the single-unit frontal model is the normal vector of the single-unit frontal model; the back side of this spatial plane, i.e., the plane translated along the negative direction of the normal vector by a standard thickness of the photovoltaic panel, represents the expected spatial plane position of the back side of the photovoltaic panel calculated based on the geometric prior. The standard thickness refers to the overall thickness of the photovoltaic panel module (including glass, cells, and backsheet, etc.), which can be obtained from the photovoltaic panel's product specifications. For example, the standard thickness of a common double-glass photovoltaic module is 7.5mm, and the overall thickness including the frame is approximately 40mm to 50mm. The value of the standard thickness of the photovoltaic panel should be retrieved from the database according to the actual photovoltaic panel model inspected.

[0099] Constructing a constrained iterative nearest-point registration model: Let the independently reconstructed back face point clouds be point sets. Where m is the index of the 3D point and M is the number of 3D points. The goal is to transform the point set... Through spatial transformation Align to the back side of the single-piece front model, spatial transformation It can be decomposed into a rotational component. A translation component And an isotropic scaling factor introduced to compensate for possible small-scale drift. The transformation form is: Where q is the index of the three-dimensional point.

[0100] The objective function for optimization is defined as the weighted sum of the three errors. : in, This is the point-to-plane distance error term for traditional ICP; This is a penalty item for photovoltaic panel thickness constraints; This is a regularization constraint term used to restrict the degrees of freedom of the transformation; and These are the corresponding weighting coefficients.

[0101] The specific definitions of each error term are as follows: Point-to-plane distance error term : For each point in the back-side point cloud , Distance on the frontal model of a single unit The point whose position is closest after the transformation; for The normal vector at that location (in the frontal model, for a planar region, That is, the normal vector of the single frontal model, pointing to the front side); h is the index of the corresponding point pair established during the registration process, and H is the number of valid corresponding point pairs successfully established between the back point cloud and the single frontal model in the current iteration step; this error term drives the back point cloud to be close to the plane where the single frontal model is located.

[0102] Thickness constraint penalty : in, This is the normal vector of the single-unit frontal model (pointing towards the front side). The penalty term calculates the signed distance from each point in the back-side point cloud to the plane of the single-unit frontal model, and compares it with the known standard thickness. The comparison is performed, and the square of the deviation is used as a penalty. This factor forces the back-side point cloud to maintain a physical distance of exactly one plate thickness from the front-side model in the normal direction, preventing the back-side point cloud from being embedded inside the front-side model or being too far away in the registration result. The weighting coefficients... The way to obtain the value is: This represents the confidence level of the thickness prior constraint, which is derived from precise engineering dimensions and has an extremely high confidence level. The value can be set between 0.5 and 1, preferably 0.8. The reason for this choice is that the thickness constraint is a rigid geometric fact, and giving it a higher weight ensures the physical rationality of the registered model; however, to avoid the constraint term from excessively dominating the optimization due to local noise in the point cloud and hindering the convergence of the point-to-plane distance term, its weight is set slightly lower than... The level of contribution.

[0103] Regularization constraint terms : in, It is the identity matrix. This represents the Frobenius norm. The regularization term constrains the rotation matrix. Approaching the identity matrix, scaling factor The constraint is to approximate the value of 1, meaning the transformation of the back-side point cloud should be as close as possible to a translation purely along the normal vector direction. The physical basis for this is that the front-side model and the back-side point cloud respectively describe the front and back sides of the same rigid photovoltaic panel, and there should be no large in-plane rotation or scaling differences between them. The preset threshold specifically reflects the constraints on the rotation angle and scaling range. The preset rotation angle threshold can be set within ±5 degrees, and the scaling factor threshold can be set between 0.98 and 1.02. The weighting coefficients... The value can be set between 0.1 and 0.3, preferably 0.2. The regularization term mainly serves to prevent over-parameterization, maintain the stability and physical rationality of the solution, and its weight should not be too high to avoid hindering necessary micro-attitude corrections.

[0104] The Levenberg-Marquardt algorithm is used to evaluate the above objective function. Perform iterative minimization. The initial values ​​for each iteration are set as follows: The initial value is 1. The initial value is the identity matrix. The initial value is to shift the centroid of the back face point cloud along the negative direction of the normal vector. The position after distance. In each iteration, first update the point cloud position according to the current transformation, then search for the nearest point pair on the single frontal model, then calculate the Jacobian matrix and solve the normal equation to obtain the parameter update amount. When the norm of the parameter update amount is less than a preset convergence threshold (e.g., ...), the position is determined. The iteration terminates when the maximum number of iterations (e.g., 100) is reached. The optimal space transformation obtained is then determined. This refers to the transformation parameters used to accurately register the back-facing point cloud from the local coordinate system to a spatial coordinate reference with the front-facing model of the individual unit; among which, This represents the optimal isotropic scaling factor obtained from the solution. This represents the optimal rotation matrix obtained by solving the problem. This represents the optimal translation vector obtained by solving the problem.

[0105] The registered front and back point clouds refer to the front point cloud corresponding to the single front model (which can be extracted from the dense point cloud in step 2 based on the single block point cloud) and the registered back point cloud under the spatial coordinate reference. The transformed back point cloud. Before Poisson surface reconstruction, the two point clouds can be merged to obtain a holistic point cloud containing complete information about the front and back of the photovoltaic panel. Then, the Poisson surface reconstruction algorithm is used to mesh this holistic point cloud, generating a watertight, continuous 3D surface mesh model, i.e., the shell model. The Poisson surface reconstruction algorithm fits an indicator function by solving a Poisson equation. This indicator function is 1 inside the object and 0 outside, and its gradient approximates the normal vector field of the point cloud. Finally, the isosurface of the indicator function is extracted as the surface model. This shell model has complete front geometry (precise planes and boundaries provided by the single front model) and back geometry (detailed structures such as junction boxes and frames provided by the back point cloud), and the two are naturally connected and closed through the side structure of the photovoltaic panel.

[0106] Step 6: Incorporate the infrared image, visible light image, and back visible light image sequence into the joint bundle adjustment. Using the rigid body transformation relationship calibrated between the visible light camera and the infrared camera as a constraint, calculate the precise shooting pose of each infrared image. Using the precise shooting pose, map the radiation information of the infrared image to the shell model at the pixel level to achieve precise positioning of the photovoltaic panel's heating point.

[0107] In this embodiment, the joint bundle adjustment model fuses the originally independent visible light image spatial triangulation grid with the infrared image spatial triangulation grid. The variables to be optimized include: The shooting poses of all visible light images (including the frontal visible light images acquired along the first flight path and the rear visible light image sequence acquired along the second flight path) in spatial coordinate reference. These poses have been optimized in step 3 and are used here as known initial values, while allowing them to be fine-tuned in the joint adjustment to absorb systematic errors.

[0108] The shooting poses of all infrared images include the rotation matrix and translation vector corresponding to each infrared image. The initial shooting poses of the infrared images are initially calculated from the shooting poses of the synchronously acquired visible light images through the rigid body transformation relationships calibrated in step 1.

[0109] The fixed relative rigid body transformation relationship between the visible light camera and the infrared camera is defined as the rotation matrix and translation vector. This rigid body transformation relationship has been initially obtained through calibration in step 1 and is refined as a variable to be optimized in the joint adjustment to eliminate drift caused by minor mechanical deformation or thermal expansion and contraction that may occur after calibration.

[0110] In the joint beam adjustment process, the pre-calibrated rigid body transformation relationship between the visible light camera and the infrared camera is added as a strong constraint to the optimization model. The main optimization objective is to minimize the shooting pose of the optimized visible light image and the reprojection error of the back visible light image. The shooting pose of each infrared image is jointly calculated and corrected, and the corrected shooting pose of each infrared image is used as the accurate shooting pose.

[0111] First, define the overall optimization objective function for joint bundle adjustment: in, This represents the reprojection error term for feature points in the frontal visible light image. This represents the reprojection error term of the feature points in the visible light image on the back side. This is the feature point reprojection error term for the infrared image. This is a rigid body transformation constraint term. and These are the weighting coefficients for the corresponding error terms.

[0112] The specific definitions of each error term are as follows: Frontal visible light image feature point reprojection error term : in, It is the actual observed pixel coordinate of the m-th 3D feature point on the i-th frontal visible light image; This is the intrinsic parameter matrix of the visible light camera; and The shooting pose of the i-th frontal visible light image; Let m be the spatial coordinates of the m-th three-dimensional feature point; For perspective projection functions; This is the Huber robust loss function. This error term, based on step 3, allows for further refinement of the visible light image pose and 3D point coordinates during joint adjustment.

[0113] Reprojection error term of visible light image feature points on the back : in, It is the first The actual observed pixel coordinates of a 3D feature point on the r-th back visible light image; and The shooting pose for the r-th visible light image from the back; The first in the back scene Spatial coordinates of three-dimensional feature points; Indicates the index of the visible light image on the back side. This indicates the number of visible light images of the back side acquired by the second flight path; The index represents the sparse 3D feature points, i.e., the sparse 3D feature points formed during the SFM sparse reconstruction stage. In the first The back-side visible light image is a set of three-dimensional feature points observable on the image. Minimizing the reprojection error of the back-side visible light image ensures the accurate alignment of the reconstructed geometric framework with the front-side framework in spatial coordinates.

[0114] Infrared image feature point reprojection error term : in, It is the first The 3D feature point at the th ... The actual observed pixel coordinates on the infrared image. Indicates the infrared image index. Number of infrared images; This is the intrinsic parameter matrix of the infrared camera; and Let m be the shooting pose of the infrared image. The first that can be observed in infrared images The spatial coordinates of a three-dimensional feature point An index of three-dimensional feature points observable in infrared images. This represents the number of 3D feature points observable from the infrared image. Since infrared images have relatively weak texture features, in practical matching, corner points and edge points with significant thermal contrast in the scene can be preferentially selected as 3D feature points. The weighting coefficients... How should the value of be determined? Considering that infrared images have lower resolution and the confidence level of feature point extraction and matching is lower than that of visible light images, The value can be set to between 0.3 and 0.6, preferably 0.5. This setting is because: the observation of infrared images provides direct constraints for the pose calculation of the infrared camera, but due to its relatively limited observation accuracy, the weight should not be too high. The strong geometric framework of visible light images should play a leading role in the optimization, while infrared observation plays an auxiliary and refined role.

[0115] Rigid body transformation constraint terms : Where t represents the index number of the synchronous exposure time. This represents the total number of times the visible light camera and infrared camera were simultaneously exposed during the entire acquisition task; for the th... A simultaneous exposure moment and The pose of the visible light image at that moment is determined by timestamp matching. and This represents the rigid body transformation relationship (rotation matrix and translation vector) between the visible light camera and the infrared camera. The constraint means that at any synchronization moment, the shooting pose of the infrared camera should be strictly equal to the pose of the visible light camera calculated through rigid body transformation. If there is no corresponding visible light image at a certain synchronization moment (e.g., the infrared image sampling rate is higher than that of visible light), this term is skipped for that frame. The weighting coefficients... The method for determining the value of is as follows: This represents the strength of the prior constraint for rigid body transformation. Due to the high stiffness and low deformation characteristics of the fixed structure between cameras, this prior has a very high confidence level. The value can be set between 5 and 10, preferably 8. The reason for this choice is that the rigid body transformation constraint is the physical link between the poses of the visible light camera and the infrared camera. Giving it a high weight effectively transfers the accurate spatial coordinate reference established in the visible light image to the infrared image, which is crucial for ensuring the accuracy of the infrared camera pose calculation. By adding this as a strong constraint to the optimization, reliable pose estimation can be obtained even if the number of feature points matched in the infrared image itself is limited.

[0116] The Levenburg-Marquardt algorithm is used to iteratively minimize the joint objective function. After optimization, the corrected shooting poses of each infrared image are obtained, denoted as the precise shooting poses; these precise shooting poses and the shell model are all unified under the spatial coordinate reference established in step 3.

[0117] In this embodiment, the precise positioning of the photovoltaic panel's heating point specifically involves: Using the precise shooting pose of each infrared image and the intrinsic parameters of the infrared camera, each infrared image is projected onto the surface of the shell model one by one through perspective projection. For each facet on the shell model, all infrared images that can be captured on each facet are determined, the radiation value of the corresponding projection area on each infrared image is calculated, and the radiation value is weighted and fused using the angle between the optical axis of the infrared camera and the normal vector of the facet as the weight to generate an infrared radiation texture covering the front and back of the shell model.

[0118] The process of generating the infrared radiation texture is a process of mapping the radiation information of a two-dimensional infrared image onto the texture mapping of the surface of a three-dimensional shell model. The specific steps are as follows: For each infrared image, using its precise shooting pose and the infrared camera's intrinsic parameter matrix, a perspective projection relationship is established from the surface of the 3D shell model to the pixels of the 2D infrared image. For each triangular facet on the shell model, its three vertices are projected onto the infrared image to determine the corresponding projection area of ​​that facet on the infrared image.

[0119] For each triangular facet on the shell model, traverse all infrared images and determine whether the facet is visible in each image. Visibility criteria include: the angle between the facet's normal vector and the vector pointing from the facet's center to the infrared camera's projection center is less than 90 degrees, indicating the facet is facing the camera; and the facet is not occluded by other parts of the model from that viewpoint. Occluded faces are excluded through depth testing. All infrared images showing the facet are combined into a valid image set.

[0120] For each infrared image in the valid image set, calculate the average or integral value of the radiance values ​​of each pixel within the projection area of ​​the shell model patch on that image. The radiance value refers to the temperature or radiation intensity value recorded by each pixel on the infrared image after radiometric calibration.

[0121] The weights for the weighted fusion are calculated as follows: Let the first one on the shell model be... A triangular facet, whose unit normal vector is In the valid image set, the first... When Zhang infrared images are captured, the optical axis vector of the infrared camera is: (This can be obtained by inverting the third column of the rotation matrix used for precise image capture). The angle between the infrared camera's optical axis and the normal vector of this surface. satisfy: The image is... The radiation value on is recorded as The radiance value of the surface after weighted fusion is then... for: Among them, weight .index The parameters used to control the rate of weight decay, How should the value be determined? The value can be set between 2 and 4, preferably 3. The reason for this choice is that when the angle between the camera's optical axis and the surface normal vector is small, the camera captures the surface approximately perpendicularly, and the measured infrared radiation is closest to the true value. As the angle increases, perspective distortion intensifies, and the error introduced by the directionality of surface emissivity in the observed radiation value increases. Using the power of the cosine function as the weight allows for a higher contribution to the approximately perpendicular observation image while maintaining effective observation information, effectively suppressing errors caused by edge-observed slant images. If the image weight is less than a preset threshold, the weight of the image can be set to zero, meaning it will not participate in the fusion. The preset threshold can be set to 0.3 (corresponding to an angle of approximately 72.5 degrees) to exclude observations with extreme strabismus or unreliable radiometric values.

[0122] Through the above steps, the fused radiation value is calculated for each facet of the shell model, and finally a complete infrared radiation texture image covering the front and back of the shell model is generated and mapped onto the surface of the shell model.

[0123] At this point, the shell model contains both complete geometric structure information and high-precision infrared radiation texture information. During visualization or analysis, the temperature distribution at different locations on the surface of each photovoltaic panel can be visually observed on the shell model. When an abnormally high temperature occurs in a certain area of ​​a photovoltaic panel, that area will show a radiation value significantly different from the surrounding normal area in the infrared radiation texture. By directly clicking or selecting the high-temperature area on the 3D shell model, its precise 3D coordinates under the spatial coordinate reference can be automatically obtained. Based on the corner coordinates of the individual front model in step 2 and the known cell arrangement specifications, the row and column of the solar cell where the heat source is located can be calculated. This process does not require manual on-site confirmation, realizing fully automated processing from image acquisition to fault location, and providing an efficient and reliable technical means for the precise operation and maintenance of fishery-solar hybrid power stations.

[0124] Please see Figure 3 The present invention also provides a photovoltaic panel positioning and modeling device based on UAV image measurement. This device is used to implement the aforementioned photovoltaic panel positioning and modeling method based on UAV image measurement, and includes: The orthophoto and point cloud initial modeling module is used to acquire visible light and infrared images of the target area when executing the first flight path; based on the visible light images, the initial sparse 3D model is calculated and the shooting pose of each visible light image is obtained, and the dense point cloud of the target area is generated through the shooting pose; The single-unit front model extraction module is used to segment the masks of each photovoltaic panel from the visible light image, and extract the single-unit block point cloud corresponding to each photovoltaic panel from the dense point cloud by combining the shooting pose; perform plane fitting and regularization on the single-unit block point cloud to construct a single-unit front model representing each photovoltaic panel, and record its centroid coordinates and normal vector. The spatial coordinate reference establishment module is used to identify absolute control points from the initial sparse 3D model, and to perform global optimization on the initial sparse 3D model and shooting pose using the known spatial distribution of the absolute control points as constraints, thereby establishing a spatial coordinate reference. The back-side flight path planning module is used to plan a second flight path that can completely capture the back of each photovoltaic panel based on the centroid coordinates and normal vectors of all individual front models; and execute the second flight path to obtain a sequence of visible light images of the back side. The shell model generation module is used to independently reconstruct the back point cloud based on the back visible light image sequence. Under the spatial coordinate reference, with the geometric priors provided by the single front model and the known thickness of the photovoltaic panel as constraints, the back point cloud is registered with the corresponding single front model to generate a shell model with a complete geometric structure. The infrared image pose calculation and mapping module is used to incorporate the infrared image, visible light image and back visible light image sequence into the joint bundle adjustment. With the rigid body transformation relationship calibrated between the visible light camera and the infrared camera as a constraint, it calculates the precise shooting pose of each infrared image. Using the precise shooting pose, the radiation information of the infrared image is mapped to the shell model at the pixel level to achieve precise positioning of the photovoltaic panel heating point.

[0125] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.

[0126] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented in software, the above embodiments can be implemented, in whole or in part, as a computer program product. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.

[0127] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0128] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A photovoltaic panel positioning modeling method based on unmanned aerial vehicle imagery measurement, characterized in that, The specific steps include: Collecting visible light images and infrared images of the target area when performing the first route; solving an initial sparse three-dimensional model and the shooting poses of each visible light image based on the visible light images, and generating a dense point cloud of the target area through the shooting poses; Segmenting the masks of each photovoltaic panel from the visible light images, and extracting the single panel point cloud corresponding to each photovoltaic panel from the dense point cloud in combination with the shooting poses; performing plane fitting and regularization on the single panel point cloud to construct a single front model representing each photovoltaic panel and record the centroid coordinates and normal vectors thereof; Identifying absolute control points from the initial sparse three-dimensional model, and performing global optimization on the initial sparse three-dimensional model and the shooting poses with the known spatial distribution of the absolute control points as a constraint to establish a spatial coordinate reference; Planning a second route capable of completely shooting the back of each photovoltaic panel according to the centroid coordinates and normal vectors of all single front models; and obtaining a back visible light image sequence by performing the second route; Independently reconstructing a back point cloud based on the back visible light image sequence, and registering the back point cloud with the corresponding single front model under the spatial coordinate reference with the geometric prior provided by the single front model and the known photovoltaic panel thickness as a constraint to generate a shell model with complete geometric structure; Including the infrared images, visible light images and back visible light image sequence in joint bundle adjustment, solving the accurate shooting poses of each infrared image with the rigid transformation relationship between the visible light camera and the infrared camera as a constraint; and pixel-level mapping the radiation information of the infrared images to the shell model by using the accurate shooting poses to realize accurate positioning of the heat points of the photovoltaic panel.

2. The photovoltaic panel positioning modeling method based on UAV image measurement according to claim 1, characterized in that, The visible light images are continuously collected by the visible light camera and the infrared images are continuously collected by the infrared camera fixedly connected with the visible light camera by performing the first route; The first route is a tilt photography route designed for the high-pile photovoltaic panel scene of the fish-light complementary power station, and the heading overlap degree and the lateral overlap degree thereof are not less than a corresponding preset threshold; The rigid transformation relationship between the infrared camera and the visible light camera is calibrated before collection.

3. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 1, wherein, The visible light images are input into a pre-trained instance segmentation network to identify and segment each independent photovoltaic panel, and output the mask corresponding to each photovoltaic panel; The mask corresponding to each photovoltaic panel is projected into the dense point cloud in combination with the shooting poses to extract the single panel point cloud belonging to each photovoltaic panel; The plane fitting and regularization specifically include: iteratively processing the single panel point cloud corresponding to each photovoltaic panel by using a random sample consensus algorithm, taking the maximization of the number of inliers as the optimization objective, and automatically removing the support point cloud and edge flying points in the iteration process, and finally taking the spatial plane with the largest number of inliers as the best spatial plane representing the panel surface of the photovoltaic panel. The optimal spatial plane is regularized into a standard spatial rectangle as a monomer front model of the corresponding photovoltaic panel according to a known standard length and a known standard width of the corresponding photovoltaic panel based on the normal vector and the centroid of the optimal spatial plane, and the corner point coordinates, the centroid coordinates and the normal vector of the spatial rectangle are recorded, that is, the centroid coordinates and the normal vector of the monomer front model; wherein the normal vector points to the side of the photovoltaic panel facing the unmanned aerial vehicle, and the side is recorded as the front of the monomer front model, and the side opposite to the normal vector is recorded as the back.

4. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 1, wherein, In the initial sparse three-dimensional model, the pipe pile structure arranged above the water surface in the target area is identified by color and geometric features, and the point cloud slice at the top of each pipe pile is intercepted, and spatial circle fitting is performed on the point cloud slice to obtain the three-dimensional coordinates of the center of the circle as the absolute control point.

5. The photovoltaic panel positioning modeling method based on UAV image measurement according to claim 4, characterized in that, The establishment of the spatial coordinate reference specifically includes: The absolute control points are taken as observation values, and the known pile spacing between adjacent pipe piles determined by the regular arrangement of the pipe piles is taken as a relative distance constraint to jointly perform bundle adjustment, the shooting pose of the initial sparse three-dimensional model and the visible light image is optimized by minimizing the re-projection error of the absolute control points and constraining the distance between the absolute control points of adjacent pipe piles after optimization to be equal to the known pile spacing, so as to establish the spatial coordinate reference; the re-projection error is the deviation between the pixel position calculated by projection of the absolute control point and the actual recognized pixel position in the image; The known spatial distribution constraint is a relative distance constraint.

6. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 3, wherein, All the monomer front models are traversed, and for each monomer front model, a supplementary shooting plane parallel to the monomer front model and at a preset distance from the photovoltaic panel surface is calculated according to the centroid coordinates, the normal vector and the standard length and the standard width of the corresponding photovoltaic panel; On the supplementary shooting plane, a flight point sequence covering the entire supplementary shooting plane is generated according to the field of view angle of the visible light camera and the preset overlap degree in a snake-shaped path, and the flight point sequences corresponding to all the monomer front models are combined to form the second flight line; the preset overlap degree is determined according to the requirement of ensuring the integrity of the back surface point cloud reconstruction; When the unmanned aerial vehicle executes the second flight line, the camera optical axis of the unmanned aerial vehicle holder is kept in the same direction as the direction of the normal vector of the monomer front model, that is, perpendicular to the back surface of the photovoltaic panel, so as to obtain a back surface visible light image sequence.

7. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 3, wherein, The generation of the shell model specifically includes: The back surface point cloud of each photovoltaic panel is independently generated by using the back surface visible light image sequence and the dense point cloud generation method consistent with step 1. The geometric prior refers to a centroid coordinate, a normal vector and a corner point coordinate of the monomer front surface model; the back surface point cloud is registered to the back surface of the monomer front surface model; in the registration process, a standard thickness of the photovoltaic panel is taken as a spatial constraint, a deviation of a distance of the back surface point cloud to a plane where the back surface of the monomer front surface model is located from the standard thickness is taken as a penalty term in an iterative closest point algorithm optimization term, the back surface point cloud is constrained to be translated along a normal vector direction of the monomer front surface model, and only rotation and shearing transformation is performed within a preset threshold value, an optimal spatial transformation is solved, and the back surface point cloud is registered to the monomer front surface model under the spatial coordinate reference; The shell model with complete front and back surface geometries is generated, specifically as follows: Poisson surface reconstruction is performed on the registered front and back surface point clouds, and the shell model with complete front and back surface geometries is generated.

8. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 5, wherein, The accurate shooting pose is determined as follows: A joint bundle adjustment model is constructed, and the to-be-optimized variables include shooting poses of all visible light images, back surface visible light images and infrared images, and a fixed relative rigid body transformation relationship between the visible light camera and the infrared camera; In the joint bundle adjustment process, the pre-calibrated rigid body transformation relationship between the visible light camera and the infrared camera is taken as a strong constraint and added to the optimization model, the shooting pose of the visible light image after optimization and minimization of the back surface visible light image re-projection error are taken as main optimization targets, the shooting poses of all infrared images are jointly solved and corrected, and the corrected shooting poses of all infrared images are taken as the accurate shooting pose.

9. The photovoltaic panel positioning modeling method based on UAV image measurement of claim 8, wherein, The accurate positioning of the photovoltaic panel heating point is implemented as follows: The accurate shooting pose of each infrared image and the intrinsic parameter of the infrared camera are used to project each infrared image onto the surface of the shell model through perspective projection; for each face sheet on the shell model, all infrared images capable of shooting each face sheet are determined, the radiation values of the corresponding projection regions on each infrared image are calculated, and the infrared radiation texture covering the front and back surfaces of the shell model is generated by weighting and fusing the radiation values with the angle between the infrared camera optical axis and the normal vector of the face sheet as the weight. After the shell model generates the infrared radiation texture, the radiation difference of different regions on each photovoltaic panel is presented, so that the accurate positioning to the heating fault point on the cell sheet is realized. 10.A device for photovoltaic panel positioning modeling based on UAV image measurement, characterized in that, The photovoltaic panel positioning modeling device based on unmanned aerial vehicle image measurement is used to implement the photovoltaic panel positioning modeling method based on unmanned aerial vehicle image measurement, and includes the following steps: The orthographic and point cloud initial modeling module is used to collect visible light images and infrared images of a target region in a first flight route, solve an initial sparse three-dimensional model and shooting poses of each visible light image based on the visible light images, and generate a dense point cloud of the target region through the shooting poses; The monomer front surface model extraction module is used to segment masks of each photovoltaic panel from the visible light images, extract monomer panel point clouds corresponding to each photovoltaic panel from the dense point cloud in combination with the shooting poses, perform plane fitting and regularization on the monomer panel point clouds, construct a monomer front surface model representing each photovoltaic panel, and record a centroid coordinate and a normal vector of the monomer front surface model; The joint bundle adjustment model is constructed, and the to-be-optimized variables include shooting poses of all visible light images, back surface visible light The spatial coordinate reference establishing module is configured to identify absolute control points from the initial sparse three-dimensional model, and to globally optimize the initial sparse three-dimensional model and the shooting poses with the known spatial distribution of the absolute control points as constraints, so as to establish a spatial coordinate reference; The back surface flight path planning module is configured to plan a second flight path capable of completely shooting the back surface of each photovoltaic panel according to the centroid coordinates and normal vectors of all single positive models, and to execute the second flight path to obtain a back surface visible light image sequence; The shell model generating module is configured to independently reconstruct a back surface point cloud based on the back surface visible light image sequence, to register the back surface point cloud with the corresponding single positive model under the spatial coordinate reference with the geometric prior provided by the single positive model and the known photovoltaic panel thickness as constraints, and to generate a shell model with complete geometric structure; The infrared image pose solving and mapping module is configured to incorporate the infrared image, the visible light image and the back surface visible light image sequence into joint bundle adjustment, to solve the accurate shooting poses of the infrared images with the rigid body transformation relationship between the visible light camera and the infrared camera as constraints, and to map the radiation information of the infrared images to the shell model in a pixel level with the accurate shooting poses, so as to realize accurate positioning of the heat points of the photovoltaic panel.