Research Article  Open Access
OutputFeedback Nonlinear Adaptive Control Strategy of the SinglePhase GridConnected Photovoltaic System
Abstract
This paper addresses the problem of controlling the singlephase grid connected to the photovoltaic system through a full bridge inverter with LCLfilter. The control aims are threefold: (i) imposing the voltage in the output of PV panel to track a reference provided by the MPPT block; (ii) regulating the DClink voltage to guarantee the power exchange between the source and AC grid; (iii) ensuring a satisfactory power factor correction (PFC). The problem is dealt with using a cascade nonlinear adaptive controller that is developed making use of slidingmode technique and observers in order to estimate the state variables and grid parameters, by measuring only the grid current, PV voltage, and the DC bus voltage. The control problem addressed by this work involves several difficulties, including the uncertainty of some parameters of the system and the numerous state variables are inaccessible to measurements. The results are confirmed by simulation under MATLAB∖Simulink∖SimPowerSystems, which show that the proposed regulator is robust with respect to climate changes.
1. Introduction
The global concern about climate change and the growing energy demand of industrialized countries have necessarily led to exploring other new sources like the renewable energy. The main advantages of this type of renewable energies reside in the reduction of pollution caused by the production of greenhouse gases. Among different types of these energies, the photovoltaic energy has obtained a great attention.
The photovoltaic energy systems are classified according to their use. The two principal classifications are gridconnected systems and standalone systems. The first one is connected to the grid through a threephase or singlephase inverter; this category is used to deliver the power directly to utility grid and must be properly controlled according to power electrical legislations. The second one is used with a battery bank for electrifying remote rural areas.
The power factor correction, the DC output voltage regulation, and the maximization of the power provided by the PV modules are the main control objectives for allowing high power quality to the grid. To meet these requirements, various control methods have been proposed in [1–3]. Indeed, [4] proposed a passivity based control. However, this technique requires being in a passive state. In [5], the proportional resonant (PR) controller is designed. The latter provides acceptable dynamic performance and eliminates the steadystate error. In [6, 7] a slidingmode controller (SMC) is used to have an excellent robustness and a very good steadystate performance as well as a fastdynamic response. In [8] the authors propose a control law based on backstepping [9] and Lyapunov function so as to stabilize the global system.
In the literature, a few papers dealt with statefeedback control [10] and state observer design at the same time. In [11] a statefeedback control law is combined with observer to enhance disturbance rejection capability of a gridconnected photovoltaic inverter. In order to achieve the third goal, it is important that the PV system operates at its optimal power point, and for this task a maximum power point tracking is required.
In this work, we seek a control strategy that meets the following three control objectives simultaneously:(i)Perfect power factor correction (PFC): the grid phase currents and its corresponding voltages must be in phase.(ii)DC output voltage regulation: this voltage must be tightly regulated to a constant reference value to ensure the power exchange between AC grid and the DC bus.(iii)Maximization of the power provided by the PV models.
To achieve the above objectives, a cascaded nonlinear adaptive controller is designed. The latter is constituted by a PV voltage loop and grid current loop. The first one is designed to extract the maximum power from the PV array by regulating the voltage provided by the PV generator. The second one includes the inner loop and aims to regulate the grid current to meet the PFC, and the outer loop is intended to enhance the power exchange, between the source and the grid, by regulating the DClink voltage. These loops are designed based on slidingmode technique combined with a Luenberger and extended Kalman filter type. Compared to previous works, the contribution of the present study enjoys several interesting features including the following:(i)Several control objectives are simultaneously considered (MPPT, DC Regulation, and PFC) while only some of these objectives have been tackled in previous works [12, 13].(ii)The nonlinearity of the controlled system was preserved [14] in order to keep all the properties of the studied system.(iii)The grid voltage is not accessible to measurement and the internal impedance is assumed to be unknown, unlike previous works which assumed that voltage is available and the grid impedance is null or known [15–17].(iv)The present nonlinear adaptive control system does not necessitate many sensors for the measurement of some needed variables unlike previous works [18].
The paper is structured as follows: in Section 2, a mathematical model and description of all system stage are described. In Section 3, the design of the cascade nonlinear adaptive controller is presented. Section 4 covers the simulation results and discussion about the results. The conclusion is in the end.
2. System Description
This section describes the modelling of photovoltaic system connected to the grid. The power plant under study is shown in Figure 1. It consists of a PV panel, a DCDC boost converter that drains the energy from the photovoltaic module and feed the DC bus capacitor, and a full bridge singlephase inverter with LCLfilter used at the output of the converter to achieve a satisfactory total harmonic distortion of the injected current.
By analyzing the circuit and applying the wellknown Kirchhoff laws, the equations describing the dynamics of the system of Figure 1 are given below:or and are the voltage and the current generated by PV array, is DClink voltage, and are the current and voltage of the grid, designates the input current chopper, and and are the switching functions given by
The above instantaneous model (1a)–(1f) cannot be used directly for controller design as it involves the binary inputs, namely, and . To overcome this problem, let us use the averaging model (3a)–(3f). The state variables , , , , , and are replaced by their average values , , , , , and over a cutting period. The control inputs and denote the average values of and , respectively.
The supply net voltage is considered inaccessible to measurement. Equation (3a) is completed with the internal model of the grid voltage signal . In particular,where and denote, respectively, the amplitude and the angular frequency of . The inaccessible states and unknown parameters are presented in Table 1.

3. Control Strategies of the System
In this section, an outputfeedback nonlinear controller will be synthetized. As represented by the averaging model (3a)–(3f) the system has two control inputs . The controllers (Figure 2) will be designed to achieve the three main objectives mentioned previously.
In addition, the observers are designed to estimate the values of unmeasurable states. The first task is dedicated to the design of the observers and the second task is devoted to development of an outputfeedback nonlinear controllers.
3.1. State Observer Design
The purpose of the present subsection is to design the observers, which provide accurate estimates of states variables and use them later to develop an outputfeedback controller such that the estimation errors converge to zero. For that, an adaptive observer and Luenberger observer [19] are designed to estimate the state variables , and based only on the measurement of the states .
The model described by (3a)–(3f) can be given in the following two subsystems, denoted by and withwhere
Obviously and are the measured output of the PV system connected to the grid.
The design strategy consists in synthesizing separately an observer for each one of subsystems (6a)(6b). In the first step, a linear observer is designed for subsystem . In the second step, an adaptive observer is designed for subsystem .
3.1.1. Linear Observer
The form of system suggests the following Luenberger observer for the estimation of the unknown state variables :where are the observer gain.
From (6a) and (8) one obtains the estimation error dynamics: with .
The gain vector is selected to make a Hurwitz matrix, which will guarantee the asymptotic error convergence.
Introduce the following Lyapunov function candidate:where is asymmetric positive definite matrix. The derivative of along the trajectory of is given byThe matrix is chosen as , where denotes the identity matrix, and this choice leads to
3.1.2. Adaptive Observer
The system is stateaffine in the sense that all unknown states come in linearly. According to the [18] methodology the following adaptive observer is developed to estimate the state variables for subsystem :where is the solution of the fallowing equation:The matrix is ensured bounded positive definite provided the following persistent excitation condition holds:for some constants , where denotes the transition matrix for the subsystem , , and is a positive definite bounded matrix. The system can be seen as a linear timevarying system parameterized by initial conditions as soon as the function is fixed.
To study the convergence of the proposed observer (13), defining the estimation error as its dynamics are given by
Proof. To analyze the error system (17), the following Lyapunov function candidate is considered:Its time derivative is given bywhere and are any positive constants.
Proposition 1. Under condition (15), the estimation error (17) is exponentially vanishing; that is, the estimate converges exponentially to its true value with a rate driven by [19].
3.2. OutputFeedback Controller
The PV output voltage is regulated by controlling the switching device of the boost converter, while the DClink voltage and the grid current are adjusted through the switching devices of the inverter.
3.2.1. Control of Boost Chopper (PV Voltage Controller)
The control objective is to enforce the voltage provided by the PV panel to track the desired signal in order to achieve maximum power point. This regulator consists of two loops: a loop for seeking of the nominal power point, in which we used the IncCond algorithm, and a loop for regulating the voltage . Then, to reach these aims, we seek a control law of slidingmode type. This law takes the following form:where is nominal control, it keeps the system on the sliding surface, and is discontinuous control, and it allows to reach the sliding surface.
To design a controller for subsystem (3d)(3e), the error is defined as follows:Its dynamic are
In order to stabilize subsystem (3d)(3e), the slidingmode control technique is used. The sliding surface is defined as follows:where is the parameter of the sliding surface.
The dynamics of the surface are given by
The equivalent command is calculated by means of the method of “Utkin”; setting the sliding surface , the nominal control law can be defined asand, to elaborate the discontinuous control, consider the following Lyapunov function candidate:and its dynamics are given byUsing (20) and (25), the dynamics of the Lyapunov function are written as:One seeks of the type This choice guaranties the negativity of the dynamics of Lyapunov function:where is positive parameter. The final control law is given by
Proposition 2. Consider the closedloop control system, consisting of system (6b) in closed loop with the control law (31) and the state adaptive observer error (17). Its dynamic behaviour, expressed in coordinates, is governed by the following equations:System (32) is globally asymptotically stable with respect to the Lyapunov functions (18) and (26).
3.2.2. Control of SinglePhase Inverter
To guarantee high performance transmission of the power and good functioning of the system, the current and voltage grid should be in phase. Hence, there is a necessity for regulator that enforces the estimate current to track a given reference current , where β is computed from the output of the outer loop voltage. The proposed controller uses a cascaded loop: an outer voltage loop and an inner current loop. The former compares the sensing DC bus voltage in the link capacitor with the given reference, whereas the latter uses slidingmode controller to regulate the grid current allowing the synchronization of the currents with utility grid voltages .
(i) Network Voltage and Impedance Observer. It is readily checked that equations (3a) and (5a)(5b) could be given the following compact form:with
Then, (33) suggests the following state observer [19] for the estimation of the inaccessible state vector and the unknown parameter vector :The notation and , respectively, denote the estimate of the state variables and the estimate of the unknown parameters . and are symmetric positive definite matrices with and . Furthermore, and are positive constants that ensure the rapid convergence of the observers. The dynamic is an auxiliary system that can be seen as filter.
The convergence properties of the adaptive observer are analyzed based on the following error system dynamics:with the errors , , and , and, following the same idea as in [19], we indeed getOne can choose the Lyapunov function (38), to analyze the convergence properties of the observers (35a)–(35e): Its time derivation leads to the following inequality:knowing thatand this implies thatwith .
The stability results are summarized in the proof which can be found in [11]. Therefore, the error system is exponentially stable with a rate driven by .
(ii) Power Factor Correction (Inner Current Loop). We seek a law control of slidingmode type. For the PV system connected to the singlephase grid represented by the average model of (3a)–(3c) and (5a), the slidingmode control which ensures that the error tends asymptotically to zero in finite time can be written as follows:To design this controller, one defines the sliding surface:where is the relative degree of the system, and is the error between the signal and its reference . The surface is given byConsider the first derivative ofThe command appears in the first derivative of the sliding surface. Then the equivalent command is deduced from of invariance of the surface . One obtained
To elaborate the discontinuous control, consider the following Lyapunov function candidate:Its dynamics are given byDifferentiating with respect to time, using (42) and (45), the dynamics of the Lyapunov function are written asMoreover, (48) shows that, to ensure the stability of the closedloop system, a choice for is of the formThe choice of (49) guarantees the negativity of the dynamics of Lyapunov function, sowhere is positive parameter and is the sign function defined as follows:The overall law is given byIn order to minimize the chattering effect generated by the discontinuity of the function at the point zero, we propose replacing in the previous control laws (31) and (52) this function by the modified function, namely, which is closer to the function but it is continuous especially at the point zero. The real positive constant is selected sufficiently small to better approach the function .
Figure 3 shows that, for smaller values of , the function behaves close to a function . Figure 4 depicts the errors between and , which shows that the error decreases for small values of .
(iii) DC Bus ProportionalIntegral Control (Outer Voltage Loop). The objective of this loop is to generate the signal β so that the square of the DC bus voltage is regulated to a reference value . Considering the fact that β and its time derivatives should be available, a filtered control law of type PI is retained; namely,withwhere “s” denotes the Laplace variable and are any positive real constants.
4. Simulation
In this section, the controller that has been designed in the above section using output nonlinear feedback technique will be tested. The simulation results have been obtained under normal conditions ( w/m^{2}; °C) and other different conditions. The whole system (power system and controllers) is simulated with the numerical values of Tables 2 and 3. The parameters of the controllers are determined based on the desired specifications of the closedloop system. In this paper, the controller parameters are designed so that the current control loop has much faster response than that of the DClink voltage control loop. In this work the value is used.


4.1. Tracking Performance in the Presence of Meteorological Constant
Figures 5–17 show the results of simulation, which are selected to demonstrate the most significant aspects of the PV system gridconnected behaviour. Figure 5 shows that the observers do well. Also, Figures 5(a)–5(e) show that the estimated state provided by the observers converges rapidly due to its true values.
(a)
(b)
(c)
(d)
(e)
Figure 6 shows the grid current spectrogram, where the THD value of this current is very low equal to 1.37%, which is still below the international standards. The performances of the grid adaptive observer are illustrated by Figures 7–10. Indeed in Figures 7 and 8 it is observed that the estimated parameters and , provided by the grid adaptive observer, converge rapidly to their true values, respectively, and after a short transient phase. Figures 9 and 10 show that the estimated signals of the grid current and of the grid voltages converge, respectively, to their true values and .
Figure 11 illustrates the response of the PV voltage in standard climatic conditions. It can be clearly seen that, in steady state, the PV generator provides the maximal power, which is equal to 250 V. Figure 12 presents a view of the injected current in the grid with its reference; as it is seen in the figure that the current follows its reference with error nearly 0. Figure 13 shows the regulation of the DClink voltage. As shown in the figure, the voltage is maintained at a constant level (650 V). Consequently, the real power extracted from the PV generator can be totally transferred to the grid. In the last figure, Figure 14 shows the current injected to the grid. As can be seen in this figure, the current and the grid voltage are in phase and sinusoidal. As a result, a unit power factor is achieved.
Different powers of the system are given by Figures 15–17. Figure 15 shows the power provided by the PV generators. According to Figures 16 and 17, the system injects into the grid active power , where the reactive power is kept around zero.
4.2. Tracking Performance in the Presence of Meteorological Variation
The robustness of the nonlinear adaptive controller is checked under a time variation climate conditions. The purpose of this simulation is to test the closedloop system under a change in the PV output that occurred by a sudden change in climate change. In the following simulations, the DClink capacitor voltage is kept constant equal to 650 V.
The levels of the irradiance are illustrated in Figure 18, which shows that the irradiation has increased from 900 W/m^{2} to 1000 W/m^{2} at 0.3 s.
In the following simulations, the outputfeedback controller performances are illustrated by Figure 19. The curves (a–c) show that the tracking quality of the proposed observers is quite satisfactory for all supposed unknown states. Figure 19(b) shows that, despite the sudden large change in irradiance, the inner loop ensures a perfect asymptotic tracking of the current reference signal. Figure 19(c) shows that the DC bus voltage regulation is recovered after a short transient period following each change of the irradiation. Finally, Figure 19(d) shows that the correction of the power factor is preserved even during variations of irradiation.
(a)
(b)
(c)
(d)
4.3. The Controller’s Ability to Compensate for Variation in Network Impedance Parameters
The aim of this test is to check the grid current controller performance in the presence of variations in the network impedance. The elements of the impedances () and () are modified, according to the protocol presented in Figure 20, to generate variations at and . Note that all system parameters are those used for previous tests.
The following figures present the simulation results in the case of variations undergone by the network impedance. Figures 21 and 22 show that unknown parameters and network current estimates converge rapidly to their actual trajectories. Finally, Figure 23 illustrates that the adaptive controller provides satisfactory power factor correction during the uncertainty interval.
(a) The parameter and its estimate
(b) The parameter and its estimate
4.4. Tracking Performance in the Presence of Grid Faults
This test aims at evaluating the performance of the system against the change of the amplitude and the frequency of the grid. The amplitude and the reference of the grid are modified according to the protocol presented in Figure 24.
(a) Grid amplitude
(b) Grid frequency
Figures 25 and 26 show that, in spite of the variation of the amplitude and the frequency of the grid, the regulator has the capacity to track the reference provided by the outer loop and to inject a current in phase with the grid voltage.
Note that, for all simulations, it is clear that the proposed controller reacts in a quick manner to reach the reference and to remove the steadystate error quickly to keep the stability of the system.
5. Conclusion
An outputfeedback nonlinear control strategy for a singlephase gridconnected PV system is proposed in this paper. The system is described by 6th order nonlinear averaged model. The controller design is made based on a combination of robust slidingmode control strategy and nonlinear observers. The simulations under MATLAB/Simulink prove that the controller meets the performance for which it was designed. Specifically, it is shown that all control objectives are achieved, including PFC requirement, extracting a maximum power from the PV array and DClink voltage regulation without requiring a lot of current and voltage sensors.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
References
 T. Ackermann, Ed., Wind Power in Power Systems, John Wiley & Sons, Chichester, UK, 2005. View at: Publisher Site
 S. Dasgupta, S. K. Sahoo, and S. K. Panda, “A new control strategy for single phase series connected PV module inverter for grid voltage compensation,” in Proceedings of the 2009 International Conference on Power Electronics and Drive Systems, PEDS 2009, pp. 1317–1322, Taiwan, January 2009. View at: Publisher Site  Google Scholar
 M. Ciobotaru, R. Teodorescu, and F. Blaabjerg, “Control of SingleStage SinglePhase PV Inverter,” EPE Journal, vol. 16, no. 3, pp. 20–26, 2015. View at: Publisher Site  Google Scholar
 A. Tofighi and M. Kalantar, “Power management of PV/battery hybrid power source via passivitybased control,” Journal of Renewable Energy, vol. 36, no. 9, pp. 2440–2450, 2011. View at: Publisher Site  Google Scholar
 I. Sefa, N. Altin, S. Ozdemir, and O. Kaplan, “Fuzzy PI controlled inverter for grid interactive renewable energy systems,” IET Renewable Power Generation, vol. 9, no. 7, pp. 729–738, 2015. View at: Publisher Site  Google Scholar
 R. Benadli, B. Khiari, and A. Sellami, “Threephase gridconnected photovoltaic system with maximum power point tracking technique based on voltageoriented control and using sliding mode controller,” in Proceedings of the 2015 6th International Renewable Energy Congress, IREC 2015, Tunisia, March 2015. View at: Publisher Site  Google Scholar
 C. Aouadi, A. Abouloifa, I. Lachkar et al., “Multi loop based control of photovoltaic system connected to the single phase grid,” in Proceedings of the 2016 International Renewable and Sustainable Energy Conference, IRSEC 2016, pp. 479–486, Morocco, November 2016. View at: Publisher Site  Google Scholar
 C. Aouadi, A. Abouloifa, A. Hamdoun, and Y. Boussairi, “Nonlinear controller design for singlephase gridconnected photovoltaic systems,” in Proceedings of the IEEE International Renewable and Sustainable Energy Conference, IRSEC 2015, Morocco, December 2015. View at: Publisher Site  Google Scholar
 M. Aourir, A. Abouloifa, I. Lachkar, A. Hamdoun, F. Giri, and F. Cuny, “Nonlinear Control of PV System Connected to Single Phase Grid through Half Bridge Power Inverter,” IFACPapersOnLine, vol. 50, no. 1, pp. 741–746, 2017. View at: Publisher Site  Google Scholar
 C. Aouadi, A. Abouloifa, M. Aourir, Y. Boussairi, A. Hamdoun, and I. Lachkar, “Statefeedback nonlinear control of threephase grid connected to the photovoltaic system,” in Proceedings of the 17th IEEE International Conference on Environment and Electrical Engineering and 2017 1st IEEE Industrial and Commercial Power Systems Europe, June 2017. View at: Publisher Site  Google Scholar
 R. Errouissi, A. AlDurra, and S. M. Muyeen, “Offsetfree feedback linearisation control of a threephase gridconnected photovoltaic system,” IET Power Electronics, vol. 9, no. 9, pp. 1933–1942, 2016. View at: Publisher Site  Google Scholar
 C. Meza, J. J. Negroni, D. Biel, and F. Guinjoan, “Energybalance modeling and discrete control for singlephase gridconnected PV central inverters,” IEEE Transactions on Industrial Electronics, vol. 55, no. 7, pp. 2734–2743, 2008. View at: Publisher Site  Google Scholar
 J. Hu, J. Zhu, and D. G. Dorrell, “Predictive Control of GridConnected Inverters for PV Systems With Flexible Power Regulation and Switching Frequency Reduction,” IEEE Transactions on Industry Applications, vol. 51, no. 1, Article ID 587594, 2015. View at: Google Scholar
 M. KarimiGhartemani, S. A. Khajehoddin, P. Jain, and A. Bakhshai, “Control of threephase converters for gridconnected renewable energy systems using feedback linearization technique,” in Proceedings of the 2010 IEEE International Symposium on Industrial Electronics, ISIE 2010, pp. 179–183, Italy, July 2010. View at: Publisher Site  Google Scholar
 C. Aouadi, A. Abouloifa, A. Hamdoun, and Y. Boussairi, “Backstepping Based Control of PV system Connected to the Grid,” International Journal of Computer Applications in Technology, vol. 3, no. 5, 2014. View at: Google Scholar
 P. Kumar, U. Das, and S. Chatterjee, “A brief study on control structure of grid connected PV inverter,” in Proceedings of the 2016 International Conference on Energy Efficient Technologies for Sustainability, ICEETS 2016, pp. 577–582, India, April 2016. View at: Publisher Site  Google Scholar
 S. Dhar and P. K. Dash, “A new backstepping finite time sliding mode control of grid connected PV system using multivariable dynamic VSC model,” International Journal of Electrical Power & Energy Systems, vol. 82, pp. 314–330, 2016. View at: Publisher Site  Google Scholar
 C. L. Trujillo, F. Santamaría, and E. E. Gaona, “Modeling and testing of twostage gridconnected photovoltaic microinverters,” Journal of Renewable Energy, vol. 99, pp. 533–542, 2016. View at: Publisher Site  Google Scholar
 G. Besançon, J. de LeónMorales, and O. HuertaGuevara, “On adaptive observers for state affine systems,” International Journal of Control, vol. 79, no. 6, pp. 581–591, 2006. View at: Publisher Site  Google Scholar  MathSciNet
Copyright
Copyright © 2018 Abdelmajid Abouloifa et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.