An unmanned aerial vehicle power grid intelligent inspection method based on a visual language action large model

By constructing a large visual language model with multiple types of training datasets and adopting low-rank adaptive training, the problem of insufficient autonomous decision-making in complex environments of UAV power grid inspection technology is solved, realizing flexible autonomous flight and efficient scene adaptation of UAVs in power grid inspection.

CN123137331APending Publication Date: 2026-11-20HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611628324.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-21
Publication Date
2026-11-20

Smart Images

  • Figure CN123137331A_ABST
    Figure CN123137331A_ABST
Patent Text Reader

Abstract

The application discloses an unmanned aerial vehicle (UAV) power grid intelligent inspection method based on a visual language action large model, and belongs to the field of power grid inspection. In order to solve the technical problems that the existing UAV power grid inspection technology does not have the ability of autonomous analysis, autonomous decision and dynamic adjustment of operation instructions based on real-time visual pictures in actual operation scenes, and the flexibility and scene adaptability of the inspection are poor, a training data set containing a task prompt word, an image and a control decision is constructed; the continuous control quantity of the UAV in the control strategy in the training data set is discretized into a plurality of intervals, and each interval is respectively mapped to a unique corresponding action token; the training data set is input into a visual language large model for low-rank adaptive fine-tuning to obtain a visual language action large model; after deployment, real-time images and prompt words are input, action tokens are output by model reasoning, and the action tokens are decoded into control instructions to control the UAV to perform an inspection task. The method is mainly used for controlling the UAV to realize autonomous power grid inspection tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power grid inspection technology, and specifically to an intelligent power grid inspection method using unmanned aerial vehicles (UAVs). Background Technology

[0002] Intelligent power grid inspection using unmanned aerial vehicles (UAVs) refers to a technological approach that utilizes UAVs equipped with high-definition cameras, infrared thermal imagers, and other payloads to autonomously fly along transmission line corridors or around power poles, replacing traditional manual visual inspections to acquire images of power facilities and equipment and diagnose defects. The core objective of intelligent power grid inspection using UAVs is to achieve automated and intelligent inspection and environmental monitoring of transmission and distribution lines in complex geographical environments, thereby efficiently identifying potential hazards and ensuring the safe and stable operation of the power grid.

[0003] Currently, the technology for unmanned aerial vehicle (UAV) power grid inspection is mainly based on pre-designed control algorithms. When faced with complex and ever-changing power grid environments, it lacks the ability to autonomously analyze, make decisions, and dynamically adjust control commands based on real-time visual images, resulting in poor inspection flexibility and scenario adaptability. Summary of the Invention

[0004] To overcome the technical problems of existing UAV power grid inspection technologies in actual operation scenarios, which lack the ability to autonomously analyze, make decisions, and dynamically adjust control commands based on real-time visual images, resulting in poor inspection flexibility and scenario adaptability, this invention provides a UAV-based intelligent power grid inspection method based on a large visual language action model.

[0005] This invention is achieved through the following technical solution:

[0006] A method for intelligent UAV-based power grid inspection using a large visual language action model includes the following steps:

[0007] Step 1: Construct a training dataset, including at least complete inspection process type data, single-step control inference type data, inference-guided type data, data for action space and image space alignment, and environmental cognition type data; other types of data besides environmental cognition type data include at least task prompts, inspection scene images, and control decisions; the control decisions are composed of discrete interval indices to which the control quantities belong, each index is obtained by discretizing the continuous control quantities of the corresponding dimension into several intervals, and each interval index is mapped to a unique corresponding action. ;

[0008] Step 2: Input the training dataset into the pre-trained visual language large model, and train the visual language large model using a low-rank adaptive method to obtain the visual language action large model.

[0009] Step 3: Deploy the large-scale visual language action model to the drone terminal or ground control station;

[0010] Step 4: When performing the inspection task, input the real-time acquired inspection images and task prompts into the visual language action model to obtain the predicted actions. Sequence; predicting actions The sequence is decoded into drone control commands, which are then used to control the drone to perform power grid inspection tasks.

[0011] Furthermore, the data format of the complete inspection process type data described in step one is "task prompt, inspection scene image one, control decision one, inspection scene image two, control decision two, ..., inspection scene image". Control Decision ”;

[0012] The task prompt is the prompt for the currently executing power grid inspection task; Inspection Scene Image 1 is the inspection scene image collected by the UAV at its starting position, Inspection Scene Image 2 is the inspection scene image collected by the UAV after executing Control Decision 1, and so on. Performing control decisions for drones The inspection scene images were acquired subsequently; control decision one is the UAV control decision corresponding to inspection scene image one, control decision two is the UAV control decision corresponding to inspection scene image two, and so on, control decisions... For inspection scene images Corresponding drone control decisions;

[0013] The inspection scene images and their corresponding control decisions constitute a time sequence.

[0014] Furthermore, the data format of the single-step control reasoning type data mentioned in step one is "task prompt words, inspection scene images, problem text, control decisions";

[0015] Among them, the task prompt is the prompt for the current power grid inspection task; the inspection scene image is the inspection scene image collected by the UAV when performing the current power grid inspection task; the question text is asking the model what UAV control decision should be made in the current inspection scene; and the control decision is the UAV control decision corresponding to the current inspection scene image.

[0016] Furthermore, the data format of the reasoning-guided type data mentioned in step one is as follows: "Task prompt, inspection scene image one, question text one, natural language reasoning guidance text one, control decision one, inspection scene image two, question text two, natural language reasoning guidance text two, control decision two, ..., inspection scene image..." Problem text Natural Language Inference Guides Text Control Decision ”;

[0017] Among them, the task prompt is the prompt for the currently executed power grid inspection task; Inspection scene image one is the inspection scene image collected by the UAV during the current power grid inspection task; Inspection scene image two is the inspection scene image collected by the UAV after executing control decision one, and so on, inspection scene images Performing control decisions for drones The inspection scene image was acquired later; the question text asked the model what drone control decision should be made in the current inspection scene image; the natural language reasoning guidance text included a description of the visual features of the current inspection scene image and the reasons for the corresponding control decision; control decision one was the drone control decision corresponding to the current inspection scene image one.

[0018] Furthermore, the data format for the action space and image space alignment type data described in step one is "task prompt word, first inspection scene image, second inspection scene image, problem text, control decision";

[0019] The first inspection scene image and the second inspection scene image are two consecutive frames of images during the UAV inspection process; the question text is used to inquire about the UAV control actions corresponding to the image changes from the first inspection scene image to the second inspection scene image; the control decision is the UAV control decision corresponding to the changes in the two consecutive frames of images.

[0020] Furthermore, the environmental cognition type data mentioned in step one includes a general visual sample set of power grid infrastructure, which at least covers image data of transmission lines, power poles and insulating devices and corresponding scene description text.

[0021] Furthermore, the continuous control quantity mentioned in step one includes the UAV in , and Three-dimensional velocity in the axial direction And around angular velocity of axis rotation ;in For the speed of drones Components in the axial direction, For the speed of drones Components in the axial direction, For the speed of drones Components along the axial direction;

[0022] Based on the physical limits of the UAV actuator, the value range of each continuous control variable is determined. For each continuous control variable, the value range is evenly divided into several discrete intervals, with each discrete interval corresponding to a unique action. The number of discrete intervals divided by each continuous control variable is the same.

[0023] Furthermore, the low-rank adaptive method adopts method.

[0024] Furthermore, during the training of the large visual language model, only the actions in the output sequence of the large visual language model are processed. Calculate the loss function value.

[0025] Furthermore, the predicted action Sequence decoding into drone control commands specifically involves: determining the predicted actions. The corresponding discrete interval of the continuous control quantity is determined, and the median of this discrete interval is output as the restored continuous control quantity value.

[0026] The beneficial effects of this invention are:

[0027] To address the technical shortcomings of existing UAV power grid inspection systems, which rely on preset routes and lack real-time vision-based autonomous decision-making capabilities, this invention first constructs a multi-type training dataset containing complete inspection trajectories, single-step reasoning, reasoning guidance, modal alignment, and inspection environment cognition. Within each type of data in the training dataset, the continuous control quantities of the UAV are discretized into several intervals, with each interval mapped to a unique corresponding action. ,constitute The system generates a sequence of control commands; it inputs the training dataset into a pre-trained visual language model and trains the model using a low-rank adaptive method to obtain a visual language action model with professional power grid inspection capabilities; after deployment, the UAV autonomously infers and outputs predicted actions based on real-time inspection images. The sequence is decoded to generate control commands to operate the drone for inspection tasks. This invention enables drones to autonomously perceive and make decisions based on real-time visual images, dynamically adjusting flight strategies in complex and ever-changing inspection scenarios without human remote control intervention, thus improving the flexibility and adaptability of drones in power grid inspection tasks. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0029] Figure 1 This is an embodiment of the method of the present invention, showing the drone action. Schematic diagram; in the diagram For the UAV body coordinate system, The three-dimensional velocity in the UAV's body coordinate system. This is the yaw rate.

[0030] Figure 2 This is a simplified structural diagram of a large visual language action model in one embodiment of the method of the present invention.

[0031] Figure 3 This is a schematic diagram of the power grid inspection operation process in one embodiment of the method of the present invention.

[0032] Figure 4 This is a schematic diagram of the execution flow of an intelligent UAV power grid inspection method based on a large visual language action model, provided by an embodiment of the present invention. Detailed Implementation

[0033] This invention provides a method for intelligent inspection of power grids by unmanned aerial vehicles (UAVs) based on a large model of visual language actions. This method addresses the technical problem that existing UAV power grid inspection technologies lack the ability to autonomously analyze, make decisions, and dynamically adjust control commands based on real-time visual images in actual operating scenarios, resulting in poor inspection flexibility and scenario adaptability.

[0034] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0035] Please see Figure 4 , Figure 4 This is a schematic diagram of the execution flow of an intelligent UAV power grid inspection method based on a large visual language action model, provided by an embodiment of the present invention.

[0036] This invention provides a method for intelligent inspection of power grids using unmanned aerial vehicles (UAVs) based on a large visual language action model, which may specifically include the following steps:

[0037] Step S100: Construct a training dataset, including at least complete inspection process type data, single-step control inference type data, inference-guided type data, data for aligning action space and image space, and environmental cognition type data; other types of data besides environmental cognition type data include at least task prompts, inspection scene images, and control decisions; the control decisions are composed of discrete interval indices to which the control quantities belong, each index being obtained by discretizing the continuous control quantities of the corresponding dimension into several intervals, and each interval index is mapped to a unique corresponding action. .

[0038] In this embodiment of the invention, the drone is a quadcopter drone.

[0039] In one example, the data format of the complete inspection process type data is "task prompt, inspection scene image one, control decision one, inspection scene image two, control decision two, ..., inspection scene image". Control Decision ”;

[0040] The task prompt is the prompt for the currently executing power grid inspection task; Inspection Scene Image 1 is the inspection scene image collected by the UAV at its starting position, Inspection Scene Image 2 is the inspection scene image collected by the UAV after executing Control Decision 1, and so on. Performing control decisions for drones The inspection scene images were acquired subsequently; control decision one is the UAV control decision corresponding to inspection scene image one, control decision two is the UAV control decision corresponding to inspection scene image two, and so on, control decisions... For inspection scene images Corresponding drone control decisions;

[0041] The inspection scene images and their corresponding control decisions constitute a time sequence.

[0042] In its specific implementation, the content of the complete inspection process type data is as follows:

[0043] “ Please perform the automatic inspection task of the transmission line, keep the drone flying along the direction of the conductor, and keep the conductor and insulator in the center of the image;

[0044] Inspection scene image 1: Image of the power transmission line taken by the drone from its starting position. In the image, the conductor is located in the upper right corner of the screen, and the tower is located in the distance.

[0045] Control Decision 1: ;

[0046] Inspection scene image 2: The image captured by the drone after it performed the previous control action. The conductor gradually approaches the center of the image, and the outline of the tower becomes clearer.

[0047] Control Decision 2: ;

[0048] Inspection scene image 3: The drone approaches the tower area, the insulator string appears on the left side of the image, and the conductor is basically in the center of the image;

[0049] Control Decision 3: "

[0050] in, These are task prompt tags used to clearly identify the current task of performing a power grid inspection; in control decision 1, Indicates that drones are in axial velocity components Corresponding actions Corresponding velocity components The 20th discrete interval; Indicates that drones are in axial velocity components Corresponding actions Corresponding velocity components The 18th discrete interval; Indicates that drones are in axial velocity components Corresponding actions Corresponding velocity components The 16th discrete interval; Indicates that the drone is circling angular velocity of axis rotation Corresponding actions Corresponding angular velocity The 17th discrete interval. And so on. Those skilled in the art can readily determine the meaning of other control decision content, so further details are omitted.

[0051] In one example, the data format of the single-step control reasoning type data is "task prompt words, inspection scene image, problem text, control decision";

[0052] Among them, the task prompt is the prompt for the current power grid inspection task; the inspection scene image is the inspection scene image collected by the UAV when performing the current power grid inspection task; the question text is asking the model what UAV control decision should be made in the current inspection scene; and the control decision is the UAV control decision corresponding to the current inspection scene image.

[0053] In a specific implementation, the content of the single-step control inference type data can be "

[0054] Based on the current power line inspection images, please determine the next flight maneuver that the drone should perform.

[0055] Inspection scene image: In the current image, the power transmission line is located on the left side of the screen, the insulator string is located in the lower left corner of the screen, and the inspection target is not in the center of the image;

[0056] Question: In order to bring the conductor and insulator into the central area of ​​the image, what should the drone's flight direction be adjusted next?

[0057] Control Decisions: "

[0058] in, These are task prompt tags used to clearly indicate the current task being performed: a power grid inspection.

[0059] Because complete inspection trajectory data is organized in a fixed temporal sequence, the model is prone to becoming dependent on the temporal paths within the trajectory during training. This means it can only correctly output control decisions under specific action sequence orders, while its inference ability decreases under arbitrary random inspection conditions. To address this issue, this invention introduces single-step control inference data. Each sample contains only the current single-frame image and its corresponding control decision, independent of the preceding and following temporal context. By training the model with a mixture of single-step inference data and complete trajectory data, the model can independently perform state perception and control decisions on any inspection scene image, eliminating the model's dependence on specific action sequence orders. This effectively improves the inference and generalization performance of the visual-language-action large model in complex and ever-changing power grid inspection environments under random scenarios.

[0060] In one example, the data format of the inference-guided type data is "task prompt, inspection scene image 1, question text 1, natural language inference guidance text 1, control decision 1, inspection scene image 2, question text 2, natural language inference guidance text 2, control decision 2, ..., inspection scene image". Problem text Natural Language Inference Guides Text Control Decision ”;

[0061] Among them, the task prompt is the prompt for the currently executed power grid inspection task; Inspection scene image one is the inspection scene image collected by the UAV during the current power grid inspection task; Inspection scene image two is the inspection scene image collected by the UAV after executing control decision one, and so on, inspection scene images Performing control decisions for drones The inspection scene image was acquired later; the question text asked the model what drone control decision should be made in the current inspection scene image; the natural language reasoning guidance text included a description of the visual features of the current inspection scene image and the reasons for the corresponding control decision; control decision one was the drone control decision corresponding to the current inspection scene image one.

[0062] In a specific implementation, the content of the reasoning-guided type data can be "

[0063] Please perform the power transmission line inspection task and continuously judge the drone control actions based on the image content.

[0064] Image inspection image 1: In the image, the power transmission line is biased to the left of the screen, and the tower is located at the far end of the screen. There is a lateral deviation between the current drone and the line.

[0065] Question 1: How should current drones be adjusted to maintain stable inspections along power transmission lines?

[0066] Natural Language Reasoning Guidance Text 1: The current guide line is located on the left side of the image, indicating that the drone's view is biased to the right relative to the guide line. It should be moved to the left and the yaw angle should be slightly adjusted to bring the guide line back to the center of the image.

[0067] Control Decision 1: ;

[0068] Image inspection image 2: After performing the previous action, the conductor is close to the center of the image, but the insulator string is located at the bottom of the image, and the observation angle is slightly low;

[0069] Question 2: Is it necessary to adjust the height to obtain a more suitable inspection view?

[0070] Natural Language Reasoning Guidance Text 2: The insulator string is located at the bottom of the image, indicating that the drone's viewpoint is too high or the target is at the bottom edge. The drone should be lowered or its altitude adjusted so that the insulator is located in the middle of the image.

[0071] Control Decision 2: ",in, These are task prompt tags used to clearly indicate the current task being performed: a power grid inspection.

[0072] The reasoning-guided type data introduced in this invention adds natural language reasoning guidance text, requiring the model to generate a description of the current image's visual features and the corresponding reasons for the control decision before outputting a control decision. Adding reasoning-guided type data to the training dataset has two technical effects: First, it generates explicit semantic reasoning chains by training the model, fully leveraging the inherent advantages of large visual language models in language understanding and logical deduction; second, by forcing the model to perform semantic reasoning before generating control decisions during the training phase, it prevents the model from skipping the reasoning process and directly learning the end-to-end "image-action" mapping, thus preventing the model from degenerating into a simple visual-action mapping network and ensuring that the model possesses scene-understanding-based reasoning and decision-making capabilities in complex inspection scenarios, rather than simple pattern matching.

[0073] In one example, the data format for the action space and image space alignment type data is "task prompt, first inspection scene image, second inspection scene image, problem text, control decision";

[0074] The first inspection scene image and the second inspection scene image are two consecutive frames of images during the UAV inspection process; the question text is used to inquire about the UAV control actions corresponding to the image changes from the first inspection scene image to the second inspection scene image; the control decision is the UAV control decision corresponding to the changes in the two consecutive frames of images.

[0075] In a specific implementation, the data used for aligning the action space and image space can be "

[0076] Based on the changes between two consecutive inspection images, determine what action the drone performed between the two frames.

[0077] First inspection scene image: In the first frame image, the power transmission line is located on the right side of the screen, and the tower is located in the distance, slightly to the right of the center;

[0078] Second inspection scene image: In the second frame image, the power transmission line moves to the center of the screen, the position of the tower also changes from slightly to the right to closer to the center, and the target size increases slightly;

[0079] Question: What control actions did the drone perform from the first inspection scene image to the second inspection scene image?

[0080] Control Decisions: ",in, These are task prompt tags used to clearly indicate the current task being performed: a power grid inspection.

[0081] In one example, the environmental cognition type data includes a general visual sample set of power grid infrastructure, which at least covers image data of transmission lines, power poles and insulating devices and corresponding scene description text.

[0082] This invention introduces power grid inspection environment cognition data, including target images and scene description text of power grid infrastructure, enabling the model to accurately identify and locate key targets such as transmission lines, towers and insulators, improve the model's perception of the power grid inspection environment, and optimize the visual framework parameters of the visual language action model.

[0083] In one example, the continuous control quantity includes the UAV in , and Three-dimensional velocity in the axial direction And around angular velocity of axis rotation ;in For the speed of drones Components in the axial direction, For the speed of drones Components in the axial direction, For the speed of drones Components along the axial direction;

[0084] Based on the physical limits of the UAV actuator, the value range of each continuous control variable is determined. For each continuous control variable, the value range is evenly divided into several discrete intervals, with each discrete interval corresponding to a unique action. The number of discrete intervals divided by each continuous control variable is the same.

[0085] Please see Figure 1 The continuous control variables of the UAV are divided into several discrete intervals in their respective action spaces. Figure 1 A small blue square represents an action. Vectors, several Vector composition Vector sequence; an action The vector, as a whole, uniquely corresponds to a certain control component (e.g., component). A specific discrete interval of ). Taking the vector (1, 26, 128, 215...)' as an example, this vector as a whole constitutes an action. Vector, used to map drone speed in Components in the axial direction A certain control interval; where the superscript ' indicates transpose. It should be emphasized that... The numerical values ​​inside the vector (i.e., 1, 26, 128, and 215) are only for constructing this... Vector data elements do not have independent physical meaning, nor do they correspond to different control variables. Similarly, for the speed of a drone... Components in the axial direction The speed of the drone is Components in the axial direction and angular velocity Each has its own independent Vectors correspond to this.

[0086] The specific implementation process of discretizing the continuous control quantity of a UAV into several intervals includes:

[0087] Step S101: Acquire the three-dimensional velocity in the body coordinate system of the quadcopter UAV and yaw rate The continuous control quantity; the upper and lower limit ranges of three-dimensional velocity and yaw rate are determined based on the physical limits of the UAV actuator; this provides a basis for subsequent discretization of the control quantity and... Mapping provides the basic boundaries.

[0088] Step S102: Within the upper and lower limit intervals of each control quantity described in step S201, each type of control quantity is uniformly discretized into a target number of discrete sub-intervals. The median value of each discrete sub-interval is selected as the actual execution control value for the current sub-interval. This forms a one-to-one mapping relationship between discrete sub-intervals and actual execution control values.

[0089] In this embodiment, the target quantity is set to 32.

[0090] The denser the discrete sub-intervals are divided, the higher the control accuracy of the UAV, but the greater the demand for data; the sparser the discrete intervals are divided, the lower the control accuracy of the UAV.

[0091] Step S103: Filter targets whose output frequency is lower than a preset threshold during the visual language action large model inference process. And remove the original semantic binding; use the discrete sub-intervals of various control quantities obtained in step S202 to target the target. Perform semantic binding so that each discrete sub-interval is uniquely mapped to a dedicated... .

[0092] Step S200: Input the training dataset into the pre-trained visual language large model, and train the visual language large model using a low-rank adaptive method to obtain a visual language action large model.

[0093] In one example, low-rank adaptation is used. The method fine-tunes the large visual language model.

[0094] There is no necessary correlation between the five types of data in the training dataset. In a specific implementation of this invention, the five types of data in the dataset can be randomly shuffled and organized into a standardized format. The dataset can then be uploaded to the Volcano cloud computing platform, and the LoRA fine-tuning method can be used to fine-tune the large model on the cloud computing platform. The rank r of the low-rank matrix ranges from 8 to 16.

[0095] This invention employs a low-rank adaptive fine-tuning method, which can achieve near-full-parameter fine-tuning model performance using only a small number of samples from the power grid inspection field. This strategy ensures training efficiency and convergence quality without increasing computational latency during the inference phase, significantly reducing the requirements for hardware computing power and GPU memory capacity. This enables large-scale visual-language-action models to be efficiently deployed and run in resource-constrained environments such as UAVs or ground control stations.

[0096] In one example, during the training of the visual language large model, only the actions in the output sequence of the visual language large model are processed. Calculate the loss function value.

[0097] Step S300: Deploy the large visual language action model to the UAV terminal or ground control station.

[0098] This invention adopts a systematic deployment scheme. After initiating a round of inspection task dialogue, the subsequent inspection process is completed entirely by the finely tuned visual language action model and the environment through autonomous interaction, without the need for manual intervention.

[0099] In practice, when the onboard computing power of the UAV is sufficient, the large-scale visual language and action model can be deployed on the UAV terminal side; when the onboard computing power of the UAV is insufficient, the large-scale visual language and action model can be deployed on the UAV ground control station.

[0100] Step S400: When performing the inspection task, input the real-time acquired inspection images and task prompts into the visual language action model to obtain the predicted action. Sequence; predicting actions The sequence is decoded into drone control commands, which are then used to control the drone to perform power grid inspection tasks.

[0101] In one example, the predicted action Sequence decoding into drone control commands specifically involves: determining the predicted actions. The corresponding discrete interval of the continuous control quantity is determined, and the median of this discrete interval is output as the restored continuous control quantity value.

[0102] Please see Figure 2 and Figure 3 , Figure 2 middle It is a large visual language model that outputs actions. That is, output action sequence; Figure 3 The "Output Drone Control Command" icon in the upper right corner is a diagram used for explanation.

[0103] In practice, a complete drone inspection mission may include the following steps:

[0104] Step S401: Control the drone to fly to the inspection task start area; input the preset task start. The command activates the reasoning and interaction logic of the visual language action model;

[0105] Step S402: The UAV's onboard camera acquires real-time images of the power grid equipment and transmission lines, and transmits the image data to the deployed visual language action model in real time; the visual language action model performs real-time inference analysis on the received images and outputs UAV control commands and control quantities. sequence;

[0106] Step S403: Output of the large visual language action model The sequence is reverse-decoded and parsed into standardized control commands and specific control quantities that can be recognized by the UAV flight control system, realizing the accurate conversion from model reasoning semantics to UAV entity actions.

[0107] Step S404: The UAV executes the corresponding inspection action based on the decoded control commands and control quantities; after the action is completed, it returns to step S402 and repeats the process; when the large model output task stops... When the signal is received, all inspection points have been traversed, or a manual termination command is received, the loop terminates, the drone stops its inspection actions, and the drone-based automated power grid inspection mission is fully completed.

[0108] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0109] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0110] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent inspection of power grids using unmanned aerial vehicles (UAVs) based on a large visual language action model, characterized in that: Includes the following steps: Step 1: Construct a training dataset, including at least complete inspection process type data, single-step control inference type data, inference-guided type data, data for action space and image space alignment, and environmental cognition type data; other types of data besides environmental cognition type data include at least task prompts, inspection scene images, and control decisions; the control decisions are composed of discrete interval indices to which the control quantities belong, each index is obtained by discretizing the continuous control quantities of the corresponding dimension into several intervals, and each interval index is mapped to a unique corresponding action. ; Step 2: Input the training dataset into the pre-trained visual language large model, and train the visual language large model using a low-rank adaptive method to obtain the visual language action large model. Step 3: Deploy the large-scale visual language action model to the drone terminal or ground control station; Step 4: When performing the inspection task, input the real-time acquired inspection images and task prompts into the visual language action model to obtain the predicted actions. Sequence; predicting actions The sequence is decoded into drone control commands, which are then used to control the drone to perform power grid inspection tasks.

2. The method according to claim 1, characterized in that, The data format for the complete inspection process type data described in Step 1 is "task prompt, inspection scene image 1, control decision 1, inspection scene image 2, control decision 2, ..., inspection scene image". Control Decision ”; The task prompt is the prompt for the currently executing power grid inspection task; Inspection Scene Image 1 is the inspection scene image collected by the UAV at its starting position, Inspection Scene Image 2 is the inspection scene image collected by the UAV after executing Control Decision 1, and so on. Performing control decisions for drones The inspection scene images were acquired subsequently; control decision one is the UAV control decision corresponding to inspection scene image one, control decision two is the UAV control decision corresponding to inspection scene image two, and so on, control decisions... For inspection scene images Corresponding drone control decisions; The inspection scene images and their corresponding control decisions constitute a time sequence.

3. The method according to claim 1, characterized in that, The data format for the single-step control reasoning type data mentioned in Step 1 is "task prompt words, inspection scene images, problem text, control decisions"; Among them, the task prompt is the prompt for the current power grid inspection task; the inspection scene image is the inspection scene image collected by the UAV when performing the current power grid inspection task; the question text is asking the model what UAV control decision should be made in the current inspection scene; and the control decision is the UAV control decision corresponding to the current inspection scene image.

4. The method according to claim 1, characterized in that, The data format of the reasoning-guided type data mentioned in Step 1 is "task prompt, inspection scene image 1, question text 1, natural language reasoning guidance text 1, control decision 1, inspection scene image 2, question text 2, natural language reasoning guidance text 2, control decision 2, ..., inspection scene image". Problem text Natural Language Inference Guides Text Control Decision ”; Among them, the task prompt is the prompt for the currently executed power grid inspection task; Inspection scene image one is the inspection scene image collected by the UAV during the current power grid inspection task; Inspection scene image two is the inspection scene image collected by the UAV after executing control decision one, and so on, inspection scene images Performing control decisions for drones The inspection scene image was acquired later; the question text asked the model what drone control decision should be made in the current inspection scene image; the natural language reasoning guidance text included a description of the visual features of the current inspection scene image and the reasons for the corresponding control decision; control decision one was the drone control decision corresponding to the current inspection scene image one.

5. The method according to claim 1, characterized in that, The data format for the action space and image space alignment type data described in step one is "task prompt word, first inspection scene image, second inspection scene image, problem text, control decision"; The first inspection scene image and the second inspection scene image are two consecutive frames of images during the UAV inspection process; the question text is used to inquire about the UAV control actions corresponding to the image changes from the first inspection scene image to the second inspection scene image; the control decision is the UAV control decision corresponding to the changes in the two consecutive frames of images.

6. The method according to claim 1, characterized in that, The environmental cognition type data mentioned in step one includes a general visual sample set of power grid infrastructure, which at least covers image data of transmission lines, power poles and insulating devices and corresponding scene description text.

7. The method according to claim 1, characterized in that, The continuous control quantities mentioned in step one include those of the UAV in... , and Three-dimensional velocity in the axial direction And around angular velocity of axis rotation ;in For the speed of drones Components in the axial direction, For the speed of drones Components in the axial direction, For the speed of drones Components along the axial direction; Based on the physical limits of the UAV actuator, the value range of each continuous control variable is determined. For each continuous control variable, the value range is evenly divided into several discrete intervals, with each discrete interval corresponding to a unique action. The number of discrete intervals divided by each continuous control variable is the same.

8. The method according to claim 1, characterized in that, The low-rank adaptive method adopts method.

9. The method according to claim 1, characterized in that, During the training of the visual language large model, only the actions in the output sequence of the visual language large model are processed. Calculate the loss function value.

10. The method according to claim 1, characterized in that, The predicted action Sequence decoding into drone control commands, specifically: determining the predicted actions. The corresponding discrete interval of the continuous control quantity is determined, and the median of this discrete interval is output as the restored continuous control quantity value.