CN111757266A - UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things - Google Patents

UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things Download PDF

Info

Publication number
CN111757266A
CN111757266A CN202010521675.6A CN202010521675A CN111757266A CN 111757266 A CN111757266 A CN 111757266A CN 202010521675 A CN202010521675 A CN 202010521675A CN 111757266 A CN111757266 A CN 111757266A
Authority
CN
China
Prior art keywords
node
cluster
uav
nodes
energy consumption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010521675.6A
Other languages
Chinese (zh)
Other versions
CN111757266B (en
Inventor
刘贵云
范卓伦
钟晓静
李致富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou University
Original Assignee
Guangzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou University filed Critical Guangzhou University
Priority to CN202010521675.6A priority Critical patent/CN111757266B/en
Publication of CN111757266A publication Critical patent/CN111757266A/en
Application granted granted Critical
Publication of CN111757266B publication Critical patent/CN111757266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/024Guidance services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • H04W40/10Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a UAV data acquisition track algorithm based on a solar power supply type agricultural Internet of things, which comprises the steps of selecting a solar node as a cluster head aiming at a farmland UAV-WSN, then determining a clustering center by adopting an FCM clustering algorithm based on the optimal cluster number, and mapping the cluster head node by combining the clustering center to deploy the solar node; providing 3 different UAV track design schemes of WSN non-clustering, WSN clustering but no cluster head fusion data and WSN clustering and cluster head fusion data, and then calculating the number of traversal nodes and the clustering number required by the area under the 3 schemes according to the given CRLB; carrying out UAV path planning according to the node distribution uniformity, the node residual energy and the solar energy acquisition value to obtain 3 UAV path planning routes; and calculating the energy consumption of the nodes corresponding to the 3 routes, and selecting an optimal scheme through the energy consumption and the UAV flight distance. The UAV data acquisition path with low energy consumption, short path length and wide data acquisition range can be designed by the invention.

Description

UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things
Technical Field
The invention relates to the technical field of UAV trajectory design, in particular to a UAV data acquisition trajectory algorithm based on a solar power supply type agricultural Internet of things.
Background
A Wireless Sensor Network (WSN) is an important carrier for transforming an agricultural production mode and promoting the high-efficiency development of agriculture as an important component of an agricultural Internet of things system. The traditional WSN is generally composed of a large number of sensor nodes with small volume, less energy storage and low price and a plurality of data fusion centers, data are transmitted among the sensor nodes to the Fusion Center (FC) in a clustering mode, a non-clustering mode, a single-hop mode and a multi-hop mode, and for the static FC, early death of the sensor nodes and the energy hot area problem of the WSN are easily caused. In order to optimize the problem, UAV (unmanned aerial vehicle) is introduced into the WSN, network energy consumption of the WSN can be balanced by adopting the UAV crop mobile FC, and the problems that the mobile path and data acquisition stability are influenced by complex environmental factors of the farmland can be effectively avoided.
In recent years, distributed estimation in WSNs has attracted considerable research interest. A key feature of distributed estimation is that the sensors SN estimate scalar parameters, signal vectors, or other parameters in coordination with the limitations inherent in WSNs (e.g., energy-limited, bandwidth-limited, and measurement accuracy-limited), with the main design goal being to conserve resources while achieving acceptable estimation performance. One basic problem of UAV-WSN distributed estimation is UAV trajectory design, which needs to consider three factors: first, the UAV flight path is upper bounded for UAV self-limits; secondly, according to the requirement of distributed estimation precision, sufficiently large number of quantized data of nodes, such as minimum CRLB estimation parameters, need to be acquired; and finally, the WSN is prevented from dying nodes early, and the energy consumption of all the nodes is balanced. Therefore, the key to the problem of how to improve the performance of distributed estimation is how to find a path with low energy consumption, short path length and wide data acquisition range by the UAV.
Disclosure of Invention
The invention aims to overcome the defects and shortcomings of the prior art and provides a UAV data acquisition track algorithm based on a solar power supply type agricultural Internet of things.
The purpose of the invention is realized by the following technical scheme: a UAV data acquisition track algorithm based on a solar power supply type agricultural Internet of things comprises the following steps:
s1, aiming at a farmland UAV-WSN, selecting a solar node as a cluster head, then determining a clustering center by adopting an FCM clustering algorithm based on the optimal cluster number, and mapping the cluster head node by combining the clustering center to deploy the solar node;
s2, providing 3 different UAV trajectory design schemes of WSN non-clustering, WSN clustering but no cluster head fusion data and WSN clustering and cluster head fusion data, and then calculating the number of traversal nodes and the number of clusters required by the area under the 3 schemes according to the given CRLB;
s3, planning UAV paths according to the distribution uniformity of the nodes, the residual energy of the nodes and the solar energy collection value to obtain UAV path planning routes corresponding to the 3 schemes;
and S4, calculating node energy consumption corresponding to the 3 routes, and selecting an optimal scheme through the energy consumption and the UAV flight distance, wherein the optimal scheme is the final data acquisition track of the UAV.
Preferably, in step S1, the FCM clustering algorithm based on the optimal cluster number is used to determine the clustering center, and the process specifically includes:
s11, calculating a clustering number K according to the optimal clustering number formula:
Figure BDA0002532376790000021
wherein K is equal to the number m of cluster heads, and
Figure BDA0002532376790000022
n is the number of common nodes; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; c is a regionDomain side length, d2Is the distance between the cluster head and the UAV; empEnergy consumption parameters of the multi-path attenuation model; eelecEnergy consumption is transmitted for unit length;
s12, initializing a membership degree matrix uij
Giving a clustering number K and a total number N of nodes, considering the minimum objective function in the cluster of each clustering group, and adopting a fuzzy set to set a membership set of each node to each cluster as U, namely the membership of the jth node belonging to the ith cluster is UijThe center of the group is ciAnd is and
Figure BDA0002532376790000023
the jth node, i.e., node xj
In order to make the distance between each node and the center of the group to which the node belongs effective when determining the node to which the node belongs and the distance between the node and the center of the group to which the node does not belong ineffective when determining the node to which the node belongs, the importance of controlling the membership degree by considering a fuzzy number q is considered, so that the determination xjThe calculated values belonging to group i are:
Figure BDA0002532376790000031
when node xjThe smaller the degree of membership to the i-th group, even if the distance is large, the fuzzy number q makes it possible to reduce the number of the groups
Figure BDA0002532376790000032
The distance is therefore equivalent to invalid when determining the position to which it belongs;
taking into account the initial degree of membership uijIntroducing a logistic chaotic model to carry out membership u on the influence of the final clustering effect of the FCM algorithmijThe mathematical model of the logistic chaotic model is as follows:
an+1=μ*an*(1-an)
wherein, anValue generated for the nth iteration, a1Is a random value in the range of (0-1); a isn+1The value generated for the (n +1) th iteration, [ mu ] ∈ [ 0-4 ]];anIterationThe generated value is in a chaotic state and has ergodicity;
s13, adopting Lagrange multiplier and respectively pairing uijAnd ciAnd (3) calculating a partial derivative according to the following calculation formula:
Figure BDA0002532376790000033
Figure BDA0002532376790000034
wherein, clIs the cluster center of the first cluster;
s14, for all nodes and all clusters, the objective function is:
Figure BDA0002532376790000035
solving the condition of satisfying the constraint
Figure BDA0002532376790000036
Objective function of time J(t)Minimum value of (1), J(t)Representing the objective function value at the t iteration;
s15, if J(t)-J(t-1)L <, wherein, is the minimum deviation value, J(t-1)Representing the objective function value at the t-1 th iteration, the algorithm ends, cluster center ciNamely the clustering center; otherwise, go back to step S13.
Further, in step S1, the solar energy node is deployed by mapping the cluster head node with the cluster center, specifically:
selecting a node as a clustering center by adopting nearest neighbor mapping, and taking ciDenotes the cluster center of the ith cluster, xijRepresenting the jth intra-cluster node of the ith cluster, and selecting the node as follows:
min||ci-xij||
and after the position mapping is completed, selecting a mapping node to deploy for the solar node.
Preferably, in step S2, the design scheme of UAV trajectories without clustering by WSNs specifically includes: all the traversal nodes are in direct communication with the UAV, the UAV sends information to the traversal nodes, and the traversal nodes send data to the UAV;
the design scheme of the UAV trajectory with WSN clustering and no cluster head fused with data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, and the cluster head nodes forward the data to the UAV;
the design scheme of the UAV trajectory of the WSN clustered and cluster head fused data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, the cluster head fuses the data, and then the data are forwarded to the UAV.
Preferably, in step S2, the number of traversal nodes and the number of clusters required for the area under 3 schemes are calculated according to the given CRLB, as follows:
(1) for WSNs not clustered:
a cluster-free adaptive quantization scheme is proposed:
calculating CRLB under the condition that WSN is not clustered through a cluster-free distributed estimation formula:
Figure BDA0002532376790000041
wherein N is the number of nodes;
Figure BDA0002532376790000042
indicating the normalized frequency, P (tau), of the sensor used as a thresholdn-1K Δ) is the quantization threshold τ of the n-1 th noden-1Probability at k Δ; p is a radical ofw(x) Is wkA Probability Density Function (PDF); fw(x) Is wkComplementary Cumulative Density Function (CCDF); θ is an estimated environmental physical quantity of the physical world, i.e. a parameter estimated from quantized data received from the UAV;
Figure BDA0002532376790000047
is an estimate of the parameter θ; w is akIs the observed noise of the kth node in the region; Δ represents a parametric quantization step; k represents the kth node in the area; tau iskAccumulating early transmission data for a node from other sensor nodes and using the accumulated value as a threshold for its 1-bit quantifier;
then calculating the number of traversal nodes required by the region which is closest to and smaller than the given region CRLB by adopting a dichotomy;
(2) for WSN clustering but no fusion data: the calculation of locally estimated CRLB and the required traversal node number of the area is the same as the calculation of the WSN non-clustering;
(3) for WSN clustering and cluster head fusion data:
a clustering adaptive quantization scheme is proposed: the globally estimated CRLB may be represented by a weighted sum of the locally estimated CRLB;
calculating CRLB under the condition that WSN is clustered and cluster heads fuse data through a clustering distributed estimation formula:
Figure BDA0002532376790000043
wherein the content of the first and second substances,
Figure BDA0002532376790000044
a weighting coefficient representing a local estimate;
Figure BDA0002532376790000045
and
Figure BDA0002532376790000046
distributed estimation for the ith cluster and the jth cluster respectively;
then calculating the number of members in the cluster when the CRLB of a given area is met under the condition of different cluster numbers, wherein the maximum cluster number is the number of solar nodes in the area, and the minimum cluster number is 2;
and comparing the total energy consumption of the WSN under different cluster numbers, and selecting the cluster number and the member number in the cluster under the condition of minimum energy consumption.
Preferably, for node distribution uniformity:
by distribution is allNode distribution uniformity f calculated by uniformity potential functionrWherein, the distribution uniformity potential function calculation formula of the r-th node is as follows:
Figure BDA0002532376790000051
in the formula, n is the total number of nodes in the region; l represents the extension number of other nodes in the area; k represents the kth node in the area; s represents the s-th continuation node of the node in the region; x is the number ofrI.e. represents the r-th node;
Figure BDA0002532376790000052
to a node xrThe s-th continuation node of the k-th node in the area;
the uniformity potential function calculation formula of all nodes in the region is as follows:
Figure BDA0002532376790000053
when the distribution of the nodes in the region is more uniform, the total uniformity potential function value is smaller;
for node residual energy:
calculating the weight of the residual energy of the common node by the following calculation formula:
Figure BDA0002532376790000054
in the formula, EstartResidual energy is the node; eRestIs the initial energy of the node;
calculating the weight of the residual energy of the solar node by the following calculation formula:
Figure BDA0002532376790000055
in the formula, EForeTo predict the energy harvesting value, the value E can be harvested from solar energy as followshavEstimating;
when the residual energy of the node is more, the weight of the residual energy is smaller;
for solar energy collection values:
the solar energy collection can be quantized into a solar energy collection energy model represented by a trigonometric function of different peak values according to factors such as time, weather and position, a solar energy collection value is calculated through the model, and according to the rising and falling conditions of the sun, the solar energy collection is started at 6 am and finished at 6 pm;
the solar energy collection energy model is as follows:
Ehav=z*sin(x)-rand
in the formula, EhavCollecting a value for solar energy; z is the solar energy collection peak value under different conditions of sunny days and cloudy days; x is a conversion value of a solar energy collecting time point,
Figure BDA0002532376790000061
time is the number of seconds from the current time to 6 am; rand is a random value that simulates factors that affect energy harvesting.
Further, the UAV path planning process according to the node distribution uniformity, the node residual energy, and the solar energy collection value is as follows:
s31, selecting a traversal node of the UAV based on a minimized cost equation, wherein the minimized cost equation is as follows:
Figure BDA0002532376790000062
in the formula, NiThe number of the nodes selected in the ith cluster is obtained; w is aijThe residual energy weight of the jth node in the ith cluster is obtained; f. ofijThe uniformity potential function value of the jth node in the ith cluster is obtained;
s32, considering the UAV path planning problem of the traversal node obtained by considering the minimum value of the cost function obtained by the simulated annealing algorithm, which may be regarded as a traveling quotient problem, that is, a shortest path planning problem that starts from an initial city, traverses all other cities, and finally returns to the initial city, and solving the traveling quotient problem means traversing all nodes except the initial node once in a connected graph, and planning a Hamilton loop except the shortest one, where a mathematical model defining the traveling quotient problem is as follows:
given a connectivity graph P ═ (C)P,LP) Wherein, CPFor a set of node numbers, LPIs a collection of edges between nodes; set node set CP1,2P={(r,j,wrj)|r,j∈CP,wrj∈R+},wrjIs the distance between the r-th node and the j-th node, the Hamilton loop is a set of edges that contains all the nodes
Figure BDA0002532376790000063
Wherein the method comprises the steps of starting the node twice, remaining the node once, and mr,mj∈CPAnd r ≠ j;
for edge set LPThe selection of the element(s) is represented as follows:
Figure BDA0002532376790000064
the objective function of the Hamilton loop is then expressed as follows:
Figure BDA0002532376790000065
assuming that the previous state of the system is x (n), the state of the system is changed into x (n)) +1 according to the set index, the energy of the system is correspondingly changed from E (n) to E (n +1), and the receiving probability P of the system from x (n) to x (n)) +1 is defined as:
Figure BDA0002532376790000066
the system is different according to different scene requirements, and global area search and local cluster search are carried out in the system;
s33, solving the minimum value of the minimized cost equation in the step S31 by adopting a simulated annealing algorithm, wherein the smaller the cost function f of the node is, the greater the probability of selecting the node is, and thus the selected traversal node in the region is solved;
and S34, calculating the minimum value of the objective function of the Hamilton loop according to the selected traversal nodes in the area to obtain the shortest path of the UAV.
Further, the process of step S33 is as follows:
s331, in order to make the cooling process faster, firstly determining a better initial solution w through a Monte Carlo algorithm, and calculating an appropriate value f (w);
s332, considering that the selected nodes are discrete, selecting any one element in the random updating solution to generate a new solution w 'to calculate a new proper value f (w');
s333, then calculating an adaptation increment Δ f ═ f (w ') -f (w), and determining whether Δ f is greater than 0, if Δ f is less than or equal to 0, accepting a new solution according to Metropolis criterion, and if Δ f is greater than 0, accepting a new solution w ═ w ', f (w) ═ f (w ');
s334, slowly cooling, judging whether a termination condition is met, if not, returning to the step S332 again;
if so, the operation is ended, and the final solution is the minimum value of the minimization cost equation.
Preferably, in step S4, the node energy consumption models of the UAV trajectory planning route corresponding to the 3 schemes are as follows:
(1) based on non-cluster distributed estimation, the WSN is not clustered:
energy consumption of each node:
Figure BDA0002532376790000071
wherein the content of the first and second substances,
Figure BDA0002532376790000072
energy consumption to receive UAV information for a node;
Figure BDA0002532376790000073
sending data to the UAV energy consumption for the node; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; rcFor communication radius, to ensure full connectivity of the network, Rc=2*RS,RSIs the sensing radius;
(2) based on non-cluster distributed estimation, the WSN forms clusters but the cluster heads do not fuse the energy consumption model of data:
let the number of cluster members of the ith cluster be miEnergy consumption of cluster head node
Figure BDA0002532376790000074
The method comprises the following steps:
(a) receiving UAV clustering information energy consumption
Figure BDA0002532376790000075
(b) Energy consumption for sending cluster information to cluster members
Figure BDA0002532376790000076
(c) Energy consumption for receiving cluster member data
Figure BDA0002532376790000081
(d) Energy consumption for sending data to UAV
Figure BDA0002532376790000082
Energy consumption of cluster members
Figure BDA0002532376790000083
The method comprises the following steps:
(e) energy consumption for receiving cluster head clustering information
Figure BDA0002532376790000084
(f) Energy consumption for receiving other node broadcast quantized data
Figure BDA0002532376790000085
(g) Energy consumption for sending data to cluster head
Figure BDA0002532376790000086
Finally, the energy consumption of the cluster head nodes and the energy consumption of the cluster members are respectively as follows:
Figure BDA0002532376790000087
Figure BDA0002532376790000088
(3) based on clustered distributed estimation, the WSN is clustered and the cluster heads fuse the energy consumption model of the data:
energy consumption of cluster head node
Figure BDA0002532376790000089
Energy consumption of member of Hezhou cluster
Figure BDA00025323767900000810
Respectively as follows:
Figure BDA00025323767900000811
Figure BDA00025323767900000812
wherein m isi*EdaFusing data energy consumption for cluster heads;
the optimal scheme is selected through energy consumption and UAV flight distance, and specifically comprises the following steps:
calculating the total energy consumption E of the network based on the node energy consumption modelTotal
Then compare the total energy consumption E of the 3 schemesTotalAnd selecting an optimal scheme according to the UAV flight distance Len corresponding to the UAV trajectory planning route, wherein the scheme selection function is as follows:
min f=a1ETotal+a2Len
in the formula, a1Is the energy consumption weight; a is2Is a path length weight; wherein a is1And a2According to the actual situation, ifSetting a when the specific gravity of the network life cycle is larger1The larger, and similarly, the more the UAV path length is constrained, the setting a2The larger.
Compared with the prior art, the invention has the following advantages and effects:
(1) according to the UAV data acquisition track algorithm based on the solar power supply type agricultural Internet of things, the optimal cluster number-based FCM clustering algorithm is combined to select the deployment position of the solar node, then 2 modules are designed in the UAV track design part, the UAV data acquisition track algorithm comprises a node selection module and a UAV path planning module, finally the optimal scheme is selected by comparing the shortest path length and the node energy consumption obtained by different schemes, and finally the UAV data acquisition path with low energy consumption, short path length and wide data acquisition range is designed, so that the UAV data acquisition can be balanced in the UAV flight path length, the energy consumption problem of the sensor node and the distribution uniformity of the data acquisition node, the distributed estimation performance is improved, and the network life is prolonged.
(2) In the UAV data acquisition trajectory algorithm, in order to ensure the accuracy of the estimated data acquired by farmland information, the UAV needs to acquire a sufficient number of nodes to ensure that the required data can be restored within an allowable error, so that the number of the nodes of the required acquired data is calculated based on a given CRLB (cross-correlation between the nodes and the data), and the accuracy of restoring the data is ensured. In addition, whether clustering fusion data cause different calculation formulas for solving traversal nodes by the CRLB, and whether clustering fusion data directly affect the UAV flight path length and the WSN total energy consumption, the invention also provides 3 UAV track design schemes for calculating the number of nodes respectively, comparing resources consumed by different schemes, and selecting the optimal scheme from the calculated nodes, so that the designed UAV data acquisition track can better meet the requirements of data acquisition stability and resource saving.
Drawings
Fig. 1 is a flowchart of the UAV data acquisition trajectory algorithm based on the internet of things for solar powered agriculture of the present invention.
FIG. 2 is a simulation diagram of a farm environment with nodes deployed.
Figure 3 is a UAV trajectory planning circuit diagram for scenario 1.
Fig. 4 is a schematic diagram of the energy consumption of the node in the case of the 100 th round of operation scheme 1 for 4 farmland areas.
Figure 5 is a UAV trajectory planning circuit diagram for scenario 2.
Fig. 6 is a schematic diagram of the energy consumption of the node in case of the 60 th round of operation scheme 2 for 4 farmland areas.
Figure 7 is a UAV trajectory planning circuit diagram for scenario 3.
Fig. 8 is a schematic diagram of the energy consumption of the node in case of the 10 th run of scheme 3 for 4 farmland areas.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the present invention is not limited thereto.
Examples
The embodiment discloses a UAV data acquisition track algorithm based on a solar power supply type agricultural Internet of things, which comprises the steps of firstly determining and selecting a solar node as a cluster head, adopting an FCM clustering algorithm based on the optimal cluster number and combining with clustering center mapping to select a solar node deployment position, then dividing a UAV track design part into 2 modules for design, wherein the UAV track design part comprises a node selection module and a UAV path planning module, and finally selecting an optimal scheme by comparing the shortest path length and the node energy consumption obtained by different schemes. As shown in fig. 1, the steps are as follows:
s1, because the energy consumption of the cluster head is far larger than that of a common node, in consideration of the energy consumption balance problem, a solar node in a farmland UAV-WSN is selected as the cluster head, then a clustering center is determined by adopting an FCM (Fuzzy C-Means) clustering algorithm based on the optimal cluster number, and the cluster head node is mapped by combining the clustering center to deploy the solar node.
The farmland environment is divided into a plurality of regions, the areas of the regions are the same, and the distance between the regions is ignored. The basic idea of the FCM (Fuzzy C-Means) clustering algorithm is to minimize an objective function of nodes divided into the same class, apply the FCM clustering algorithm to the WSN clusters, and divide the nodes in an area into K clusters according to similarity, so that the energy consumption of cluster distribution inequality is effectively reduced.
The optimal cluster number-based FCM clustering algorithm is adopted to map cluster head nodes in combination with a clustering center to perform deployment of the solar nodes, and the process specifically comprises the following steps:
s11, calculating a clustering number K according to the optimal clustering number formula:
Figure BDA0002532376790000101
wherein K is equal to the number m of cluster heads, and
Figure BDA0002532376790000102
n is the number of common nodes; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; c is the region side length; d2Is the distance between the cluster head and the UAV; empEnergy consumption parameters of the multi-path attenuation model; eelecEnergy consumption is transmitted for unit length;
s12, initializing a membership matrix:
given the cluster number K and the total number N of nodes, considering the minimum objective function in the cluster of each cluster group, adopting a fuzzy set to set the membership set of each node to each cluster group as U, namely the jth node (namely the node x)j) Membership of u to the ith groupijThe center of the group is ciAnd is and
Figure BDA0002532376790000103
in order to make the distance between each node and the center of the group to which the node belongs effective when determining the node to which the node belongs and the distance between the node and the center of the group to which the node does not belong ineffective when determining the node to which the node belongs, the importance of controlling the membership degree by considering a fuzzy number q is considered, so that the determination xjThe calculated values belonging to group i are:
Figure BDA0002532376790000104
when node xjThe smaller the degree of membership to the i-th group, even if the distance is large, the fuzzy number q makes it possible to reduce the number of the groups
Figure BDA0002532376790000105
The distance is therefore equivalent to invalid when determining the position to which it belongs;
taking into account the initial degree of membership uijIntroducing a logistic chaotic model to carry out membership u on the influence of the final clustering effect of the FCM algorithmijThe mathematical model of the logistic chaotic model is as follows:
an+1=μ*an*(1-an)
wherein, anValue generated for the nth iteration, a1Is a random value in the range of (0-1); a isn+1The value generated for the (n +1) th iteration, [ mu ] ∈ [ 0-4 ]]Generally, the value is 4; a isnThe value generated by iteration is in a chaotic state and has ergodicity; a isnAs element u in a membership matrixijBy iterating continuously, u can be initializedijInitializing;
s13, adopting Lagrange multiplier and respectively pairing uijAnd ciAnd (3) calculating a partial derivative according to the following calculation formula:
Figure BDA0002532376790000111
Figure BDA0002532376790000112
wherein, clIs the cluster center of the first cluster;
s14, for all nodes and all clusters, the objective function is:
Figure BDA0002532376790000113
solving the condition of satisfying the constraint
Figure BDA0002532376790000114
Objective function of time J(t)Minimum value of (1), J(t)Representing the objective function value at the t iteration;
s15, if J(t)-J(t-1)L <, wherein, is the minimum deviation value, J(t-1)Representing the objective function value at the t-1 th iteration, the algorithm ends, cluster center ciNamely the clustering center; otherwise, returning to the step S13;
s16, adopting nearest neighbor mapping to select nodes as clustering centers, and taking c asiDenotes the cluster center of the ith cluster, xijRepresenting the jth intra-cluster node of the ith cluster, and selecting the node as follows:
min||ci-xij||
and after the position mapping is completed, selecting a mapping node to deploy for the solar node.
And S2, providing 3 different UAV trajectory design schemes of WSN non-clustering, WSN clustering but cluster head non-fusion data and WSN clustering and cluster head fusion data, and then calculating the number of traversal nodes and the number of clustering required by the area under the 3 schemes according to the given CRLB.
The design scheme of the UAV trajectory without clustering the WSN specifically comprises the following steps: all the traversal nodes are in direct communication with the UAV, the UAV sends information to the traversal nodes, and the traversal nodes send data to the UAV.
The design scheme of the UAV trajectory with WSN clustering and no cluster head fused with data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, and the cluster head nodes forward the data to the UAV.
The design scheme of the UAV trajectory of the WSN clustered and cluster head fused data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, the cluster head fuses the data, and then the data are forwarded to the UAV.
Based on the given CRLB, the number of traversal nodes and the number of clusters required for the region under 3 schemes are calculated as follows:
(1) for WSNs not clustered:
a cluster-free adaptive quantization scheme is proposed: consider a fusion center consisting of M regions, each region deploying N, and a UAViA wireless sensor network of (1, 2.. M) sensor nodes, each sensor node xjAnd carrying out noise observation on the unknown parameter theta. Suppose observation noise wj,j=1,2,...,NiMean 0 and variance σ2Each sensor node observes an unknown and determined scalar parameter: x is the number ofj=θ+wj,j=1,2,...,Ni. Assume that all sensors need to observe their values x due to bandwidth and power constraintsjQuantized into one-bit binary data bjB, the quantization formula ofj=sgn{xjj-1Then quantized data received from UAV bjThe unknown parameter theta is estimated. Each sensor node accumulates early transmission data from other sensor nodes and uses the accumulated value as a threshold for its 1-bit quantifier
Figure BDA0002532376790000121
k represents the kth node in the area; Δ represents a parametric quantization step size. The accumulated value may show convergence around the unknown parameter θ. Deriving a Maximum Likelihood Estimator (MLE) for use in the fusion center based on the adaptive quantization scheme and deriving an estimate of the unknown parameter θ without clustering
Figure BDA0002532376790000125
CRLB, i.e. best achievable estimation accuracy of the maximum likelihood estimator.
The maximum likelihood estimator is a non-cluster distributed estimation formula, and the CRLB under the condition that the WSN is not clustered is calculated through the non-cluster distributed estimation formula:
Figure BDA0002532376790000122
wherein N is the number of nodes;
Figure BDA0002532376790000123
indicating the normalized frequency, P (tau), of the sensor used as a thresholdn-1K Δ) is the quantization threshold τ of the n-1 th noden-1Probability at k Δ; p is a radical ofw(x) Is wkA Probability Density Function (PDF); fw(x) Is wkComplementary Cumulative Density Function (CCDF); θ is an estimated environmental physical quantity of the physical world, i.e. a parameter estimated from quantized data received from the UAV; w is akIs the observed noise of the kth node in the region;
then calculating the number of traversal nodes required by the region which is closest to and smaller than the given region CRLB by adopting a dichotomy;
(2) for WSN clustering but no fusion data: the calculation of locally estimated CRLB and the required traversal node number of the area is the same as the calculation of the WSN non-clustering;
(3) for WSN clustering and cluster head fusion data:
a clustering adaptive quantization scheme is proposed: the globally estimated CRLB may be represented by a weighted sum of the locally estimated CRLB;
calculating CRLB under the condition that WSN is clustered and cluster heads fuse data through a clustering distributed estimation formula:
Figure BDA0002532376790000124
wherein the content of the first and second substances,
Figure BDA0002532376790000131
a weighting coefficient representing a local estimate;
Figure BDA0002532376790000132
and
Figure BDA0002532376790000133
distributed estimation for the ith cluster and the jth cluster respectively;
then calculating the number of members in the cluster when the CRLB of a given area is met under the condition of different cluster numbers, wherein the maximum cluster number is the number of solar nodes in the area, and the minimum cluster number is 2;
and comparing the total energy consumption of the WSN under different cluster numbers, and selecting the cluster number and the member number in the cluster under the condition of minimum energy consumption.
And S3, carrying out UAV path planning according to the distribution uniformity of the nodes, the residual energy of the nodes and the solar energy acquisition value to obtain a UAV path planning route corresponding to the 3 schemes.
Wherein, for node distribution uniformity: since the number of traversal nodes is calculated based on the CRLB of the distributed estimation, the UAV does not access all the nodes to collect data, and it is necessary to ensure that the data information repetition rate of the area collected by the data nodes collected by the UAV is low, that is, the nodes are distributed sufficiently and uniformly in the area.
Here, the node distribution uniformity f is calculated by a distribution uniformity potential functionrWherein, the distribution uniformity potential function calculation formula of the r-th node is as follows:
Figure BDA0002532376790000134
in the formula, n is the total number of nodes in the region; l represents the extension number of other nodes in the area; k represents the kth node in the area; s represents the s-th continuation node of the node in the region; x is the number ofrI.e. represents the r-th node;
Figure BDA0002532376790000135
to a node xrThe s-th continuation node of the k-th node in the area;
the uniformity potential function calculation formula of all nodes in the region is as follows:
Figure BDA0002532376790000136
when the distribution of the nodes in the region is more uniform, the total uniformity potential function value is smaller;
for node residual energy: considering the life cycle of the WSN, the selected traversal nodes not only need to meet the distribution uniformity, but also need to balance the residual energy of the nodes. The nodes are divided into common nodes and solar nodes, and because the solar nodes have an energy collection function, a predicted energy collection value should be added when the weight of the residual energy is calculated.
Here, the ordinary node residual energy weight is calculated by the following calculation formula:
Figure BDA0002532376790000137
in the formula, EstartResidual energy is the node; eRestIs the initial energy of the node;
calculating the weight of the residual energy of the solar node by the following calculation formula:
Figure BDA0002532376790000141
in the formula, EForeTo predict the energy harvesting value, the value E can be harvested from solar energy as followshavEstimation, e.g. may be takenhavZ sin (x) in (a).
When the residual energy of the node is more, the weight of the residual energy is smaller;
for solar energy collection values: the solar energy collection can be quantized into a solar energy collection energy model represented by a trigonometric function of different peak values according to the factors of time, weather and position, and a solar energy collection value is calculated through the model. According to the embodiment, the following solar energy collection model is designed according to sunny days and cloudy days, and according to the rising and falling conditions of the sun in China, solar energy collection is started at 6 am and finished at 6 pm.
The solar energy collection energy model is as follows:
Ehav=z*sin(x)-rand
in the formula, EhavCollecting a value for solar energy; z is the solar energy collection peak value under different conditions (sunny days and cloudy days); x is a conversion value of a solar energy collecting time point,
Figure BDA0002532376790000142
time is the number of seconds from the current time to 6 am; rand is a random value that simulates factors that affect energy harvesting.
The process of planning the UAV path according to the node distribution uniformity, the node residual energy, and the solar energy collection value is as follows:
s31, selecting a traversal node of the UAV based on a minimized cost equation, wherein the minimized cost equation is as follows:
Figure BDA0002532376790000143
in the formula, NiThe number of the nodes selected in the ith cluster is obtained; w is aijThe residual energy weight of the jth node in the ith cluster is obtained; f. ofijThe uniformity potential function value of the jth node in the ith cluster is obtained;
when the remaining energy of a node is more, the smaller the weight coefficient is, the smaller f is, and the greater the probability of selecting the node is.
S32, considering the UAV path planning Problem of the traversal node obtained by considering the minimum value of the cost function obtained by the simulated annealing algorithm, may be regarded as a Traveling Salesman Problem (TSP), that is, a shortest path planning Problem of starting from an initial city, traversing all other cities, and finally returning to the initial city, where the solving of the Traveling Salesman Problem is to traverse all nodes except the initial node once in a connected graph, and plan a Hamilton loop except the shortest node. Here, the mathematical model defining the traveler problem is as follows:
given a connectivity graph P ═ (C)P,LP) Wherein, CPFor a set of node (city) numbers, LPIs a collection of edges (distances) between nodes; set node set CP1,2P={(r,j,wrj)|r,j∈CP,wrj∈R+},wrjIs the distance between the r-th node and the j-th node, the Hamilton loop is a set of edges that contains all the nodes
Figure BDA0002532376790000151
Including the start node twice (since other nodes start from the start node and finally return to the start node), the rest once, mr,mj∈CPAnd r ≠ j;
for edge set LPMiddle elementThe choice of elements is expressed as follows:
Figure BDA0002532376790000152
the objective function of the Hamilton loop is then expressed as follows:
Figure BDA0002532376790000153
assuming that the previous state of the system is x (n), the system changes to x (n)) +1 according to a set index (such as gradient descent), the energy of the system correspondingly changes from E (n) to E (n +1), and the acceptance probability P of the system changing from x (n) to x (n)) +1 is defined as:
Figure BDA0002532376790000154
the system therein needs to be different according to different scenes, such as global area search and local intra-cluster search adopted in this embodiment.
S33, solving the minimum value of the minimized cost equation in the step S31 by adopting a simulated annealing algorithm (SA), wherein the smaller the cost function f of the node is, the greater the probability of selecting the node is, and thus the selected traversal node in the region is solved;
the simulated annealing algorithm is derived from the solid state annealing principle and comprises two parts, namely the Metropolis algorithm and the annealing process. The Metropolis algorithm is how to make a jump out under the condition of local optimal solution, and is the basis of annealing. The process of solving the minimized cost equation by the simulated annealing algorithm is as follows:
s331, in order to make the cooling process faster, firstly determining a better initial solution w through a Monte Carlo algorithm, and calculating an appropriate value f (w);
s332, considering that the selected nodes are discrete, selecting any one element in the random updating solution to generate a new solution w ', and calculating a new fitness f (w') to ensure that a global optimum is obtained;
s333, then calculating an adaptation increment Δ f ═ f (w ') -f (w), and determining whether Δ f is greater than 0, if Δ f is less than or equal to 0, accepting a new solution according to Metropolis criterion, and if Δ f is greater than 0, accepting a new solution w ═ w ', f (w) ═ f (w ');
s334, slowly cooling, judging whether a termination condition is met, if not, returning to the step S332 again; the termination condition can set the iteration times or the precision of the solution required to be solved, and the stop is realized when the iteration times or the precision requirement is met.
If so, the operation is ended, and the final solution is the minimum value of the minimization cost equation.
And S34, calculating the minimum value of the objective function of the Hamilton loop according to the selected traversal nodes in the area to obtain the shortest path of the UAV.
And S4, calculating node energy consumption corresponding to the 3 routes, and selecting an optimal scheme through the energy consumption and the UAV flight distance, wherein the optimal scheme is the final data acquisition track of the UAV.
The node energy consumption models of the UAV trajectory planning route corresponding to the 3 schemes are respectively as follows:
(1) based on non-cluster distributed estimation, the WSN is not clustered:
energy consumption of each node:
Figure BDA0002532376790000161
wherein the content of the first and second substances,
Figure BDA0002532376790000162
energy consumption to receive UAV information for a node;
Figure BDA0002532376790000163
sending data to the UAV energy consumption for the node; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; rcFor communication radius, to ensure full connectivity of the network, Rc=2*RS,RSIs the sensing radius;
(2) based on non-cluster distributed estimation, the WSN forms clusters but the cluster heads do not fuse the energy consumption model of data:
let the number of cluster members of the ith cluster be mi(iii) Cluster head nodePoint energy consumption
Figure BDA0002532376790000164
The method comprises the following steps:
(a) receiving UAV clustering information energy consumption
Figure BDA0002532376790000165
(b) Energy consumption for sending cluster information to cluster members
Figure BDA0002532376790000166
(c) Energy consumption for receiving cluster member data
Figure BDA0002532376790000167
(d) Energy consumption for sending data to UAV
Figure BDA0002532376790000168
Energy consumption of cluster members
Figure BDA0002532376790000169
The method comprises the following steps:
(e) energy consumption for receiving cluster head clustering information
Figure BDA00025323767900001610
(f) Energy consumption for receiving other node broadcast quantized data
Figure BDA00025323767900001611
(g) Energy consumption for sending data to cluster head
Figure BDA00025323767900001612
Finally, the energy consumption of the cluster head nodes and the energy consumption of the cluster members are respectively as follows:
Figure BDA0002532376790000171
Figure BDA0002532376790000172
(3) based on clustered distributed estimation, the WSN is clustered and the cluster heads fuse the energy consumption model of the data:
energy consumption of cluster head node
Figure BDA0002532376790000173
Energy consumption of member of Hezhou cluster
Figure BDA0002532376790000174
Respectively as follows:
Figure BDA0002532376790000175
Figure BDA0002532376790000176
wherein m isi*EdaFusing data energy consumption for cluster heads;
the optimal scheme is selected through energy consumption and UAV flight distance, and specifically comprises the following steps:
calculating the total energy consumption E of the network based on the node energy consumption modelTotal
Then compare the total energy consumption E of the 3 schemesTotalAnd selecting an optimal scheme according to the UAV flight distance Len corresponding to the UAV trajectory planning route, wherein the scheme selection function is as follows:
min f=a1ETotal+a2Len
in the formula, a1Is the energy consumption weight; a is2Is a path length weight; wherein a is1And a2According to the actual situation, if the network life cycle proportion is larger, the setting a is1The larger, and similarly, the more the UAV path length is constrained, the setting a2The larger. In this embodiment, a is set in consideration of the larger lifetime of the network1=100,a2=0.01。
In order to verify the algorithm of the embodiment, the embodiment also adopts MATLAB R2019a application software for simulation, and a simulation experiment firstly simulates modeling of a farmland environment and node deployment. As can be seen from fig. 2, the field environment is defined as a rectangular area of 200m × 200m, divided into 4 field areas, and the unmanned aerial vehicle (rectangular portion) is disposed at the middle position of the entire rectangular area, ignoring the distance between the areas, where "Δ" represents a solar node.
TABLE 1
Figure BDA0002532376790000177
Figure BDA0002532376790000181
EelecFor transmission of energy per unit length, EfsEnergy consumption parameters for free space energy consumption models, EmpEnergy consumption parameters for multipath fading models, EdaTo fuse the energy loss per bit.
And then analyzing the execution conditions of the node selection module and the UAV trajectory planning module of the 3 schemes through the same given CRLB, and then analyzing the UAV-WSN energy consumption condition of running multiple rounds.
Wherein, the parameter table of the simulated annealing algorithm adopted by the track planning part is as shown in the following table 2:
TABLE 2
Figure BDA0002532376790000182
(1) Regions were not clustered (scheme 1):
fig. 3 is a plan view of the UAV trajectory planning circuit in scheme 1, and it can be seen from fig. 3 that the nodes represented by black solid points are uniformly distributed in the area where the nodes are located. The calculated path length of the wheel UAV is 1200.17m, and the total energy consumption E of the networkTotal0.0049J. When the number of nodes to traverse is small, the path length of the UAV is short, and in this scheme, the nodes only need to communicate with the UAV, and the overall energy consumption of the network is minimal, so the scheme is generally adopted when considering that the network lifetime is heavier than a certain value.
Fig. 4 shows energy consumption of Nodes in 4 farmland areas under the condition of the 100 th round of operation scheme 1, where in fig. 4, the abscissa is a node (Nodes), and the ordinate is a node residual energy (energy rest), where a gray column represents a solar node residual energy, and energy collection of a solar node is considered, so that the residual energy of the solar node is not considered in calculating network energy consumption balance, and then a standard deviation matrix of the current common node residual energy is as follows:
Std=[4.3636e-04,7.9359e-04;8.3618e-04,4.6303e-04]
the maximum and minimum matrix of the residual energy of the common nodes in the region is as follows:
Min/Max=[6.2e-03/7.9e-03,6.3e-03/8.9e-03;5.3e-03/8.5e-03,7.2e-03/9.0e-03]
by comparing the value of the standard deviation matrix for removing the residual energy of the solar nodes with the value of the maximum and minimum matrix for removing the residual energy of the common nodes, the energy consumption balance of the network in each area is better.
(2) Area clustering, cluster head only forwards un-fused data (scheme 2): calculated, the path length of the UAV in the round is 813.5m, and the total energy consumption E of the networkTotal0.0213J. Fig. 5 is a schematic diagram of a UAV trajectory planning route according to scheme 2, and it can be seen from fig. 5 that the UAV traverses the cluster heads for data acquisition, and the path length of the UAV depends on the number of cluster heads having intra-cluster selection nodes, so that even when the number of traversal nodes is large enough, the path length of the UAV is substantially unchanged, and the total energy consumption of the nodes has a direct influence on the number of cluster heads having intra-cluster selection nodes and the number of intra-cluster selection nodes. From this wheel, it can be seen that the UAV path length for scenario 2 is reduced by about 1/3 compared to scenario 1, but the network total energy consumption is more than 4 times that of scenario 1.
Figure 6 shows the node energy consumption for the case of run 2 run 60 for 4 farmland areas. The standard deviation matrix of the residual energy of the common nodes in the area without the solar nodes is as follows:
Std=[7.3593e-04,6.3812e-04;5.8002e-04,5.3920e-04]
the maximum and minimum matrix of the residual energy of the common nodes in the region is as follows:
Min/Max=[4.6e-03/8.6e-03,6.2e-03/8.7e-03;4.3e-03/6.8e-03,7.1e-03/9.1e-03]
and comparing the value of the standard deviation matrix for removing the residual energy of the solar nodes with the value of the maximum and minimum matrix for removing the residual energy of the common nodes, so that the energy consumption balance of the network in each area is better.
(3) Region clustering, cluster head fusion data (scheme 3): different from the two previous schemes in which the selection of the nodes is directly performed in the whole area, under the condition of the scheme, the number of formed clusters and the number of traversal nodes in the clusters directly influence the CRLB of the distributed estimation, so the scheme adopts a traversal algorithm to calculate the number of formed clusters and the number of traversal nodes in the clusters. And selecting traversal nodes in each cluster based on the calculated cluster forming number and the calculated traversal node number in the cluster.
Calculated, the path length of the UAV in this round is 535.5m, the total energy consumption E of the networkTotal0.0374J. Fig. 7 is a UAV trajectory planning circuit diagram of the scheme 3, and it can be seen from the diagram that the path length for UAV trajectory planning based on clustered distributed estimation is smaller than those of the first two schemes, but the node distribution uniformity is worse than that of the first two schemes, and the total energy consumption of the network is increased by a lot.
Figure 8 shows the node energy consumption for the 10 th run scenario 3 for 4 farmland areas. The standard deviation matrix of the residual energy of the common nodes in the area without the solar nodes is as follows:
Std=[9.4807e-04,7.8176e-04;2.8133e-04,9.2428e-04]
the maximum and minimum matrix of the residual energy of the common nodes in the region is as follows:
Min/Max=[5.7e-03/9.5e-03,6.4e-03/8.4e-03;6.6e-03/7.8e-03,5.8e-03/9.0e-03]
when the cluster number and the member number in the cluster are calculated, if the precision of the data needing to be acquired is too high, namely the given CRLB is too small, the cluster number and the member number in the cluster are larger, and the member number in the cluster of some clusters cannot meet the obtained member number in the cluster, so the method is slightly inferior to the first two schemes in the aspect of balance.
A comparison table of the indexes of the 3 schemes is shown in Table 3:
TABLE 3
Figure BDA0002532376790000201
Simulation results show that: under the same given CRLB, the region is clustered, the cluster head fusion data scheme is optimal in shortening the path length of the UAV, and the total network energy consumption of the region non-clustering scheme is minimum. Therefore, in selecting a scheme, the weight relationship between the network life cycle and the UAV path length can be weighted by means of a scheme selection function.
The techniques described herein may be implemented by various means. For example, these techniques may be implemented in hardware, firmware, software, or a combination thereof. For a hardware implementation, the processing modules may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Programmable Logic Devices (PLDs), field-programmable gate arrays (FPGAs), processors, controllers, micro-controllers, electronic devices, other electronic units designed to perform the functions described herein, or a combination thereof.
For a firmware and/or software implementation, the techniques may be implemented with modules (e.g., procedures, steps, flows, and so on) that perform the functions described herein. The firmware and/or software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (9)

1. A UAV data acquisition track algorithm based on a solar power supply type agricultural Internet of things is characterized by comprising the following steps:
s1, aiming at a farmland UAV-WSN, selecting a solar node as a cluster head, then determining a clustering center by adopting an FCM clustering algorithm based on the optimal cluster number, and mapping the cluster head node by combining the clustering center to deploy the solar node;
s2, providing 3 different UAV trajectory design schemes of WSN non-clustering, WSN clustering but no cluster head fusion data and WSN clustering and cluster head fusion data, and then calculating the number of traversal nodes and the number of clusters required by the area under the 3 schemes according to the given CRLB;
s3, planning UAV paths according to the distribution uniformity of the nodes, the residual energy of the nodes and the solar energy collection value to obtain UAV path planning routes corresponding to the 3 schemes;
and S4, calculating node energy consumption corresponding to the 3 routes, and selecting an optimal scheme through the energy consumption and the UAV flight distance, wherein the optimal scheme is the final data acquisition track of the UAV.
2. The UAV data acquisition trajectory algorithm based on the solar powered agricultural Internet of things as claimed in claim 1, wherein in step S1, an FCM clustering algorithm based on the optimal cluster number is used to determine the clustering center, and the process specifically comprises the following steps:
s11, calculating a clustering number K according to the optimal clustering number formula:
Figure FDA0002532376780000011
wherein K is equal to the number m of cluster heads, and
Figure FDA0002532376780000012
n is the number of common nodes; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; c is the region side length d2Is the distance between the cluster head and the UAV;Empenergy consumption parameters of the multi-path attenuation model; eelecEnergy consumption is transmitted for unit length;
s12, initializing a membership degree matrix uij
Giving a clustering number K and a total number N of nodes, considering the minimum objective function in the cluster of each clustering group, and adopting a fuzzy set to set a membership set of each node to each cluster as U, namely the membership of the jth node belonging to the ith cluster is UijThe center of the group is ciAnd is and
Figure FDA0002532376780000013
the jth node, i.e., node xj
In order to make the distance between each node and the center of the group to which the node belongs effective when determining the node to which the node belongs and the distance between the node and the center of the group to which the node does not belong ineffective when determining the node to which the node belongs, the importance of controlling the membership degree by considering a fuzzy number q is considered, so that the determination xjThe calculated values belonging to group i are:
Figure FDA0002532376780000021
when node xjThe smaller the degree of membership to the i-th group, even if the distance is large, the fuzzy number q makes it possible to reduce the number of the groups
Figure FDA0002532376780000022
The distance is therefore equivalent to invalid when determining the position to which it belongs;
taking into account the initial degree of membership uijIntroducing a logistic chaotic model to carry out membership u on the influence of the final clustering effect of the FCM algorithmijThe mathematical model of the logistic chaotic model is as follows:
an+1=μ*an*(1-an)
wherein, anValue generated for the nth iteration, a1Is a random value in the range of (0-1); a isn+1The value generated for the (n +1) th iteration, [ mu ] ∈ [ 0-4 ]];anThe value generated by iteration is in chaos state and hasErgodicity;
s13, adopting Lagrange multiplier and respectively pairing uijAnd ciAnd (3) calculating a partial derivative according to the following calculation formula:
Figure FDA0002532376780000023
Figure FDA0002532376780000024
wherein, clIs the cluster center of the first cluster;
s14, for all nodes and all clusters, the objective function is:
Figure FDA0002532376780000025
solving the condition of satisfying the constraint
Figure FDA0002532376780000026
Objective function of time J(t)Minimum value of (1), J(t)Representing the objective function value at the t iteration;
s15, if J(t)-J(t-1)L <, wherein, is the minimum deviation value, J(t-1)Representing the objective function value at the t-1 th iteration, the algorithm ends, cluster center ciNamely the clustering center; otherwise, go back to step S13.
3. The UAV data acquisition trajectory algorithm based on the solar powered agricultural Internet of things as claimed in claim 2, wherein in step S1, solar nodes are deployed by combining cluster center mapping cluster head nodes, specifically:
selecting a node as a clustering center by adopting nearest neighbor mapping, and taking ciDenotes the cluster center of the ith cluster, xijRepresenting the jth intra-cluster node of the ith cluster, and selecting the node as follows:
min||ci-xij||
and after the position mapping is completed, selecting a mapping node to deploy for the solar node.
4. The UAV data acquisition trajectory algorithm based on the solar powered agricultural Internet of things as claimed in claim 1, wherein in step S2, the UAV trajectory design scheme with non-clustered WSN specifically means: all the traversal nodes are in direct communication with the UAV, the UAV sends information to the traversal nodes, and the traversal nodes send data to the UAV;
the design scheme of the UAV trajectory with WSN clustering and no cluster head fused with data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, and the cluster head nodes forward the data to the UAV;
the design scheme of the UAV trajectory of the WSN clustered and cluster head fused data specifically includes: the UAV only communicates with the cluster head, the UAV sends cluster member information to the cluster head, the cluster head broadcasts the cluster member information to the cluster members, then the cluster members send data to the cluster head, the cluster head fuses the data, and then the data are forwarded to the UAV.
5. The UAV data acquisition trajectory algorithm based on the solar powered agricultural IOT of claim 1, wherein in step S2, the number of traversal nodes and the number of clusters required by the area under 3 schemes are calculated according to the given CRLB, and the process is as follows:
(1) for WSNs not clustered:
a cluster-free adaptive quantization scheme is proposed:
calculating CRLB under the condition that WSN is not clustered through a cluster-free distributed estimation formula:
Figure FDA0002532376780000031
wherein N is the number of nodes;
Figure FDA0002532376780000032
indicating sensor asNormalized frequency of threshold, P (τ)n-1=k*Δ) Is the quantization threshold τ of the n-1 th noden-1Is kΔProbability of time; p is a radical ofw(x) Is wkA Probability Density Function (PDF); fw(x) Is wkComplementary Cumulative Density Function (CCDF); θ is an estimated environmental physical quantity of the physical world, i.e. a parameter estimated from quantized data received from the UAV;
Figure FDA0002532376780000033
is an estimate of the parameter θ; w is akIs the observed noise of the kth node in the region; Δ represents a parametric quantization step; k represents the kth node in the area; tau iskAccumulating early transmission data for a node from other sensor nodes and using the accumulated value as a threshold for its 1-bit quantifier;
then calculating the number of traversal nodes required by the region which is closest to and smaller than the given region CRLB by adopting a dichotomy;
(2) for WSN clustering but no fusion data: the calculation of locally estimated CRLB and the required traversal node number of the area is the same as the calculation of the WSN non-clustering;
(3) for WSN clustering and cluster head fusion data:
a clustering adaptive quantization scheme is proposed: the globally estimated CRLB may be represented by a weighted sum of the locally estimated CRLB; calculating CRLB under the condition that WSN is clustered and cluster heads fuse data through a clustering distributed estimation formula:
Figure FDA0002532376780000034
wherein the content of the first and second substances,
Figure FDA0002532376780000035
a weighting coefficient representing a local estimate;
Figure FDA0002532376780000036
and
Figure FDA0002532376780000041
distributed estimation for the ith cluster and the jth cluster respectively;
then calculating the number of members in the cluster when the CRLB of a given area is met under the condition of different cluster numbers, wherein the maximum cluster number is the number of solar nodes in the area, and the minimum cluster number is 2;
and comparing the total energy consumption of the WSN under different cluster numbers, and selecting the cluster number and the member number in the cluster under the condition of minimum energy consumption.
6. The UAV data acquisition trajectory algorithm based on the Internet of things of solar powered agriculture of claim 1, wherein for node distribution uniformity:
calculating the distribution uniformity f of the nodes through a distribution uniformity potential functionrWherein, the distribution uniformity potential function calculation formula of the r-th node is as follows:
Figure FDA0002532376780000042
in the formula, n is the total number of nodes in the region; l represents the extension number of other nodes in the area; k represents the kth node in the area; s represents the s-th continuation node of the node in the region; x is the number ofrI.e. represents the r-th node;
Figure FDA0002532376780000043
to a node xrThe s-th continuation node of the k-th node in the area;
the uniformity potential function calculation formula of all nodes in the region is as follows:
Figure FDA0002532376780000044
when the distribution of the nodes in the region is more uniform, the total uniformity potential function value is smaller;
for node residual energy:
calculating the weight of the residual energy of the common node by the following calculation formula:
Figure FDA0002532376780000045
in the formula, EstartResidual energy is the node; eRestIs the initial energy of the node;
calculating the weight of the residual energy of the solar node by the following calculation formula:
Figure FDA0002532376780000046
in the formula, EForeTo predict the energy harvesting value, the value E can be harvested from solar energy as followshavEstimating;
when the residual energy of the node is more, the weight of the residual energy is smaller;
for solar energy collection values:
the solar energy collection can be quantized into a solar energy collection energy model represented by a trigonometric function of different peak values according to factors such as time, weather and position, a solar energy collection value is calculated through the model, and according to the rising and falling conditions of the sun, the solar energy collection is started at 6 am and finished at 6 pm;
the solar energy collection energy model is as follows:
Ehav=z*sin(x)-rand
in the formula, EhavCollecting a value for solar energy; z is the solar energy collection peak value under different conditions of sunny days and cloudy days; x is a conversion value of a solar energy collecting time point,
Figure FDA0002532376780000051
time is the number of seconds from the current time to 6 am; rand is a random value that simulates factors that affect energy harvesting.
7. The UAV data acquisition trajectory algorithm based on the solar powered agricultural Internet of things as claimed in claim 6, wherein the UAV path planning process according to the node distribution uniformity, the node residual energy and the solar energy acquisition value is as follows:
s31, selecting a traversal node of the UAV based on a minimized cost equation, wherein the minimized cost equation is as follows:
Figure FDA0002532376780000052
in the formula, NiThe number of the nodes selected in the ith cluster is obtained; w is aijThe residual energy weight of the jth node in the ith cluster is obtained; f. ofijThe uniformity potential function value of the jth node in the ith cluster is obtained;
s32, considering the UAV path planning problem of the traversal node obtained by considering the minimum value of the cost function obtained by the simulated annealing algorithm, which may be regarded as a traveling quotient problem, that is, a shortest path planning problem that starts from an initial city, traverses all other cities, and finally returns to the initial city, and solving the traveling quotient problem means traversing all nodes except the initial node once in a connected graph, and planning a Hamilton loop except the shortest one, where a mathematical model defining the traveling quotient problem is as follows:
given a connectivity graph P ═ (C)P,LP) Wherein, CPFor a set of node numbers, LPIs a collection of edges between nodes; set node set CP1,2P={(r,j,wrj)|r,j∈CP,wrj∈R+},wrjIs the distance between the r-th node and the j-th node, the Hamilton loop is a set of edges that contains all the nodes
Figure FDA0002532376780000053
Wherein the method comprises the steps of starting the node twice, remaining the node once, and mr,mj∈CPAnd r ≠ j;
for edge set LPThe selection of the element(s) is represented as follows:
Figure FDA0002532376780000054
the objective function of the Hamilton loop is then expressed as follows:
Figure FDA0002532376780000055
assuming that the previous state of the system is x (n), the state of the system is changed into x (n)) +1 according to the set index, the energy of the system is correspondingly changed from E (n) to E (n +1), and the receiving probability P of the system from x (n) to x (n)) +1 is defined as:
Figure FDA0002532376780000061
the system is different according to different scene requirements, and global area search and local cluster search are carried out in the system;
s33, solving the minimum value of the minimized cost equation in the step S31 by adopting a simulated annealing algorithm, wherein the smaller the cost function f of the node is, the greater the probability of selecting the node is, and thus the selected traversal node in the region is solved;
and S34, calculating the minimum value of the objective function of the Hamilton loop according to the selected traversal nodes in the area to obtain the shortest path of the UAV.
8. The UAV data acquisition trajectory algorithm based on the Internet of things of solar powered agriculture of claim 7, wherein the process of step S33 is as follows:
s331, in order to make the cooling process faster, firstly determining a better initial solution w through a Monte Carlo algorithm, and calculating an appropriate value f (w);
s332, considering that the selected nodes are discrete, selecting any one element in the random updating solution to generate a new solution w 'to calculate a new proper value f (w');
s333, then calculating an adaptation increment Δ f ═ f (w ') -f (w), and determining whether Δ f is greater than 0, if Δ f is less than or equal to 0, accepting a new solution according to Metropolis criterion, and if Δ f is greater than 0, accepting a new solution w ═ w ', f (w) ═ f (w ');
s334, slowly cooling, judging whether a termination condition is met, if not, returning to the step S332 again;
if so, the operation is ended, and the final solution is the minimum value of the minimization cost equation.
9. The UAV data acquisition trajectory algorithm based on the solar powered agricultural Internet of things as claimed in claim 1, wherein in step S4, the node energy consumption models of the UAV trajectory planning route corresponding to the 3 schemes are respectively as follows:
(1) based on non-cluster distributed estimation, the WSN is not clustered:
energy consumption of each node:
Figure FDA0002532376780000062
wherein the content of the first and second substances,
Figure FDA0002532376780000063
energy consumption to receive UAV information for a node;
Figure FDA0002532376780000064
sending data to the UAV energy consumption for the node; k is a radical of1Is the cluster information packet length; k is a radical of2The length of the data packet is collected; rcFor communication radius, to ensure full connectivity of the network, Rc=2*RS,RSIs the sensing radius;
(2) based on non-cluster distributed estimation, the WSN forms clusters but the cluster heads do not fuse the energy consumption model of data:
let the number of cluster members of the ith cluster be miEnergy consumption of cluster head node
Figure FDA0002532376780000071
The method comprises the following steps:
(a) receiving UAV clustering information energy consumption
Figure FDA0002532376780000072
(b) Energy consumption for sending cluster information to cluster members
Figure FDA0002532376780000073
(c) Energy consumption for receiving cluster member data
Figure FDA0002532376780000074
(d) Energy consumption for sending data to UAV
Figure FDA0002532376780000075
Energy consumption of cluster members
Figure FDA0002532376780000076
The method comprises the following steps:
(e) energy consumption for receiving cluster head clustering information
Figure FDA0002532376780000077
(f) Energy consumption for receiving other node broadcast quantized data
Figure FDA0002532376780000078
(g) Energy consumption for sending data to cluster head
Figure FDA0002532376780000079
Finally, the energy consumption of the cluster head nodes and the energy consumption of the cluster members are respectively as follows:
Figure FDA00025323767800000710
Figure FDA00025323767800000711
(3) based on clustered distributed estimation, the WSN is clustered and the cluster heads fuse the energy consumption model of the data:
energy consumption of cluster head node
Figure FDA00025323767800000712
Energy consumption of member of Hezhou cluster
Figure FDA00025323767800000713
Respectively as follows:
Figure FDA00025323767800000714
Figure FDA00025323767800000715
wherein m isi*EdaFusing data energy consumption for cluster heads;
the optimal scheme is selected through energy consumption and UAV flight distance, and specifically comprises the following steps:
calculating the total energy consumption E of the network based on the node energy consumption modelTotal
Then compare the total energy consumption E of the 3 schemesTotalAnd selecting an optimal scheme according to the UAV flight distance Len corresponding to the UAV trajectory planning route, wherein the scheme selection function is as follows:
minf=a1ETotal+a2Len
in the formula, a1Is the energy consumption weight; a is2Is a path length weight; wherein a is1And a2According to the actual situation, if the network life cycle proportion is larger, the setting a is1The larger, and similarly, the more the UAV path length is constrained, the setting a2The larger.
CN202010521675.6A 2020-06-10 2020-06-10 UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things Active CN111757266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010521675.6A CN111757266B (en) 2020-06-10 2020-06-10 UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010521675.6A CN111757266B (en) 2020-06-10 2020-06-10 UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things

Publications (2)

Publication Number Publication Date
CN111757266A true CN111757266A (en) 2020-10-09
CN111757266B CN111757266B (en) 2022-03-18

Family

ID=72675142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010521675.6A Active CN111757266B (en) 2020-06-10 2020-06-10 UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things

Country Status (1)

Country Link
CN (1) CN111757266B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203310A (en) * 2020-10-12 2021-01-08 重庆邮电大学 Data transmission method based on unmanned aerial vehicle cooperation
CN113194502A (en) * 2021-04-30 2021-07-30 哈尔滨工业大学 Distributed center selection and communication method for unmanned aerial vehicle cluster
CN113313412A (en) * 2021-06-18 2021-08-27 河海大学 Public bicycle dispatching model based on improved circle algorithm

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994554A (en) * 2015-05-04 2015-10-21 四川大学 Mobile assistance WSNs routing method based on unequal clustering
US20170083979A1 (en) * 2014-09-03 2017-03-23 Infatics, Inc. (DBA DroneDeploy) System and methods for hosting missions with unmanned aerial vehicles
CN107182063A (en) * 2017-05-26 2017-09-19 上海电机学院 A kind of Cluster-Based Routing Protocols for Wireless Sensor based on natural energy
CN107548029A (en) * 2017-08-21 2018-01-05 河海大学常州校区 AUV methods of data capture in a kind of underwater sensing network based on sea water stratification
CN110488873A (en) * 2019-09-20 2019-11-22 怀化学院 A kind of plant protection drone operation flight course planning method and system
CN110879610A (en) * 2019-10-24 2020-03-13 北京航空航天大学 Reinforced learning method for autonomous optimizing track planning of solar unmanned aerial vehicle
CN111198004A (en) * 2020-01-06 2020-05-26 华北电力大学(保定) Electric power inspection information acquisition system based on unmanned aerial vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083979A1 (en) * 2014-09-03 2017-03-23 Infatics, Inc. (DBA DroneDeploy) System and methods for hosting missions with unmanned aerial vehicles
CN104994554A (en) * 2015-05-04 2015-10-21 四川大学 Mobile assistance WSNs routing method based on unequal clustering
CN107182063A (en) * 2017-05-26 2017-09-19 上海电机学院 A kind of Cluster-Based Routing Protocols for Wireless Sensor based on natural energy
CN107548029A (en) * 2017-08-21 2018-01-05 河海大学常州校区 AUV methods of data capture in a kind of underwater sensing network based on sea water stratification
CN110488873A (en) * 2019-09-20 2019-11-22 怀化学院 A kind of plant protection drone operation flight course planning method and system
CN110879610A (en) * 2019-10-24 2020-03-13 北京航空航天大学 Reinforced learning method for autonomous optimizing track planning of solar unmanned aerial vehicle
CN111198004A (en) * 2020-01-06 2020-05-26 华北电力大学(保定) Electric power inspection information acquisition system based on unmanned aerial vehicle

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JOO-SEOK LEE;KEE-HO YU: "Optimal Path Planning of Solar-Powered UAV Using Gravitational Potential Energy", 《IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS》 *
XUEJING LAN;CHENGXUAN QIN;YIWEN LIU;HAIBIN OUYANG;GUIYUN LIU: "Intelligent guidance of autonomous mobile robots based on adaptive dynamic programming", 《2019 34RD YOUTH ACADEMIC ANNUAL CONFERENCE OF CHINESE ASSOCIATION OF AUTOMATION (YAC)》 *
刘秉瑞等: "空地网络中空中节点自主寻径策略", 《计算机与现代化》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203310A (en) * 2020-10-12 2021-01-08 重庆邮电大学 Data transmission method based on unmanned aerial vehicle cooperation
CN113194502A (en) * 2021-04-30 2021-07-30 哈尔滨工业大学 Distributed center selection and communication method for unmanned aerial vehicle cluster
CN113194502B (en) * 2021-04-30 2022-06-21 哈尔滨工业大学 Distributed center selection and communication method for unmanned aerial vehicle cluster
CN113313412A (en) * 2021-06-18 2021-08-27 河海大学 Public bicycle dispatching model based on improved circle algorithm

Also Published As

Publication number Publication date
CN111757266B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN111757266B (en) UAV data acquisition trajectory algorithm based on solar power supply type agricultural Internet of things
CN109583665B (en) Unmanned aerial vehicle charging task scheduling method in wireless sensor network
CN105959987B (en) A kind of data anastomosing algorithm improving energy of wireless sensor network utilization rate and service performance
CN110968426B (en) Edge cloud collaborative k-means clustering model optimization method based on online learning
CN112902969B (en) Path planning method of unmanned aerial vehicle in data collection process
CN107743308B (en) Node clustering data collection method and device for environmental monitoring
Romoozi et al. A positioning method in wireless sensor networks using genetic algorithms
Shanmugam et al. An energy‐efficient clustering and cross‐layer‐based opportunistic routing protocol (CORP) for wireless sensor network
CN102014344A (en) Clustering control method of intelligent wireless sensor network based on DPSO (Discrete Particle Swarm Optimization)
Singh et al. Multi-objective NSGA-II optimization framework for UAV path planning in an UAV-assisted WSN
George et al. Gaussian regression models for evaluation of network lifetime and cluster-head selection in wireless sensor devices
Anandkumar Hybrid fuzzy logic and artificial Flora optimization algorithm-based two tier cluster head selection for improving energy efficiency in WSNs
Gad et al. Communication-efficient federated learning in drone-assisted IoT networks: Path planning and enhanced knowledge distillation techniques
CN114301910A (en) Cloud-edge collaborative computing task unloading method in Internet of things environment
KR101565694B1 (en) Artificial bee colony clustering design method and system in wireless sensor network
Yang et al. WOAD3QN-RP: An intelligent routing protocol in wireless sensor networks—A swarm intelligence and deep reinforcement learning based approach
CN112770256A (en) Node track prediction method in unmanned aerial vehicle self-organizing network
Yadav et al. A novel algorithm for wireless sensor network routing protocols based on reinforcement learning
Xiong et al. An energy aware algorithm for edge task offloading
Puviarasu et al. Dynamic uneven clustering protocol for efficient energy management in EH-WSNs
Ren et al. Energy-efficient sensory data gathering in IoT networks with mobile edge computing
CN113919188B (en) Relay unmanned aerial vehicle path planning method based on context-MAB
CN115545106A (en) AoI sensitive data collection method and system in multiple unmanned aerial vehicles
Ding et al. An efficient reinforcement learning game framework for uav-enabled wireless sensor network data collection
Wang et al. Adaptive Hybrid Spatial-Temporal Graph Neural Network for Cellular Traffic Prediction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant