1. Introduction
A microgrid is a form of distributed energy supply that effectively integrates renewable energy, energy storage systems, and multiple loads and has greatly promoted the construction of new power systems [
1,
2]. Renewable energy, such as wind power and photovoltaic power generation, is easily affected by the environment, and its power generation is uncertain and uncontrollable. Therefore, the rational application of energy storage systems and their coordinated control strategy are of great significance for the efficiency and stability of microgrids. A hybrid energy storage system (HESS) composed of hydrogen fuel cells and batteries is a typical energy storage combination used to support the smooth operation of microgrids, which combines the advantages of hydrogen energy storage systems that have a large capacity and long discharge time and the advantages of a battery energy storage system (BESS) with flexible and fast power regulation [
3,
4]. In actual operation, the power throughput capacity of an HESS is closely related to the level of hydrogen (LoH) in the hydrogen storage tank and the state of charge (SoC) of the battery. In order to give full play to the power response capability of the HESS, it is also necessary to manage the energy of the electric–hydrogen coupled microgrid, coordinate the operation mode of the HESS equipment, and reasonably allocate its operating power. In addition, to solve the problems of low power level, insufficient durability, and limited large-scale application of the current single-stack fuel cell system (FC), an FC is often put into microgrids in the form of multistack array in engineering projects to enhance the overall operation stability and scalability of the hydrogen energy storage system. However, optimizing the power allocation of the FC so that the multistack fuel cell system (MFCS) can operate at the maximum efficiency point as much as possible is still a key problem that needs to be solved in electric–hydrogen coupled systems.
Multi-energy storage systems can achieve energy interconnection and complementarity and improve energy utilization efficiency and power supply stability. However, the increase in the types of energy storage devices also makes energy management and coordinated control more complicated. In terms of an HESS’s energy management, mainstream methods mainly focus on rule-based and optimization control strategies. Refs. [
5,
6] proposed a minimum hydrogen consumption energy management strategy based on fuzzy logic control (FLC) for HESS. This strategy dynamically adjusts the penalty factor according to the lithium battery SoC, changes the power distribution of the HESS, and, thus, reduces power fluctuations and hydrogen consumption of the fuel cell system. After comparing a large number of optimization algorithms, such as external energy maximization strategy (EEMS), cuckoo search (CS), and grey wolf optimizer (GWO), Ref. [
7] selected the Harris Hawks optimizer (HHO) to manage the fuel cell/PV/battery/supercapacitor hybrid energy storage system. The HHO improves the system’s operational efficiency while reducing hydrogen consumption by reasonably allocating power among multiple devices.
Overall, rule-based control strategies can simplify the coordinated control of multisystems and have a high degree of adaptability to different operating conditions of microgrids, but their actual application effect depends on engineering experience. The ability of the optimal control strategy to conduct global multi-objective optimization of a system depends on the degree to which the meta-heuristic algorithm explores and utilizes the search space. The selection of an optimization control strategy that is compatible with the system, makes the search range as comprehensive as possible, avoids falling into local optimality, makes full use of the optimal solution that has been searched, distinguishes the effective search range, and accelerates convergence to improve the speed at which a solution is found is difficult to implement [
8,
9,
10].
In the above research on HESSs, it is not difficult to find that most studies regard fuel cell systems as a whole research object. However, in actual application scenarios with fuel cell systems, such as transportation, aviation, and energy systems [
11,
12], the power level of the FC often makes it difficult to meet a scenario’s requirements, which further promotes scholars’ research on MFCSs. Ref. [
13] analyzed the advantages and disadvantages of the four electrical architectures of MFCSs, namely, series, parallel, cascade, and series-parallel, in terms of voltage level, fault isolation, control form, and operating efficiency, providing a reference for other scholars in the selection of an appropriate MFCS architecture according to the research scenario. Refs. [
14,
15] studied the dynamic characteristics of an FC and found that the smaller the change in an FC’s output current and the lower the dynamic loading rate, the better the stack’s performance, life, and stability. For the device control of an FC, Ref. [
16] proposed an adaptive current distribution method to mitigate the performance degradation of the FC and maintain the overall performance consistency of the MFCS.
It can be seen that reasonable energy management strategies should be formulated to avoid the degradation of the overall performance of the MFCS due to excessive use or loss of the FC. Ref. [
17] pointed out that after long-term use the output capacity, efficiency, hydrogen consumption, and other performance indicators of fuel cells will decline. Therefore, an energy management strategy with an adaptive adjustment capability for fuel cell attenuation was proposed in this reference, so that the fuel cell has the lowest energy consumption and the best durability performance over its life cycle. Considering the impact of the environment on an MFCS, Ref. [
18] proposed a coordinated optimization allocation strategy for an MFCS based on the concept of maximum efficiency range, which not only makes optimal power allocation for FC but also improves the hydrogen-to-electricity conversion efficiency of the MFCS. Ref. [
19] proposed an optimal allocation strategy for the power demand of the MFCS, which reduced hydrogen consumption by optimizing the total output current of the MFCS. After comparing two classic power allocation methods for an MFCS, equidistribution (ED) and daisy chain, Ref. [
20] proposed an optimization algorithm that makes the efficiency of the MFCS close to the best efficiency of the FC in a large power range.
It should be noted that although existing power allocation strategies for an MFCS have achieved improvements in efficiency or hydrogen consumption through simple start–stop control or optimized control, most of them assume that the FCs in MFCSs are similar during implementation and have almost no individual differences in performance, power level, etc. Therefore, it is still necessary to explore a control strategy based on the individual differences in FCs to optimize the overall performance of the MFCS. In fact, there is a certain correlation between the output power of the FC and the hydrogen-to-electricity conversion efficiency. Reasonable adjustment of the output power of the FC can allow it to operate at peak efficiency [
21,
22]. Refs. [
23,
24] considered the FC differences between stacks and used an optimization algorithm to optimize the power allocation of the FC, thereby achieving the goal of improving the operating efficiency of the MFCS. However, the operational process of an MFCS control strategy based on the optimization algorithm is relatively complicated, and the optimization effect is closely related to the selection of the algorithm; in addition, when microgrid operational objectives or operation modes change, such methods lack rapid adaptability and portability. The perturbation and observation method (P&O) is often used to track the maximum power point in photovoltaic power generation systems [
25,
26]. This method is simple and easy to implement, and the adjustment of operating constraints and the setting of initial disturbance values are relatively flexible. It can be adapted to various power allocation strategies and has certain portability and superposition of optimization effects. Therefore, it is also widely used in tracking extreme points in the nonlinear characteristic curves of other systems [
27,
28].
Combined with the above research, this paper took the electric–hydrogen coupled DC microgrid as the research background and proposed a two-layer coordinated control strategy for the HESS. Compared with existing studies, this paper makes improvements in the following aspects:
- (1)
The upper-layer control strategy takes the overall LoH of the MFCS and the SoC of the battery as indicators and formulates a system-level fuzzy logic control (FLC) rule to complete the initial power allocation between the MFCS and BESS so that different energy storage systems can maintain an appropriate energy storage margin, as much as possible, when smoothing the power shortage of the microgrid.
- (2)
The lower-layer control strategy considers the LoH of the FC to formulate a device-level FLC rule so as to achieve the initial division of the MFCS overall power into the inter-stack FC power and maintain the consistency of the FC energy storage margin during the discharge process.
- (3)
A strategy for optimization by perturbation (OP) is proposed based on the power-efficiency characteristics of the FC. The initial power allocation of the FC is adjusted by OP to improve the hydrogen-to-electricity conversion efficiency of the MFCS. In addition, the adaptability of OP to different power allocation strategies is further studied.
This paper aims to realize adaptive power allocation from the system to the device in an HESS and from the array to single stack in an MFCS through a top-down energy management strategy so as to improve the energy autonomy, regulation flexibility, and operation stability of the DC microgrid. Finally, this paper will verify the feasibility and effectiveness of the proposed HESS-coordinated control strategy through simulation and experiments.
3. Coordinated Control Strategy for Electric–Hydrogen Hybrid Energy Storage System
The voltage and power balance equations of the electric–hydrogen coupled DC microgrid are shown in Equation (7).
where
Cdc is the bus capacitor;
Udc is the bus voltage;
Ipv is the PV system current;
Imfcs is the MFCS current;
Ibat is the BESS current;
Iload is the load current;
Ppv is the PV system power;
Pmfcs is the MFCS power;
Pbat is the BESS power; and
Pload is the load power.
Equation (7) shows that the premise of microgrid bus voltage stability is the balance between the load and the total power of each micro-source, as shown in Equation (8). The key to microgrid energy management is to smooth the unbalanced power,
Pnet, of the microgrid through the HESS, that is, to reasonably allocate the power of the MFCS and BESS, as well as the power of the FC
i.
In order to maintain the stable operation of the microgrid through the coordinated control of the HESS, this paper proposes a two-layer control strategy for the HESS, as shown in
Figure 3. The upper-layer control comprehensively considers the charge and discharge margin of the HESS and uses FLC to realize the initial power allocation of the MFCS and BESS. The lower-layer control combines the FC operational characteristics, takes the MFCS’s hydrogen-to-electricity conversion efficiency as the goal, further divides the power of the FC
i, and appropriately adjusts the final allocated power of the MFCS and BESS so that the overall output value of the HESS remains unchanged before and after the adjustment.
In addition, in order to make the control of the MFCS and BESS devices more accurate and stable, this paper adopted current loop control for the FC and voltage-current dual closed-loop control for the battery in the BESS [
37]. In
Figure 3,
Pfci_ref is the output power reference value of the FC
i;
Ufci is the output voltage of the FC
i;
Ifci is the output current of the FC
i;
Ifci_ref is the output current reference value of the FC
i;
Dfci is the duty cycle signal acting on the DC/DC converter connected to the FC
i;
Pbat_ref is the output power reference value of the battery;
Udc_ref is the bus voltage reference value,
Ibat is the output current of the battery,
Ibat_ref is the output current reference value of the battery; and
Dbat is the duty cycle signal acting on the DC/DC converter connected to the battery.
3.1. Adaptive Power Allocation of the HESS Based on FLC
FLC is a control method based on customized rules. It has the advantages of strong robustness, high reliability, and fast response in the face of complex control systems [
38]. Considering the time-varying and irregular combinations of parameters, such as
Pnet,
LoHmfcs, and
SoC, during the microgrid’s operation, the use of FLC can quickly adapt to the multiple operating conditions of the microgrid and make precise adjustments to the control parameters.
The power adaptive allocation principle of the HESS is to allocate
Pnet to MFCS and BESS based on their actual charging and discharging margins during operation. Specifically, an initial power allocation factor,
k, is introduced. The value of
k is adjusted in real time according to the state of the
LoHmfcs and
SoC in the current microgrid’s operation so that the energy storage system with a large energy storage margin is given priority to output. The
LoHmfcs and
SoC are maintained in a reasonable output range before and after output so as to avoid excessive output of a single energy storage system affecting its safety or life [
39].
According to the above rule-making principles, this paper formulates a fuzzy logic rule table with
LoHmfcs and
SoC as dual input variables and the MFCS power allocation factor
k as a single output variable, as shown in
Table 1, and sets the membership function, as shown in
Figure 4.
According to the initial power allocation factor,
k, solved by FLC, the initial power allocation of the MFCS and BESS can be further obtained, as shown in Equation (9).
where
P′
mfcs is the initial power allocation of the MFCS, and
P′
bat is the initial power allocation of BESS.
3.2. Optimization of the MFCS Efficiency Based on FC Power Perturbation
Using
LoHmfcs and
SoC as the basis for power allocation can keep MFCS and BESS in a reasonable operating range, as much as possible, during operation and retain a certain energy storage margin. However, in actual operation, the energy storage system needs to be fully utilized to ensure the economy and efficiency of the microgrid. The hydrogen-to-electricity conversion efficiency of the FC is closely related to its operating power. Therefore, the problem of how to improve the efficiency of the MFCS by adjusting the power distribution of the FC
i has its research value. To achieve the above objectives, this paper proposes an MFCS efficiency optimization strategy based on FC power perturbation (OP for short), and the implementation steps are shown in
Figure 5. The core steps of this strategy can be divided into the following two parts: calculation of the MFCS’s initial efficiency and optimization of the MFCS efficiency based on FC power perturbation.
3.2.1. Calculation of Initial Value of the MFCS Efficiency
The prerequisite for calculating the MFCS’s efficiency is clarifying the output power and corresponding efficiency of the FCi. Similar to the power allocation principle of the MFCS and BESS, the power allocation of the FCi is based on its energy storage margin. FLC will be used to allocate the power from MFCS to FCi. Specifically, the single-stack power allocation factor k′I is introduced, and the value of k′I is adjusted according to the state of the LoHi so that the FCi with a large LoHi is given priority to output more power.
The initial power allocation of the FC
i is shown in Equation (10). The corresponding three-input and three-output fuzzy logic rules table is shown in
Table 2, and the membership functions are shown in
Figure 6.
In order to avoid the collaborative control delay to the HESS caused by the slow real-time calculation speed of
ηfci, this paper adopted the offline calculation method to collect the relevant operating parameters of the FC
i in advance, calculate the hydrogen-to-electricity conversion efficiency corresponding to different output powers of the FC
i, and store the results. Therefore, when the initial value of the MFCS efficiency,
ηmfcs_old, under the initial power allocation of the FC
i is calculated by Equation (11),
η′f
ci can be found by only mapping
P′
fci in the offline database.
3.2.2. Optimization Process of OP
It can be seen from Equations (6) and (11) that when the efficiency of the FC
i reaches the optimal value,
ηfci_max, the efficiency of the MFCS is also optimized. Therefore, to improve the efficiency of the MFCS, FC
i takes the power value
Pηi_max corresponding to
ηfci_max as the power reference point (
ηfci_max and
Pηi_max can be obtained from the offline database) and the approximates
Pηi_max in a perturbation manner based on the current power allocation value
P′
fci. The perturbation rule of the FC
i is shown in Equation (12).
where
λ1,
λ2, and
λ3 are the perturbation factors in three different situations, and
P″
fci is the output update value of the FC
i after perturbation. The efficiency curve of the FC has the characteristic of increasing first and then decreasing. Therefore, when
P′
fci is on the right side of
Pηi_max,
P′
fci needs to be reduced to make
η′f
ci approach
ηfci_max, and
λ1 takes a random value in the interval (0.9, 1). Similarly, when
P′
fci is on the left side of
Pηi_max,
λ2 takes a random value in the interval (1, 1.1); when
P′
fci is exactly equal to
Pηi_max,
λ3 takes a value of 1, and no perturbation is required.
Furthermore, the output update value
P″
mfcs of the MFCS after the perturbation can be calculated as shown in Equation (13).
The efficiency update value,
ηmfcs, of the MFCS after perturbation is shown in Equation (14).
To avoid frequent fluctuations in the output power of the MFCS during OP, it is necessary to screen the advantages and disadvantages of the
ηmfcs and
P″
fci. The screening conditions are divided into two levels. The first level is the screening for the efficiency improvement in the MFCS, which requires an improvement in
ηmfcs by more than 5%. The second level is the restriction on the output value of the FC
i and MFCS, as shown in Equation (15). The output value of the FC
i after the perturbation should not exceed its upper and lower limits and should consider the output capacity of the BESS so that after the complementary output of the MFCS and BESS, the requirements of
Pnet can still be met. Additionally, in order to smoothly adjust the MFCS output and avoid damage to the device caused by large fluctuations in the output value of the energy storage system, it is required that the change rate of the MFCS output value before and after the perturbation should not exceed 15%.
where
Pfci_min and
Pfci_max are the minimum and maximum outputs of the FC
i, respectively;
Pbat_max is the maximum output of the battery in the BESS; and
Pmfcs_max is the maximum output of the MFCS.
The P″fci that satisfies the above two levels of screening can be used as the reference value of the new round of the FCi power perturbation and participate in the further optimization of the MFCS’s efficiency until the optimization stop instruction is met (such as the sampling interval of EMS is reached). The currently found P″fci and P″mfcs that make the ηmfcs optimal are output as the reference values of the FCi and MFCS, respectively.
5. Experimental Verification
In order to test and verify whether the coordinated control strategy proposed in this paper is feasible in actual working conditions, this section creates a virtual real-time scenario to simulate the microgrid operating environment of the HESS. Considering that HESS-related equipment is expensive and potentially dangerous while in operation, this paper chose the hardware-in-loop (HIL) experimental form and designed a digital experimental platform, as shown in
Figure 12, to facilitate the conduct of the experiment and the observation of the results.
The initial values of
LoHi,
LoHmfcs, and
SoC in the HIL simulation are shown in
Table 7. In order to verify the application of the proposed strategy under variable working conditions, the photovoltaic power was increased from 0.8 kW to 8.5 kW under the premise that the load in the microgrid was constant at 10 kW.
The application effect of the coordinated control strategy is shown in
Figure 13. Except for a slight fluctuation in the bus voltage when the photovoltaic power suddenly increased, it stabilized at the rated value of 480 V at other times. During operation, the output power of the FC
i was positively correlated with the
LoHi, and when
Pnet decreased from 9.2 kW to 2 kW, the power borne by FC
i also decreased synchronously, and the overall output of the MFCS decreased from 5.2 kW to 0.83 kW. The experiment’s results show that the proposed collaborative control strategy could adaptively compensate for the fluctuating
Pnet based on the margin of the energy storage device so that the bus voltage fluctuation rate was lower than 2.1% and maintained at a stable value.