Disclosure of Invention
Based on the problem of short supply and short demand of the current imaging satellite, the invention provides a multi-satellite imaging task planning method, which seeks a reasonable and scientific planning scheme between the limited imaging satellite resources and a large amount of user imaging demands, and is beneficial to fully utilizing the satellite resources and realizing the maximization of the user demand satisfaction.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
a multi-satellite imaging task planning method comprises the following steps:
step 1, establishing a task model, and expressing all point target tasks by using the task model;
step 2, constructing all point target tasks into an imaging task clustering graph model;
constructing a clustering graph model by taking a single orbit circle of a satellite as a reference; respectively taking point target tasks in the track cycle as 1 node of a corresponding track cycle part in a clustering graph model, and constructing a non-directional edge between each node in the clustering graph model based on a clustering constraint condition to obtain an imaging task clustering graph model;
step 3, aggregating point target tasks which meet the clustering constraint condition and can be observed in the same imaging strip by the satellite into clustering tasks in an imaging task clustering graph model;
step 4, constructing constraint conditions and an objective function of the task planning; constructing a task planning directed acyclic graph model corresponding to the imaging task clustering graph model obtained in thestep 3 by using constraint conditions and objective functions of task planning;
step 5, based on the task planning directed acyclic graph model, adopting a maximum and minimum ant colony algorithm to carry out task planning;
step 5.1, setting ant colonies at the initial node of each track turn of the task planning directed acyclic graph model;
step 5.2, respectively planning each track circle of the directed acyclic graph model aiming at the task, taking the initial node of the current track circle as the initial position of the movement of the ant individuals, taking the terminal node of the current track circle as the terminal position of the movement of the ant individuals, and taking heuristic information and pheromone concentration as the movement rule of the ant individuals, so that all ant individuals in the ant colony move from the initial position to the terminal position, and obtaining the movement paths of all ant individuals in the ant colony;
the heuristic information between two adjacent nodes is constructed by the number of tasks between the two adjacent nodes, the size of the attitude maneuver angle and the longitude difference;
step 5.3, selecting the moving path selected by the most ants from all the moving paths of each track circle as the optimal moving path of the current iteration cycle of the current track circle;
step 5.4, updating the optimal moving path from each track circle to the current iteration cycle;
step 5.5, updating the pheromone concentration of the directed acyclic graph model of the mission planning by utilizing heuristic information, and returning to the step 5.2 to enter the next iteration cycle;
and 5.6, when the iteration ending condition is reached, taking the optimal moving path of each orbit circle as a final multi-star imaging task planning scheme.
The method aggregates the point target tasks meeting the clustering constraint condition into clustering tasks, thereby effectively utilizing limited imaging satellite resources to complete a plurality of imaging tasks; and then, performing task planning on the clustered tasks by adopting a maximum-minimum ant colony algorithm, and introducing the number of tasks, attitude maneuver angles and longitude differences into the maximum-minimum ant colony algorithm to construct heuristic information and update pheromone concentration, so that the reasonability of ant path selection can be ensured, and a better task planning scheme can be ensured.
Further, the task model established instep 1 is MetaTask, and is expressed as: MetaTask { IDSet, TimeWindowMap, Lat, Lon, Priority };
the IDSet is a set of a plurality of single target task numbers; if the IDSet only contains one number, the task MetaTask is a point target task; if the IDSet contains a plurality of numbers, the task is a clustering task; the TimeWindowMap is a map set which takes the number SatelliteID of the satellite as a key and takes a visible time window list between the satellite and the task as a value; lat represents the latitude of the MetaTask; lon denotes the longitude of the MetaTask for the task; priority represents the Priority of the task MetaTask;
the Satellite model in the task model is Satellite, and is expressed as:
Satellite{SatelliteID,AllocatedTasks<MetaTask>,Eccentricity,SemiMajorAxis,Inclination,TrueAnomaly,AscNodeRAAN,Perigee,ConeAngle,AttitudeStabilizationTime,AttitudeSpeed};
wherein: satellite id represents the number of the satellite, allocatedttasks represents the set of missions with which there is a window of visibility, Eccentricity represents the Eccentricity of the satellite orbit, semimajor axis of the satellite orbit, Inclination represents the Inclination of the satellite orbit, truean represents the true periorbital angle of the satellite, AscNodeRAAN represents the ascension of the satellite orbit, perfect represents the periorbital amplitude of the satellite orbit, ConeAngle represents the field angle of view of the satellite remote sensor, attetudinalsistantiationtime represents the satellite remote sensor attitude stabilization time, attetude speed represents the satellite remote sensor attitude maneuver angular velocity;
the visible time window model in the task model is TimeWindow, which is expressed as:
TimeWindow{ID,StartTime,EndTime,RollAngle_S,RollAngle_E};
wherein: ID represents the number of the visible time window, StartTime represents the start time of the visible time window, EndTime represents the end time of the visible time window, RollAngle _ S represents the roll angle corresponding to the start time of the visible time window, and RollAngle _ E represents the roll angle corresponding to the end time of the visible time window.
Further, the calculation method of the yaw angle of the clustering task T is as follows:
calculating the intersection of the roll angle value ranges of all point target tasks in the clustering task T, taking the obtained intersection as the roll angle value range delta theta, and obtaining the optimal roll angle set B of each point target task in the clustering task T;
sorting the optimal yaw angles in the optimal yaw angle set B according to the magnitude sequence to obtain a set B 'and calculating a median M of the set B';
judging the relation between the median M and the roll angle value range delta theta of the clustering task T: if the median M is within the roll angle value range Delta theta of the clustering task T, taking the median M as the roll angle of the clustering task T; if the median M is larger than the upper bound of the roll angle value range Delta theta of the clustering task T, taking the upper bound of the roll angle value range of the clustering task T as the roll angle of the clustering task T; and if the median M is smaller than the lower bound of the roll angle value range delta theta of the clustering task T, taking the lower bound of the roll angle value range of the clustering task T as the roll angle of the clustering task T.
The clustering task side swing angle calculation method based on the median principle reduces the loss of imaging quality of the clustering task. For each point target task in the clustering task, an optimal yaw angle is provided, namely, the imaging satellite remote sensor is turned to a position opposite to the point target task, and the observation effect on the point target task is optimal at the position of the optimal yaw angle; the larger the difference value between the yaw angle of the satellite remote sensor and the optimal yaw angle of the point target task is, the poorer the observation effect of the point target task is. Therefore, under the condition of considering the imaging quality, the problem of solving the optimal yaw angle of the clustering task can be converted into the following steps: and taking a yaw angle in the yaw angle value range of the clustering task, so that the sum of absolute values obtained by subtracting the yaw angle from the optimal yaw angle of each point target task is minimum. According to the median principle, the point with the minimum sum of the distances from the point to the point n on the numerical axis is the median of the point n, so that the invention can use the median of the optimal yaw angle of each point target task in the clustering task as the yaw angle of the clustering task based on the median principle, and can reduce the loss of imaging quality of the clustering task caused by the pitch angle value.
Further, the clustering constraints include: yaw angle constraints, maximum on-time constraints, and idle time constraints,
the yaw angle constraint means that if a plurality of points are on the target task t1、t2、t3……、tkCan be clustered into a clustering task T, then the corresponding yaw angle delta theta1、△θ2、△θ3……、△θkThe requirements are as follows:
the maximum starting time constraint means that if a plurality of point target tasks can be clustered into a clustering task T, any two point target tasks Tl、tkAll the requirements are as follows:
max(tek,tel)-min(tsk,tsl)≤MaxDuration;
in the formula, tsk、tekRespectively representing point target tasks tkVisible time window of [ ts ]k,tek]Start time and end time of tsl、telRespectively representing point target tasks tlVisible time window of [ ts ]l,tel]MaxDuration represents the longest time limit for the remote sensor to perform one imaging observation when it is turned on;
the idle time constraint means that if two points target task tl、tkCan be clustered into a clustering task T, and needs to satisfy the following conditions:
in the formula, WT
klIndicating remote sensor target task t at two points
lAnd t
kThe imaging idle time in between is set to zero,
indicating remote sensor target task t at two points
lAnd t
kTime of posture adjustment between, D
minRepresenting the attitude stabilization time of the remote sensor; roll
l、Roll
kRespectively representing two point target tasks t
lAnd t
kThe yaw angle v in the same track circle represents the attitude maneuvering speed of the remote sensor;
when a plurality of point target tasks simultaneously satisfy 3 constraint conditions of yaw angle constraint, maximum startup time constraint and idle time constraint, the plurality of point target tasks satisfy clustering constraint conditions and can be aggregated into a clustering task T;
when two point target tasks do not meet space time constraint, but meet yaw angle constraint and maximum boot time constraint, and a plurality of point target tasks meeting clustering conditions exist between the two tasks, the two point target tasks meet transitive clustering conditions and can be aggregated into a clustering task T.
Further, the specific process ofstep 2 is:
step 2.1, acquiring a point target task set G of a satellite with a visible time window in the ith orbital circle;
step 2.2, adjusting the value range of the yaw angle of the point target task;
step 2.3, taking each point target task as 1 node respectively, judging whether any two point target tasks in the point target task set G meet the clustering constraint condition, and if so, constructing a non-directional edge between two nodes corresponding to the two point target tasks;
step 2.4, finding out all connected graphs contained in the point target task set G to obtain an initial task clustering model CGM;
step 2.5, judging whether any two point target tasks without undirected edges in each connected graph in the initial task clustering model CGM meet transitive clustering conditions, and if so, constructing undirected edges between two nodes corresponding to the two point target tasks;
step 2.6, making i equal to i +1, and returning to the step 2.1; until an imaging task clustering graph model including all track circle parts is obtained.
Further, the specific process ofstep 3 is:
step 3.1, acquiring a connected graph G in a task clustering graph model CGM of the ith orbit circle of the satellite S, setting P as a node set contained in the connected graph G, and initializing a clustering result set ClusterRes;
step 3.2, if P is empty, turning to step 3.9; otherwise, selecting the node P1 with the maximum degree from the node set P; if the node with the maximum degree is not unique, randomly selecting a node, and adding all neighbor nodes of the node p1 into a first set p1_ neighbor; the degree of a node refers to the number of undirected edges connected with the node, and a neighbor node of the node refers to a node which is connected with the node by the undirected edges;
step 3.3, if the first set p1_ neighbor is empty, go to step 3.8; otherwise, selecting a node with the most common neighbors with the node p1 from the first set p1_ Neigh, and adding the node into the second set p1_ MaxCommNeigh;
step 3.4, if the second set p1_ MaxCommNeigh contains only nodes, let p2 be p1_ MaxCommNeigh [0], go tostep 7; if the node contained in the second set p1_ MaxCommNeigh is not unique, go to step 3.5;
step 3.5, selecting nodes with least irrelevant edges with the node p1 from the second set p1_ MaxCommNeigh, and adding a third set p1_ MinUnRelatedEdge; if the node included in the third set p1_ minunrated edge is unique, let p2 be p1_ minunrated edge [0], go to step 3.7; if the node contained in the third set p1_ MinUnRelatedEdge is not unique, go to step 3.6;
step 3.6, selecting the node with the maximum priority from the third set p1_ MinUnRelatedEdge, and if the node with the maximum priority is not unique, selecting the node with the minimum undirected edge weight formed by the node p1 and juxtaposing the node with the minimum undirected edge weight asp 2;
the edge weight value of the non-directional edge refers to imaging idle time between nodes at two ends of the non-directional edge;
step 3.7, deleting irrelevant edges of the edges (P1, P2), merging the nodes P1 and P2 into a new node P1, deleting the node P2 from the node set P, updating the first set P1_ Neigh, and turning to step 3.3;
step 3.8, adding the node p1 into the clustering result ClusterRes, and turning to the step 3.2;
step 3.9, outputting a clustering result ClusterRes, and ending;
wherein, the model of the clustering result ClusterRes is MSITCR < SatelliteID, ClusterResList < ClusterTask > >, which is a key value pair set taking satellite number SatelliteID as a key and clustering task list ClusterResList as a value; the clustering task model is ClusterTask { OrbitID, MetaTaskIDSet, TW { StartTime, EndTime }, RollAngle };
in the clustering task model, the OrbitID is the number of the satellite orbit circle, which indicates the corresponding clustering task belongs to which orbit circle of the satellite; MetaTaskIDSet is a set of point target task numbers forming the clustering task, TW corresponds to a visible time window of the clustering task and a satellite with the number of SatelliteID in the OrbitID orbit turns, StartTime is a start time, EndTime is an end time, and RollAngle is a yaw angle corresponding to the clustering task.
Further, the constraints of the mission planning are as follows:
sjk+durj+tranjmk+STi≤smk,
in the formula, y
jkRepresenting a task t
jWhether or not to arrange at satellite S
iImaging observation is carried out on the kth orbit circle, y
jk1 denotes arrangement, y
jk0 means no schedule; k
iRepresenting a satellite S
iTotal number of turns flown around the earth during the mission planning period; s
jkRepresenting a task t
jAt the k-th orbit circle observation starting time of the satellite, t
j∈T
ik;T
ikRepresenting a satellite S
iAt the kth orbital turn there is a set of candidate tasks with a time window,
n
2is and satellite S
iThe number of candidate tasks with time window at kth orbit turn and T
ik∈T
i;T
iRepresenting a satellite S
iThe assigned candidate imaging tasks are aggregated,
n
1as a satellite S
iThe number of candidate imaging tasks assigned is
s
mkRepresenting a task t
mAt the k-th orbit circle observation starting time of the satellite, t
m∈T
ik;dur
jRepresenting a task t
jThe observation duration of (c); tran
jmkRepresenting the attitude conversion time required between a task j and a task m which are successively executed in the kth orbit circle of the satellite; ST (ST)
iRepresenting a satellite S
iThe posture stabilization time; EO (ethylene oxide)
iRepresenting a satellite S
iThe energy consumption rate of the imaging remote sensor when imaging observation is carried out; x is the number of
jhRepresenting a task t
hWhether or not it can be scheduled at task t
jPost-imaging observation, x
jhX represents 1 can
jh0 means not capable; ES (ES)
iRepresenting a satellite S
iRate of energy consumption in performing an attitude maneuver; angle
jhkRepresenting tasks t performed successively in the k-th orbital turn of the satellite
jAnd t
hThe attitude maneuver angle therebetween; v. of
iRepresenting a satellite S
iTo carry outThe speed of the gestural maneuver; e
iRepresenting a satellite S
iMaximum value of energy consumption within one track turn;
the objective function of the mission plan is:
where N represents the number of imaging observation events for the mission planning scenario.
Further, in step 5.2, the movement rule using heuristic information and pheromone concentration as ant individuals is as follows: ant individual ant _ k current node is task t
iThen calculate its selection task
As the probability of the next node, and then selecting the task with the highest probability as the next node, wherein the probability p
tjThe calculation formula of (2) is as follows:
in the formula (I), the compound is shown in the specification,
represents the set of all nodes, τ, that an ant individual ant _ k can reach from the current node i
ijIndicating the concentration value, η, of the pheromone on the path from node i to node j
ijRepresenting heuristic information values corresponding to paths from node i to node j, alpha and beta representing pheromone concentrations and weights of the heuristic information, respectively, q
0Is a constant value, q is a random number greater than 0 and less than 1;
the heuristic information etaijThe calculation method comprises the following steps:
in the formula, TCijIndicates the number of clustering tasks, angle, contained in the path from node i to node jijAbs (Lon) represents the magnitude of the satellite attitude maneuver angle from node i to node jj-Loni) Represents an absolute value of a longitude difference between node i and node j;
the intermediate quantity psi is calculated by:
pheromone concentration tauijThe iteration updating method comprises the following steps:
wherein antSize represents the number of individual ants in the ant colony, QCSum of heuristic information, Q, representing the path of movement of a single ant individual over the current iteration cycleLSum of heuristic information, Q, representing optimal movement path of all ant individuals of the ant colony in the current iteration cycleGSum of heuristic information representing optimal movement path of all ant individuals of the ant colony up to the current iteration cycle, q'0Is a fixed constant value and q' is a random number greater than 0 and less than 1.
The moving rules of the ant individuals and the pheromone concentration updating strategy are introduced with a random mechanism, so that the possibility of further searching the solution space by the ants can be ensured, the defect that the maximum and minimum ant colony algorithm is easy to fall into local optimum is overcome, and a better task planning scheme is ensured to be obtained.
Further, the limiting interval of the pheromone concentration is [ tau ]min,τmax]And when the calculated pheromone concentration exceeds the limit interval, correcting according to the following formula:
the method can avoid premature convergence of the maximum and minimum ant colony algorithm to the local optimal solution, thereby ensuring that a better task planning scheme is obtained.
Further, the point target task refers to an imaging task performed by a satellite remote sensor on a ground target.
Advantageous effects
The invention provides a multi-satellite imaging task planning method, which designs an imaging task clustering algorithm based on heuristic rules and reduces the uncertainty of task clustering results; a clustering task yaw angle calculation method based on the median principle is designed, and the loss of imaging quality of clustering tasks is reduced. Designing a multi-star imaging task planning algorithm for locally updating a task planning scheme based on a maximum ant colony algorithm and a minimum ant colony algorithm; heuristic information of the number of tasks, attitude maneuver angles and longitude differences introduced in the construction process of the task planning scheme ensures the reasonability of the ants in the moving process; the random mechanism introduced in the algorithm effectively avoids the defect that the ant colony algorithm is easy to fall into local optimum. The imaging task clustering and imaging task planning scheme is successfully updated locally, and the functions of increasing the task satisfaction degree and reducing the algorithm running time are achieved. Under different data scales, the multi-satellite imaging task planning algorithm provided by the invention can obtain satisfactory task planning results and has good stability.
Detailed Description
The following describes embodiments of the present invention in detail, which are developed based on the technical solutions of the present invention, and give detailed implementation manners and specific operation procedures to further explain the technical solutions of the present invention.
The invention provides a multi-satellite imaging task planning method, which comprises an imaging task clustering method and a task planning method; imaging task clustering, namely converting the imaging task clustering problem into a graph theory group division problem by constructing an imaging task clustering graph model, and designing an imaging task clustering algorithm based on heuristic rules to be responsible for aggregating point target imaging tasks which can be observed by an imaged satellite in the same imaging strip into clustering tasks; and task planning, namely, converting a task planning problem into a problem that a maximum path including the number of imaging tasks is included in a solution graph by constructing a task planning directed acyclic graph model, designing a multi-star task planning algorithm for locally updating a task planning scheme based on a maximum ant colony algorithm and a minimum ant colony algorithm, and planning a task clustering result to complete a key problem of imaging task time window selection.
First, clustering of imaging tasks
1. Clustering constraints
Because the imaging satellite resources are limited, in order to effectively utilize the limited imaging satellite resources, the invention aggregates the point target tasks which meet the specific clustering constraint condition and can be observed in the same imaging strip by the same imaging satellite into the clustering task. In the present invention, the point target task is referred to as an imaging task.
In the invention, the clustering constraint conditions comprise a yaw angle constraint and a time constraint;
the side swing angle is an included angle formed among the ground imaging target, the satellite remote sensor and a satellite down-satellite point after the satellite remote sensor performs attitude maneuver by pointing to the ground target;
the satellite subsatellite point is a projection point of a satellite on the ground;
as shown in fig. 1, σ denotes the field angle of the satellite S;
representing satellite pair tasks t
iThe observation angle during observation is recorded
Performing a task t for a satellite
iThe yaw angle of (1); the imaging effect is the best when the imaging remote sensor is aligned to the ground target, and the observation angle of the imaging remote sensor is determined at the moment
Is recorded as a satellite pair task t
iOptimum observation angle theta in performing observation
i;
As long as the ground point target task t
iFor any yaw angle within the coverage of the remote sensor
The remote sensor can carry out imaging observation on the remote sensor;
in general, in consideration of the quality of an observed image, the roll angle range needs to be corrected, and the roll angle range after correction is set as follows:
the side swing angle constraint means: if several observation tasks t
1、t
2、t
3……、t
kCan be clustered, must have
This is true.
The time constraints include a maximum on time constraint and an imaging idle time constraint;
the time length of one imaging observation when the imaging remote sensor is started is limited and is set as MaxDeration, and the maximum starting time constraint refers to: if point target observation task t1、t2、t3……、tkClustering can be performed to form a clustering task T, and the following formula (2) is necessarily established:
max(tek,tel)-min(tsk,tsl) MaxSource formula (2) is less than or equal to;
the imaging idle time refers to the time consumed on an invalid observation area between two point target tasks in the process that the imaging remote sensor performs imaging observation on two continuous point target tasks on the ground;
set point target task tiAnd tkThe corresponding yaw angles in the same track circle are alli、RollkThen imaging the remote sensor at two point targets tiAnd tkThe posture adjustment time between is:
wherein: v (°/s) represents the remote sensor attitude maneuver speed;
set satellite pair task tk、tlThe visible time windows in the same orbit are [ ts ]k,tek]、[tsl,tel]And is set to tsk<tslThen task tkAnd tlThe imaging idle time in between is:
WTkl=max(tel-tek0) formula (4);
the imaging idle time constraint refers to: setting the attitude stabilization time of the imaging remote sensor as DminThen two point target tasks tiAnd tkIf clustering is possible within the same orbit turn, equation (5) must hold:
furthermore, perhaps two point target tasks tiAnd tjThe imaging idle time constraint is not satisfied, but the yaw angle constraint and the maximum starting time constraint are satisfied, and a plurality of tasks satisfying the clustering constraint exist between the two tasks, namely transitive clustering is satisfied, and the point target task t can still be obtainediAnd tjAnd aggregating the data into a clustering task.
2. Relational modeling
An imaging task, which may be a point target task or a clustering task obtained through aggregation, may have a plurality of time windows with a plurality of imaging satellites in a plurality of orbit rounds, and a relationship between the three is shown in fig. 3, and a following model is established according to the relationship between the three:
(1) the visible time window model TimeWindow is expressed as:
TimeWindow{ID,StartTime,EndTime,RollAngle_S,RollAngle_E}
wherein: ID represents the number of the visible time window, StartTime represents the start time of the visible time window, EndTime represents the end time of the visible time window, RollAngle _ S represents the roll angle corresponding to the start time of the visible time window, and RollAngle _ E represents the roll angle corresponding to the end time of the visible time window.
(2) The task model MetaTask, expressed as:
MetaTask{IDSet,TimeWindowMap,Lat,Lon,Priority};
wherein: IDSet is a collection of a plurality of single target task numbers; if the IDSet only contains one number, the task MetaTask is a point target task; if the IDSet contains a plurality of numbers, the task is a clustering task; the TimeWindowMap is a map set which takes the number SatelliteID of the satellite as a key and takes a visible time window list between the satellite and the task as a value; lat represents the latitude of the MetaTask; lon denotes the longitude of the MetaTask for the task; priority indicates the Priority of the task MetaTask.
(3) The Satellite model is Satellite, and is expressed as:
Satellite{SatelliteID,AllocatedTasks<MetaTask>,Eccentricity,SemiMajorAxis,Inclination,TrueAnomaly,AscNodeRAAN,Perigee,ConeAngle,AttitudeStabilizationTime,AttitudeSpeed};
wherein: SatelliteID denotes the number of the satellite, allocatedttasks denotes the set of missions with which there is a window of visibility, Eccentricity denotes the Eccentricity of the satellite orbit, semimajor axis of the satellite orbit, Inclination denotes the Inclination of the satellite orbit, truean denotes the true periorbital angle of the satellite orbit, AscNodeRAAN denotes the ascension of the satellite orbit, perfect denotes the periorbital amplitude of the satellite orbit, ConeAngle denotes the field angle of view of the satellite remote sensor, attetudinalsistantiationtime denotes the satellite remote sensor attitude stabilization time, attetude speed denotes the satellite remote sensor attitude maneuver angular velocity.
3. Task clustering graph model construction
And expressing the point target tasks by using the task model, then aggregating the point target tasks which can be observed in the same imaging strip by the satellite by using a clustering constraint condition into clustering tasks in the imaging task clustering graph model, and expressing the clustering tasks by using the task model. The process of aggregating the clustering tasks in the imaging task clustering graph model comprises the following steps:
the invention takes a point target task as a node in a clustering graph model, and takes a single orbit circle of a satellite as a reference to construct a clustering graph model List < G, V >, CGM for short, and CGM is a connected graph set consisting of a plurality of connected graphs. G represents a connected graph, V represents a node set (namely a vertex in the graph theory) of the connected graph G, and undirected edges between nodes are constructed step by step through a clustering constraint condition;
the specific construction steps of the imaging task clustering graph model are as follows:
a1, acquiring a point target task set G of a satellite in an ith orbital circle with a time window;
step A2, adjusting the value range of the yaw angle of the point target task;
step A3, taking each point target task as 1 node respectively, judging whether any two point target tasks in the point target task set G meet the clustering constraint condition, and if so, constructing a non-directional edge between two nodes corresponding to the two point target tasks;
step A4, finding out all connected graphs contained in the point target task set G to obtain an initial task clustering model CGM;
step A5, judging whether transitive clustering conditions are met or not for any two point target tasks without undirected edges in each connected graph in the initial task clustering model CGM, and if yes, constructing undirected edges between two nodes corresponding to the two point target tasks;
step a6, if i is equal to i +1, return to step a 1; until an imaging task clustering graph model including all track circle parts is obtained.
As shown in fig. 4 as an example, the construction of the task clustering graph model is further described: in fig. 4(a), the height of the small rectangle represents the field angle range of the imaging remote sensor, and tasks {1,2,3}, tasks {5,6,7,8,9}, tasks {11,12}, tasks {7,9,10}, and tasks {8,11} can be aggregated into one clustering task; wherein, the tasks {1,3}, the tasks {5,7}, the tasks {5,8}, the tasks {5,9}, the tasks {6,8}, the tasks {6,9}, the tasks {7,9}, the tasks {10,9} do not meet the imaging idle time constraint, but meet transitive clustering, thus can also be clustered; and other tasks cannot be clustered due to the fact that the clustering constraint conditions are not met. If a plurality of point target tasks can be clustered, any two point target tasks are connected by an undirected edge. By combining the above, a task clustering graph model shown in fig. 4(b) is constructed, and the point target task clustering problem is converted into a cluster division problem.
4. Imaging task clustering algorithm based on heuristic rule
The imaging task clustering method provided by the invention comprises the following steps:
step B1, acquiring a connected graph G in the task clustering graph model CGM of the ith orbit circle of the satellite S, setting P as a node set contained in the connected graph G, and initializing a clustering result set ClusterRes;
step B2, if the node set P is empty, go to step B9; otherwise, the slave nodeSelecting the node P with the maximum degree of selection from the set P1(ii) a If the node with the maximum degree is not unique, randomly selecting a node, and combining the nodes p1All neighboring nodes join the first set p1A Neigh; the degree of a node refers to the number of undirected edges connected with the node, and a neighbor node of the node refers to a node which is connected with the node by the undirected edges;
step B3, if the first set p1If Neigh is empty, go to step B8; otherwise, from the first set p1Selecting and node p from Neigh1The node with the most common neighbors and added to the second set p1_ MaxCommNeigh;
in step B4, if the node contained in the second set p1_ MaxCommNeigh is unique, let p be2=p1_MaxCommNeigh[0]Turning to step 7; if the second set p1_ MaxCommNeigh contains nodes that are not unique, go to step B5;
step B5, selecting a node p from the second set p1_ MaxCommNeigh1Nodes with the least number of irrelevant edges and adding a third set p1_ MinUnRelatedEdge; if the node contained in the third set p1_ MinUnRelatedEdge is unique, let p be2=p1_MinUnRelatedEdge[0]Go to step B7; if the node contained in the third set p1_ MinUnRelatedEdge is not unique, go to step B6;
the irrelevant edges are understood as: if edge e1 has one vertex of edge e2 as the vertex, but the other vertex is not a common neighbor of e2, then e1 is said to be an unrelated edge toe 2.
Step B6, selecting the node with the maximum priority from the third set p1_ MinUnRelatedEdge, if the node with the maximum priority is not unique, selecting the node with the minimum undirected edge weight composed of the node p1, and juxtaposing the node with the minimum undirected edge weight asp 2;
step B7, deleting edges (p)1,p2) Of the node p1、p2Merge into a new node p1Deleting the node P from the node set P2Update the first set p1Neigh, go to step B3;
step B8, node p1Adding the obtained product into a clustering result ClusterRes, and turning to the step B2;
and step B9, outputting the clustering result ClusterRes and ending.
Wherein, the model of the clustering result ClusterRes is MSITCR < SatelliteID, ClusterResList < ClusterTask > >, which is a key value pair set taking satellite number SatelliteID as a key and clustering task list ClusterResList as a value; the clustering task model is ClusterTask { OrbitID, MetaTaskIDSet, TW { StartTime, EndTime }, RollAngle };
in the clustering task model, the OrbitID is the number of the satellite orbit circle, which indicates the corresponding clustering task belongs to which orbit circle of the satellite; MetaTaskIDSet is a set of point target task numbers forming the clustering task, TW corresponds to a time window of the clustering task and a satellite with the number of SatelliteID in the OrbitID orbit turns, StartTime is a start time, EndTime is an end time, and RollAngle is a yaw angle corresponding to the clustering task.
The calculation method of the yaw angle of the clustering task obtained by clustering the target tasks of each point is shown in fig. 2, and if the obtained median is in the yaw angle value range of the clustering task, the magnitude of the yaw angle of the clustering task is equal to the median; if the median is larger than the upper bound of the value range of the yaw angle of the clustering task, the size of the yaw angle of the clustering task is equal to the upper bound of the value range of the yaw angle; otherwise, the size of the yaw angle of the clustering task is equal to the lower bound of the range of the yaw angle.
Second, task planning
After the first part of imaging tasks are clustered, a plurality of point target tasks meeting clustering constraint conditions are aggregated into clustering tasks, the clustering tasks are uniformly represented by using the task model, and then a problem model is constructed for the clustered tasks (including the aggregated tasks and the unaggregated point target tasks) to generate a task planning scheme.
The problem model comprises a task planning optimization target model and a task planning directed acyclic graph model;
the task planning scheme is as follows: a set of two adjacent imaging tasks capable of successively performing observation imaging tasks; each imaging task in the task planning scheme comprises imaging observation starting and stopping time and satellite remote sensor side swing angle information; in addition, the task planning scheme further comprises two evaluation indexes of task completion degree and satellite attitude maneuver angle sum.
1. Constructing problem models
Parameters in the mission planning optimization objective model are defined as follows:
according to the task planning target and the task planning model parameters, the invention designs the following task planning model:
constraint conditions are as follows:
sjk+durj+tranjmk+STi≤smkformula (7);
task planning objective function:
formula (6) represents the imaging task execution uniqueness constraint, i.e. any one imaging task is executed at most once; equation (7) is a satellite continuous observation time constraint, for two satellites S can be arrangediImaging task t for successive observation in the kth orbitj、tmThis constraint needs to be satisfied; formula (II)(8) Is an energy constraint condition representing the satellite SiThe energy consumption within a certain track turn cannot exceed the upper limit of the energy consumption; equation (9) is an optimization objective function of the imaging task planning problem, which represents the maximized task completion number;
and for two different task planning schemes, if the task satisfaction degrees of the two different task planning schemes are equal, the task planning scheme with smaller attitude maneuver angle sum is preferentially selected. Mathematically expressed as follows:
n in the formula (10) represents the imaging observation activity times of the mission planning scheme;
the invention constructs a directed acyclic graph model of the task planning as shown in figure 5 for the multi-star imaging task planning problem, each sub-graph Gi in figure 5 corresponds to one track circle, white represents that the task only has one time window, black represents that the task has a plurality of time windows for the purpose of beauty, and figure 5 only shows part of directed edges pointing from S nodes to non-E nodes in each sub-graph Gi;
2. multi-star imaging task planning algorithm based on maximum and minimum ant colony algorithm
In combination with a directed acyclic graph model for task planning, the invention designs a multi-satellite imaging task planning algorithm (Max-Min Ant Colony Optimization-Local Update, MM-ACO-LU) based on a maximum and minimum Ant Colony algorithm, converts the multi-satellite imaging task planning problem into an optimal path problem which satisfies a target Optimization function in a solution graph, and the flow of the algorithm is shown in FIG. 6;
the MM-ACO-LU algorithm comprises three modules, namely a mission planning scheme construction module, a mission planning scheme local updating module and an pheromone updating module;
the task planning scheme is responsible for constructing paths from a node S to a node E in each sub-graph of the directed acyclic graph model, and all the paths form a final task planning result;
the construction of the mission planning scheme is done by moving ant positions, assuming ant _ k is currently presentThe position is task t
iThen ant _ k selects the task
The rule as the next position is as follows:
in the case of the rule described above,
represents the set of all nodes, τ, reachable from the position i where ant _ k is currently located
ijIndicating the concentration value, η, of the pheromone on the path from node i to node j
ijRepresenting heuristic information values corresponding to paths from node i to node j, alpha and beta representing pheromone concentrations and weights of the heuristic information, respectively, q
0Is a fixed constant value and q is a random number greater than 0 and less than 1.
According to the invention, a randomness mechanism is introduced into the movement rules of the ant individuals, so that the possibility of further searching the solution space by the ants can be ensured, the defect that the ant colony algorithm is easy to fall into a local optimal movement path is overcome, and an optimal task planning scheme can be obtained.
The meaning of formula (11) is: assuming that the current position of ant _ k is i, generating a random number q, and if q is less than or equal to q
0Then [ tau ] will
ij]
α×[η
ij]
βIs used as ant _ k to select task t
jProbability of being used as next node, otherwise selecting task t by using psi as ant k
jProbability of being the next node; finally the ant is selected from
Selecting p from the set
tjThe node with the maximum value is used as the next node;
the heuristic information etaijThe calculation method of (2) is as follows:
in the formula (12), TCijRepresenting the number of imaging tasks, angle, contained in the node i to node j pathijAbs (Lon) represents the magnitude of the satellite attitude maneuver angle from node i to node jj-Loni) Representing the absolute value of the difference between the longitudes of node i and node j.
According to the invention, heuristic information is constructed by introducing the task quantity, attitude maneuver angle and longitude difference between two adjacent nodes, so that the reasonability of selecting the next mobile node in the task planning directed acyclic graph model by the ant individual is ensured.
In equation (11), the calculation method of ψ is as follows:
the task planning scheme local updating is responsible for updating the task planning scheme generated in the task planning scheme constructing step, and only a path with the length of two between two adjacent tasks is searched, as shown in fig. 7, the task planning scheme which is more in line with the objective optimization function can be obtained by performing the task planning scheme local updating, so that the operation time of the task planning scheme is reduced.
The invention provides a task planning scheme local updating method based on a task quantity priority rule, which comprises the following steps:
step C1, let schedule be track circle O1The mission planning scheme of (i) ═ 0, t1 ═ schedule.
Step C2, if i is equal to the number of tasks contained in schedule, go to step C7, otherwise, go to step C3;
step C3, let next be t1 at track turn O1Set of successor nodes not scheduled for imaging observation, t2 ═ schedule.
Step C4, if j is j +1, if j is smaller than the size of the next set, go to step 5, otherwise, go to step C2;
step C5, if t3 is next, get (j), if t3 is equal to t2 and t3 meets the constraint of formula (8) after being added to the schedule, adding t3 to the (i +1) th position of the schedule, turning to step C6, otherwise, turning to step C4;
step C6, i is i +1, t1 is schedule.get (i), t2 is schedule.get (i +1), go to step C2;
and C7, ending.
The pheromone updating is responsible for updating the pheromone concentration on all paths of the directed acyclic graph after all ants finish the construction of the mission planning scheme, and the pheromone updating method fully utilizes global information and local information, and is as follows:
wherein antSize represents the number of individual ants in the ant colony, QCSum of heuristic information, Q, representing the path of movement of a single ant individual over the current iteration cycleLSum of heuristic information, Q, representing optimal movement path of all ant individuals of the ant colony in the current iteration cycleGThe sum of heuristic information of the optimal moving path of all ant individuals in the ant colony to the current iteration cycle is represented; q's'0Is a fixed constant value, q' is a random number greater than 0 and less than 1;
QCthe calculation method of (c) is as follows:
QGthe calculation method of (c) is as follows:
QLthe calculation method of (c) is as follows:
SLrepresents the optimal moving path obtained by the current iteration cycle, SCRepresents the moving path, S, obtained by the current iteration cycle of the antGRepresents the optimal path of movement, Q, obtained so farGThe sum of heuristic information of the optimal moving path of all ant individuals in the ant colony to the current iteration cycle is represented; etaallRepresenting the sum of the heuristic information on all paths, and the function f () is used to calculate the sum of the heuristic information of the corresponding path.
According to the method, a randomness mechanism is introduced into the pheromone updating strategy, so that the possibility of further searching the solution space by ants can be ensured, the defect that an ant colony algorithm is easy to fall into a local optimal moving path is overcome, and an optimal task planning scheme can be obtained.
To avoid premature convergence of the MM-ACO-LU algorithm to a locally optimal solution, the pheromones on the path are limited to [ tau ] during the pheromone update processmin,τmax]Namely:
the above embodiments are preferred embodiments of the present application, and those skilled in the art can make various changes or modifications without departing from the general concept of the present application, and such changes or modifications should fall within the scope of the claims of the present application.