Abstract
This work is oriented to research performance in terms of optimal transfer of energy from a photovoltaic generator to a permeant magnet synchronous motor type used as a centrifuge pump driver. The performance improvement is done using a variable structure controller with sliding mode as a maximum power point tracker (MPPT). A stability analysis for the proposed MPPT is developed for a photovoltaic (PV) pumping system. The global stability of the variable structure algorithm is demonstrated by means of Lyapunov’s approach. The tracking algorithm leads the PV generator coordinates to the maximum power point by changing the pulse width modulation (PWM) signal frequency of the boost converter. The steady-state behaviour of the PV pumping system with variable structure control is characterized by a stable oscillation around the maximum power point. The effectiveness of the proposed MPPT scheme is demonstrated under internal and external disturbances.
Introduction
Nowadays, it seems that no one can doubt the importance of the constant need for water and energy in modern life. With advances in technology, energy requirements are increasing. This energy problem is particularly critical in remote areas where the use of a conventional resource is very expensive and even impossible (David et al., 2002). Indeed, several constraints are found in these types of sites, such as fuel transportation, electrified lines and so on. Renewable energy, such as photovoltaic energy, represents an excellent alternative, often contributes to a peaceful environment and is increasingly used today. These types of energy are becoming less expensive and inexhaustible. Moreover, we often speak of a ‘green’ energy, since renewable energy avoids the pollution produced by traditional or alternative sources (Luiela, 2009).
Pumping water in agricultural and rural sites, which are often isolated, is a vital task. Pumping the water based on solar energy uses electric storage elements in most of its system structure. In this work the main goal is to improve photovoltaic (PV) pumping system performances in order to ensure proper operation and increase the system lifespan.
In this work a control study and implementation of the PV pumping system is achieved. The system efficiency improvement was done by extracting maximum power from the PV generators (PVG); this extraction is a prime necessity whatever the dynamics of entry imposed. Therefore, the high performance of the tracking controller of maximum power point tracking (MPPT) is a high priority target for optimizing the efficiency of PV applications (Bendib et al., 2015). The MPPT control is a challenge facing the impinging solar flux to the PVG. In fact, the PVG is considered a complex nonlinear system (Mahmud et al., 2014). For these reasons, the design and implementation of an appropriate MPPT controller is difficult (Farhat et al., 2015a).
Many methods have been developed to determine the maximum power point (MPP). MPPT methods vary in complexity, implementation hardware, popularity, convergence speed and sensed parameters; for example, P&O (Femia et al., 2005), Hill climbing (Al-Atrash et al., 2010), Inc.Cond (Cipriani et al., 2015) and the fractional open circuit and short circuit algorithm (Sher et al., 2015). These techniques are easily implemented and have been widely adopted for low-cost applications. Algorithms such as Fuzzy Logic and artificial neural network (ANN) are more complex and less often used (Farhat and Sbita, 2015).
Nowadays, more research work has been focused on control systems using sliding mode controls. Based on the PV module nonlinear characteristics, the MPP locus may be approximated by a nonlinear method (Gonzalez-Montoya et al., 2016). Thus, a nonlinear controller was designed which drives the PVG to the MPP. This method proposes a fast and robust MPPT control scheme based on the theory of variable structure systems (VSS) (Haroun et al., 2015).
The reliability of a PV application depends on the efficiency of power electronic devices to operate the PVG at its highest efficiency even under varying climatic conditions and the presence of internal disturbances (Farhat et al., 2015c). So, in order to have a PV system that operates with higher efficiency, the MPPT controller will drive a matching stage that adapts the best impedance to the PVG (resistive, machine, batteries, etc.) (El-Khateb et al., 2015). In this work the permanent magnet synchronous motor (PMSM) is selected because it is the most efficient in many applications such as the pumping system. Its superior advantages compared with other motors, such as induction, DC and reluctance motors, the high efficiency, low inertia, high torque to current ratio, high power factor, almost no need for maintenance and, especially, its smaller size make this motor type the most well adapted for high performance applications (Patel et al., 2012).
Energy conversion
PV model
The PV cell can be substituted to an equivalent electric circuit that includes a power supply and a diode as showed in Figure 1 (Farhat and Sbita, 2015; Farhat et al., 2014).

Simplified PV cell equivalent circuit.
By exploiting the node law
The current
The reverse saturation current can be approximately obtained as
Finally, the cell current
The model of a PVG depending on number of series and parallel cells, respectively Ns and Np, is as shown in Figure 2 (Zhang and Bai, 2008)

PVG modules association; Ns stands for numbers in series and Np in parallel.
Finally the PVG current can be given by
The terms containing Rs and Rp parameters are not be considered (using simplification and assumption Rp >> Rs). Here the model with Rs= 0 and Rp= ∞
The highly nonlinear characteristics are shown in Figures 3 and 4. It is efficient to operate in the third zone.

PV module (a) I-V curves at a various irradiation levels from 100W/m2 to 1000W/m2 and at fixed temperature of 25°C, (b) P-V curves at a various irradiation levels from 100W/m2 to 1000W/m2 and at fixed temperature of 25°C.

(a) I-V curves at various temperature levels from 10°C to 25°C and at fixed irradiation 1000W/m2, (b) P-V curves at various temperature levels from 10°C to 25°C and at fixed irradiation 1000W/m2.
Figure 5 shows three specific operating zones of the GPV:
The voltage zone, which is characterized by the open circuit voltage VOC.
The current zone, which is characterized by the short circuit current ISC.
The Pmax Zone, which is characterized by the maximum of the power Pmax.

I-V and P-V characteristics at fixed irradiation (1000W/m2) and temperature values (25°C).
Matching stage
The operation of the PVG at its MPP is ensured by using a matching stage. This stage adapts the load to the PVG by facing changes in the atmospheric conditions and internal disturbances. Figure 6 shows a PVG connected to a matching stage that consists of a boost converter, MPPT controller and a storage battery (Farhat et al., 2015b).

Matching stage incorporating a MPPT boost converter in a PV pumping system.
In a continuous conduction mode (CCM) (Valenzuela and Guemez, 2015), the output voltage of the boost converter is related to the input one as follows
where Vin corresponds to the input voltage power (Vin), where (Vout) is the converter output voltage and D is the converter duty cycle as a switching command signal, i p is the controller inputs, i L is the inductance current iout is the controller output (El-Khateb et al., 2015).
SW represents the switch state command
SW = 0 indicates that the switch is off
SW = 1 indicates that the switch is on.
The dynamic model of the boost converter circuit is (Farhat et al., 2015b; Valenzuela and Guemez, 2015)
with
The MPPT controls the PV system and applies the optimal duty cycle to the boost converter. This paper is focused on the sliding mode MPPT method based on its robust and high performance dynamic controller (Asim et al., 2009).
The battery model is based on the electrical diagram given in Figure 7, the batteries are described by just two elements (whose characteristics depend on a set of parameters): a voltage source and an internal resistance. For the ‘nb’ battery cells in series, the output voltage Vbat can be expressed as
where Vbat and Ibat are, respectively, the battery voltage and current (according to receptor convention), Eb is the electromotive force and Ri is the internal resistance.

Equivalent electrical diagram of nb battery elements in series.
When the Vout voltage is lesser then, Vbat the battery discharge operation occurs. On the other hand, when the Vbat voltage is lesseer, the battery goes into charging mode (Du and Lu, 2011).
Modelling of the three-phase voltage inverter
A three-phase voltage inverter, as shown in Figure 8, is used to interface the PVG with the moto-pump by converting the power. It allows the conversion of DC power to AC.

Voltage source inverter topology.
The function of an inverter is to transform a DC input voltage to a three-phase symmetric AC output voltage of a desired magnitude and frequency. The DC input voltage could be fixed or variable. As noted in a previous paper, the use of a directly coupled pump to PVG gives a poor result performance when the DC input voltage varies (Farhat et al., 2012). The present work focuses on the use of a constant DC-bus input voltage by the use of a battery fed by an MPPT boost converter.
The inverter provides a three-phase voltage system, which is generated according to the three pulse width modulation (PWM) command reference voltages. The a, b and c output voltages feed the PMSM coupled to the centrifugal pump. These output voltages can be expressed as indicated in (16) (Wenyi et al., 2014)
with VDC is the boost output voltage. g1, g2 and g3 are the PWM gates control signals.
A DC-bus is used to ensure an energy balance between the power generated by the PVG and the power feeding the PMSM pump. This is done by simply charging or discharging the capacitor.
The inverter input voltage VDC is given by
and the node law gives
The relationship that connects the input current and the output current of the inverter is given by the following expression
with ia, ib and ic are the inverter current as shown in Figure 8.
Moto-pump modelling
PMSM modelling
In this part we propose the PMSM mathematical modelling as: the electrical equations presented in equation (18), the electromagnet torque as described in equation (19) and the mechanical expression in equation (20) (Soreshjani, 2015). Rss and Ls are, respectively, the stator resistance and inductance, λm is the permanent magnet flux produced by the magnet inserted in the rotor, P is the poles number, J is the rotor inertia and Tl is the load torque
Centrifugal pump
The centrifugal pump is designed for a given total head (TH). The flow rate of the pump varies in proportion to the rotational PMSM shaft speed, so the torque increases very rapidly with the speed and height of the outlet, which is square based of the motor speed. The rotational speed of the motor must be very fast to ensure a good flow. The power consumption is proportional to flow rate Q. A typical centrifugal pump is used for high flow rates and low or medium depths. The aerodynamic load is characterized by the following equation (Wenyi et al., 2014)
where k is the pump constant. Centrifugal pump head to flow rate characteristics are given by the following expression
Where a1, a2 and a3 are the coefficients generally given by the manufacturers. Figure 9 shows the characteristics of the head versus capacity (h = f (Q)). Those characteristics are shown for different speed values.

Pump characteristics.
The hydraulic power load torque and the mechanic power are given as
Assuming that the efficiency of the coupling between the drive machine and the pump is equal to 1, then the mechanical power of the PMSM is equal to the power absorbed by the pump. The mechanical power of the PMSM is
The pump efficiency is defined as the ratio of the power transmitted by the hydraulic pump and mechanical power. It is expressed by the following (Farhat et al., 2015a)
so
MPPT control algorithms
The maximum power of the PVG is obtained by solving equation 27 (Farhat et al., 2015a) and by considering that the PVG output power is P = VpIp. Figure 10 show variations of power to voltage.
So

Variations of power to voltage.
The used MPPT is a variable structure control system. These control systems are characterized by a suite of feedback control laws and a decision rule. The decision rule, named the switching function, selects a particular feedback control in accordance with the system’s behaviour. The switching surface is S = 0.
The state space is divided into two parts S < 0 and S > 0 (Yau and Chen, 2012). This algorithm is desirable to switch the function
based on the two states of PVG in Figure 10. The boost power gate drive signal control function is
Let
If the expression in equation (30) is adopted for the system, it could make the system stabilizing from any initial state.
with
Based on Figure 10, the system is operating on the left side, the switch function SW = 0. The switch command is at a low level; this implies that the duty cycle will decrease and, as a result, Vp is increasing
Using equation (35) in equation (37) gives
and finally
The system operates on the right side, the switch function SW= 1. The switch command is at a high level, this implies that the duty cycle will increase and, as a result, Vp is decreasing
so
Finally the system reaches the global stability.
Simulation results of PV pumping system
In this section we propose the global control pumping system via a solar power source as presented in Figures 11 and 12. The PMSM is used as the pumping rotational engine. The PMSM parameters used in these applications are given in Table 1.

Power line of the PV pumping system.

Command line.
Specifications.
The proposed control scheme illustrated in Figure 11 shows the power line of the whole PV pumping system. Figure 12 shows first the boost converter control scheme, and then shows the field oriented vector control strategy of the PMSM. This technique regroups many essential blocs. Effectively, after comparing the shaft and the desired (ω*) speeds, the proportional integral (PI) controller is added in the outer loop to generate the transversal stator current as a reference current. This last current signal is also compared with the measured one as an inner loop. The obtained error is injected in the PI controller, which generates the transversal voltage as a reference voltage. In the conventional field oriented control (FOC) strategy, the direct reference stator current is clamped to zero. Therefore, for the direct currents, just an inner control loop is built around a PI controller.
To increase the PVG available power, the PV current and voltage must be increased as well, this is achieved by increasing the number of parallel and series-mounted modules. The achieved PVG in such a study case consists of Np = 5 and Ns = 5, as shown in Figure 13 and based on the Figures 2 and 3 data.

I-V and P-V PVG curves.
In order to prove the good performance of the proposed MPPT algorithm, an abrupt and instantaneous irradiation, temperature and boost capacitor variation signal is applied to the PVG, as shown in Figures 14, 15 and 16. For the pump load case, the load torque applied to the motor is that of the centrifugal pump.

Temperature variation.

Boost capacitor variation

Irradiation variation.
In Figure 17, the given results demonstrate the obtained performances of variable structure MPPT tracker controller.

Power to voltage variations ratio (Surface).
Figure 18 shows the direct PWM signal generated by the variable structure MPPT algorithm. This last has the benefit avoiding the use of a PWM commutation signal (Saw signal). It permits us to build directly a PWM output signal toward the Insulated-gate bipolar transistor (IGBT) gate.

Boost tracker command signal.
Figures 19, 20 and 21 show, respectively, the dynamic evolution of the PVG power, current and voltage signals for the same irradiation appliance (see Figure 13). One can easily see that the PVG under the proposed MPPT tracker meets the maximum power operating points. It is clearly shown that the variable structure controller is suitable for good rapid and dynamic PVG signal responses.

PV power.

PV current.

PV voltage.
Figure 22 presents the battery voltage used as a DC link. This last remains at a constant level as long as the MPPT trackers fit the maximum power operating region.

The battery voltage signal.
Figures 23 to 28 show, respectively, the electromagnetic torque, load torque, speed, id, iq d- and q-axis stator, and finally the pump flow.

Electromagnetic torques dynamic response.

Load torques dynamic response.

Speed.

Stator current (d).

Stator current (q).

The pump flow.
Conclusion
A variable structure control strategy has been presented. This proposed algorithm is formulated and applied to the PV pumping system. The effectiveness of the proposed MPPT is proven over simulation results. This new algorithm is applicable in several industries; eventually the economic benefits would be enormous because it is an economic controller that does not require a lot of sensors. This control law could be implemented by means of standard operational amplifiers, analogue multipliers and digital devices in an experimental platform, or using an acquisition and control dSPACE (DSP) board.
Footnotes
Appendix
Conflict of interest
The authors declare that there is no conflict of interest.
Funding
The authors are very grateful to the UPV/EHU for its support through the projects GIU13/41 and UFI11/07, and to the Tunisian Ministry of Higher Education and Scientific Research for their support of the research unit code UR11ES82.
