Skip to main content

Model predictive control of grid-connected PV power generation system considering optimal MPPT control of PV modules

Abstract

Because of system constraints caused by the external environment and grid faults, the conventional maximum power point tracking (MPPT) and inverter control methods of a PV power generation system cannot achieve optimal power output. They can also lead to misjudgments and poor dynamic performance. To address these issues, this paper proposes a new MPPT method of PV modules based on model predictive control (MPC) and a finite control set model predictive current control (FCS-MPCC) of an inverter. Using the identification model of PV arrays, the module-based MPC controller is designed, and maximum output power is achieved by coordinating the optimal combination of spectral wavelength and module temperature. An FCS-MPCC algorithm is then designed to predict the inverter current under different voltage vectors, the optimal voltage vector is selected according to the optimal value function, and the corresponding optimal switching state is applied to power semiconductor devices of the inverter. The MPPT performance of the MPC controller and the responses of the inverter under different constraints are verified, and the steady-state and dynamic control effects of the inverter using FCS-MPCC are compared with the traditional feedforward decoupling PI control in Matlab/Simulink. The results show that MPC has better tracking performance under constraints, and the system has faster and more accurate dynamic response and flexibility than conventional PI control.

Introduction

In addressing global climate change, the proposal of reducing carbon dioxide emission and carbon neutrality has accelerated the speed of energy low-carbon transformation [1,2,3]. This has stimulated the rapid development of solar energy, and the permeability of grid-connection photovoltaic (PV) has been increasing [4]. MPPT and inverter control strategy in a grid-connected PV power generation system ensure that the system operates in a stable and optimal state of maximum power by adjusting the voltage and current dynamically [5]. This improves the energy conversion efficiency, power quality and stability of system operation without increasing the hardware cost.

The MPPT control method is the main technology to improve the efficiency of a PV system [6]. At present, most MPPT control algorithms do not consider the impact of irradiance and temperature mutation on tracking speed and system control accuracy, e.g., the traditional incremental conductance method [7] finds it difficult to meet the requirements of tracking efficiency when there are interference and constraints from the external environment. The MPPT algorithm in the case of external environment mutation has been studied in [8], while in [9], the mathematical model of PV modules under partial shadow interference is established, and the relationship between output characteristics of PV arrays and outside interference factors is analyzed. The MPPT algorithm combining current control and disturbance observation method is proposed in [10]. However, the above methods have high power consumption and find it difficult to consider both the tracking speed and the control accuracy when the external constraints change rapidly.

The grid-connected PV inverter control technology has become a research hotspot. Traditional control methods include linear methods, such as feedforward decoupling control based on PI regulation [11], and nonlinear methods, such as proportional resonance control [12]. The former needs the PWM modulation module, while the static and dynamic performance of the system depend on the PI regulator. Although the latter has good dynamic performance, the switching frequency is not fixed, which makes the harmonic filter design difficult. With the improvement of digital processors, new control methods have been proposed, including fuzzy, adaptive and predictive control. The fuzzy logic control strategy of a grid-connected PV inverter is used in [13], while fuzzy rules and membership functions of fuzzy control depend on experience, which has some limitations, and the control stability needs to be improved. Reference [14] proposes an adaptive control method for a 3-phase inverter in the distributed generation system. The design of adaptive control is complex. The parameter adjustment is not only time-consuming, but also needs to be tuned under various working conditions. Predictive control adopts strategies of multi-step test, rolling optimization and feedback correction, and mainly includes deadbeat, repetitive [15] and model predictive control (MPC) [16,17,18]. Because MPC can effectively overcome the uncertainty and nonlinearity of the process and deal with various constraints of spatial state variables, optimal control can be achieved by selecting the control mode that minimizes the evaluation function after establishing the system predictive model. Reference [19] studies the performance verification method of a finite control set model predictive control (FCS-MPC) strategy applied to the power electronic converter, and evaluates the performance of the algorithm using statistical model checking. Reference [20] studies the weighting factor design based on an artificial neural network of a converter under MPC, whereas in [21], MPC is applied to modular multilevel converters. The strategy of FCS-MPC is introduced into the voltage source converter and applied to an AC microgrid system in [22]. However, the above methods are focused on converters, whereas research on new energy power generation systems has been limited. This paper combines a PV power generation system with MPC to realize fast tracking of the maximum power point of PV arrays and optimization of the inverter control performance.

In order to achieve the optimal control of a grid-connected PV power generation system, and maximize the utilization of solar energy, MPC strategies for PV modules and the inverter are proposed, respectively. From the linear PV array model obtained by model identification, a model predictive controller is designed for modules. By predicting the incident light wavelength, the maximum cut-off spectral wavelength is found and filtered to reduce the module temperature and achieve maximum power tracking. The FCS-MPCC algorithm is then applied to the inverter current control in the dq coordinate system. The voltage vectors are evaluated through the predictive model and the optimized value function is established in each PWM sampling period. The voltage vector which minimizes the value function is used for the next sampling period to generate the switching control signals for the inverter. Finally, the system is simulated in Matlab/Simulink to demonstrate the performance in steady-state and dynamic operation. It shows that MPC can track the maximum power point of PV arrays and has an ability for fast current regulation. It also verifies the effectiveness of FCS-MPCC for a 3-phase grid-connected PV inverter.

Grid-connected PV power generation system model

The grid-connected PV power generation system consists of PV modules, a DC capacitor, a 3-phase inverter bridge, RL filters, step-up transformers, etc. [23], and its typical topology is shown in Fig. 1. Given the output characteristics of the PV cell, the PV array converts the absorbed solar energy into direct current under the control of MPPT, and the inverter converts the DC power to AC power, which is then transmitted to the power grid after filtering and boosting [24].

Fig. 1
figure 1

Topological structure of grid-connected PV power generation system

Mathematical model of PV array

In practical application, PV modules connect multiple single PV cells to transmit electrical energy. The relation between the output current and voltage of the PV array is given as:

$$I = I_{{\text{L}}} - I_{{{\text{sc}}}} \left[ {\exp - \left( {\frac{{q(U + IR_{{\text{s}}} )}}{AKT}} \right) - 1} \right] - \frac{{U + IR_{{\text{s}}} }}{{R_{{\text{p}}} }}$$
(1)

where \(I_{{\text{L}}}\) is the photo-generated current and \(I_{{{\text{sc}}}}\) is the reverse saturation current. \(K\) is the Boltzmann constant, \(q\) is the electron charge, \(T\) is the ambient temperature, and \(A\) is the diode factor. \(R_{{\text{s}}}\),\(R_{{\text{p}}}\) are the equivalent series and parallel resistances, respectively.

When sunlight irradiates, only a small part of the incident radiation is transformed into electrical energy by PV cells, while a large part of the energy increases the module temperature through heat transfer. However, the influence of irradiance and temperature on the output power are diametrically opposite, and the relationship between the PV module temperature and output power is given as:

$$C_{{{\text{module}}}} \frac{{{\text{d}}T_{{\text{m}}} }}{{{\text{d}}t}} = q_{{{\text{sw}}}} - q_{{{\text{lw}}}} - q_{{{\text{conv}}}} - P_{{{\text{out}}}}$$
(2)

where \(C_{{{\text{module}}}}\) is the module heat capacity, \(T_{{\text{m}}}\) is the module temperature, \(q_{{{\text{sw}}}} ,q_{{{\text{lw}}}}\) are the short and long wave radiations of the incident light, respectively. \(q_{{{\text{conv}}}}\) is the heat exchange and \(P_{{{\text{out}}}}\) is the output power.

Mathematical model of 3-phase PV grid-connected inverter

Considering all possible switching states of the 3-phase inverter, there are eight combinations. The inverter switching states are defined as:

$$S_{k} = \left\{ {\begin{array}{*{20}l} 1 \hfill & {{\text{(The}}\;{\text{upper }}\;{\text{arm}}\;{\text{ is}}\;{\text{ on ,the }}\;{\text{lower }}\;{\text{arm}}\;{\text{ is}}\;{\text{ off)}}} \hfill \\ 0 \hfill & {{\text{(The }}\;{\text{upper }}\;{\text{arm }}\;{\text{off }}\;{\text{on,}}\;{\text{the }}\;{\text{lower }}\;{\text{arm }}\;{\text{is}}\;{\text{ on)}}} \hfill \\ \end{array} } \right.$$
(3)

where \(k = {\text{a,b}},{\text{c}}\) is the three-phase sequence.

According to Kirchhoff’s voltage law and switching function, the mathematical model of an inverter in the 3-phase static coordinate system is shown as:

$$\left\{ \begin{aligned} Ri_{{\text{a}}} + L\frac{{{\text{d}}i_{{\text{a}}} }}{{{\text{d}}t}} = u_{{{\text{dc}}}} \left( {S_{{\text{a}}} - \frac{1}{3}\sum\limits_{{k = {\text{a}},{\text{b}},{\text{c}}}} {S_{k} } } \right) - e_{{\text{a}}} \hfill \\ Ri_{{\text{b}}} + L\frac{{{\text{d}}i_{{\text{b}}} }}{{{\text{d}}t}} = u_{{{\text{dc}}}} \left( {S_{{\text{b}}} - \frac{1}{3}\sum\limits_{{k = {\text{a}},{\text{b}},{\text{c}}}} {S_{k} } } \right) - e_{{\text{b}}} \hfill \\ Ri_{{\text{c}}} + L\frac{{{\text{d}}i_{{\text{c}}} }}{{{\text{d}}t}} = u_{{{\text{dc}}}} \left( {S_{{\text{c}}} - \frac{1}{3}\sum\limits_{{k = {\text{a}},{\text{b}},{\text{c}}}} {S_{k} } } \right) - e_{{\text{c}}} \hfill \\ \end{aligned} \right.$$
(4)

where \(i_{{\text{a}}} ,i_{{\text{b}}} ,i_{{\text{c}}}\) are the inverter output currents, \(u_{{{\text{dc}}}}\) is the DC bus voltage, and \(e_{{\text{a}}} ,e_{{\text{b}}} ,e_{{\text{c}}}\) are the 3-phase grid voltages. Through Clark transformation, the 3-phase static coordinate system is transformed into the \(\alpha \beta\) coordinate system, and the inverter output voltages are:

$$\left\{ \begin{aligned} u_{\alpha } = \sqrt{\frac{2}{3}} U_{{{\text{dc}}}} \left[ {S_{{\text{a}}} - \frac{1}{2}(S_{{\text{b}}} + S_{{\text{c}}} )} \right] \hfill \\ u_{\beta } = \frac{\sqrt 2 }{2}U_{{{\text{dc}}}} (S_{{\text{b}}} - S_{{\text{c}}} ) \hfill \\ \end{aligned} \right.$$
(5)
$$\left\{ \begin{aligned} u_{\alpha } = L\frac{{{\text{d}}i_{\alpha } }}{{{\text{d}}t}} + Ri_{\alpha } + e_{\alpha } \hfill \\ u_{\beta } = L\frac{{{\text{d}}i_{\beta } }}{{{\text{d}}t}} + Ri_{\beta } + e_{\beta } \hfill \\ \end{aligned} \right.$$
(6)

where \(u_{\alpha } ,u_{\beta }\) and \(i_{\alpha } ,i_{\beta }\) are the inverter output voltages and currents in the \(\alpha \beta\) coordinate system, respectively. \(e_{\alpha } ,e_{\beta }\) are the grid voltages in the \(\alpha \beta\) coordinate system.

By aligning the grid voltage synthesis vector \(E\) and the d-axis of the dq coordinate system [14], the inverter output active power and reactive power in the dq coordinate system are obtained as:

$$\left\{ \begin{aligned} P = \frac{3}{2}(e_{d} i_{d} + e_{q} i_{q} ) = \frac{3}{2}Ei_{d} \hfill \\ Q = \frac{3}{2}(e_{q} i_{d} + e_{d} i_{q} ) = - \frac{3}{2}Ei_{q} \hfill \\ \end{aligned} \right.$$
(7)

From (7), it can be seen that the active current \(i_{d}\) and reactive current \(i_{q}\) have a linear relationship with \(P,Q\), respectively. By independently adjusting the active and reactive currents, the inverter output active power and reactive power can be decoupled and separately controlled.

MPPT control of PV modules based on model predictive control

MPPT has become the key technology to increase output power, improve photoelectric conversion efficiency and decrease power generation cost [25]. The influence of temperature on power generation efficiency is negative, so when the surface temperature of the PV module rises, the photoelectric conversion efficiency reduces [26]. Therefore, the MPC controller is designed to predict the influence of incident light wavelength on module temperature and power, control the active filter to filter the maximum cut-off spectral wavelength, and dynamically adjust the relationship between module temperature and optimal output power, so as to minimize module temperature while maximizing output power at the same time. This not only achieves the purpose of maximum power tracking, but also improves power generation efficiency and durability. Figure 2 shows the structure block diagram of a model predictive controller for PV modules.

Fig. 2
figure 2

The structure block diagram of MPC controller of PV arrays

Mechanism model identification of PV modules

To design a model predictive controller it is necessary to obtain a linear model of PV modules. The two-step change of ultraviolet cut-off wavelength \(\lambda_{{{\text{UV}}}}\) is set as the excitation signal of system input, and the infrared cut-off wavelength \(\lambda_{{{\text{IR}}}}\) is set as 1100 nm. The ambient temperature and wind speed are obtained from a data table. The reference module temperature \(T_{{{\text{m\_f}}}}\), the change of ultraviolet cut-off wavelength \(\lambda_{{{\text{UV}}}}\) and the actual output power \(P_{{{\text{out}}}}\) are shown in Fig. 3.

Fig. 3
figure 3

Input parameters and output power of model identification

In order to ensure that the PV modules fully reach a stable state, the total simulation time is set to 2.22 h. Using the system identification toolbox in Matlab, the initial linearization model is generated by a subspace identification method, which is then further optimized by the prediction error method. The coefficients of the state space equation obtained by the identification toolbox are given in Table 1, and the fitting curve between the actual output of the system and the linear model is obtained, as shown in Fig. 4. The fitting degree reaches 92.36%. Final prediction error (FPE) is 0.01307, and mean squared error (MSE) is 0.01287.

Table 1 Coefficients of state space equation of the linearized model
Fig. 4
figure 4

Fitting curves of actual plant data and linear model

Design of the model predictive controller for PV arrays

Theory of model predictive control

MPC is a model-based closed-loop optimal control strategy [27], and the mathematical model describing the research object in discrete form is given as:

$$\left\{ \begin{aligned} x(k + 1) = Ax(k) + Bu(k) \hfill \\ y(k) = Cx(k) + Du(k) \hfill \\ \end{aligned} \right.$$
(8)

where \(k\) is the sampling time, \(u\) is the input vector, \(y\) is the output vector, and \(x\) is the state variable. When the input and output variables are defined as \(U\) and \(Y\), the output prediction sequence is defined as:

$$Y = Fx(k_{i} ) + \Phi U$$
(9)

where\(F = [CA \, CA^{2} \, \cdots \, CA^{{N_{p} }} ]^{{\text{T}}}\), and

$$\Phi = \left[ {\begin{array}{*{20}c} {CB} & 0 & 0 & \cdots & 0 \\ {CAB} & {CB} & 0 & \cdots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ {CA^{{N_{p} - 1}} B} & {CA^{{N_{p} - 2}} B} & {CA^{{N_{p} - 3}} B} & {} & {CA^{{N_{p} - N_{c} }} B} \\ \end{array} } \right]$$

The objective function is defined as:

$$J = (R_{s} - Y)^{{\text{T}}} (R_{s} - Y) + U^{{\text{T}}} \overline{R}U$$
(10)

where \(\overline{R}\) is the weight of the input influence on the objective function and \(R_{s}\) is the expected output.

When the predictive control achieves the optimal control objective, the objective function takes the minimum value, as:

$$\frac{\partial J}{{\partial U}} = 0 \Rightarrow U = (\Phi^{{\text{T}}} \Phi + \overline{R})^{ - 1} \Phi^{{\text{T}}} (R_{s} - Fx(k_{i} ))$$
(11)

The predicted value of the state variable at the next time is:

$$x(k_{i} + 1) = Ax(k_{i} ) + Bx(k_{i} ) = (A - BK_{x} )x(k_{i} ) + BK_{y} r(k_{i} )$$
(12)

where \(K_{x}\) is the first row of matrix \((\Phi^{T} \Phi + \overline{R})^{ - 1} \Phi^{{\text{T}}} F\), \(K_{y}\) is the first element of matrix \((\Phi^{T} \Phi + \overline{R})^{ - 1} \Phi^{{\text{T}}} R_{s}\), and \(r(k_{i} )\) is the expected value of \(r\) dimensional output at a certain sampling time.

The output prediction value of the system is:

$$y(k_{i} + 1) = C(A - BK_{x} )x(k_{i} ) + CBK_{y} r(k_{i} )$$
(13)

From the above inference, the structure of the MPC system is shown in Fig. 5.

Fig. 5
figure 5

Structure block diagram of MPC system

Design process of PV modules MPC controller

The aim of the MPC controller is to maximize the output power by filtering the spectral wavelength to control the module temperature to track the reference value. Because the PV power generation is limited by the natural environment, the input, output and errors are constrained as follows:

$$\begin{aligned} & 300\;{\text{nm}} \le \lambda_{{{\text{UV}}}} \le 430\;{\text{nm}},{ 0}\;{\text{nm}} \le \Delta \lambda_{{{\text{UV}}}} \le 130\;{\text{nm}} \\ & 262\;{\text{K}} \le T_{{\text{m}}} \le 482\;{\text{K}}, \, - {100}\;{\text{K}} \le \Delta T_{{\text{m}}} \le 100\;{\text{K}} \\ \end{aligned}$$

To obtain the optimum output power at a given ambient temperature, the quantitative relationship between the ambient temperature and the module temperature is simulated according to the actual measurement data. The reference value of the module temperature is calculated as:

$$T_{{{\text{mf}}}} = 0.9155T_{{{\text{amb}}}} + 80.01$$
(14)

where \(T_{{{\text{amb}}}}\) is the ambient temperature.

The simulation of an MPC controller of PV modules is established in Simulink/Matalb, as shown in Fig. 6, with sampling time \(T_{{\text{s}}} { = }10\), prediction step \(N_{{\text{P}}} { = }10\) and control step \(N_{{\text{m}}} { = }2\).

Fig. 6
figure 6

Simulation diagram of MPC controller of PV modules in Simulink

It can be seen from the results in Fig. 7 that the module temperature is slightly lower than the reference temperature in the first hour of the simulation. The minimum value of \(\lambda_{{{\text{UV}}}}\) is 300 nm and the maximum value is 430 nm. This does not exceed the constraint range. In the second hour of the simulation, although there is a small fluctuation in the module temperature, the temperature tracking effect has been achieved. At about 2 h, the power gradually reaches the maximum value. Overall, MPC tracking performance is fast and good, and the purpose of MPPT is realized.

Fig. 7
figure 7

Simulation results of the MPC controller of PV modules

Control of the 3-phase PV grid-connected inverter

Feedforward decoupling control of inverter based on PI regulation

The feedforward decoupling control strategy based on double-loop PI regulation is a common PWM inverter control strategy. Its core is the design of a DC voltage outer loop, a current inner loop and PI regulators. The structure of inverter control strategy is shown in Fig. 8.

Fig. 8
figure 8

Feedforward decoupling control structure of the grid-connected PV inverter based on PI regulation

In order to prevent the mutual influence between \(d,q\) axes in the current inner loop and eliminate the influence between active and reactive power, decoupling control is used, as:

$$\left\{ \begin{aligned} U_{d} = - \left( {K_{ip} + \frac{{K_{il} }}{s}} \right)(i_{dref} - I_{d} ) + \omega LI_{q} + e_{d} \hfill \\ U_{q} = - \left( {K_{ip} + \frac{{K_{il} }}{s}} \right)(i_{qref} - I_{q} ) - \omega LI_{d} + e_{q} \hfill \\ \end{aligned} \right.$$
(15)

where \(K_{il} ,K_{ip}\) are the proportional and integral regulation coefficients of the current inner loop PI regulators, respectively.

The feedforward decoupling control of an inverter based on a PI regulator combines SVPWM and feedforward decoupling control strategy. The control process is as follows: (1) Phase-locked loop is used to obtain the rotating flux position angle θ; (2)\(i_{d} ,i_{q}\) are obtained by coordinate transformation; (3) According to the feedback currents \(i_{{d{\text{ref}}}} ,i_{{q{\text{ref}}}}\), the PI controllers are used to control the current inner loop to obtain \(u_{d} ,u_{q}\); (4)\(u_{d} ,u_{q}\) are transformed into \(u_{\alpha } ,u_{\beta }\) through the \(dq\) to \(\alpha \beta\) coordinate transformation; (5)\(u_{\alpha } ,u_{\beta }\) are input to the SVPWM module to generate PWM signals to control the inverter.

Model predictive current control (MPCC) of the 3-phase inverter

The MPCC technology uses current and past states to predict inverter current values in the next switching cycle derived from an accurate mathematical model of the system. The optimal value function is then used to select the optimal switch combination, so as to precisely track the current information [28]. The prediction model and system optimization value function are determined as follows:

The predictive model is the basic element of the MPCC algorithm. The Forward Euler is used to discretize (6) to obtain the current prediction value at \(k + 1\) time, as:

$$\left\{ \begin{aligned} i_{\alpha } (k + 1) = (1 - \frac{{RT_{{\text{s}}} }}{L})i_{\alpha } (k) + \frac{{T_{{\text{s}}} }}{L}\left[ {u_{\alpha } (k) - e_{\alpha } (k)} \right] \hfill \\ i_{\beta } (k + 1) = (1 - \frac{{RT_{{\text{s}}} }}{L})i_{\beta } (k) + \frac{{T_{{\text{s}}} }}{L}\left[ {u_{\beta } (k) - e_{\beta } (k)} \right] \hfill \\ \end{aligned} \right.$$
(16)

where \(T_{{\text{s}}}\) is the sampling period. Transforming (16) into dq coordinates yields the discrete space state prediction model of the grid-connected inverter, as:

$$\left\{ \begin{aligned} i_{d} (k + 1) = i_{\alpha } (k + 1)cos\theta + i_{\beta } (k + 1)\sin \theta \hfill \\ i_{q} (k + 1) = - i_{\alpha } (k + 1)\sin \theta + i_{\beta } (k + 1)\cos \theta \hfill \\ \end{aligned} \right.$$
(17)

where \(\theta\) is the angle between the a-axis and d-axis, and \(i_{d} (k + 1),i_{q} (k + 1)\) are the dq axis components of the predicted current at \(k + 1\) time.

The optimal value function uses the quadratic performance index of prediction error to select the optimal combination of switching variables from different prediction values to minimize the error between the output current and the reference current at \(k + 1\) time. The value function is constituted by the quadratic difference between the predicted current value and the reference current value at \(k + 1\) time, as:

$$g = \left[ {i_{d}^{ * } (k + 1) - i_{d} (k + 1)} \right]^{2} + \left[ {i_{q}^{ * } (k + 1) - i_{q} (k + 1)} \right]^{2}$$
(18)

where \(i_{d}^{ * } (k + 1),i_{q}^{ * } (k + 1)\) are the dq axis current references at \(k + 1\) time.

The FCS-MPCC algorithm flow is presented in Fig. 9, and the structure of FCS-MPCC for the PV inverter is shown in Fig. 10. The details of the control strategy mainly include the following 6 parts:

  1. 1.

    The measurement module. Through real-time measurements of grid voltages, inverter currents and DC bus voltages, the actual operating data is transmitted to the prediction model.

  2. 2.

    PLL. PLL provides the phase angle for coordinate transformation and calculation of the prediction model.

  3. 3.

    Prediction model. The prediction model uses the recursive relationship in (17) to calculate the current prediction value at \(k + 1\) time through the measured value of the system at \(k\) time.

  4. 4.

    Optimize the value function. The quadratic error of the reference current and the predicted current at \(k + 1\) time is taken as the optimization value function in (18).

  5. 5.

    Current reference. The active current reference comes from the outer DC voltage loop, i.e., the reference voltage \(U_{{{\text{dcref}}}}\) of the PV module is generated by MPPT control, and is then compared to the measured DC bus voltage \(U_{{{\text{dc}}}}\), before passing to a PI regulator. In order to be connected to the power grid with unit power factor, the reactive current reference is set to 0.

  6. 6.

    Signal driver. From the optimized value function, the switch state corresponding to the minimum value function is taken as the optimal switch state of the following sampling period, and the power semiconductor devices are switched accordingly.

Fig. 9
figure 9

The algorithm flow of FCS-MPCC

Fig. 10
figure 10

FCS-MPCC control structure of the PV inverter

Simulation verification and analysis

A simulation model is built in MATLAB to verify the feasibility of the control strategy. In order to implement the control effect, the FCS-MPCC algorithm is programmed through the S-function. The system model is shown in Fig. 11, the sampling period is set to 2 × 10–5 s, and the parameters of the simulated system are shown in Table 2.

Fig. 11
figure 11

Simulation model of a grid-connected PV power generation system

Table 2 Parameters of the simulated system

Figure 12a, b show the response curves of the PV array output DC voltage and current, and the active and reactive power into the grid during sudden changes of irradiance and temperature, respectively. As can be seen, when irradiance and temperature change suddenly at 1.0 s and 2.0 s respectively, the voltage is adjusted quickly to follow the maximum power point, and the MPPT tracking effect is effectively realized by the MPC controller. It is also seen that the FCS-MPCC algorithm quickly stabilizes the inverter output power at the maximum power point after disturbances at 1.0 s and 2.0 s. In addition, as shown in Fig. 12, the increase of irradiance leads to a power increase indicating a positive relationship between the light intensity and PV output power, while temperature change is inversely related to PV output power. This is in line with the theory of PV power generation.

Fig. 12
figure 12

Response curves of PV arrays output during external conditions changes a PV arrays output during sudden change of irradiance, b PV arrays output during sudden change of temperature

Figure 13 presents the active powers into the grid and the voltages at the point of common coupling (PCC) under different grid faults. Four different types of faults are applied at 1.5 s, and cleared after 0.5 s. It is seen from Fig. 13 that the active power and voltage can reach stable states within 0.2 s after fault clearance. This indicates that the grid-connected PV inverter with FCS-MPCC strategy can operate during faults with fast response. It can be seen from the partial enlarged diagram that the power oscillation and voltage fluctuation caused by the three-phase fault are the most severe, and have the greatest impact on the stability of the system, while the single-phase fault has the least impact. This is in line with practical working conditions.

Fig. 13
figure 13

Response curves of system under short circuit faults a comparison of active powers into power grid under different faults, b comparison of voltages at PCC under different faults

System performance with the traditional feedforward decoupling PI control and the proposed FCS-MPCC control method is shown in Figs. 14 and 15, respectively. During the simulation, the active current reference \(i_{{d{\text{ref}}}}\) is provided by the voltage outer loop, with the reactive current reference \(i_{{q{\text{ref}}}} = 0{\text{A}}\). The parameters of the traditional feedforward decoupling PI controller are given in Table 3.

Fig. 14
figure 14

A-phase waveforms of inverter with traditional feedforward decoupling PI control under initial condition a A-phase voltage and current at PCC, b harmonic analysis of A-phase grid current, c active and reactive power into power grid, d power factor

Fig. 15
figure 15

A-phase waveforms of inverter with FCS-MPCC under initial condition a A-phase voltage and current at PCC, b harmonic analysis of A-phase grid current, c active and reactive power into power grid, d power factor

Table 3 Parameters of PI controller

It can be seen from Figs. 14 and 15 that after initial transients, both methods reach stable operational states. The voltage and current are in phase, the system realizes the operation of unity-power factor, and the total harmonic distortion (THD) rate of grid current is less than 5%. This achieves the grid connection requirements.

Comparing the THD of the grid current shown in Figs. 14b and 15b shows that the current THD is reduced from 4.82% with the traditional feedforward decoupling PI control to 2.54% with the proposed FCS-MPCC. In addition, as seen from Figs. 14c, d and 15c, d, the system under FCS-MPCC strategy only takes 0.08 s to reach stable operation, compared to 0.15 s with the traditional feedforward decoupling PI control. Overall, the quality of the output waveforms is greatly improved, and the control accuracy is significantly increased with the proposed FCS-MPCC method.

To test the stability of the system under abnormal operating conditions, the initial conditions of the system are changed. The references of the active and reactive currents are suddenly changed to \(i_{{d{\text{ref}}}} = 0.78{\text{A}}\) and \(i_{{q{\text{ref}}}} = - 0.45{\text{A}}\) at 0.2 s. The simulation results with the FCS-MPCC method and the traditional feedforward decoupling PI control are compared in Fig. 16.

Fig. 16
figure 16

Comparisons of waveforms with FCS-MPCC and traditional feedforward decoupling PI control after changing initial conditions a active current, b reactive current, c inverter output active power, d inverter output reactive power

As can be seen from Fig. 16a, b, compared with the traditional feedforward decoupling PI control, \(i_{d} ,i_{q}\) can better track \(i_{{d{\text{ref}}}} ,i_{{q{\text{ref}}}}\) with FCS-MPCC strategy. Comparing the response speed of the active power and reactive power shown in Fig. 16c, d, FCS-MPCC strategy takes 0.05 s, while the feedforward decoupling PI controller requires 0.08 s, indicating better dynamic response of FCS-MPCC through decoupling control of active and reactive power. In addition, the reactive power transmission to the grid can be controlled by the q-axis current.

Conclusion

This paper addresses the optimal control problem of a grid-connected PV inverter system and optimizes the tracking performance of MPPT. To better deal with the small external constraints and system interference, an MPC-based MPPT method for PV arrays and an FCS-MPCC strategy for the inverter in dq coordinate are proposed. The steady-state and dynamic performance of the MPC-based system are verified by simulation under different external constraints, faults, and change of initial conditions. The performance is also compared with the traditional feedforward decoupling PI controller. The following conclusions are obtained:

  1. 1.

    During sudden change of the external factors (ambient temperature, irradiance) or power grid faults, the grid-connected PV power generation system with MPC has rapid response speed, good anti-interference ability and satisfactory dynamic response. The MPC controller can quickly track the maximum power point of the PV array and output stable active power. This effectively increases the tracking sensitivity and accuracy of a PV power generation system, and improves the MPPT control performance.

  2. 2.

    Under FCS-MPCC, the grid current and voltage can be precisely controlled to operate in unity-power factor. Compared to the feedforward decoupling PI controller, the proposed FCS-MPCC results in lower current THD, better power quality, faster current tracking and improved dynamic performance.

Availability of data and materials

All data used or analyzed during this study are included in the published article.

Abbreviations

\(S\) :

Irradiance

\(T\) :

Ambient temperature

\(U_{{{\text{oc}}}}\) :

Open-circuit voltage

\(I_{{{\text{sc}}}}\) :

Short-circuit current

\(U_{{\text{m}}}\) :

Peak voltage

\(I_{{\text{m}}}\) :

Peak current

\(N_{{\text{s}}}\) :

Number of PV modules in series

\(N_{{\text{p}}}\) :

Number of PV modules in parallel

\(P\) :

Rated power of grid-connected PV power generation system

\(f\) :

Power frequency

\(C_{{{\text{dc}}}}\) :

Voltage stabilizing capacitor

\(L\) :

Filter inductor

\(R\) :

Filter resistor

\(U_{{{\text{dc}}}}\) :

The DC bus voltage

\(P_{{{\text{T1}}}}\) :

Rated power of 1#transformer

\(P_{{{\text{T2}}}}\) :

Rated power of 2#transformer

References

  1. Ostad-Ali-Askari, K., Ghorbanizadeh Kharazi, H., Shayannejad, M., & Zareian, M. J. (2019). Effect of management strategies on reducing negative impacts of climate change on water resources of the Isfahan-Borkhar aquifer using MODFLOW. River Research and Applications, 35(6), 611–631.

    Article  Google Scholar 

  2. Ostad-Ali-Askari, K., Ghorbanizadeh Kharazi, H., Shayannejad, M., & Zareian, M. J. (2020). Effect of Climate change on precipitation patterns in an arid region using GCM models: Case study of Isfahan-Borkhar plain. Natural Hazards Review, 21(2), 04020006.

    Article  Google Scholar 

  3. Ostad-Ali-Askari, K., Su, R. D., & Liu, L. M. (2018). Water resources and climate change. Journal of Water and Climate Change, 9(2), 239.

    Article  Google Scholar 

  4. Magdy, G., Mohamed, E. A., Shabib, G., et al. (2018). Microgrid dynamic security considering high penetration of renewable energy. Protection and Control of Modern Power Systems, 3(1), 1–11.

    Article  Google Scholar 

  5. Shan, Y. H., Hu, J. F., & Guerrero, J. M. (2019). A model predictive power control method for pv and energy storage systems with voltage support capability. IEEE Transactions on Smart Grid, 11(2), 1018–1029.

    Article  Google Scholar 

  6. Chaibi, Y., Allouhi, A., Salhi, M., & EI-jouni, A. (2019). Annual performance analysis of different maximum power point tracking techniques used in photovoltaic systems. Protection and Control of Modern Power Systems, 4(1), 1–10.

    Article  Google Scholar 

  7. Shang, L., Guo, H., & Zhu, W. (2020). An improved MPPT control strategy based on incremental conductance algorithm. Protection and Control of Modern Power Systems, 5(1), 1–8.

    Article  Google Scholar 

  8. Peter, P. K., & Agarwal, V. (2016). Photovoltaic module-integrated stand-alone single-stage switched capacitor inverter with maximum power point tracking. IEEE Transactions on Power Electronics, 32(5), 3571–3584.

    Article  Google Scholar 

  9. Nishant, K., Ikhlaq, H., Bhim, S., et al. (2017). Rapid MPPT for uniformly and partial shaded PV system by using JayaDE algorithm in highly fluctuating atmospheric conditions. IEEE Transactions on Industrial Informatics, 13(5), 2406–2416.

    Article  Google Scholar 

  10. Venkatramanan, D., & John, V. (2019). Dynamic modeling and analysis of buck converter based solar PV charge controller for improved MPPT performance. IEEE Transactions on Industry Applications, 55(6), 6234–6246.

    Article  Google Scholar 

  11. Gao, F. Y., Du, Q., Qiao, Y., & Qiang, G. D. (2018). Decoupling control strategy with inverter-side current feedback for LCL-type three-phase PV grid-connected inverter. Power System Protection and Control, 46(09), 122–128.

    Google Scholar 

  12. Dhimish, M., & Chen, Z. (2019). Optimized design of multiresonant AC current regulators for single-phase grid-connected photovoltaic inverters. IEEE Journal of Photovoltaics, 9(6), 1815–1818.

    Article  Google Scholar 

  13. Hannan, M. A., Ghani, Z. A., Mohamed, A., & Uddin, M. N. (2015). Real-time testing of a fuzzy-logic-controller-based grid-connected photovoltaic inverter system. IEEE Transactions on Industry Applications, 51(6), 4775–4784.

    Article  Google Scholar 

  14. Wai, R. J., Lin, Y. F., & Liu, Y. K. (2015). Design of adaptive control and fuzzy neural network control for single-stage boost inverter. IEEE Transactions on Industrial Electronics, 62(12), 5434–5445.

    Article  Google Scholar 

  15. Qu, A. W., & Chen, D. L. (2017). Three-phase voltage-fed quasi-z-source photovoltaic grid-connected inverter system with repetitive control. Power System Technology, 41(06), 1997–2006.

    Google Scholar 

  16. Jin, N., Hu, S. Y., Cui, G. Z., & Jiang, S. X. (2015). Finite state model predictive current control of grid-connected inverters for PV systems. Proceedings of the CSEE, 35(1), 190–196.

    Google Scholar 

  17. Yang, J., Gu, D. D., Sun, M. H., et al. (2016). Multi-objective optimization model-predictive control of PV grid-connected inverters. Power System Protection and Control, 44(15), 112–119.

    Google Scholar 

  18. Morfin-Magaa, R., Rico-Melgoza, J. J., Ornelas-Tellez, F., & Vasca, F. (2019). Complementarity model of a photovoltaic power electronic system with model predictive control. IEEE Transactions on Circuits and Systems I: Regular Papers, 66(11), 4402–4414.

    MathSciNet  Article  Google Scholar 

  19. Novak, M., Dragicevic, T., Blaabjerg, F., & Nyman, U. M. (2017). Analytical performance verification of FCS-MPC applied to power electronic converters: A model checking approach. In 2017 IEEE 18th workshop on control and modeling for power electronics (pp. 1–6). IEEE: California.

  20. Dragicevic, T., & Novak, M. (2018). Weighting factor design in model predictive control of power electronic converters: An artificial neural network approach. IEEE Transactions on Industrial Electronics, 66(11), 8870–8880.

    Article  Google Scholar 

  21. Wang, J., Liu, X., Xiao, Q., Zhou, D., Qiu, H., & Tang, Y. (2020). Modulated model predictive control for modular multilevel converters with easy implementation and enhanced steady-state performance. IEEE Transactions on Power Electronics, 35(9), 9107–9118.

    Article  Google Scholar 

  22. Dragicevic, T. (2017). Model predictive control of power converters for robust and fast operation of AC microgrids. IEEE Transactions on Power Electronics, 33(7), 6304–6317.

    Article  Google Scholar 

  23. Liao, C. Y., Lin, W. S., Chen, Y. M., & Chou, C. Y. (2016). A PV micro-inverter with PV current decoupling strategy. IEEE Transactions on Power Electronics, 32(8), 6544–6557.

    Article  Google Scholar 

  24. Salman, S., Xin, A. I., & Zhou, W. U. (2018). Design of a P-&-O algorithm based MPPT charge controller for a stand-alone 200W PV system. Protection and Control of Modern Power Systems, 3(1), 1–8.

    Article  Google Scholar 

  25. Dabra, V., Paliwal, K. K., Sharma, P., & Kumar, N. (2017). Optimization of photovoltaic power system: A comparative study. Protection and Control of Modern Power Systems, 2(1), 1–11.

    Article  Google Scholar 

  26. Abdel-Rahim, O., & Wang, H. (2020). A new high gain DC-DC converter with model-predictive-control based MPPT technique for photovoltaic systems. CPSS Transactions on Power Electronics and Applications, 5(2), 191–200.

    Article  Google Scholar 

  27. Scoltock, J., Geyer, T., & Madawala, U. K. (2015). Model predictive direct power control for grid-connected NPC converters. IEEE Transactions on Industrial Electronics, 62(9), 5319–5328.

    Article  Google Scholar 

  28. Bayhan, S., Trabelsi, M., Abu-Rub, H., & Malinowski, M. (2017). Finite-control-set model-predictive control for a quasi-Z-source four-leg inverter under unbalanced load condition. IEEE Transactions on Industrial Electronics, 64(4), 2560–2569.

    Article  Google Scholar 

Download references

Acknowledgements

Not applicable.

Funding

This work was supported by National Science Foundation of China (61563032, 61963025), Project supported by Gansu Basic Research Innovation Group (18JR3RA133), Industrial Support and Guidance Project for Higher Education Institutions of Gansu Province (2019C-05), Open Fund Project of Key Laboratory of Industrial Process Advanced Control of Gansu Province (2019KFJJ02).

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and commented on previous versions of the manuscript. YZ modeled the system, designed the algorithms of control strategy and wrote the paper. AA brought up the original conception and provided the technical guidance as a corresponding author. YX checked the data and tested simulation model in the paper. QW and MW contributed to revise and typeset the manuscript. All authors read and approved the final manuscript.

Author's information

Yingying Zhao, (1997-), female, postgraduate, the main research direction is renewable energy access to Smart Grid.

Aimin An, (1972-), male, Ph.D. and Professor, Major in the artificial intelligence control technology, advanced industrial process control, renewable energy access to Smart Grid.

Yifan Xu, (1996-), male, postgraduate, the main research direction is renewable energy access to Smart Grid.

Qianqian Wang, (1995-), female, Ph.D. candidate, Major in the artificial intelligence control technology and advanced industrial process control.

Minmin Wang, (1995-), female, postgraduate, the main research direction is renewable energy access to Smart Grid.

Corresponding author

Correspondence to Aimin An.

Ethics declarations

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Zhao, Y., An, A., Xu, Y. et al. Model predictive control of grid-connected PV power generation system considering optimal MPPT control of PV modules. Prot Control Mod Power Syst 6, 32 (2021). https://doi.org/10.1186/s41601-021-00210-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s41601-021-00210-1

Keywords

  • Grid-connected PV power generation system
  • Model predictive control
  • Maximum power point tracking
  • Inverter
  • Optimal value function