#### Abstract

*Energy* management strategies are the key technology for hybrid electric UAVs. This paper proposes a fuzzy state machine (FSM) energy management strategy with an online potential to control the power flow for the hybrid electric UAV which includes the photovoltaic, fuel cell, and battery power sources. The FSM strategy couples the fuzzy logical strategy with a state machine strategy where the fuzzy logical strategy controls the power split between a fuel cell and a battery and the state machine deals with the power flow of photovoltaics and battery. To evaluate the FSM strategy, a simulation platform integrating the hybrid power system model and UAV model is developed with a Matlab/Simulink tool. An existed online thermostat control strategy for the same type of UAV is employed to compare with the proposed strategy based on the developed platform. The energy management process and the state of each power source are analyzed under a given mission scenario. The comparison of the two strategies about the power and energy contribution rates of each power source, the battery state of charge, and the hydrogen consumption is presented. The results indicate that the FSM strategy can satisfy the demand power effectively during the mission and performs better than the thermostat control strategy on power distribution and fuel consumption.

#### 1. Introduction

The hybrid electric UAVs in this paper are defined as the full electric UAVs powered by three or more kinds of power sources. In recent years, photovoltaic (PV) panels, fuel cells, and batteries are usually used as the electric propulsion energy. Heavily influenced by the climate, photovoltaic panels generally need to coordinate with batteries to power the UAVs which are called solar-powered UAVs. The relatively low energy density of batteries results in the extreme design of the solar-powered UAVs for a lighter structure weight. Fuel cells with higher energy density compared to batteries are potential for longer endurance. Due to soft electric characteristics and relatively slow response, the fuel cells are usually hybrid with batteries in the fuel cell-powered UAVs. Based on the principle of complementary advantages, the hybrid electric power system consisting with the photovoltaic, fuel cell, and battery power sources for UAVs has been proposed. Different dynamic characteristics of the three kinds of power sources make the hybrid power system more complicated. Thereby, a reasonable and efficient energy management is very important and necessary.

Energy management strategies (EMS) determine the power allocation among different power sources and promote the energy efficiency and service life of the hybrid power system. In general, the energy management strategies can be classified into two categories [1]: optimization-based strategies and rule-based strategies. Optimization-based strategies include, dynamic programming (DP) [2–7], Pontryagin’s minimum principle (PMP) [8–10], genetic algorithm (GA) [11], and particle swarm optimization (PSO) [12]. Such optimal strategies usually can get the local or global optimal fuel economy. However, they cannot be used for online management because of the high computational cost. For real-time optimization, some instantaneous optimization strategies are proposed by introducing a cost function that depends only on the present state of the system parameters. Then the concept of energy consumption minimization strategy (ECMS) [13–16] and model predictive control (MPC) [17] is introduced for online optimal energy management of the hybrid electric vehicles. But for hybrid electric UAVs, they are still on research.

Most online strategies for hybrid electric vehicles and UAVs are based on the rule-based strategies, mainly containing the fuzzy logical control (FCL) [18–24] and the state machine (SM) [25–29]. These strategies are easily implemented online to manage the power flow in the hybrid power system, because they can handle complex “black box” problems with low computational cost. Only a few of researchers tried to use the modified dynamic programming called the iterative dynamic programming (IDP) [30, 31] on the hybrid electric UAVs with an internal combustion engine and a motor as the hybrid propulsion system.

For the full electric UAVs with different types of power sources, most researchers only considered two types of power sources, such as a fuel cell and a battery (FC + B) [32–37] or photovoltaics and a battery (PV + B) [38–44]. Very few of researchers concentrated on the hybrid PV/fuel cell/battery (PV + FC + B) [25, 29, 45, 46] power system as they are more complicated. So the rule-based strategies were mostly used as they are more suitable and easier to be implemented online. Li et al. [25, 47] and Lee et al. [28, 46] built a hybrid photovoltaic/fuel cell/battery power system for UAVs to estimate the behaviors of each power source using state machine strategy. However, their studies only developed the hybrid power system model with a given demand power profile and paid little attention to UAV models. The influence of the flight dynamic on the hybrid power system and energy management was not directly presented and analyzed. Zhang et al. [29] used the simple linear kinematic and dynamic UAV model to investigate the rule-based power tracking strategy for the PV + FC + B hybrid electric UAVs. But the UAV model was constrained in a vertical plane. Neither turns nor banks were considered. The EMS used in the three studies were all rule-based strategies with simple rules and limited applicability. To investigate more advanced online energy management strategies for PV + FC + B, a platform that can simulate the real flight of full electric UAVs is needed and necessary.

In this study, a fuzzy state machine strategy combing the fuzzy logical control with the state machine strategy is proposed for PV + FC + B hybrid electric UAVs. To evaluate the FSM strategy, a closed loop simulation platform integrating the hybrid power system model and UAV model is developed to simulate the real flight conditions. The developed platform is also verified by comparing with the gasoline Aerosonde UAV model under a classical mission scenario. Based on such platform, the FSM strategy is compared with an existing online thermostat control strategy which has been implemented online for the same type of UAV. The comparison of the two strategies about the battery state of charge, the hydrogen consumption, and the power and energy contribution rates of each power source are discussed and analyzed.

The rest of the paper is organized as follows: the fuzzy state machine strategy for hybrid electric UAVs is described in Section 2, including the hybrid electric UAV framework and the details of the fuzzy state machine strategy. Section 3 provides the development and integration of the simulation platform containing the hybrid power system and the UAV model. Section 4 presents the simulation results and associated discussion including the comparison of the strategies. Finally, the conclusions are made in Section 5.

#### 2. Fuzzy State Machine Strategy for Hybrid Electric UAVs

##### 2.1. Sizing of Hybrid Electric UAV

The hybrid electric UAV is constructed by modifying the Aerosonde UAV [37] with the hybrid power system developed above to replace the GA propulsion system with an internal combustion (IC) engine. The Aerosonde UAV was developed by Aerosonde Pty Ltd. in Australia. To be comparable, the gross weight and aerodynamic configuration of the hybrid electric UAV remain the same with that of the IC engine Aerosonde UAV. The configuration sizes and weight breakdowns of the Aerosonde UAV and hybrid electric UAV are presented in Table 1.

As shown in Table 1, the wing area is only 0.55 m^{2} which limits the photovoltaic panel available on board. That also means the photovoltaic panel will not be the main power source. To match the weight, the sizing of the fuel cell and that of the battery are both limited. The cruise power of the Aerosonde UAV determines the fuel cell size. The peak power demand and the climb phase give a reference for the sizing of the battery.

##### 2.2. Hybrid Electric UAV Framework

The framework of the hybrid electric UAV contains four parts: energy system, energy management system, powertrain system, and airframe system as illustrated in Figure 1. The energy system, energy management system, and powertrain system constitute the hybrid power system for the UAV. The energy system, including a hydrogen tank, a fuel cell (FC), a battery, photovoltaic panels (PV), and solar irradiance, provides electric energy for the powertrain system through the energy management system. The energy control unit (ECU) as the core processor of energy management system generates the current command for the DCDC converter and the maximum power point tracker (MPPT) based on the system state and power demand information from the current and voltage sensors, such as Batt CV and Bus CV. The DCDC and MPPT are the actuators to control the output power of FC and PV, respectively, and their output voltages are matched with the battery. The solar irradiance on the PV panel surface is influenced by the UAV flight state, such as bank, pitch, heading angles, and the latitude. The powertrain system includes a motor and a propeller to convert the electrical energy to mechanical energy and provides thrust and torque to the airframe system. The motor is controlled by the autopilot to generate the online demand power for the energy management system. The autopilot gets the flight state information from the UAV model and provides deflection angles for the control surfaces of the UAV. This framework can simulate the online situation at every flight moment with the causal relationship between demand power and energy management.

##### 2.3. Purposes of Energy Management Strategy

The energy management strategy (EMS), employed in the ECU module, must have the online potential to control the power flow among the PV panel, fuel cell, and battery based on the online situation provided by the hybrid electric UAV platform. The EMS also should take advantage of each power source based on their characteristics and state information. The criteria followed by the EMS are summarized as follows: (i)The PV panel has the top priority to discharge. Through the MPPT, the PV panel always works at the maximum power point to provide energy as much as possible for flying or charging the battery.(ii)The battery, cooperating with the PV panel and fuel cell, makes up for surplus demand power. It is also responsible for sharp fluctuations of the power demand and peak power demand. The battery can be charged by the PV panel and fuel cell with a limited charge rate.(iii)The fuel cell generally has the lowest output priority to save the fuel for longer endurance.(iv)The DC bus demand power is always satisfied by the three kinds of power sources: where is the DC power demand and , , and are the power extracted from the PV panel, battery, and fuel cell, respectively.

##### 2.4. Implementation of Fuzzy State Machine

The fuzzy logical control algorithm coupled with the state machine strategy is proposed as the fuzzy state machine (FSM) strategy to enhance the online potential and adaptability of the energy management strategy. The implementation process of the FSM strategy is presented in Figure 2. The state of charge (SOC) is from the battery model. The from the PV panel model is the maximum available power of the PV panel on the wing. as the demand power of the DC bus can be calculated using where is the current through the BLDC motor and is the voltage of DC bus. Both of them are measured by the Bus CV sensor. is equal to the battery voltage as the battery is directly connected on the DC bus in parallel.

The FSM strategy used to determine the output of the PV panel and fuel cell has five states: State 1:the maximum available power of the PV panel () is higher than the demand power (). That means the surplus demand power () is negative. The battery with a high state of charge does not need to be charged. The PV panel alone is selected to satisfy the power demand.State 2:the PV has the ability to satisfy the demand power. The redundant power from the PV panel for charging the battery is lower than the maximum charge power (). Then the PV panel outputs its maximum power to meet the demand power and charge the battery.State 3:the maximum power from the PV panel is higher than the summation of demand power () and maximum charge power (). Then the output power of the PV panel equates to the power summation.State 4:the PV panel cannot satisfy the power demand alone. To save the fuel, the PV panel gives its maximum power. Then the fuzzy logical control algorithm is used to decide the desired output of fuel cell . Considering the constraints of the battery’s maximum charge rate, the fuel cell power is modified to be the summation of surplus demand power () and maximum charge power ().State 5:the PV panel operates with maximum available power. And the desired fuel cell power is under the constraint of (3); then the fuel cell will output the desired power.

From state 1 to state 3, the EMS only uses the state machine strategy to deal with the output power of the PV panel and battery. The last two states couple with the fuzzy logical control strategy to control the output power of the fuel cell and battery. The PV power and fuel cell power are directly decided using the FSM strategy, but the battery power is derived automatically based on the power balance principle.

##### 2.5. Fuzzy Logic Control

The fuzzy logical control has two input variables and one output variable, where the surplus demand power and the state of charge SOC are the input variables and the desired fuel cell power is the output variable. The battery SOC is categorized into three different statuses called low (L), middle (M), and high (H). Similarly, the is assigned into five regions: very high (VH), high (H), middle (M), low (L), and very low (VL). The fuzzy output is also defined in five statuses just like _{,} such as VH, H, M, L, and VL. The rule base which has 15 rules for the fuzzy logical control algorithm is given in Table 2. The membership functions of the , SOC, and are given in Figures 3(a)–3(c), respectively. The fuel cell power rule base surface is presented in Figure 3(d). Mamdani’s fuzzy inference approach is used along with the centroid method for defuzzification.

**(a) Surplus demand power membership functions**

**(b) Battery SOC membership functions**

**(c) Fuel cell power membership functions**

**(d) Fuel cell-desired power rule base surface**

The ECU module with the FSM strategy is modeled for the hybrid power system as shown in Figure 4. The is calculated using the and which are measured at every time step. The EMS generates the reference current for the fuel cell and PV panel using the output power commands dividing the DC bus voltage. The battery will compensate the demand power automatically based on (1).

#### 3. Development of Simulation Platform

##### 3.1. Modeling of the Hybrid Power System

###### 3.1.1. Battery Model

In this study, a lithium-ion battery is used to store energy and quickly respond to demand power in the hybrid power system. With higher specific power, lithium-ion batteries remedy the limitation of fuel cells. The rechargeable characteristic enhances the utilization efficiency of the PV panel by storing the surplus solar energy when the power demand is low. The battery also provides a relatively stable operation voltage on DC bus for the BLDC motor. The dynamic model of the lithium-ion battery from the SimPowerSystems library in Matlab/Simulink is used and presented in
where is the battery voltage, is the constant voltage, *K* is the polarization constant, is the maximum battery capacity, is the extracted capacity (Ah), is the exponential voltage, is the exponential capacity, is the internal resistance, is the battery current, and is the filtered current. The state of charge (SOC) presents the battery state limited within [0, 1], where 1 indicates full charge and 0 means empty. The SOC is expressed in

###### 3.1.2. Solar Irradiance and PV Panel Model

As the UAV is flying, the solar irradiance on the PV panel varies with the maneuver. The PV panel surface is assumed to be flat. The incidence angle depends on the azimuth and zenith angles of the sun. The Euler angles and latitude decide the angle between sun rays and the PV panel. According to [48], the azimuth and zenith angles are described in
where and are the azimuth and zenith angles of the sun, respectively; is the latitude of the UAV; is the declination angle of the sun; * i*s the hour of the sun; is the current hour of the day; and is the date in the year.

The expression of the incidence angle is calculated by [49] where is the unit vector to the sun in the earth-fixed frame and is the aircraft-fixed vertical axis. The unit vector to the sun in the aircraft-fixed frame can be expressed in where the vector is the unit vector to the sun in the earth-fixed frame defined in and , , and are rotation matrices about the bank angle , pitch angle , and heading angle , respectively. If the efficiency of the photovoltaic panel is assumed as a constant, the power of the PV panel is given in where is the efficiency of the photovoltaic panel, is the solar irradiance, is the area of the PV panel on the wing surface, is the incidence angle of sun rays, and is the efficiency of the MPPT. So the is equal to for the simplification of the MPPT model.

###### 3.1.3. Fuel Cell Model

The proton exchange membrane fuel cell (PEMFC) with high energy density and low operating temperature is suitable to power the electric UAV for long endurance. The dynamic fuel cell model used here is also from the SimPowerSystems library, but the model parameters are from our experiment. The fuel cell output voltage is decided by the number of cells () in series and every single cell voltage () as shown in

The air and hydrogen flow rates are calculated by
where and are the rates of utilizations of oxygen and hydrogen, respectively, is the universal gas constant 8.3145 J/(mol·K), is the Faraday constant 96,485 As/mol, O_{2}% is the percentage of oxygen in oxidant, is the temperature, is the absolute supply pressure of air, is the air flow rate, is the H_{2} flow rate, H_{2}% is the percentage of hydrogen in fuel, is the absolute supply pressure of fuel, and is the number of moving electrons. The H_{2} gas is stored in a carbon fiber tank with a maximum pressure of 20 MPa. The state of pressure (SOP) is defined as the remnant H_{2} pressure in a tank can be calculated in
where *P*_{0} is the initial pressure of H_{2} in the tank, Vol is the tank volume, and is the H_{2} flow rate. When SOP is less than low pressure , the fuel cell will stop working.

###### 3.1.4. Powertrain Model

The powertrain contains a BLDC motor and a fixed pitch propeller. The motor model is presented in where and are the terminal voltage and current of the electric motor, respectively, is the terminal resistance, is the rotation speed constant, is the rotation speed, is the torque produced by the motor, and is the idle current without load.

The fixed pitch propeller is modeled as presented in where and are the thrust and torque of the propeller, respectively, is the air density, is the radius of the propeller, is also the rotation speed, and and are the thrust and power coefficients, respectively. When the motor drives the propeller, the dynamic model of the powertrain is given in (16), where is the rotational inertia of the motor shaft and propeller.

The DCDC converter is modeled in where the and are the output voltage and current, and are the input voltage and current, and is the efficiency of the DCDC converter.

###### 3.1.5. Integration of the Hybrid Power System

By integrating these models presented above, the topology of the hybrid power system model is shown in Figure 5. The fuel cell current is controlled by the DCDC converter. The simple DCDC converter and BLDC motor simulation models are shown in Figure 6.

**(a) DCDC converter**

**(b) Electric motor**

##### 3.2. Closed-Loop Simulation Platform of Hybrid Electric UAV

The closed-loop simulation platform of a hybrid electric UAV is developed with the AeroSim Blockset library in Matlab/Simulink as shown in Figure 7. The general aviation (GA) engine propulsion system is replaced by the developed hybrid power system as shown in Figure 5. Except for the UAV model, the platform also contains the aircraft control module and flight planner module. Using the great circle navigation method, the flight planner module calculates the necessary bearing/yaw adjustment, target altitude, and target airspeed based on the waypoint information including the latitude, longitude, altitude, and airspeed. Then the UAV will trace the waypoints correctly. The aircraft control module uses the current and target position, altitude, and airspeed information to generate the throttle signal, rudder deflection angle, aileron deflection angle, and elevator deflection angle. The classical PID control algorithm is used in this module. The throttle range is between 0 and 1. The details of the autopilot model are given in [50].

##### 3.3. Simulation Parameters

The mission scenario includes basic UAV operations such as climb, cruise, descent, and loiter. The waypoint information is listed in Table 3 [50]. It is assumed that the takeoff time is 12:00 at noon on the summer solstice and the maximum irradiance of the day is 1200 W/m^{2}.

The initial parameters of the hybrid power system are listed in Table 4 which includes the parameters of the battery, fuel cell, H_{2} tank, photovoltaic panel, motor, propeller, and DCDC converter. The propeller is still the same as the original Aerosonde UAV. The and of the propeller are given in [50]. The simulation used the ode14x solver with the fixed-step, and the step size is 0.1 s.

#### 4. Results and Discussion

##### 4.1. Hybrid Electric UAV Model Validation

The hybrid electric UAV model is verified by comparison with the original gasoline Aerosonde UAV in Matlab/Simulink under the same mission scenario. The comparison results are presented in Figures 8 and 9. The top and side views of flight paths agree with each other for the two UAVs. The bank and heading angles of the UAVs are the same with each other. That is also the reason for the coincidence of top view paths. Figure 9(c) shows the pitch angles of the two UAVs are a little different during the transition from descent to level flight. That results in the difference of the transitional path as seen in Figure 8(b). The comparison of the two UAVs proves that the hybrid electric UAV model almost has the same performance with the original Aerosonde.

**(a) Top view of flight path**

**(b) Side view of flight path**

**(a) Bank angle**

**(b) Heading angle**

**(c) Pitch angle**

##### 4.2. Energy Management Analysis

For the electric UAV, the flight height varying with time is presented in Figure 10. During the mission, the energy management system with the proposed FMS strategy calculates the demand power and distributes the power among the three power sources as shown in Figure 11. Based on the mission scenario, the energy management process can be separated into seven stages from S1 to S7: Stage 1 (S1): from waypoint 1 to waypoint 2 about 0–98 s, the UAV climbs from 800 m to 900 m then turns to level flight. During the climb, the demand power is about 1100 W much higher than the maximum power of the PV panel which has the highest priority to provide power. The surplus demand power is split between the battery and the fuel cell by the fuzzy logical control strategy. Since the initial SOC is high, the battery gives more power than the fuel cell. When reaching target altitude 900 m, the UAV turns to level flight, the demand power down to 620 W; the output power of the PV panel shows slight variations due to the decrease of the pitch angle. The output powers of the battery and fuel cell both fall down.Stage 2 (S2): from waypoint 2 to waypoint 3 about 98–126 s, the UAV turns left and the bank angle significant changes at about 100 s. The power demand also arises a sudden change which is followed by the battery and fuel cell successfully. The bank angle results in a serious power loss of the PV panel.Stage 3 (S3): from waypoint 3 to waypoint 4 about 126–265 s, the UAV changes from descent to level flight. In descent, it glides without any power in need. The power of the PV panel is higher than the demand power which means the PV panel can save the surplus energy by charging the battery. When approaching the target altitude 750 m, the UAV turns to level flight. The pitch angle oscillates heavily. The demand power also waves strongly. The outputs of the battery and fuel cell following the demand power present serious fluctuations, but the power of the PV panel presents light change. Then the UAV gives a long time stable level flight until reaching waypoint 4. Each power source provides a constant output during the level flight.Stage 4 (S4): from waypoint 4 to waypoint 6 about 265–290 s, the UAV turns right three times in a short time which causes the variations of the demand power. The PV panel power fluctuates with the bank angle and heading angle. The surplus demand power is followed by the battery and fuel cell.Stage 5 (S5): from waypoint 6 to waypoint 7 about 290–448 s, the UAV changes from climb to level flight. At the beginning of the climb, the demand power presents a sharp increase which is tracked by the battery as the demand power is much higher than the maximum power of the fuel cell and PV panel. During this climb, the demand power is up to 1100 W again; the fuel cell operates near the maximum power point, until the UAV is arriving at the target altitude 900 m. Then the UAV turns to level flight and the demand power decreases to 620 W, the output power of battery and fuel cell both decrease, and the PV panel still provides the maximum power to decrease the onboard fuel consumption.Stage 6 (S6): from waypoint 7 to waypoint 8 about 448–460 s, the UAV turns right and the demand power changes slightly. The PV panel power varies with the Euler angles. The battery makes up the loss of PV panel, but the fuel cell output makes no change.Stage 7 (S7): from waypoint 8 to waypoint 9 about 460–540 s, the UAV glides from 900 m to 800 m, then turns to level flight until reaching the end waypoint. During gliding, the battery is charged again by the PV panel. The fluctuation of the pitch angle during the turning maneuver causes the heavy change of power demand which is followed by the battery and fuel cell. The PV panel power remains relatively stable. After the turning, the UAV has a short level flight to reach waypoint 9 with a stable demand power. The output power of each power source is also stable.

As an assumption, 60% of the SOC belongs to low level considering the battery health and the service life in practical application. Furthermore, to prevent the wind disturbance or other emergencies during the mission, the SOC should not be used too low. The battery SOC, hydrogen SOP, and the consumption flow rate of hydrogen during the mission are shown in Figure 12(a). The SOC varies from 90% to 65% keeping in the ideal operating range. As the SOC decreases, the output power of the fuel cell is higher in the second climb than that in the first climb. The hydrogen in the tank is consumed from 200 bar down to 70 bar. Except for purging water at every 15 s, the hydrogen flow rate varies with the fuel cell power. About 35 g hydrogen is consumed in the mission. The irradiance on the PV panel surface and the output of PV panel are influenced by the flight attitude angles, especially the bank angle in this mission as shown in Figure 12(b).

**(a) State of the battery and fuel cell**

**(b) Irradiance and power varying with bank angle**

##### 4.3. Comparison with Thermostat Control Strategy

To be compared with the proposed FSM strategy for the same mission, a constrained thermostat control (CTC) strategy proposed by Lee et al. [28] for the hybrid electric UAV using the same power sources is illustrated in Figure 13. The CTC maintains a certain SOC during the flight process in order to cope with the influence of the weather on the PV panel. The CTC also takes the PV panel as the highest priority output. The surplus power of the PV panel is used to charge the battery. When the SOC is higher than SOC_{L}, the battery is used to make up the insufficient power of the PV panel and fuel cell during high power demand.

The power contribution rate (PCR) and energy contribution rate (ECR), used to analyze the contribution of each power source, are defined as the output power and energy of each power source divided by the total consumed power and energy, respectively.

The PCR and ECR of each power source for the FSM and CTC strategies are seen in Figure 14. Figure 14(a) shows that the PCRs of the PV panel in both strategies are almost the same. When the demand power is zero, the PCRs of the battery, PV panel, and fuel cell for both strategies are the same, and they are −100%, 100%, and 0%, respectively. But the PCRs of the battery and the fuel cell for the two strategies are different. The PCR of the battery for FSM is higher than that for CTC during most time of the mission. Contrarily, the PCR of the fuel cell for FSM is lower than that for CTC.

**(a) Power contribution rate**

**(b) Energy contribution rate**

For the battery and the fuel cell in the two strategies, different PCRs result in different ECRs as shown in Figure 14(b). In the FSM test, the ECRs of the PV panel, battery, and fuel cell are 18%, 31%, and 51%, respectively. But in the CTC test, they are 17%, 15%, and 67%, respectively. The energies from the PV panel in the two strategy tests are almost the same. But the energy from the battery for FSM is more than twice as much as that for CTC. The energy from the fuel cell for CTC is obviously more than that for FSM.

The state variations of the battery and the hydrogen in the two strategy tests are shown in Table 5. With the same initial SOC and SOP, the battery is used more efficiently in the FSM test. Compared with the consumed hydrogen under the CTC strategy, less hydrogen is consumed for the FSM strategy. The amount of saved hydrogen fuel is 26.7% under the FSM strategy.

#### 5. Conclusions

In this paper, a fuzzy state machine strategy with an online potential is proposed for PV + FC + B hybrid electric UAVs. A simulation platform integrating the hybrid power system model and UAV model is developed with a Matlab/Simulink tool. Based on such platform, the proposed FSM strategy is verified and compared with an existed online thermostat control strategy. The results of the study are summarized as follows: (1)By comparison with the Aerosonde UAV, it indicates that the developed platform is reasonable and acceptable for energy management researches. The platform with a fixed-step size can generate the demand power at every time step for energy management strategies to simulate the online situation.(2)Under the FSM strategy, the PV panel generally provides its maximum available power which is only influenced by the flight attitude, especially the bank angle for this mission. The battery is charged by the PV panel during descent stages, and it can compensate for the surplus demand power or peak power demand. The fuel cell can automatically regulate its output power based on the demand power and battery SOC.(3)In both strategies, the ECRs show that the fuel cell as the main power source provides the most energy for the propulsion system and the PV panel as the additional power source outputs the least energy. The battery as the assist power source responses to high demand power and can be charged at low power demand.(4)The contribution of the PV panel for the FSM strategy is almost the same with that for the CTC strategy. The FSM strategy prefers to consume more battery energy than CTC does. Compared with the CTC strategy, less fuel cell energy is consumed in the FSM strategy which leads to 26.7% of the hydrogen fuel saved.

#### Nomenclature

: | Azimuth angle of the sun (rad) |

: | Zenith angle of the sun (rad) |

: | Declination angle of sthe un (rad) |

: | Efficiency of the DCDC converter |

: | Efficiency of the MPPT |

: | Efficiency of the photovoltaic panel |

: | Air density (kg/m^{3}) |

: | Bank angle (rad) |

: | Hour of the sun (rad) |

: | Pitch angle (rad) |

: | Heading angle (rad) |

: | Rotation speed (r/min) |

A: | Exponential voltage (V) |

B: | Exponential capacity (Ah) |

C_{P}: | Power coefficient of the propeller |

C_{T}: | Thrust coefficient of the propeller |

E_{0}: | Constant voltage |

F: | Faraday constant |

F_{p}: | Thrust of the propeller (N) |

H_{2}%: | Percentage of hydrogen in fuel |

i: | Incidence angle (rad) |

i_{b}: | Battery current (A) |

i^{∗}: | Filtered current (A) |

I_{0}: | Idle current without load (A) |

I_{batt}: | Current of the battery in simulation (A) |

I_{bus}: | Current of bus (A) |

I_{fc}: | Current command of fuel cell (A) |

I_{in}: | Input current of DCDC (A) |

I_{m}: | Terminal current of the electric motor (A) |

I_{out}: | Output current of DCDC (A) |

I_{pv}: | Current command of photovoltaics (A) |

J: | Rotational inertia of the motor shaft and propeller (m^{4}) |

K: | Polarization constant |

k_{v}: | Rotation speed constant |

M_{m}: | Torque produced by motor (N·m) |

M_{p}: | Torque of the propeller (N·m) |

: | Date in the year, when the date is the 1st of January |

: | Number of cells |

P_{0}: | Initial pressure of H_{2} (bar) |

P_{air}: | Absolute supply pressure of air (atm) |

P_{b}: | Desired output of battery (W) |

P_{batt}: | Power of battery (W) |

P_{chrg}: | Maximum charge power (W) |

P_{d}: | Means the surplus demand power (W) |

P_{D}: | DC power demand (W) |

P_{F}: | Desired output of fuel cell (W) |

P_{fc}: | Power of fuel cell (W) |

: | Absolute supply pressure of fuel (atm) |

P_{low}: | Low pressure (atm) |

P_{pv}: | Power of photovoltaics (W) |

P_{pvMax}: | Maximum available power of PV (W) |

Q_{b}: | Maximum battery capacity (Ah) |

Q_{irr}: | Solar irradiance (W/m^{2}) |

R_{p}: | Radius of the propeller (m) |

R: | Universal gas constant |

R_{0}: | Internal resistance of battery (Ω) |

: | Rotation matrices about the bank angle () |

: | Rotation matrices about the pitch angle () |

: | Rotation matrices about the heading angle () |

r_{m}: | Terminal resistance of electric motor (Ω) |

S: | Area of the PV panel on the wing surface (m^{2}) |

: | Unit vector to the sun in the earth-fixed frame |

SOC: | State of charge |

SOP: | State of pressure (bar) |

T: | Temperature of fuel cell (K) |

: | Current hour of the day (hour) |

UAV: | Unmanned aerial vehicle |

U_{batt}: | Voltage of battery (V) |

U_{bus}: | Voltage of bus (V) |

: | Rates of utilizations of hydrogen |

U_{in}: | Input voltage of DCDC (V) |

U_{m}: | Terminal voltage of the electric motor (V) |

U:_{out} | Output voltage of DCDC (V) |

: | Rates of utilizations of oxygen |

: | Single-cell voltage of fuel cell (V) |

V_{lpm(air)}: | Air flow rate (L/min) |

V_{lpm(H2)}: | H_{2} flow rate (L/min) |

V_{lpm}(t): | H_{2} flow rate (L/min) |

Z: | Number of moving electrons. |

#### Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.