A Mission-Oriented Flight Path and Charging Mechanism for Internet of Drones

In addition to traditional battery exchange services and stationary charging stations, researchers have proposed wireless charging technology, such as decentralized laser charging or drone-to-drone charging in flight, to provide power to drones with insufficient battery electricity. However, the charging methods presented in the literature will inevitably cause drones to wait in line for charging during peak hours and disrupt their scheduled trips when the number of drones grows rapidly in the future. To the best of our knowledge, there have been no integrated solutions for drone flight path and charging planning to alleviate charging congestion, taking into account the different mission characteristics of drones and the charging cost considerations of drone operators. Accordingly, this paper provides adaptive charging options to help drone operators to solve the above-mentioned problems. Drones on ordinary missions can use conventional battery swap services, wired charging stations, or electromagnetic wireless charging stations to recharge their batteries as usual, whereas drones on time-critical missions can choose drone-to-drone wireless charging or decentralized laser charging deployed along the fight paths to charge the batteries of drones in flight. Notably, since fixed-wing drones have larger wing areas to install solar panels, they can also use solar energy to charge during flight if the weather is clear. The simulation results exhibited that the proposed work reduced the power load of the power grid during peak hours, met the charging needs of each individual drone during flight, and cut down the charging costs of drone operators. As a result, an all-win situation for drone operators, drone customers, and power grid operators was achieved.


Introduction
In recent years, drones have been widely used in civilian applications, such as search and rescue operations, road traffic monitoring, wildfire monitoring and remote sensing, and many other applications. The COVID-19 epidemic, which began in late 2019, has changed the way people shop for goods. Drones have become one of the most important transportation tools for e-commerce and logistics companies to deliver goods without human contact during the COVID-19 epidemic. In addition, the brilliant performance of drones in the Russia-Ukraine war starting in February 2022 has made them a key player in future military operations. With the rapid growth of logistics needs, the literature also predicts that drones will become a major mode of transportation in the logistics industry by 2040 [1]. In addition, Europe, the U.S., and Japan have been proposing air taxi services recently, and air taxi services will also become an important part of smart cities in the next few years. However, the short battery life of a drone limits its flight time, and it requires frequent battery charging to extend its battery life. Therefore, the battery life of drones will be another major challenge and a hot research topic in the industry before drones are widely used in the future [2].
Over the years, several studies have proposed different charging technologies to address the endurance problem of drone batteries [3]. In addition to the traditional battery swap service [4] and wired charging stations [5], some researchers have proposed the use of renewables to charge drone batteries. For example, Lv et al. proposed a charging scheme for drone batteries using the Lyapunov optimization technique [6]. The charging station used in this study is equipped with a facility that generates electricity from renewables to reduce the cost of purchasing electricity from the conventional power grid. However, Qin et al. reported in [7] that drone charging stations powered by renewables are susceptible to weather and capacity constraints of storage facilities. Thus, relying on renewables such as solar or wind power alone may cause the battery power supply for drones to fall short of expectations due to unstable weather conditions [8,9]. Although some studies have proposed the idea of using solar or wind power to extend the battery life of drones during flight [10], the possible shortage of drone battery power supplied by renewables due to climate change is still unresolved. It can be anticipated that more effective drone battery power supply technologies should be developed to maintain the required battery power for drone flight in a timely manner.
Currently, the battery life of a drone is mainly extended by using the above-mentioned traditional battery swap service and fixed-point charging stations. Since drones will be increasingly popular in the future, it is very likely that too many drones will need to charge their batteries at the same time during peak hours, causing congestion in battery exchange and fixed-point charging stations. The scheduled missions of drones will be affected just as traffic jams are observed during rush hours in metropolitan areas all over the world [11]. Therefore, if drones are used to transport urgent deliveries, battery exchange and fixed charging stations alone will not be able to meet the real-time needs of drone customers. On the contrary, the recently developed wireless power transfer technologies can provide wireless charging for drones at fixed points during flight or between flights to extend the battery life of drones. For example, Li et al. recently used a resonance coupling circuit to build a wireless charging system to help drones and continuously provide their battery power during flight [12]. The study includes a conventional wireless charging station that releases power only during the hovering charging period to reduce unnecessary power wastage of the wireless charging station. The study by Zhang et al. attempted to maintain stable current control of a drone hovering at a fixed wireless charging station during charging under the continuous fluctuation of coupling effect, disturbance of parameters, and variation of charging current [13]. In this study, an online trained radial basis function neural network was used to ensure the constant current output for battery charging. Rong et al. proposed a drone-to-drone wireless charging mechanism with high misalignment tolerance [14]. Their mechanism optimized the parameters of the transmission coil used for wireless charging using a simulated model and genetic algorithm. Gupta et al. proposed a wireless charging technique for charging drones that need electricity during flight [15]. Game theory was employed to establish a tariff mechanism for the electricity market.
In terms of wireless transmission technology for non-electromagnetic signals, the development of laser charging technology has attracted the most attention. Mohammadnia et al. used a laser beam of specific wavelength and frequency to power a PV cell installed on a drone and evaluated the effectiveness of the laser charging mechanism [16]. Their study showed that the laser charging mechanism can effectively extend the battery life of the drone. Recently, researchers proposed the distributed laser charging mechanism [17]. This mechanism uses intracavity laser technology, which can automatically charge drones without specific tracking and positioning as long as the transceivers are within each other's line of sight [18]. Notably, the decentralized laser power transmission technology is safer and can transmit power over longer distances because the power transmission will be stopped if an object blocks the laser light in the line of sight during wireless charging. Kim and Lim proposed a dynamic wireless charging system [19], which deploys wireless charging devices along the flight path and provides power to drones with insufficient battery life through wireless charging during flight. In addition to the ongoing innovation of wireless charging technologies, researchers have also started to focus on the overall planning of drone flight routes and battery charging in recent years. Zhao et al. considered the efficiency of charging stations and wireless power transmission to drones simultaneously when planning drone flight routes [20]. In contrast to the traditional alternating optimization approach, this study adopted the concave-convex procedure and the penalty dual decomposition to solve the optimization problem of flight path and charging planning. Kilic et al. established a grid architecture for drone charging stations and integrated the grids with flight route planning [21]. They proposed the shortest path algorithm that fits the grid characteristics of the charging stations. Wang et al. designed a drone path planning and battery charging scheme to guide the drone to a suitable charging station for battery charging based on the user's location [22]. Their study converted the optimization problem into an integer linear program and developed a recursive algorithm to reduce the computational complexity of the optimization process. Alyassi et al. treated the flight route and charging planning of drones as a multi-criteria asymmetric traveling salesman problem [23]. The optimization objective is the overall trip consumption time of the drone, including charging time. To simplify the computation of the optimization process, their study also proposed a sub-optimal algorithm to develop the flight task and charging strategy. Arafat et al. proposed a cargo delivery flight route and charging planning for drones by first clustering the customers according to the delivery area [24]. They then cut the flight route into segments according to the safe flight distance and employed mixed-integer linear planning to solve the route planning problem. Pinto and Lagorio derived a mathematical model for the flight route and charging planning for drone cargo delivery [25]. The number of deployed drone charging stations and the drone flight distance were chosen as the optimization objectives. Ribeiro et al. extended the traditional vehicle routing problem by deploying mobile charging stations to support drone search and rescue missions [26]. Genetic algorithms were used in their approach to solve the flight route and charging planning optimization problem. Oubbati et al. proposed a drone flight path and drone-to-drone charging planning algorithm [27]. Their algorithm applied deep reinforcement learning to determine the rendezvous point of the drones and optimize the flight paths of the drones, as well.
With the rapid growth in the number of drones, either traditional battery swap stations and fixed-point wired/wireless charging stations will definitely cause drones to queue up for charging during peak hours and affect their scheduled trips when drones are widely used [27]. From the above-mentioned literature, it can be seen that several studies have been conducted on the use of wireless charging technologies to provide power to drones with insufficient battery life, such as decentralized laser charging or drone-to-drone charging that allows battery charging of a drone in flight. However, due to the different mission characteristics and needs of drones, it is essential to stipulate an effective charging policy according to the mission needs of drones, so that drones performing time-critical missions can fly to their destinations in time to complete their missions according to the established plan. In the meantime, the drone operators can cut down the charging cost for the drones that perform ordinary missions, such as e-commerce and logistics.
To the best of our knowledge, no literature has proposed the above-mentioned charging strategy based on the mission characteristics of drones and the cost of charging, and this work thus proposes an integrated solution to alleviate the congestion of drone flight routes and charging plans. The drones can arrive at their destinations in time to complete their missions. Drones on ordinary missions can use conventional battery swap services, wired charging stations, or electromagnetic signal-delivery wireless charging stations to recharge their batteries; however, drones on urgent missions with time-critical requirements can choose to use drone-to-drone in-flight wireless charging or the above-mentioned decentralized laser charging deployed along the fight paths to provide power to drones with insufficient battery life. In addition, drones can be divided into rotary-wing and fixed-wing drones, and a fixed wing drone has a larger wing area to install solar panels. Accordingly, a fixed-wing drone can also use solar power to charge during flight if the weather is clear [10]. The dynamic soaring technology [9], which is commonly seen in the literature, can also be extended from this work to provide battery power for drones.
The main layout of this paper is as follows. Section 2 is the algorithm proposed in this work. The simulation results, analysis, and discussion will appear in Section 3. Finally, the conclusion and future work will be given in Section 4.

Flight Path and Charging Mechanism for Internet of Drones
In this work, the flight route of a drone is planned before takeoff. The whole airspace is cut into individual local airspaces according to the geographical area and altitude, and each local airspace is further cut into basic air-cubes and combined into an air-matrix. Each air-cube can only allow one aircraft to pass through it at each time spot, so the flight paths of all aircraft must be spaced apart to avoid collisions. In order to reduce the complexity of the calculation, a local airspace management server as shown in Figure 1 is set up in each local airspace to record the time when all aircraft pass through the air-cubes under its jurisdiction. Drone operators provide low-cost battery swap services or fixed-point wired/wireless charging stations on the aprons to charge the drones' batteries while they are idle. In the event of a state of charge (SoC) shortage during flight, different charging options can be selected to charge the drone's battery on the way to its destination. Drones are divided into two categories according to their mission characteristics, including ordinary missions and time-critical missions. An ordinary mission does not have a strict mission completion time, just like the current operation mode of ordinary parcel delivery service, so the charging option of either fixed point charging or battery swap service nearby can be chosen for drone charging. On the other hand, drones on time-critical missions, which need to complete tasks in time, are given priority to decentralized laser charging facilities along some routes or drone-to-drone in-flight wireless charging options to charge the batteries of drones on time-critical missions with insufficient battery storage.
After assigning a drone to an ordinary mission, the drone operator activates the "Flight Route and Charging Preplanning Module" for a drone on an ordinary mission in the upper right of Figure 2 to plan the flight route of the drone. For a drone assigned to a time-critical mission, the "Flight Route and Charging Preplanning Module" for a drone on a time-critical mission in the lower right of Figure 2 is activated to plan the flight route. The conflict-free A* algorithm proposed in [28] avoids fixed obstacles or other moving obstacles, such as an inflight drone, and calculates the shortest flight route for drones. Accordingly, this work focuses on the individual charging requirements of drones and employs the algorithm proposed in [28] to filter the flight routes and charging methods that suit the mission characteristics and charging cost considerations of drones. Notably, the three vertical dots under the two above-mentioned modules in Figure 2 are used to indicate that the two modules are used by drones on ordinary and time-critical missions for flight path and charging planning, respectively.
The two modules mentioned above first use the algorithm of [28] to calculate the shortest flight path to the destination, and the flight path planning will also confirm whether the drone's battery has enough power to reach the destination. If the drone runs out of battery power before reaching its destination, the drone on an ordinary mission will choose either a battery swap service to replace the drone's battery or a fixed wireless or wired charging station to recharge the drone's battery during the flight path to the destination. Once the flight route and charging point are determined, the drone will follow the planned route to the charging point to recharge the drone's battery. Since the drone may arrive at each local airspace during peak hours due to the uncertainty of the charging waiting time, the drones on ordinary missions will activate the "Flight Route and Charging Preplanning Module" to re-plan the flight route from the charging point to the next charging point or destination after its battery charging is completed. If a drone on a time-critical mission needs to be recharged, it can make use of the distributed laser charging facilities deployed on the flight route. If the distributed laser charging facilities are not close to its fight route, the drone on ordinary missions or idle on the aprons will be checked to see whether it has spare power to provide power to a drone on a time-critical mission via drone-to-drone inflight charging. The two approaches are chosen in this work to minimize the delay of charging for the drones on time-critical missions. The corresponding local airspace management server will also update the air traffic and charging information of the managed local airspaces after the drone has completed its flight route and charging plan. The battery capacity of each drone that supports a drone on a time-critical mission while traveling through each airspace block is updated, as well. After assigning a drone to an ordinary mission, the drone operator activate "Flight Route and Charging Preplanning Module" for a drone on an ordinary missi the upper right of Figure 2 to plan the flight route of the drone. For a drone assigned time-critical mission, the "Flight Route and Charging Preplanning Module" for a d on a time-critical mission in the lower right of Figure 2 is activated to plan the flight r The conflict-free A* algorithm proposed in [28] avoids fixed obstacles or other mo obstacles, such as an inflight drone, and calculates the shortest flight route for dr Accordingly, this work focuses on the individual charging requirements of drones employs the algorithm proposed in [28] to filter the flight routes and charging met that suit the mission characteristics and charging cost considerations of drones. Not the three vertical dots under the two above-mentioned modules in Figure 2 are us indicate that the two modules are used by drones on ordinary and time-critical mis for flight path and charging planning, respectively.
The two modules mentioned above first use the algorithm of [28] to calculat shortest flight path to the destination, and the flight path planning will also con whether the drone's battery has enough power to reach the destination. If the drone out of battery power before reaching its destination, the drone on an ordinary mission choose either a battery swap service to replace the drone's battery or a fixed wirele wired charging station to recharge the drone's battery during the flight path to the d It is well known that ambulances are given priority in the use of roads during their missions. Similar to this practice, this work allows drones on time-critical missions to have priority in the use of airspaces. Therefore, during the flight of a drone on an ordinary mission, each local airspace originally planned for the flight may be used by a drone on a time-critical mission. In addition, the flight speed of the drone may be slowed down due to some climate problem, and the airspaces originally planned for the flight might be occupied during the late arrival of the drone. In this case, the drone must change its flight path or delay its arrival at the originally planned airspace. The "Real-Time Flight Route and Charging Planning Module" for a drone on an ordinary mission in the upper right of Figure 2 is used to plan the drone's new flight route in real time based on the updated air traffic and charging-related information of local airspaces. If charging is required during the flight, the drone's battery can be charged at a nearby charging station or battery swap service facility when changing the flight route. checked to see whether it has spare power to provide power to a drone on a time-cr mission via drone-to-drone inflight charging. The two approaches are chosen in this to minimize the delay of charging for the drones on time-critical missions. The c sponding local airspace management server will also update the air traffic and cha information of the managed local airspaces after the drone has completed its flight and charging plan. The battery capacity of each drone that supports a drone on a critical mission while traveling through each airspace block is updated, as well.
...  It is well known that ambulances are given priority in the use of roads during missions. Similar to this practice, this work allows drones on time-critical missions to priority in the use of airspaces. Therefore, during the flight of a drone on an ord mission, each local airspace originally planned for the flight may be used by a drone time-critical mission. In addition, the flight speed of the drone may be slowed down to some climate problem, and the airspaces originally planned for the flight might b cupied during the late arrival of the drone. In this case, the drone must change its path or delay its arrival at the originally planned airspace. The "Real-Time Flight R and Charging Planning Module" for a drone on an ordinary mission in the upper rig Figure 2 is used to plan the drone's new flight route in real time based on the update traffic and charging-related information of local airspaces. If charging is required d Drones on time-critical missions might also be affected by climate change during flight. In this case, the "Real-Time Flight Route and Charging Planning Module" for a drone on a time-critical mission in the lower right of Figure 2 will be used to modify the flight route for the affected drones. In this work, it is assumed that the drone operator will set up a real-time flight and charging information database for the global airspace, and each local airspace management server will inform the drone operator of the latest flight and charging information of each local airspace in real time, which will be used as the basis for drone route and charging planning. In addition, if a drone on an ordinary mission or idle on an apron needs to support battery power with a drone on a time-critical mission, this module will also modify the route of the drone supporting power to ensure that both drones can fly in sequence during drone-to-drone inflight charging. If a drone on a time-critical mission prefers a drone-to-drone inflight wireless charging option, this module will send a request for drone-to-drone charging to each local airspace segment management server along the drone's flight route. Upon receipt of the request, the local airspace segment management servers of the selected flight route will assist in searching for a drone on an ordinary mission or an idle drone that can arrive earlier and provide extra power, based on the arrival time of the requesting drone with power requirements. Once any candidate drones are found, the requesting drone then selects a flight route based on the electricity price of the candidate drones providing power, considering the arrival time and charging cost. Since the arrival time of the drones at each local airspace may be inconsistent with the original estimate due to weather conditions, the drone providing power is required to maintain a fixed distance from the requesting drone during the flight after they arrive at the given airspaces. Therefore, the module will also update the flight path of the drone providing power to ensure that it can be wirelessly charged in synchronization with the drone requiring power. This work assumes that transportation organizations or power operators will provide subsidies for the installation of wireless charging facilities for drones, so as to attract more drone operators to provide drones with excess power to charge the batteries of drones on time-critical missions in a timely manner.

Drone on an Ordinary Mission
The following subsections describe the detailed steps of each module shown in Figure 2.

Flight Route and Charging Preplanning for a Drone on an Ordinary Mission
After determining the departure time of a drone on an ordinary mission, this module is activated before takeoff to plan the drone's flight route. As mentioned earlier, the conflict-free A* algorithm proposed in [28] avoids obstacles such as other inflight drones and calculates the shortest flight route for the drone. After the flight route is determined, this module informs the local airspace management servers of their governing air-cubes that the drone passes through. Notably, the conflict-free A* algorithm here also takes into account the hovering characteristics of the rotary-wing drones, and flexibly adjusts the drones' traverse time through each local airspace to avoid collision with other drones. The fixed-wing drones cannot hover at waypoints during flight due to their minimum speed constraints.
If the drone battery is not sufficient to reach the destination, this module will consider the cost of charging the drone's battery and the time to reach the destination to choose the appropriate charging option and flight route. As aforementioned, the charging options adopted for a drone on an ordinary mission in this work are fixed-point wireless charging stations and battery swap services that require a time-consuming wait for charging. However, the waiting time for a drone recharging at charging points, such as fixed-point wireless charging stations and battery swap services, during peak hours is uncertain. If a drone needs to be recharged during the flight, this module will reschedule the subsequent flight segment(s) after the drone finishes recharging its battery at a designated charging point. Once the next flight segment of the drone is confirmed, this module will inform the local airspace management server that governs the local airspaces the drone flies through. In addition, because solar panels can be installed on the large wing area of a fixed-wing drone, this module will use solar energy to charge a fixed-wing drone in case of sunny weather during flight. Notably, this module can also be extended to use wind power or other innovative renewable charging technologies to charge drones in the future.
The detailed steps of this module are as follows.
Step 1: Based on the latest airspace information stored in the drone operators' database and the flight path cost in terms of the time for the drone to arrive at the destination from the departure location, the flight path of the drone is estimated using the conflict-free A* algorithm proposed in [28] as follows: where a d 0 and a d m d represent the indices of the air-cube at the departure point and the destination of drone d on an ordinary mission, respectively, and a d i is the index of the ith air-cube along the route. Step 2: Estimate whether the battery power consumed by the drone's flight path is sufficient to reach its destination by: where SoC d between the center of the ith air-cube a d i and the center of the (i+1)th air-cube a d i+1 of the flight route of drone d. RAP d (·) and FAP d (·) stand for the battery power consumption functions derived from [29,30] for rotary-wing and fixed-wing drones, respectively. tlt d is the battery power consumption for fixed-wing drones during take-off and landing, which is derived in [30].   that the drone flies from a d i to a d i+1 , respectively. η d is the charging efficiency of the drone's battery, and its value is a positive number smaller than one.
Step 3: If the drone's battery power is sufficient to reach the destination, calculate the extra battery power ee d a d i at a d i that the drone can provide other drones on time-critical missions using the following equation, and then proceed to Step 6.
Instead, when the battery power of the drone is not sufficient to reach the destination, this module requests the local airspace management servers along the route calculated in Step 1 and the local airspace management servers surrounding the route for the latest traffic information of the local airspaces they manage. Then, proceed to the next step to find a suitable charging point to charge the battery of drone d.
Step 4: Based on the flight path R d obtained in Step 1, select the nearest K d charging points to any of the air-cubes along the route R d . The distance is estimated as follows.
where γ is the index of the air-cube where the charging point is located.
Step 5: Select the charging points suitable for drone d using the following equations.
subject to: P d l = p d l,0 , p d l,1 , p d l,1 , p d l,2 , · · ·, p d l,i , p d l,i+1 , · · ·, p d The parameters used in the above equations are defined as follows: is not zero, it is used to indicate that the drone is categorized as a drone that performs an ordinary mission. Since drones on time-critical missions have priority to use the air-cubes allocated to the drones on ordinary missions, the local airspace management server will update its database when drone d is requested to yield air-cube p d l,i to a drone on a time-critical mission. Notably, the flight path of drone d that yields the air-cubes will be adjusted in the next subsection after a drone on a time-critical mission issues a request to use the air-cube assigned to drone d.
Step 6: After determining the flight path of drone d, information about the flight and charging of drone d is transmitted to the corresponding local airspace management servers.

Flight Route and Charging Preplanning for a Drone on a Time-Critical Mission
As aforementioned, drones on ordinary missions plan their flight routes before takeoff and notify the local airspace management server of the air-cubes the drones will fly through and the excess battery storage capacity at each air-cube along the route. In this module, drones on time-critical missions are allowed to prioritize the use of air-cubes that the drones on ordinary missions will pass through. This module will also adjust the flight path of the drones on ordinary missions after they are forced to yield the air-cubes. Additionally, if the battery of a drone on a time-critical mission needs to be charged during flight, in addition to choosing a route with a decentralized laser charging station, a drone-to-drone wireless charging option can also be used to allow a drone on an ordinary mission to provide power to the requesting drone by using radio frequency wireless power transmission technology during flight.
The detailed steps of this module are as follows.
Step 1: Based on the latest flight and charging-related airspace information recorded by the drone operators and the traverse time from the departure location to the destination as the cost of the flight path, the flight path of the drone performing a time-critical mission is estimated using the conflict-free A* algorithm proposed in [28] as follows.
R e = (a e 0 , a e 1 ), (a e 1 , a e 2 ), · · ·, a e i , a e i+1 , · · ·, a e m e −1 , a e m e , where a e 0 is the index of the air-cube of the departure point of drone e, a e m e is the index of the air-cube of the destination, and a e i is the index of the ith air-cube along the route.
Step 2: Examine whether the battery power consumed by the drone's flight is sufficient to reach its destination. along the route. RAP e (·) and FAP e (·) stand for the battery power functions derived from [29,30] for rotary-wing and fixed-wing drones, respectively, and tlt e is the power consumption during takeoff and landing of fixed-wing drones calculated from [30]. Step 3: If the battery of the drone has enough power to reach the destination, proceed to Step 6. Instead, request the latest traffic and charging information of the air-cubes along the route calculated in Step 1 and that of the surrounding air-cubes close by from the governing local airspace management servers. Then, proceed to the next step to find a suitable charging option to charge the battery of drone e.
Step 4: Based on the flight path R e obtained in Step 1, find the nearest K e decentralized laser charging stations and the drones on ordinary missions that can provide power along the route R e . The distance measure is computed as follows.  Step 5: Select the charging points suitable for drone e using the following equations.     F e 0 is the flight path from the departure location to the first charging option calculated by [28], F e 1 to F e L−1 is the flight path from the first charging options through the last charging option determined by [28], and F e L is the flight path from the last charging option to the destination. at e a e 0 and at e a e through by the drones on ordinary missions. However, if the updated air-cubes that the drone will pass through collide with other drones on time-critical missions, the difference between the established mission deadline and the updated arrival time at the destination is adopted as the criterion to determine the drone that can use the collided air-cubes. The flight paths of drones that yield the air-cubes will also be adjusted in this module.
Assume that the flight path of a drone on a time-critical mission that requires a route correction due to weather conditions, R e , is given below.
R e = [F e 0 , · · ·, F e l , · · ·, F e L e ], 0 ≤ l ≤ L e (62) F e l = p e l,0 , p e l,1 , p e l,1 , p e l,2 , · · ·, p e l,i , p e l,i+1 , · · ·, p e l,n . L e stands for the number of charging facilities for charging drone e on the way to its destination. The detailed steps of this module are given below.
Step 1: Based on the flight information of drones, identify the drones on time-critical missions with overlapping air-cubes on the routes to their destinations as follows.
Step 3: If any drones on time-critical missions cannot comply with restrictions specified in Step 2, the module stated in Section 2.2 is activated to modify the flight routes of the corresponding drones.
Step 4: If any of the drones that provide power are not able to comply with restrictions specified in Step 2, the module stated in Section 2.1 is activated to correct the flight path of the corresponding drones.

Experimental Results and Discussion
This study ran a series of simulations to examine the effectiveness of the proposed algorithm. The simulations were performed on a PC with Intel Core i7 at 2.9 GHz CPU and 64 GB RAM. Single-day orders were generated by taking into account the time periods of consumers' online shopping habits [31] and the inclusion of drone-deliverable goods and items, including traditional ordinary cargo orders and time-critical goods deliveries, such as medical and pharmaceutical products, meals, and fresh food. The requests for cargo orders were created at the corresponding time periods during a day with the aforementioned goods order generation rate. The departure locations and the destinations of all drones were randomly selected within a 625-km square region, which is approximately the scale of a metropolitan-area such as New York City. Figure 3 illustrates a small portion of the simulation scenario. In our simulation, 20 wireless charging stations, 20 battery swap stations, and 10 distributed laser charging services for drones were evenly distributed in the simulation area for charging drones. The total number of the missions was 60,675, including 42,765 ordinary cargo delivery orders and 17,910 time-critical missions. When the simulation was started, the time, distance, start time, and final completion time of each mission were recorded. The time of charging request, the time of starting charging, the time of arriving at the charging point, the time of finishing charging, and the amount of electricity obtained after charging were also recorded when a drone needed to charge while performing its mission.   Figures 4 and 5 show the number of ordinary missions and that of time-critical sions, respectively. A small number of orders for goods was observed between mid and morning peak hours. From around 08:00 onwards, the frequency of consumer o gradually rose until the lunch break ended. Evening was the peak period when consu placed the highest frequency of delivering goods orders. After the evening peak pe   5 show the number of ordinary missions and that of time-critical missions, respectively. A small number of orders for goods was observed between midnight and morning peak hours. From around 08:00 onwards, the frequency of consumer orders gradually rose until the lunch break ended. Evening was the peak period when consumers placed the highest frequency of delivering goods orders. After the evening peak period, the number of orders decreased sharply before midnight.   Figures 4 and 5 show the number of ordinary missions and that of time-critical missions, respectively. A small number of orders for goods was observed between midnight and morning peak hours. From around 08:00 onwards, the frequency of consumer orders gradually rose until the lunch break ended. Evening was the peak period when consumers placed the highest frequency of delivering goods orders. After the evening peak period, the number of orders decreased sharply before midnight.  Figure 6 shows the number of charging requests for drones within a day. It can be seen that the counts of charging requests were directly proportional to the number of missions. Accordingly, the charging requests increased significantly during morning and evening peak hours because the drones consumed a lot of electricity while delivering goods during busy periods.   Figure 6 shows the number of charging requests for drones within a day. It can be seen that the counts of charging requests were directly proportional to the number of missions. Accordingly, the charging requests increased significantly during morning and evening peak hours because the drones consumed a lot of electricity while delivering goods during busy periods.  Figure 6 shows the number of charging requests for drones within a day. It can be seen that the counts of charging requests were directly proportional to the number of missions. Accordingly, the charging requests increased significantly during morning and evening peak hours because the drones consumed a lot of electricity while delivering goods during busy periods. As there is no pressure on the delivery time for ordinary delivery orders carried by the drones, the preferred charging options for this type of mission will be fixed-point wireless charging stations or battery swap stations due to the operation cost consideration as shown in Figure 7. The number of charging requests surged during morning and evening peak periods as expected. As there is no pressure on the delivery time for ordinary delivery orders carried by the drones, the preferred charging options for this type of mission will be fixed-point wireless charging stations or battery swap stations due to the operation cost consideration as shown in Figure 7. The number of charging requests surged during morning and evening peak periods as expected.  Since time-critical orders need to be delivered to the destination before the deadline designated by the consumers, the primary charging option is either distributed laser charging facilities or drone-to-drone charging for this type of delivery mission. As observed from Figure 8, it is clear that the use of distributed laser charging facilities and drone-to-drone charging for time-critical orders was much higher than the use of other charging options, including wireless charging stations and battery swap stations. Only when the desired distributed laser charging and drone-to-drone charging were not available, the traditional fixed-point wireless charging or battery swap stations will be chosen for charging. Since time-critical orders need to be delivered to the destination before the deadline designated by the consumers, the primary charging option is either distributed laser charging facilities or drone-to-drone charging for this type of delivery mission. As observed from Figure 8, it is clear that the use of distributed laser charging facilities and drone-to-drone charging for time-critical orders was much higher than the use of other charging options, including wireless charging stations and battery swap stations. Only when the desired distributed laser charging and drone-to-drone charging were not available, the traditional fixed-point wireless charging or battery swap stations will be chosen for charging. charging facilities or drone-to-drone charging for this type of delivery mission. As observed from Figure 8, it is clear that the use of distributed laser charging facilities and drone-to-drone charging for time-critical orders was much higher than the use of other charging options, including wireless charging stations and battery swap stations. Only when the desired distributed laser charging and drone-to-drone charging were not available, the traditional fixed-point wireless charging or battery swap stations will be chosen for charging. When a drone on the time-critical mission adopted the distributed laser charging option, it always kept a fixed distance between the drone and the designated distributed laser charging facility during in-flight charging. If a drone-to-drone charging option was chosen, both drones kept a fixed distance and flew in sequence during the charging period. Figure 9 shows the comparison of the average charging time for the drones on ordinary missions and the drones on time-critical missions. It can be observed that the extra time spent on charging by a drone on the ordinary mission was significantly higher during peak periods owing to the congestion that occurred at the traditional fix-point wireless charging and battery swap stations. However, the curve for the time spent on charging by a drone on a time-critical mission is flatter than that for the number of charging requests as shown in Figure 6. Although the path of the drone on the time-critical mission does not exactly match the preplanned flight path if the distributed laser charging option was chosen, the time spent on charging for a drone was lower, even if it might deviate slightly from the original flight path. In summary, the time spent on charging a drone on a time-critical mission is much lower when compared with that for a drome on an ordinary mission. That is, it is much better for the drones on time-critical missions to adopt distributed laser charging facility or drone-to-drone charging options than queuing up at the traditional fixed-point wireless charging stations and battery swap stations during peak hours. Figure 10 shows the comparison of power demand of fixed-point wireless charging stations and battery swap stations. This work assumes a drone got charged after it arrived at the apron to refill the power with cheaper electricity. It can be seen that the power supply to the requesting drones during morning and evening peak hours is higher before the application of the proposed work. Accordingly, the congestion for drones waiting for charging that occurred at the traditional fixed-point wireless charging stations and battery swap stations was alleviated, and the power load was also mitigated via distributed laser charging facilities or drone-to-drone charging during peak periods. exactly match the preplanned flight path if the distributed laser charging option was chosen, the time spent on charging for a drone was lower, even if it might deviate slightly from the original flight path. In summary, the time spent on charging a drone on a timecritical mission is much lower when compared with that for a drome on an ordinary mission. That is, it is much better for the drones on time-critical missions to adopt distributed laser charging facility or drone-to-drone charging options than queuing up at the traditional fixed-point wireless charging stations and battery swap stations during peak hours.  Figure 10 shows the comparison of power demand of fixed-point wireless charging stations and battery swap stations. This work assumes a drone got charged after it arrived at the apron to refill the power with cheaper electricity. It can be seen that the power supply to the requesting drones during morning and evening peak hours is higher before the application of the proposed work. Accordingly, the congestion for drones waiting for charging that occurred at the traditional fixed-point wireless charging stations and battery swap stations was alleviated, and the power load was also mitigated via distributed laser charging facilities or drone-to-drone charging during peak periods.

Conclusions
Although few studies have proposed algorithms to provide power to drones with urgent needs through wireless charging technology, the presented charging schemes in the literature are oversimplified and have many restrictions. In addition, different charging options should be offered for each individual drone depending on its mission characteristics and needs. In view of this, this work proposed a joint routing path and charging plan for EVs and drones to meet the task characteristics and charging needs of various types of drones. The experimental results demonstrated that the flight path and charging mechanism proposed in this study can effectively reduce the time spent on charging when the drones perform time-critical missions at peak times of delivery orders, and enable the drone to deliver urgent goods to the designated destination on schedule even when the traditional fixed-point wireless charging stations and battery swap stations are congested. Therefore, the proposed algorithm can not only reduce the congestion at fixed-point charging stations or battery swap services during peak hours, it will also help drones with

Conclusions
Although few studies have proposed algorithms to provide power to drones with urgent needs through wireless charging technology, the presented charging schemes in the literature are oversimplified and have many restrictions. In addition, different charging options should be offered for each individual drone depending on its mission characteristics and needs. In view of this, this work proposed a joint routing path and charging plan for EVs and drones to meet the task characteristics and charging needs of various types of drones. The experimental results demonstrated that the flight path and charging mechanism proposed in this study can effectively reduce the time spent on charging when the drones perform time-critical missions at peak times of delivery orders, and enable the drone to deliver urgent goods to the designated destination on schedule even when the traditional fixed-point wireless charging stations and battery swap stations are congested. Therefore, the proposed algorithm can not only reduce the congestion at fixed-point charging stations or battery swap services during peak hours, it will also help drones with charging needs to arrive at their destinations in time to complete their missions during peak hours and improve the imbalance between power supply and demand in the power grid due to the weather conditions and lower than expected green power supply. New and advanced charging technologies for drones have been proposed by researchers. In future work, we will incorporate evolving charging technologies proposed by researchers into our integrated flight path and charging mechanism to meet the task characteristics and charging needs of various types of drones.