Quasi-modified-Newton method-based selective harmonic elimination in cascaded H bridge inverters | Scientific Reports

Blog

HomeHome / Blog / Quasi-modified-Newton method-based selective harmonic elimination in cascaded H bridge inverters | Scientific Reports

Oct 20, 2024

Quasi-modified-Newton method-based selective harmonic elimination in cascaded H bridge inverters | Scientific Reports

Scientific Reports volume 14, Article number: 24552 (2024) Cite this article Metrics details Multilevel converters have gained significant popularity in medium-voltage and high-power applications due

Scientific Reports volume 14, Article number: 24552 (2024) Cite this article

Metrics details

Multilevel converters have gained significant popularity in medium-voltage and high-power applications due to their numerous advantages over traditional two-level converters. These advantages include reduced harmonic distortion, improved efficiency, and lower stress on power semiconductors. Selective harmonic elimination (SHE) is a modulation method that can be employed with multilevel converters to achieve high-quality output voltage waveforms. In this work, an extension of Broyden’s method, known as the Quasi-Modified Newton Method, is implemented for selective harmonic elimination and accurate calculation of switching angles for a wide range of modulation indices. The proposed method is applied to cascaded H bridge inverters operating at levels 5, 7, and 9. The method offers simplicity, reduced computational burden, and faster convergence, making it easily implementable, reducing total harmonic distortion (THD), and reducing RMSE and MAD errors. The paper includes simulation and experimental results that validate the accuracy and effectiveness of the proposed approach.

The Multilevel inverters are gaining popularity in various fields, including renewable energy systems, electric traction, industry, and smart grids, due to their capability to produce output voltages that closely resemble sinusoidal waveforms. When compared to traditional two-level converters, multilevel inverters produce a distinct waveform shape that offers significant advantages1,2,3. These advantages include a decrease in total harmonic distortion (THD), enhanced efficiency, greater capacity to handle voltage and power, and reduced strain on components, resulting in improved dependability. The modulation technique used is the primary factor responsible for these characteristics, which has a significant impact on both performance and implementation complexity. Essentially, the modulation technique involves determining a set of switching angles, which serve as the unknowns in the modulation problem3.

Multilevel inverters have garnered considerable attention in medium-voltage and high-power applications, surpassing traditional two-level inverters4,5,6. This is primarily due to their notable benefits, which include reduced switching losses, improved efficiency, lower common-mode voltage, and enhanced electromagnetic compatibility2. The output waveform has more voltage steps when the number of voltage levels in a multilevel inverter goes up7. At the same time, the total harmonic distortion goes down.

There are algorithms for selective harmonic elimination (SHE), selective harmonic mitigation (SHM), and pulse width modulation (PWM) 8. Generally, SHE and SHM algorithms function at the fundamental frequency, whereas PWM algorithms operate at a higher frequency, albeit typically at lower values compared to conventional two-level PWM inverters. Lower frequencies typically yield higher overall efficiency, making them preferred8,9. As a result, the adoption of SHE or SHM algorithms is desirable in scenarios where it is applicable, such as low-dynamic systems. On the other hand, applications that require high-bandwidth control commonly use multilevel PWM10,11.

Recent work has focused on innovative algorithms for harmonic elimination in multilevel inverters, highlighting the effectiveness of approaches such as the Broyden’s Method Assisted Differential Evolution (BMADE) algorithm. This method effectively eliminates the third and fifth harmonics in the output voltage of a 7-level Cascaded H-Bridge Multilevel Inverter (CHB-MLI) through a selective harmonic elimination technique. This algorithm is not only applicable to hybrid cascaded multilevel inverter topologies but also extends to higher-level inverters and various optimization problems requiring enhanced accuracy29. Additionally, the introduction of RDA optimization for a three-phase 11-level CHB-MLI fed by symmetric sources offers a promising solution for attenuating low-order harmonics while preserving the fundamental output voltage. This method proves effective in achieving optimal Total Harmonic Distortion (THD) values, further contributing to the enhancement of inverter performance30.

Multilevel Pulse Width Modulation (PWM) inverters are becoming more important in many high-performance power applications, such as drives, active power filters, and static voltage compensators. One of their key advantages is that they do not need high ratings on individual devices. These inverters divide the DC rail, either directly or indirectly, enabling the output of each leg to encompass more than just two voltage levels12. By combining amplitude modulation and pulse width modulation techniques, multilevel inverters enhance the quality of the output waveform, thereby reducing distortion. They offer a variety of benefits, including improved power quality, reduced switching losses, decreased output dv/dt, and increased voltage capacity. The power quality improves proportionally with the number of voltage levels in the inverter13. Two main pulse width modulation (PWM) schemes are utilized in multilevel inverters: Multicarrier sub-harmonic PWM (MC-SHPWM) and multicarrier switching frequency optimal pulse width modulation (MC-SFOPWM). When used in the diode-clamped multilevel inverter strategy, the MC-SHPWM technique effectively lowers the total harmonic distortion. Conversely, the MC-SFOPWM technique enhances the fundamental output voltage in the multilevel inverter strategy14,15.

The Selective Harmonic Elimination (SHE) technique is utilized to reduce the Total Harmonic Distortion (THD) in an existing system. To achieve this goal, it is critical to identify and implement a method that can accurately determine the solutions for the equations involved in selective harmonic elimination (SHE) or a system of nonlinear equations that correspond to the converter’s switching angles. For this purpose, researchers have proposed several techniques such as iterative methods, optimization techniques, and mathematical solutions16,17.

Broyden’s method (Fig. 1), introduced by C. G. Broyden, is a Quasi-Newton method used to determine roots in a system of equations with k variables. Finding approximate sets of solutions to a system of nonlinear equations is an improvement over Newton’s methods. Many researchers extended Newton’s method to the Quasi-Newton method or Broyden’s method to increase the convergence rate18. It is a generalization of the secant method. In comparison to Newton’s methods, its convergence rate is rapid, precise, and super-linear. Important characteristics include:

Reduced the number of scalar function evaluations from (n2 + n) to (n), but still requires O(n3) arithmetic operations.

Converge quickly with fewer errors.

Quasi-Newton Method Algorithm for a certain value of m.

To solve the set of equations using this method, a set of initial guess values close to the exact solution is required, which leads to the actual solution. This method can only converge quickly if the initial value is sufficiently close to the exact solution. The absence of the need to calculate partial derivatives and inverses, which was one of Newton’s and Raphson’s flaws, is one of the other significant characteristics of this method. Calculating the Jacobian is unnecessary for this method. The method updates an approximation of another matrix at each iteration so that it behaves similarly to the actual Jacobian.

Initially, the matrix is set close to the true derivative of the set of values of the initial guess, considering it to be the actual Jacobian at iteration k. When the function f is ill-conditioned close to its root, Broyden’s method may experience difficulties. Ill-conditioning refers to a situation where minor alterations in the inputs can result in significant variations in the outputs, which can make it challenging to find an accurate root estimate. Additionally, while Broyden’s method can converge to a root of f, the sequence approximates Bk may not converge to the derivative of the function at the root. This is because Broyden’s method is a Quasi-Newton method that uses approximations of the derivative based on the differences in function values and input variables at different iterations. These approximations may not be accurate near the root, especially if the function is highly nonlinear or has singularities or other difficult features. Therefore, it is important to carefully monitor the convergence of Broyden’s method and to use other methods or techniques to verify the accuracy of the root estimate19,20.

Despite its advantages of fast convergence, accuracy, and efficiency, one major problem stands out: how to initialize a value close enough to an exact solution to obtain convergence and a true value. Another problem is the number of arithmetic operations, which remains the same as in Newton’s methods: O(n3). To overcome these problems, we take into consideration an improved class of Broyden’s method and an extension of Broyden’s method.

This Many engineering, mathematical, physical, and chemical problems result in nonlinear equations in applied mathematics, making scientists want to solve them to produce better and more accurate results. The Quasi-Modified Newton method (Fig. 2) was proposed by Yousef Abu Hour and Mohammad Al-Towaiq in 2017 as the extension class of Broyden’s or Quasi-Newton’s method for solving f(x). It is the fastest and most accurate iterative method. The procedure begins with an initial collection of close approximations to the precise solution. Through successive iterations, it gradually progresses towards a solution that fulfils the system of nonlinear equations. The method is an improvement of the Quasi-Newton method, which gives much more accurate and efficient results in comparison18.

Quasi-Modified Newton Method Algorithm for a certain value of m.

Some of the most significant features of this method include its simplicity. The main purpose of this method is to accelerate the rate of convergence of Quasi-Newton’s methods. The main benefits include:

Reduced number of function evaluations at each step from (n2 + n) to just n and required O(n2) arithmetic operations per iteration.

Reduced computational complexity

Improved accuracy

Evaluation of partial derivatives not required

Reduction in Root Mean Square Error (RMSE)

Total Harmonic Distortion Reduction

The objective of this approach is to apply the method to calculate precise switching angles for a system based on a set of given equations:

where x1, x2,…, xm are the switching angles, n, n1,…, nq are the harmonic orders which need to be eliminated.

M is the modulation index, 2 k + 1 = Number of levels.

The switching angles are in the range 0 to π/2, where x1 < x2 < ⋯ < xm < π/2.

The SHE can be implemented for p number of levels, which can be observed in the generalized equations:

It can be observed from the equations, number of switching angles increase, depending on the level on positive and the negative. For 5 level, there’s a 0 level and 2 positive and 2 negatives. It is such that because we need to control switching of each level to eliminate the harmonics. It can be the concluded that for every p level of inverter, number of switching angle required will be \(\frac{(p-1)}{2}\) , for p levels we subtract the 0th level and then divide by 2 to get the required number of switching angles, so the generalized equation would be as follows:

To apply the proposed method for higher order inverters, Eq. (8) needs to be solved using the algorithm, where n is harmonic order desired to eliminated, the total number of equations will thus depend on the harmonics which the user wants to eliminate. All the equations will be of the form of Eq. (8).

Different sets of solutions are obtained for different values of M. It can be noted that different sets of values for the initial guess may give different sets of solutions for the same value of M, but all the values of sets of solutions can be obtained (if they exist) if values of M vary in sufficiently small steps 19.

Steps to write the code:

Assume the given initial vector, \({x}^{(0)}\)

Let B0 = J \({x}^{(0)}\)

Compute

For k = 1

Compute

Compute

Compute

If \({\left|{x}^{\left(k+1\right)}-{x}^{\left(k\right)}\right|}_{2}\le Tol\), stop

Otherwise set k=k+1, continue looping

This will signify that the method has arrived at the system’s solution.

Several suggestions have been made to improve the output quality of multilevel inverters. One method involves switching angles to eliminate lower harmonics, which is referred to as selective harmonic elimination (Fig. 3). To optimize the selection of switching angles, multilevel inverters (MLIs) primarily utilize selective harmonic elimination techniques. This method permits the generation of the desired fundamental output voltage while simultaneously eliminating lower harmonics. The idea behind selective harmonic elimination is to eliminate particular harmonics produced by a multilevel inverter by optimizing switching angles. In many instances, the optimization process tends to minimize overall harmonics, also known as total harmonic distortion, in addition to the specific targeted harmonics 20,21.

Selective Harmonic Elimination implementation.

The SHE problem is formulated using Fourier series analysis as a set of nonlinear sets of trigonometric equations. More freedom is created as we take more angles into account. However, the main problem arises when solving the set of nonlinear equations. More switching angles increase the complexity of the equation. Many methods to solve the set of these equations have been proposed in the past. The three main methods include numerical iterative methods, evolutionary algorithms, and algebraic methods. Numerical iterative methods like Newton’s Raphson method have been used previously. To solve the problem using Newton Raphson, a good set of initial solutions must be chosen, close to the exact solution, which at some point appears to be a good problem. Evolutionary algorithms can give optimum switching angles for infeasible modulation indices 22.

For algebra-based methods, we do not need to use the initial set of solutions and can find the possible solutions. Staircase Selective Harmonic Elimination (SSHE) is a commonly used technique in Multilevel Inverters (MLIs) to achieve a wide output voltage range while simultaneously eliminating low-order harmonics.

Multilevel inverters (MLIs) are favored over conventional two-level inverters for several reasons. They have the capability to generate high-quality output voltage, minimize switching losses, reduce electromagnetic interference (EMI), and handle high levels of voltage and power. In an MLI, the output voltage is generated by connecting a series of capacitors and switches in a staircase-like configuration. By changing the switching states of the switches, the inverter can control the voltage levels at its output. However, the aforementioned characteristic also introduces harmonic distortion in the output waveform. To mitigate this issue, the Selective Harmonic Elimination (SSHE) technique is employed. This technique involves determining the optimal switching angles that yield the desired fundamental output voltage while simultaneously eliminating low-order harmonics. The SSHE technique achieves this by dividing the fundamental voltage waveform into multiple voltage steps and applying a staircase waveform to the inverter’s output. The staircase waveform is used to figure out the switching angles, and leaving out certain switching angles on purpose helps get rid of harmonic components in the output voltage 23.

The SSHE technique proves to be highly advantageous in achieving a broad range of output voltages while ensuring a high level of voltage quality. By employing multiple voltage steps, it becomes feasible to attain a high resolution for the output voltage without introducing excessive levels of harmonic distortion. Moreover, the SSHE technique can be applied to different types of MLIs, including cascaded, neutral-point-clamped, and flying-capacitor MLIs. In this paper, we use a set of new iterative, super-linear, and fast methods in comparison to Newton methods for optimizing the switching angles and eliminating the multiple harmonics in multi-level inverters 21.

Using pulse modulation techniques for selective harmonic elimination is a way to reduce or get rid of certain harmonic components in the output waveform of a power electronic converter. Harmonics, which are unwanted frequency components, can lead to various problems in power systems, including increased losses, reduced efficiency, and interference with sensitive equipment. The pulse modulation technique involves controlling the switching instants of the power electronic switches in a converter to achieve the desired harmonic elimination 8,24,25,26,27,28. The goal is to discover the most favourable switching angles or pulse patterns that lead to the cancellation or reduction of specific harmonics. To achieve the desired harmonic elimination, optimization algorithms, including numerical methods or iterative techniques, are utilized to determine the optimal switching angles. These algorithms aim to minimize the objective function by iteratively adjusting the switching angles until the desired level of harmonic elimination is achieved.

Here, we use the approach of the Quasi-Modified Newton Method to find the most optimal values of switching angles to achieve the minimum harmonic distortion possible. The main purpose of this method is to accelerate the rate of convergence. One of the major benefits of applying this method is its simplicity and efficient results, giving optimum results for switching angles. To apply SHE PWM, we perform Fourier analysis to obtain a set of nonlinear equations. The set of equations is solved by using Quasi-Modified Newton, which gives the values for switching angles. The values of the switching angle obtained are then used for applying the PWM technique for selective harmonic elimination, which results in a value of THD in per cent. The resultant value of THD comes out to be lower than the THD result using other numerical analysis methods, as discussed further in Section VII, thus proving its efficiency.

Here, the SHE problem is solved and implemented on a cascaded H bridge inverter. Figure 4 shows the general circuit of the cascaded H bridge inverter and the possible way of its extension to more levels.

Cascaded H-bridge inverter for k modules.

In this portion, the convergence characteristics, RMSE, and Median Absolute Deviation errors of Quasi-Modified Newton have been discussed and a comparison with the Newton–Raphson algorithm has been done.

Root Mean Square Error (RMSE) is a statistical metric that measures the average magnitude of errors between predicted and observed values in a dataset. It is commonly employed in various fields, including regression analysis, machine learning, and data science, to evaluate the performance of predictive models. The RMSE is calculated by taking the square root of the mean of the squared differences between predicted and observed values.

The formula for RMSE is as follows:

where n represents the number of data points in the dataset,

∑ indicates the sum of all the squared differences between predicted and observed values.

RMSE provides a single numerical value that represents the overall accuracy of a predictive model. RMSE is only one of several available evaluation metrics, and its interpretation must always be considered in the context of the specific problem domain and the nature of the analyzed data 26.

Median Absolute Deviation (MAD) error provides a robust measure of central tendency because it is less sensitive to outliers compared to other metrics such as mean error. Outliers, which are extreme values that significantly deviate from the majority of the data, can distort the mean error. The median error, however, is less susceptible to outliers because it only considers the middle value 26.

The MAD error formula is described as follows:

Figure 5 represents the MAD error in 5-level CHB using Quasi-Modified Newton and Newton Raphson. Comparing the values, the performance of Quasi-Modified Newton is better than Newton–Raphson, as it gives comparatively less error. RMSE and Median error are calculated for modulation index (m) = 0.9.

(a) MAD error for 5 levels using the Quasi-Modified Newton method. (b) MAD error for 5 levels using the Newton–Raphson algorithm.

Similarly, Fig. 6 represents the MAD error in 7-level CHB using Quasi-Modified Newton and Newton–Raphson.

(a) MAD error for 7 levels using the Quasi-Modified Newton method. (b) MAD error for 7 levels using the Newton–Raphson algorithm.

Comparing the values again, the performance of the Quasi-Modified Newton is better than that of Newton Raphson, as it gives comparatively less error.

Both RMSE and Median error are calculated for modulation index (m) = 0.9.

Similarly, the MAD error in 9-level CHB using the Quasi-Modified Newton and Newton Raphson is presented in Fig. 7. For modulation index (m) = 0.90, RMSE and Median error are both calculated.

(a) MAD error for 9 levels using the Quasi-Modified Newton method. (b) MAD error for 9 levels using the Newton–Raphson algorithm.

Comparing the values once more, the performance of Quasi-Modified Newton is superior to that of Newton–Raphson due to its relatively lower error rate.

Figure 8 illustrates the convergence graphs for different switching angles in a 5-level system. These graphs demonstrate that, despite being initialized with extreme values, all switching angles converge to a constant value. The convergence curves are shown using both the Quasi-Modified Newton method and Newton Raphson. Figure 9 illustrates the convergence graphs for various switching angles in a 7-level system, which are also initialized with extreme values and converge to the same constant value. Here, the convergence curves are also shown using both Quasi-Modified Newton method and Newton–Raphson. Figure 10 depicts convergence graphs for a 9-level system that, when initialized with extreme values, also converges to a constant value. Convergence curves using both algorithms are shown. Thus, the displayed convergence curves demonstrate that the Quasi-Modified Newton method converges rapidly and linearly when compared to Newton–Raphson.

(a) Convergence curves for 5th levels when the initial value of θ1 is set at 1º, 80º and 150º using Quasi-Modified Newton method(b) Convergence curves for 5th levels when the initial value of θ2 is set at 1º, 80º and 150º using Quasi-Modified Newton method(c) Convergence curves for 5th levels when the initial value of θ1 is set at 1º, 80º and 150º using Newton—Raphson(d) Convergence curves for 5th levels when the initial value of θ2 is set at 1º, 80º and 150º using Newton Raphson.

(a) Convergence curves for 7th levels when the initial value of θ1 is set at 1º, 80º and 150° using the Quasi-Modified Newton method (b) Convergence curves for 7th levels when the initial value of θ2 is set at 1º, 80º and 150º using Quasi-Modified Newton method (c) Convergence curves for 7th levels when the initial value of θ3 is set at 1º, 80º and 150º using the Quasi Modified Newton method (d) Convergence curves for 7th levels when the initial value of θ1 is set at 1º, 80º and 150º using Newton Raphson (e) Convergence curves for 7th levels when the initial value of θ2 is set at 1º, 80º and 150º using Newton Raphson (f) Convergence curves for 7th levels when the initial value of θ3 is set at 1º, 80º and 150º using Newton Raphson.

(a) Convergence curves for the 9th level when the initial value of θ1 is set at 1º, 80º and 150º using Quasi-Modified Newton method (b) Convergence curves for the 9th level when the initial value of θ2 is set at 1º, 80º and 150º using Quasi-Modified Newton method (c) Convergence curves for the 9th level when the initial value of θ3 is set at 1º, 80º and 150º using Quasi-Modified Newton method (d) Convergence curves for the 9th level when the initial value of θ4 is set at 1º, 80º and 150º Quasi-Modified Newton method (e) Convergence curves for the 9th level when the initial value of θ1 is set at 1º, 80º and 150º Newton–Raphson (f) Convergence curves for the 9th level when the initial value of θ2 is set at 1º, 80º and 150º using Newton–Raphson (g) Convergence curves for the 9th level when the initial value of θ3 is set at 1º, 80º and 150º using Newton Raphson (h) Convergence curves for the 9th level when the initial value of θ4 is set at 1º, 80º and 150º using Newton Raphson.

Comparing the convergence graphs of Quasi-Modified Newton with Newton Raphson, the convergence rate of the Quasi-Modified Newton method is comparatively faster and linear.

Tables 1, 2, and 3 show the iteration number at which the switching angles start to converge using the Quasi-Modified Newton method and the Newton–Raphson algorithm, when the switching angles are set at 1°, 80°, and 150.

Figure 11 depicts box plots of RMSE versus the mean of switching angles. Figures 11(a) and 10(b) depict box plots of 5-level CHB inverters produced with the Quasi-Modified Newton method and Newton Raphson algorithm. Box plots of 7-level CHB inverters calculated using the Quasi Modified Newton Method and Newton Raphson algorithm are depicted in Fig. 11(c) and (d). Similarly, Fig. 11(e) and (f) depict the box plots of 9-level CHB inverters by using the Quasi Modified Newton method and Newton Raphson algorithm.

(a) Box plot of RMSE vs mean switching angles for a 5-level CHB inverter using the Quasi-Modified Newton method; (b) Box plot of RMSE vs mean switching angles for a 5-level CHB inverter using the Newton Raphson method (c) Box plot of RMSE vs mean switching angles for a 7-level CHB inverter using the Quasi-Modified Newton method; (d) Box plot of RMSE vs mean switching angles for a 7-level CHB inverter using the Newton Raphson method; (e) Box plot of RMSE vs mean switching angles for a 9-level CHB inverter using Quasi-Modified Newton method; (f) Box plot of RMSE vs mean switching angles for 9-level CHB inverter using Newton–Raphson algorithm.

The obtained results confirm, through a comprehensive comparative analysis, that the quasi-modified Newton Method outperforms the Newton–Raphson algorithm in terms of efficiency, speed, and super linear convergence. In Section 7, we compare the simulation outcomes of the Quasi-Modified Newton method and the Newton–Raphson Method.

Table 4 shows thee maximum, median and minimum values of RMSE using Quasi-Modified Newton method and Newton Raphson algorithm.

Table 5 highlights the differences between the two algorithms. The parameters include convergence rate, ease of computation and complexity of the algorithms Quasi Modified Newton and Newton–Raphson. The plots depict the errors observed when employing both the Quasi-modified Newton and Newton–Raphson algorithms. The results show that the Quasi-Modified Newton method has significantly fewer errors than the Newton–Raphson algorithm, demonstrating its superior performance.

Table 6 shows the results taken using Quasi Modified Newton and Newton Raphson tabulated for ease.

MATLAB platform has been utilized to execute the Quasi-Modified Newton method, which returns all possible combinations of switching angles for varying modulation index m. Figures 12, 13, and 14 show the switching angles for modulation indices from 0.5 to 1 when applied to 5, 7, and 9-level cascaded H bridge (CHB) inverters. These angles are based on a certain set of initial solutions.

Switching angles for a 5-level CHB converter.

Switching angles for a 7-level CHB converter.

Switching angles for 9-level CHB converter.

Total Harmonic Distortion (THD) is a measurable method for determining the level of signal distortion. As the harmonic amplitudes increase, so do the distortions.

The optimal switching angle values result in the lowest THD. For all three 5, 7, and 9 CHB topologies, 8 switches have been used and simulated on MATLAB Simulink. A single-cascaded H bridge 5-level inverter is used to drive the RL load (R = 50Ω and L = 8 mH) with DC sources for each H bridge inverter circuit as Vd1 = Vd2 = 100 V. Using MATLAB/Simulink, FFT analysis and the simulation output voltage and current waveform are shown in Figs. 15 and 16 respectively. The switching angles for 5-level CHB for eliminating the 5th harmonic are θ1 = 16.32° and θ2 = 52.36°, with modulation index = 0.9, giving the THD as 17.9%. The 5th harmonic is eliminated as it is presented only by 0.67%, which is less than 1%. Some other higher harmonics in the percentages) that are present have been shown in Table 7.

5th harmonic elimination.

Output voltage and current waveform.

For a seven-level CHB inverter, the parameters for RL load are R = 100 ohms and L = 5 mH, with DC sources for H bridge 1 as Vd1 = 100 V and Vd2 = 2Vd1 = 200 V. The switching angles for 7-level inverters for eliminating the 5th and 7th harmonics are θ1 = 14.8°, θ2 = 39.07°, and θ3 = 62.7°. The modulation index is 0.9, giving a THD of 10.90%. The 5th and 7th harmonics are present at 0.05% and 0.8%, respectively. Some other higher harmonics (in the percentages) that are present have been shown in Table 8. Figures 17 and Fig. 18 present the harmonic profile along with the output voltage and current waveform respectively.

5th and 7th harmonic eliminations.

Output voltage and current waveform.

The parameters for driving the RL load for the nine-level CHB inverter are R = 50 Ω and L = 8 mH with DC sources for H bridges as Vd1 = 30 V and Vd2 = 3Vd1 = 90 V. The switching angles for eliminating the 5th, 7th, and 11th harmonics are θ1 = 10.23°, θ2 = 23.43°, θ3 = 43.42° and θ4 = 63.22° with modulation index = 0.9 for a random initial set of values, giving the THD as 10.05%. The fifth, seventh, and eleventh harmonics are responsible for 0.37 percent, 0.15 percent, and 1.17 percent, respectively. Some other higher harmonics (in the percentages) that are present have been shown in Table 9. The Harmonic profile along with the output voltage and current waveform are shown in Figs. 19 and Fig. 20 respectively.

5th, 7th and 11th harmonic elimination.

Output voltage and current waveform.

Figure 21 shows the voltage and current waveforms for 5, 7 and 9 levels when modulation index is changed from 0.5 to 0.9. These graphs show the performance of the algorithm at extreme modulation indices.

(a) 5-level voltage and current waveforms at 0.5 modulation index and changing to modulation index 0.9 (b) 7-level voltage and current at 0.5 modulation index and changing to modulation index0.9 (c) 9-level voltage and current at 0.5 modulation index and changing to modulation index 0.9.

Using the Newton–Raphson method with the same modulation index and eliminating the 5th harmonic, we get a THD of 18.77%, as shown in Fig. 22. For a 7-level CHB inverter, using the N-R algorithm for eliminating 5th and 3rd, the THD is given as 13.06%. Figure 23 depicts the elimination of the fifth and seventh harmonics using the N-R algorithm, along with a THD of 10.20%. Figure 24 depicts the elimination of the fifth, seventh, and eleventh harmonics using the N-R algorithm, along with a THD of 10.20%.

Elimination of 5th harmonic using Newton Raphson algorithm.

Elimination of 5th and 7th harmonics using Newton Raphson algorithm.

Elimination of the 5th, 7th, and 11th harmonics using the Newton–Raphson algorithm.

The preceding analysis demonstrates that the Quasi-Modified Newton improves THD clearly and significantly, demonstrating its efficacy and efficiency. This is a table. Tables should be placed in the main text near to the first time they are cited.

This portion demonstrates the practical application of the Quasi-modified Newton Method on a cascaded H-bridge inverter. Figure 25 shows the experimental setup in the laboratory for the verification of the Quasi-Modified Newton method on a CHB 8-switch inverter.

Experimental set-up in the lab.

On the Digital Storage Oscilloscope (DSO), it is possible to observe the output waveforms. Figure 25 depicts the voltage and current waveforms of the load for 5-level, 7-level, and 9-level inverters, respectively. The outcomes for both resistive and resistive-inductive loads are provided. Following the application of the Quasi-Modified Newton method, these results depict the current and voltage waveforms in CHB inverters with and without harmonics. Figure 26. (a), (b) shows experimental results of 5-level CHB inverters supplied with R load impedance Z = 40 Ω and R-L load impedance Z = 40 Ω for modulation index (m) = 0.69. Figure 26. (c), (d) shows experimental results for 7-level CHB inverters supplied with R-load impedance Z = 25 Ω and R-L load impedance Z = 25 Ω ohms for modulation index (m) = 0.72. Figure 26. (e), (f) shows experimental results for 9-level CHB inverters supplied with R load impedance, Z = 20Ω and for R-L load impedance, Z = 10Ω for modulation index (m) = 0.79. Figure 26 (g), (h) and (i) shows the experimental results for 5-level, 7-level and 9-level voltage and current waveforms on varying loads. Here, the load is simultaneously varied.

(a) Hardware results showing voltage and current waveforms and harmonics present for a 5-level CHB inverter on R-load. (b) Hardware results showing voltage and current waveforms and harmonics present for a 5-level CHB inverter on RL-load. (c) Hardware results showing voltage and current waveforms and harmonics present for a 7-level CHB inverter on R-load. (d) Hardware results showing voltage and current waveforms and harmonics present for 7-level CHB inverter on R-load. (e) Hardware results showing voltage and current waveforms and harmonics in a 9-level CHB inverter on R-load. (f) Hardware results showing voltage and current waveforms and harmonics in 9-level CHB inverters on an R-L load. (g) 5-level voltage and current waveforms on varying loads. (h) 7-level voltage and current waveforms on varying loads (i) 9-level voltage and current waveforms on varying loads.

These experimental results validate the simulation results, verifying the efficiency of the Quasi-Modified Newton method.

This paper utilizes the Quasi-Modified Newton Method to compare the total harmonic distortion (THD) results for three multilevel inverters: 5-level, 7-level, and 9-level. The important conclusion includes:

Reduced computational complexity

Improved accuracy

Evaluation of partial derivatives not required

Reduction in Root Mean Square Error (RMSE)

Total Harmonic Distortion Reduction

For a highly nonlinear, multivariable problem and higher-order harmonics, the proposed algorithm fails to converge and does not provide the optimal switching angle.

Application of the proposed methodology for solving the SHE problem lies in optimizing the switching angles, which in turn eliminate the harmonics more effectively and reducing the THD %, thus improvising the efficiency of the inverter.

The findings of this paper demonstrate that the Quasi-Modified Newton Method outperforms the Newton–Raphson method. When all other factors remain constant, the simulation results show that the new method achieves a lower THD than the Newton–Raphson method. Furthermore, the Quasi-Modified-Newton Method offers more accurate and faster results compared to the Newton–Raphson method. Also, a hardware implementation was done to confirm the simulation results for both resistive (R) and resistive-inductive (R-L) loads at certain modulation indices.

The datasets used and/or analysed during the current study available from the corresponding author on reasonable request.

Sarwer, Z., Anwar, M. N. & Sarwar, A. A nine-level common ground multilevel inverter (9L-CGMLI) with reduced components and boosting ability. Int. J. Circuit Theory Appl. https://doi.org/10.1002/cta.3550 (2023).

Article Google Scholar

Khan, R. A. et al. Archimedes optimization algorithm based selective harmonic elimination in a cascaded h-bridge multilevel inverter. Sustainability (Switzerland), 14(1). https://doi.org/10.3390/su14010310 (2022).

Bhoopal, N., Rao, D. S. M., Narukullapati, B. K., Kasireddy, I. & Kumar, D. G. Selective Harmonic Elimination Based THD Minimization of a Symmetric 9-Level Inverter Using Ant Colony Optimization. Math. Model. Eng. Probl. 8(5), 769–774. https://doi.org/10.18280/mmep.080512 (2021).

Article Google Scholar

Chabni, F., Taleb, R. & Helaimi, M. ANN-based SHEPWM using a harmony search on a new multilevel inverter topology. Turk. J. Electr. Eng. Comput. Sci. 25(6), 4867–4879. https://doi.org/10.3906/elk-1703-122 (2017).

Article Google Scholar

Gao, L., Liu, Y., Chen, N., Li, H., Zhang, N., & Yu, S. A Design method of the transmitting waveform of electromagnetic sounding based on selective harmonic elimination. Math Probl Eng, 2022. https://doi.org/10.1155/2022/2915275 (2022).

Kumari, M., Sarwar, A., Tariq, M., Ahmad, S., Mohamed, A. S. N., & Rodrigues, E. M. G. A symbiotic organism search-based selective harmonic elimination in a switched capacitor multilevel inverter. Energies (Basel). 15(1). https://doi.org/10.3390/en15010089 (2022).

Yaqoob, M. T., Rahmat, M. K., Maharum, S. M. M. & Su’ud, M. M. A review on harmonics elimination in real time for cascaded h-bridge multilevel inverter using particle swarm optimization. Int. J. Power Electron. Drive Syst. 12(1), 228–240. https://doi.org/10.11591/ijpeds.v12.i1.pp228-240 (2021).

Article Google Scholar

Xie, D. et al. Diagnosis and Resilient Control for Multiple Sensor Faults in Cascaded H-Bridge Multilevel Converters. IEEE Trans Power Electron, pp. 1–15, https://doi.org/10.1109/TPEL.2023.3279907 (2023).

Poorfakhraei, A., Narimani, M. & Emadi, A. A review of modulation and control techniques for multilevel inverters in traction applications. IEEE Access 9, 24187–24204. https://doi.org/10.1109/ACCESS.2021.3056612 (2021).

Article Google Scholar

Prabaharan, N. & Palanisamy, K. A comprehensive review on reduced switch multilevel inverter topologies, modulation techniques and applications. Renew Sustain Energy Rev 76, 1248–1282. https://doi.org/10.1016/j.rser.2017.03.121 (2017).

Article Google Scholar

Urmila, B. & Subbarayudu, D. Multilevel inverters: a comparative study of pulse width modulation techniques. Int. J. Sci. Eng. Res. 1(3), [Online]. Available: http://www.ijser.org (2010).

Tayyab, M. et al. Grid-connected operation and control of single-phase asymmetrical multilevel inverter for distributed power generation. IET Renew. Power Gener. 16(16), 3629–3642. https://doi.org/10.1049/rpg2.12581 (2022).

Article Google Scholar

Urgun, S. & Yigit, H. Selective harmonic eliminated pulse width modulation (SHE-PWM) method using genetic algorithm in single-phase multilevel inverters. Int. J. Electr. Eng. Inform. 13(1), 191–202. https://doi.org/10.15676/IJEEI.2021.13.1.11 (2021).

Article Google Scholar

Adeyemo, I. A., Ojo, J., Adegbola, O., Adeyemo, I. A., & Adegbola, J. A. Selective harmonic elimination in standalone single-phase multilevel inverter connected to photovoltaic array smart energy management system for homes view project unpaved-road extraction from satellite images (Master’s Thesis) view project selective harmonic elimination in standalone single-phase multilevel inverter connected to photovoltaic array. https://doi.org/10.22624/AIMS/DIGITAL/V10N3P9xx (2022).

Khizer, M. et al. Selective harmonic elimination in a multilevel inverter using multi-criteria search enhanced firefly algorithm. IEEE Access 11, 3706–3716. https://doi.org/10.1109/ACCESS.2023.3234918 (2023).

Article Google Scholar

Moussa, M. F., & Dessouky, Y. G. Selective harmonic elimination in multi-level inverter with selective harmonic elimination in multi-level inverter with equal-power-rating series-connected transformers. https://doi.org/10.6113/JPE.2014.14.1.

Yi H’ng, C., Ismail, B., Khairul, M. N., & Rohani, H. Selective Harmonic Elimination Pulse Width Modulation for Five-Level Cascaded Inverter.

Hour, Y. A. & Al-Towaiq, M. Extension Classes of Broyden’s and Central Broyden’s Methods for Solving F (x) = 0. [Online]. Available: https://www.researchgate.net/publication/323186145 (2017).

Broyden, C. G. A Class of methods for solving nonlinear simultaneous equations.

Toubal, A. E. et al. Mathematical analysis of N-R algorithm for experimental implementation of SHEPWM control on single-phase inverter. Int. J. Eng. Trends Technol. (IJETT), [Online]. Available: http://www.ijettjournal.org

Yaqoob, M. T., Rahmat, M. K., & Maharum, S. M. M. Modified teaching learning based optimization for selective harmonic elimination in multilevel inverters. Ain Shams Eng. J. 13(5). https://doi.org/10.1016/j.asej.2022.101714 (2022).

Vivert, M., Diez, R., Cousineau, M. Bernal Cobaleda, D., Patino, D., & Ladoux, P. Real-time adaptive selective harmonic elimination for cascaded full-bridge multilevel inverter. Energies (Basel) 15(9). https://doi.org/10.3390/en15092995 (2022).

Parihar, M., Singh, G., Bhaskar, M. K., & Jain, D. Analysis of cascaded H-bridge multilevel solar inverter. Int. J. Eng. Tech. 8. https://doi.org/10.5281/zenodo.7221140. (2022)

Laali, S. & Nasiri-Zarandi, R. New cascaded multilevel inverter with series connection of novel capacitor based basic units. IET Power Electron. https://doi.org/10.1049/pel2.12502 (2023).

Article Google Scholar

Sajid, I., Sajid, J., Azad, M. A., & Sarwar, A. A Novel Seven-Level Switched Capacitor Multilevel Inverter Topology with Common Ground Configuration. In: 2023 International Conference on Power, Instrumentation, Energy and Control, PIECON 2023, Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/PIECON56912.2023.10085748. (2023).

Hodson, T. O. Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not. Geosci. Model Dev. 15(14), 5481–5487. https://doi.org/10.5194/gmd-15-5481-2022 (2022).

Article ADS Google Scholar

Ali, M., Tayyab, M., Sarwar, A. & Khalid, M. A low switch count 13-level switched-capacitor inverter with Hexad voltage-boosting for renewable energy integration. IEEE Access https://doi.org/10.1109/ACCESS.2023.3265467 (2023).

Article Google Scholar

Alnuman, H. et al. A single-source switched-capacitor 13-level high gain Inverter with lower switch stress. IEEE Access https://doi.org/10.1109/ACCESS.2023.3266050 (2023).

Article Google Scholar

Ahsan, M. et al. Broyden’s method assisted differential evolution (BMADE) based selective harmonic elimination in a cascaded H-bridge multilevel inverter. IET Power Electron. 16, 2336–2355. https://doi.org/10.1049/pel2.12553 (2023).

Article Google Scholar

Bulletin of Electrical Engineering and Informatics 12(5), 2643–2650. https://doi.org/10.11591/eei.v12i5.5160. ISSN: 2302-9285 (2023)

Download references

The authors extend their appreciation to King Saud University for funding this work through Re-searchers Supporting Project number (RSP2024R387), King Saud University, Riyadh, Saudi Arabia. The authors would also like to acknowledge the facilities provided by Non Conventional Energy Lab, Department of Electrical Engineering, Aligarh Muslim University, Aligarh, India for carrying out the research work.

This research has received funding from King Saud University through Researchers Supporting Project number RSP2024R387), King Saud University, Riyadh, Saudi Arabia.

Department of Electrical Engineering, ZHCET, Aligarh Muslim University, Aligarh, 202002, India

Bisma Saif, Uzma Masood & Adil Sarwar

Industrial Engineering Department, College of Engineering, King Saud University, 11421, Riyadh, Saudi Arabia

Shafiq Ahmad

Department of Mechanical Engineering, Asia Eastern University of Science and Technology, New Taipei City, 220, Taiwan

Liang-Yin Huang

Undergraduate Program of Vehicle and Energy Engineering, National Taiwan Normal University, Taipei, 106, Taiwan

Hwa-Dong Liu

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

Conceptualization, B. S., U. M., A. S., and S. A..; formal analysis, B. S., and U. M.; inves-tigation, B. S., and U. M.; software, B. S., and U. M.; methodology, B. S., and U. M.; data curation, B. S., U. M., and A. S..; visualization: B. S., and U. M.; funding acquisition, H.-D. L.; supervision, H.-D. L.; writing—original draft, B. S., U. M., A. S., S. A., L.-Y. H., and H.-D. L.; writing—review and editing, B. S., U. M., A. S., S. A., L.-Y. H., and H.-D. L.

Correspondence to Hwa-Dong Liu.

The authors declare no competing interests.

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

Saif, B., Masood, U., Sarwar, A. et al. Quasi-modified-Newton method-based selective harmonic elimination in cascaded H bridge inverters. Sci Rep 14, 24552 (2024). https://doi.org/10.1038/s41598-024-75685-7

Download citation

Received: 05 August 2024

Accepted: 07 October 2024

Published: 19 October 2024

DOI: https://doi.org/10.1038/s41598-024-75685-7

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative