Full text
Citation: Torky, M.; El-Dosuky, M.; Goda, E.; Snášel, V.; Hassanien, A.E. Scheduling and Securing Drone Charging System Using Particle Swarm Optimization and Blockchain Technology. Drones 2022,6, 237. https://doi.org/10.3390/ drones6090237 Academic Editor: Vishal Sharma Received: 19 July 2022 Accepted: 26 August 2022 Published: 4 September 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). drones Article Scheduling and Securing Drone Charging System Using Particle Swarm Optimization and Blockchain Technology Mohamed Torky 1,† , Mohamed El-Dosuky 2,3 , Essam Goda 4,† , Václav Snášel 5 and Aboul Ella Hassanien 6,*,† 1Higher Institute of Computer Science and Information Systems, Culture & Science City, 6 October City 12573, Egypt 2Faculty of Computers and Information, Mansoura University, Mansoura 35516, Egypt 3Computer Science Department, Arab East Colleges, Riyadh 53354, Saudi Arabia 4Arab Academy for Science, Technology and Maritime Transport (AASTMT), Giza 12577, Egypt 5Faculty of Electrical Engineering and Computer Science, VŠB-Technical University of Ostrava, 70032 Poruba-Ostrava, Czech Republic 6Faculty of Computers and Artificial Intelligence, Cairo University, Cairo 12613, Egypt *Correspondence: aboitcair[email protected] † Scientific Research Group in Egypt (SRGE), http://egyptscience.net/ (accessed on 5 February 2021). Abstract: Unmanned aerial vehicles (UAVs) have emerged as a powerful technology for introducing untraditional solutions to many challenges in non-military fields and industrial applications in the next few years. However, the limitations of a drone’s battery and the available optimal charging techniques represent a significant challenge in using UAVs on a large scale. This problem means UAVs are unable to fly for a long time; hence, drones’ services fail dramatically. Due to this challenge, optimizing the scheduling of drone charging may be an unusual solution to drones’ battery problems. Moreover, authenticating drones and verifying their charging transactions with charging stations is an essential associated problem. This paper proposes a scheduling and secure drone charging system in response to these challenges. The proposed system was simulated on a generated dataset consisting of 300 drones and 50 charging station points to evaluate its performance. The optimization of the proposed scheduling methodology was based on the particle swarm optimization (PSO) algorithm and game theory-based auction model. In addition, authenticating and verifying drone charging transactions were executed using a proposed blockchain protocol. The optimization and scheduling results showed the PSO algorithm’s efficiency in optimizing drone routes and preventing drone collisions during charging flights with low error rates with an MAE = 0.0017 and an MSE = 0.0159. Moreover, the investigation to authenticate and verify the drone charging transactions showed the efficiency of the proposed blockchain protocol while simulating the proposed system on the Ethereum platform. The obtained results clarified the efficiency of the proposed blockchain protocol in executing drone charging transactions within a short time and low latency within an average of 0.34 s based on blockchain performance metrics. Moreover, the proposed scheduling methodology achieved a 96.8% success rate of drone charging cases, while only 3.2% of drones failed to charge after three scheduling rounds. Keywords: blockchain technology; unmanned aerial vehicles (UAVs); drone scheduling; drone authentication; particle swarm optimization (PSO) 1. Introduction Unmanned aerial vehicles (UAVs) (or drones) are fast becoming an important technology that will play pivotal roles in many non-military fields and industrial applications in the next few years [ 1 , 2 ]. The dependence on drone technology across industries moved quickly from the fad phase to the mega-trend phase as more businesses realized their global usage capabilities, potential, scope, and scale. The global drone market size is forecast to be Drones 2022,6, 237. https://doi.org/10.3390/drones6090237 https://www.mdpi.com/journal/drones
Drones 2022,6, 237 2 of 26 worth around USD 102.38 billion by 2030 with expanding growth at a CAGR of 18.2% from 2022 to 2030 [ 3 ]. Drone technology can be classified into three usage categories, military, commercial, and personal drones: Drones will continue to be applied in different military operations due to their high suitability for executing critical and time-sensitive missions and reducing military losses [ 4 ]. UAVs have primary roles in military missions [ 5 ]. They can be used as target decoys for military tactics and surveillance systems; moreover, they can be used in military research and development. From 2016 to 2021, the demand for military-based drones worldwide reached more than USD 70 billion [ 6 ]. The growth of military drone demand is tied to the growth of the border security issues and transnational security threats of countries. The US military remains the biggest market for developing and using military UAVs. Still, countries such as Russia, the UK, China, and Australia have significantly contributed to global military spending on drones. On the other hand, the commercial usage of UAVs has become the talk of the hour and is gaining an increasing interest in various applications [ 7 ]. The commercial UAV industry is still young, but it has seen many integrations and major investments from commercial and industrial conglomerates, chip firms, and IT consulting companies. The special purpose UAV market is expected to grow from USD 9332 million in 2021 to USD 20,548 million in 2026, at a CAGR of 17.1% from 2021 to 2026, and it is predicted to be the biggest market share during the forecast period. It is due to the increasing usage of special purpose UAVs in military and civil operations [ 6 ]. It will be great to develop new drone applications in various domains as it becomes cheaper to tailor commercial UAVs. The next generation of commercial drones could soon be performing everyday tasks such as monitoring traffic incidents, fertilizing crop fields and precision crop monitoring, thermal sensor drones for search and rescue operations, surveying hard-to-reach regions, or even delivering fast food meals, etc. At the level of personal drones, according to Philly By Air, at the end of 2019, there were 1.32 million recreational personal drones in the United States [ 8 ]. In the statistical reports referred to in August 2021, there were about 869,428 drones registered in the United States by the Federal Aviation Administration (FAA), and 60% of registrations (517,974) were for entertainment purposes [ 9 ]. The Insider Intelligence website forecasts that sales of drones will top USD 12 billion by the end of 2021, and a large amount of that will come from the sale of personal drones used for photography, gaming, filmmaking, recording, and other entertainment activities [ 8 ]. Hobbyists will, however, spend USD 17 billion on developing various shapes of drones over the next few years. UAVs come in all sizes and models, from inexpensive small single-rotor devices to large, USD 1000+ quadcopters with GPS, multiple camera arrays, and first-person control. These shapes of drones are widely available, and the market is growing. As these technologies continue to grow and evolve, UAVs will become safer and more dependable in performing various tasks and will provide many services that were very difficult to perform and provide in the past. The limitation of drones’ batteries and the available optimal charging techniques represents a big challenge in using UAVs on a large scale. This problem makes UAVs unable to fly for a long time; hence, drones’ performed tasks and provided services fail dramatically. Some requirements are necessary to guarantee the battery’s best usage, which is one of the most important parts of flying a drone. When the drone is out of service, it is best to store the cool, dry battery. The battery is not left in the drone when it is out of service. This can help maintain the charge and increase the lifespan of the battery. These battery charging requirements may increase the UAV’s flight time, but this may be difficult to achieve due to various environmental conditions and constraints. Other requirements are with regard to the technical and engineering design of the battery itself. For example, the battery temperature increases after the flight and must be recharged when the flight battery temperature is below 40 degrees Celsius. Moreover, it is necessary not to overcharge the battery, which drastically decreases its lifespan. Fully-charged batteries cannot be fully stored for more than three days. If you do not let the electricity out, some
Drones 2022,6, 237 3 of 26 batteries will corrode, swell, and fail. Although some recent batteries may not swell, for the time being, the battery may be immediately damaged after several full charge saves. The Autel Robotics EVO Drone, which flies based on one lithium polymer battery, was the best in 2021, with the longest flight time of 25–30 min and a control range of 4300 m [ 10 ]. However, to enlarge UAVs’ usage and benefits, it is mandatory to increase the flight time by more than only 30 min if we want to depend on UAV technology to perform critical activities in various domains and on a wider scale. Due to these challenges, optimizing the scheduling of drone charging may be the unusual solution to drones’ battery problems. Little work has been provided for addressing this problem. Most of the recent works focus on proposing drone schedule models for optimizing drones’ routes for delivery services [ 11 , 12 ], monitoring services [ 13 ], or disaster inspection services [14]. In this paper, we address optimizing the scheduling of drone charging by investigating how to maximize the number of charging drones and minimize the number of dead drones based on the best configuration of drones and charging station points to increase the fight time of UAVs. To achieve this goal, we used two approaches. The first is the particle swarm optimization (PSO) algorithm [ 15 ]. It has been used to optimize drone routes toward ground station points to prevent collisions and congestion around charging points during charging flights. The second approach is the Stackelberg game theory [ 16 ] to optimize the scheduling of charging drones on charging station points based on charging factors such as mileage, battery status, arrival time, and charging price to achieve the best configuration of charging drones on charging station points. Another investigation is authenticating and securing the charging transactions between drones and charging stations using a novel blockchain protocol to prevent unauthorized charging transactions by intruder drones. The proposed approach was simulated on 300 drones and 50 charging station points. The obtained results clarified the PSO algorithm’s effectiveness for optimizing drone routes and preventing drone collisions during charging flights. Moreover, the proposed blockchain protocol has been simulated on Ethereum. The obtained results showed the effectiveness of blockchain in managing and securing charging transactions between drones and charging station points. In addition, the results showed the superiority of the proposed approach in scheduling drone charging compared to the proposed approach in [16]. This paper is organized as follows. Section 2presents the literature review. Section 3 discusses the proposed approach. Section 4presents the simulation results. Section 5 discusses the obtained results, and finally, Section 6presents the conclusion of this study. 2. Literature Review The existing literature on drone schedule models is extensive and focuses particularly on various civil services [ 17 ]. The recent attention has focused on introducing drone schedule techniques for shipment delivery and logistics services [ 18 – 20 ], monitoring services [ 13 , 21 , 22 ], and disaster inspection services [ 14 , 23 ]. However, a relatively small body of literature is specifically concerned with optimizing scheduling and securing drone charging problems using blockchain technology [24,25]. Over the past decade, most research in drone charging approaches has emphasized wireless power transfer (WPT) to enhance UAVs’ charging [ 26 – 30 ]. Before the work of Hassija et al. in [ 16 ], optimizing the scheduling drone charging problem was neglected and had not been studied deeply. Most drone routing and scheduling research have been carried out in various civil applications [ 31 ]. Some of these studies have assessed the efficacy of drone scheduling in logistics and shipment delivery. Pedro et al. [ 32 ] introduced a greedy heuristic technique to solve the truck–drone delivery problem based on multi-drop drone route planning. This technique is associated with a global optimization method using a simulated annealing (SA) algorithm to overcome routing problems such as the limited power-life of drone batteries and the identification of meeting points where fully-charged, new batteries replace them.
Drones 2022,6, 237 4 of 26 Moshref-Javadi et al. [ 33 ] proposed another metaheuristic approach for addressing the truck–drone routing problem based on one or multiple drones with synchronized movements and multi-drop drone routes. The authors defined the problem as a mixedinteger linear programming (MILP) model and performed a simulation study using the truck and drone routing algorithm (TDRA). The simulation results showed significant reductions in the customer waiting time based on the proposed multi-modal delivery model compared to a traditional truck-only delivery system. Dyutimoy Nirupam Das et al. [ 34 ] addressed the truck–drone routing problem in logistics based on a multi-objective optimization model to minimize the travel costs and maximize the customer service level in terms of the suitable time of delivery. The practical results clarified that the proposed optimization model is an efficient method to parcel delivery logistics. An enhanced Pareto ant colony optimization algorithm is proposed and the non-dominated sorting genetic algorithm II (NSGA-II) is used to verify and validate the proposed mechanism. Yong SikChang et al. [ 19 ] introduced another optimal delivery route based on a truck– drones approach. The main goal of this study was to find the wider drone delivery areas along a shorter truck route. After K-means clustering and traveling salesman problem modeling, the author solved this challenge by finding shift-weights with the non-linear programming (NLP) model after K-means clustering and traveling salesman problem (TSP) modeling. The practical results based on paired t-tests on randomly generated delivery locations showed the effectiveness of the proposed model compared with two other delivery route approaches Without using a truck as a depot of UAVs in routing problems in logistics, YanchaoLiu [ 18 ] introduced a mixed-integer programming (MIP) model and proposed an optimization-driven, progressive algorithm for on-demand meal delivery using drones. The proposed algorithm is validated using simulation case studies, showing its efficiency in optimizing delivery operations. Another drone routing and scheduling application is in monitoring and inspection [ 13 , 14 ]. The drone’s routing strategy and scheduling algorithms need to be updated in real time to assist rescue crews in selecting the best ways to reach damaged areas. Jianfeng Fu et al. [ 35 ] proposed a real-time UAV routing methodology to arrange surveillance and inspection for post-disaster restoration in distribution networks. Based on this technique, real-time data about traffic conditions can be provided. The proposed performance has been validated in some case studies, and the results clarified the effectiveness of the proposed mechanism compared to other routing techniques in the literature. Sudipta Chowdhury et al. [ 14 ] studied the post-disaster inspection drone routing problem using a mixed-integer linear programming model for minimizing the post-disaster inspection cost of a disaster-affected area based on several drone trajectory-specific variables. The authors proposed two heuristic algorithms called the Adaptive Large Neighborhood Search (ALNS), and the modified Backtracking Adaptive Threshold Accepting (MBATA) algorithm to solve the proposed optimization of the post-disaster inspection drone routing problem in a reasonable amount of time. The experimental results indicated the efficiency of the MBATA algorithm in solving the proposed optimization problem within a reasonable amount of time. Waleed Ejaz et al. [ 24 ] proposed an energy-efficient task scheduling technique for data gathering by drones from IoT networks. The main objective was to optimize the path taken by drones to minimize power consumption. The important data collected by drones for people in disaster-affected areas were input into a decision tree classification algorithm to identify their health risk status. The risk status was then used to decide the areas that needed immediate assistance. The experimental results proved the effectiveness of the proposed scheduling technique with the traditional approach used for data collection and risk assessment in the literature. Jun Xia et al., in [ 13 ], studied a drone scheduling problem (DSP) to monitor vessels in emission control areas. The DSP aims to design a set of flight tours for UAVs, including the
Drones 2022,6, 237 5 of 26 inspection procedures and timings for the vessels, so that as many vessels as possible can be verified during a given period while prioritizing highly weighted vessels for verification. To solve this problem, the authors proposed a Lagrangian relaxation-based algorithm that can produce near-optimal solutions for large-scale instances of the problem. The simulation results clarified that the proposed algorithm can effectively solve the DSP problem with near-optimal solutions. Although the reviewed work introduced important and recent techniques to solve various drone routing and scheduling problems in many civil applications, little work has been provided to address the scheduling of drone charging problems within a network of drones and charging station points. Therefore, in this work, we study the optimization of the scheduling of drone charging problems. In addition, we investigate the efficiency of using blockchain technology to secure and authenticate the charging transactions between the scheduled drones and charging station points. Moreover, we secure and authenticate the charging transactions between UAVs and charging stations, especially the blockchain protocols. 3. Scheduling and Securing Drone Charging System Traditionally, several approaches and techniques have investigated the drone battery charging problem to improve the efficiency of drone batteries to increase the drone flight time [ 30 , 36 – 38 ]. However, these techniques did not provide real solutions to ensure the longest flight period if the battery charge of the drones runs out. Therefore, developing an optimized solution to schedule drone charging on the charging station points is mandatory through a peer-to-peer network to ensure the drones’ longest flying state. Another important issue that has been neglected by the related work is authenticating and securing the charging transactions between scheduled drones and charging station points. Few research efforts have been introduced to solve this problem, for instance, an auction-based approach to schedule drone battery charging using deep learning for multi-drone networks [ 39 ] and a consensus time-stamp and game theory-based system [ 16 ]. However, the drone charging scheduling problem is still in the early stages of research; key variables of the charging process such as drone location distribution and charging authentication and security have not been fully characterized in the literature. Therefore, this paper introduces a novel system for adding new contributions to scheduling and securing drone charging problems. The proposed system introduces two major operations as depicted in the architecture model in Figure 1. Registering drones’ and charging stations’ identities in the genesis block (i.e., the first block in the blockchain) is a pre-process for specifying the scheduling and verifying charging transaction requirements. The two major operations can be clarified as follows: (1) Charging scheduling: using this operation, the proposed system utilizes three algorithms for optimizing drone scheduling on charging station points. The first algorithm is particle swarm optimization (PSO) [ 40 ], which maximizes drone routing to prevent collisions during charging flights. The second algorithm is proof-of-schedule (PoSch) consensus algorithm [ 41 ], which can be adapted for scheduling drone charging requests based on four random scheduling techniques. Finally, the third algorithm is the Stackelberg game-based auction [ 16 ] to optimize drone charging schedules produced by proof-of-schedule (PoSch) consensus algorithm (2) Charging authentication and verification: using this operation, a proposed blockchain protocol can secure, authenticate, and verify the charging transactions between scheduled drones and charging station points. The main objective of this operation is to validate the drone charging requests to detect unauthorized drones in the blockchain network. The valid charging transactions are then encapsulated and securely stored in a new block, which is then added to the blockchain.
Drones 2022,6, 237 6 of 26 Figure 1. The architectural model of the proposed scheduling and securing drone charging system. The methodology of the proposed system can be specified in Algorithm 1. Algorithm 1: Scheduling and Authenticating Drone Charging Transactions Input :D={D1, D2, D3, . . . . . ...DN} S={S1.S2.S3,. . . . . . .SM} Output : Blockchain ={B1, B2, B3, . . . . . ...BN) Procedure: Scheduling and Authenticating Drone Charging Transactions While (D is !empty) X=PSO (D,S)// optimization step using Particle Swarm Algorithm Y=PoSch (X)// Scheduling Step using Proof-of-schedule (PoSch) Algorithm Z=Verify (Y)// verifying charging transactions using a Blockchain Protocol IF (Z== 1) Blockchain= a new block Else Print (“Invalid Charging Transaction”) End While End Procedure
Drones 2022,6, 237 7 of 26 3.1. Authenticating Drones and Charging Stations’ Identities Before explaining how drones are scheduled to charge at ground station points, it is mandatory to clarify how drones and ground stations are connected in a peer-to-peer network. What is the authentication technique used to add/remove a drone or a charging station to/from the network? The answer can be shaped based on two key techniques, ED25519 (EdDSA signature scheme using SHA-512 (SHA-2) and Elliptic Curve 25519) [ 42 ], and blockchain. (1) ED25519 is a public-key signature system based on Edwards-curve Digital Signature Algorithm (EdDSA). This recent and secure digital signature technique depends on the performance of optimized elliptic curves, such as the 255-bit curve (Curve 25519) [ 42 ]. Ed25519 uses short private keys (32 or 57 bytes), short public keys (32 or 57 bytes), and small signatures (64 or 114 bytes) with a high security level at the same time. The two generated ED25519-based keys (private and public) can authenticate the identities of drones and charge station points, as depicted in Figure 2. We use the ED25519 as an authentication technique due to the following attractive security features: (1) fast single-signature verification, (2) very fast message signing, (3) fast key generation, (4) small signatures and small keys, (5) high security level against side-channel attacks and twist-security attacks [ 43 ], (6) hash function collisions resilience, (7) foolproof session key. (2) Blockchain is the second technique we use as a secure decentralized repository of the generated ED25519 public keys assigned to drones and charging stations. Moreover, blockchain can manage and verify the charging transactions between drones and secure charging stations. The applicability of using blockchain for storing transaction states in real time and verifying the validity of charging transactions can be justified based on a set of criteria explained in [44] and can be clarified as follows: (1) Do you need to store the state of data? The answer is YES because, in our proposed system, we need a decentralized repository (as blockchain) to store the generated ED25519 public keys assigned to drones and charging stations, which will be used later to verify charging transactions between drones and charging stations during a session of charging transaction. In addition, the details of the real-time transactions (i.e., states of a transaction between a drone and a station) have to be securely stored in this repository. (2) Are there multiple participants? The answer is YES because, in our system, drones and charging stations represent the nodes/participants that constitute a decentralized and P2P network system. (3) Can you use an always online trusted third-party TTP? The answer is NO because, in our system, a proposed blockchain consensus/protocol is responsible for verifying a charging transaction, which will be called automatically once a drone requests a connection with a charging station. Therefore, the blockchain protocol is the alternative verifier to TTP, which works only with a centralized system, but our drone–charging station system is decentralized. Hence. TTP is useless with our proposed approach. (4) Are all participants known? The answer is YES because, in our proposed system, we have a limited number of drones and charging stations labeled from 1 to N. (5) Are all participants trusted? The answer is NO because, in our proposed system, some drones or charging stations can work as fake or Sybille nodes; this normally requires a verifier to authenticate and validate charging transactions between drones and charging stations.
Drones 2022,6, 237 8 of 26 (6) Is public verifiability required? The answer with simplicity is YES because transactions have to be validated before storing them in a new block in blockchain. Hence, we proposed a novel blockchain protocol to verify the drone charging process. Hence, our system can be classified as public permission blockchain system. Figure 2explains how drones and charging stations are authenticated based on ED25519 and blockchain techniques. The ED25519 key generator (e.g., SSH-keygen.) can generate public and private keys of drones and charging stations. Each drone/ground station holds its private key (PVK) and sends its public key to be stored in the blockchain, which will be used to verify charging transactions between drones and charging stations, as we explain in the following subsection. Figure 2. Authentication method of drones and charging stations. 3.2. Scheduling Drones’ Charging Method Before explaining how the scheduling drone charging problem can be solved, we have to clarify four principles: (1) All drones and charging stations are connected based on a P2P network, and the charging transactions are authenticated and verified using a blockchain protocol, as explained in Sections 4.1 and 4.2. (2) The PSO algorithm optimizes drone routes while flying toward charging stations to prevent collisions while requesting charging transactions. (3) The proof-of-schedule (PoSch) consensus algorithm [ 41 ] can be adapted to schedule drone charging requests on the charging stations in the blockchain network. (4) The Stackelberg game theory provided in [ 16 ] is then used to optimize the best scheduling technique that has to be followed by all drones. This is to maximize the number of drones that are allowed to charge and minimize the number of dead drones that do not have any available charging stations (dead drones here do not mean
Drones 2022,6, 237 9 of 26 crashed drones but mean they are a set of drones that cannot charge through this network; hence, these drones have to search for another network of charging stations). The proposed scheduling drones’ charging methodology can be described in the following steps: Step 1: Optimizing drone routing using PSO algorithm: The drone charging scheduling process should start through an optimized way to guarantee drones are collision-free while flying toward the charging station points. To achieve this goal, we used the methodology of the PSO algorithm, as depicted in Figure 3. For two reasons, we preferred the PSO algorithm over other optimization algorithms: (1) PSO has no overlapping and particle transformation calculation. This means the optimization methodology can be performed quickly based on the particle’s speed. (2) The mathematical computation in PSO is very simple and easy to complete. It is hypothesized that utilizing the PSO algorithm requires drones and charging stations to be previously authenticated with the blockchain network, as explained in Section 3.1. Figure 3. Optimizing drone routing using PSO algorithm. Step 2: Scheduling drone charging requests using proof-of-schedule (PoSch) consensus algorithm: PoSch [ 41 ] is a recently proposed consensus algorithm originally designed for task scheduling and resource allocation in cloud computing based on blockchain. The idea of
Drones 2022,6, 237 16 of 26 at a single blockchain node but across the entire blockchain network. This rate is expressed as transactions per second (TPS) at a specified network size. Equation (7) is used to calculate TT TT =∑(Committed Transactions)/∑(Times in secondes)(7) (5) Ethereum GAZ refers to the fee required to successfully execute a transaction on the Ethereum blockchain platform. GAZ is represented as small fractions of the cryptocurrency ether (ETH), commonly called Gwei and nanoethics. GAZ is used to assign resources to the Ethereum Virtual Machine (EVM) so that decentralized applications, such as smart contracts can self-execute in a secured but decentralized manner. Hence, in our study, GAZ measures how computationally expensive a drone transaction is or how much charging transaction processing is needed. The read latency and transaction latency results of simulating 300 drones on 50 charging stations are summarized in the Appendix A. Figure 11 depicts the averages of reading and transaction throughputs while simulating the proposed blockchain protocol. Moreover, Figure 12 depicts the numbers and percentages of the transaction on 14 blocks that contain all drones’ charging transactions. Figure 13 depicts the Ethereum GAZ usage of 14 blocks. Figure 11. The completion time of drone charging results, average reading and transaction throughputs. Figure 12. Transactions per block: ( a ) the number of transactions per block, ( b ) percentages of transactions per block.
Drones 2022,6, 237 17 of 26 Figure 13. Ethereum GAZ usage of 14 blocks. 5. Discussion Despite the growth rates of developing smart cities that utilize drone technology in various applications, very little was found in the literature on optimizing the scheduling of and authenticating drone charging. The recent work has focused only on introducing drone schedule techniques for shipment delivery and logistics services [ 18 – 20 ], monitoring services [ 13 , 21 , 22 ], or disaster inspection services [ 14 , 23 – 25 ]. Before the work [ 16 ], optimizing the scheduling of and authenticating drone charging was neglected and not studied deeply. In reviewing the literature, no mature approaches were found for the association between optimizing the scheduling of and authenticating drone charging transactions. Moreover, no work has been provided to discuss the efficiency of using blockchain technology in authenticating drone charging transactions with charging stations. The first goal of this study sought to propose an efficient method for optimizing drone schedules on charging stations to maximize the number of charging drones and minimize the number of dead drones. In this study, the particle swarm optimization (PSO) algorithm provided good results for optimizing drone routes toward ground station points to prevent collisions and congestion around charging station points during charging flights. The simulation results of 300 drones and 50 charging stations showed that after 10 iterations of the PSO algorithm, the Mean Square Error (MSE) curve sharply decreased to 10 −5 . This indicates that the PSO achieved an efficient and accurate performance in optimizing drone routes with very low error rates, as depicted previously in Figures 7and 8. Another important finding was shown when evaluating the efficiency of the model using the game theory-based auction algorithm provided in [ 16 ] to perform drone charging schedules to identify the number of dead drones that were lost without charging successfully compared to the successful ones (see Figures 9and 10). Tables 1–3summarize the simulation results of the numbers and percentages of the successfully charged drones and dead drones according to six classes of arriving drones and the associated number of charging stations through three rounds of the proposed scheduling methodology. Although the proposed scheduling methodology did not provide good results in the first round regarding the percentages of dead drones (i.e., drones could not be assigned to a charging station point), the recursive feature of the proposed scheduling method (see Figure 5) added a clear enhancement in the results. The proposed scheduling methodology achieved 96.8% of successful drone charging cases, while only 3.2% of drones failed to charge. The averages of the percentages of charging drones and dead drones over three rounds of drone charging scheduling of 300 drones and 50 charring station points are depicted in Figure 14.
Drones 2022,6, 237 18 of 26 Table 1. Drones’ charging simulation results of Round 1. Round #1 Arriving Drones 50 100 150 200 250 300 AVG Number of Charging Stations 8 17 26 34 42 50 Number and Percentages of Charging Drones 41 82% 78 78% 83 56% 98 49% 117 46.8% 136 45.4% 59.5% Number and Percentages of Dead Drones 9 18% 22 22% 67 44% 102 51% 133 53.2% 164 54.6% 40.5% Table 2. Drones’ charging simulation results of Round 2. Round #2 Arriving Drones 9 22 67 102 133 164 AVG Number of Charging Stations 8 17 26 34 42 50 Number and Percentages of Charging Drones 9 100% 19 87% 56 84% 81 79.5% 90 67.7% 87 53.1% 78.55% Number and Percentages of Dead Drones 0 0% 3 13% 11 16% 21 20.5% 43 32.3% 77 46.9% 21.45% Table 3. Drones’ charging simulation results of Round 3. Round #3 Arriving Drones 0 3 11 21 43 77 AVG Number of Charging Stations 8 17 26 34 42 50 Number and Percentages of Charging Drones 0 0 3 100% 11 100% 21 100% 43 100% 64 84% 96.8% Number and Percentages of Dead Drones 0 0% 0 0% 0 0% 0 0% 0 0% 13 16% 3.2% Figure 14. Averages of percentages of charging drones and dead drones over three rounds of drone charging schedule. The second objective of this study was to investigate utilizing a novel blockchain protocol in authenticating and verifying drone charging transactions, as explained previously in Figures 2and 6. The simulation results proved the good performance of the
Drones 2022,6, 237 19 of 26 proposed blockchain protocol in managing drones=charging station transactions within a short time and with low latency according to blockchain performance measures, read latency, transactions latency (refer to results in the Appendix A), read throughput, and transaction throughput (refer to Figure 11). These results mean that drones can conduct a successful and valid charging transaction rapidly within an average of 0.34 s. Interestingly, these results are the first. We could not find a study in the literature introducing a mature solution based on conducting deep simulation experiments to optimize the scheduling of drone–charging station transactions. In addition, proposing and practically simulating a new blockchain protocol to authenticate and verify valid drone–charging station transactions is a novel contribution to UAV technology. It may grant this study an opportunity to be the base for future research studies in this domain. This finding broadly supports the work [ 16 ] that investigated game theory to solve the scheduling drone charging problems. However, that study conducted a light simulation experiment on only four drones and three charging stations. Another issue is that the game theory-based auction model was not a deterministic technique to solve this complicated problem. The small numerical results based on light simulation showed only that the proposed technique provides a better price for the drones and better revenue for the charging stations based on evaluating energy rates. However, in our opinion, these results did not represent a real and mature solution for optimizing the scheduling drone charging problem. The study also did not provide a real solution for manipulating the auction-out drones (i.e., dead drones). In addition, the authors mentioned that they used a security model based on a hash graph for securing drone transactions, but there are no numerical results for validating this proposal. These issues may make the current study better and mature enough to optimize the scheduling drone charging problems compared to [16]. Moreover, proposing and simulating the functionality of a novel blockchain protocol for authenticating and verifying drone charging transactions is superior in this study compared with [ 16 ] and other studies in the literature. Although our results are promising, these findings may be somewhat limited by variables such as the number of drones, the number of charging station points, the optimization algorithm used to optimize drone routes, the hypothesis of drone batteries, charging flight conditions, and scheduling algorithms. These variables together mean that these results must be interpreted with caution. Overall, the key results obtained from this study can be summarized in the following points: • The investigation of optimizing the scheduling of drone charging has shown the efficiency of the PSO algorithm for optimizing drone routes and preventing the drones’ collisions during charging flights with low error rates (MAE = 0.0017 and MSE = 0.0159 ). • The proposed scheduling methodology based on the PoSch technique achieved 96.8% success in drone charging cases, while only 3.2% of drones failed to charge after three scheduling rounds. • The simulation results in Ethereum proved the good performance of the proposed blockchain protocol in managing drone charging transactions within a short time and with low latency. Finally, according to these results, we can infer that this study represents a real step for solving the scheduling of drone charging as an optimization problem. Moreover, introducing a novel blockchain protocol for authenticating and verifying drone charging transactions is a promising contribution to UAVs’ security. The proposed protocol can also be adapted to electric vehicle charging technology. 6. Conclusions and Future Works The present research aimed to provide a real solution for optimizing the scheduling drone charging problem. The second aim of this study was to investigate the efficiency of a novel blockchain protocol to authenticate and verify drone charging transactions. This study proposed a novel scheduling and secure drone charging system to achieve the
Drones 2022,6, 237 20 of 26 two goals. The proposed system was simulated on a generated dataset consisting of 300 drones and 50 charging station points to evaluate two major functions. The first function is optimizing the scheduling of drone charging using the particle swarm optimization (PSO) algorithm and game theory-based auction model. The second one is authenticating and verifying drone charging transactions using blockchain technology. The investigation into optimizing the scheduling of drone charging has shown the efficiency of the PSO algorithm for optimizing drone routes and preventing drones’ collisions during charging flights with low error rates (MAE = 0.0017 and MSE = 0.0159). Moreover, the proposed scheduling methodology achieved 96.8% success in drone charging cases, while only 3.2% of drones failed to charge after three scheduling rounds. The investigation into authenticating and verifying drone charging transactions showed the efficiency of the proposed blockchain protocol. The simulation results in Ethereum proved the good performance of the proposed blockchain protocol in managing drone charging transactions within a short time and with low latency. These results clarified that drones could rapidly perform a successful and valid charging transaction within an average of 0.34 s using the proposed blockchain protocol. Before this study, evidence of optimizing the scheduling of and authenticating the drone charging problem was a purely anecdotal and incomplete solution. Therefore, these findings contribute in two directions to our understanding of optimizing scheduling drone charging and provide a basis for using blockchain technology to authenticate and verify drone charging transactions. The study should be repeated using other optimization and scheduling algorithms; moreover, applying blockchain attack models to the proposed blockchain protocol and evaluating its robustness would be a fruitful area for further work. Author Contributions: Conceptualization: M.T. and M.E.-D. Data curation: M.T., M.E.-D. and E.G. Formal analysis, M.T. The investigation: M.T. and M.E.-D. Methodology: M.T., and M.E.-D. Senior Administration: A.E.H. Software: M.E.-D. and E.G. Supervision: A.E.H. and V.S. Validation: M.T. and M.E.-D. Visualization: M.T. Writing—original draft: M.T. Writing—review and editing, M.T., V.S. and A.E.H. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded with the support of the Slovak Operational Programme Integrated Infrastructure in the frame of the project: Intelligent systems for UAV real-time operation and data processing, code ITMS2014+: 313011V422 and co-financed by the European Regional Development Fund. Institutional Review Board Statement: The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Review Board. Informed Consent Statement: Informed consent was obtained from all subjects involved in the study. Data Availability Statement: Exclude this statement since the study is supported by a created dataset. Conflicts of Interest: Authors declare no conflict of interest. Appendix A. Read and Transaction Latency Results Figure A1. Read and transaction latency results of drones’ charging transactions with stations S1–S4.
Drones 2022,6, 237 21 of 26 Figure A2. Read and transaction latency results of drones’ charging transactions with stations S5–S8. Figure A3. Read and transaction latency results of drones’ charging transactions with stations S9–S11. Figure A4. Read and transaction latency results of drones’ charging transactions with stations S12–S14. Figure A5. Read and transaction latency results of drones’ charging transactions with stations S15–S17.
Drones 2022,6, 237 22 of 26 Figure A6. Read and transaction latency results of drones’ charging transactions with stations S18–S20. Figure A7. Read and transaction latency results of drones’ charging transactions with stations S21–S23. Figure A8. Read and transaction latency results of drones’ charging transactions with stations S24–S26. Figure A9. Read and transaction latency results of drones’ charging transactions with stations S27–S29.
Drones 2022,6, 237 23 of 26 Figure A10. Read and transaction latency results of drones’ charging transactions with stations S30–S33. Figure A11. Read and transaction latency results of drones’ charging transactions with stations S34–S37. Figure A12. Read and transaction latency results of drones’ charging transactions with stations S38–S41. Figure A13. Read and transaction latency results of drones’ charging transactions with stations S42–S44.
Drones 2022,6, 237 24 of 26 Figure A14. Read and transaction latency results of drones’ charging transactions with stations S45–S47. Figure A15. Read and transaction latency results of drones’ charging transactions with stations S48–S50. References 1. Merkert, R.; Bushell, J. Managing the drone revolution: A systematic literature review into the current use of airborne drones and future strategic directions for their effective control. J. Air Transp. Manag. 2020,89, 101929. [CrossRef] [PubMed] 2. Hassanalian, M.; Abdelkefi, A. Classifications, applications, and design challenges of drones: A review. Prog. Aerosp. Sci. 2017 ,91, 99–131. [CrossRef] 3. GlobeNewswire, UAV Drones Market Size to Worth Around US$ 102.38 Bn by 2030. Available online: https://www. globenewswire.com/news-release/2022/03/01/2394915/0/en/UAV-Drones-Market-Size-to-Worth-Around-US-102-38-Bnby-2030.html#:~{}:text=The%20global%20unmanned%20aerial%20vehicle,18.2%25%20from%202022%20to%202030 (accessed on 4 November 2021). 4. Glade, D. Unmanned Aerial Vehicles: Implications for Military Operations; Center for Strategy and Technology, Air War College, Air University, Maxwell Air Force Base: Montgomery, AL, USA, 2000. 5. Mahadevan, P. The military utility of drones. In CSS Analyses in Security Policy; Center for Security Studies, ETH: Zurich, Switzerland, 2010; p. 78. 6. Markets and Markets, Unmanned Aerial Vehicle (UAV) Market. Available online: https://www.marketsandmarkets.com/ Market-Reports/unmanned-aerial-vehicles-uav-market-662.html?gclid=Cj0KCQjwgMqSBhDCARIsAIIVN1XI97yxa0c2z_ fKIXgR9DmmGrAw924CNXpV4B9J-wJD-lLPlC_MMQsaAttwEALw_wcB (accessed on 4 November 2021). 7. Asadzadeh, S.; de Oliveira, W.J.; Filho, C.R.D.S. UAV-based remote sensing for the petroleum industry and environmental monitoring: State-of-the-art and perspectives. J. Pet. Sci. Eng. 2021,208, 109633. [CrossRef] 8. Insider Intelligence, Drone Technology Uses and Applications for Commercial, Industrial, and Military Drones in 2021 and the Future. Available online: https://www.businessinsider.com/drone-technology-uses-applications (accessed on 2 August 2021). 9. Matt Satell, 16 Eye-Opening Drone Stats for 2021. Available online: https://www.phillybyair.com/blog/drone-stats/ (accessed on 22 December 2021). 10. Max Wales, Top 10 Drones with Longest Flight Time for 2021. Available online: https://filmora.wondershare.com/drones/ drones-with-longest-flight-time.html (accessed on 2 August 2021). 11. Jung, H.; Kim, J. Drone scheduling model for delivering small parcels to remote islands considering wind direction and speed. Comput. Ind. Eng. 2021,163, 107784. [CrossRef] 12. Liu, C.; Chen, H.; Li, X.; Liu, Z. A scheduling decision support model for minimizing the number of drones with dynamic package arrivals and personalized deadlines. Expert Syst. Appl. 2020,167, 114157. [CrossRef] 13. Xia, J.; Wang, K.; Wang, S. Drone scheduling to monitor vessels in emission control areas. Transp. Res. Part B Methodol. 2018 ,119, 174–196. [CrossRef] 14. Chowdhury, S.; Shahvari, O.; Marufuzzaman, M.; Li, X.; Bian, L. Drone routing and optimization for post-disaster inspection. Comput. Ind. Eng. 2021,159, 107495. [CrossRef]
Drones 2022,6, 237 25 of 26 15. Wang, D.; Tan, D.; Liu, L. Particle swarm optimization algorithm: An overview. Soft Comput. 2018,22, 387–408. [CrossRef] 16. Hassija, V.; Saxena, V.; Chamola, V. Scheduling drone charging for multi-drone network based on consensus time-stamp and game theory. Comput. Commun. 2019,149, 51–61. [CrossRef] 17. Otto, A.; Agatz, N.; Campbell, J.; Golden, B.; Pesch, E. Optimization approaches for civil applications of unmanned aerial vehicles (UAVs) or aerial drones: A survey. Networks 2018,72, 411–458. [CrossRef] 18. Liu, Y. An optimization-driven dynamic vehicle routing algorithm for on-demand meal delivery using drones. Comput. Oper. Res. 2019,111, 1–20. [CrossRef] 19. Chang, Y.S.; Lee, H.J. Optimal delivery routing with wider drone-delivery areas along a shorter truck-route. Expert Syst. Appl. 2018,104, 307–317. [CrossRef] 20. Moshref-Javadi, M.; Winkenbach, M. Applications and Research avenues for drone-based models in logistics: A classification and review. Expert Syst. Appl. 2021,177, 114854. [CrossRef] 21. Anwar, N.; Izhar, M.A.; Najam, F.A. Construction monitoring and reporting using drones and unmanned aerial vehicles (UAVs). In Proceedings of the Tenth International Conference on Construction in the 21st Century (CITC-10), Colombo, Sri Lanka, 2–4 July 2018; pp. 2–4. 22. Khan, A.A.; Shaikh, Z.A.; Laghari, A.A.; Bourouis, S.; Wagan, A.A.; Ali, G.A.A.A. Blockchain-Aware Distributed Dynamic Monitoring: A Smart Contract for Fog-Based Drone Management in Land Surface Changes. Atmosphere 2021 ,12, 1525. [CrossRef] 23. Rottondi, C.; Malandrino, F.; Bianco, A.; Chiasserini, C.F.; Stavrakakis, I. Scheduling of emergency tasks for multiservice UAVs in post-disaster scenarios. Comput. Netw. 2020,184, 107644. [CrossRef] 24. Kumar, A.; Singh, Y.; Kumar, N. Secure Unmanned Aerial Vehicle (UAV) Communication using Blockchain Technology. In Recent Innovations in Computing; Springer: Singapore, 2022; pp. 201–211. [CrossRef] 25. Alkadi, R.; Alnuaimi, N.; Yeun, C.Y.; Shoufan, A. Blockchain Interoperability in Unmanned Aerial Vehicles Networks: State-ofthe-Art and Open Issues. IEEE Access 2022,10, 14463–14479. [CrossRef] 26. Aldhaher, S.; Mitcheson, P.D.; Arteaga, J.M.; Kkelis, G.; Yates, D.C. Light-weight wireless power transfer for mid-air charging of drones. In Proceedings of the 2017 11th European Conference on Antennas and Propagation (EUCAP), Paris, France, 19–24 March 2017; IEEE: New York, NY, USA, 2017; pp. 336–340. 27. Zhang, S.; Qian, Z.; Wu, J.; Kong, F.; Lu, S. Optimizing Itinerary Selection and Charging Association for Mobile Chargers. IEEE Trans. Mob. Comput. 2016,16, 2833–2846. [CrossRef] 28. Raciti, A.; Rizzo, S.A.; Susinni, G. Drone charging stations over the buildings based on a wireless power transfer system. In Proceedings of the 2018 IEEE/IAS 54th Industrial and Commercial Power Systems Technical Conference (I&CPS), Niagara Falls, ON, Canada, 7 May 2018; IEEE: New York, NY, USA, 2018; pp. 1–6. 29. Kim, S.J.; Lim, G.J. A Hybrid Battery Charging Approach for Drone-Aided Border Surveillance Scheduling. Drones 2018 ,2, 38. [CrossRef] 30. Jin, Y.; Xu, J.; Wu, S.; Xu, L.; Yang, D.; Xia, K. Bus network assisted drone scheduling for sustainable charging of wireless re-chargeable sensor network. J. Syst. Archit. 2021,116, 102059. [CrossRef] 31. Rovira-Sugranes, A.; Razi, A.; Afghah, F.; Chakareski, J. A review of AI-enabled routing protocols for UAV networks: Trends, challenges, and future outlook. Ad. Hoc. Netw. 2022,130, 102790. [CrossRef] 32. Gonzalez-R, P.L.; Canca, D.; Andrade-Pineda, J.L.; Calle, M.; Leon-Blanco, J.M. Truck-drone team logistics: A heuristic approach to multi-drop route planning. Transp. Res. Part C Emerg. Technol. 2020,114, 657–680. [CrossRef] 33. Moshref-Javadi, M.; Hemmati, A.; Winkenbach, M. A truck and drones model for last-mile delivery: A mathematical model and heuristic approach. Appl. Math. Model. 2019,80, 290–318. [CrossRef] 34. Das, D.N.; Sewani, R.; Wang, J.; Tiwari, M.K. Synchronized Truck and Drone Routing in Package Delivery Logistics. IEEE Trans. Intell. Transp. Syst. 2020,22, 5772–5782. [CrossRef] 35. Fu, J.; Nunez, A.; De Schutter, B. Real-time UAV routing strategy for monitoring and inspection for post-disaster restoration of distribution networks. IEEE Trans. Ind. Inform. 2021,18, 2582–2592. [CrossRef] 36. Kim, S.J.; Lim, G.J. Drone-aided border surveillance with an electrification line battery charging system. J. Intell. Robot. Syst. 2018 , 92, 657–670. [CrossRef] 37. Kim, J.; Kim, S.; Jeong, J.; Kim, H.; Park, J.-S.; Kim, T. CBDN: Cloud-Based Drone Navigation for Efficient Battery Charging in Drone Networks. IEEE Trans. Intell. Transp. Syst. 2018,20, 4174–4191. [CrossRef] 38. Hassija, V.; Chamola, V.; Krishna, D.N.G.; Guizani, M. A Distributed Framework for Energy Trading between UAVs and Charging Stations for Critical Applications. IEEE Trans. Veh. Technol. 2020,69, 5391–5402. [CrossRef] 39. Shin, M.; Kim, J.; Levorato, M. Auction-Based Charging Scheduling with Deep Learning Framework for Multi-Drone Networks. IEEE Trans. Veh. Technol. 2019,68, 4235–4248. [CrossRef] 40. Zhang, Y.; Wang, S.; Ji, G. A comprehensive survey on particle swarm optimization algorithm and its applications. Math. Probl. Eng. 2015. [CrossRef] 41. Wilczy´nski, A.; Kołodziej, J. Modelling and simulation of security-aware task scheduling in cloud computing based on Blockchain technology. Simul. Model. Pr. Theory 2019,99, 102038. [CrossRef] 42. Bernstein, D.J.; Duif, N.; Lange, T.; Schwabe, P.; Yang, B.-Y. High-speed high-security signatures. J. Cryptogr. Eng. 2012,2, 77–89. [CrossRef]