1. Introduction
With the development of global economy, energy shortages and environmental pollution have become prominent issues. As a major carbon-emitting sector, the power industry urgently needs to transform towards a green and low-carbon model. Photovoltaic power generation has become the mainstay of renewable energy due to its advantages such as flexible deployment, short construction period, and proximity to load centers. From 2020 to 2024, the global cumulative installed capacity of photovoltaic power jumped from 127 GW to 592 GW, an increase of 465 GW over four years, with particularly significant growth from 2022 to 2023, marking that photovoltaic power has entered an accelerated phase of popularization. In 2024, the newly added global energy storage capacity was 79.2 GW/188.5 GWh, marking a year-on-year increase of 82.1%. The total demand is expected to reach 828 GWh by 2030. The coordination of photovoltaic power and energy storage has become a key method to reduce carbon emissions and energy waste [
1,
2].
As a core component of the photovoltaic-storage microgrid systems, three-port converters can effectively integrate photovoltaic sources, energy storage units, and loads, enabling flexible power flow management to enhance photovoltaic energy utilization efficiency and regional system stability [
3]. As shown in
Figure 1, the three-port photovoltaic-storage converter comprises three ports: a photovoltaic port, a battery port, and a load port. Depending on solar irradiance and load demand, it operates in distinct working modes [
4,
5]. Dual-Input Single-Output (DISO) mode: when solar irradiance weakens and photovoltaic output becomes insufficient, the energy storage unit discharges to complement the photovoltaic array, jointly supplying power to the load and ensuring its normal operation. Single-Input Dual-Output (SIDO) mode: when solar irradiance is sufficient, the photovoltaic array generates power exceeding the actual load demand. In this mode, the energy storage unit stores surplus energy while the photovoltaic array simultaneously supplies power to the load, achieving maximum energy utilization.
The mainstream system configuration of photovoltaic-storage three-port DC–DC converters is illustrated in
Figure 2 [
6,
7,
8,
9,
10]. This system integrates the load, photovoltaic (PV) array, and battery through two parallel bidirectional synchronous rectification DC–DC converter circuits, enabling power transmission in any direction as required. Currently, these two DC–DC converters are predominantly controlled independently. For instance, the PV-side DC–DC converter adopts maximum power point tracking (MPPT) control strategies, such as the Perturb and Observe (P&O) method, to regulate the duty cycle of switching devices, ensuring the PV panel operates at its maximum power point and improving energy conversion efficiency [
11,
12,
13]. In essence, MPPT achieves this by adjusting the input inductor current. The battery-side bidirectional DC–DC converter typically employs dual-loop control—an outer voltage loop used to stabilize the DC bus voltage, and an inner current loop used to regulate the charging/discharging current. For example, the outer voltage loop may use proportional–integral (PI) control or advanced active disturbance rejection control (ADRC), while the inner current loop may utilize PI control or MPC [
14,
15]. When the DC bus voltage is low, the battery discharges (Boost mode); when the voltage is high, the battery charges (Buck mode). However, the parallel operation of the two bidirectional DC–DC converters (PV-side and battery-side) through the DC bus introduces a mutual coupling mechanism. This mechanism exerts influence on bus voltage stability, power supply quality, and smooth mode-switching control. Therefore, it is imperative to explore novel control strategies to coordinate the operation of these two converters, thereby minimizing the adverse effects of the coupling mechanism.
Model predictive control (MPC), as an advanced control strategy, has demonstrated broad application prospects in various fields due to its predictive capability, multi-variable handling, and constrained optimization advantages. For the two parallel bidirectional DC–DC converter circuits (non-isolated topology with four switches), studies in [
16,
17] proposed a finite control set MPC (FCS-MPC) with the objective of minimizing the cost function (considering the power tracking error), where only one switching state (corresponding to a single vector) is selected to minimize the cost function. However, this approach suffers from variable switching frequencies and tracking errors due to the inability of a single vector to cover all possible reference vector directions. To address these issues, Ref. [
18] proposed a multi-mode partitioning method combined with MPC, which predicts duty cycles under different modes to select the optimal mode and incorporates a hysteresis mechanism to avoid frequent switching. However, this method requires additional hysteresis logic for mode transitions and fixes duty cycles in intermediate modes, which limits flexibility. By designing an adaptive cost function, smooth switching between Buck mode, Boost mode, and critical mode is achieved, while avoiding complex parameter tuning processes [
19]. However, the control performance highly depends on the accuracy and sampling frequency of voltage and current sensors. If there is noise or delay in sampling, it may lead to the accumulation of prediction errors and affect the control effect. Moreover, it is necessary to design additional digital filtering algorithms, increasing software complexity. In [
20], a modulated model predictive control (MMPC) method was developed based on vector analysis, and a comprehensive simulation comparison has not been discussed.
Building on these foundations, this paper proposes a modulated model predictive control strategy for three-port converters. The approach involves the following:
- (1)
Deriving inductor current increments from the system’s discrete-time mathematical model.
- (2)
Establishing a four basic vector coordinate system and reference vector.
- (3)
Calculating optimal duty cycles using three basic vectors and adopting adaptive strategies to minimize the error vector based on the reference vector’s position.
- (4)
Generating fixed-frequency switching sequences via a PWM module after determining duty cycles.
Compared with traditional MPCs, the proposed modulated MPC offers fixed-frequency switching through vector synthesis, enabling continuous control, error-free tracking of reference vectors within the four basic vector coordinate system, significant reductions in current/voltage ripple, and enhanced dynamic performance.
2. Operating Principles of Three-Port DC–DC Converters
To optimize the design of control strategies and achieve smooth mode transitions, this section analyzes and models the operational states of the topology. A simplified diagram of the three-port DC–DC converter is shown in
Figure 3. The converter employs two complementary power switching devices, resulting in four distinct operating modes.
Mode I: Switches
S1 and
S2 are both turned off (i.e.,
S1 = 0 and
S2 = 0). The corresponding circuit diagram and current flow are illustrated in
Figure 4 below. The governing equations in the continuous time domain are derived as follows:
Mode II: Switches
S1 is turned of and
S2 is turned on (i.e.,
S1 = 0 and
S2 = 1). The corresponding circuit diagram and current flow are illustrated in
Figure 5 below. The governing equations in the continuous time domain are derived as follows:
Mode III: Switches
S1 is turned on and
S2 is turned off (i.e.,
S1 = 1 and
S2 = 0). The corresponding circuit diagram and current flow are illustrated in
Figure 6 below. The governing equations in the continuous time domain are derived as follows:
Mode IV: Switches
S1 and
S2 are both turned on (i.e.,
S1 = 1 and
S2 = 1). The corresponding circuit diagram and current flow are illustrated in
Figure 7 below. The governing equations in the continuous time domain are derived as follows:
To model the converter’s behavior, the switching function
Si is defined as (
i = 1, 2) = 1, with
Si being represented as ON and vice versa. By combining the four operational mode equations using logical operators (e.g., XOR for mutually exclusive states), a unified expression is derived. Applying the forward difference approximation for derivative discretization, the following discrete time state–space model is obtained:
where
stands for the sampling period, and
,
, and
represent the sample values at time
k for PV voltage, DC bus voltage, and battery voltage.
and
represent the sample values at time
k for the PV inductor current, and battery inductor current, respectively.
and
are the prediction values at the time (
k + 1) for those two currents, respectively. Notably, Equation (5) indicates that the system states at the time (
k + 1) can be predicted by a mathematical model with the system state at time
k.
3. Multi-Vector Modulated Model Predictive Control (MMPC) for Three-Port DC–DC Converters
FCS-MPC’s function is to predict the future behavior of the system and to select the optimal control action by traversing a finite number of switch state combinations. The control variables (such as the on/off states of switching tubes) are restricted to a finite number of discrete combinations. The specific control process is as follows:
Establish a discretized mathematical model of the controlled object for predicting future states. The following is a typical model form:
where
x(
k) represents the current state (such as inductor current and capacitor voltage), and
u(
k) denotes the control input (switch state combination). The discretized mathematical model of the finite-set MPC for the topology in
Section 2 is as follows:
- (2)
State Prediction
Traverse all possible switch combinations, such as 8 switch combinations (2
3) for a three-phase inverter, and 4 combinations (2
2) for the dual-switch system of the photovoltaic energy storage three-port DC/DC converter in
Section 2, to predict the system state at the next moment. For each candidate switch state ui, calculate the predicted value
x(
k + 1).
- (3)
Cost Function Evaluation
Design a cost function to quantify the control objectives. The following is a common form:
where the first part of the function is the tracking error term (such as current/voltage tracking error), the second part is the constraint term (such as switch switching frequency suppression, voltage/current limiting), and is the weighting factor used to adjust the priority of different objectives. The cost function of the finite-set MPC for the topology in
Section 2 is as follows:
- (4)
Optimal Decision-Making
Select the switch state that minimizes the cost function as the following current control input:
- (5)
Control Implementation
Apply the optimal switch state directly to the system without the need for PWM modulation.
FSC-MPC focuses on discrete switch states. For example, switching devices in power electronics have only a finite number of possible combinations. Traditional modulated MPC usually deals with continuous control inputs, such as duty cycle or voltage, and finds the optimal control sequence by solving an optimization problem.
Therefore, the discretized mathematical model of traditional modulated MPC for the topology in
Section 2 is as follows:
Then, the main difference in the second-step state prediction is that traditional modulated MPC loops through DS1 and DS2, for example, searching for the optimal duty cycle from 0 to 1 with a step size of 0.1. For a dual-switch system, there are 100 combinations. Then, the PWM modulation is carried out.
FSC-MPC only selects one switch state, which cannot fully track the reference value, leading to large current and voltage ripples. Meanwhile, the variable switching frequency increases the complexity of filter design. The conventional FCS-MPC only uses one fundamental vector to calculate the duty cycle; thus, only the four points (purple points in
Figure 2) can achieve error-free regulation. The TM-MPC uses two fundamental vectors to calculate the duty cycle; thus, only with the reference vector being on the boundary enclosed by the four fundamental vectors (green line in
Figure 2) can error-free regulation be achieved.
To address these challenges, this paper proposes a multi-vector modulated MPC strategy. By synthesizing three basic vectors to coordinate and compute the optimal switching sequence, the method minimizes voltage ripple and achieves error-free tracking of reference values. The detailed control approach is shown below.
Based on Equation (5), the inductor current increment over one sampling period is derived as follows:
The increment value under four different operation modes is summarized in
Table 1, and a vector coordinate system based on the increments is established. Here, the x-axis stands for the input inductor current increments, and the y-axis stands for the output inductor current increments. Benefiting from the symmetrical structure, we can obtain four symmetric fundamental vectors based on different operation modes, which can form a rectangle modulation region as shown in
Figure 8a. Meanwhile, we can obtain the reference vector as follows:
The conventional MPC directly calculates the desired switching states with a cost function in each sampling cycle, which cannot realize error-free tracking because only one fundamental vector is used. In this paper, three fundamental vectors are used to calculate the optimal switching sequence to minimize the error vector. If we choose the three fundamental vectors
Mi,
Mj, and
Ml with a duty cycle of
di,
dj, and
dl (
di +
dj +
dl = 1) we obtain the following:
Possible synthetic vectors will form a rectangle, as shown in the dotted box of
Figure 8b. In this situation, the error vector
Merror can approach zero when
Mr is inside the rectangle, resulting in a theoretical control error near zero.
When the reference vector
Mr is outside the rectangle, the error vector cannot approach the error-free zone even with three fundamental vectors. In this situation, we can make a line perpendicular to the nearest edge of the rectangle, shown in
Figure 8c, and then obtain a new reference vector
Mr,n that can be modulated with three fundamental vectors to minimize the error vector. Fortunately, we can easily obtain the nearest vector by the region of the reference vector due to the symmetric of the fundamental vectors, which can be expressed as follows:
After we obtain the reference vector, we can choose the two group vectors G1 (
M0,
M1,
M2) and G1 (
M1,
M2,
M3) to obtain the optimal switching sequences, which can fully cover the entire modulation area. The detailed formula for G1 and G2 can be expressed as:
Theoretically, we should locate where
Mr to determine which groups will be chosen. However, the optimal duty cycle can be calculated, which satisfies all constraints in Equation (11). After calculating the duty cycle for each vector, the duty cycle for S1 and S2 can be obtained as follows:
where
D1 is the duty cycle for
S1, and
D2 is the duty cycle for
S2. Then, the PWM module is used to generate an optimal sequence, obtaining fixed switching benefits. The overall control strategy and the flowchart of the proposed MVM-MPC are shown in
Figure 9.
4. Simulation Validation
To validate the proposed control strategy, a simulation platform was developed using the MATLAB/Simulink 2024a, with detailed design parameters summarized in
Table 2. The simulation was conducted under two operational modes based on the relationship between the photovoltaic port input power and the DC load conditions.
Mode 1 (DISO): The power provided by the photovoltaic port panel is lower than the DC load requirement, and the energy storage battery discharges to the load. The output power of the photovoltaic port is 120 W, corresponding to an output inductor current of 5 A at the photovoltaic port; the load power is 180 W, meaning that the energy storage port output power is 60 W. The simulation time is 10 ms. As shown in
Figure 10, 10 time nodes (with an interval of 1 ms between each time point) are selected to plot a vector diagram during the modulation process to verify the effectiveness of the modulation strategy. The gray dashed line represents the complete historical trajectory of the reference vector
Mr throughout the simulation. The changing gray translucent rectangles are the modulation regions formed by the four basic vectors
M0,
M1,
M2, and
M3 at the selected 10 time points. It can be observed that each time point has a corresponding symmetric rectangular modulation region. The red solid circles represent the specific positions of the reference vector
Mr at each time point. According to the proposed control method of forming the reference vector by proximity and multi-vector synthesis, it can be found that the system basically reaches a stable operating state within 2 ms after startup, with the reference vector
Mr converging near the origin.
Figure 11 compares the switching actions and control ripple effects of the traditional finite control set MPC (FCS-MPC), traditional modulated MPC (TM-MPC), and the proposed MPC (MVM-MPC). The finite control set MPC method only selects one vector to approximate the reference value, but it cannot achieve zero-error control, and its switching frequency is not fixed, leading to significantly higher current ripple and poor voltage control performance. Although the traditional modulated MPC fixes the switching frequency, it also only selects one vector to approximate the reference value. In contrast, the proposed new modulated MPC can select three vectors (e.g.,
M3,
M1,
M0) to achieve error-free control, resulting in significantly reduced current ripples and better voltage control. Meanwhile, the proposed new modulated MPC can achieve a fixed switching frequency, which will simplify filter design.
Table 3 summarizes the comparison of voltage and current ripples under different control modes. It can be seen that with the proposed control method, the current ripple and DC bus voltage ripple are both significantly reduced, benefiting from multi-vector analysis and the fixed switching frequency.
Mode 2 (SIDO): The power provided by the photovoltaic port exceeds the DC load power requirement, and the energy storage battery is charged. The output power of the photovoltaic port is 120 W, corresponding to an output inductor current of 5 A at the photovoltaic port; the load power is 90 W, meaning the input power of the energy storage port is 30 W. Similarly, for Mode 2, the simulation time is 0.01 s. As shown in
Figure 12, 10 time nodes are selected to plot a vector diagram during the modulation process to verify the effectiveness of the modulation strategy. It can also be observed that the system basically reaches a stable operating state within 2 ms after startup, with the reference vector converging near the origin. Similarly, as shown in
Figure 13, comparing different control methods, the proposed new modulated MPC method can achieve significant improvement in control performance under the conditions of fixed switching frequency and multi-vector modulation. Specific ripple comparisons are presented in
Table 4.
Further, to verify the dynamic performance of the proposed new modulated MPC, a dynamic load simulation was conducted, where the photovoltaic port voltage was 24 V and the reference current value was 5 A, with the load resistance varying between 5 ohm and 10 ohm. The inductor current at the energy storage terminal is limited by the range of −10 A to 10 A.
Figure 14 compares the dynamic performance between the conventional FCS-MPC, TM-MPC, and MVM-MPC. Under the condition of consistent parameters of the PI voltage outer loop, a comparison of different control methods reveals that the proposed MPC exhibits significantly smaller voltage overshoots during the startup phase and mode-switching processes. Additionally, the current overshoots on both sides are also reduced. However, there is no significant difference in the regulation time, primarily because the PI controller plays a dominant role in this aspect. As shown in
Figure 14d, the photovoltaic port consistently tracks its reference value of 5 A with almost no fluctuations. The battery can quickly and smoothly adjust its charging and discharging states according to the load conditions, with a transient adjustment time of only 0.01 s, without any current overshoot or controller adjustments.