1. Introduction
With the shortage of energy and the increasing problem of environmental pollution, distributed energy has gradually come into people’s view, and the energy internet (EI), with electricity at its core, has come to be paid more attention [
1,
2]. The energy router (ER) is the core equipment for energy internet architecture, effectively integrating distributed energy sources, realizing AC–DC free conversion and multi-directional flow of energy, and effectively reducing the impact brought about by distributed energy sources and AC–DC load access to the power system [
3,
4,
5], and the popular use of energy routers is an essential trend for the future development of the energy internet. For interconnected systems of distributed energy sources, a reasonable energy router architecture, suitable energy scheduling and coordination control strategy are the key factors for determining the stable operation of the system [
6,
7]. ER can not only solve the problem of distributed energy grid connection, but also provide a plug-and-play interface for different devices. ER can achieve the goal of power system control integration. Therefore, research on ER is very urgent.
Depending on the demand and the location, energy routers with different classifications are also used, and can mainly be divided into terminal energy routers, regional energy routers, and backbone energy routers [
8,
9,
10]. Normally, energy routers applied to the backbone and area are relatively mature, while those applied to the terminal have been less thoroughly researched. Energy routers for terminal applications are widely used, and can effectively utilize distributed energy and meet the development goal of “double carbon”, having high research significance.
Therefore, energy routers have accordingly been studied in terms of overall architecture [
11], control strategy [
12,
13], internal communication design [
14], and key parameters [
15], but so far, no expert scholars have proposed a general energy router architecture and a control strategy that can satisfy various operating conditions. Ref. [
16] proposed a coordinated control strategy for AC–DC hybrid ER based on energy storage and voltage stabilization that used multiple sets of converters to provide a wealth of AC–DC ports, and also classified the external ports for consideration, but its module control strategy was relatively simple, and the dynamic performance required improvement. Ref. [
17] proposed a multi-LAN port energy router that could easily connect distributed power sources and AC–DC loads to the backbone grid, but did not consider the access of energy storage systems, and the energy router architecture was not complete. Ref. [
18] provided the design idea of a community energy router, giving different operating states of the energy router under distribution network failure. However, no specific feasible topology was given. In [
19], a power allocation strategy for seamless switching conditions was proposed, but it lacked precise consideration of the battery. In [
20], a two-level modular ER structure that could be applied to DC microgrid clusters was proposed to realize the function of flexible interconnection of microgrids. In [
21], the impact on the energy router under grid fault conditions and the balancing strategy of the capacitor voltage under various conditions were analyzed, but only situations under single-phase grid faults were considered, without considering two-phase or multiple three-phase faults.
The study of ER is at this stage no longer limited to the ER itself, as the grid-connected port is connected to the distribution grid. Therefore, research on the power quality of the distribution grid port and the energy allocation and optimization of the distribution grid side is also meaningful. In ref. [
22], the authors proposed a hierarchical grid model to enhance the resilience of DC-MGs. In refs. [
23,
24], the researchers studied energy hubs. These include wind power, solar power, and energy storage. The management of distributed energy sources and the improvement of distribution network reliability, respectively, were studied. However, these papers are all macroscopic studies, but do not explain the details of ER.
Due to the nature of the energy router, the presence of a grid-connected port is necessary. When the energy router is connected to the grid, if it is not established with a battery or the battery is not properly controlled and directly connected to the grid, it will result in high network loss. The battery is able to play the role of a bridge for energy circulation, carry out energy buffering, and can also help the energy router to stabilize the bus voltage. For the regulation of the energy router, the use of the battery, the state of charge of the battery, and the comprehensive deployment of the battery discharge power also need to be considered [
25,
26,
27,
28]. Refs. [
29,
30] mention a variety of optimization algorithms that serve as a theoretical basis for the future expansion of ER and its integration with power systems, and the future expansion of power systems will be studied in depth on the basis of the algorithms. Refs. [
31,
32] propose optimization algorithms in combination with biology, and these algorithms are better able to optimize the energy allocation strategy of energy routers and improve their efficiency.
On the basis of the existing research, the study of ER has primarily focused on structure as well as on control. Therefore, in this paper, we design a five-port energy router topology in consideration of these two points and propose a corresponding control strategy for this structure.
The first point is the design of the topology. In accordance with the requirements, an ER including PV, energy storage, grid-connected, AC, and DC ports was proposed. All ports are connected by a DC bus, and are unified and controlled by a central processor. The topologies of different ports are designed to realize the energy flow.
The second point is the implementation of the control strategy. The control strategy is divided into two layers, which are the independent control of the ports and the overall coordinated control. For the port functions, each port designs an independent control strategy to maintain stability. At the same time, the top-level control is designed to divide the working modes, and the different ports operate in a coordinated fashion under different working modes to finally work stably.
2. Energy Router Topology Creation and Analysis
In the original model, the ER system integrates the PV, the AC load, and the DC load. In response to the need to provide various ports involved in energy routers, this paper proposes a five-port energy router for a wide range of applications. The router architecture is shown in
Figure 1, and the five groups of ports are the PV port, the energy storage port, the grid-connected port, the DC load port, and the AC load port. All ports of the energy router converge into a DC common bus (CB), and
UCB is the common bus voltage.
i1~
i5 are the output current values of the five ports, which can represent the interaction with the common bus energy handover.
Port 1 is the PV port structure, considering the low voltage level of solar power (PV) and the high voltage level of the common bus, the boost topology is used, and considering the switching tube current stress and ripple, this port adopts the interleaved parallel boost structure. i1 is the PV port and common bus interaction current, the PV port and common bus interaction power P1 = i1UCB, for the energy storage port, the adopted structure is a two-level converter; i2 is the storage port, and the common bus current storage port interaction power P2 = i2UCB, where the port plays the role of stabilizing the DC bus voltage. For the grid-connected port, the structure of a two-level converter combined with an LCL filter is used, which is connected to the grid to realize the interaction of energy with the grid, and the interaction power is P3 = i3UCB, for the AC load port, the structure of a two-level converter and an LC filter is used, and the interaction power with the common bus is P4 = i4UCB; for the DC load port, a parallel input structure is used. For the DC load port, the structure used is an input parallel-type double active bridge converter (ISOP DAB), and the interaction power of the port with the common bus is P5 = i5UCB.
The system has a total of five groups of ports, ignoring port losses, and the real-time power balance of the system using the common bus is shown below.
where
UCB is the current common bus voltage value,
CCB is the DC bus capacitance value,
ik is the interaction power generated by each port with the DC bus, and
Pnon is the unbalanced power of the system at the current moment. Due to the changes in PV, load, etc., fluctuations in
Pnon will be caused, and will be accompanied by fluctuations in
UCB. Therefore, the overall coordination control starts from the stable control of
UCB, and stable operation of the system is finally realized by controlling the energy interaction status of the energy storage port and the grid-connected port with the main line.
For the energy router, the five groups of ports involved are divided into two parts, consisting of the functional port, for the unidirectional flow of energy, and the voltage stabilization port, for the bidirectional flow of energy. Among them, the PV, AC and DC load ports are the functional ports, and the grid-connected energy storage ports are the voltage stabilization ports.
The structural design of the PV port adopts the structure presented in
Figure 2.
The function of the PV port is to incorporate solar energy into the energy router system, and the criterion of its work is the full utilization of light energy without considering factors such as energy flow system stability, so the design and control of the PV port start from the efficient acquisition of energy without involving other factors. Considering the characteristics of low PV voltage level, multiple parallel PV cells, and high DC bus voltage level, a boost converter is used as the port, and considering the expandability and the current stress of the switching devices, the boost converter structure adopts an interleaved parallel boost circuit. When the power is the same, the current stress of the staggered parallel booster structure switch tube is lower than that of the ordinary booster circuit; the current ripple is also smaller, which is advantageous for the stability of the common bus voltage and current control.
For the design of the AC load port, considering the controllability of the system and the overall control difficulty, the AC port is not involved in internal voltage stabilization, and is only used as a functional port to supply the load, so the control method and basic structure are the same as those of the conventional inverter. It is sufficient to ensure the output stability and realize the basic external functions.
Figure 3 shows the topology of the AC load port, with the output connected to the outside through an LC filter.
For the DC port shown in
Figure 4, the overall situation is similar to that of the AC port, which is also only used as a functional port to provide DC output without participating in system regulation, and only needs to ensure output stability and achieve basic functions. Considering the widespread use of electric vehicles, the DC port usually needs to provide a greater amount of power, and in terms of electrical isolation, the output of the two modules is connected in series with the output of the parallel-type double active bridge converter (ISOP DAB) to realize the external connection. This structure can effectively increase the output power and reduce the device’s current stress.
For a two-module ISOP-type DAB structure, as described in
Figure 5, the modules at the input are voltage-divided, and the voltage at the output is automatically equalized. Due to the manufacturing process, the parameters between the modules are not exactly the same, and the power balance between the modules needs to be considered. When the input voltage equalization loop is in stable operation, the system achieves power equalization among modules and current equalization at the output with
I21 =
I22. When the input voltage of the system is disturbed, the input voltage equalization loop can be controlled so that the input voltage of each module receives equalized control. When the output current of the module is disturbed and increases, the output voltage of the module decreases, because the input voltage equalization loop has already achieved system power balance.
The output voltage drop leads to the current flowing to the load becoming smaller and the current flowing to the inductor becoming larger, at which time the inductor is charged and the voltage increases, forming negative feedback regulation, and the system output voltage restores a stable value again. As can be observed, the input voltage equalization loop can simultaneously control the system input voltage waveform and the system output current fluctuation, and ensure the power balance between the system modules from the input side and the output side at the same time.
The grid-connected port is different from the two load ports and the PV port in that it assumes the function of bidirectional energy flow, and is thus an important structure for realizing the energy routing function by obtaining energy from the grid to provide loads when the system energy is insufficient and feeding the excess energy back to the grid when the system energy is excessive. For the grid-connected ports, the structure used is the single-phase rectifier structure shown in
Figure 6.
The grid-connected port is connected to the grid through a set of LCL filters. As a third-order system, LCL filters are small in size and have good high-frequency filtering performance, but the structure has resonant peaks, which can reduce the stability of the system. In the control, the resonant peaks are suppressed by adding virtual resistors.
The energy storage port plays the role of stabilizing the DC bus voltage, connecting the battery, and buffering the energy, and is the most critical port in terms of the control of the energy router. This port needs to realize the bidirectional flow of energy, and also requires rapid control that is able to quickly sense the fluctuation of the common bus voltage and make adjustments in the control. Therefore, a bidirectional buck–boost structure, as shown in
Figure 7, was chosen, and its control adopts the faster model predictive control.
The port realizes the bidirectional flow of energy by controlling the opening and closing of switch tubes Q2 and Q3. When Q3 is cut off, the opening and closing of Q2 are controlled, meaning that the circuit works in the boost mode, whereby energy is transferred from the battery to the DC bus. When Q2 is cut off, the opening and closing of Q3 are controlled, and the circuit works in the buck mode, whereby energy is transferred from the DC bus to the battery, thus realizing the bidirectional flow of energy.
An overview of the energy flow directions and functions of the five ports is provided in
Table 1. Obviously, the energy of the first two ports flows in both directions, and the functions are more complex and have more important positions. The last three ports only function to perform energy transfer, and do not play a dominant role in the control.
3. Energy Router Control Strategy Research
3.1. Overall Control Architecture and Control Strategy
For the control of the energy router, the most effective current is achieved using the hierarchical control strategy; in this control strategy, the port controller performs control using local information, and on this basis maintains two-way contact with the central controller. The control architecture is shown in
Figure 8, where the overall control architecture is divided into four layers, comprising (from top to bottom) the top-level control platform, the information collection platform, decision control and the bottom-level control platform. Information enters the controller at the bottom and flows upwards, and control signals enter the port at the top and flow downwards.
For the proposed five-port energy router topology and the hierarchical control architecture used in this paper, the bottom-level control layer and the cooperative control layer are the core of the study. The bottom-level control layer corresponds to the independent control of the five ports, and the cooperative control performs overall control of the ports’ operating states by means of bus voltage and battery charge state. The cooperative control layer includes two points, bus voltage stabilization and battery charge state adjustment, both of which are closely related to the energy storage ports. Therefore, this study focuses on the energy storage port in the design and control of the bottom-level port, and establishes an overall control strategy for the port that is able to realize reasonable control of the bus voltage and stability, as well as the battery charge state, so as to finally realize the free flow among multiple energy sources and the stable operation of the energy router. The energy router works stably.
3.2. Five-Port Control Strategy Design
The first is the control of the PV port, which is a unidirectional functional port, and its control goal is to inject as much light energy as possible into the common bus. For this system, in order to ensure that the load attains maximum power, proper load matching is required. When the load resistance is equal to the internal resistance of the power supply system, the load receives the maximum power, with such a load matching process being referred to as maximum power point tracking (MPPT) [
33,
34].
Figure 9 shows the process of MPPT for the PV port. By collecting the power at the current moment and comparing it with the power at the previous moment, the switching tubes are controlled by judging the change in power, while using a staggered parallel boost structure, where the control signals of the two groups of switching tubes are the same, but the delta carrier signals are staggered by half a cycle to achieve harmonic offset.
For the AC load port, as can be seen from the structure topology diagram in
Figure 3, the output is connected to the load using an LC filter. It is not a bad idea to set the load as a resistive load with resistance
R. Then, in the complex frequency domain, we have:
Using bipolar SPWM modulation, in one switching cycle:
where
D is the duty cycle,
Vm is the reference sine wave, which is the input to the modulator, and
Vtri is the peak delta carrier wave.
Then, the transfer function of the AC port can be obtained as follows:
For the AC load port, a dual closed-loop voltage and current control are used, and the control strategy is shown in
Figure 10.
The voltage outer loop is the error signal obtained by comparing the reference value with the sampled value of the output voltage, and then the current reference value of the inner loop is generated by the PI controller; the current reference value of the inner loop and the inductor current obtained from the actual sampling are used to generate the current error, and the modulated wave is obtained from the proportional resonance of the inner loop. The feedforward of the reference value is also added to improve the time response characteristics.
For the DC port, an ISOP DAB topology is used, as shown in
Figure 4. For this structure, a centralized dual-loop voltage equalization control strategy is used, which is based on the principle whereby a voltage loop is used to control the output voltage, and an independent input voltage loop is used to equalize the input voltage. When the input voltage of a module in the system is disturbed and increases, it can be seen from
Figure 11 that the offset control amount of the module also increases, so the output phase shift duty cycle increases, the output power increases, the system input side capacitor is in a discharged state, and the voltage drops, thus stabilizing the output voltage [
35].
For the grid-connected port, a single-phase rectifier structure is used, as shown in
Figure 6: the grid side and the LCL filter and rectifier are isolated using a transformer, and the LCL filter circuit is connected to the DC bus side using the single-phase rectifier.
For the single-phase rectifier, the mathematical model in the complex frequency domain is as follows:
For SVPWM, the following can be obtained:
where
UAB(
s) is the actual output voltage,
Um(
s) is the modulating waveform,
UCB is the DC bus voltage, and
Utri is the carrier peak. The actual grid current is obtained, as well as the reference value for the purpose of comparison, and the modulating signal is obtained using a proportional resonant controller, which obtains the capacitor current reference value
iCN_ref and then compares it with the actual capacitor current
iCN.
With respect to the resonance of the LCL filter, the passive damping method is used to suppress the system resonance, and the control strategy with full feedback of the grid voltage is adopted in consideration of the influence that the voltage fluctuation of the grid has on the system.
Figure 12 shows the grid voltage full-feedback control block diagram of the grid-connected port.
Hi1(
s) and
Hi2(
s) in
Figure 12 are the current sensor gain and
Gi(
s) is the transfer function of the outer loop, respectively.
Figure 13 shows the block diagram of the grid-connected port control, which is used to build the grid-connected port and realize grid-connected port control of the ER.
The energy storage port of the ER can play the role of energy buffer and dissipate the unbalanced energy in a timely fashion, thus playing a role in stabilizing the voltage of the common bus. As a core port, the sensitive control of the energy storage port is of great significance. Model predictive control, as a mature control strategy, has excellent dynamic performance, while the control structure is simple and can be combined with different control strategies such as PI to achieve even better control performance by combining their advantages.
As can be observed from the energy storage port structure diagram depicted in
Figure 7,
Using a discretized form, the transformation of Equation (7) yields
Using the sensor, we can get
il at moment
K. On the basis of prediction, we can get
ilK + 1. Let’s assume that the converter is working in the buck mode at this time; then, we have
Usually, for digital control systems, there is a certain delay time, which is expressed as follows:
where
Dold is the duty cycle of the previous moment. Generally, a constant voltage is considered for a given sampling period; therefore, we have
The block diagram of the energy storage converter control is shown in
Figure 14. First, the
UCB and the given reference voltage
UCB_ref are sent to the proportional-integral PI for comparison, at which time a reference current is output for comparison with the actual inductor current and sent to the model predictive controller in order to generate the duty cycle, and the output is compared with the carrier waveform to generate the control signal. When the bus voltage fluctuates, it can be adjusted by this model predictive control strategy.
3.3. Five-Port Energy Router Cooperative Control Strategy
In the energy router, the grid-connected port and the energy storage port are bidirectional ports, which, in addition to their basic functions, also assume the role of stabilizing the common bus voltage, UCB, which are now defined as voltage stabilization ports. The PV port and the DC and AC load ports are unidirectional ports, which realize the basic function of the energy router is to transmit energy in one direction, which will be defined as the functional port.
The cooperative control of the five ports of the energy router starts with the current common bus voltage
UCB, compares it with the theoretical
UCB_ref, and also analyzes the state of charge (SOC) of the battery, combining the current PV output with the actual consumption, and divides the work of the energy router into 12 working models, which can be classified into five groups of working models, and the cooperative control of the functional ports and the voltage stabilization ports. The synergistic control of the functional ports and voltage stabilization ports makes it possible to realize the stable operation of the energy router.
Figure 15 presents a flowchart of the model discrimination used in the volume router, and
Table 2 presents the detailed model classification criteria.
According to
Table 2, the common bus, energy storage and PV states are delineated as models A, B, C, D and Z.
Model A is an “off-grid charging model”; in this state, the energy supply of storage is insufficient and PV is sufficient. While the energy supply comes from the PV port, the storage port receives energy from the bus, and the grid-connected port does not participate in the work.
Model B is the “grid-connected charging model”, where the energy router storage port is “non-stocked” and the PV is insufficient, and it is necessary to get energy from the grid to meet the requirements of load consumption.
Model C is a “grid-connected power generation model”, where the energy router is full of energy storage and the PV is sufficient to feed the acquired energy back to the grid.
Model D is an “off-grid discharge model”, where the energy router has sufficient energy storage and the PV is insufficient, and the energy router supplies the AC/DC port consumption from its own energy storage.
Model Z is the “intermediate model”, which is the middle model among Models A–D, indicating that the energy router is self-sufficient and works normally, and this intermediate state is off grid, which is the ideal working state, and the energy router is regarded as a “micro grid” without an external connection. The energy is generated and consumed by the system itself, without any interaction with the outside world.
The five-port energy router transitions between the above five working models, and the different working models represent the different working states of the energy storage and grid-connected ports, thus realizing the stable overall control.
4. Simulation Verification and Analysis
In order to verify that the energy router topology proposed in this paper and the corresponding control strategy are feasible, an energy router model based on model predictive control was built using the MATLAB/Simulink platform, and its main parameter settings are shown in
Table 3.
Considering the battery storage state and the limitation of simulation time, the initial storage value of the battery, SOC, in the energy router “Model Z” was set to 60%, and its range was set to 59.993 < SOC < 60.009. The initial light intensity of the simulation was set to 1000 w/m2, and the output power of the PV port was about 10 kW at this time. The initial light intensity of the simulation was set to 1000 w/m2, and the output power of the PV port was about 10 kW at this time. The light dropped at 1.1 s and then dreopped again to 0 at 1.3 s, after which the PV port stops working.
The system functional port states are as follows: the initial state is set to have only the AC port working, the load power is about 1 kW, and the initial working model of the system is the Z-intermediate model. The system puts the DC port into operation at 0.6 s, the light starts to drop at 1.1 s, and decreases to 0 at 1.3 s, the DC load port < at 1.6 s, the AC port increases the load at 1.9 s, and the load further increases at the AC port at 2.2 s.
The system voltage regulator ports work as follows: 0–0.8 s, only the energy storage port works, and the battery is charged; 0.8–1.2 s, the grid-connected port works and outputs energy to the grid; 1.2–2.9 s, the energy storage port works, and the battery is discharged. Then, 2.9 s later, the grid-connected port works, and obtaining energy from the grid.
The light intensity, battery SOC, and common bus voltage
UCB waveforms are plotted in
Figure 16. The plot characterizes the expected battery storage state with the change in external model change and the throwing of AC and DC loads, with the common bus changing with the load.
As can be seen in
Figure 16, the simulation is started, and the system is in model Z at 0–0.8 s. At 0.8 s, the animal battery is fully charged, and the system enters model C. At 1.1 s, the PV drops to 0, and the system enters model D. The system stabilizes and re-enters model Z. The battery SOC drops further until the system enters model C at 2.9 s. Different model switching methods correspond to different converter operating states, and the steady-state operation of the energy router can be observed on the basis of the DC bus voltage, which fluctuates with load switching and model change, but can be stabilized quickly.
Figure 17 shows the PV port power curve, which reaches the light inflection point at 1.1 s, after which the PV power gradually decreases to 0, which is consistent with the light situation in
Figure 16, and the PV port works normally.
Figure 18 shows the power fluctuation of the AC and DC load ports and the bus voltage fluctuation. The four graphs represent the AC port load power, DC port load power, total load power, and the fluctuation of bus voltage when the load is switched. The AC load increases from 1 kW to 3 kW to 5 kW, and its output power is rapidly stabilized, while the DC load increases from 0 to 5 kW and then decreases. From the power fluctuation graph and the DC bus voltage fluctuation graph, it can be seen that the AC and DC load ports are able to realize basic functions, and the bus voltage can quickly return to stability when the AC and DC loads are added and removed.
Figure 19 shows the voltage and current power of the grid-connected port of the energy router; there is no energy exchange at the power port before 0.8 s, and at 0.8 s, the power port delivers energy to the grid, corresponding to model C in
Figure 14; the corresponding battery is full of electricity, and the PV port continues to generate energy, at which time the excess energy is fed back to the grid. At 1.1 s, the PV exits, and the AC/DC port is supplied with energy from the battery, at which point the grid-connected port stops working. At 2.9 s, the storage port stops working, and the load continues to consume energy, at which point it enters model B. The grid-connected port receives energy from the grid in order to provide the required load for consumption.
Figure 20 shows the voltage at the input of the ISOP DAB and the division of the CD1, CD2, and DC load voltage is implemented at 0.6 s. Due to the different input parameters of the ISOP DAB, the voltage division at the input is different. Under the double closed-loop voltage division control designed as shown in
Figure 11, the two sets of input voltages are rapidly equalized, while at the same time, due to the change in the model, it is possible to satisfactorily follow the voltage at the input.
Figure 21 presents a spectral analysis of the grid-connected port, where the harmonic distortion rate is only 3.02%. Using the energy router topology and the corresponding control method proposed in this paper, the output current waveform is good, and the impact on the grid is small.
The study of ERs is divided into analysis at the module level and at the system level. The study in this article also starts from these two levels.
As shown in
Table 1, at the module level, the system is divided into five ports. The first port is the energy storage port. As shown in
Table 1, the functions of the energy storage port are divided into three parts. These three functions are verified in
Figure 16.
Figure 16 shows the change in the SOC of the energy storage port and the corresponding change in the ER operating mode. The second is the grid-connected port, as shown in
Table 1, the functions of which can be divided into three parts. These functions are demonstrated in
Figure 19, as well as in
Figure 21.
Figure 19 shows the direction of energy flow in the grid-connected port and the role played by the energy storage port in stabilizing the bus voltage. From
Figure 21, it can be observed that the grid-connected port not only fulfills the function of energy coordination, but also has less impact on the distribution network. The third is the photovoltaic port;
Figure 16 and
Figure 17 show the functionality of the photovoltaic port with different current light intensities and different levels of output power. Finally, there are two load ports, and
Figure 18 shows the stability of the system when the two load ports are working in alternation.
System-level studies are effectively equivalent to all ports working in coordination, with energy flowing freely and on demand. All ports are able to work properly throughout this process, thus reflecting the stable operation of the system.
Figure 22 shows the working status of different ports at different points in time, as well as the coordinated work of all ports, which makes it possible to finally realize the free flow of energy.