A photovoltaic power station digital twin operation mapping and abnormal positioning system and method

By generating candidate maps and performing image patch processing based on component layout verification groups, the difficulty of abnormal location caused by repeated component arrangement in photovoltaic power plants is solved, and accurate component identity verification and digital twin model updating are achieved.

CN123181584APending Publication Date: 2026-11-27NANJING ZHISHAN INTELLIGENT TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611716243.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In photovoltaic power plants, due to the repeated arrangement of components and errors in the shooting position, the local grid of the image may match multiple row and column positions, making it difficult to locate anomalies. Furthermore, missing or occluded parts of the image affect the accuracy of the judgment. Existing technologies are unable to effectively distinguish multiple image location candidates and verify the identity of the components.

Method used

By generating multiple candidate maps, abnormal locations in the image are recorded and verified on a per-image-block basis. Verification groups are generated by connecting vertices of the same component and using component layout. Verification group sequence conditions are set, indistinguishable verification locations are eliminated, unique candidate maps are retained, and the digital twin's running status is updated to avoid duplicate counting and incorrect judgments.

Benefits of technology

It improves the accuracy and reliability of anomaly location in photovoltaic power plants, reduces misjudgments, and ensures the uniqueness of component identity verification and the accurate updating of digital twin models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181584A_ABST
    Figure CN123181584A_ABST
Patent Text Reader

Abstract

The application discloses a photovoltaic power station digital twin operation mapping and abnormal positioning system and method, and belongs to the technical field of image processing and photovoltaic inspection. A candidate mapping is generated from an inspection image and component layout, and a verification position of any candidate falling on the same component is connected to form a verification group by connecting components. According to whether the components in the group have an order, an image block is selected and requested from an edge node to make the difference group number of any candidate pair exceed twice the allowable wrong judgment group number. After identification, the indistinguishable position is removed, the original group attribution is kept for rechecking, and the unique candidate mapping with an inconsistent verification group number not exceeding the allowable wrong judgment group number is used to bind the abnormal position to the unique code of the component and update the digital twin operation state. The method is used for positioning the components in the repeated photovoltaic array, combined with the related position grouping and the actual distinguishable information verification, and reduces the ambiguous positioning into the component operation record.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of image processing and intelligent inspection technology of photovoltaic power plants, and in particular to a digital twin operation mapping and anomaly location system and method for photovoltaic power plants. Background Technology

[0002] The rooftop arrays of photovoltaic power plants are typically composed of repeating modules with approximately the same shape and spacing. Inspection systems utilize drones or fixed cameras to acquire visible light and thermal infrared images, identify anomalies such as hot spots, damage, and shading, and associate these anomalies with the module objects in the power plant's digital twin model for retrieval and re-inspection according to equipment records. Whether image anomalies can be accurately attributed to physical modules depends on the correspondence between image coordinates, module layout, and the unique identifier of each module.

[0003] Chinese patent application publication number CN117152255A discloses a method, apparatus, device, and storage medium for locating photovoltaic modules. It determines the pixel positions of modules through photovoltaic string image segmentation and module template matching, and uses the correspondence between images and geographical locations for positioning. Chinese patent application publication number CN116566325A discloses a distributed photovoltaic online monitoring and management system that combines fixed-point data acquisition, inspection data acquisition, data processing, and fault handling feedback for photovoltaic equipment monitoring and management. The above technologies provide the foundation for image positioning and operation and maintenance data association, respectively.

[0004] When components are repeatedly arranged and there are errors in the shooting position, the local grid of the image may match multiple row and column positions in the layout, and different candidates can all obtain small corner backprojection errors. Using only the candidate with the smallest residual makes it easy to map the identified anomalies to adjacent components. On the other hand, multiple local judgments from the same component may be affected by common reflections or occlusions, and these related judgments will be repeatedly counted when accumulated by pixel count; when edge image patches are not obtained or are locally indistinguishable, the actual content that can be used for judgment will also be reduced. Therefore, while controlling the local image transmission, it is necessary to verify whether the actual information obtained can distinguish these candidates and make a verification consistent with the component identity. Summary of the Invention

[0005] This invention addresses the problem that multiple image location candidates are difficult to distinguish when photovoltaic arrays are repeatedly arranged, and that missing or indistinguishable local images change the verification basis. It provides a digital twin operation mapping and anomaly location system and method for photovoltaic power plants, which establishes a correspondence between abnormal locations and component identities based on the actual image information obtained.

[0006] The method of this invention generates multiple candidate mappings from an inspection image and component layout, recording abnormal locations in the image; using the verification location in the image as a vertex, connecting vertices that fall into the same component through any candidate mapping, with connected components as verification groups; generating a sequence of component presence / absence for each verification group within the image block of the inspection image for each candidate mapping according to the component layout; requesting image blocks from edge nodes to ensure that the number of verification groups with different component presence / absence sequences for any candidate mapping pair is greater than twice the allowable number of misjudgment groups. The method identifies the presence / absence of components in the image block and eliminates indistinguishable verification locations, maintaining the verification group affiliation and verifying the above-mentioned distinction conditions; when these conditions are met, using the unique candidate mapping where the number of verification groups with inconsistent identification results and component presence / absence sequences does not exceed the allowable number of misjudgment groups, the abnormal location is bound to a unique component code, and the digital twin's operating status is updated.

[0007] Candidate mappings are obtained by extracting component corner points, establishing a local image mesh, enumerating column offsets within the shooting position error range, and fitting the image to the layout projection transformation, retaining the transformation and offset where the corner point backprojection error does not exceed the positioning tolerance. Preferably, the verification position is set in at least two candidate prediction regions with different presence or absence states, avoiding abnormal regions containing abnormal positions and boundary uncertainty zones determined by the positioning tolerance. The component presence or absence sequence is arranged according to the verification position number.

[0008] When selecting an image block, for a mapping pair to be distinguished that does not meet the distinguishing criteria, determine the number of new difference verification groups that appear for the first time after adding the image block. Select blocks one by one according to the ratio of the number of new difference verification groups to the number of transmitted bytes. Multiple difference positions in the same verification group are counted only once.

[0009] The cropping request includes the original image identifier, image verification value, and pixel range. Edge nodes retrieve the corresponding inspected image and calculate a recalculated verification value. If the two verification values ​​match, an image block is cropped within the specified range. Verification locations not within the image block range are considered unidentifiable verification locations.

[0010] The identification results are categorized into three types: those with components present, those with visible components but no components, and those that are indistinguishable. After removing indistinguishable verification positions, the candidate mapping and the identification results use the same remaining positions, and the number of misclassified groups remains unchanged. If the identification result of any remaining position within the same group is inconsistent with the candidate prediction, that group is counted as an inconsistent verification group.

[0011] When the verification fails to meet the differentiation criteria, the unrequested blocks of the same inspection image are selected for the candidate pairs that do not meet the criteria. If the candidate cannot be supplemented or there is no unique candidate mapping, the candidate and abnormal positions are retained, and the location pending verification status is output without binding to a single component encoding. During the supplementation, the obtained recognition results are accumulated, and the same position within the overlapping block is counted only once. In a single verification, the candidate and verification group remain unchanged. After changing the recognition results already used for verification, the differentiation criteria of all candidates are re-verified and the unique candidate mapping is re-determined.

[0012] After converting abnormal locations into layout landing points through unique candidate mapping, the layout coordinate error calculated by the positioning tolerance forms the landing point neighborhood. Only when the entire neighborhood is within the same component boundary is the component's unique code bound; otherwise, the positioning pending state is output.

[0013] The system of the present invention includes edge nodes and mapping processing nodes. The edge nodes store inspection images and return image blocks extracted from the images upon request. The mapping processing nodes are communicatively connected to the edge nodes, store component layout and unique component codes, and perform processing such as candidate generation, verification grouping, sequence prediction, block selection, identification and verification, abnormal position binding, and digital twin operation status update.

[0014] Compared to selecting component positions solely based on image matching residuals, this invention merges verification positions that may belong to the same component under different candidates into a common counting unit, preventing multiple related judgments on the same component from repeatedly increasing the number of distinguishing groups. Upon receiving an image block, it further verifies the position based on the actual identifiable location, retaining the original group affiliation and fault tolerance budget to avoid incorrect measurement units being changed for missing or indistinguishable positions. Through local block selection, transmission can be concentrated in regions capable of distinguishing candidates; through unique candidates and boundary neighborhood constraints, the direct writing of ambiguous positions into a single component's running record is reduced, and positioning verification results are retained for subsequent re-examinations. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the system structure for the collaboration between edge nodes and mapping processing nodes according to the present invention.

[0016] Figure 2 This is a schematic diagram of the candidate mapping generation, image block verification, and anomaly localization method of the present invention.

[0017] Figure 3 This is a schematic diagram illustrating the cross-candidate verification grouping and the retention of the original group for verification after removing indistinguishable positions according to the present invention. Detailed Implementation

[0018] like Figure 1 As shown, the photovoltaic power plant digital twin operation mapping and anomaly localization system of the present invention includes edge nodes and mapping processing nodes. Edge nodes are deployed in image access devices or edge servers on the power plant side to receive inspection images collected by drones or fixed camera equipment. Mapping processing nodes are deployed on the power plant server or cloud to store the spatial relationships between the roof, photovoltaic array, and modules, and process the correspondence between anomalies in the images and the physical components. A digital twin is a digital model and operation record corresponding to the physical objects of the power plant. Operation mapping associates image anomalies with acquisition time to component objects with defined identities within the model, enabling anomaly display, record retrieval, and subsequent re-inspections to use the same component identity.

[0019] The edge nodes store the inspection images and return image patches extracted from the inspection images upon request from the mapping processing nodes. Before registering an image, the edge nodes correct lens distortion based on camera calibration parameters, use the corrected inspection image as the original image for this round, and generate an original image identifier. This identifier is used to index the original image file, acquisition time, image size, camera calibration version, and shooting location metadata. Camera calibration parameters include focal length, principal point position, and lens distortion coefficient, which describe the imaging geometry. The correction process resamples the acquired pixels to the corrected image coordinates accordingly. Filled areas without corresponding acquired pixels after correction, as well as positions in the classification neighborhood involving such filled areas, are not included in the verification location pool. The edge nodes calculate image verification values ​​for the original image file and first send these index information, along with thumbnail or component corner information, to the mapping processing nodes. High-resolution pixels of the corrected original image are retained at the edge nodes, and then local image patches are transmitted as needed for verification. Corner points and abnormal positions extracted from the thumbnail are restored to the original image pixel coordinates according to the scaling ratio, and subsequent sampling and cropping use these original image coordinates.

[0020] The mapping processing node communicates with the edge node, stores the component layout and unique component encoding, and performs candidate generation, verification grouping, image block request, identification verification, abnormal location binding, and digital twin operation status updates. The processor of the mapping processing node loads the layout, candidate mapping records, and verification status from memory, sends a block trimming request to the edge node, and sends the returned data to the component identification and mapping verification process. The two nodes transmit indexes, pixel ranges, image blocks, and acquisition statuses with the same image identity. The nodes can be deployed separately or as two functional nodes with independent caches and processing interfaces within the same server.

[0021] The component layout is formed from the power plant as-built layout drawings, survey coordinates, or a verified roof model, and includes at least the effective roof area, component boundary polygons, row and column relationships, unique component codes, and layout versions. The unique component code uniquely identifies a physical component and is associated with the model object and equipment ledger in the digital twin. Verified gaps, passages, and openings within the component layout are considered known areas without components; areas outside the effective roof area or with incomplete layout information are considered unknown areas and cannot be used as verification criteria for determining the absence of components. Arrays with different roofs or significant differences in elevation or tilt angle are processed into approximately planar partitions, and each round of verification uses the layout version within one partition.

[0022] like Figure 2As shown, the mapping processing node generates multiple candidate mappings from the inspection image and component layout, recording abnormal locations in the image. A candidate mapping is a possible transformation from the original image pixel coordinates to the component layout coordinates, accompanied by component row and column offsets and a candidate number. Abnormal locations are obtained from abnormal areas such as hot spots, damage, or occlusions in the inspection image, represented by the original image coordinates of the representative points or region pixels within the area. This method processes the identity of the component to which these locations belong, preserving the abnormality category and its detection result as attributes of the image record. When using thermal imaging, corner points, verification locations, and abnormal locations use the same thermal imaging coordinates; when using visible light images, the same visible light coordinates are used. When it is necessary to transfer abnormal locations across imaging channels, the coordinates are first converted to the original image coordinates of the current round using the calibration relationship between the two channels before verification begins.

[0023] Generating the candidate mapping includes: extracting component corner points from the inspection image and establishing a local image grid; enumerating the row and column offsets of the local image grid relative to the component layout within the shooting position error range; fitting the projection transformation from the image to the layout; and retaining the projection transformation and offset where the back-projection error of the component corner points does not exceed the positioning tolerance. The local image grid represents the local arrangement relationship formed by the intersection of component edges and two sets of row and column directions, representing the relative rows and columns in the image. The absolute component code is determined through subsequent candidate verification. Component corner points are extracted from the registered corrected original image, obtained through edge extraction, near-line fitting, and line segment intersection, and then a local grid is formed by the spacing and direction of adjacent edges.

[0024] The shooting position error range is determined jointly by the error boundaries given by the positioning and attitude metadata, and the roof coordinate reference error. The camera line of sight corresponding to the allowed position and attitude changes intersects with the roof plane to obtain the possible landing point range on the layout plane. This range is then expanded outwards according to the roof coordinate reference error and rounded outwards according to the component row and column spacing to obtain the required row and column offset range. For each offset, at least four component corner points in the image without three collinear points are mapped to their corresponding corner points in the layout, and the planar projection transformation is solved. When there are more than four corresponding points, after fixing the overall scale of the projection transformation coefficients, the initial transformation value is obtained through linear least squares with the objective of minimizing the sum of squared residuals of the linear equations established for the corresponding corner points. The transformation parameters are then adjusted using the back-projection error of the image corner points. The projection transformation represents the coordinate correspondence under planar perspective; the layout's horizontal and vertical coordinates are obtained by dividing the linear equations of the original image's horizontal and vertical coordinates by the same linear equation, with this common divisor being the mapping denominator. The back-projection error is the pixel distance between the layout corner points after the inverse transformation is applied and projected back into the image, and the extracted image corner points. If there are available corner points other than the fitted point, use them for verification; if there are no additional corner points, use the fitted corner point for verification and retain all offset candidates that meet the tolerance. The candidate retention decision is based on the largest error among the corner points involved in the verification.

[0025] Positioning tolerance is the allowable image positioning deviation, measured in pixels, and is determined by the projection of camera calibration residuals, corner extraction errors, and layout errors onto the image plane. These deviations can be measured point-by-point in calibration images with known correspondences. A conservative upper bound is applied to the adopted viewpoint, sharpness, and roof partitioning, with an error margin. If the current image exceeds these conditions, recalibration is performed or a positioning check state is output. Mean square error is used for fitting evaluation, while point-by-point positioning error bounds are used for candidate retention and boundary judgment. Transformations that cannot be inverted, whose mapping denominators cross or approach zero within the processing area, or those with insufficient corners or degraded correspondences are excluded from the candidate record. If all candidates are excluded, the original abnormal record is retained, and the system awaits a valid image or layout check.

[0026] Repeatedly arranged components result in smaller backprojection errors for different row and column offsets. Therefore, multiple candidates selected through corner point screening are jointly entered into subsequent verification. A complete verification location pool is then established for this round; verification locations are sampling positions in the original image used to compare the candidate predictions with the actual presence or absence of components, each location having fixed pixel coordinates and a unique location number. Image patches are rectangular pixel regions in the original image containing these locations, their extent including the top-left corner coordinates, width, and height.

[0027] At that time, the polygon of the component under each candidate is projected back to the original image, and the covered and uncovered areas of each candidate are compared. For all candidates, positions with distinguishing effect are selected in a concentrated manner. The following difference region sampling method can be adopted: the verification position is set in the image area where the presence or absence of the component predicted by at least two candidate mappings are different, and the abnormal area containing the abnormal position and the boundary uncertainty zone determined by the positioning tolerance are avoided. The difference region that is within the known effective roof area is selected, and sparse sampling points are arranged inside it; the position where at least one candidate falls into the unknown area is not included in the pool. The boundary uncertainty zone is a strip-shaped area centered on the boundary of the component projected by each candidate and expanding to both sides according to the positioning tolerance. The union of these areas is taken and then avoided. The abnormal area adopts the region mask that marks the abnormal range pixel by pixel in the anomaly detection or the outer box that surrounds the range and is combined with the positioning tolerance expansion to prevent the abnormal appearance from being used as the basis for component identity verification at the same time.

[0028] After the verification location pool is generated, the relationships between locations that may share the same entity component are first determined. For example... Figure 3As shown, with the verification position in the graph as the vertex, vertices that fall into the same component through any of the candidate mappings are connected, and connected components are the verification groups. For each candidate, the position is projected onto the layout one by one, and the unique code of the component where the landing point is located is queried; when two landing points are both located within the same component polygon, the corresponding vertices are connected. Then, the edges generated by all candidates are merged, and the connected components are obtained by graph traversal or disjoint-set data structure; when using disjoint-set data structure, each vertex is initialized as an independent set, and then the sets to which the two vertices belong are merged according to each edge. The connected component contains all vertices that can be reached from each other along these edges, and its number is the verification group number. Individual vertices without edges are grouped independently; different positions that are predicted to be without components are not connected by edges due to this common state.

[0029] The purpose of the verification group is to retain related judgments that may belong to the same component: when the correct candidate is not yet clear, as long as there is a candidate that makes two positions belong to the same component, the two positions are included in the same counting unit; vertices connected consecutively by multiple candidates also belong to the same group. For example, if the first candidate connects positions A and B, and the second candidate connects B and C, the three positions are grouped together, and the differences and inconsistencies are counted according to the common verification group. This processing allows reflections, occlusions, or local recognition deviations of the same component to affect multiple positions simultaneously, avoiding multiple related pixels being repeatedly treated as independent distinguishing information. If the candidate relationship causes the group to be too large, resulting in an insufficient number of groups, the group is retained and transferred to the branch to be verified.

[0030] The candidate mappings are generated according to the component layout, and a sequence of component presence / absence for each verification group is generated within the image blocks of the inspected image. When a candidate maps a verification position to the interior of a component, it is predicted as having a component; when it maps to a component gap within a known valid roof area, it is predicted as having no component. The mapping processing node generates a prediction sequence based on the layout and candidate transformations before image block recognition. The presence / absence status of each verification group within the image block is arranged according to the verification position number, forming the sequence of component presence / absence. A verification group can span multiple image blocks; when multiple blocks are selected, the sequence is formed by the union of the covered positions of these blocks, with overlapping positions still occupying only one sequence position.

[0031] When comparing a pair of candidates, predictions at the same verification location are compared group by group. A group is counted as a difference verification group if the predictions of at least one included location within that group differ in state. Multiple different locations within the same group are still counted as one group. Locations not covered by the selected image patch are not included in the current comparison, and empty sequences are counted as zero. This comparison is repeated for all combinations of different candidates to obtain the number of difference verification groups for each pair of candidates. In this way, the judgment criteria change with the coverage of the selected patch, while the verification group affiliation remains fixed after the group is created.

[0032] The permissible number of misclassified groups is the upper limit of the original verification group number that the actual identification result is allowed to deviate from the true presence or absence of components in this round. It is a non-negative integer, and the unit is groups. When determining this number, first, use manually marked components, visible gaps, and occlusion areas in the same type of inspection images to fix the feature extraction configuration and initial classification configuration. In independent calibration images with reliable image-to-layout correspondence, generate verification groups according to this method and count the number of groups with initial classification errors. Use the maximum number of error groups in each calibration image as the budget base value, and then add margin according to the number of original verification groups that may be affected by occlusion or reflection that needs to be tolerated. After the budget is determined, select the acceptance threshold and the discrimination threshold according to the calibration process below to form the identification configuration for this round. The budget is fixed as the operating parameter for this round, and multiple error locations in the same original verification group are counted as one error group. If all requestable locations still cannot provide a group difference of more than twice the budget, the budget remains unchanged for the current round and the positioning pending verification status is output. Subsequent re-inspections will establish a new verification round.

[0033] The mapping processing node requests image patches from the edge nodes to ensure that any candidate mapping pair meets the distinguishing condition: the number of verification groups with different sequences of the components is greater than twice the number of groups that can be misclassified. Before requesting, the set of image patches expected to meet the condition is selected based on layout prediction, and then the request is sent. Candidate image patches can be divided into original images according to a fixed grid, or the bounding rectangle of the difference region can be taken, and a coverage index of the patch pair position is established on the entire verification position pool; when using the following local feature classification, the range of the candidate image patch simultaneously covers the verification position and its complete classification neighborhood, and the coverage index is established according to whether the complete neighborhood is obtained. The patching method does not change the already formed group number.

[0034] To reduce redundant transmissions, a candidate mapping pair that does not meet the differentiation criteria is designated as a mapping pair to be differentiated. The number of verification groups in which the component shows a sequence difference for the first time after the addition of the image block is recorded as the number of newly added difference verification groups. Specifically, in the selection process, the pair with the smallest number of current difference verification groups is first selected from the candidate pairs that have not met the criteria; if there are ties, they are selected in order of candidate number. For this pair, image blocks that have not yet been selected are temporarily added one by one, and the verification groups that previously did not differentiate this pair are checked to see which ones show a difference for the first time due to the addition of the position, and then the count is repeated.

[0035] Image blocks are selected sequentially based on the ratio of the number of newly added difference verification groups to the number of transmitted bytes of the image block. Multiple difference verification positions within the same verification group are counted only once. The block with the largest ratio is selected, and when they are in a tie, they are selected by block number. Then, the number of difference groups for all candidate pairs is updated, and the next mapping pair to be distinguished is selected. The number of transmitted bytes is obtained from the block length index after precoding at the edge node; when using uncompressed pixel blocks, it is calculated based on the image width, height, number of channels, and number of bytes per channel, and is included in the actual message header length. Blocks already cached in this round are directly incorporated into the coverage area and are not included in the positive byte number ratio calculation. Selection stops when the number of newly added difference groups is zero, the block pool is exhausted, or the communication resource limit for this round is exceeded, and unsatisfied candidate pairs are retained.

[0036] The request sent to the edge node includes the original image identifier of the inspected image, the image verification value, and the pixel range of the image block. The original image identifier corresponds to a fixed original image file. The image verification value is a digest value calculated when the file is first registered, which can use the SHA-256 digest algorithm to calculate a fixed-length digest from the file's byte sequence, used to verify the consistency of the image file content before and after the request. The request also carries the verification number for this round to distinguish multiple processing tasks of the same device. The pixel range uses a coordinate system with the top-left corner of the original image as the origin, extending horizontally to the right and vertically downwards. The block boundaries adopt a left-closed, right-open, top-closed, and bottom-open rule.

[0037] The edge node retrieves the inspection image pointed to by the original image identifier and calculates a verification value. If the verification value matches the image verification value, the image block is cropped according to the pixel range. Verification is performed on the retrieved complete original image file; only after a match is found is the image decoded and cropped according to the original image coordinates. The returned message carries the verification number, original image identifier, actual pixel range, and image block data. The mapping processing node verifies these fields and the decoded width and height, including data where the verification number, original image identifier, actual pixel range, and decoded width and height all match in this round of verification. The block transmission process uses lossless encoding or original pixels to avoid subsequent block encoding altering the sampled pixels.

[0038] Verification locations within the pixel range of the image block that has not been acquired are considered unidentifiable verification locations. Expired original images, miscalculations, decoding failures, incorrect return ranges, or waiting beyond the current reception period are all treated as not acquired. If the same location has already been acquired by another valid overlapping block in the current round, the acquired result is retained. The reception period is determined based on the image buffer period, measured link throughput, and allowed inspection processing latency; the frame will not be requested again after the buffer validity period expires.

[0039] After obtaining valid image patches, the recognition results are categorized into three types: component presence, visible but no component, and indistinguishable. Recognition can utilize a pixel segmenter trained on labeled images, outputting component surfaces, visible rooftops or passageways, and occluded areas, respectively; simultaneously, it checks for discernibility caused by blurring, saturation, and shadows. If the verification location falls within the component surface and meets the acceptance criteria, it is determined to have a component; if it falls within the visible rooftop or passageway and has clear background evidence, meeting the acceptance criteria, it is determined to be visible but no component. Locations that are occluded, blurred, have class conflicts, or lack sufficient confidence are determined to be indistinguishable; if no component is detected and visible background evidence is lacking, the output is "indistinguishable."

[0040] An executable recognition implementation employs local feature classification. A neighborhood centered on the verification location, avoiding uncertainties at candidate boundaries, is extracted. The black level and full-scale reference calibrated for each channel are used as fixed black and white levels, respectively. Pixel values ​​are linearly scaled to 0 to 1 according to the ratio between the two references. Neighborhoods with pixels exceeding the range or saturated pixels are treated as indistinguishable. For effective neighborhoods, the mean, variance, gradient direction histogram, and edge density of each channel are calculated, forming fixed-dimensional features. The gradient direction histogram represents the distribution of local intensity changes in each direction. It is first calculated by differencing horizontally and vertically adjacent pixel values, and the direction and length of the vector formed by the two differences are taken as the direction and magnitude of the change. Then, the magnitudes of each channel are accumulated according to fixed direction intervals. Edge density represents the proportion of edge pixels in the neighborhood, obtained by dividing the number of pixels with change magnitudes exceeding a fixed edge threshold by the total number of neighborhood pixels included in the statistics. The direction interval and edge threshold are pre-set as recognition configurations and remain consistent during training, calibration, and inference; if effective differences within the neighborhood cannot be obtained, the output is indistinguishable. Samples were manually categorized into three classes: component surface, visible roof or passageway, and occluded / unclear. The mean features of each class were calculated, and the data was standardized using the standard deviation of each feature dimension across all training samples. Dimensions with a scale of zero were removed from both training and inference. Initial classification assigned features to the class with the smallest standardized Euclidean distance; this distance was calculated by dividing the difference between each feature dimension and the mean of its corresponding class by the corresponding standard deviation, summing the squares of the resulting components, and then taking the square root. During inference, a class was accepted if the nearest class distance was not greater than the class acceptance threshold, and the difference between the second nearest class distance and the nearest class distance was greater than the discrimination threshold; otherwise, the output was "indistinguishable." "Indistinguishable" was still output even when the nearest class was occluded or unclear; it was also output when no usable feature dimension was available.

[0041] These thresholds are selected using labeled calibration samples separated from the training samples: the observed nearest class distance is used as a candidate value for the corresponding class acceptance threshold, and 0 and the non-negative difference between the observed second nearest class distance and the nearest class distance are used as candidate values ​​for the discrimination threshold. For each threshold group, the error rate and indistinguishable proportion of accepted locations are statistically analyzed. Priority is given to controlling the number of verification groups involved in accepted errors. Combinations that ensure the number of accepted error groups in each calibration image does not exceed the configured budget are selected, and more discernible locations are retained in these combinations. If no threshold combination meets the conditions, the locations under this configuration are treated as indistinguishable. The local neighborhood size is determined based on the component's width and boundary safety distance in the image. If a complete internal neighborhood cannot be obtained, it is set as indistinguishable. Recalibration is performed when changes in camera, viewing angle, or lighting conditions exceed the coverage of the calibration samples. The calibration results are used to determine the recognition configuration under the above camera, viewing angle, and lighting conditions; when the number of original verification groups involved in the actual errors meets the budget for this round, a unique mapping is determined according to the criteria described later.

[0042] The mapping processing node identifies the presence or absence of components in the image patch, eliminates indistinguishable verification positions, maintains the verification group affiliation, and verifies the distinguishing conditions. The elimination operation removes these positions from the set of positions used for sequence comparison in this round, while the verification group definition and association graph remain unchanged. After eliminating indistinguishable verification positions, each candidate mapping uses the same remaining verification positions as the identification result, maintaining the number of allowable misclassification groups unchanged. Even if only one position remains in the original group, the original group number is retained; groups with no remaining positions do not generate difference or inconsistency counts.

[0043] The remaining positions are used to re-compare the component presence / absence sequence of all candidate pairs. For each candidate mapping, if the recognition result of any remaining verification position within the same verification group is inconsistent with the state in the component presence / absence sequence, then the verification group is counted as an inconsistent verification group. This count is accumulated for each original group of the same candidate to obtain the number of inconsistent verification groups between the candidate and the actual image recognition result. The prediction comparison and recognition comparison use the same position number, the same original group, and the same presence / absence state definition.

[0044] If the differentiation criteria are not met after review, unrequested image blocks from the inspected image are selected for the candidate mapping pairs that do not meet the criteria. The selection order is still determined by the number of newly added difference groups and the number of transmitted bytes, but the new coverage is calculated based on the already received valid locations. Each selection consumes at least one unrequested block, and the limited block pool and reception period terminate the selection process. If there are no locations to add differences, the original image is invalid, or communication resources are insufficient, the current round of selection is stopped and a location pending verification status is output.

[0045] When supplementing the image blocks, the recognition results of the previously obtained image blocks are accumulated. Recognition results for the same verification location within overlapping image blocks are counted only once. The verification status table uses a joint index of the original image identifier and the verification location number to store the original group to which the location belongs, the identifiable status, the recognition value, and the recognition configuration version. Repeatedly returning the same result does not increase the count; data that is late but still valid in this round can be incorporated before verification. Pixels at the same location in a lossless block are identical; when result conflicts occur due to changes in the recognition context, the location is first set to indistinguishable, or a determined unified recognition configuration is used for re-recognition.

[0046] During a verification process, the candidate mappings and verification groups remain unchanged. If the identification results already used for verification are changed, the differentiating conditions are re-verified for all candidate mappings using the changed identification results, and the unique candidate mapping is re-determined. The unique positioning result of this round is temporarily stored before being written to the component runtime record. When changes involve used verification locations, the submitable status of this round is first revoked, and then the re-verification is completed. If it is necessary to change the component layout, candidate mappings, or the complete verification location pool, the current round is ended and a new group is created. The new round and the old round are recorded separately, and error budgets from different rounds are not merged.

[0047] If the unique candidate mapping cannot be completed or does not exist, the candidate mapping and the anomaly location are retained, and a location pending verification status is output, without binding the anomaly location to a single component's unique code. The location pending verification status indicates that the anomaly has been recorded, but the component identity has not yet been determined. The record includes the original image identifier, anomaly location, candidate number, and the reason for not meeting the conditions. The digital twin can still display the original anomaly on the roof or array layer, and the component-level operation record is not overwritten accordingly. After obtaining a new original image during the next re-examination, candidate generation and verification are performed again; when new evidence is obtained through manual verification or layout checking, a new verification round is also established.

[0048] For the distinction criteria after review, when satisfied, the unique candidate mapping with the number of verification groups where the identification result is inconsistent with the component does not exceed the allowable number of misjudgment groups is used to bind the abnormal position to the component's unique code and update the digital twin's operating status. In actual execution, it first determines whether the number of differing groups for all candidate pairs exceeds twice the budget, then checks the number of candidates within the budget; if the number is one, binding begins; if the number is zero or there are more than one conflict, it proceeds to pending review. If two different candidates are both within the budget, the total set of original groups inconsistent with the identification result is at most twice the budget. Therefore, these two candidates can only be different within these groups, contradicting the already passed distinction criteria. This relationship illustrates that when the true mapping is included in the candidates, the layout is valid, and the error does not exceed the budget, the unique candidate that passes review can correspond to the true mapping; it does not require statistical independence between different verification groups.

[0049] To handle cases where outliers are near component boundaries, the outlier location is converted into a layout landing point via the unique candidate mapping. The layout landing point is the position of the outlier in the adopted roof coordinates. Only when the neighborhood centered on the layout landing point and with the layout coordinate error calculated using the positioning tolerance as the radius falls within the same component boundary is the outlier location bound to the component's unique code; otherwise, a positioning pending verification state is output. For multi-point outlier areas, this judgment can be performed point by point; for cross-component areas, their reliable attribution portions are recorded separately, while the remaining portions retain the positioning pending verification state.

[0050] The layout coordinate error employs a conservative transformation bound that covers the image positioning tolerance. For images involving only rotation, translation, and uniform scaling undergoing affine transformations to the layout, the pixel tolerance is directly converted to the layout distance using this scale. For general planar projection transformations, the four corners of a square centered on the abnormal pixel and with a side length equal to twice the positioning tolerance are projected onto the layout. When the transformation denominator has the same sign and is far from zero within the entire square, the projection results in a bounded convex quadrilateral. The maximum distance from the four projection corner points to the layout landing point is taken as the radius enclosing the quadrilateral, and then the layout coordinate error margin not yet included is added. The circular pixel error domain is contained within this square, so the radius can enclose its projection. If a reliable error bound cannot be established or the neighborhood crosses the component boundary, a kernel branch is executed. If the horizontal and vertical coordinates of the layout are normalized at different intervals, the error conversion and boundary inclusion are calculated in the same normalized coordinates. When physical distance is required, the coordinates are first restored according to their respective horizontal and vertical intervals, and then distance and inclusion judgments are made.

[0051] After the identification results of this round are verified and pass the binding conditions, the mapping processing node retrieves the digital twin object based on the component's unique code, writes the anomaly category, original image identifier, anomaly location, layout landing point, acquisition time, and positioning status into the object's operation record, and updates the component's anomaly display status. Before writing, the layout version is checked again to ensure consistency with this round; if the layout has changed, the old round of positioning is not submitted. Historical records are maintained based on image acquisition time; earlier images can have historical events appended, but the current status of later times is not overwritten. The current, voltage, and other operating quantities of the inverter or string are associated with the corresponding inverter or string according to the actual measured object, and are available for querying through the ledger relationship; the component level updates the image anomaly information obtained from this round of positioning. After the component operation record is written, this round ends, and subsequent identification results or new identification configurations are processed according to a new verification round. Re-inspection images after maintenance are processed according to a new round, and their located anomalies or recovery results are associated with the same component code, forming a traceable operation record.

[0052] The following uses a normalized component layout to illustrate the candidate formation and verification process. The horizontal axis of the layout is normalized according to column spacing, and the vertical axis according to row spacing. Each component within a slot occupies a relative position of 0.1 to 0.9 in both the horizontal and vertical directions. This dimensionless range describes the arrangement's occupancy; the actual length and width are calculated according to the corresponding spacing. Rows 0 and 3 are used, and each row is numbered from 0 to 11 in columns. Column 4 of row 0 and column 8 of row 3 are known gaps. In the original image, every 100 pixels corresponds to one normalized coordinate unit. For the three candidates, A, B, and C, the image coordinates are reduced by a factor of 100, with the horizontal coordinates increased by 0, 1, and 2 respectively, while the vertical coordinate remains unchanged.

[0053] In the original image, the four corners of a repeating component have x-coordinates of 910, 990, 990, and 910 pixels, and y-coordinates of 10, 10, 90, and 90 pixels, respectively. The three candidate components are positioned so that the corners of the components in rows 0 and columns 9, 10, and 11, respectively, all achieve zero backprojection error. The recorded outlier point has an x-coordinate of 950 pixels and a y-coordinate of 50 pixels. Since the three candidate components will classify this outlier into different components, the difference area verification is continued.

[0054] Two positions are selected from the original image area corresponding to rows 0, columns 2, 3, 4, and rows 3, columns 6, 7, 8. The horizontal and vertical offsets of these two positions relative to the top left corner of each slot are 0.35 and 0.65 normalized units, respectively. Both positions are within the same component of at least one candidate prediction. After merging the edges of all candidates, six verification groups are formed, with two positions in each group. Each group is numbered according to the aforementioned slot order. Two positions have the same prediction state under the same candidate, so listing the states in the group order is sufficient to describe this calculation: Candidate A is: Yes, Yes, No, Yes, Yes, No; Candidate B is: Yes, No, Yes, Yes, No, Yes; Candidate C is: No, Yes, Yes, No, Yes, Yes. The program still saves the two positions in each group during comparison, and any difference within a group is counted as only one group.

[0055] After requesting that the local blocks at these locations can be covered, the number of difference verification groups for A and B, A and C, and B and C is 4 each. When the number of misjudgment groups allowed is 1, all three candidate pairs meet the distinction criteria. If the actual correspondence is A, and the two locations in the first group are identified as having no component while the remaining groups are consistent with A, the number of inconsistency verification groups for candidates A, B, and C are 1, 5, and 3 respectively, with only A being within the budget. The outlier point is mapped from A to the layout position at x-coordinate 9.5 and y-coordinate 0.5, belonging to the component at row 0 and column 9. If the current transformation with the same horizontal and vertical scale is used, the positioning tolerance is 2 pixels, and other errors are already included in this tolerance, then the layout error radius is 0.02, the distance from the outlier point to the nearest boundary of the component is 0.4, and the entire neighborhood is within this component, so its unique code can be bound. If the horizontal coordinate of the layout landing point is changed to 9.11 and the y-coordinate remains 0.5, and the distance to the nearest boundary is only 0.01, then it is retained for verification.

[0056] Under the same layout, if all positions in the first two verification groups are eliminated due to indistinguishability, the number of difference verification groups for the remaining positions (A and B, A and C, B and C) are 3, 3, and 2 respectively. The last pair does not meet the condition of being greater than 2, so a block that has not yet been requested and can provide differences should be added; if there is no such block, the output is a location pending verification state. If the allowed number of misjudged groups is changed to 2, even if all 6 groups are distinguishable, the number of difference groups (4) does not meet the condition of being greater than twice the budget. If the image only covers the interior of a completely repeated array, and each candidate predicts a component at all available positions, then the number of difference groups is 0, and the output is a location pending verification state.

[0057] The verification location pool can also include locations predicted by all candidates, and verification groups are established according to the complete location pool. On a known roof cross section, the horizontal ranges of the two components are 0 to 0.8 and 3 to 3.8 respectively, and the vertical range is taken inside the component; four verification locations are set with horizontal coordinates of 0.3, 0.7, 1.1, and 3.2, and the landing point under each candidate is located within the known roof range. Candidate A keeps its horizontal coordinate, and candidate B subtracts 0.5 from its horizontal coordinate, and the predictions of the two candidates are yes, yes, no, yes and no, yes, yes, no. The first three locations are connected by the same component relationship between the two candidates and combined into an original group, and the fourth location forms a separate group. After deleting the second bridging location, the original groups to which the first three locations belong are still maintained. The two candidates have a maximum of two difference groups, and the discrimination condition cannot be passed when the number of misjudged groups is 1. If the bridging location is deleted and a new group is created, the remaining locations will be divided into 3 groups, and the counting unit of the original verification group will change accordingly; after maintaining the original group affiliation, the 1st and 3rd locations will still participate in the difference and inconsistency counting as one original group.

[0058] This processing method is suitable for inspection tasks where there are multiple reasonable images leading to layout candidates, and the original image contains identifiable gaps, channels, or boundaries. The location of component gaps and image block divisions can be changed, and verification groups can also be obtained by traversing other images, but the common scope and budget conditions of the component associations, original group affiliations, and actual identifiable locations derived from the candidates must remain consistent. If, through re-inspection or manual verification, it is found that the true mapping is not covered by the candidate enumeration, the layout record does not match the actual installation status, or the actual misjudgment exceeds the budget, the layout and shooting location range should be checked first, and after obtaining the verification basis again, candidates should be regenerated in a new round and the verification should be completed.

Claims

1. A method for digital twin operation mapping and anomaly localization of a photovoltaic power plant, characterized in that: Multiple candidate maps are generated from the inspection images and component layouts to record the locations of anomalies in the images; Using the verification position in the diagram as a vertex, connect the vertices that fall into the same component through any of the aforementioned candidate mappings, and use the connected components as verification groups; Generate each candidate mapping according to the component layout, and generate the presence or absence sequence of each verification group's components within the image block of the inspection image; The edge node is requested to provide the image patch such that any candidate mapping pair satisfies the distinguishing condition: the number of verification groups with different sequences of the components is greater than twice the number of groups that can be misjudged. Identify the presence or absence of components in the image block, eliminate indistinguishable verification locations, maintain the affiliation of the verification group, and verify the distinguishing conditions; When the condition is met, the abnormal position is bound to the component with a unique code and the digital twin operation status is updated, based on the unique candidate mapping where the number of verification groups with inconsistent identification results with the component does not exceed the number of allowable misjudgment groups.

2. The method according to claim 1, characterized in that, Generating the candidate mapping includes: extracting component corner points from the inspection image and establishing a local image grid; enumerating the whole row and whole column offsets of the local image grid relative to the component layout within the shooting position error range; fitting the projection transformation from the image to the layout respectively; and retaining the projection transformation and offset of the component corner point back projection error not exceeding the positioning tolerance.

3. The method according to claim 2, characterized in that, The verification location is set in an image region where the presence or absence of components differs between at least two candidate mapping predictions, avoiding abnormal regions containing the abnormal location and boundary uncertainty zones determined by the positioning tolerance; the presence or absence of components in each verification group within the image block is arranged according to the verification location number to form the presence or absence sequence of components.

4. The method according to claim 1, characterized in that, A candidate mapping pair that does not meet the discrimination condition is recorded as a mapping pair to be distinguished. The number of verification groups in which the component has a sequence difference for the first time appears after the image block is added is recorded as the number of newly added difference verification groups. The image block is selected sequentially according to the ratio of the number of newly added difference verification groups to the number of transmitted bytes of the image block. Multiple difference verification positions in the same verification group are counted only once.

5. The method according to claim 1, characterized in that, The request sent to the edge node includes the original image identifier of the inspection image, the image verification value, and the pixel range of the image block; the edge node retrieves the inspection image pointed to by the original image identifier and calculates the recalculated verification value; when the recalculated verification value matches the image verification value, the image block is cropped according to the pixel range; the verification positions within the pixel range of the image block that have not been obtained are regarded as unidentifiable verification positions.

6. The method according to claim 5, characterized in that, The identification results are divided into three categories: those with components, those with visible components but no components, and those that are indistinguishable. After removing the indistinguishable verification positions, each candidate mapping uses the same remaining verification positions as the identification results, keeping the number of allowable misjudgment groups unchanged. For each of the candidate mappings, if the identification result of any remaining verification position within the same verification group is inconsistent with the state in the sequence of presence or absence of the component, then the verification group is counted as an inconsistent verification group.

7. The method according to claim 6, characterized in that, If the distinction condition is not met after review, the unrequested image block of the inspection image is selected for the candidate mapping that does not meet the distinction condition; if the unique candidate mapping cannot be completed or does not exist, the candidate mapping and the abnormal position are retained, the positioning pending verification status is output, and the abnormal position is not bound to the unique code of a single component.

8. The method according to claim 2, characterized in that, The abnormal location is converted into a layout landing point through the unique candidate mapping; the abnormal location is bound to the component's unique code only when the neighborhood centered on the layout landing point and with the layout coordinate error calculated by the positioning tolerance as the radius falls within the same component boundary; otherwise, the positioning pending state is output.

9. The method according to claim 7, characterized in that, When supplementing the image block, the recognition results of the image block that have been obtained are accumulated. The recognition results of the same verification position within the overlapping image block are counted only once. During a verification process, the candidate mapping and the verification group remain unchanged. If the recognition results that have been used for verification are changed, the changed recognition results are used to re-verify the distinction conditions for all candidate mappings and redetermine the unique candidate mapping.

10. A digital twin operation mapping and anomaly location system for a photovoltaic power station, characterized in that, It includes an edge node and a mapping processing node; the edge node stores the inspection image and returns image blocks extracted from the inspection image upon request from the mapping processing node; the mapping processing node is communicatively connected to the edge node, stores the component layout and component unique code, and is configured to perform the method of any one of claims 1 to 9.

Citation Information

Patent Citations

  • Distributed photovoltaic online monitoring management system

    CN116566325A

  • Photovoltaic module positioning method, device and equipment and storage medium

    CN117152255A