Task offloading method for UAV power transmission line inspection based on neural network

The sensor data offloading strategy in the UAV transmission line inspection system is optimized through a fully connected neural network, which solves the high delay problem of traditional methods in a time-varying channel environment and achieves a low-latency and efficient data offloading solution, which is suitable for to the rapidly changing power system.

CN117729584BActive Publication Date: 2024-10-01HANGZHOU HUIJIA INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311737703.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2024-10-01
Estimated Expiration
2043-12-18

AI Technical Summary

Technical Problem

The traditional UAV transmission line inspection method is difficult to effectively offload sensor data in a time-varying channel environment, resulting in high latency and unable to meet the rapidly changing needs of the power system.

Method used

A method based on a fully connected neural network is used, using channel gain and data volume as input to build a model to optimize the sensor's data offloading strategy, and output an offloading solution that minimizes sensor energy consumption through the neural network, which is suitable for time-varying channel environments.

Benefits of technology

It achieves low-latency sensor data offloading, can decide on a sensor data offloading plan within 0.1 seconds, significantly reduces the complexity of traditional algorithms, and is suitable for frequently changing channel environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004612073370000031
    Figure BDA0004612073370000031
  • Figure BDA0004612073370000051
    Figure BDA0004612073370000051
  • Figure FDA0004994158280000021
    Figure FDA0004994158280000021
Patent Text Reader

Abstract

The present invention discloses a task offloading method for patrol inspection of power transmission lines by unmanned aerial vehicles based on neural networks. A fully connected neural network is used to output the results of integer programming problems. Convex optimization is used to solve the problem of solving continuous values. A sensor data offloading solution can be decided with low complexity within 0.1 seconds, which is one percent of that of traditional algorithms. The method is more suitable for scenarios with frequent channel changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a task offloading method for unmanned aerial vehicle power transmission line patrol inspection based on a neural network. The method is applicable to a communication mode using an orthogonal channel, and determines a sensor computing task offloading scheme and an offloading data volume in an unmanned aerial vehicle power transmission line patrol inspection system to minimize sensor energy consumption. Background Art

[0002] The power system is known for its multi-level structure and node fusion, forming a real-time dynamic system. In the power system, transmission line inspection is a critical operational task, and its main goal is to quickly identify abnormal conditions affecting electrical equipment and potential transmission line hazards. With the rapid development of my country's smart grid, the scale of transmission line networks continues to expand. However, traditional manual inspection methods have been unable to meet the growing demand for contemporary transmission line monitoring.

[0003] Currently, drones are widely used in the field of power transmission line inspection. As drone-based power transmission line inspection technology continues to advance, predetermined processes have been established, including waypoint selection and optimal imaging angles. These innovations have enabled drones to autonomously identify and analyze the images they capture, with an accuracy rate of over 80%. As a result, this paradigm shift has greatly improved the efficiency and reliability of aerial power transmission line inspections.

[0004] In addition, drones can also play a dual role as edge servers, providing a platform for offloading sensor data and subsequent sensor data computational analysis. This architectural adjustment effectively saves energy resources of sensors, promotes seamless integration of data analysis, and expands the scope of transmission line maintenance operations. Currently, existing data offloading technologies are often designed based on heuristic algorithms, which have high latency and cannot be applied to time-varying channel environments. Summary of the invention

[0005] The purpose of the present invention is to provide a task offloading method for UAV power transmission line patrol inspection based on neural network. The present invention has the characteristics of low latency and is suitable for time-varying channel environment.

[0006] The technical solution of the present invention is a task offloading method for UAV power transmission line patrol inspection based on neural network, the method comprising the following steps:

[0007] Step 1.1: In the power transmission line detection system consisting of a UAV and K sensors, a two-dimensional plane coordinate system parallel to the ground is established according to the height of the sensor. The position of the sensor is w k =(x k ,y k ), 0 <k≤K,x kis the abscissa of the position of sensor k, y k is the abscissa of the position of sensor k; the drone completes a circuit inspection of the transmission line every T time. The time T is divided into N time slots, and each time slot is T / N; the drone route is set as q(n)=(x(n), y(n)), 0 < n < N, x(n) is the abscissa of the route, y(n) is the ordinate of the route, and the drone route is a circuit route, that is, q(0)=q(N);

[0008] Step 1.2: In a circuit inspection of the drone, use a=(a1, a2, …, a k , …, a K ) to represent the offloading strategies of all sensors. The amount of data that all sensors need to calculate is represented as a vector L = [L1, L2, …, L k , …, L K , where the amount of data that the k-th sensor needs to transmit is L k ;

[0009] Step 1.3: Construct a fully connected neural network model θ, with the channel gain h and the amount of data L as inputs. The set of channel gains h is represented as h = [h1, h2, …, h k , …, h K , where h k = [h k (1), h k (2), …, h k (n), …, h k (N)], h k (n) is the channel gain between the k-th sensor and the drone in time slot n; the output result of the fully connected neural network model θ is O;

[0010] Step 1.4: Add two sets of random numbers from 0 to 1 to the output result O to obtain O1 and O2; calculate the output result with the minimum energy consumption among the three output results through the sensor energy consumption calculation method as the data offloading strategy a of the sensors;

[0011] Step 1.5: According to the data offloading strategy a of the sensors, the drone collects sensor data along a certain route in T seconds.

[0012] For the aforementioned task offloading method for drone transmission line circuit inspection based on neural network, for the sensors that offload data to the drone, the amount of data uploaded by the k-th sensor in all time slots is l k = [l k (1), l k (2), …, l k (n), …, l k (N)], where l k(n) represents the amount of data uploaded by the kth sensor in the nth time slot, 0≤n≤N;

[0013] Sensor energy consumption calculation method:

[0014] Step 2.1: For a given sensor offloading strategy, a k = 0 means that the kth sensor performs local calculation, a k =1 means that the kth sensor offloads data to the drone, and the total energy consumption of each sensor is:

[0015]

[0016] Where B is the channel bandwidth, c is the local computing energy efficiency of the sensor, and f k is the number of operations per second of the sensor's local calculation, μ is the number of operations consumed to calculate one bit of data, N0 is the noise, and h k (n) is the channel gain between the kth sensor and the UAV in time slot n;

[0017] The aforementioned neural network-based UAV power transmission line patrol inspection task offloading method and the construction method of the fully connected neural network model θ are as follows:

[0018] Step 3.1: The fully connected neural network model θ includes 1 input layer, 2 hidden layers and 1 output layer. The first hidden layer has 160 neurons, the second hidden layer has 80 neurons, and the output layer has K neurons. The activation function is the Sigmoid function: e is a natural constant;

[0019] Step 3.2: Input the channel gain h and the data volume L into the neural network θ to obtain the output O. Add two groups of random numbers between 0 and 1 to the output O to obtain O1 and O2. Use the sensor energy consumption calculation method to obtain the total energy consumption of all sensors when a=O, a=O1, and a=O2 respectively. Take the a corresponding to the minimum total energy consumption as the data unloading strategy for the sensor, and use it and the neural network input channel gain h and data volume L as training samples to train the fully connected neural network model θ.

[0020] Compared with the prior art, in the UAV power transmission line patrol inspection system, compared with the traditional optimization method, the present invention can solve a complex mixed integer programming problem, use a fully connected neural network to output the integer programming problem result, and use convex optimization to solve the continuous value solution problem. It can decide the sensor data unloading plan with lower complexity, and the time is within 0.1 seconds, which is one hundredth of the traditional algorithm, and is more suitable for scenarios with frequent channel changes. DETAILED DESCRIPTION

[0021] The present invention will be further described below in conjunction with embodiments, but it is not used as a basis for limiting the present invention.

[0022] Embodiment 1. A task offloading method for the drone power transmission line patrol inspection based on a neural network, and the specific implementation steps are as follows:

[0023] Step 1: In a power transmission line detection system composed of one drone and K sensors, a two-dimensional plane coordinate system parallel to the ground is established according to the height of the sensors, and the position of the sensor is w k =(x k , y k ), 0 < k ≤ K, x k is the abscissa of the position of sensor k, and y k is the abscissa of the position of sensor k; the drone completes a patrol inspection of the power transmission line every T time, divides the time T into N time slots, and each time slot is T / N; the drone route is set as q(n) = (x(n), y(n)), 0 < n < N, x(n) is the abscissa of the route, y(n) is the ordinate of the route, and the drone route is a patrol route, that is, q(0) = q(N);

[0024] Step 2: In a patrol inspection of the drone, use a = (a1, a2,..., a k ,..., a K ) to represent the offloading strategies of all sensors, and the amount of data that all sensors need to calculate is represented as a vector L = [L1, L2,..., L k ,..., L K , where the amount of data that the kth sensor needs to transmit is L k ;

[0025] Step 3: Construct a fully connected neural network model θ, with the channel gain h and the amount of data L as inputs. The set of channel gains h is represented as h = [h1, h2,..., h k ,..., h K , where h k =[h k (1), h k (2),..., h k (n),..., h k (N)], h k (n) is the channel gain between the kth sensor and the drone in time slot n; the output result of the fully connected neural network model θ is O;

[0026] Step 4: Add two sets of random numbers from 0 to 1 to the output result O to obtain O1 and O2; for a given sensor offloading strategy, a k = 0 indicates that the kth sensor performs local calculation, a k= 1 indicates that the k-th sensor offloads data to the UAV, and the total energy consumption of each sensor is:

[0027]

[0028] where B is the channel bandwidth, c is the energy efficiency of local sensor computing, f k is the number of operations per second for local sensor computing, μ is the number of operations consumed to compute one bit of data, N0 is the noise, h k (n) is the channel gain between the k-th sensor and the UAV in time slot n. For the sensors that offload data to the UAV, the amount of data uploaded by the k-th sensor in all time slots is l k = [l k (1), l k (2), …, l k (n), …, l k (N)], where l k (n) represents the amount of data uploaded by the k-th sensor in the n-th time slot, 0 ≤ n ≤ N;

[0029] Step 5: Calculate the output result with the minimum energy consumption among the three groups of output results through the sensor energy consumption calculation method as the data offloading strategy a of the sensor, and use it and the fully connected neural network model to input the channel gain h and the data volume L as training samples to train the fully connected neural network model θ;

[0030] Step 6: According to the data offloading strategy a of the sensor, the UAV collects sensor data along a certain route within T seconds.

[0031] Example 2. A task offloading method for UAV power transmission line patrol detection based on a neural network, the method comprising the following steps:

[0032] Step 1.1: In a power transmission line detection system composed of one UAV and 10 sensors, establish a two-dimensional plane coordinate system parallel to the ground according to the height of the sensors. The positions of all sensors are w k = (x k , y k ), 0 < k ≤ 10, x k is the abscissa of the position of sensor k, y k is the abscissa of the position of sensor k. The UAV completes a patrol detection of the power transmission line every 100 seconds. Divide 100 seconds into 100 time slots, each time slot is 1 second. The UAV route is set as q(n) = (x(n), y(n)), 0 < n < 100, x(n) is the abscissa of the route, y(n) is the ordinate of the route. The UAV route is a patrol route, that is, q(0) = q(100);

[0033] Step 1.2: In a drone inspection, use a=(a1,a2,…,a k ,…,a 10 ) represents the offloading strategy of all sensors, a k = 0 means that the kth sensor performs local calculation, a k =1 means that the kth sensor offloads data to the drone, and the amount of data that the sensor needs to calculate is expressed as L = [L1, L2, ..., L k ,…,L 10 ], in the implementation, the data volume is 10 megabytes, and the amount of data that the kth sensor needs to transmit is L k , the set of channel gains is expressed as h = [h1,h2,…,h k ,…,h 10 ], where h k =[h k (1),h k (2),…,h k (n),…,h k (100)],h k (n) is the channel gain between the kth sensor and the drone in time slot n. A fully connected neural network model θ is constructed with channel gain h and data volume L as input. The output result is [1,1,0,0,1,0,0,1,0,0], marked as O. The two random 0s or 1s in the output result O are changed to obtain [0,1,0,0,1,0,0,1,1,0] and [0,0,0,0,0,1,0,0,1,0,0], marked as O1 and O2 respectively. Using the formula The energy consumption when a=O, a=O1, and a=O2 is 52 mWh, 63 mWh, and 71 mWh respectively, where B is the channel bandwidth, c is the local computing energy efficiency of the sensor, and f is k is the number of operations per second calculated by the sensor locally, μ is the number of operations consumed to calculate one bit of data, N0 is the noise, and a corresponding to the minimum total energy consumption is taken as the data unloading strategy of the sensor. It is used together with the neural network input channel gain h and the data volume L as training samples to train the fully connected neural network model θ.

[0034] Step 1.3: The UAV collects sensor data along route q(n) in 100 seconds. For sensors that offload data to the UAV, the amount of data uploaded by the kth sensor in all time slots is l k =[l k (1),l k (2),…,l k (n),…,l k (100)], where l k(n) represents the amount of data uploaded by the kth sensor in the nth time slot.

[0035] In step 1.3, parameter l k (n), 0≤n≤N is determined by the following method:

[0036] Step 2.1: For a given sensor offloading strategy a = [1, 1, 0, 0, 1, 0, 0, 1, 0, 0], the total energy consumption of each sensor is: E(l k ) is a k A convex function that satisfies Using the existing methods for solving convex optimization problems such as the interior point method, we can obtain the solution that minimizes the energy consumption E(l k ) of data offloaded.

[0037] In step 1.2, the parameters of the fully connected neural network model θ are as follows:

[0038] Step 3.1: The fully connected neural network model θ includes 1 input layer, 2 hidden layers and 1 output layer. The first hidden layer has 160 neurons, the second hidden layer has 80 neurons, and the output layer has 10 neurons. The activation function is the Sigmoid function:

[0039] e is a natural constant.

Claims

1. A task offloading method for UAV power transmission line patrol inspection based on neural network, characterized in that: The method includes the following steps: Step 1.1: Set the drone patrol route; Step 1.2: Construct a fully connected neural network model θ, with the channel gain h and the data volume L as inputs, and the output result of the fully connected neural network model θ being O; Step 1.3: Add two sets of Gaussian white noise to the output result O to obtain O1 and O2; Step 1.4: Calculate the output result with the minimum energy consumption among the three output results O, O1, and O2 through the sensor energy consumption calculation method as the data offloading strategy a of the sensor; Step 1.5: According to the data offloading strategy a of the sensor, the drone collects sensor data along the set drone patrol route within T seconds; In a drone inspection, a=(a1,a2,…,a k ,…,a K ) represents the offloading strategy of all sensors. The amount of data L that all sensors need to calculate is represented by the vector L = [L1, L2, ..., L k ,…,L K ], where the amount of data that the kth sensor needs to transmit is L k ; The set of channel gains h is represented by h = [h1, h2, ..., h k ,…,h K ], where h k =[h k (1),h k (2),…,h k (n),…,h k (N)],h k (n) is the channel gain between the kth sensor and the UAV in time slot n; For sensors that offload data to drones, the amount of data uploaded by the kth sensor in all time slots is l k =[l k (1),l k (2),…,l k (n),…,l k (N)], where l k (n) represents the amount of data uploaded by the kth sensor in the nth time slot, 0≤n≤N; The sensor energy consumption calculation method is: Step 2.1: For a given sensor offloading strategy, a k = 0 means that the kth sensor performs local calculation, a k =1 means that the kth sensor offloads data to the drone, and the total energy consumption of each sensor is: Where B is the channel bandwidth, c is the local computing energy efficiency of the sensor, and f k is the number of operations per second of the sensor's local calculation, μ is the number of operations consumed to calculate one bit of data, N0 is the noise, and h k (n) is the channel gain between the kth sensor and the UAV in time slot n; The construction method of the fully connected neural network model θ, Step 3.1: The fully connected neural network model θ includes 1 input layer, 2 hidden layers, and 1 output layer. The first hidden layer has 160 neurons, the second hidden layer has 80 neurons, and the output layer has K neurons. The activation function is the Sigmoid function: e is a natural constant; Step 3.2: Input the channel gain h and the data volume L into the fully connected neural network model θ to obtain the output O. Add two sets of Gaussian white noise to the output O to obtain O1 and O2. Use the sensor energy consumption calculation method to calculate the total energy consumption of all sensors when a = O, a = O1, and a = O2 respectively. Take the a corresponding to the minimum total energy consumption as the data offloading strategy of the sensor, and use it and the fully connected neural network model input channel gain h and data volume L as training samples to train the fully connected neural network model θ; The Gaussian white noise is a random number between 0 and 1; The specific construction process of the drone patrol route in Step 1.1 is: The drone completes a patrol inspection of the power transmission line every T time. Divide the time T into N time slots, and each time slot is T / N; The drone route is set as q(n) = (x(n), y(n)), 0 < n < N, where x(n) is the abscissa of the route and y(n) is the ordinate of the route. The drone route is the patrol route, that is, q(0) = q(N).

Citation Information

Patent Citations

  • Mobile edge computing unloading method based on multi-agent reinforcement learning

    CN112367353A

  • Unmanned aerial vehicle auxiliary edge calculation unloading method based on terminal energy efficiency optimization

    CN112399375A

  • Model construction method and device, task allocation method and device, equipment and medium

    CN113032904A

  • Computing task unloading method based on deep reinforcement learning in electric power internet of things

    CN114065963A

  • Task unloading method of wireless energy supply edge computing network based on neural network

    CN114615261A