1 Introduction

Role of multilevel inverters in numerous application like flexible AC transmission devices, grid interfaces, renewable energy system and medium voltage drives. Multilevel inverters have lot of advantages like electromagnetic interference, total harmonic distortion, and lower values of voltage on switches etc. [1]. It provides right way for average and high power system to synchronize the desired yield voltage that allow harmonic decrease in current and voltage waveform [2]. As a result, the output waveform quality increases and total harmonic distortion decreases are the main two benefits of MLI [3, 4]. It is one of the power electronic converter, from several levels of DC voltages multi-level inverter can synthesize the output voltage as input sources [5]. Multilevel refers to the multiple connection of individual inverters names as stage with required levels to provide the output voltage. A stair case waveform can be synthesized based on proper pulse width modulation and identical voltage levels control of switching angles [6]. Through unique important series due to transferring operation of on and off the switching losses reduction in the inverter device is the major benefits of stair case output waveform. Moreover, in the stair case output voltage low order frequency harmonic can be observed with reduced switching frequencies. Increasing the demand of high power and high voltage and it is difficult to interface the power semiconductor switch [7].

The inverters are mainly divided into three categories. The first one MLI is neutral point clamped other is cascade and last is flying capacitor [8]. For big automotive electronic drives, the cascaded inverter is used. However, the necessity of increasingly number of switches and dispersed dc source for every cell turns into an issue particularly at larger amount [9]. Solar PV built schemes are presence as a main contributor to the current power production knowledge. To feed the produced power (DC) into grid (AC) is the main significant presentation of solar PV based power production. Solar photovoltaic panel have been among the quickest developing vitality source on the world. The PV scheme being additional gorgeous and likely green resources due to abundant availability, cost free, safe resources [10]. The PV elements directly changes light energy into electrical energy however energy gotten after the PV modules acts as small voltage dc source and has comparatively small transformation energy effectiveness [11]. The electronics power changes are utilized to change DC to AC to expand the effectiveness and change small voltage DC source to AC. Conventional topologies like current and voltage basis inverter are utilized to convert solar power generation [12]. Mostly, various literatures are fed in cascade multilevel inverter but it intends for low level and low voltage configuration [13]. For 5 and 7 level cascaded multilevel inverter Photovoltaic system is addressed with pulse width modulation technique [14].

In MLI topologies, flying capacitor wants only DC sources this is the real disadvantage, however it become famous if there should arise an occurrence of the framework PV on the grounds that for assembled solar based cells needs singular generator [15]. The structure of flying capacitor inverter is like that of clamped inverter diode yet the fundamental distinction is that as opposed to cinching diodes, flying Capacitors are utilized [16]. For eliminating low order frequency harmonics many approaches are focused, the method of selective harmonic elimination is widely preferred in multilevel inverter [17]. By solving non-linear transcendental equations characterizing harmonics to compute exchanging points the particular harmonic removal pulse width modulation exchanging systems can be utilized [18]. By assuming the proper initial guess to solve the non-linear transcendental equations resulting in multiple or one solution technique many iteration technique can be reported [19]. To estimate switching angles several traditional methods are used, however a few of them computationally expensive. The technique of soft computing like adaptive Neuro fuzzy inference system (ANFIS) and artificial neural network (ANN) and adapt to great diversity of data to estimate switching angles it can be excellent option [20].

Now a days, power generation from solar system is widely applicable in various fields like micro grids, fact devices, distributed generation systems. Such kind of transformer-less PV grid linked scheme is attractive due to their cost effectiveness, tiny size and reliability. Use of MLI in PV grid connected system to synthesize preferred output voltage from various level of DC input voltages. MLI produces stepped resultant voltage as clean sine wave to show minimization of THD. Traditional MLI topologies need separate driver circuits, individual DC sources for every stepped output. Especially in high power applications, failure of certain inverter portion contributes whole switching loss and power rating of inverter topology enhanced through reduction of switching frequency. But this condition leads to raise of current THD and which is very difficult to minimize. These findings says that, minimization of switches, DC sources and gate drivers improves voltage levels. Raise in voltage level results better power quality with considerable reduction in size, THD and cost. This motivates us to make use of high level MLI with an optimized switching scheme for addition of PV grid connected scheme.

The remaining of research work is planned as follow, the next part gives certain examination of related works beside through the involvement of the proposed technique. The third section gives the brief explanation about the mathematical model of PV with MPPT, Buck converter, 27 level multi-level inverter with reduced switch and EANFIS controller that is the combination of ANFIS and EPO algorithm. The fourth part give evaluation of planned work through the Simulink platform. Conclusion of this work is given in last section with various proposal for upcoming work.

2 Related works

For selective harmonic elimination, a firefly assisted genetic algorithm was introduced by Priyanka et al. [21] in PV interfacing reduced switch multilevel inverter. This article provides an innovative 5-level MLI by utilizing less switch sum which is appropriate for separate PV scheme. Moreover, depends upon the method of selective harmonic elimination (SHE) a firefly assisted genetic algorithm (FAGA) is established to effectually controller and diminish the harmonics from the deliberate scheme. Through the FAGA procedure, the directed order of less harmonics was eradicated which obtained from yield voltage of recommended PV-MLI. An investigational evaluation setup is grown at last to approve the functioning of PV incorporated MLI through PWM control plot which is additionally contrasted and the conventional PWM control framework.

A swarm optimization-based improved excellent harmonic removal PWM method presentation was intended by Yatindra et al. [22] in Symmetrical H-Bridge Type Multilevel Inverters. To diminish the harmonics, an original variant swarm optimization (SO) based selective harmonic elimination (SHE) method is designated in MLIs that is a multifaceted optimization difficult connecting nonlinear mystical calculation. By the proposed algorithms, optimum switching angles are calculated considering minimum total harmonic distortion (THD) and the best outcomes are taken for controlling the operation of MLIs.

A compact switch cascaded mli with novel selective harmonic removal switch was presented by Kaibalya et al. [23] for Standalone Renewable Energy System. This article grants plan and device of a switched-diode double basis particular change MLI (SDDS MLI). By utilizing an unequal simple unit, the comprehensive SDDS MLI was initially planned. Planned SDDS MLI needs fewer switch tally and the circuit of driver tally contrasted with the couple of as of late created RS MLI topologies. By evacuating coordinated low-course harmonics, an improved type of algorithm FSO was concentrated to improve the voltage quality for ascertaining best moving positions fundamental to gadget the SDDS MLI.

A Harmonic Study of PV-Fed Symmetric MLI was described by Maheshwari and Chandrasekaran [24] using Modified Artificial Neural Network. In a symmetric cascaded multilevel inverter-connected grid system, this article presents a control scheme to reduce the harmonics. It is controlled by modified artificial neural networks and genetic algorithm. The solar photovoltaic acts as input source and the output power is synchronized with grid. The switching angles are acquired such that the fundamental component of output voltage is kept steady and lower-order harmonics are limited or removed. The equipped system is coordinated with sun-oriented photovoltaic framework to decrease the harmonics.

A Harmonic Reduction for Grid-Connected Photovoltaic System based on Multilevel Inverter was introduced by Zeina et al. [25]. To reduce the harmonics of grid-associated photovoltaic (PV) scheme, this article examines the operation of Multilevel Inverter (MLI). MLIs act as a promising interface in medium voltage networks for many usages because their modularity and lower voltage stress towards the switches. In addition, they provide a high-form output with low symmetric deformation. It is proposed to use a Cascaded H-Bridge MLI (CHB-MLI) with network-linked PV systems since they require many sources on the DC side with phase shifted carriers pulse width modulation. The mission of these converts is to manufacture a staircase AC output voltage from numerous DC voltage stages.

3 Proposed methodology

The proposed work uses 27 level inverter with reduced switch topology to get better reliability with low harmonics. This inverter performance completely relies on EANFIS controller which is the combination of ANFIS and Emperor Penguin Optimization (EPO) algorithm. Working procedure of ANFIS will be optimized by EPO to make us easy to grip transferring position of MLI and make less harmonic controller voltage. Main concept of EPO based on huddling characteristics of emperor penguins. While comparing with other met meta-heuristic algorithms, EPO provides efficient result by means of computational complexity, time and space complexity. This is the main reason to select EPO for optimizing ANFIS controller in our proposed work.

Diagrammatic flow of proposed work given in Fig. 1. Solar fed to 27 level MLI with minimize switch topology. Data required for EANFIS obtained by solving harmonic equations by considering various modulation indices. THD evaluated from output voltage generation of EANFIS controlled MLI. Main focus of EANFIS controller is to make inverter to harmonic free output voltage similar to grid voltage. Here, no essential of filter circuit to improve inverter output because of generation of harmonic less output at inverter side. Thus proposed EANFIS controller perform better in THD and reduce design complexity of whole system.

Fig. 1
figure 1

Work flow

3.1 PV system model with MPPT

To monitor the multilevel inverters input voltage a novel controller is used and the grid voltage as reference magnitude to be employed by ANFIS with EPO algorithm. From a conventional phase-locked loop (PLL) the stage angle \(\left( {\theta_{grid} } \right)\) of reference voltage is obtained to ensure the grid synchronization. Solar based radiation information is gathered on a level surface. If the PV cluster is introduced confronting the sun the created control from PV framework could be expanded significantly. Numerous designs can be utilized as a part of this respect. The least expensive and least difficult to pick the annual finest tilt angle. The scope points of the site are the best angle edge; the PV exhibits tilted best-case scenario tilt edge, some different setups utilized two hub or one pivot sun followers to expand the created control after PV framework yet it builds the structure and cost complexities. To path the greatest power engendered from PV the most extreme power point trackers ought to be utilized. From the following equation the universal solar emission on the greatest gradient angle can be gotten.

$$G_{G\,,\,titled} \,\, = \,\,G_{dir\,titled} \, + \,G_{diff\,titled} \, + \,G_{ref\,titled}$$
(1)

where \(\,G_{ref\,titled}\), \(\,G_{diff\,titled} \,\) and \(\,\,G_{dir\,titled} \,\) are the hourly reflected, diffused and direct emissions on the skewed surface. From hourly solar radiation values of these variables can be calculated on a horizontal surface. The improved radiation documents on a skewed surface and the hourly yield power from PV range is set by the below equation:

$$P_{pv} \, = \,P_{R} F_{pv} \,\left( {\frac{{\bar{G}_{T} }}{{G_{T} ,\,STC}}} \right)\,[1 + \alpha p\,(T_{C} - T_{C} ,\,STC)]$$
(2)

where \(P_{R}\) represents the PV unit capacity, \(F_{pv}\) is denoted as PV unit de-rating factor, \(G_{T\,,\,STC} \,\) is the event irradiance at standard conditions, \(G_{T\,} \,\) is represented by event irradiance on the skewed PV element, \(T_{c\,,\,STC} \,\) is denoted by PV temperature under standard conditions, \(T_{c}\) is represented as PV temperature and \(\alpha p\) is denoted as temperature coefficient of the power.

3.2 Buck converter

It changes unregulated DC supply into regulated DC voltage and its output is smaller than input. It is otherwise identified as step down converter. It comprises capacitor \(C\), inductor \(L\), a diode and a semiconductor switch. The load resistance is denoted by \(R\) and input voltage is represented by \(V_{s}\). Figure 2 shows the converter of buck circuit.

Fig. 2
figure 2

Buck converter circuit

If switch \(S\) is on condition, the inductor accumulate the energy that is \(V_{L} i\,t_{on}\) and current equation and voltage equation can be expressed as follow,

$$\frac{{di_{L} }}{dt}\, = \,\frac{{V_{in} }}{L}\, - \,\frac{{V_{o} }}{L}$$
(3)
$$\frac{{dV_{c} }}{dt}\, = \,\frac{{I_{L} }}{C}\, - \,\frac{{V_{o} }}{R \times C}$$
(4)

If switch \(S\) is the condition of off, then the diode gets ON and provide a current flow path, the stored energy in the inductor will dissipate through load resistance. The current equation and voltage equation can be expressed as follow,

$$\frac{{di_{L} }}{dt}\, = \,\frac{{ - \,V_{C} }}{L}\,$$
(5)
$$\frac{{dV_{c} }}{dt}\, = \,\frac{{I_{L} }}{C}\, - \,\frac{{V_{C} }}{R \times C}$$
(6)

where \(V_{C}\) and \(I_{L}\) are considered to be two state of the system. The buck converter important uses is to manage the supply of DC power and control the DC engine speed. The yield voltage of the converter differs linearly with voltage control. For getting fixed DC voltage the output capacitor value is assumed to be very large for steady state analysis.

3.3 Cascade H bridge multilevel inverter

Figure 3 shows the circuit diagram of proposed cascade H Bridge MLI for single phase. It contains 3 cascaded H bridges with asymmetric voltage source feeding each H Bridge. 1:3:9 is the ratio of voltage source magnitudes. Between the ranges + 13 V and − 13 V, 12 switches are switched to produce different levels that are depicted in Table 1. Contingent upon the exchanging state of switches in the circuit, every one of the circuit comprise of four dynamic exchanging components that can make the yield voltage source in the positive or negative extremity, or it tends to be basically zero volts. Empirically when we give each voltage source as Vdc1 = 1Vdc, Vdc2 = 3Vdc, Vdc3 = 9Vdc then we will be able to get a 27 level output waveform ranging from + 13 V to − 13 including zero level. Output voltage of every H-bridge is equated as bellow:

$$V_{oi} \, = \,Vdc\,\,(S_{1i} \, - \,S_{2i} )$$
(7)

where i = 1, 2, 3 is represented by the amount of H-bridge inverter and \(S_{1i} \, - \,S_{2i}\) is the higher switch of every filled bridge inverter. Eventually for the level of inverter 27 is represented by

Fig. 3
figure 3

Proposed cascade H bridge multilevel inverter

Table 1 Switching operation for 27 level cascade H bridge multilevel inverter
$$\mathop V\limits_{i = 1} oN\, = \,\sum\nolimits_{{}}^{3} {oi}$$
(8)

Multilevel inverters discover its well presentation by resources of less switching loss, better voltage, harmonic reduction and improved reliability on fault acceptance. Multi-level inverter decreases the procedure of flying capacitor, clamping diodes and heavy transformers. Later, cascade H Bridge MLI broadly applied in RES application because of the necessity of distinct DC source. In MLI amount of stages resulting waveform based on the amount of H-bridge component. There is continuous decrease in THD dimensions of MLI increments. The waveform of staircase is spoken to by yield voltage which shows switching angle and effects of harmonics.

Relationship among current and DC voltage should be analysed to make mathematical calculation for CHB. The ith cell (Si) waveform modulation discovery by separating AC harmonics voltage \(\left( {V_{HI} } \right)_{Ac}\) with Dc voltage across capacitor of ith cell \(( {\hbox{V}}_{{\rm i}})_{{\rm Dc}}\).

$$S_{i} = \frac{{\left( {V_{Hi} } \right)_{Ac} }}{{\left( {V_{i} } \right)_{Dc} }}$$
(9)
$$\frac{{{\rm dI}_{\rm in} }}{{\rm dt}} = \frac{1}{{\rm L}}\left( {\sum\limits_{{\rm k} = 1}^{3} {{\rm S}_{{\rm i}} \left( {{\rm V}_{{\rm i}} } \right)_{{\rm Dc}} - {\rm RI}_{{\rm in}} - {\rm V}_{{\rm G}} } } \right)$$
(10)
$$\frac{{{\text{d}}\left({{\text{V}}_{{\rm i}} } \right)_{\text{Dc}} }}{\text{dt}} = \frac{1}{{{\text{C}}_{{\rm k}} }}\left( {{\text{I}}_{{\rm battery,i}} - {\text{S}}_{{\rm i}} {\text{I}}_{{\rm in}} } \right),\quad {\text{i}} = 1,2,3$$
(11)

where to discover dynamics of inverter current (10) and voltage (11) the parameters of grid voltage is VG and inverter input current Iin. To get a determination for CHB variability problem phasor model of inverter activity spoken in (12).

$$\sum\limits_{{\rm i} = 1}^{3} {\overrightarrow {{{\rm S}_{{\rm i}} \left( {{\rm V}_{{\rm i}} } \right)_{{\rm Dc}} }} } = {\rm V}_{{\rm G}} + \left( {{\rm i}\upomega {\rm L} + {\rm R}} \right)\overrightarrow {{{\rm I}_{{\rm in}} }}$$
(12)

From AC to DC \(( {\uprho_{{\rm i}} })\) the power transmission will be estimated over multiplication of input current with harmonic voltage at ac side.

$$\uprho_{{\rm i}} = \overrightarrow {{{\rm I}_{{\rm in}} }} \times \left( {{\rm V}_{{\rm h}} } \right)_{{\rm Ac}}$$
(13)
$${\rm V}_{{\rm MLI}} = \sum\limits_{{\rm n} = 1}^{\infty } {\left( {\upmu_{{\rm on}} \sin {\rm n}\uptheta_{{\rm n}} + \upmu_{{\rm en}} \cos {\rm n}\uptheta_{{\rm n}} } \right)}$$
(14)
$$\mu_{odd} = \frac{4}{n\pi }\sum\limits_{n = 1}^{\infty } {V_{in}^{n} } \left[ {\cos \left( {n\theta_{1} } \right) + \cos \left( {n\theta_{2} } \right) + \cdots + \cos \left( {n\theta_{8} } \right)} \right]\sin \left( {nwt} \right)$$
(15)
$$\mu _{{Twenty\,Seven\,level\,CHB{\text{-}}MLI}} = \sqrt {\frac{{\sum\nolimits_{{k = 2}}^{n} {\left( {V_{{MLI}} } \right)^{2} } }}{{V_{{in}} }}}$$
(16)

where \(\mu_{en}\) is denoted as even harmonics, \(\mu_{on}\) is the representation of odd harmonics that is with output voltage (VMLI) and input voltage (Vin) of MLI. To assemble MLI with switching angle \(\theta\) the amount of bridges (n) is used and MLI without display even harmonics \(( {\upmu_{{\rm en}} = 0} )\). To direct current and voltage of the inverter each MLI configuration ought to have a controller device for desired applications to make it as without harmonic output. Design of proposed controller framework clarified in detail as pursues.

3.4 Proposed EANFIS controller

For twenty-seven level MLI, the present work uses the mix of EPO and ANFIS to make a controller plot. ANFIS displays the conduct of ANN and fuzzy that dispenses with the constraint of their individual use. It pursue the performance of feed forward back propagation network. If that target capacity isn’t characterized the ANFIS achieve ideal arrangement quickly quicker than NN even. The error free outcomes and accomplish ideal arrangement quick are gotten by using ANFIS because of training the data. ANFIS design contains five layer, they are fuzzy layer, product layer, normalized layer, defuzzy layer and summation layer. The parameter of ANFIS are determined with voltage and switching angle. The angle of switching increase with harmonics decline is through process of ANFIS controller. Consequently, to oversee ideal switching angles EPO calculation is utilized in proposed framework with harmonic reduction.

$$Obj\,fun\,(fn) = \min \left( {\mu _{{Twenty\,Seven\,level\,CHB{\text{-}}MLI}} } \right)$$
(17)

Consider Eq. (17) as the objective function where \(\mu\) represents THD of twenty-seven level CHB-MLI means. EPO work depend upon huddling behaviour of emperor penguin that is decomposed into four steps, first is produce and decide the cluster limit of emperor penguins, ascertain the temperature profile is the second condition, third is determine the distance between emperor penguin and fourth one is relocate the effective mover. Difference voltage (Vdiff) and grid voltage (Vgrid) are set as input to ANFIS and (Vcrtl) will be the production of ANFIS construction. It effortlessly alters its comments for guiding drive by using above factors. For solving several issues, the model of 1st order Sugeno fuzzy is the maximum used adaptive method with computational efficiency and high interoperability. The FIS guideline of Sugeno fuzzy model can be expressed as:

$$\begin{aligned} & Rule\,1:\,if\;V_{grid} \;is\;m1\;\& \;V_{diff} \;is\;n1\;then\;F1 = U1V_{grid} + V1V_{diff} + W1 \\ & Rule\,2:\,if\;V_{grid} \;is\;m2\;\& \;V_{diff} \;is\;n2\;then\;F2 = U2V_{grid} + V2V_{diff} + W2 \\ \end{aligned}$$
(18)

where m1, m2, n1 and n2 are non-linear and U1, U2, V1, V2, W1 and W2 are direct parameters. Linear blend of forerunner guidelines shapes individual outcome for each standard as condition (19). Layer 2 creates w1 and w2 that is standardized by layer third thus generate w1 and w2 separately. Figure 4 represents ANFIS construction to provide harmonic allowed voltage control.

Fig. 4
figure 4

ANFIS structure

$$F = UV_{grid} + VV_{diff} + W$$
(19)

Two sources of info (Vgrid and Vdiff) are set to semantic names of fuzzy theory in layer 1 (fuzzification) to separate membership functions as below.

$$\begin{aligned} & L1_{out} = \delta m_{i} (V_{grid} )\quad i = 1,2 \\ & L1_{out} = \delta n_{j} (V_{diff} )\quad j = 1,2 \\ \end{aligned}$$
(20)

Equation (20) displays first ANFIS layer wherever fuzzy membership functions (MF) are \(\delta m_{i} (V_{grid} )\;\& \;\delta n_{j} (V_{diff} )\). The layer of product is the second one (w1 and w2) that achieves legitimate AND operation of MF.

$$\begin{aligned} & {\rm w}1 \Rightarrow {\rm L}2_{{\rm out}} = \updelta {\rm c}_{{\rm i}} ({\rm V}_{{\rm grid}} )\,\cdot\,\updelta {\rm d}_{{\rm i}} ({\rm V}_{{\rm diff}} )\quad {\rm i} = 1,2 \\ & {\rm w}2 \Rightarrow {\rm L}2_{{\rm out}} = \updelta {\rm c}_{{\rm j}} ({\rm V}_{{\rm grid}} )\,\cdot \,\updelta {\rm d}_{{\rm j}} ({\rm V}_{{\rm diff}} )\quad {\rm j} = 1,2 \\ \end{aligned}$$
(21)

The layer of normalization is (w1′ and w2′) that each nodes are stable demonstrating if measure of rule fuzzy. Based on adaptive functioning pre-decided fuzzy standards is activity of de-fuzzification level.

$$\begin{aligned} & {\rm w}1^{{\prime }} \Rightarrow {\rm L}3_{{\rm out}} = \frac{{{\rm w}_{{\rm i}} }}{{\rm w}1 + {\rm w}2}\quad {\rm i} = 1,2 \\ & {\rm w}2^{{\prime }} \Rightarrow {\rm L}3_{{\rm out}} = \frac{{{\rm w}_{{\rm j}} }}{{\rm w}1 + {\rm w}2}\quad {\rm j} = 1,2 \\ \end{aligned}$$
(22)

In fourth layer, the output of the every node is

$$\begin{aligned} w1^{{\prime }} F1 \Rightarrow L4_{out} = \frac{{w_{i} }}{w1 + w2}\,\left[ {U1V_{grid} + V1V_{diff} + W1} \right]\quad i = 1,2 \hfill \\ w2^{{\prime }} F2 \Rightarrow L4_{out} = \frac{{w_{j} }}{w1 + w2}\,\left[ {U2V_{grid} + V2V_{diff} + W2} \right]\quad j = 1,2 \hfill \\ \end{aligned}$$
(23)
$${\rm F} = {\rm V}_{{\rm ctrl}} = \frac{{\sum {{\rm w}_{{\rm i}} }^{{\prime }} {\rm F}_{{\rm i}} }}{{\sum {{\rm w}_{{\rm i}} } }}\quad {\rm i} = 1,2 \ldots$$
(24)

ANFIS structure final result is determined utilizing then piece of fuzzy idea spoke to in (24). ANFIS routinely produce harmonic free control voltage once training is finished for different Vgrid and Vdiff. Planned work utilized the algorithm EPO for training ANFIS construction founded on Eq. (17). Here, we take certain amount of value for training process to control the voltage.

$$V_{Ctrl} \, = \,\left( {V_{grid} - \frac{{Max_{iteration} }}{{x - Max_{iteration} }}} \right)$$
(25)
$$V_{grid} \, = \,\left\{ {\begin{array}{*{20}l} {0,} \hfill & {if\,V\, \succ \,500} \hfill \\ {1,} \hfill & {if\,V\, \prec \,600} \hfill \\ \end{array} } \right.$$
(26)

where \(V_{grid}\) is represented by grid voltage, \(x\) is represented as current iteration and \(Max_{iteration}\) is denoted as the maximum number of iteration. So we take maximum range to minimum range of voltage for training process. Other voltage sources are eliminated with the condition. This make control the voltage very quickly in the iteration manner. In this manner the proposed work accomplish error free quick training of EANFIS, hence over-all effectiveness of work is enhanced.

4 Expected outcome

The proposed work will be implemented in Simulink working environment. Resultant outcomes like inverter output, controller output and THD analysis will be compared with recently developed existing works. Our proposed work is compared with existing PID and PI controllers. Figure 5 displays the proposed model of Simulink.

Fig. 5
figure 5

Proposed simulink model

4.1 Inverter current

Figure 6 displays the performance of inverter current. By varying EANFIS controller, the inverter current performance are taken. By using this controller for tuning the purpose of the inverter we got stable inverter current. Our proposed method give better result give better results compared with others.

Fig. 6
figure 6

Inverter current

4.2 Inverter voltage

Figure 7 gives the performance of inverter voltage. By varying EANFIS controller, the inverter voltage performance are taken. By using this controller for tuning the purpose of the inverter we got exact inverter voltage. Our proposed method give better result give better results compared with others.

Fig. 7
figure 7

Inverter voltage

4.3 Grid current

Figure 8 shows the performance of grid current. By varying EANFIS controller, the grid current performance are taken. By using this controller for tuning the purpose of the inverter we got exact grid current. Our proposed method give better result give better results compared with others.

Fig. 8
figure 8

Grid current

4.4 Grid voltage

Figure 9 shows the performance of grid voltage. By varying EANFIS controller, the grid voltage performance is taken. By using this controller for tuning the purpose of the inverter we got exact grid voltage. Our proposed method give better result give better results compared with others.

Fig. 9
figure 9

Grid voltage

4.5 Total harmonic distortion

Figure 10 shows the performance of THD waveform for the yield voltage at the load side. In the proposed system the THD value in load side is 0.78%.

Fig. 10
figure 10

THD performance

4.6 Existing PID-inverter current and voltage

Figure 11 shows the performance of existing PID controller of inverter current and inverter voltage. By varying PID controller, the inverter current and inverter voltage performance are taken. By using this PID controller we does not get the stable inverter current and inverter voltage performance.

Fig. 11
figure 11

Existing PID-inverter current and voltage

4.7 Existing PID-grid current and voltage

Figure 12 shows the performance of existing PID controller of grid current and voltage. By varying PID controller, the grid current and voltage performance are taken. By using this PID controller we do not get the stable grid current and grid voltage.

Fig. 12
figure 12

Existing PID-grid current and voltage

4.8 Existing PID-THD

Figure 13 shows the performance of THD waveform for the yield voltage at the load side. By using existing PID controller the THD value of load side is 16.11%.

Fig. 13
figure 13

Existing PID-THD

4.9 Existing PI-inverter current and voltage

Figure 14 shows the performance of existing PI controller of inverter current and inverter voltage. By varying PI controller, the inverter current and inverter voltage performance are taken. By using this PI controller, we do not get the stable inverter current and inverter voltage performance.

Fig. 14
figure 14

Existing PI-inverter current and voltage

4.10 Existing PI-grid current and voltage

Figure 15 shows the performance of existing PI controller of grid current and voltage. By varying PI controller, the grid current and voltage performance are taken. By using this PI controller, we do not get the stable grid current and grid voltage.

Fig. 15
figure 15

Existing PI-grid current and voltage

4.11 Existing-THD

Figure 16 shows the performance of THD waveform for the yield voltage at the load side. By using existing PI controller, the THD value of load side is 18.19%.

Fig. 16
figure 16

Existing PI-THD

Table 2 shows the comparison of THD. Here, by using our proposed controller the THD value is less because proposed controller reduces the harmonics and produce the exact output. The existing PID and PI controller are high THD value when compared with proposed THD. In this manner the proposed work accomplishes error free quick training of EANFIS, hence total effectiveness of planed work is enhanced.

Table 2 Comparison of THD

5 Conclusion

In this paper solar fed to 27 level MLI with minimize switch topology. Data required for EANFIS obtained by solving harmonic equations by considering various modulation indices. THD evaluated from output voltage generation of EANFIS controlled MLI. Main focus of EANFIS controller is to make inverter to harmonic free output voltage similar to grid voltage. The proposed work has implemented in Simulink platform. The expected outcomes like inverter current and voltage, grid current and voltage and THD analysis will be compared with recently developed existing works. Our work is compared with existing PID and PI controller. In future, the level of multilevel inverter is analysed in real time environments with the help of experimental setups.