1 Introduction

In the present times, as fossil fuels are depleted and exhausted on large scale, eco-friendly renewable energy sources are required as an alternate source of power. Wind, solar, fuel cells, geothermal, etc. are the primary renewable energy sources. Compared to other renewable sources, the PV system is considered as an emerging renewable technology since it requires less maintenance, possess low cost, and is eco-friendly in nature [1,2,3,4,5]. The recent PV system has very less tracked and conversion efficiency. Therefore, maximum power point tracking (MPPT) control algorithms are required to obtain the optimal power and highly tracked efficiency. The generation of PV power depends mainly on two parameters, i.e., insolation and surrounding temperature. The MPPT algorithm enhances the tracking efficiency as well as tries to make the operating point into maximum power point (MPP) [6,7,8,9,10].

Several control methods are employed to obtain the peak power from the PV panel. In this paper, perturb and observe (P and O), incremental conductance, and conventional fuzzy logic controller (FLC) -based MPPT have been discussed. The main disadvantage of the above-mentioned methods is that they fail to track maximum power under changing the weather conditions as well as oscillation around MPP [11,12,13,14,15]. The modified FLC-based MPPT presented in this research paper works under abrupt weather conditions which has low cost and high tracking efficiency and does not require any mathematical modeling analysis.

In recent times, different types of DC–DC converters have attracted much attention for their potential applications in the solar energy system as an efficient MPPT tracker. Normally, these converters function as buck or boost mode. The buck–boost converter has an added advantage that they can work for both step-up or step-down operation. The buck–boost converter is used as an interface between the PV system and the grid. Among these various topologies such as four switch type, cuk, sepic, and zeta converter [16], the zeta converter is best suited for the tracking purpose mainly because it provides output voltage, which has comparatively less ripple compared to other topologies. As these converters employ binary combinations of capacitors and inductors as dynamic storage elements, they are capable of intensifying and reducing the input signal without changing the polarities. Thus, they have high efficiency, high voltage conversion ratio, low cost, and reduced voltage stress compared to other topologies of buck–boost converter.

Several control methods, namely predictive current controller [17], hysteresis current controller [18], space vector pulse-width modulation (SVPWM) [19], and space vector modulation hysteresis current controller (SVMHCC), are employed for the generation of switching signals for voltage source inverter. Compared to other existing current controller, the SVMHCC provides an enhanced and modified controlling power of the overall tracking system. The MPPT and inverter controllers are first simulated in MATLAB/Simulink and then implemented in hardware using real-time dSPACE DS1104 control board.

2 Topology of Proposed Photovoltaic System

Figure 13.1 shows the proposed structure of the grid-connected PV system and its control. The zeta converter performs the MPPT functions. The FLC-based controller for MPPT and SVMHCC is used to generate the gating pulses of the inverter power switches. Zeta converter works as an interface between solar panel and three-phase VSI. The real-time dSPACE DS1104 control board is employed to control the inverter and the MPPT controllers.

Fig. 13.1
figure 1

Proposed grid PV system

3 Novel Control Scheme

  1. A.

    Zeta Buck Boost Converter

In the present work, the zeta converter with buck–boost characteristics has been selected, which is employed in MPPT system. The zeta converter is utilized for least output voltage ripple as a MPPT tracker. It is able to amplify and reduce the input voltage levels without inverting the polarities, as it includes two capacitors and two inductors as dynamic charge storage elements.

It has two operating modes: In the first mode, when switch is ON, the current flows through L and L 1 and diode is reversed biased, whereas the diode is forward biased in the second mode when switch is opened and inductor L 1 is fully discharged through R L load, which is illustrated in Fig. 13.2.

Fig. 13.2
figure 2

Zeta converter

  1. B.

    Fuzzy Logic Controller-based MPPT

Compared to conventional MPPT algorithms, the intelligent fuzzy logic-based MPPT gives optimal tracking power, high convergence speed, and better dynamic response and there is no mathematical modeling required. It works effectively at abrupt weather condition. The block diagram of FLC, which comprises fuzzification, inference engine, and defuzzification blocks, is depicted in Fig. 13.3.

Fig. 13.3
figure 3

Fuzzy logic controller

  1. (i)

    Fuzzification:

Fuzzification is the method used to convert crisp value to fuzzy value. It combines the crisp input to the stored membership function which produces fuzzy inputs. The membership function is assigned for each input to convert the crisp values into fuzzy values. After assigning the membership function, it compares the stored membership function with real-time inputs to generate fuzzy inputs.

The error E and change of error CE of two fuzzy controller inputs are calculated as follows:

$$ E(K) = \frac{{P_{\text{PV}} (K) - P_{\text{PV}} (K - 1)}}{{V_{\text{PV}} (K) - V_{\text{PV}} (K - 1)}} $$
(13.1)
$$ {\text{CE}}(K) = E(K) - E(K - 1) $$
(13.2)

where P PV(K) and V PV(K) are the power and voltage of PV array, respectively. The 7 linguistic variables of input and output are shown in Fig. 13.4.

Fig. 13.4
figure 4

a Picture of FLC FIS editor. b Membership function E. c Membership function dE. d Membership function output D

  1. (ii)

    Fuzzy inference engine (fuzzy rule base):

The fuzzy rules are selected based on the complete behavior of the PV system. Fuzzy decisions are made on the basis of fuzzy rules to get optimal power point tracking of PV array at variable irradiance and ambient temperature. Mamdani’s method based on the max–min composition is used as a rule base, which is shown in Table 13.1.

Table 13.1 Fuzzy rule base
  1. (iii)

    Defuzzification

Defuzzification method is used to get the numerical variable of the FLC output. The linguistic variables are converted into numerical values using this method. The defuzzification utilizes the centroid method for selecting the appropriate value of duty cycle for zeta converter. The optimum value of duty cycle is sent to the MOSFET of zeta buck–boost converter as a reference signal. The flowchart of the FLC-based MPPT is shown in Fig. 13.5.

Fig. 13.5
figure 5

Flowchart of FLC-based MPPT algorithm

  1. C.

    Three-phase Inverter Control

Instantaneous reactive power (IRP) theory is employed to generate the reference current, which works in transient as well as in steady-state condition. Using park’s transformation, the instantaneous real and reactive power is calculated. Figure 13.6 shows the complete block diagram for the generation of switching signal for three-phase voltage source inverter. This method of pulse generation is the combination of space vector modulation and hysteresis current controller. The error signal is generated by comparing the reference and actual compensating current, which works as an input to hysteresis controller. Using the switching function table, the upper and lower band errors are calculated as is shown in Fig. 13.7.

Fig. 13.6
figure 6

Block diagram of three-phase VSI control

Fig. 13.7
figure 7

Sectors and switching table of space vector

The output of upper band signal is calculated using six sectors [20] as follows:

$$ \begin{array}{*{20}l} {S_{1} = A_{\text{ao}} \bar{A}_{\text{bo}} \bar{A}_{\text{co}} } \hfill \\ {S_{2} = A_{\text{ao}} A_{\text{bo}} \bar{A}_{\text{co}} } \hfill \\ {S_{3} = \, \bar{A}_{\text{ao}} A_{\text{bo}} \bar{A}_{\text{co}} } \hfill \\ {S_{4} = \, \bar{A}_{\text{ao}} A_{\text{bo}} A_{\text{co}} } \hfill \\ {\begin{array}{*{20}l} {S_{5} = \bar{A}_{\text{ao}} \bar{A}_{\text{bo}} A_{\text{co}} } \hfill \\ {S_{6} = A_{\text{ao}} \bar{A}_{\text{bo}} A_{\text{co}} } \hfill \\ \end{array} } \hfill \\ \end{array} $$
(13.3)

where A ao, A bo, and A co and A ai, A bi, and A ci are upper band and lower band output hysteresis comparator signals [20].

The output of lower band signal is calculated using six sectors as follows:

$$ \begin{array}{*{20}l} \begin{aligned} y_{1} & = S_{1} \left[ {A_{\text{ai}} \bar{A}_{\text{bi}} \bar{A}_{\text{ci}} + A_{\text{ai}} A_{\text{bi}} \bar{A}_{\text{ci}} } \right] + S_{2} A_{\text{ai}} A_{\text{bi}} \bar{A}_{\text{ci}} \\ & \quad + S_{5} A_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} + S_{6} \left[ {A_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} + A_{\text{ai}} \bar{A}_{\text{bi}} \bar{A}_{\text{ci}} } \right] \\ \end{aligned} \hfill \\ \begin{aligned} y_{2} & = S_{1} A_{\text{ai}} A_{\text{bi}} \bar{A}_{\text{ci}} + S_{2} \left[ {A_{\text{ai}} A_{\text{bi}} \bar{A}_{\text{ci}} + \bar{A}_{\text{ai}} A_{\text{bi}} A_{\text{ci}} } \right] \\ & \quad + S_{3} \left[ {\bar{A}_{\text{ai}} A_{\text{bi}} \bar{A}_{\text{ci}} + \bar{A}_{\text{ai}} A_{\text{bi}} A_{\text{ci}} } \right] + S_{4} \bar{A}_{\text{ai}} A_{\text{bi}} A_{\text{ci}} \\ \end{aligned} \hfill \\ \begin{aligned} y_{3} & = S_{4} \bar{A}_{\text{ai}} A_{\text{bi}} A_{\text{ci}} + S_{4} \left[ {\bar{A}_{\text{ai}} A_{\text{bi}} A_{\text{ci}} + \bar{A}_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} } \right] \\ & \quad + S_{5} \left[ {\bar{A}_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} + A_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} } \right] + S_{6} A_{\text{ai}} \bar{A}_{\text{bi}} A_{\text{ci}} \\ \end{aligned} \hfill \\ \end{array} $$
(13.4)

where y 1, y 2, and y 3 are output signals of the inner band hysteresis comparators.

4 Development of Hardware Laboratory Prototype

Figure 13.8 shows the experimental setup of the proposed grid-connected PV system for performance verification. The dSPACE DS1104 kit is interfaced with Simulink-based simulation model. The voltmeter, ammeter, power quality analyzer Fluke 434, and digital oscilloscope have been used as measuring components for practical implementation. The three-phase ACs are measured using Fluke i400S. The three-phase inverter, IGBT driver, DC power supply, and pc with dSPACE DS1104 have been employed as major elements for experimental setup. Using the proposed controller, instantaneous active and reactive power, total harmonic distortion (THD), and power factor have been well maintained with better performance.

Fig. 13.8
figure 8

Hardware structure of proposed grid PV system

5 Experimental Study Under Different Conditions

The dSPACE DS1104 kit is employed to interface with Simulink simulation model. The simulation model implemented in Simulink run on dSPACE DS1104. The PV current and voltage values are supplied to the dSPACE analog-to-digital converter and are utilized by the Simulink MPPT control block as depicted in Fig. 13.9. The generated gating pulses for three-phase VSI using dSPACE is shown in Fig. 13.10.

Fig. 13.9
figure 9

FLC-based MPPT Simulink model for implementation in dSPACE

Fig. 13.10
figure 10

Generated gate pulses for three-phase VSI using dSPACE

Figure 13.11 depicts the practical responses of grid voltage and current at unity power factor operation effectively.

Fig. 13.11
figure 11

Practical responses at unity power factor operation

By means of FLC and SVMHCC, the active and reactive power is well maintained and optimal power has been extracted through PV panel. Figure 13.12 depicts the practical responses of inverter voltage and current with fewer fluctuations.

Fig. 13.12
figure 12

Experimental results of inverter voltage and current

Figure 13.13 describes the practical results of PV power, PV voltage, and PV current at steady-state condition. The PV current has low steady-state oscillation and attained MPP at relatively small time.

Fig. 13.13
figure 13

Proposed MPPT under steady-state condition

Figure 13.14a, b shows the THD spectrum of inverter voltage and current. The inverter voltage and current have 2.3 and 2.5% THD percentage, respectively, which follows standard IEEE 519. Figure 13.15 depicts the practical responses of PV power, PV voltage, and PV current during variable weather condition. The proposed controller always tries to force the power to move new operating point directly under varying weather conditions. Hence, the MPP is attained in very small time and has negligible oscillation around MPP for every operating condition. To test the proposed control effectively, the PV source simulator is used to program I–V curves under partial shadow conditions. The experimental result in Fig. 13.16 shows that global MPP is achieved with small oscillation in relatively small time, which does not prevent the local maxima in the P–V curve.

Fig. 13.14
figure 14

Total harmonic distortion spectrum

Fig. 13.15
figure 15

Practical response of PV power, voltage, and current during abrupt weather condition

Fig. 13.16
figure 16

Experimental results of the proposed MPPT under partial shading condition

Figure 13.17 shows the active and reactive power capability of the proposed grid-connected PV system. Active power is maintained constant, while the reactive power is controlled for leading, lagging, and unity power factor operation.

Fig. 13.17
figure 17

Experimental responses of active and reactive power

6 Conclusion

In this research work, the effectiveness of a zeta converter-based two-stage grid-integrated PV system has been investigated. The efficient control system of FLC-based MPPT and SVMHCC-based inverter control for grid-connected PV system has been implemented. For maximum power tracking and low output voltage ripple, a zeta buck–boost converter is employed. The proposed controllers for grid-connected PV system are able to track maximum power from PV system, and it provides sinusoidal injected current to the grid in abrupt weather conditions. The hardware interface was implemented with dSPACE DS1104 real-time control board. The practical responses validate the maximum power tracking ability and stable grid requirements successfully.