A Proposal for Routing Protocol for FANET: A Fuzzy System Approach with QoE/QoS Guarantee

The flying ad hoc network (FANET) has emerged as an alternative access technology for regions that have no fixed infrastructure or are hard to reach. This new type of network is composed of devices called unmanned aerial vehicles (UAVs) that communicate with each other, but there is no specific routing protocol to FANETapplications that allows efficient communication between these devices. This paper proposes a FANETadaptive routing protocol based on the fuzzy system. The validation of the FANETadaptive protocol was performed through simulation using Network Simulator version 2 (NS-2) and, it was assessed by quality of service (QoS) and quality of experience (QoE) metrics.


Introduction
In recent years, there has been a great deal of motivation in the search for new wireless communication mechanisms, with great growth due to new technologies or con gurations in aerial technologies, to monitoring hard-to-reach areas or in case of disaster situations.In this context, FANETs ( ying ad hoc networks) emerged, which are a type of ad hoc network con guration consisting of unmanned aerial vehicles (UAVs).UAVs are responsible for monitoring a speci c area by capturing images and sending them to a base ground station [1] in a process known as UAV-to-ground (U2G) communication.
In this context of FANETs, new challenges arise unlike the traditional infrastructure and cable challenges: (1) positioning the UAVs in a most appropriated way to monitor regions, minimizing costs and maximizing the performance of network; (2) reduce the negative e ects of UAVs high mobility; and (3) traditional routing protocols are not capable of handling, in an e cient fashion, the ying networks, especially ying ad hoc networks, due to features such as high node mobility and topology changes. is can compromise communication between UAVs and network performance.Due to this, it is important to de ne a strategy to ensure adequate communication under these conditions, providing resources that guarantee satisfactory and intelligent performance to reduce the selected challenges [2].
Another important point to consider in FANET/UAV scenarios is that most mobile devices have an average ight time of approximately 30 minutes [3,4] due to limited battery capacity. is fact draws the following conclusion: a node, with a low battery charge, will stop being part of the aerial network due to its "death," requiring the network to autocon gure and restructure and reorganize its topology, avoiding damages that could a ect aerial wireless communication.Because of this, it is necessary to determine and/ or predict which devices have low ight autonomy or are close to being incapacitated, in order to minimize the impacts on communication quality.
UAVs need to have sensors attached to them to capture real-time images of a certain area, and because of this, it is necessary to evaluate the quality of the data and video collected, which can be done by using QoE (quality of experience), that have equivalent direct measurements related to the evaluation of multimedia streams, from the user perception point of view, corroborating and complementing traditional QoS (quality of service) metrics, which evaluate objective measurements from the network point of view as throughput, delay, etc., but do not reflect the final user experience with the video streams nor the final quality of the received video [5].
As already commented, flight range and mobility are influential factors that can severely alter the topology of the aerial network.Because of this, it is of fundamental importance to build a new routing protocol that can consider these factors and exert a mutual interaction between them and the topological changes of the network, especially since currently there are no specific routing protocols for these ad hoc network scenarios beyond traditional routing protocols that date back to the emergence of the Internet such as Adhoc On Demand Distance Vector (AODV) and optimized link state routing (OLSR) that are neither adequate nor efficient in these scenarios [6].
Taking the numerous problems encountered in FANETS and air network scenarios, this paper proposes a routing protocol adapted and implemented for these scenarios created through a fuzzy system to enable the best communication path between UAVs (a process known as UAVto-UAV communication-U2U).e new routing protocols will find the best route, with the best connection and longest durability, improving network performance.
e paper is distributed as follows: Section 1, presented here, contextualized the work and introduced its contribution.Section 2 discusses the related works and compares them.Section 3 presents the state of the art of FANET applications.Section 4 describes the proposed new routing protocol and the details of the implemented system.Section 5 discusses the performance evaluation of the proposed routing protocol, which is sequentially complemented by Section 6 which concludes the work and presents its main contributions.

Related Work
is section examines the related work on the routing protocol flying ad hoc networks (FANETs).e aim is to demonstrate some gaps in related work and how the proposed routing protocol addresses them.
e protocols were evaluated using the QoS metrics and Gauss-Markov mobility model.Despite the comparison, the paper proposed no improvement to the protocols.
In paper [8], the authors devise a new mechanism for data routing based on localization in GPS-denied or GPSchallenged areas.
is mechanism relies on a weighted centroid localization technique, where the position of unknown UAV nodes is calculated by means of fuzzy logic. is paper does not take into account that changes in topology require new packet routing or the flight autonomy of each drone.
In paper [9], the authors investigated a routing protocol called predictive OLSR (P-OLSR), which is an extension of the traditional OLSR protocol.e authors compared the P-OLSR with OLSR by means of QoS metrics.However, although the paper put forward a new routing protocol, it did not compare it with the other routing protocols and failed to evaluate it with the QoE metrics.
In paper [10], the authors recommended an energy-efficiency algorithm for drones that included the parameters of the communication channel.
is system reduced energy consumption, but even though there were a number of changes in the topology, the network was unable to identify new routes in an effective way and thus maintain the required level of quality.
In paper [11], the authors carried out a survey of the routing protocols for VANET and FANET.
eir paper discusses the use of optimization techniques (particle swarm optimization, ant colony optimization, and bee colony optimization) to improve the routing performance but did not employ flight autonomy as a parameter or take QoE metrics into account.
In paper [12], the authors discuss the use of hop-by-hop communication between the drones as a means of increasing the network coverage area.However, the paper does not discuss to what extent the changes in the topology can have an effect on the quality of transmission, while also failing to address the need for an efficient routing protocol.
In paper [13], the authors introduced the use of the multiple path OLSR (MP-OLSR) routing protocol into FANET applications, especially in wildfires, to increase the chances of rescuing victims.e work considered scenarios with different speed ranges but did not address the flight autonomy problem.
In paper [14], the authors proposed the use of continuous Hopfield neural network (CHNN) to optimize the routes found by the dynamic source routing (DSR) protocol so that they would adapt to the high-speed movement of the FANET nodes.Simulation using NS-3 showed that the optimized DSR protocol improved the indicators such as end-to-end average delay, throughput, and packet delivery ratio.e authors did not address QoE and QoS metrics.
e authors in [7][8][9][10][11][12][13][14] examine the techniques that are used in FANET, but none of them set out a routing protocol that provides an effective response to the changes in the network topology.ese papers do not address flight autonomy of the drones either and do not use a computer intelligence system for decision-making.
e proposed routing protocol, unlike those addressed in the related work presented in the literature, considers the needs and challenges of a FANET.Table 1 shows the related work that broadly addresses FANET routing and its solutions.is paper proposes an alternative approach to routing protocols already used in FANET by adopting fuzzy systems.
e proposed routing protocol was validated by QoE metrics.

Flying Ad Hoc Network (FANET)
e increasing use of mobile ad-hoc networks (MANETs), vehicular ad hoc networks (VANETs), and wireless sensor networks, has led them to use new devices capable of moving and flying autonomously, generating more complex systems.
In FANET, the devices are generally referred to as unmanned aerial vehicles (UAVs).
e use of UAVs has e networks differ from their traditional predecessors (MANETs in this case) as a result of the high mobility of UAVs, their greater connectivity, expansion in application areas, etc.In this respect, FANETs can generalize and extrapolate the topologies from 2D to 3D through a freemotion scheme, owing to the ability of the drones to fly independently in three-dimensional space. is new context has attracted researchers and industry as well as providing a driving force for real-life applications.
FANETs are generally used to provide connectivity to hard-to-reach places in regions where there have been natural disasters or even for military applications.After a catastrophic event (such as an earthquake, hurricane, tsunami, and dam breach), traditional network infrastructures can suffer damage and be subject to automatic shutdowns.However, through a FANET configuration, they could be employed to restore and provide sufficient connection and communication to the network in isolated areas.Besides, UAVs could be equipped with cameras and other types of sensors and devices to provide a constant aerial view and thus help rescue crews and firefighters to save lives.
In extensive coverage areas, it may be impracticable to establish direct communication from the UAVs to the base station on the ground at certain times.However, this problem can be overcome through hop-by-hop communication, which requires the use of a routing protocol to discover the best route/path from the source to the final destination [15].

Problem Statement and Major Contributions.
e high mobility of UAVs means that network topology can change over time, so discovering and maintaining routes becomes one of the main issues to address [16].For this reason, the focus of this paper is to establish a specific FANET protocol that can perform this task more efficiently.
Routing protocols are responsible for finding, establishing, and maintaining routes between two nodes that wish to communicate.ese protocols should minimize overhead and bandwidth consumption.
A routing protocol that targets FANETs is more complex than fixed network protocols; this is due to several features of these networks such as their dynamic topology algorithm, mutual interference, restricted power, and the limited resources available in the UAVs.
In a FANET, given UAV mobility, it may happen that one aircraft is not close enough to another to establish communication, so it will need to use routing information to choose an alternate route. is communication can be done in multiple hops through the collaboration of intermediate nodes; that is, communication is not restricted to the radius of action of each device individually, but the sum of the radius of action of all devices (Figure 1).e mobility of UAVs and their spatial arrangement are also very important for determining the communication routes.As a result of the movement, these routes are usually rearranged so that the interconnection between the UAVs can be continued.For this reason, the routing must be carried out dynamically by increasing the autonomy of the UAVs and reducing the delay in data delivery between a source node and a destination node [17].
Another main contribution of this paper is the adoption of a new communication network model used to provide connectivity in regions that are difficult to reach on land (especially regions after natural disasters).FANETs are easily established, as they are easily moved to a new region.
e frequent updating of the control information can ensure more accurate information; however, there is a need for a greater use of energy since this reduces the autonomy of the nodes.For this reason, this paper proposes a specific routing protocol for FANETs where the received signal Wireless Communications and Mobile Computing strength indicator (RSSI), mobility level, and in particular the flight autonomy of each UAV are employed as decisionmaking metrics to ensure quality of service and quality of experience for the network.is paper also proposes, as a contribution, the use of a fuzzy system for the implementation of the routing protocol, with a set of inputs composed of information collected, in real time, from the network itself.e pieces of information collected are flight autonomy, mobility level, and RSSI.Based on such information, it is possible to establish communication routes that will remain active for a longer period.e objective is to discover routes with high flight autonomy (longer service life), low mobility (fewer changes in the topology), and better RSSI (better condition for data transmission).
FANETs are commonly employed to monitor regions by using sensors to capture images and/or videos.erefore, it is very important that the quality of the video stream can be assessed using QoE metrics to ensure that, in fact, good data communication reflects a good user experience.erefore, this paper performs a cross-layer evaluation involving the network and application layers to verify it.

A Fuzzy Routing Protocol System
e fuzzy system is a special kind of a knowledge-based system that works through dynamic and inaccurate sets of measurements.Fuzzy sets express the meaning of linguistic values related to a linguistic variable.A linguistic variable can be associated with a set of linguistic values, and that are associated with fuzzy sets that express the corresponding degree of relevance (truth value) of a linguistic variable.Fuzzy sets are used to quantify the corresponding degrees of uncertainty in evaluating a given concept (instance).Elements that belong to the fuzzy set may have degrees of relevance in the range of [0.1].
ese systems are widely used in dynamic scenarios, such as vehicular network scenarios, being terrestrial or aerial because, as the dynamics occur in the scenarios, the values are changed, and, consequently, new solutions for the network are found.is paper considers three input metrics (language variables in the fuzzy system): mobility level, flight autonomy, and RSSI.
e level of mobility is linked to the speed metric, which is an important measure as it can affect the quality of communication/transmission because this measure indicates how fast the drones are moving, consequently changing the network topology as approach or distance from a particular area.For the variable, three linguistic values were defined: low speed (range 0 to 5 m/s), average speed (range 4 to 13 m/s), and high speed (when velocity is greater than 11 m/s).
Another important metric is the flight autonomy, directly linked to the battery capacity of the device; In this case, which is related to the time that the UAV will be able to fly over and monitor a particular region.e greater the battery capacity, the longer the flight range, and therefore, the longer the route, and network topology will remain active.is metric is divided into three linguistic values within this set: low range (0 to 600 seconds), medium 4 Wireless Communications and Mobile Computing range (600 to 1200 seconds), and high range (over 1200 seconds).e third and last metrics used are linked to the signal strength, which can also represent the signal quality and is represented by the RSSI.e better the RSSI, the better the communication between two or more drones.Inversely, the worse the RSSI is, the worse is the signal quality between airborne devices, and the worse is the communication between them.In this metric, three language variables were defined for RSSI (dBi): low RSSI (− 125.1 to − 102.1 dBi), average RSSI (− 111.1 to 63.1 dBi), and high RSSI (greater than − 71.1).
With the support of the fuzzy system and the rule set used, accurate results will handle inaccurate and vague entries of input language variables, interpreted and classified as follows: terrible path, regular path, good path, and excellent path.When the drone detects a new path/route, it will provide the input variables collected for the embedded fuzzy system, which after applying the inference equation and the diffusion process, will indicate the quality level of the detected paths/routes, qualifying the best for the routing process of the air network.
In this paper, a Gaussian fuzzifier was used due to its inherent ability to reduce the noise of input variables [18].Fuzzification is the mapping of input variables to a set of ranges that will be analyzed by a fuzzy rule base, the inference machine, and their respective membership functions of a set of linguistic variables, identifying which set it belongs to.After 100 interactions of the simulation process, it was concluded that the value of 0.6 would be considered for good or excellent paths.In certain situations, an inference value can be a part of two or more fuzzy sets at the same time (such as 0.55).In this case, the metric that has the most relevance according to the relevance function will be decisive in identifying the output set (Figure 2).
For the implementation and construction of this fuzzy system and after a set of tests and simulations, it was concluded that the ideal communication between drone devices would be in a scenario with high flight autonomy, high signal strength (RSSI), and low mobility level because in this scenario/topology, the route is kept longer so that the transmission stays longer and with fewer communication problems.e greater the distance from this ideal scenario, the fuzzy system can fetch the results that are closest to the context, based on a table of rules and the inference machine that can be dynamic and realistic in intelligent decisionmaking.
Table 2 shows a set of fuzzy system rules defined for performing this role.
rough this set of rules and in conjunction with the implemented inference engine, the system finds the most appropriate decision to select the route/path that will remain active for the longest, improving and maintaining network performance with the best path (Table 2), mostly choosing the EXCELLENT and GOOD paths and very rarely the REGULAR and BAD paths.e final decision is made according to the fuzzy system set inference values which qualify the highest inference value for the choice.During the implementation of the fuzzy system, it was observed that inference values equal to or higher than 0.6 represented the best way in these scenarios and therefore those with the highest probability of being chosen (Figure 3).
In the 3D graphic image of Figure 4, the yellow areas represent the routes/paths most likely to be chosen, as they correspond to routes where drones have high flight autonomy, low mobility, and high RSSI.
e green-shaded chart area corresponds to the average speed, average RSSI, and average flight range drones, and in this situation, there is little chance of the drone being chosen as the communication route.e last region, represented by the blue color on the chart, represents a drone with high mobility, low RSSI, and low flight range, in which case the drone will not be chosen as the communication route (Figure 4).Table 2: A fuzzy rule-based system.

Results
is section evaluates the performance of the FANET protocol by proving the benefit of the proposed routing protocol when compared to AODV (reactive protocol) and OLSR (proactive protocol).e results were performed by simulation through the network simulator version 2 and multimedia applications.e video used was the "Sintel"   frames.e propagation model used in the simulations was shadowing because it is more realistic in signal attenuation than the free-space model and two-ray ground models (propagation models available in NS-2) [19].e simulator does not support three-dimensional scenarios, so it is assumed that drones are at similar heights and with a line of sight of communication.Table 3 shows the simulation parameters used for scenarios with 10 drones with random mobility (random way point) and speed range from 2 m/s to 20 m/s in an area of 200 m × 200 m.
Due to the drones' random mobility, they can fly closer or farther from each other, considering the speed drones can also get closer or fly slower or faster from each other.Changes in the network topology due to drone mobility require a fast response from routing protocols; if this response does not occur efficiently, network performance will be degraded.
e FANET adaptive protocol outperformed other protocols as shown in Figure 5.
e AODV and OLSR protocols, due to network topology changes, did not update their routing tables quickly and efficiently and were unable to maintain an active route, and consequently, both protocols interrupted their transmissions during the part of the simulation.Unlike the others, the FANET adaptive protocol updated its routing table quickly and efficiently always keeping an active route for transmission and consequently avoiding connection breakdown.
e throughput average also shows that the FANET adaptive protocol performed better when compared to AODV and OLSR protocols.e proposed routing protocol performed approximately 300% better than the other two protocols, as shown in Figure 6.
In addition to evaluating through quality of service metrics, this paper also evaluated the FANET adaptive protocol using the quality of experience metric.e three main QoE metrics are peak signal-to-noise ratio (PSNR),  Wireless Communications and Mobile Computing structural similarity (SSIM), and video quality metric (VQM).PSNR evaluates the signal-to-noise ratio of the video considering features such as brightness, noise, and color.Figure 7 shows that the OLSR protocol had a PSNR average of 18 dB (rated as the poor video), the AODV protocol had a PSNR average of 28 dB (rated as the regular video), and the FANET adaptive protocol had an average PSNR of 42 dB (rated as the excellent video).e FANET adaptive protocol also outperformed OLSR and AODV when evaluated using the SSIM metric.e metric evaluates the video considering features such as brightness, color, and contrast.e SSIM metric has a value scale from 0 to 1, the closer to value 1, the better the video quality.e OLSR protocol had an average SSIM of 0.43 (considered a bad video), the AODV protocol had an average SSIM of 0.61 (considered a regular video), and the FANET adaptive protocol had an average SSIM of 0.91 (considered an excellent video), as shown in Figure 8. e comparison between the three protocols was also made using the VQM metric, which also showed the superiority of the FANET adaptive protocol.e VQM metric has a scale from 0 to 5, in which case the closer to 0, the better the video quality.e metric evaluates the video considering features such as color, brightness, intensity, and frame distortion.e OLSR protocol had a VQM average of 4.1, the AODV protocol had a VQM average of 3.3, and the FANET adaptive protocol had a VQM average of 1.4 as shown in Figure 9.
is paper also evaluated the protocols by visually comparing frames received using the MSU Video Quality .Visual comparison of frames transmitted by each protocol also showed better performance of the FANET adaptive protocol.Figure 10 shows a video frame transmitted by the OLSR protocol in which it is possible to observe that the frame is distorted and has pixel flaws.
Figure 11 shows a video frame transmitted by the AODV protocol, in which there was a quality improvement when compared to the previous frame.However, the video cannot be rated as of excellent quality, and it has minor distortions and flaws, so it is classified as a regular quality video.
e video frame transmitted by the FANET adaptive protocol has a better quality when compared to AODV and OLSR protocols.Figure 12 shows that the frame has no distortions or flaws being rated as an excellent quality video.

Conclusion
FANETs provide several benefits (as cited earlier), but there are still some challenges to be studied, such as routing between UAVs in the air network.For this reason, the flying networks have been a research topic.
ere is no specific routing protocol for air networks, so this paper proposes a routing protocol for FANETs that uses a fuzzy system to improve the route discovery process.e FANET adaptive protocol takes into account RSSI, mobility level, and flight autonomy.
e FANET adaptive protocol was compared with AODV and OLSR protocols (traditional ad hoc routing protocols).e comparison was carried out by simulation using QoS and QoE metrics, and the proposed routing protocol had a better performance (around 35%) than the other two routing protocols.
In future paper, the authors intend to develop new artificial intelligence techniques and include new parameters for decision machine, as well as use a new wireless technologies (i.e., long-term evolution-LTE) and new propagation models (i.e., air-to-ground path loss for low-altitude platforms and air-to-ground path loss for high-altitude platforms).

2
Wireless Communications and Mobile Computing created new ways of operating innovative applications, by introducing a new type of network paradigm known as FANETs.

Figure 2 :
Figure 2: Output of the fuzzy system.

Table with
Figure 3: Schematic representation of the proposal.