Abstract

Unmanned aerial vehicles (UAVs) are a relatively new technology. Their application can often involve complex and unseen problems. For instance, they can work in a cooperative-based environment under the supervision of a ground station to speed up critical decision-making processes. However, the amount of information exchanged among the aircraft and ground station is limited by high distances, low bandwidth size, restricted processing capability, and energy constraints. These drawbacks restrain large-scale operations such as large area inspections. New distributed state-of-the-art processing architectures, such as fog computing, can improve latency, scalability, and efficiency to meet time constraints via data acquisition, processing, and storage at different levels. Under these amendments, this research work proposes a mathematical model to analyze distribution-based UAVs topologies and a fog-cloud computing framework for large-scale mission and search operations. The tests have successfully predicted latency and other operational constraints, allowing the analysis of fog-computing advantages over traditional cloud-computing architectures.

1. Introduction

In recent years, UAVs have been used in various applications such as monitoring [1], surveillance [2], topography [3], and archaeological exploration [4]. This versatility is explained by the ability of UAVs to perform complex activities with maneuvering flexibility and low-cost flight. In regular missions, the operator controls the vehicle position in every situation. However, when the mission is semiautonomous, and the operator is responsible for just a few tasks, such as taking off and landing the aircraft while this one carries out the flight autonomously through waypoints. In fully autonomous reactive missions, the trajectory is created onboard the aircraft and the mission is performed without the operator nearby. In this sense, the autonomous aerial robotics are connected to a supervision system (i.e., ground station—GS) that is usually located at the cloud and is responsible for all high-level processing.

However, this cloud-based approach may be inappropriate for sensitive real-time systems once the exchanged amount of data among the devices would generate higher costs of communication bandwidth, lack of mobility, communication delay, energy constraints of embedded systems, and information redundancy [5]. To mitigate these issues, a new trend of computing paradigm is to make the computation and storage close to the end-devices, which in this particular case are the drones. Fog computing arises as an intermediate layer between cloud and end-devices to improve latency, power consumption, scalability, and efficiency. This technology allows overcoming the limitations of centralized cloud computation by enabling data acquisition, processing, and storage at fog devices [6, 7].

Under these assumptions, this research work proposes a fog-based framework focused on cooperative-based UAVs topologies. This approach uses a UAV as a fog computing node to provide services. The services should be deployed in this node along with a filtering and clustering mechanisms. The proposed filtering methodology is an importance-based classifier that allows critical information to be delivered in accordance with application requirements. The fog computing can also be a supervision and coordination mechanism, which is not presented in other architectures [815].

To validate this methodology, a mathematical model capable of simulating distributed systems is proposed. This model captures the behavior of main feasibility parameters such as latency and throughput in the fog-cloud computing proposed architecture. Therefore, it is now possible to evaluate different framework designs and choose the best one for each solution. As a result, it is possible to compare the proposed fog-based approach with the traditional cloud-based ones.

1.1. Motivation

Some applications are extremely susceptible to delays. For example, Search and Rescue (SAR) and Inspection are generally executed at remote locations with low communication resources. In this context, most of the decisions are target detection [16, 17] and team coordination [18]. These tasks are particularly delay-sensitive. For instance, in target detection, the object can be lost in fractions of seconds in case of improper detection.

The research presented in [12] suggests that one second of delay is already a challenge in cloud-supported applications and values lower than 100 milliseconds are unattainable. This issue impacts real-time applications and reduces the ability to control systems. Some applications with UAVs are susceptible to this kind of problem, which degrades substantially the quality of the missions subjected to delays. Besides these limitations, many of these applications require a large amount of data, especially for streaming videos to GS for image processing or monitoring [19]. The operation at places with low communication infrastructure can also bring bandwidth challenges that have to be properly addressed.

Another important motivation is the power consumption in fog and cloud. The mission time and services provided by the aircraft are primarily limited by the amount of available energy. For instance, quadrotors typically have flight times lower than 25 minutes. In this sense, any optimization can greatly improve the system overall performance.

The motivation for this work’s development comes from the nonusual fog-cloud computing applicability with multiple UAVs. The main challenge is to propose an architecture to evaluate the applicability of fog-cloud computing cooperation aiming at optimizing latency while keeping throughput and power consumption under a range. Based on the mentioned problems, this work highlights the importance of addressing three research challenges:(1)Data processing closer to end-devices.(2)A platform to support fog-cloud computing deployment with minimum power consumption and throughput usage.(3)A model to analyze the efficiency of fog-cloud computing collaboration and its requirements for UAVs.

1.2. Work Contribution

The UAV assigned as the head coordinator is in charge of the fog-cloud computational offloading. The head coordinator analyzes the data to process or to transform them into chunks of selected information before transmitting to the cloud. This work considers that each UAV has an embedded framework responsible for controlling the task planning, mission, and flight parameters to ensure autonomous operation. Besides, this embedded framework contains a fog device managing the information of its respective group. Considering this scenario, this research work’s contribution can be summarized as follows.(i)A new framework layout to overcome the throughput and latency limitations involving multiple aircraft during missions in areas with restricted communication infrastructure.(ii)A model to analyze the feasibility of fog-cloud computing cooperation in UAV context taking into consideration latency, energy, and throughput constraints.(iii)This research has conducted simulations to validate the model, which shows that the transmission and processing delays, energy consumption, and throughput can be reduced, saved, and optimized, respectively.

1.3. Organization

The remainder of the paper is organized as follows. The background and related works are presented in Section 2. Section 3 discusses the advantages and the constraints that can be optimized when applying fog computing to work cooperatively with cloud data centers. Section 4 details the problem formulation of this work decomposing the system model in three subproblems: latency, throughput, and power constraints. The simulations and discussing of the numerical results are presented in Section 5 and Section 6. The concluding remarks are conducted in Section 7.

The cooperation among multi-UAVs to perform tasks has several advantages. For instance, the quality and the time to complete a mission can be improved by mutual cooperation. Also, the parallel execution of tasks can increase the probability of mission completion [29]. Besides, flexible platforms can be reallocated UAVs when damage occurs to ensure mission completeness. A drawback of cooperative-based task performing is the complexity of sharing resources and information. For instance, each UAV perform minor decisions (e.g., battery information, and collision avoidance) and central intelligence deals with mission strategies such as coordination, supervision, and high-level information analysis and decision-making. In this scenario, a full communication among agents is required. However, in some cases, the challenges to the cloud approach have higher costs of communication bandwidth, communication delay, embedded systems energy constraints, and information redundancy could be inappropriate.

Current architectures for the development of autonomous UAVs [30] do not incorporate technology to overcome the limitations of centralized cloud computation. For instance, the works [31, 32] show the possibility of cloud computing failure due to network impairments. Fog-cloud cooperation arises as an opportunity to improve latency, power consumption, scalability, and efficiency for information exchange of end-devices [14]. To measure the effectiveness of an approach involving embedded systems, it is necessary to have a mathematical model to validate the distributed architecture. To the best of the authors’ knowledge, there is no current proposed architecture to develop UAV cognitive systems that incorporate fog concepts in itself as part of the processing stack [30, 33, 34] neither a specific mathematical model to validate all necessary requirements in this context [815].

2.1. Fog Computing

Several pieces of researches have been published to formally define the fog computing with its respective challenges. Its benefits and issues are surveyed in Dastjerdi and Buyya [8] and Mouradian et al. [35] by presenting an overview of this topic along with its characteristics. Some discussions of challenges, application scenarios, and emerging trends can be found in [3638], respectively. However, there is a difficulty in using the available fog platforms in remote areas due to an unreliable connection.

A practical application of fog computing requires an architecture to achieve the proposed goals. For instance, the work [39] presents a fog architecture with a flexible software-defined network (SDN) to programmatically control networks. The devices in this network should present a flexible self-organized structure to allow the insertion of fog nodes. The work [40] introduced the concept of the virtualization of services where a fog implementation based on ROS performs the services for a network of robots. This implementation resembles the one proposed in this research work.

Few other topics related to the fog application in this context are worth mentioning. An implementation to minimize the services delay is presented in [41]. This work proposes a policy for fog nodes considering queue length and different request types with variant processing times. Other active topics are the complex requirements to obtain a highly reconfigurable network [42] and the paradigm of implementing shared services and resources [43, 44]. These subjects are essential to the UAV-Fog operation but are not discussed in the present work.

2.2. Latency, Throughput, and Power Constraints

As explained, the above architecture aims at optimizing three subproblems. Thus, instead of comparing the proposed model with others, this section compares each desired parameter. The first and most important one is the latency perceived by the end-user. Currently, in several applications, the interaction between a group of UAVs and cloud is performed individually. However, this may be inefficient and costly if the number of data increases, which may also present high redundancy.

The latency is modelled in slightly different ways in the literature. In [10], the latency is calculated by combining the time required for transfer data between nodes, the processing time, and the period related to balance the services among nodes. In [45], these previous factors are considered along with a nonlinear component that accounts for differences in transmission channels such as the queuing order along nodes. Other models may also consider factors like average transmission error in the networks, inter-UAV communication latency, and the time required for clustering data in fog [13, 46]. There are also different modelling techniques which include statistical analysis and modelling based on queue theory where the latency is calculated as the average response time in a queue model M/M/1 [11].

The second considered characteristic is the throughput between fog and cloud computing. The throughput may be affected by some factors, including limitations in the hardware, available power processing, and end-user behavior. Despite being a challenge to fog application, these factors are usually not modelled in many works and can also be compressed into a single rate of error in the transmission channel [21]. In [22, 47], the throughput of 3G and 4G networks is analyzed as a network peak data ratio distributed among users.

The last analyzed characteristic is power consumption. The work [9] presents a model to analyze the power consumption and to evaluate the tradeoff between power usage at fog and cloud nodes during the network operation. The model considers the fog computing as a data center. This consideration provides preloaded content to end-users. Despite the good results, the model looks at the problem to save energy at the cloud servers. In this proposed paper, the problem restriction is to optimize power consumption at the fog devices to extend the UAV flight time. The power consumption of data-forwarding is analyzed in [10, 11]. The fog device model is seen as a resource with unlimited access to power supply, which is not ideal for an embedded application. In this sense, the current state of the art can be improved with models that reduce latency while still maintaining an optimal power consumption in the fog level.

3. General Framework

This section discusses the proposed model, addressing all its components. The problem representation is illustrated in Figure 1. Each UAV is responsible for determining its trajectory autonomously based on the assigned task. Besides, each UAV captures images and information required for its missions. During the task execution, some commands are the responsibility of the GS, for example, supervision, position monitoring, data video storage, and task assignment. These basic definitions lay the groundwork for defining the architectural problem, i.e., defining how components are organized. The next topics discuss the main aspects related to the proposed problem.

3.1. Fog Node Localization

The localization of the fog computing node is a key component in the architecture definition. There are two considered possibilities. First one is the placement of the fog node on the ground, geographically near the UAV group. The second possibility is to embed the fog device in the UAV coordinator that will move together with its team during the mission execution. The main benefit of the first option is to avoid power restriction due to the possibility of connecting the fog device to power stations or generators. As a tradeoff, this configuration creates data transmission restrictions once the objects on the ground can interfere with the network signal.

The deployment of a fog node makes the UAV architecture flexible and more autonomous. An example is the flight time of the head coordinator that does not affect the mission due to the fact that the all aircraft executing the missions share the same power restrictions.

3.2. Fog Node Services

Initially, the first implementations of fog computing were responsible only for information clustering. However, the current applications pack several types of preprogrammed services capable of handling the incoming information directly at the fog device. This work uses the second approach. The head coordinator will manage the information of its group to provide services and to cluster the information into the cloud.

It is important to know the requirements of UAVs to determine which services are necessary at the fog level. In this work, the aircraft can operate autonomously; i.e., they can perform flight control and data gathering and take decisions regarding their tasks. Especially for SAR context, the UAVs need to flight along a certain path to capture images for objects recognition. Besides, they need to decide whether the mission is accomplished or not based on the acquired information. An architecture capable of supporting this level of automation was proposed by the authors in [2].

In many architectures, the GS assists the aircraft when activities require a certain level of high cognition. Usually, the supervisory system performs task planning, monitoring, path planning, among others. However, most of these activities do not require direct human intervention and can also be performed by another autonomous system. In the approach of this work, some services are deployed on the fog computing node whenever is possible to reduce the fog-cloud throughput (e.g., data storage). Other tasks such as the mission goals definition and supervision are processed in the cloud.

The proposed task distribution requires that important information is shared with the cloud and a great part of the data stays at the fog level. In this sense, an algorithm must classify the incoming data to determine which ones should be sent to the cloud. Based on the premises that each UAV can take decisions related to the task execution, it is possible to say that critical mission data can also be flag accordingly to its importance.

This explanation is represented in Figure 1. A coordinator located at the fog level manages the information of the nearest nodes. The data that is not processed and stored locally in the coordinator is forwarded to the supervisory system located at the cloud for further processing.

3.3. Fog Node Characteristics

The hardware characteristics are important to conduct the analysis of the proposed architecture. Initially, the methods for data transmission regarding the inter-UAV and fog-cloud communication are selected. Each technology should provide different data rates and transmission ranges. Table 1 shows a list of key characteristics for the typical wireless communication technologies. The selection of proper hardware for UAV application should consider the relation between energy/coverage for the large flight times.

The services specified in the last topic can be deployed to the nodes using different methods ranging from virtualization of components (i.e. containing apps and libraries) to direct programming of the services in the host operating system. The selected system-on-a-chip (SoC) should be power efficient and support the fog services and the employed methods. Several components can be applied to this task and their common characteristics are presented in Table 2.

3.4. Fog Computing Architecture

This approach is detailed in the architecture presented in Figure 2. The idea is based on [2, 42, 44]. Some of the data is sent to the supervision devices such as images and the geographical positions. However, all data is marked according to the type of message. The data coming from the different aircraft is received in the coordinator and classified based on their importance. Posteriorly, they are sent either to local processing or to filtering. If classified as important, the data goes directly to the filtering block to be clustered and sent directly to the GS. Otherwise, the data is transferred to local processing, which can process or store. This means that the coordinator has similar algorithms to the ones employed on the GS, i.e. the fog level can assist the UAVs during the execution of their tasks. Image and other data can also be stored at this level to be recovered by the GS in the future.

Figure 2 also shows the latencies considered in the model. The execution of the tasks available in the head coordinator along with the data classification and filtering will result in the processing latency at the fog level. The transmission latency is a function of the channel throughput and its characteristics. The processing latency in the cloud is a result of the services execution time provided by the cloud data centers.

The comprehension of the dataflow can be improved by analyzing two SAR examples. The first one is about non-important data during the mission. In this example, the UAVs should regularly update their positions to enable continuously tracking by the GS. As this regularly updating can account for a large amount of data over time, the local processing can analyze if the position has changed enough to justify this action. Another example is the fog device taking actions locally and informing the GS in case that the aircraft is lost or did not update the position regularly. In SAR and Inspection missions, the recognition of a target is an important data that should be informed to the GS immediately.

4. Feasibility Modelling

The framework described in the last section presents an alternative of including the fog in the UAV decision structure. However, it is important to analyze the feasibility of its implementation. This section investigates these aspects and presents a discussion of fog possible benefits.

4.1. Constraints

Few considerations are required to model the system. First, the physical constraints of the fog device limit the processing. Thus, the workload is allocated by the processing capability of the fog . Other limitations are the fog-cloud communication stability and the average throughput required by the fog device that should be lower than network throughput.

4.2. System Model

(1) Throughput. For a fog-cloud computing collaboration, the throughput can be modelled as a function of the average arrival rate , the average packet size , and the rate of packets rejected for fog processing , such as in [10]. Note that the physical limitations of the system may affect the throughput of the communication, such as the available processing power and the end-device behavior. Note that the intention of minimizing this equation is to control the amount of data forwarded to the cloud. This can be more restrictive if only mobile cellphone networks are available or less restrictive if more modern and energy efficient infrastructure is available

(2) Power Consumption. Several factors may influence the power consumption in fog and cloud. These factors include the used algorithms and the environment temperature. However, the main factor is the computational load due to the information coming from the end-devices. For simplification, the proposed model considers the rate of data accepted for processing (i.e. Bits/second) and uses a standard value for the idle power consumption as in [9]. This model is shown in Figure 3.

Then, the power consumption of a fog device is modelled as a linear function of the data accepted for processing rate in respect with the predetermined processing efficiency and the idle power usage . The consumption boundary is mainly determined by the processor Thermal Design Power (TDP) or .Note that the power usage at the cloud is not considered. This is to ensure a power consumption optimization at the fog level, which will result in increasing flight time for the aircraft. This equation captures the amount of information selected for local processing. Since the most relevant information is desired to only be processed locally, thus, minimizing the energy consumption will penalize the local data processing to ensure this condition.

(3) Latency Computation of Fog-Cloud Computing. The latency in the fog device should be lower when few packets are transferred to the cloud and should grow exponentially if the number of packets exceeds the processing capability . The process should be stable if the average arrival rate at the fog level is lower than its processing capability.If the average is selected to contain only stable arrival rates (), the function can be approximated asThe latency at the cloud is represented by the relationship between the data transmitted to it, the network throughput, and the processing capability of the cloud data center. The amount of data sent to the cloud can be determined by the following function and the amount of data transmitted between fog and cloud devices by . After being processed at the cloud, a fraction of the input data is sent back to the fog. The perceived latency computed from the cloud is detailed in where represents the processing capability of the cloud. The total latency is given by (6), where and denote the respective latency in the fog and the cloud.Two state parameters are defined to simplify the problem. The first one represents the total quantity of packages in the fog device and the second parameter is the total of packages in the cloud. This problem can be rewritten to minimize three objective functions, as presented in As can be seen, the model evaluates the tradeoff among bandwidth, energy in the fog node and the delay perceived by the UAV. This model should capture the variables behavior for a given set of parameters from the application when using the proposed framework. Moreover, the goal of reducing latency forces an amount of data to be accepted for local processing in the fog computing node. As this variable grows, the energy constraints should keep this balanced within an acceptable boundary due to local processing capability and energy consumption.

4.3. Modification 1

The previous model represents one of the possibilities for analyzing the fog-cloud computing viability. However, other few considerations can be also relevant depending on the hardware requirement. One important assumption is to consider the power consumption almost linear with respect to data processed in the fog device. However, this may not be true in every case. The power consumption required to transmit data to the cloud can also be a relevant part of the total power used in the head coordinator. Thus, a modification using an extra parameter to represent the power required for data transmission is shown in

4.4. Modification 2

The deterministic comportment of the transmission latency is an important feature for analyzing the model behavior in the experiments. However, in some situations, it may be useful to analyze the latency behavior in a more realistic state. The modification of the model includes a random latency component with a mean value equal to 1 and limited variance. This variation is presented in

5. Experimental Design

An environment was deployed on the software MATLAB version R2016a [48] to simulate the proposed model. Besides, a multiobjective optimization function was applied in the algorithm using a Genetic Algorithm [48]. In this experimentation, a broad range of common requirements is selected for the aircraft application and network infrastructure. Moreover, few assumptions about the data are required due to the dependency of a scenario to apply the model. Then, the experimentation consists in selecting a given configuration (i.e. packet processing capability at fog, network throughput and arrival rate) and after that, the algorithm works finding solutions for a set of different work distributions between fog and cloud devices.

5.1. Environment Assumptions

Missions using UAVs require different types of data. Image is one of the most demanding ones. Thus, it is necessary a bandwidth with a capacity to transmit images with different qualities during the tasks. The bandwidth can be used as a parameter to analyze the throughput requirement for the system operation. In this work, the simulations use bandwidth related to video transmission varying from a single aircraft in 360p up to a team of 6 UAVs transmitting video in 1080p [27, 28] as can be seen in Table 3.

The throughput and inherent latency of the network depend mostly on the network protocol. In this sense, the throughput and latency are studied selecting different types of networks ranging from Edge to 4G, as shown in Table 4 [21, 22].

The fog processing capability depends on both architecture and processor. It is important to determine the maximum of load that the fog computing can absorb before becomes unstable or present a high processing latency. In this way, the utilization of fog computing in situations where the system cannot process enough packets may degrade the average latency. In this case, the application turns impracticable. Thus, in this work, the processing capability changes from 25% to 100% of incoming packets.

The efficiency of the processor is the most difficult parameter to determine due to its dependence on many factors, such as thermal processor efficiency, operational system and the services provided by the UAV coordinator. This work considers the processor parameters matching an x86 processor model z3775g when changing from idle to full utilization. The power consumption was measured using the operational system Ubuntu 14 with LXDE. During the measurements, the system performed image processing, data storage, and general data processing.

There are many requirements for the architecture implementation. For example, the UAVs intercommunication is a critical issue. However, it will not be a subject of this work. In this paper, this communication is considered as a high-speed local connection with low power [42] and should ensure that this data exchange has a minimal delay and it does not significantly affect the proposed problem. The information offloaded between fog and cloud devices are provided by a different interface that uses mobile telecommunication, e.g., GPRS networks.

6. Results and Discussions

This section presents the results and the respective analyses of the developed model efficacy. Some numerical assumptions about the problem were presented in the previous section to show how the model works without defining a specific scenario for the problem. The first parameter is the different levels of data traffic generated by a given number of UAVs. The second one is the characteristic of some mobile network standards. Lastly, the third parameter simulates the levels of processing capability at the fog level.

These parameters illustrate the behavior of the objective functions. For example, we can analyze data traffic/throughput rate versus fog-cloud computing viability. A question to ask is how much rate among data traffic and throughput must increase before fog computing becomes viable? These analyses should assist the decisions boundaries understanding for each objective function presented in (2), (3), and (7).

The first result is in Figure 4. The red and blue arrows help in visualizing the increase direction of fog processing rate and throughput, respectively. The parameters were assigned with colors that represent their original configurations. In this figure, the throughput and processing rate are represented respectively by blue and red colors. Note that the values of throughput and processing rate are constant for a set of points with the same color. The throughput affects the latency baseline, as indicated by the blue arrow. The latency behavior in respect with the workload distribution depends on the fog processing rate; i.e., if the fog processing is at a certain minimum value, the latency will decrease as the workload is added to the fog level. Figure 5 shows the energy efficiency and throughput variation. Note that both parameters present a simple exchange. This is related to the problem design that considers only the throughput between fog and cloud computing and power consumption at the fog computing.

The variation of the transmission rate between fog and cloud computing is shown in Figure 6. This variation analyzes the system behavior as the performance of the communication structure improves. The lines in Figure 6 turn around a point with 100% of the workload in the fog device. However, in Figure 4, the curves turn around 100% of workload in the cloud. This indicates that the transmission rate behaves concurrently with the fog processing rate presented in Figure 5. The latency at the fog will be improved as more work is transferred to the cloud.

6.1. Results for Modification 1

As mentioned before, the first modification in the proposed model considers the power required to offload data from fog to the cloud. The throughput and latency behaviors for a variable number of incoming packets are shown in Figure 7(a). Figure 8(a) exhibits the energy, throughput and latency for a different number of incoming packets and fog processing rate. For comparison purposes, Figures 7(b) and 8(b) exhibit the model behavior without considering the power required for data transmission. The results of Figure 7 do not show significant changes. This means that the relationship between latency and throughput is not affected by this parameter. However, in Figure 8, this parameter changes the minimum value of energy consumption for a determined configuration.

6.2. Results for Modification 2

The second modification of the model illustrates the effect of randomness in the network on the system operation. We can see the behavior of the parameter from (9) with a Gaussian distribution and standard deviation of 0,15 over the defined mean value. The colors applied for each parameter are the same from the original model. Figure 9(a) shows the energy, throughput and latency for a variable number of incoming packets and fog processing rate. Figure 9(b) exhibits the same parameters for a variable fog-cloud transmission rate. It is possible to note the few changes in the general behavior of the optimized parameters when compared them with Figures 4 and 6. The major difference lies in how the values for a given configuration (see Experimental Design) do not organize into lines, as in Figures 4 and 6. Instead, they are scattered along the surfaces in the solutions space.

6.3. Maximum Latency Analysis

The feasibility of a fog node addition is tightly connected to the maximum latency allowed by the specific application. However, an analysis of response time and throughput requirements for a generic UAV application is not possible. This is due to the diverse nature of services and tasks that will impact those requirements. In this sense, a specific scenario is presented to at least indicate how latency requirements can be perceived.

For a SAR environment or inspection in a large area, the main goal is to find a specific target. In this way, if the image data is being processed at the cloud, the processing time should not exceed the sum of time that the prominent target enters the camera Field of View (FOV) and leaves it. Thus, in case that the UAV is mapping an area in a specific speed, the decision to track the target should be fast enough to assure that the target is still in the camera FOV during the decision-making. This process is verified in Figure 10.

Considering a camera with 94 degrees of FOV and 3:2 of aspect ratio (e.g., the camera of Phantom 3), then it is possible to determine the length covered at a certain height (h) performed by the camera using [49]Then, it is possible to compute the available time for data processing in the established conditions. Figure 11 shows the results for 10, 15 and 20 meters of height considering the total time to capture and to process the data on the UAV as well as to perform the round trip to the network and to process in the fog-cloud computing. The work presented in [50] suggests that a two-hop latency (A2A-A2G) for sensor data can reach 0.84 seconds. Thus, a round trip would have at least 1.68 seconds, which turn some of the UAV cloud applications unfeasible. Despite being strongly correlated with the proposed scenario, these results showed that the deployment of a fog node can benefit the UAV applications in situations where cloud deployment is not feasible.

The proposed feasibility model is verified through the comparison between the results of Figure 11 and the ones presented in the previous section. The model should allow the designer to analyze the feasibility of the fog application according to the changes in the model variables. An example would be the analysis of which flight velocity of Figure 10 would make indispensable in a fog computing application.

6.4. Power Consumption Impact Analysis

An important analysis in the feasibility evaluation of applying the proposed architecture is the possible impact in energy consumption. Thus, this subsection presents an analysis concerning a study case on the topic. Considering the parameters of Table 5 for an electric motor X2212 1250kV manufacture by Sunnysky [51] and a standard propeller, it is possible to estimate the energy consumption required to lift a quad-motor rotary wing and a bi-motor fixed-wing aircraft from 500 grams up to 3000 grams using the models in [52, 53]. This range of weights was chosen due to the fact that they cover most of the commercial UAVs. Note that the motor was chosen to lift the heaviest aircraft. The same configuration was applied to all weights to simplify the assumptions and comparisons. This does not intend to represent the best design choice or system physical constraints.

Figure 12 presents the relationship between electrical power and the motor speed for quad-motor rotary wing and a bi-motor fixed-wing aircraft. In the quad-motor curve, this figure presents the minimum power required to hover, i.e. to keep the quadrotor flying. This power was computed by the amount of thrust required to overcome gravity for the specific weights shown. The same calculations for the minimum speed/power for a fixed wing are more complex and they largely depend on the aerodynamic aircraft design. As a reference, a 72 dm2 fixed-wing aircraft with drag coefficient of 0.05 at standard temperature and pressure conditions will require between 2400 and 5400 rpm to maintain levelled flight for weight values between 0.5 Kg and 3 Kg. This ultimately results in powers requirements between 13 W and 65 W accordingly to Figure 12.

The energy consumption impact of adding an onboard computer into a UAV is analyzed through this data considering the weight impact from a single board computer and a dedicated battery bank. The power required in the analysis is simplified assuming that the onboard computer has a dedicated isolated battery bank.

For a rotary wing and adding 250 grams, the power required to sustain a flight increases from 9W in a UAV with 0.5 kg to 23,3W in the 3 kg model. For the fixed-wing aircraft, this analysis is more complex and the additional power required to sustain a flight increases around 3 W for the same mentioned design. Note that the added weight significantly impacts the power required to maintain the flight, which consequently affects the energy consumption and aircraft flight time. In this sense, the onboard computer has to be efficient to require lightweight batteries and to reduce the mentioned impact as much as possible. It is also relevant to note that this result is in accordance with other research works in this field. For instance, [54] suggests that the relationship between information processing and communication to the motors consumption is 20/80.

7. Conclusions and Future Works

This research work introduced a model to investigate the fog-cloud computing cooperation to overcome the throughput and latency involving multiple aircraft in areas with low communication infrastructure. Besides, the analyzed model includes the power consumption limitations of UAVs in the proposed architecture. This developed architecture assigns a UAV as head coordinator in a fog computing level to process and to control the communications between the nearest nodes and the cloud. Thus, this coordinator manages the computational offloading between cloud and fog. Besides, the head coordinator enables the continuity of the autonomous operation even when it is not connected to the ground station. This process results in a lower latency when dealing with the real-time data provided by the aircraft.

The proposed model differs from previous works by capturing performance behavior not totally explored in UAV scenarios including the limited amount of energy, processing capability restrictions at the fog computing and limited throughput among fog and cloud computing. Those characteristics may also be found in other applications (e.g., IoT) which makes the model even more interesting.

In addition to the detailed model description, an extensive evaluation is reported. The simulations and numerical results showed that the model can be used for fog-cloud computing evaluation when considering latency, energy, and throughput constraints. The model covers three experimental scenarios with an increasing degree of accuracy with respect to the real world.

This work also presented an analysis of scenarios in which cloud computing would not be feasible, indicating the benefits of adding the fog node. The results also indicate that the deployment of a fog node inside a UAV is technically feasible from the energy consumption standpoint. Those results are in accordance with other researchers in this field. Besides, the detailed analysis can be reproduced for other specific study cases.

The architecture layout demonstrated the possibility to overcome the throughput and latency limitations involving multiple aircraft during missions in restricted areas when applying fog-cloud computing cooperation. The contributions of this paper can help researchers understand and design UAVs to further assist missions. Few extensions are foreseen in this research work. First, the architecture will be deployed using real UAVs to further validate the model. Therefore, it is also intended to investigate the impact of other factors such as battery time, number of head coordinators, and type of data processing. Moreover, the comparison with other application models (e.g., IoT) is proposed to show different perspectives for this work.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.

Acknowledgments

The authors would like to thank the following Brazilian Federal Agencies: UFJF, CAPES, CNPq, FAPEMIG, INCT-INERGE, and TBE/Desenvolvimento de Sistema de Realidade Virtual e Aumentada Para Treinamento e Auxílio à Manutenção (PD-02651-0013/2017) for supporting this research work.