Comprehensive Control Strategy and Verification for PEM Fuel Cell/Battery/Supercapacitor Hybrid Power Source

Using renewable energy is becoming a new tendency for vehicular applications to reduce fossil fuel consumption and minimize greenhouse gas emissions. Well-known as an eco-friendly energy source, the proton exchange membrane fuel cell (PEMFC) is extensively used in hybrid power systems to achieve the objective of zero-emission and air protection. However, this type of fuel cell offers slow dynamics and cannot adapt to abrupt load variations when used as a primary energy source. To overcome this shortcoming, battery (BAT) and/or supercapacitor (SC) are supplemented as auxiliary sources. In this paper, an innovative energy management strategy (EMS) for a PEMFC/BAT/SC hybrid power source (HPS) is proposed to improve the accuracy of power distribution from energy sources to the load. In detail, according to different characteristics of energy sources, a frequency decoupling (FD) method is designed to determine the required currents for PEMFC, BAT, and SC based on the load power demand. Besides, an adaptive DC bus control loop is utilized to guarantee a stable DC output voltage by using the BAT. The proposed EMS is simulated in a MATLAB/Simulink environment and experimentally implemented with a real-time DSP TMS320F28379D controller board. Subsequently, a test bench of a 200 W PEMFC, 24 V–12 Ah battery, and 25 V–60 F supercapacitor is conducted for experimental validation. The obtained results show that the proposed EMS is effective to coordinate energy flows between the three used sources and enhance the fuel cell performance in a hybrid power system.


PWM
Pulse width modulation SC Supercapacitor SOC State of charge

Introduction
As a result of increasing environmental concerns, green energy has been highlighted as a promising solution for future development in times of energy crisis. Recently, the PEMFC has been attracted as a prominent and potential candidate to alternatively replace the common use of the energy storage devices such as a BAT or SC [1]. Besides, the PEMFC earns worthy properties of lower operating temperatures, higher power density, and higher energy conversion in comparison with other types of fuel cells [2]. Despite earning prominent advantages, slow response and incapability of recovering exceeded energy have become the main technical limitations of the PEMFC. As a result, these drawbacks come up with high maintenance costs, short lifetime [3], and restrict widespread applications for standalone usage. Therefore, it is necessary to develop an integration of the PEMFC with other interconnected electrical storage devices. In this configuration, the PEMFC serves as the primary power supply while the electrical storages function as secondary units to support the main source. Conventionally, either BATs or SCs, or both are employed as supplements due to their compatible characteristics for hybridization. Several works investigated the superiority of the PEMFC combined with BAT and SC. For example, Yi et al. conducted a hybrid PEMFC-SCs for a construction machine with consideration of EMS for long-term usage [4]. In [5,6], Li et al. proposed the configuration where the fuzzy logic control was deployed for energy and battery management for hybrid electric construction vehicles. The hybridization of both BATs and SCs is also taken into consideration for hybrid electric vehicles [7][8][9], construction machinery [10], hybrid tramway powertrain [11], and some other fields of automation or power systems. The BATs obtain the ability of high energy density in comparison with the SCs that have the ability of fast dynamics. Thus, the BATs are capable of supplying energy in the case of the endurance process and the SCs are suitable for absorbing transient peak power where fast responses are required. Consequently, the integration of BATs and SCs with the PEMFC can exhibit better performance, reduce the system size, solve problems of fuel economy, and prolong devices' lifespan. However, problems along with the advantages of the HPS include: design of an EMS for efficient power-sharing as high-level control and maintain the DC bus voltage at a constant and output performance in low-level control.

3
The first concern, in the field of designing EMS strategies, has recently become an interesting topic for researchers. Truong et al. [12] employed the fuzzy-based EMS, developed based on rule-based methodology from the previous work [4], to satisfy the power demand, reduce the hydrogen consumption and maintain storage devices' state of charge (SOC) for excavators. With the same objective, Dao et al. [13] developed a fuzzy-based EMS with the integration of a backtracking search algorithm and sequential quadratic programming to adjust the fuzzy membership functions (MFs); thus, reducing the fuel consumptions and enhancing supplements qualification. Ahmadi et al. constructed a fuzzy-based EMS with a genetic algorithm for an integrated PEMFC-BATs-SCs to improve the hybrid vehicle behaviors [14]. In [15], Ameur et al. exploited the master-slave model-based fuzzy logic strategy (FLS) to design an EMS for efficient energy management and component lifespan prolonging.
Marzougui et al. [16] deployed the flatness control-based FLS and rule-based methodology towards hybridization of the PEMFC, ultra-capacitor, and BAT for an electric vehicle. Come up with the idea of the HPS management, Han et al. developed a strategy for multi-source management of PEMFCs-BATs-SCs on hybrid tramways [17]. The author employed a pair of set PEMFC-BAT-SC systems to generate multiple motor units with self-convergence droop control for power distribution among all devices. Consideration of renewable energy resources, Benlahbib et al. [18] proposed a hybrid topology where wind and solar power captured from wind energy and solar panels systems were interconnected with FC and BAT. Then, a control strategy of maximized power point tracking algorithm based on FLS for pulse width modulation (PWM) was developed to support the alternating current load. In [19], Arevalo et al. investigated two configurations toward hybrid tramway in which renewable resources (solar and hydrokinetic energy) and grid were included in the hybrid PEMFC-BAT-SC configuration. Such reports revealed a variety of feasible configurations with certified effectiveness of using the HPS for industrial automation systems.
Following the historical literature of the EMS designs, the main task is to distribute the power flow between the PEMFC and other energy sources by executing the current regulation while maintaining a constant DC bus voltage through a converter. Despite achieving good performance under arbitrary working conditions, most presented works did focus on designing EMSs as high-level concern without dedicatedly considering the problems of DC/DC converter behaviors and DC bus voltage stabilization due to the variation of the load power and its influence on the whole system. Besides, regarding the physical characteristics of the switching regulator for PWM rectifiers, voltage ripple also occurs [20,21]; thus, reducing the system efficiency and voltage instability subjected to the load variations [22]. Additionally, in terms of the signal processing, some works assigned the pair of voltage and current measured in the input side of the DC/DC converter (power source side), whereas others allocated the pair of voltage and current measured in the output side (DC bus side), as feedback signals. Due to the efficiency and characteristics of the DC/DC converter, this makes differences in the system output performance for different measured point locations, which was ignored in published works. Therefore, it is necessary to investigate the influence of different signal measurement points of each element on the whole system qualification.
Motivated from the above analyses, in this paper, an FDbased EMS combined with an adaptive PID control method is proposed. A mini-scaled fuel cell HPS is also designed to verify the proposed algorithms. The main contributions of this paper are summarized as follows: 1. A novel FD-based EMS is proposed to define three frequency ranges of required currents based on the different characteristics of energy sources. 2. The influence of signal measurement locations is investigated to compare the system performance with different measured positions at two sides of the converter. 3. Adaptive proportional-integral-derivative (PID) controls are employed for the steady DC bus voltage control by using the BAT, and for the current control loops with two separated operation modes for bidirectional buckboost converters, to enhance the system qualification. 4. Simulations and experiments are implemented to verify the aforementioned concerns.
The rest of this paper is organized as follows. The hybrid power system configuration is described in Sect. 2. In Sect. 3, the proposed energy control strategy including frequency decoupling method, DC bus control loop, and pulse width modulation operating modes are introduced to coordinate the power between fuel cell, BAT, supercapacitor into load power demand. Simulation and experimental results are given in Sect. 4 to validate the effectiveness of the proposed strategy. Finally, the conclusions of this paper are presented in Sect. 5.

System Configuration
Due to the slow dynamic response, using a standalone PEMFC cannot adapt to abrupt load variations and store the energy regeneration from the load system. For this reason, the SC and BAT are supplemented to supply the lacking power in the incipient stage, the transient or peak power demands, or store the regenerative energy. Both BAT and 1 3 SC are devices that can charge, discharge, and store energy in which the BAT, with high capacity and low energy leakage, is supposed as an ideal electrochemical storage system, whereas the SC is appropriate for high power in a short time. Therefore, a combination of PEMFC, BAT, and SC is expected to construct a fast dynamics system, enhance working performance, optimize the fuel savings, reduce the PEMFC size and power consumption. In this system, the PEMFC operates with the lowest frequency power source, while the SC performs with the highest frequency and BAT works at the frequency between PEMFC and SC. The power responses of the PEMFC, BAT, SC are described in Fig. 1.
The suggested topology for a hybrid power system is described in Fig. 2. The PEMFC is used as a primary energy source, and the BAT and SC function as the secondary energy storage system (ESS). All these sources are connected to the DC bus by using DC/DC converters with a parallel configuration to transfer the power flow to the load with the charge and discharge modes. In detail, a boost converter controls the fuel cell output voltage to adapt with the reference value. A bidirectional converter transfers the power flow in both directions to the ESS for delivery and recovery cycles. Besides, a DC/AC inverter is also incorporated to convert the DC energy to AC energy and feed it into the powertrain.
For simulation purposes, the dynamics of each subsystem component will be modeled first to understand the system behavior and for an effective EMS design. The detailed characteristics of each power source and DC/DC converter are described in the next sub-sections.

PEMFC Characteristic
The PEMFC model that composes of a stack module as a core of the fuel cell system, auxiliary components of air delivery, hydrogen supplying, water-cooling circulation, and humidification is acquired in MATLAB/Simulink Simscape toolbox, which neglects the dynamics of reactant flow inside the electrode [24]. In this model, system parameters can be easily set up from the datasheet or by using the simple polarization curve of the testing process.
From the dynamic model of PEMFC in [25] and the simulation and experiment test results in [26], the cell output voltage can be expressed as follows: where V cell is the cell output voltage (V), E oc is the opencircuit voltage (V), V act is the activation voltage loss (V), V r denotes the resistive and diffusion voltage loss (V).
The open-circuit voltage can be presented by: where K c is the voltage constant at the nominal condition of operation (V), E n is the Nernst voltage (V). The activation voltage loss due to reaction kinetics at low current densities can be calculated through where A is the Tafel slope (V), i 0 is the exchange current (A), i FC is the PEMFC output current (A), T d is the cell settling time to a current step (s).
The resistive and diffusion voltage loss of PEMFC due to the internal resistance of the electrolyte membrane is expressed as the following equation: where r ohm is the combined cell and diffusion resistance (Ω). The cell voltage is assumed to display a delay that is roughly equivalent to three times the time constant when the cell current change rapidly. Then, the total voltage is generated from combining the number of cell N as follows: where V FC is the stack output voltage of the PEMFC (V), N is the total number of cells.
During the operation, the output power of PEMFC is not only supplied to the DC bus but also partly used to operate the auxiliary systems such as cooling and temperature management systems. Thus, the supplied power from the PEMFC stack is obtained by: where P stack is the supplied power of the PEMFC stack (W), represents the efficiency of the PEMFC power source. Based on the input parameters of the model, the simulated polarization curves of the PEMFC stack can be described as in Fig. 3.

Battery Model
The BAT is used as a secondary power source of the hybrid energy system. During the operation, it compensates for the excess power that PEMFC cannot supply. Besides, it also works as a storage device with a large capacity. In this paper, the Simscape model of a BAT that uses the Shepherd curvefitting model is employed as follows [27]: , it is the extracted capacity (Ah), i * is the low-frequency current dynamics (A). Besides, the term K Q Q−it it is referred to as polarization voltage and K Q Q−it is the polarization resistance. The SOC of the BAT can be obtained from the relationship of the current charge and the maximum capacity by: where SOC BAT is the SOC level of the BAT (%), t is the instant time, and t 0 is the initial time.
From the input parameters of the BAT model, the simulation result of discharge curves is portrayed in Fig. 4.

Supercapacitor Model
The SC is an electric double-layer capacitor that can store and release fast energy due to its high capacitance. This component should be properly designed to compensate for the PEMFC dynamics during the load surge. The output voltage (V) of an elementary SC can be estimated as follows: where i SC is the SC output current (A), R SC is the SC module resistance (Ω), C T is the total capacitance (F), and Q T represents the total electric charge (C). The SC model in the Simscape toolbox is designed by using the Stern model [28]. The total capacitance with an SC module of cells is given by where N SC presents the total number of SC cells, C is the capacitance (F) of a cell that can be expressed as [28] where C H and C GC are the Helmholtz and Gouy-Chapman capacitance (F), respectively.
Next, the total electric charge is formulated by: The SOC of the SC is estimated as the relationship between the current and the maximum capacity. This SOC value is computed by using the following equation: where SOC SC is the SOC level of the SC (%), represents the maximum SC capacity (Ah).

DC/DC Converter Design
In the HPS, DC/DC converters are designed to control the current of PEMFC/BAT/SC as well as DC bus voltage. Based on the load power demand, the boost mode of the converter is employed to convert the lower voltage on the PEMFC side to the higher voltage on the DC bus side whereas bidirectional mode (buck-boost) of the converter is utilized to convert the voltage in two directions between BAT or SC and DC bus with the boost mode for discharging operation and buck mode for the charging operation.
Generally, there are two types of DC/DC converter models, usually used for simulation activities, which are the averagevalue model and the switching model. In the first model, the controlled voltage/current sources are used to replace the switching component. The advantage of the average-value model is the neglect of switching harmonics and less timeconsuming. However, it cannot observe all the switching actions and converter dynamics. The switching model, on the contrary, regards switching harmonics and losses of switching components. This model is mainly utilized for experimental boards designed with a PWM control strategy. Due to the low sampling time requirement, all the switching actions and the converter dynamics can be investigated. In this paper, the switching model of DC/DC converter is used and an adaptive control loop is designed to generate the control signal for switching components. The structures of DC/DC converters based on the switching model are shown in Fig. 5.
When designing a DC/DC converter, the necessary parameters of input voltage range, nominal output voltage, maximum output current should be defined to calculate maximum switching current, the range of recommended inductor values, and the capacitance of output capacitors. This calculation is important to select the suitable components that match the requirements of the HPS. Besides, a duty cycle plays an important role to control the converter according to reference current in buck mode or boost mode. This duty cycle can be calculated by: where D boost is the duty cycle of boost mode (%), D buck is the duty cycle of buck mode (%), V in_ min ,V in_ max , and V out are the minimum, maximum input voltage and output voltage (V) of the converter, respectively. buck and boost are the efficiencies of the converter which are estimated to equal 90% for buck mode and 80% for boost mode, respectively.

Energy Control Strategy of HPS
In this work, the proposed control strategy is based on the FD and adaptive PID control to determine the required currents of three energy sources, as well as to guarantee the stable DC bus voltage by using the BAT. The overall proposed control strategy is described in Fig. 6. In this figure, the rule-based power regulator block is applied to define three power levels of the PEMFC based on the magnitude of load profile. This fuel cell power divides by the measured fuel cell voltage to generate the input current for the lowpass filter 1 (LPF 1). Besides, no matter how load changes, the DC bus control loop allows the system to guarantee DC output voltage steadily based on its reference values. The output of the DC bus voltage control block is the input current for the lowpass filter 2 (LPF 2). Finally, the current control loops must be implemented to separate two operation modes of bidirectional buck-boost converters. The load power demand and total power of energy sources should be defined to ensure the balanced power-sharing of the system at all times as Eq. (16). where P load is the load power demand (W), P ESS is the power of the energy storage system including BAT and SC (W).

The Frequency Decoupling Strategy
Based on the dynamic characteristics of energy sources, the Rangone diagram [29] is usually used to define the specific power and specific energy of each device. This diagram shows the performance of energy and power density of one (16) P load = P FC + P ESS specific source. According to these two densities, a specific frequency as the ratio between power density and energy density is designed to define the frequency ranges allowed by each power source as follows: where f c is the cut-off frequency of each source (Hz), power is the power density of each source (W/kg), energy is the energy density of each source (J/kg).
From the Rangone diagram, the fuel cell has the lowestfrequency range, the BAT can adapt to the faster frequency range than the fuel cell, and the SC can deal with the highest-frequency range. Therefore, The FD method is used to decompose the load power demand into three frequency bands. This method has the advantages of short-time calculation and simple design for experimental applications. To implement the FD algorithm, the LPF is chosen as a transfer function as follows: with: where T s is the time constant.
In this proposed strategy, two LPFs are designed with two different cut-off frequencies (f c1 , f c2 ) . The LPF 1 is used to generate the lower frequency current of the PEMFC (I FC_ref ) which is fed to the boost converter of the fuel cell. The LPF 2 is applied to achieve the faster frequency current (I BAT_lpf ) to be used in the bidirectional converter of the BAT.
Because the PEMFC is a primary source in the HPS, the fuel cell power distribution is regulated to match the load power demand as well as ensure the working point of PEMFC in the high-efficiency range following the U-I polarization curves. From the working profile of load, the power demand is divided into different levels to define the appropriate power levels for the dynamics of PEMFC. In this work, a load power demand in [16] is applied and partitioned into three levels: high, medium, low as shown in Fig. 7 in which PEMFC will provide maximum power (P FC_ max ) , nominal power (P FC_nom ) , or normal power depending on each load power level.
The working principle of the rule-based power regulator is portrayed in Fig. 8. In this flow chart, the required power of the PEMFC is defined depending on the power levels of the load. Firstly, the voltage and current of load are measured to calculate the power demand from the system. In the case of a low level, where the load power is lower than the nominal PEMFC power (P load < P FC_nom ) , the PEMFC is a primary source that sufficiently provides power to satisfy the load demand (P FC = P load ) , while BAT and SC are only used to compensate for the PEMFC dynamics in the transient state when an abrupt change of load power occurs. Besides, extra power generated from PEMFC can also be used to charge the BAT or SC if needed. The medium level is determined when the load power demand exceeds the nominal value but is still less than the maximum power of the PEMFC (P FC_nom ≤ P load < P FC_ max ) . In this case, the PEMFC output power is regulated at the nominal value (P FC = P FC_nom ) , and the BAT and SC are enabled to complement the residual induced from insufficient power of the PEMFC via the converters as discharging and charging processes. At the high level, if the load power demand is greater than the maximum power of the fuel cell (P load ≥ P FC_ max ) , the PEMFC releases the maximum value (P FC = P FC_ max ) , and the remaining load power will be provided by the BAT and SC, depending on the status of these devices and the particular working conditions. The required PEMFC current (I FC ) can be calculated from the required power (P FC ) divided by the measured voltage (V FC_mea ) . However, to match the characteristic of the PEMFC, this current will be filtered by using the LPF 1 which can decompose low-frequency current and highfrequency current as follows: where G 1 (s) is a transfer function of LPF 1,I FC is the input current of LPF 1 (A),I FC_ref and I FC_res are the low-and highfrequency current of the PEMFC (A), respectively.
Similarly for the BAT, the LPF 2 is also utilized to separate the low-and high-frequency BAT current obtained from the DC bus voltage control loop, which will be analyzed in the next section. These currents can be defined as follows: where G 2 (s) is the transfer function of LPF 2,I BAT is the input current of LPF 2 (A), I BAT_lpf and I BAT_res are the low-and high-frequency current of the BAT (A), respectively.
In addition, a SOC regulator scheme is proposed to maintain the battery SOC level of the BAT in a limited range SOC BAT_ min < SOC BAT < SOC BAT_ max . The value of SOC status is compared with SOC BAT_ min and SOC BAT_ max to decide the reference current of the BAT by [30]: Due to the slow dynamic, the PEMFC and BAT cannot adapt to high-frequency currents I FC_res and I BAT_res instantly. Fortunately, the SC, with the high power density and fast dynamic response, is combined to compensate for the load fluctuation and high-frequency currents of PEMFC and BAT. The same as BAT, a SOC regulator is also considered to guarantee the SOC of SC in the limited ranges. Hence, the reference current for the SC can be considered as follows: where I SC_ref is the reference current of the SC (A), I SC is the required SC current (A), SOC SC is the SC status, SOC SC_ min and SOC SC_ max are the minimum and maximum allowable SOC of the SC, respectively; 2 and 2 are the tuning parameters.
Based on the SOC SC conditions, the value of 2 and 2 is governed by: where 2 and 2 are the positive constants depending on the charge/discharge characteristics of the SC.

(24)
During the operation, the EMS appropriately distributes power to each power supply to not only sufficiently satisfy the workload demand but also maintain the supplements' SOCs. These parameters should be properly determined to avoid the state of overcharging or deep discharging. For the charging process, if a certain storage device has higher SOC, the injected power is lower and vice versa. Meanwhile, in the discharging process, the output power is higher with higher SOC and is lower with lower SOC. Furthermore, if the SOC of the BAT or SC reaches its upper bound, or lower bound, disconnected action is executed and this device will wait for the next discharging or charging process, respectively.

DC Bus Voltage Control
In the HPS, the DC bus voltage decreases when load power demand increases rapidly, whereas this voltage will boost if the power load declines. A bus regulation, thus, is necessary to obtain the stability of DC bus voltage. In order to control the bus output voltage, the adaptive controller is constructed as shown in Fig. 9.
Herein, the deviation between the measured DC output voltage (V DC ) and a reference (V DC_ref ) is input to an adaptive PID controller to generate the total current required (I BAT ) for the BAT source. The adaptive PID control is constructed as where K P and K I denote estimated adaptive gains; P and I are tunable positive gains, is an arbitrarily small positive constant to avoid singularity, and ε = 0.2 is a constraint to regulate the DC voltage to the vicinity of the reference. It is noteworthy that K P and K I are upper bounded by predetermined positive constant K * P and K * I , respectively, to avoid an over-estimated problem. Fig. 9 Diagram of the DC bus voltage control loop 1 3

Buck-Boost Modes Control
In this HPS topology, there are two bidirectional converters employed for the BAT and SC, which have two operation modes as buck mode and boost mode. Thereby, the buckboost control loop should be separately carried out for two modes by PI controllers, as shown in Fig. 10, where I ref is the auxiliary reference current, i.e., I BAT_ref and I SC_ref for a case of using BAT and SC, respectively, and I mea is the homologous measured current.
If the reference current of the BAT or SC is less than zero, the bidirectional converters work in buck mode and the duty cycle can be defined by: where D buck is the duty cycle for the buck switch component (%), K P1 and K I1 are gains of PID buck mode controller.
Otherwise, when the reference current of the BAT or SC is greater than zero, the bidirectional converters work in boost mode and the duty cycle is described by: where D boost is the duty cycle for the boost switch component (%), K P2 and K I2 are gains of PID boost mode controller.

Simulation Results
In the following simulations and experimental tests, a load power profile was chosen as shown in Fig. 7 to evaluate the effectiveness of the proposed control strategy. In this profile, several load levels were considered with abrupt variations in the form of power steps, such as acceleration and deceleration in practical applications, to examine the system behaviors. The component characteristics of the HPS were chosen from commercially available devices which could satisfy the load power demand and verify the proposed approach as listed in Tables 1, In addition, appropriate cut-off frequencies were also determined such that they could produce the smooth reference current for the FC and BAT converters. These frequency values were f c1 = 10 Hz [31] and f c2 = 32 Hz [32] for LPF 1 and LPF 2, respectively. The DC bus voltage was controlled to track the reference value V DC_ref = 36 V. The initial SOC of BAT and SC was set to 0.6 and 0.85, respectively. The parameters of boost control for PEMFC converter and buck-boost mode control for BAT and SC converters were given in Table 4. The system qualification was performed from Fig. 11 to Fig. 14. It is noteworthy that for this investigated scenario, all devices' signals for processing, i.e., voltage and current, were measured in the low-voltage side of the DC/DC converters. The simulation results of energy sources and load power in the HPS are displayed as given in Fig. 11a, b, respectively. Due to using the FD technique regarding each device's characteristics, the power command was appropriately distributed from the requirement into each component, as shown in Fig. 11a. It can be seen that SC bank not only supplied the peak power when the load changed abruptly but also delivered the fast response of required power and minimizes the fluctuating   power on PEMFC and BAT. Conversely, PEMFC provided a base portion of the load power without satisfying the required power in the transient state. In addition, BAT supported the PEMFC to provide the power in the steady-state to reduce the PEMFC's power fluctuation. Although the PEMFC, with the lowest dynamics, could not instantly react to the load change, the load tracking effort could still be ensured due to the power compensation from the BAT and SC at each time of transient peak power. As a result, the total power supplied from the HPS could completely fulfill the load requirement, even when an abrupt change occurred, as shown in Fig. 11b. Figure 12 shows the DC bus voltage regulation and load current, corresponding to the load power demand. Because the PEMFC, the SC bank, and the BAT were connected in parallel to the DC bus, the output voltage of these sources was the same as the DC bus voltage. By using the adaptive PID control, the DC bus voltage was steadily maintained at around 36 V with a very small fluctuation, despite the abrupt change of the load, as displayed in Fig. 12a. In particular, the peak voltage of the DC bus was in the range of (35.97 → 36.03) V, which was approximated by 0.2% voltage ripple. Besides, the DC bus current reached a maximum of 11.1 A in the interval from 15 to 20 s that matched the maximum load power demand, as presented in Fig. 12b.
The SOC levels of both BAT and SC bank are performed in Fig. 13, which describe the charged and discharged status at each timeline when the load changes. The proposed approach could maintain the fluctuation of BAT SOC level in the range of (59.82 → 60) %. Similarly, the SOC SC had a varying range within (84.55 → 85.1) %.
Besides, due to the DC/DC converter dynamics and its efficiency, we investigated the system performances in two cases where all signal measurement points (voltage and current) were located in the low-voltage side (config 1) and the highvoltage side (config 2) of the DC/DC converters. The comparative simulation results are shown in Fig. 14, in which the dash-red line denotes the power measured in the low-voltage side (Power config 1), and the dot-dash-green line denotes the power measured in the high-voltage side (Power config  The reason is that when choosing config 1, the signal processing did not include the DC/DC converter dynamics whereas this influence, specifically dominated by an inside inductance, is systematically included in the computation for the case of config 2. Consequently, this measurement setup generated more oscillation and delayed performance than the first one. This was also displayed through the DC bus voltage regulation in Fig. 15, with more voltage oscillation executed under config 2 than the former when the load power abruptly changes. As can be seen, when an abrupt variation of load power occurred at the time of the 5, 10, 15, 20, 23, 26th second, the DC bus voltage regulation of config 1 was better than config 2 subjects to the same scenario of load variation. This voltage is stably remained at roughly 36 V by using config 1, whereas the range of overshoot and undershoot DC bus voltage was within (35.25 → 36.85) V, with the voltage ripple being approximated by 4.45% when using config 2. Therefore, the location for signals measurement has a significant influence on the system output qualification. Based on this expression, config 1 was chosen for the examined experiment.

Experimental Results
In this work, a small-scaled HPS test bench was implemented with three power sources (PEMFC/BAT/SC), a unidirectional DC/DC converter, two bidirectional DC/DC converters, controller board, DC load simulator, power supply, and measurement devices as shown in Fig. 16. The used test bench was designed with PEMFC, as a primary power source, integrated with BATs and SC bank, as an auxiliary power system, to compensate for the PEMFC dynamics. A PEMFC system of Horizon company (H-200 FC stack) was selected with its parameters shown in Table 1. This fuel cell is composed of 40 cells that are serially connected with an area of 100 cm 2 . For the SC bank, ten components of Nippon Chemi-Con DLCAP were connected in series, with each cell having a rated voltage of 2.5 VDC and a rated capacitance of 600 F. The detailed characteristics of the SC bank are shown in Table 2. Besides, two lead-acid BATs were connected in series to store the energy with the parameters presented in Table 3.
In this system, the DC/DC converter for the PEMFC is unidirectional with a boost mode topology, whereas the BAT and SC converters are bidirectional with buck/boost topology. Three DC/DC converters were connected in parallel and the output voltage side is integrated into the DC bus. These converters were composed of a high-frequency inductor (L = 68 μH), capacitors in two sides of the converter (C 1 = C 2 = 2590 μF), a resistor (R = 0.05 Ω), a diode (D), and MOSFET switches (S, S 1 , S 2 ). The DC load with a power of 400 W was connected to the DC bus. For the load variation,   Fig. 15 The comparison of DC bus voltage by using config 1 and config 2 a controllable DC load simulator was used with the characteristics described in Table 5. Besides, the DC bus voltage was maintained at 36 V by the DC voltage control loop of the BAT. The control loops of three DC/DC converters were executed in real-time by using the DSP TMS320F28379D controller board through a mathematical environment of Code Composer Studio software with the use of C language. The switching frequency was generated to drive the MOSFET switching gates of each converter by means of a PWM control signal at 20 kHz. The measured values of DC bus voltage, voltage, and current of the PEMFC, BATs, and SC bank were acquired by the LEM transducer sensors with the Hall effect.
The experiment was carried out to increase the persuasion of the proposed control strategy. The experiment was conducted using the step load with three power levels. The experimental results of energy sources and DC bus voltage are presented in Figs. 17 and 18. Firstly, the power distribution of three energy sources is shown as in Fig. 17a in which the continuous light blue line represents the required power of PEMFC, the continuous green line depicts the power of BAT, and the power of SC is described as a continuous orange line. It can be observed that during the low level of load power (0-10 s) and (26-30 s), the PEMFC supplied energy as a primary power source and increases slowly until reaching the required power of the load. The lacking power was provided by the BAT in the steady-state and the SC in the transient state. For the medium level of load power (20-23 s), the PEMFC delivered the nominal power at 180 W and the BAT compensates for the remaining load power requirement. With the high level of load power Fig. 16 The scaled-down hybrid power system test bench  (10-20 s) and (23-26 s), the PEMFC was implemented at the maximum power of 220 W. In order to reduce the power fluctuation of the PEMFC, the BAT provided the supplemental power to the PEMFC with a faster power response than the PEMFC's power response. Meanwhile, the SC bank delivered the highest power response to deal with the peak power demand of load at the transient states, which also compensated for the total insufficient power of PEMFC and BAT to meet the requirement of load at a slow rate. Additionally, both BAT and SC absorbed the redundant power when there was a sudden reduction of the load power, which was profitable for lengthening the lifetime and improving the working performance of the PEMFC stack. Based on the power allocation of energy sources, the load power demand between simulation and experiment with the same initial conditions is compared in Fig. 17b. Generally, the experimental result shows a good working performance with the closely same response as the simulation in load demand satisfaction. As a result, the experiment's load power provided an oscillated power in the range of (3 → 5) W, approximated by (1.25 → 1.58) % in comparison to the required load power under various working conditions. When the load abruptly changes, the power distribution of energy sources is appropriately conducted to guarantee the load power in a small fluctuation range.
The comparison of DC bus voltage between experiment and simulation is described in Fig. 18. It is easily observed that the DC bus voltage of the experiment was steadily maintained at around the desirable value (36 V) with a small voltage ripple in a range of (35.8 → 36.35) V, approximated by 1.53%. This result shows the effectiveness of the proposed adaptive DC bus voltage controller that could maintain the stable bus voltage despite the load power variation.

Conclusions
In this paper, a novel EMS was proposed to properly carry out the power-sharing between energy sources to the load power demand for the HPS, which consisted of PEMFC, BATs, and SC bank. This strategy was based on the combination of adaptive control and the FD method. According to the different characteristics of energy sources, the FD decomposed the load power demand into three frequency power ranges which involved the PEMFC, BAT, and SC behaviors. Three operation modes were defined to reasonably distribute the reference power for the PEMFC, BAT, and SC through controlling the unidirectional and bidirectional DC/DC converters. To guarantee the stability of the DC bus regulated by the BAT, the adaptive PID controller was employed to maintain the bus voltage around the desired value and satisfy the variation of load. Besides, the influence of signal measuring points at two sides of the converter was investigated to evaluate the system performance. The result showed that the choice of measured points at the low-voltage side of the converter achieved a better load power response than the high-voltage side.
The obtained results of the simulation and experiment demonstrated that the PEMFC could deal with the low-frequency power demand while the BAT was able to provide a supplement of low-frequency power demand to diminish the burden of PEMFC. Meanwhile, the SC bank satisfied all the high-frequency power demands which compensated for the incomplete power of the PEMFC and BAT. The results showed that the proposed strategy could effectively satisfy the load power demand under different working conditions with a deviation in the range of (1.25 → 1.58) %. Moreover, the DC bus voltage was guaranteed at the desired value of 36 V with a small ripple of 1.53% and short settling times. In summary, the achievements in this study not only ensured the power supply performance but also obtained the high efficiency of the hybrid system. Therefore, this study is a premise for developing an advanced EMS to apply for hybrid electric vehicles, hybrid construction machinery, or hybrid tramway system.