A Robust Control of Two-Stage Grid-Tied PV Systems Employing Integral Sliding Mode Theory

This contribution considers an improved control scheme for three-phase two-stage grid-tied photovoltaic (PV) power systems based on integral sliding mode control (ISMC) theory. The proposed control scheme consists of maximum power point tracking (MPPT), DC-Link voltage regulation and grid current synchronization. A modified voltage-oriented maximum power point tracking (VO-MPPT) method based on ISMC theory is proposed for design of an enhanced MPPT under irradiation changes. Moreover, a novel DC-Link voltage controller based on ISMC theory is proposed to achieve good regulation of DC-Link voltage over its reference. To inject the generated PV power into the grid with high quality, a voltage-oriented control based on space vector modulation (SVM) and ISMC (VOC-ISMC-SVM) has been developed to control the grid current synchronization. Numerical simulations are performed in a MATLAB/SimulinkTM (R2009b, MathWorks, Natick, MA, USA) environment to evaluate the proposed control strategy. In comparison with conventional control schemes, the developed control strategy provides an accurate maximum power point (MPP) tracking with less power oscillation as well as a fast and an accurate DC-Link regulation under varying irradiation conditions. Moreover, the transfer of the extracted power into the grid is achieved with high quality.


Introduction
In recent years, photovoltaic (PV) power technology has become an important and promising source of energy due to its advantages such as cleanness, renewability, and non-noisiness [1,2]. To make PV power available for public use, two main topologies are used to transfer the produced PV power into the grid, called single and two stages [3]. The latter topology has been extensively employed since maximum power point tracking (MPPT) and control of generated power transfer into the grid are decoupled by different converters. This feature offers an easier and better control than the single stage topology control [4,5]. To enhance the cost-effectiveness of this topology, maximum power point (MPP) should be tracked quickly and accurately under irradiation changes. Moreover, the DC-Link voltage and power injected into the grid must also be controlled accurately.
To ensure transfer of produced PV power into the grid, the DC-Link voltage must be regulated to a desired value higher than the grid peak voltage. The purpose of this regulation is to maintain the DC-Link voltage to its desired value as well as to estimate the reference power or current for the grid-side inverter controller. For this purpose, a proportional−integral (PI) or fuzzy controllers are widely used in the literature [24][25][26][27]. However, PI regulator suffers from long response time and inaccurate regulation under solar irradiation changes. To overcome the inherent difficulties of the PI controller, several types of fuzzy controllers have been proposed [24,25]. These intelligent controllers provide high-performance control. However, they lead to high computational burden which drastically reduces their use, especially in the case of complex systems.
Obviously, the injection of the produced PV power into the grid must be performed with low total harmonic distortion (THD %) for grid currents. In this context, numerous research works are interested in direct power control (DPC) [28] and virtual flux direct power control (VF-DPC) [29] based on switching tables. These two techniques do not provide high-performance control, and the switching frequency is variable and not controllable. Otherwise, some researchers have developed distinct control strategies such as hysteresis control [30] or Finite-set predictive control [31]. Hence, these strategies provide high-performance control, but they suffer from uncontrollable switching frequency. Other research works have employed voltage-oriented control (VOC) based on PI controllers through pulse width modulation (PWM) or space vector modulation (SVM) [32]. In these strategies, the PI controller weaknesses reduce the power transfer control performance.
Currently, sliding mode control (SMC) theory is widely introduced in power electronic converters control [33][34][35][36]. In grid-tied PV systems, SMC is employed for different purposes such as: to modify the voltage control loop of VO-MPPT [22,23], or internal current loop of VOC [36]. The application of SMC offers high control performance in addition to simple experimental implementation [33][34][35][36][37]. However, it suffers from an undesirable effect named chattering. This problem is inevitably caused by the conventional switching function (signum function) which leads to high switching frequency. To reduce this phenomenon, numerous research works use the saturation as switching function [22]. In [23,36] the error between the selected variable and its reference has been used as input for switching surface. However, a steady-state error (SSE) remains. That is why an advanced theory in SMC was developed to enhance the SMC control performance and reduce its disadvantage by adding an integral term to the sliding surface, which is called an integral sliding mode controller (ISMC).
In this paper, ISMC theory is used to develop effective and simple controllers for a two-stage grid-tied PV system. Moreover, the control law design has been modified, where an approximation of sign function is used as switching function resulting in a significant reduction of the chattering phenomenon. Firstly, a fixed switching frequency VO-MPPT based on ISMC theory is proposed to control the first stage (DC-DC converter) to achieve a fast and accurate MPP tracking under solar irradiation changes. Then, a new design of DC-Link voltage control based on ISMC theory is proposed to improve the regulation performance compared to other controller types, under linear solar irradiation changes. Furthermore, to control the injection of produced PV power into the grid with high grid current quality, a modified VOC based on ISMC theory is proposed. Numerical simulations through MATLAB/Simulink TM and Simpower packages are carried out to confirm the improvement in control performance owing to the proposed scheme based on ISMC theory, under solar irradiation changes, in comparison with a conventional control scheme based on PI regulators.
Bearing these ideas in mind, the remainder of this paper is arranged as follows. The second section introduces an overview of the global system configuration. The proposed control scheme with detailed procedure design is presented in the third section. Simulation results and discussions are presented in the fourth section, after which conclusions are drawn in the final section.

Overall System Configuration
The system under consideration, which is shown in Figure 1, represents two-stage topology of the grid-tied PV system. It is mainly composed of the following blocks: PV array which converts solar irradiation into electrical energy, DC-DC boost converter is used to track the MPP and deliver it continuously to the DC-Link, two-level three-phase inverter whose role is to transfer the generated PV power from the boost converter to the mains grid through a passive filter "R g , L g " . Bearing these ideas in mind, the remainder of this paper is arranged as follows. The second section introduces an overview of the global system configuration. The proposed control scheme with detailed procedure design is presented in the third section. Simulation results and discussions are presented in the fourth section, after which conclusions are drawn in the final section.

Overall System Configuration
The system under consideration, which is shown in Figure 1, represents two-stage topology of the grid-tied PV system. It is mainly composed of the following blocks: PV array which converts solar irradiation into electrical energy, DC-DC boost converter is used to track the MPP and deliver it continuously to the DC-Link, two-level three-phase inverter whose role is to transfer the generated PV power from the boost converter to the mains grid through a passive filter " , " .

PV Array Model
The PV cell is the basic component in the conversion of sunlight into direct electrical energy. Several PV cells connected either in series or parallel form a PV array, which could be modeled by the following equation [6] where, ℎ is the photocurrent, the reverse saturation or leakage current of the diode, and ℎ respectively the series and shunt resistances of the PV cell, the thermal voltage of the PV module, the diode ideality factor, and the numbers of PV cells in series and parallel respectively [6]. The PV array model is simulated for different irradiation values at T = 25 °C and for different temperature values with a fixed irradiation value G = 1000 W/m 2 , to show the effect of irradiation and temperature variations on the PV array. According to obtained (I-V) and (P-V) characteristics presented in Figure 2, a strong dependence links the PV array current to the irradiation which affects strongly the MPP of the PV array. Nevertheless, the voltage increases a little bit when the solar irradiation G is increased from 500 W/m 2 to 1000 W/m 2 . In contrast, as shown in Figure 3, the temperature change has little effect on the MPP of the PV array. Also, it is worth noting that the temperature variations during the day are generally not important.

PV Array Model
The PV cell is the basic component in the conversion of sunlight into direct electrical energy. Several PV cells connected either in series or parallel form a PV array, which could be modeled by the following equation [6] i pv = N p i ph − N p i o e Ns vpv +(Ns /Np )R sPV ipv where, i ph is the photocurrent, i o the reverse saturation or leakage current of the diode, R sPV and R shPV respectively the series and shunt resistances of the PV cell, v t the thermal voltage of the PV module, a the diode ideality factor, N s and N P the numbers of PV cells in series and parallel respectively [6]. The PV array model is simulated for different irradiation values at T = 25 • C and for different temperature values with a fixed irradiation value G = 1000 W/m 2 , to show the effect of irradiation and temperature variations on the PV array. According to obtained (I-V) and (P-V) characteristics presented in Figure 2, a strong dependence links the PV array current to the irradiation which affects strongly the MPP of the PV array. Nevertheless, the voltage increases a little bit when the solar irradiation G is increased from 500 W/m 2 to 1000 W/m 2 . In contrast, as shown in Figure 3, the temperature change has little effect on the MPP of the PV array. Also, it is worth noting that the temperature variations during the day are generally not important.

Boost Converter Modeling
The DC-DC boost converter is usually used in PV systems for tracking the MPP produced by the PV array due to some of its important features, such as simplicity, robustness, and continuous input current. Figure 4 shows the equivalent boost circuits for both on and off switching states. The dynamic model of the boost converter in term of duty cycle " " can be expressed, using averaging method presented in [37], as where, and are the state variables; duty cycle considered as input variable; the DC-Link capacitor voltage.

Boost Converter Modeling
The DC-DC boost converter is usually used in PV systems for tracking the MPP produced by the PV array due to some of its important features, such as simplicity, robustness, and continuous input current. Figure 4 shows the equivalent boost circuits for both on and off switching states. The dynamic model of the boost converter in term of duty cycle " " can be expressed, using averaging method presented in [37], as where, and are the state variables; duty cycle considered as input variable; the DC-Link capacitor voltage.

Boost Converter Modeling
The DC-DC boost converter is usually used in PV systems for tracking the MPP produced by the PV array due to some of its important features, such as simplicity, robustness, and continuous input current. Figure 4 shows the equivalent boost circuits for both on and off switching states. The dynamic model of the boost converter in term of duty cycle "D" can be expressed, using averaging method presented in [37], as where, i L and v pv are the state variables; D duty cycle considered as input variable; v dc the DC-Link capacitor voltage.

Boost Converter Modeling
The DC-DC boost converter is usually used in PV systems for tracking the MPP produced by the PV array due to some of its important features, such as simplicity, robustness, and continuous input current. Figure 4 shows the equivalent boost circuits for both on and off switching states. The dynamic model of the boost converter in term of duty cycle " " can be expressed, using averaging method presented in [37], as where, and are the state variables; duty cycle considered as input variable; the DC-Link capacitor voltage.

Inverter Model
The power circuit of the three-phase inverter consists of six bidirectional switches to connect the three-phase grid through a passive filter "R g , L g ". Each bidirectional switch is composed of an Insulated Gate Bipolar Transistor (IGBT) with antiparallel diode. The two switches of each inverter leg must operate in a complementary mode to avoid the short circuit of the DC-Link. The inverter voltage vector can be expressed in terms of DC-Link voltage and switching states as follows [19] where S a , S b and S c are the switching states of the inverter.

Proposed Control Scheme
The proposed controllers for the two-stage grid-tied PV system are as follows: • VO-MPPT based on ISMC, to enhance the PV energy conversion efficiency under any irradiation changes. • DC-Link voltage controller based on ISMC, to maintain the DC-Link voltage close to its reference under any irradiation changes. • VOC based on the modified ISMC and SVM, to control the injection of the produced PV power into the grid.

ISMC Theory
The concept of an integral sliding mode controller (ISMC) generally includes three steps. The first step concerns the design of a sliding surface on which the sliding motion will take place. The control law is designed in the second step. The control law concept depends on the selection of switching function to force the system state trajectories to track and slide on the sliding surface. Whereas, the last step ensures the reaching condition, which pledges the existence of the sliding mode [38,39].
In the present contribution, a high-performance control scheme for grid-tied PV system using ISM controllers is proposed. In ISMC theory, an integral term is added to the sliding surface to obtain a high-performance control and to achieve a quick and accurate tracking. The sliding surface "s" in an ISM controller can be expressed as where, e is the error between the measured variable and its reference, k i is the sliding surface coefficient. Typically, the control law has a structure given as where, u eq is the equivalent part responsible for helping to keep sliding, and u dis is the discontinuous part used to enforce the sliding mode to remain along the sliding surface traditionally written as follows where, M is the proportional gain of discontinuous control and sign (s) is sign function. The discontinuity related with this part leads to chattering phenomenon. To eliminate this drawback, the sign function is replaced with its smoothing approximation, as shown in Figure 5. Hence u dis can be expressed by the following equation After the design of control law in the previous steps, the conditions required to ensure the control stability will be checked. Lyapunov function is used to examine the control stability. It is defined as follows Therefore, to guarantee the convergence of , it should be verified that the derivative of is negative as follows ̇=̇< 0 Accordingly, one will define individually the reaching condition for each of the three proposed controllers, in the following sections.

MPPT Control
To obtain an optimal exploitation of the PV array during all solar irradiation changes, the proposed control scheme is divided in two steps as shown in Figure 6. Firstly, a P&O-based voltage MPPT generates the reference voltage . After that, an improved ISMC-based cascade voltage regulator is proposed to enforce the PV voltage to track generated previously by providing the suitable duty cycle for PWM modulation stage to control the boost converter.  After the design of control law in the previous steps, the conditions required to ensure the control stability will be checked. Lyapunov function is used to examine the control stability. It is defined as follows Therefore, to guarantee the convergence of V, it should be verified that the derivative of V is negative as follows Accordingly, one will define individually the reaching condition for each of the three proposed controllers, in the following sections.

MPPT Control
To obtain an optimal exploitation of the PV array during all solar irradiation changes, the proposed control scheme is divided in two steps as shown in Figure 6. Firstly, a P&O-based voltage MPPT generates the reference voltage V re f . After that, an improved ISMC-based cascade voltage regulator is proposed to enforce the PV voltage v pv to track V re f generated previously by providing the suitable duty cycle D for PWM modulation stage to control the boost converter. After the design of control law in the previous steps, the conditions required to ensure the control stability will be checked. Lyapunov function is used to examine the control stability. It is defined as follows Therefore, to guarantee the convergence of , it should be verified that the derivative of is negative as follows ̇=̇< 0 Accordingly, one will define individually the reaching condition for each of the three proposed controllers, in the following sections.

MPPT Control
To obtain an optimal exploitation of the PV array during all solar irradiation changes, the proposed control scheme is divided in two steps as shown in Figure 6. Firstly, a P&O-based voltage MPPT generates the reference voltage . After that, an improved ISMC-based cascade voltage regulator is proposed to enforce the PV voltage to track generated previously by providing the suitable duty cycle for PWM modulation stage to control the boost converter.

P&O-Based V-MPPT
The objective of the V-MPPT is to generate corresponding to the MPP. For this purpose, P&O-based V-MPPT technique is employed due to its featuring effectiveness and simplicity as shown in Figure 7.

P&O-Based V-MPPT
The objective of the V-MPPT is to generate V re f corresponding to the MPP. For this purpose, P&O-based V-MPPT technique is employed due to its featuring effectiveness and simplicity as shown in Figure 7.

ISM Controller Design
Due to the almost-zero change in PV voltage at the MPP under irradiation changes, VO-MPPT is considered to be a fast alternative [18,19]. However, the efficiency of this method depends on the cascade voltage regulator concept. In this section, an enhanced cascade voltage regulator based on ISMC theory is proposed to provide the suitable duty ratio to drive the boost converter towards to improve the extracted power from the PV array. Hence, in the controller strategy the sliding surface has the same form as given in Equation (4) and expressed as where, ( ) is the voltage error between " " and " " and , is the sliding surface coefficient.
It is considered that is the sliding surface derivative, which is also called the sliding manifold, given as To obtain the equivalent control signal, Equation (11) must be derived and equated to zero as follows ̇=̈+ ,̇= 0 Or −̈− ,̇= 0 By using Equation (2), Equation (12) can be written as

ISM Controller Design
Due to the almost-zero change in PV voltage at the MPP under irradiation changes, VO-MPPT is considered to be a fast alternative [18,19]. However, the efficiency of this method depends on the cascade voltage regulator concept. In this section, an enhanced cascade voltage regulator based on ISMC theory is proposed to provide the suitable duty ratio D to drive the boost converter towards V re f to improve the extracted power from the PV array. Hence, in the controller strategy the sliding surface has the same form as given in Equation (4) and expressed as where, e pv (t) is the voltage error between "V re f " and "v pv " and k i,PV is the sliding surface coefficient. It is considered that δ is the sliding surface derivative, which is also called the sliding manifold, given as To obtain the equivalent control signal, Equation (11) must be derived and equated to zero as follows By using Equation (2), Equation (12) can be written as Thus, the equivalent control can be expressed as Hence, one part of the control input can be obtained; the second part called D dis is given by Equation (7). Therefore, the overall sliding mode controller is expressed as where, M PV is the proportional gain of discontinuous control parts. The controller described by Equation (15) must satisfy the reaching condition. From Equation (2), By substituting . v pv and ..
v pv in Equation (12), we get By substituting the overall control law D given by Equation (15) in Equation (17) and after some simplifications, we get Finally, the reaching condition must be verified, which means δ·

Design of DC-Link Voltage Controller
As mentioned previously, the objective of DC-Link regulation is to maintain the DC-Link voltage close to its reference value and estimate the reference d-axis grid current "i * dg " whatever the produced PV power. For this purpose, a novel design based on ISMC theory for the DC-Link voltage control is discussed in this section. The block diagram of the proposed DC-Link controller is shown in Figure 8. The proposed sliding surface of the DC-Link voltage control is given below where, is the voltage error between the DC-Link voltage and its reference value * and , is the sliding surface coefficient. The time derivative of the previous equation is given by By considering energy conservation, it yields where, , and are the produced PV power, DC-Link power and power injected into the grid, respectively.
The injected power into the three-phase grid system (in synchronous d-q frame) is expressed as The aim of the proposed controller is to inject only the produced PV power. According to this condition, the q-axis grid current becomes null and Equation (23) can be rewritten as The inverter input power is given as = By applying Kirchhoff current law at the DC-Link between the inverter and boost converter it yields The proposed sliding surface of the DC-Link voltage control is given below where, e dc is the voltage error between the DC-Link voltage v dc and its reference value V * dc and k i,DC is the sliding surface coefficient.
The time derivative of the previous equation is given by By considering energy conservation, it yields where, p pv , p dc and p g are the produced PV power, DC-Link power and power injected into the grid, respectively. The injected power into the three-phase grid system (in synchronous d-q frame) is expressed as The aim of the proposed controller is to inject only the produced PV power. According to this condition, the q-axis grid current i qg becomes null and Equation (23) can be rewritten as The inverter input power is given as where, i out is the boost output current, i inv inverter input current and C dc is the DC-Link capacitor. By substituting Equations (24) and (25) in Equation (22), it yields v dc i inv = 3 2 (v dg i dg ) Or By assuming that the DC-Link voltage v dc is properly regulated, the derivative of the DC-Link voltage . v dc (or capacitor current i dc ) becomes close to zero. Then Equation (26) can be written as Then, The current i out can be determined as By replacing Equations (27) and (30) in Equation (26), we get To determine the equivalent control, Equation (21) must be set to zero as follows .
From Equation (32) the equivalent control law is expressed as Therefore, the global control law can be written as where, M DC is the proportional gain of discontinuous control part.
To confirm that the controller described by Equation (34)  By substituting the overall control law i * dg given by Equation (34) in Equation (35), we get . s dc = −M DC 3v dg 2C dc v dc s dc s dc + α (36) As previously, the condition s dc · . s dc < 0 must be verified. Thus

VOC Based ISMC
In this section, a modified VOC based on ISM control theory (VOC-ISMC) is presented and detailed. The main objective of the proposed control scheme is to inject the generated PV power into the grid with high grid current quality. VOC-ISMC is based on the calculation of the reference voltage vector which is applied through SVM in order to minimize the error between the rotating frame currents i dg , i qg and their references i * dg , i * qg . Figure 9 summarizes the functionality of VOC-ISMC. Firstly, i * dg is estimated by the DC-Link voltage regulator presented in the above section, while i * qg is set to zero to eliminate the injection of reactive power into the grid. Then, the obtained reference voltage and applied through SVM to control grid-tied inverter. The phase-locked loop (PLL) allows controlling an estimated angle θ g with respect of the grid phase angle and it is also needed for the Park's transformation.

VOC Based ISMC
In this section, a modified VOC based on ISM control theory (VOC-ISMC) is presented and detailed. The main objective of the proposed control scheme is to inject the generated PV power into the grid with high grid current quality. VOC-ISMC is based on the calculation of the reference voltage vector which is applied through SVM in order to minimize the error between the rotating frame currents , and their references * , * . Figure 9 summarizes the functionality of VOC-ISMC. Firstly, * is estimated by the DC-Link voltage regulator presented in the above section, while * is set to zero to eliminate the injection of reactive power into the grid. Then, the obtained reference voltage vector ( * , * ) is transformed to α-β frame ( * , * ) and applied through SVM to control grid-tied inverter. The phase-locked loop (PLL) allows controlling an estimated angle with respect of the grid phase angle and it is also needed for the Park's transformation. The development of the proposed control scheme needs the mathematical model of the grid-tied inverter in d-q rotating frame which can be described in terms of inverter voltages, grid voltages, and filter inductance [40] as where ( , ), ( , ) and ( , ) are the (d-q) components of grid voltages, grid currents and inverter output voltages respectively; is the grid angular frequency; and are the resistance and inductance of the filter, respectively.
The proposed sliding mode surfaces are defined as follows The development of the proposed control scheme needs the mathematical model of the grid-tied inverter in d-q rotating frame which can be described in terms of inverter voltages, grid voltages, and filter inductance [40] as where (v dg , v qg ), (i dg , i qg ) and (V d , V q ) are the (d-q) components of grid voltages, grid currents and inverter output voltages respectively; ω is the grid angular frequency; R g and L g are the resistance and inductance of the filter, respectively. The proposed sliding mode surfaces are defined as follows where, e d is the error between i * dg and i dg currents, while e q is the error between i * qg and i qg currents k i,d , k i,q are constant gains.
The time derivative of the above equation yields By substituting Equation (38) in Equation (41), we get The equivalent control terms are given by The global control law is summarized as follows where, M d and M q are proportional gains of the discontinuous control parts.
To confirm that the controller described in Equation (44)  s q are needed. So, by substituting Equation (38) in Equation (40), we get Then, by replacing the global control law (v * d and v * q ) given by Equation (44)  The reaching condition can be expressed as By substituting Equation (46) in Equation (47), we obtain As known that the terms s 2 q s q +α and 1 L g are positive, the gains M d and M q must be chosen negative in order to satisfy the reaching condition of the controller described in Equation (48).

Simulation Results and Discussion
Numerical simulations using MATLAB/Simulink TM environment are carried out to confirm the performance of the proposed scheme compared to the conventional scheme. The specifications are listed in the Appendix A. The DC-Link reference voltage is fixed at 220 V. The reference current i * qg is set to zero (injecting only the active power). As discussed in Section 2.1, the temperature has a little effect on the MPP position of the PV array; in contrast, the irradiation level significantly affects the PV array performance. That is why the proposed control scheme is verified under suddenly and linearly varying irradiation as shown in Figure 10 by considering a constant temperature value of 25 • C. The proposed control scheme is compared with the conventional scheme (PI-based controller), with the same specifications in Appendix A to provide a fair comparison.
As known that the terms

Simulation Results and Discussion
Numerical simulations using MATLAB/Simulink TM environment are carried out to confirm the performance of the proposed scheme compared to the conventional scheme. The specifications are listed in the Appendix A. The DC-Link reference voltage is fixed at 220 V. The reference current * is set to zero (injecting only the active power). As discussed in Section 2.1, the temperature has a little effect on the MPP position of the PV array; in contrast, the irradiation level significantly affects the PV array performance. That is why the proposed control scheme is verified under suddenly and linearly varying irradiation as shown in Figure 10 by considering a constant temperature value of 25 °C. The proposed control scheme is compared with the conventional scheme (PI-based controller), with the same specifications in Appendix A to provide a fair comparison. current with its reference, (f) current with its reference. At the outset, the results confirm the low tracking speed of the conventional control scheme (PIbased controller) under irradiation changes with significant PV voltage fluctuation in steady-state. In contrast, a high tracking performance was exhibited by using the proposed control scheme. Also, an instantaneous effect on the PV voltage is displayed under irradiation changes without overshoots and with less fluctuation, as shown in Figure 13. Due to the relationship between the PV power and PV voltage, the performance of MPP tracking is affected by the PV voltage behavior, when the PV voltage fluctuation and tracking time are small, the extracted PV power loss is minimized. Moreover, Figure 14 illustrates the improvement in the extracted PV power using the proposed control scheme compared to the conventional VO-MPPT. For more details, the main simulation results obtained from both MPPT methods are summarized in Table 1.
Furthermore, we examine the DC-Link voltage regulation using the conventional PI controller and the proposed ISMC scheme. The obtained results shown in Figure 15 confirm the tracking superiority of the proposed control scheme compared to the conventional one under solar irradiation changes. It can be observed, that by using the conventional PI controller, the DC-Link voltage    At the outset, the results confirm the low tracking speed of the conventional control scheme (PI-based controller) under irradiation changes with significant PV voltage fluctuation in steady-state.
In contrast, a high tracking performance was exhibited by using the proposed control scheme. Also, an instantaneous effect on the PV voltage is displayed under irradiation changes without overshoots and with less fluctuation, as shown in Figure 13. Due to the relationship between the PV power and PV voltage, the performance of MPP tracking is affected by the PV voltage behavior, when the PV voltage fluctuation and tracking time are small, the extracted PV power loss is minimized. Moreover, Figure 14 illustrates the improvement in the extracted PV power using the proposed control scheme compared to the conventional VO-MPPT. For more details, the main simulation results obtained from both MPPT methods are summarized in Table 1.   We also observe that the proposed VOC-ISMC scheme allows to inject the extracted PV power into the grid with high quality and efficiency, contrary to the conventional control scheme (VOC-PI   We also observe that the proposed VOC-ISMC scheme allows to inject the extracted PV power into the grid with high quality and efficiency, contrary to the conventional control scheme (VOC-PI  Figure 14. Extracted PV power with conventional and proposed VO-MPPT methods. Furthermore, we examine the DC-Link voltage regulation using the conventional PI controller and the proposed ISMC scheme. The obtained results shown in Figure 15 confirm the tracking superiority of the proposed control scheme compared to the conventional one under solar irradiation changes. It can be observed, that by using the conventional PI controller, the DC-Link voltage deviates from its reference in case of linear changes in solar irradiation. Moreover, in case of step irradiation changes, the overshoot and response time are significantly large. In contrast, the desired reference is accurately tracked by employing the proposed ISMC in addition to, insignificant overshoot and short response time under step irradiation changes. To show the performance improvement by using the proposed control scheme compared to the conventional scheme, key results are presented in Table 2. Energies 2018, 11, x 17 of 20 controller). It can be observed that by applying the proposed control scheme, and currents are completely regulated to their references. It is found that current exhibits fast response with less fluctuation compared to the conventional control, as shown in Figure 12e, which leads to increase the quality of grid currents and their amplitudes almost instantaneously follow the irradiation changes, as shown in Figure 16b. In contrast, the grid current waveforms obtained by using the conventional control scheme are relatively of poor quality due to the large fluctuation and response time of current, as shown in Figure 16a. A comparison summary in terms of key indexes such as grid current THD% and current ripples for various irradiation levels is depicted in Figure 17.   We also observe that the proposed VOC-ISMC scheme allows to inject the extracted PV power into the grid with high quality and efficiency, contrary to the conventional control scheme (VOC-PI controller). It can be observed that by applying the proposed control scheme, i dg and i qg currents are completely regulated to their references. It is found that i dg current exhibits fast response with less fluctuation compared to the conventional control, as shown in Figure 12e, which leads to increase the quality of grid currents and their amplitudes almost instantaneously follow the irradiation changes, as shown in Figure 16b. In contrast, the grid current waveforms obtained by using the conventional control scheme are relatively of poor quality due to the large fluctuation and response time of i dg current, as shown in Figure 16a. A comparison summary in terms of key indexes such as grid current THD% and i dg current ripples for various irradiation levels is depicted in Figure 17.

Conclusions
This paper proposed a high-performance control scheme for a two-stage grid-tied PV system. The control structure of the proposed scheme is based on ISMC theory and consists of MPPT control, DC-Link voltage regulation loop, and VOC based on inner current control loops to improve system performance during all climatic conditions. As it is a two-stage system, the PV power is provided to the grid through a DC-DC boost converter and three-phase voltage source inverter. An ISM controller

Conclusions
This paper proposed a high-performance control scheme for a two-stage grid-tied PV system. The control structure of the proposed scheme is based on ISMC theory and consists of MPPT control, DC-Link voltage regulation loop, and VOC based on inner current control loops to improve system performance during all climatic conditions. As it is a two-stage system, the PV power is provided to the grid through a DC-DC boost converter and three-phase voltage source inverter. An ISM controller for the boost converter has been proposed for MPP tracking. Moreover, for proper inverter operation as well sinusoidal currents injection into the mains grid with low THD% (<5%), a novel design for DC-Link voltage regulation is suggested to maintain the DC-Link voltage constant at the desired value and estimate the reference currents for the VOC scheme, which is based on ISM controllers and space vector modulators. The simulation results obtained confirm the feasibility, effectiveness, and performance improvement of the proposed control scheme. As a future perspective, an implementation of the proposed control scheme using a field-programmable gate array (FPGA) control board will be introduced, where FPGA devices are generally cheaper and are suited for high-speed demanding application.
Author Contributions: A.K. and B.T. designed and achieved the method; F.K. verified and analyzed the results; A.L. and A.S. wrote the paper.
Funding: This research received no external funding.

Conflicts of Interest:
The authors declare no conflict of interest.

Appendix A
The global specifications of the grid-tied PV system used in the simulation are listed in Table A1.