Introduction

Power quality is a serious issue when considering the performance analysis of every electrical apparatus1. Particularly in the power system, the third-order harmonics increase the undesirable sharp currents and flow to the neutral conductor, so the detrimental neutral current increases2. In Electric vehicles, conventional cascaded types of multilevel inverters are used in induction motors (IM). These inverters have more THD which does not meet the IEEE standard with less power conversion efficiency, moreover, the voltage stress is greater across the switching devices, and each section has to be isolated from high electromagnetic interference by providing a suitable isolation transformer3. Existing IM-based EVs utilize these inverters, so the induction motor gets affected in terms of performance and the quality of output gets affected which is sensed by advanced-type sensors4. The factors that affect the motor’s performance are as follows: (1) uneven torque is generated due to unbalanced voltage, (2) Magnetic saturation and unequal air gaps occur due to the space harmonics in the windings, moreover, it induce the opposite voltage circulating harmonic currents, (3) The considerable range of power loss, oscillations, rise in temperature, and vibrations are occurring due to the increase of cumulative order of harmonics, (4) Finally, the detrimental effect is gradually built up so that the efficiency and lifetime of the motor are reduced5,6. To solve the above-mentioned problems, the induction motor should receive nearly sinusoidal magnitudes even received from a DC source7. To get a pure sinusoidal voltage from the DC source, a filter can be used but Based on the power quality issue the filter size and cost will increase so the best choice is a multilevel inverter is bringing the DC magnitude into sinusoidal with less THD8. In this modern era, the multilevel inverter is the state of the art in power conversion technology, and due to inherent qualities, the utilizing ratio is increasing drastically rather to the conventional inverter. Several fields like industries, grid-connected systems, solar PV conversion systems, electric vehicle systems, and so on9,10. The traditional MLI is categorized as a diode-clamped inverter, a Flying capacitor type, and a Cascaded H-bridge inverter. Each type is affected by the utilization of switching devices, and their concerning auxiliary components, thereby increasing the cost11. In recent years, researchers have developed many topologies with less switching devices and different voltage levels12,21. In the topology porposed12, shown recently developed reduced switch MLI topologies. These MLIs categorized with several domains like (a) no of phases, (b) no of levels, (c) based on construction, (d) merits and demerits, (e) coordinated operation of symmetric and asymmetric, and finally (f) STATCOM-based inverter.

Moreover, in topology12 different voltage levels are compared with a minimum of 5 levels to 27 levels, and a 31 L–12 S MLI is introduced which has the fewest switching devices with only two sources. In modular hybrid converters13, different unbalanced problems arise, so active balance theory is introduced to solve this issue. However, this is only for complex topologies with high dynamic systems. Fourteen switches are used to generate 13-level voltage with the help of two sets of H bridges with switched capacitor units. These two sets of capacitors operate in series and parallel combinations with different levels of voltage generation, so voltage balancing and maintenance levels are decreased14. This work focuses on the Induction motor’s THD analysis with various pulse width modulation (PWM) techniques but earlier research was done in15,16. The neutral point clamped inverter, symmetrical, and hybrid asymmetrical inverters are utilized in induction motors with symmetrical, asymmetrical, phase disposition, phase shift, and hybrid modulation techniques using triangular carrier waves. But it fails to explain the generated voltage level and percentage of harmonics content that occurred in the AC induction motor. To reduce the THD, several reduced switches with dual-source inverters are proposed with higher levels17,18,19,20,21. 12 switches connected with two voltage sources form a new type of symmetrical and asymmetrical-based multilevel inverter proposed in17 illustrated in Fig. 1a and the generated voltage level is 9 and 13. Figure 1. (a) 13 level output is Proposed in ref17, (b) presented in18 and generated 13 level output, (c) four sources with nine level output presented in19, (d). Asymmetrical-based nineteen-level voltage generated with three sources referred in20, (e) Asymmetrical-based thirty-one-level voltage generated with four sources referred in21. The obtained THD levels are 9.09% and 6.25%. To maintain the capacitor voltage, the voltage balancing circuits are used externally. In Fig. 1b, a Switched capacitor-based 13-level voltage is generated18, and in this topology, selective harmonic elimination techniques are used with closed-loop which is complicated. In between the two basic units, the H bridge units are connected with four sources and generate 9 and 17 levels19, and the detailed structure is represented in Fig. 1c. An asymmetrical-based 19 L voltage is generated through the three voltage sources and thirteen switches, with a reduced THD level of 3.89%20 is shown in Fig. 1d. A dynamic load is connected in a 31-level asynchronous-based inverter, to produce this level of voltage only ten switches are required but sources of voltage are increased to four and connected in a cascaded manner21 with 3.71% of THD in a dynamic loading system are shown in Fig. 1e. In the topologies2224 different modulation techniques are used to reduce the THD level in an induction motor.

A number of topologies based on switched capacitors have been suggested in25,26,27,28,29,30 for increasing the output voltage levels with boosting ability. In topology26, a 5-level (5 L) extendable topology for centralized photovoltaic systems is introduced. However, achieving higher output voltage levels requires a significant increase in the number of power components, which can impact system complexity and efficiency. As similar to the topology26, the topology proposed in27 also uses more SCs that results in increase in ripple voltage. In28, a 13-level inverter topology with a single DC source is proposed. However, over 67% of its power switches must be rated higher than the output voltage, potentially increasing the cost and complexity of the design. A 17 L SCMLI presented in29 includes the complexity of managing multiple components, potential reliability concerns due to the reliance on several diodes and capacitors, and the need for precise implementation of the soft-charging technique to avoid inefficiencies under varying load conditions. In topology30, a 19-level ANPC-SCMLI was proposed for high-frequency AC power distribution. The topology faces challenges with soft charging inductor design as power increases and requires complex control due to its high component count. Despite a self-balancing feature, maintaining capacitor balance remains difficult, with efficiency peaking at 94.42% at 500 W but likely decreasing at higher power levels. In this work, a 31 L MLI is incorporated in a battery-connected induction motor-based EV which results in low THD. The THD of the existing MLIs is compared to prove the superiority of the 31 L MLI. In this work, a 31 L, twelve switches MLI is introduced which minimizes the THD to a greater extent when compared to the existing topologies.

Fig. 1
figure 1

(a) 13 level output is proposed in ref17, (b) presented in18 and generated 13 level output, (c) four sources with nine level output presented in19, (d) Asymmetrical-based nineteen-level voltage generated with three sources referred in20, (e) Asymmetrical-based thirty-one-level voltage generated with four sources referred in21.

Proposed electric vehicle system with inverter circuits

In high-power electric vehicles, the drive system is a significant part of an induction motor and it has several notable advantages like high efficiency for any speed change, less weight with a high-power rating and better speed regulation, and high-performance characteristics. So, in most of the high-power EVs, an induction motor is used, and to run this IM smoothly without any power quality issues, the inverter part is essential. Commonly, the inverter part in of the system is the “brain of the Electric vehicle system” because without power conversion the induction motor cannot be utilized, so an inverter is the state of the art in power conversion technology. The inverter should produce a good quality of power as per IEEE standards and based on the motor’s speed, the inverter can generate the alternating voltage and current at a suitable frequency.

Description of the overall system

The overall system description is illustrated in Fig. 2, in which the large storage battery is charged through the connector. The DC supply from the battery storage (DC-DC Converter) is fed to the proposed 31-level MLI. The induction motor receives an alternating supply through the inverter and also controls the AC power frequency. so that the motor speed is controlled. The inverter is considered most important because of an induction motor driving system”, and it varies the amplitude of the AC power which in turn controls the motor power output. The switching operation of the proposed inverter is controlled using an ANN controller. The Induction motor is affected by THD when the low-level topology is utilized, hence a 31 L asymmetric-based inverter topology is employed in this application to minimize the THD.

Fig. 2
figure 2

Electric vehicle overall system Description.

Proposed double source 31-level inverter topology

Two different voltage sources VDC1 and VDC2 and the polarity changer are considered as a significant part of this inverter are shown in Fig. 3. The variable source and capacitors are integrated several times into the polarity changer to obtain synthesized step level generating output like a pure sinusoidal. To increase the output waveform, the capacitor part is essential. To get an alternating terminal change in the inverter circuits, mostly H-bridges are used as polarity changers. The main advantage of this type of inverter is, that this inverter can extended at any level by the connection of additional sources. In the level adder portion, only eight switches (S1, S2, S3, S4 and S5, S6, S7, and S8) are integrated into the lower and upper arm of the sources which form the proposed 31 L. Across each source, two capacitors (C1, C2 and C3, C4) are connected with the same and different ratings. But in this paper, two different voltage ratings are used as this is an asymmetrical-based inverter (VDC1 and 3VDC2). The optimum switches and levels are calculated and formed through the equation represented in [17] for symmetrical and unsymmetrical-based inverters. So based on this equation, to generate a 31-level voltage a minimum of 12 switches is required. The generalized structure of the proposed topology and its equations are shown in Fig. 4 and in Table 1.

Table 1 Generalized equations for proposed topology inverter topology.

Description of the switching sequence

The two different voltages are obtained from renewable energy sources. The upper arm source voltage is VDC1 = 18 V and the lower arm source voltage is VDC2 = 4*VDC1 = 72 V, to get different levels four capacitors (C1, C2, and C3, C4) are connected across each of the sources. The Capacity of C1 = 6 V, C2 = 12 V, C3 = 24 V, and C4 = 48 V, during various modes of the Switching Sequence The 31 Level output voltage received in the sum of all possible voltage, i.e. 90 as shown in Fig. 5a,b, a 31 L synthesized waveform is obtained. Table 2 shows the switching state sequence. Figure 5c,d shows a zero-level switching state and 31-level output. Every cycle waveform magnitude and time steps are represented as 6 V and 0.33 ms as per the switching operation represented in Table 2. During this level of generation, a minimum of four switches are triggered along with the polarity changer switches. This topology ensures minimum stress and loss when compared with other mentioned inverter models as the conduction period is less. Table 2 shows the switching state sequence. Figure 5c,d shows a zero-level switching state and 31-level output. Every cycle waveform magnitude and time steps are represented as 6 V and 0.33 ms as per the switching operation represented in Table 2. During this level of generation, a minimum of four switches are triggered along with the polarity changer switches. This topology ensures minimum stress and loss when compared with other mentioned inverter models as the conduction period is less.

Fig. 3
figure 3

Proposed 12 Switch 31Level asymmetric based topology.

Fig. 4
figure 4

Extended structure for the proposed topology.

Table 2 Switching sequence with various stages of the proposed 31 L inverter.
Fig. 5
figure 5figure 5figure 5

(a) Positive level voltage generation. (b) Negative level voltage generation. (c) Zero-level voltage generation mode, (d) MLI output of 31 level.

Multicarrier PWM technique

The output AC voltage for the multilevel inverter is generated by using (m-1) carriers for m-levels. At the intersection of the carrier and the sinusoidal signal, the switching periods are attained by comparing the triangular carriers with the reference signal. In the positive half cycle, m-1/2 carrier signals are given and during the negative half cycle the remaining m-1/2 carrier signals are given for m- level. The positive voltage levels are produced when the sinusoidal wave is higher than the carrier signal and so m-1/2 carriers are produced above the reference levels. The negative voltage levels are produced when the carrier signal is higher than the sinusoidal signal and so m-1/2 carriers are produced lower than the reference levels. The carrier signal for frequency is chosen as high and the pulse width is directly proportional to the magnitude of the sine wave. When compared to another existing method, the control circuit for the PWM technique is so easy. In this logic, circuit (m-1) carriers are chosen from the generation of the m-level carrier waveform. The Multicarrier PWM signal is illustrated in Fig. 6.

Fig. 6
figure 6

Multicarrier PWM signal.

Generally, in this technique, the amplitude of carrier signals and the frequency are found to be equal. In the carrier signal, the modulation index-based PWM is given as the ratio of the reference signal’s amplitude to that of the carrier and it is expressed by the relation,

$${M_a}={A_m}/{A_c}$$
(1)

where Ma denotes the modulation index of amplitude, the amplitude of the sine and the carrier signals is denoted as Am and Ac respectively. The amplitude of the carrier and the modulated signals are 15 V and 14.9 V so the modulation index obtained is 0.993. For the multicarrier technique, the modulation index is varied between 0 and 1, if the value is greater than 1, over-modulation occurs and so the output waveform obtained is a square wave. The frequency ratio is given as the ratio of the carrier wave’s frequency to the reference wave’s frequency and it is expressed by the relation,

$${M_f}={f_c}/{f_m}$$
(2)

where fc denotes the carrier frequency and fm denotes the reference signal frequency. As the frequency of the carrier and the modulated signals are 10 kHz and 50 Hz, the frequency ratio is 200. The inverter is designed to work in the 31 states for one fundamental frequency.

Fig. 7
figure 7

Switching pulses of switches of the proposed 31 L topology.

The expressions for the PWM generation are obtained as31 below, From Fig. 7 the expression for the different switches have been obtained as follows (3),

$$\begin{gathered} {S_1}={A_1}+{A_3}+{A_5}+{A_7}+{A_9}+{A_{11}}+{A_{13}}+{A_{15}}+{B_1}+{B_3}+{B_5}+{B_7}+{B_9}+{B_{11}}+{B_{13}}+{B_{15}} \hfill \\ {S_3}={A_1}+{A_4}+{A_5}+{A_8}+{A_9}+{A_{12}}+{B_1}+{B_4}+{B_5}+{B_8}+{B_9}+{B_{12}} \hfill \\ {S_5}={A_1}+{A_2}+{A_3}+{A_8}+{A_9}+{A_{10}}+{A_{11}}+{B_1}+{B_2}+{B_3}+{B_8}+{B_9}+{B_{10}}+{B_{11}} \hfill \\ {S_6}={A_1}+{A_2}+{A_3}+{A_4}+{A_5}+{A_6}+{A_7}+{B_1}+{B_2}+{B_3}+{B_4}+{B_5}+{B_6}+{B_7} \hfill \\ {S_2}=\overline {{{S_1}}} \,\,;\,\,{S_4}=\overline {{{S_3}}} \,\,;\,\,{S_7}=\overline {{{S_6}}} \hfill \\ {S_8}={A_4}+{A_5}+{A_6}+{A_7}+{A_{12}}+{A_{13}}+{A_{14}}+{A_{15}}+{B_4}+{B_5}+{B_6}+{B_7}+{B_{12}}+{B_{13}}+{B_{14}}+{B_{15}} \hfill \\ {H_1}={A_1}+.+{A_{15}}+{B_1}+{B_3}+{B_5}+{B_7}+{B_9}+{B_{11}}+{B_{13}}+{B_{15}} \hfill \\ {H_2}={A_1}+.+{A_{15}}+x \hfill \\ {H_3}=\overline {{{H_2}}} \,\,;\,\,{H_4}={H_3}+x \hfill \\ \end{gathered}$$
(3)

where x denotes the zero state.

Results and discussions

Electric vehicles have attracted more researchers as it preserves the environment and for the enhanced working of EV, a 31 L MLI is introduced in this work with multi-carrier modulation. The key interest of selecting this MLI is that it minimizes the THD so that the performance of the EV gets enhanced. The overall system configuration is simulated in MATLAB and the objectives are verified. The description of the parameters is shown in Table 3. A DC-DC converter is utilized for the step-up function and its output is linked to the capacitor. The 31 L MLI has four capacitors and the input to the capacitors C1, C2, C3, and C4 are set around 6 V, 12 V 24 V, and 48 V respectively as illustrated in Fig. 8. To achieve higher voltage levels, any number of variable sources are coupled with the polarity changer, here H-bridge is utilized as a polarity changer. The output voltage representation of the 31 L MLI as obtained in the simulation is highlighted in Fig. 9.

Table 3 Description of parameters.
Fig. 8
figure 8

Capacitor voltage waveforms.

Fig. 9
figure 9

Output voltage waveform of the proposed 31 L MLI.

The proposed topology is tested under various loading conditions, including resistive (R) load, inductive-resistive (RL) load, and motor load, to evaluate its performance. Figure 10a illustrates the output voltage (Vo​) and load current (io​) waveforms when an R load of 22.5 Ω is applied, showing a load current of 4 A. Similarly, under an RL load of 50 + j90 Ω, the load current obtained is 1.56 A, as depicted in Fig. 10b. For a 0.25 HP motor load, the current increases significantly to 10.4 A, as shown in Fig. 10c. Furthermore, the proposed topology is tested under load variations, transitioning from one RL load to another and from an R load to an RL load, with the corresponding results shown in Fig. 11a,b. Figure 11a presents the output voltage (Vo​) and load current (io​) waveforms when the load changes from 90 + j50 Ω to 50 + j90 Ω. In Fig. 11b, the load is varied from 22.5 Ω (R load) to 50 + j90Ω (RL load). These results demonstrate the reliable operation of the proposed 31-level inverter topology during transient conditions. Figure 11c shows the main winding current of the motor load while the speed is varied. The proposed 31 L MLI is coupled with the Induction motor-based EV and the motor’s speed is given in Fig. 12 which settles around 1.5 s. The THD of the proposed scheme by incorporating 31 L MLI is obtained as 2.16% in Fig. 13.

Fig. 10
figure 10

Output voltage (Vo) and load current (io) waveforms when (a) R = 22.5 Ω, (b) RL = 50 + j90 Ω, (c) Motor load of 0.25 HP.

Fig. 11
figure 11

Transient response of the proposed 31 L inverter topology when (a) Load is changed from RL = 90 + j50 Ω to RL = 50 + j90 Ω, (b) Load is changed from R = 22.5 Ω to RL = 50 + j90 Ω.

Fig. 12
figure 12

Induction motor-speed waveform.

Fig. 13
figure 13

THD-with the proposed 31 L MLI.

Hardware implementation

The proposed induction motor-based EV with 31 L MLI is implemented in hardware using DSPIC30f2010 in Fig. 14. Similar to the simulation, the results are attained for the experimental setup also. Initially, the battery gets charged through the charging port and the DC/DC step-up converter boosts the battery voltage which is then fed to the proposed 31 L MLI. The voltage across each capacitor VC1, VC2, VC3, and VC4 is shown in Fig. 15. The 31 L MLI has four capacitors and 12 switches, the input to the inverter is fed through the capacitor by setting desired voltages. The gate pulses for the switches S1, S4, S8, H1 and H3 are illustrated in Fig. 16.

Fig. 14
figure 14

Hardware setup.

Fig. 15
figure 15

(ad) Voltage across capacitors C1, C2, C3, and C4.

Fig. 16
figure 16

(ae) Pulses for the switches.

Figure 17 shows the output voltage of the 31-level. The 31 L MLI is controlled by the pulses generated, and multi-carrier modulation is utilized here. The output of this MLI is fed to the IM-based EV, and the speed of the IM is illustrated in Fig. 18, with the THD of 3.04% in Fig. 19.

Fig. 17
figure 17

Output voltage waveform of proposed 31 L MLI.

Fig. 18
figure 18

Speed waveform of the induction motor.

Fig. 19
figure 19

THD of the proposed 31 L MLI.

Comparative analysis

A comparison table for different multilevel inverters is presented in Table 4 and discussed in this section. The comparison is done considering the following parameters, the number of (levels, sources, switches, capacitors, diodes, switches per level), total standing voltage per unit (TSVp.u.), THDs, CF with different weigh factors (α = 0.5, 1, 1.5), and applications as listed in Table 4. Although the proposed topology and the one presented in23 use the same number of 12 power switches, the TSVp.u. is significantly higher in the23, which also impacts the CF, as shown in Table 4. Similarly, the topology in21 uses one additional switch and an extra DC source compared to the proposed topology, increasing circuit complexity and impacting performance through higher conduction and switching losses. The extra DC source complicates control and adds to the inverter’s size and cost, making the proposed topology more efficient, as shown in Table 4. For a fair comparison among the different topologies listed in Table 4, the metric ‘number of switches per level’ has been calculated and thoroughly analyzed. The analysis reveals that the proposed topology requires fewer switches per level compared to all other topologies, with the exception of the one presented in23. This highlights the proposed topology’s advantages in terms of reduced component count and potential cost savings, making it a more efficient choice. For example, the topology in26 requires only 8 switches to generate a 5 L output. However, due to its extendable nature, scaling it up to a 31 L output demands 47 switches and 15 capacitors, with a TSVp.u. of 35. This value is significantly very higher than that of the proposed topology, indicating that the proposed design offers a more efficient solution with fewer components and lower complexity. The cost function (CF) is calculated using29 as,

$$CF=\frac{{{N_S}}}{{{N_L}}} \times [{N_{SW}}+{N_D}+{N_C}+(\alpha \times TSV)]$$
(4)

The NS/NL/NSW/ND/NC shows the number of sources/levels/switches/diodes/capacitors, “α” represents the weight factor in measuring the importance between the number of components and TSV. The 31 L topologies, including the proposed design and the topologies from21,23,26 have been selected for the Cost Function (CF) comparisons to ensure a fair evaluation. Among the 31 L topologies listed in Table 4, the Cost Function (CF) of the proposed topology is the lowest, indicating that it offers a more cost-effective solution compared to all other topologies examined. This reduced CF reflects the proposed topology’s efficient use of components.

Table 4 Comparison with existing topologies.

Conclusion

The 31 L–12 S MLI for IM-based EV is analyzed in this work. The generated THD in the induction motor greatly affects the performance of the EV. Hence an MLI that generates more voltage levels is necessary which increases the lifetime of the motor. A 31 L MLI with 12 switches and two DC sources is introduced in this work which has minimized devices with low switching loss and stress across the switches. The working of the proposed 31-level MLI is controlled using an ANN controller. The proposed MLI is validated in MATLAB and it is observed that THD 2.16% is attained. A downscale prototype is developed with DSPIC30F2010 as a controller and this MLI can be extended for HV applications & grid incorporated systems also.