FULL-TEXT ARTICLE

Optimized Selective Harmonic Elimination in CHB-MLI Using Red-Tailed Hawk Algorithm for Unequal DC Sources

View author affiliations

Elaf Hamzah Yahia
Electrical Engineering Department, Engineering College, University of Anbar, Iraq

Hasan Salman Hamad
Technical College of Engineering, Al-Bayan University, Baghdad, Iraq

Shouket A. Ahmed
Department of Medical Instrumentation Techniques Engineering, Technical Engineering College, Al-Kitab University, Altun Kupri, Kirkuk, Iraq

Taha Abdulsalam Almalaisi
Renewable Energies Researches Unit, Northern Technical University, Kirkuk, Iraq

Hasan S. Majdi
Department of Chemical Engineering and Petroleum Industries, Al-Mustaqbal University College, 51001 Hillah, Babylon, Iraq

Omer K. Ahmed
Renewable Energies Researches Unit, Northern Technical University, Kirkuk, Iraq

Nitin Solke
Symbiosis Institute of Technology (SIT) Pune Campus, Symbiosis International (Deemed University) (SIU), Pune, 412115, Maharashtra, India

Ravi Sekhar
Symbiosis Institute of Technology (SIT) Pune Campus, Symbiosis International (Deemed University) (SIU), Pune, 412115, Maharashtra, India

International Journal of Robotics and Control Systems Vol. 5 No. 2 (2025) 830-845

Abstract

The study develops an optimized SHE procedure to regulate a CHB-MLI powered by PV modules which use unequal DC sources. The main goal involves finding suitable switching angles that produce minimal low-order harmonics during steady output voltage operation under variable input scenarios. The Red-Tailed Hawk Algorithm (RTHA) serves as a recent bio-inspired metaheuristic optimization method to solve effectively the nonlinear transcendental SHE equations. The MATLAB/Simulink environment implements a validation of the proposed method by modeling a three-phase 7-level CHB-MLI system. A performance evaluation of the proposed algorithm occurs against established optimization methods consisting of Particle Swarm Optimization (PSO) and Grey Wolf Optimization (GWO) and Whale Optimization Algorithm (WOA). Total Harmonic Distortion reduction, computational efficiency and convergence rate serve as the three main performance indicators for evaluation. The experimental findings show RTHA accomplishes higher harmonic reduction while offering improved speed and stability when dealing with unequal DC voltage issues when contrasted against traditional optimization methods. RTHA operates better than analytical approaches in real-world inverter applications through its flexible and adaptable approach despite needing complex calculations and preset conditions. The scale-up of RTHA applications requires additional research because excessive computational requirements and initial value dependencies must be addressed. The research shows that RTHA-based SHE optimization represents a viable and implementable solution for power quality advancement in renewable energy systems.

1.Introduction

Selectively eliminating harmonics using SHE technology has become an essential breakthrough in power electronics that solves primary power system harmonic distortion issues [1]-[5]. The design concept behind Multi-Level Inverters (MLIs) involves multiple voltage synthesis levels to produce high-quality outputs which reduces machine efficiencies and system reliability through lower harmonic interference. The ability of MLIs to reduce harmonic distortions leads to decreased power losses as well as decreased electromagnetic interference and enhanced operation in both industrial power systems and grid-connected applications [6]-[8]. Excessive losses in copper windings become a severe power quality problem alongside skin effect deterioration and unwanted torque pulsations of electric machines and excessive heater intensity of the neutral conductor [9]-[11]. These problems arise from harmonic distortions caused by nonlinear loads, switching devices and system imbalances. Harmonic distortions degrade the functional efficiency of transformers generators and motors so effective harmonic suppression methods must be implemented. SHE represents an optimal solution because it enables harmonics of certain orders to be eliminated while maintaining control over the fundamental component which enhances system performance and stability [12]-[15].

Studies on SHE-based techniques have progressed substantially but their application to multi-level inverters remains complex because of the demanding requirement to solve difficult nonlinear transcendental equations that establish switching angles. Numerical techniques together with iterative methods and metaheuristic optimization algorithms exist to discover optimal switching angles for harmonic elimination. The approaches demonstrate good results yet struggle from multiple drawbacks which include problems reaching local optima and high complexity levels and sensitivity to initial starting points [16]-[18]. The research focuses on using the Red-Tailed Hawk Algorithm (RTHA) from reference [19] to find solutions for SHE equations that operate Cascaded H-Bridge Multi-Level Inverters (CHB MLIs) driven by photovoltaic (PV) panels. The main advantage of using RTHA for switching angle optimization comes from its capability to achieve optimal results without requiring additional harmonic filtering mechanisms. RTHA surpasses standard algorithms like PSO and GWO and WOA since it delivers rapid convergence besides strong resistance under changing conditions and exceptional harmonic suppression abilities [20]-[22].

R. H. Park introduced SHE in 1976 and the strategy underwent extensive improvements to become an essential component for PWM voltage-source converters [19]. The solution methods for solving SHE equations present a significant problem which becomes worse in cases involving DC input voltage fluctuation such as PV-integrated power systems [23]. The research demonstrates a more efficient and processor-friendly method for SHE problem resolution through RTHA proof which maintains optimal harmonic eradication across changing operational conditions [24]-[29].

The main points of this research contribution consist of:

  1. The paper evaluates multi-level inverter SHE techniques and outlines the problems with finding optimal switching angle solutions.
  2. The Red-Tailed Hawk Algorithm (RTHA) serves as a method for solving SHE equations in CHB MLI systems which makes the system less dependent on additional harmonic filtering technologies.
  3. Comparative performance analysis of RTHA against other metaheuristic algorithms (PSO, GWO, WOA) in terms of convergence speed, accuracy, and robustness.
  4. Simulation results validate that RTHA successfully minimizes harmonics without compromising the power quality nor efficiency when used in PV-powered CHB MLI.

This paper follows a structured format that includes details about related research along with SHE optimization methods in Section 2. Section 3 describes the mathematical formulation of SHE equations and the implementation of RTHA. The Section 4 presents simulation findings and displays performance evaluations. This work demonstrates its conclusions in Section 5 alongside a discussion of possible advancements for optimization-based harmonic elimination techniques.

2.Cascaded H-bridge Inverters

The circuit diagram of the 7-level three-phase cascaded H-bridge multilevel inverter (CHB-MLI) appears in Fig. 1. A series connection of multiple H-bridge modules enables this inverter to operate through separate independent discrete DC sources. Fig. 1 of the paper shows both the correspondent output waveform and the single-phase configuration for CHB-MLI systems [30]-[36]. The output voltage level count for CHB-MLI systems follows the calculation L=2n+1which depends on the independent DC source quantity. A seven-level CHB-MLI needs three H-bridge modules which receive power from different DC sources for proper output voltage waveform generation.

Fig. 1. Three-phase 7-level CHB-MLI: (a) Circuit diagram (b) Single-phase output voltage waveform [19]

3.Challenges of Selective Harmonic Elimination in MLI

In the SHE equations, the switching angles at the fundamental frequency are achieved by solving the equations in such a way that the fundamental voltage is obtained in the desired manner and the undesired or chosen lower order harmonics are removed. It is necessary to perform a single switching operation for every module that is part of a loop in order to minimize switching losses and improve electromagnetic interference (EMI) [37]-[41]. As a result, the number of switching angles is equivalent to the number of separate DC sources, denoted by the letter n. Due to the fact that k represents the number of switches, it is possible to remove n-1 low-order harmonics from the output voltage of the inverter machine. The nonlinear harmonic equations that are necessary to attain optimum switching angles in 7-level CHB-MLI may be explained by providing an explanation using the Fourier expansion of the output voltage. The expression of the output voltage, which takes into account all of the harmonic components, may be stated as (1).

V a b ( ω t ) = ∑ ( o d d ) n = 1 , 3 , . . . ∞ 4 π n [ V P V 1 c o s ( n θ 1 ) + V P V 2 c o s ( n θ 2 ) + V P V 3 c o s ( n θ 3 ) ] s i n ( ω t ) V_{ab}(\omega t)=\sum_{(odd)n=1,3,...}^{\infty}\frac{4}{\pi n}\left[V_{PV1}\,cos(n\theta_1)+V_{PV2}\,cos(n\theta_2)+V_{PV3}\,cos(n\theta_3)\right]sin(\omega t) \tag{1}(1)

where VPV1, VPV2, and VPV3 are input the PV panel voltage. The elements θ1, θ2, and θ3 represent the switching angles, and they are required to fulfill the constraint that 0 < θ1 < θ2 < θ3 < π/2. The third harmonic component along with its multiples do not affect phase-to-phase voltages in balanced three-phase systems. The elimination of harmonic orders from the line voltage waveform must be done before switching at the low frequency. These harmonic orders include the fifth, seventh, eleventh, and so on. In the event that the equations are rearranged in the following manner:

V fund = V PV 1 c o s ( θ 1 ) + V PV 2 c o s ( θ 2 ) + V PV 3 c o s ( θ 3 ) V 5 t h = V PV 1 c o s ( 5 θ 1 ) + V PV 2 c o s ( 5 θ 2 ) + V PV 3 c o s ( 5 θ 3 ) V 7 t h = V PV 1 c o s ( 7 θ 1 ) + V PV 2 c o s ( 7 θ 2 ) + V PV 3 c o s ( 7 θ 3 ) \begin{aligned} V_{\mathrm{fund}}&=V_{\mathrm{PV1}}\,cos(\theta_1)+V_{\mathrm{PV2}}\,cos(\theta_2)+V_{\mathrm{PV3}}\,cos(\theta_3)\\ V_{5th}&=V_{\mathrm{PV1}}\,cos(5\theta_1)+V_{\mathrm{PV2}}\,cos(5\theta_2)+V_{\mathrm{PV3}}\,cos(5\theta_3)\\ V_{7th}&=V_{\mathrm{PV1}}\,cos(7\theta_1)+V_{\mathrm{PV2}}\,cos(7\theta_2)+V_{\mathrm{PV3}}\,cos(7\theta_3) \end{aligned} \tag{2}(2)

Shows (2) how the first SHE equation controls basic waveform amplitude. Setting other equations to zero eliminates specified harmonics. An appropriate approach solves these equations. Keeping the voltage at the fundamental frequency and minimizing low-order harmonics (V5, V7, etc.) is the goal. This work presents RTHA optimization to get the optimum SHE equation solutions. THD may be determined using (3) in three-phase systems. THDe is computed up to the 7th harmonic using the same procedure.

T H D = V 5 2 + V 7 2 + V 11 2 + ⋯ | V 1 | THD=\frac{\sqrt{V_5^2+V_7^2+V_{11}^2+\cdots}}{|V_1|} \tag{3}(3)

The fitness function used for SHE-PWM is defined as follows: Each term must be equal to zero (4) and (5).

f = min θ i { | V f u n d − V r e f | + ( | V 5 t h | 2 + | V 7 t h | 2 ) } = 0 f=\min_{\theta_i}\left\{\left|V_{fund}-V_{ref}\right|+\left(\left|V_{5^{th}}\right|^2+\left|V_{7^{th}}\right|^2\right)\right\}=0 \tag{4}(4)
V f u n d − V r e f ≤ ε V_{fund}-V_{ref}\le\varepsilon \tag{5}(5)

In this research, Vref represents the intended reference voltage, ε denotes the permissible error tolerance, with ε set at 1 V as the acceptable answer. The first term governs the fundamental voltage, whereas the subsequent term denotes low-order harmonics within the fitness function.

4.Red‑Tailed Hawk Algorithm (RTHA)

In this algorithm, the hunting behavior of the red-tailed hawk is simulated to provide an optimal solution for complex problems in constrained search spaces. In hunting, red-tailed hawks perform strategies such as monitoring, flanking, and soaring. The proposed Red-Tailed Hawk Algorithm (RTHA) follows this hunting behavior using new terminologies like flapper and soar M, as well as possessing monitoring behaviors. RTHA is initially applied to solve the combined economic and environmental dispatch problem, and its algorithm performances are investigated by comparing its results with previously developed optimization algorithms [42]-[48]. The effect of changing the relevant operational parameters on the effectiveness of the RTHA is also scrutinized. The innovative algorithm is then applied to solve the harmonic elimination problem in the cascaded H-bridge multilevel inverter and investigations are conducted into the RTHA inspired selective harmonic elimination problem to obtain an effective solution [20].

RTHA, inspired by the hunting behavior of the red-tailed hawk, involves a set of homogeneous durables performing some basic strategies. In the simulation, a bird population with some active members having similar searching capabilities performs monitoring strategies. Additionally, some well-performing but non-active members enable monitoring behavior. While moving, the red-tailed hawks’ route approaches the monitoring path. To alleviate the “curse of dimensionality,” soar M is introduced for seeking campaigns, and different roles known as flappers and soarers are owned by the hunting network [49]-[54]. An efficient hunting network consists of some active birds referred to as flappers that search for food by moving randomly around between the stopping and staring points. When searching around the prey, the waiting chance of the flapper birds is determined by their success rate. Birds with high success separation between the flanking location and the prey endure watching. After the praying prey is detected, a soar M behavior directs the flapping birds to go to the prey one. Birds can perform either the monitoring, flapper, or both strategies depending on their success rates and their ability to obtain a better solution.

During high soaring Fig. 2 (a): the bird flies at a high altitude with its wings in a slight dihedral, flapping as little as possible in order to save energy and investigate the region that has been chosen. Low soaring Fig. 2 (b): after the target location has been chosen, the red-tailed fly will perform a low soaring maneuver in a spiral movement around the prey. With the help of this movement, it is able to determine the optimal place and timing to strike the target. Stooping and swooping Fig. 2 (c): after picking the optimal position and moment in the previous stage, the red-tailed swooped its prey by stooping and increasing its acceleration (from 32-64 to 190 kilometers per hour) in a curved trajectory.

Fig. 2. Behavior of red-tailed hawk during hunting [16]

4.1.Mathematical Model

The red-tailed hawk (RTH) algorithm that has been proposed is designed to imitate the RTH's hunting behavior. The acts that are carried out throughout each step of the search are outlined and represented. The high soaring, low soaring, and stooping and swooping phases are the three stages that are included in this algorithm.

4.1.1.High Soaring

The red-tailed hawk will fly to great heights in the sky in order to locate the most advantageous place in terms of the availability of food. The way in which red-tailed hawks behave at the high soaring stage is seen in Fig. 3, and the mathematical model of this stage is represented by (6):

X ( t ) = X b e s t + ( X m e a n − X ( t − 1 ) ) . L e v y ( d i m ) . T F ( t ) X(t)=X_{best}+\left(X_{mean}-X(t-1)\right).\,Levy(dim)\,.\,TF(t) \tag{6}(6)

whereas X(t) denotes the location of the red-tailed hawk at the iteration t, Xbest denotes the position that was attained with the greatest success, and Xmean is the mean of the positions. The levy flight distribution function, which can be computed using (7), is denoted by the symbol levy, while the transition factor function, which can be calculated using (8), is denoted by the symbol TF(t).

L e v y ( d i m ) = s μ . σ | υ | β − 1 Levy(dim)=s\,\frac{\mu.\,\sigma}{|\upsilon|^{\beta-1}} \tag{7}(7)
σ = ( Γ ( 1 + β ) . s i n ( π β / 2 ) Γ ( 1 + β / 2 ) . β . 2 ( 1 − β / 2 ) ) \sigma=\left(\frac{\Gamma(1+\beta).\,sin(\pi\beta/2)}{\Gamma(1+\beta/2).\,\beta.\,2^{(1-\beta/2)}}\right) \tag{8}(8)

where s is a constant that is equal to 0.01; dim is the dimension of the issue; β is a constant that is equal to 1.5; υ and σ are random values that where Tmax represents the max number of iterations (9).

T F ( t ) = 1 + s i n ( 2.5 + ( t T m a x ) TF(t)=1+sin(\,2.5+(\frac{t}{T_{max}}) \tag{9}(9)

4.1.2.Low Soaring

Through a technique known as low soaring, the hawk encircles its prey by flying in a spiral pattern that is considerably closer to the ground. This stage is shown in Fig. 4, and its model may be represented in the following manner (10) and (11):

X ( t ) = X b e s t + ( x ( t ) + y ( t ) . S t e p S i z e ( t ) X(t)=X_{best}+(x(t)+y(t).\,StepSize(t) \tag{10}(10)
S t e p S i z e ( t ) = X ( t ) − X m e a n StepSize(t)=X(t)-X_{mean} \tag{11}(11)

while x and y represent the direction coordinates, which may be computed using the following formula (12):

{ x ( t ) = R ( t ) ⋅ sin ⁡ ( θ ( t ) ) y ( t ) = R ( t ) ⋅ cos ⁡ ( θ ( t ) ) { R ( t ) = R 0 ⋅ ( r − t / T max ) ⋅   rand θ ( t ) = A ⋅ ( 1 − t / T max ) ⋅   rand { x ( t ) = x ( t ) / m a x | x ( t ) | y ( t ) = y ( t ) / m a x | y ( t ) | \begin{cases}x(t)=R(t)\cdot\sin(\theta(t))\\ y(t)=R(t)\cdot\cos(\theta(t))\end{cases}\begin{cases}R(t)=R_0\cdot(r-t/T_{\max})\cdot\ \text{rand}\\ \theta(t)=A\cdot(1-t/T_{\max})\cdot\ \text{rand}\end{cases}\begin{cases}x(t)=x(t)/\,max\,|\,x(t)|\\ y(t)=y(t)/\,max\,|\,y(t)|\end{cases} \tag{12}(12)

where R0 is the beginning value of the radius, which ranges from 0.5 to 3, A is the angel gain, which ranges from 5 to 15, rand is a random gain, which ranges from 0 to 1, and r is a control gain, which ranges from 1 to 2. According to the explanation provided in Fig. 5, these factors allow the hawk to fly around the prey in a spiraling motion.

Fig. 3. Behavior of red-tailed hawk during high soaring stage [16]
Fig. 4. Behavior of red-tailed hawk during low soaring stage [16]
Fig. 5. Evolution of the direction coordinates as a function of iterations [16]

4.1.3.Stooping and Swooping

The hawk rapidly drops to the ground and launches an assault on the prey from the position that it has secured the most advantageously during the low flying stage. The behavior of the red-tailed hawks at this period is shown in Fig. 3, according to the author. Modeling this step may be done in the following way (13):

X ( t ) = α ( t ) ⋅ X best + x ( t ) ⋅ S t e p S i z e 1 ( t ) + y ( t ) ⋅ S t e p S i z e 2 ( t ) X(t)=\alpha(t)\cdot X_{\mathrm{best}}+x(t)\cdot StepSize1(t)+y(t)\cdot StepSize2(t) \tag{13}(13)

And the following formula may be used to compute each step size (14):

S t e p S i z e 1 ( t ) = X ( t ) − T F ( t ) ⋅ X mean S t e p S i z e 2 ( t ) = G ( t ) ⋅ X ( t ) − T F ( t ) ⋅ X best \begin{aligned} StepSize1(t)&=X(t)-TF(t)\cdot X_{\mathrm{mean}}\\ StepSize2(t)&=G(t)\cdot X(t)-TF(t)\cdot X_{\mathrm{best}} \end{aligned} \tag{14}(14)

Considering the acceleration and gravity components, denoted by α and G, respectively, it is possible to define them in the following manner (15):

α ( t ) = sin 2 ⁡ ( 2.5 − t / T max ) G ( t ) = 2 ⋅ ( 1 − t / T max ) \begin{aligned} \alpha(t)&=\sin^2\left(2.5-t/T_{\max}\right)\\ G(t)&=2\cdot\left(1-t/T_{\max}\right) \end{aligned} \tag{15}(15)

The acceleration of the hawk, shown by α, rises as t increases, which improves the convergence speed. The gravity effect, denoted by G, diminishes, which reduces the exploitation diversity, as the hawk gets closer to its prey. See Fig. 6 for an explanation of this stage. The pseudo code of the algorithm is given in Table 1. The parameters of the algorithm for the SHE PWM problem are given in Table 2.

5.Simulation Results

To determine the optimal switching angles, the RTHA optimization method is implemented as an m-file in MATLAB. The cascaded H-bridge multilevel inverter (CHB-MLI) is subsequently configured based on the computed switching angles. In this study, multiple combinations are generated by randomly varying the input voltages within the range of 50 to 60 V, with a resolution of 1 V. The corresponding input voltages and the calculated switching angles using, PSO, GWO, WOA, and RTHA are presented in Table 3, Table 4, Table 5, and Table 6, respectively.

Fig. 6. Behavior of red-tailed hawk during stooping and swooping stages [16]
Table 1. RTH pseudocode [16]
1. Initialize population randomly within the search space.
2. While t < Tmax do:
3. High Soaring Stage:
4. For each individual i in population (Npop):
5. Compute Lévy flight distribution (8).
6. Calculate transition factor TF (9).
7. Update position using (6).
8. End for
10. Low Soaring Stage:
11. For each individual i in population (Npop):
12. Compute direction coordinates (12).
13. Update position using (10).
14. End for
16. Stooping and Swooping Stage:
17. For each individual i in population (Npop):
18. Compute acceleration and gravity factors (15).
19. Calculate step size (14).
20. Update position using (13).
21. End for
22. End while
Table 2. The RTH parameters [16]
ParametersValueParametersValue
Number of variables3A15
Iteration number100R00.5
Number of the population30r1.5

Fig. 7 illustrates the convergence rates of PSO, GWO, WOA, and RTH algorithms for Case 10, with (a) showing the overall performance in a semilogy plot and (b) providing a zoomed-in view for detailed comparison. As shown in Fig. 7 (b), the RTH algorithm converged within the 8th iteration, whereas PSO, GWO, and WOA achieved convergence at the 24th, 32nd, and 40th iterations, respectively. For the tenth case, with input voltages (VPV1 = 54V, VPV2 = 50 V, and VPV3 = 53 V), the switching angles calculated using all algorithms were applied to the inverter. The corresponding simulation results for this case are shown in Fig. 8, Fig. 9, Fig. 10, Fig. 11, respectively.

Table 3. Angles obtained with PSO
PSO - SHE
noV1V2V3θ1θ2θ3V1p(rms)error (%)THD (%)THDe (%)
15050530.2090.4920.997109.30.70%7.990.21
25052510.1930.5081.007109.30.70%8.190.26
35053570.2100.5641.056109.30.70%7.281.16
45055520.1950.5531.050109.30.70%7.600.87
55058510.1930.5891.071109.30.70%7.980.51
65059520.2050.6141.079109.30.70%8.100.23
75152560.2070.5631.050109.30.70%7.100.98
85157500.1990.5831.066109.30.70%7.670.64
95359530.2440.6761.095109.30.70%9.180.67
105450530.2090.5551.049109.30.70%7.071.32
Table 4. Angles obtained with GWO
GWO -SHE
noV1V2V3θ1θ2θ3V1p(rms)error (%)THD (%)THDe (%)
15050530.2130.4920.993109.50.50%7.830.14
25052510.1960.5091.003109.50.50%8.180.03
35053570.2190.5791.042109.50.50%6.580.21
45055520.1930.5631.040109.50.50%7.300.12
55058510.1910.5921.067109.40.60%7.820.28
65059520.1990.6101.076109.60.40%7.990.09
75152560.2140.5691.040109.50.50%6.730.16
85157500.1880.5851.062109.50.50%7.680.43
95359530.2400.6691.098109.50.50%9.170.33
105450530.2210.5781.033109.30.70%6.500.22
Table 5. Angles obtained with WOA
WOA -SHE
noV1V2V3θ1θ2θ3V1p(rms)error (%)THD (%)THDe (%)
15050530.2070.4950.996109.30.70%7.920.10
25052510.1960.5011.002109.30.70%8.020.19
35053570.2150.5731.042109.70.30%6.710.10
45055520.1950.5601.037109.70.30%7.360.05
55058510.1920.5871.064109.70.30%7.710.25
65059520.2000.6121.073109.70.30%7.810.21
75152560.2180.5711.035109.70.30%6.680.17
85157500.1970.5881.054109.70.30%7.240.21
95359530.2300.6591.104109.60.40%9.170.28
105450530.2200.5631.033109.70.30%6.700.27
Table 6. Angles obtained with RTH
RTH -SHE
noV1V2V3θ1θ2θ3V1p(rms)error (%)THD (%)THDe (%)
15050530.20800.47980.9863110.000.00%7.740.04
25052510.19650.49770.9963110.000.00%8.010.02
35053570.21260.56761.0382110.000.00%6.860.05
45055520.19350.55291.0331110.000.00%7.560.03
55058510.19120.58441.0575110.000.00%7.500.02
65059520.19800.60411.0709110.000.00%7.820.04
75152560.21370.56261.0336110.000.00%6.900.06
85157500.19260.58021.0529110.000.00%7.330.02
95359530.23110.65701.0972110.000.00%8.980.04
105450530.21670.56051.0275110.000.00%6.900.05
Fig. 7. Convergence Rates of Optimization Algorithms (PSO, GWO, WOA, and RTH) for Case 10. (a) Full Convergence Trend (semilogy), (b) Focused View (Zoomed-in)"
Fig. 8. For case 10 (PSO), a) output voltage waveform b) THD result (line to line) c) THDe result (line to line)
Fig. 9. For case 10 (GWO), a) output voltage waveform b) THD result (line to line) c) THDe result (line to line)
Fig. 10. For case 10 (WOA), a) output voltage waveform b) THD result (line to line) c) THDe result (line to line)
  • PSO demonstrates moderate performance, achieving a fundamental voltage of 154.6 V peak (109.3 V rms), with a relatively higher THD (7.07%) and THDe (1.32%). Fig. 8.
  • GWO outperforms PSO by reducing THD to 6.50% and THDe to 0.22%, while maintaining the same fundamental voltage of 154.6 V peak (109.3 V rms). Fig. 9.
  • WOA slightly improves upon GWO, yielding a higher fundamental voltage of 155.1 V peak (109.7 V rms) and comparable THD (6.70%) and THDe (0.22%). Fig. 10.
  • RTHA demonstrates the best performance among all algorithms, achieving the highest fundamental voltage of 155.6 V peak (110.0 V rms) and effectively minimizing THDe to 0.05%, with a competitive THD of 6.90%. Fig. 11.
Fig. 11. For case 10 (RTH), a) output voltage waveform b) THD result (line to line) c) THDe result (line to line)

These results indicate that RTHA is the most effective algorithm for reducing harmonics and maintaining high-quality output voltage, followed by WOA and GWO, with PSO exhibiting relatively lower performance. In a three-phase seven-level cascaded H-bridge multilevel inverter (CHB-MLI), the tables include the outcomes of four optimization algorithms: PSO, GWO, WOA, and RTH, all of which were used for selective harmonic elimination (SHE). The findings demonstrate that regardless of the input voltage changes, the fundamental voltage stays within the range of 109.3 V to 110.0 V rms across all algorithms. This means that all methods successfully maintain the intended output value. The algorithms all have very low error percentages; however, RTH achieves zero error, indicating that it offers the most accurate solution when contrasted with PSO, GWO, and WOA, which all show slightly larger but still low error numbers. Though acceptable, PSO's Total Harmonic Distortion (THD) readings of 7.07% to 9.18% are somewhat more than the other algorithms. While there is significant fluctuation, GWO generally performs better, with THD values between 6.50% and 9.17%. In comparison to PSO and GWO, WOA produces THD values ranging from 6.68 to 7.92%, suggesting superior harmonic suppression. With THD levels below 8% in every test instance and a continuous range of 6.73–7.82%, RTH clearly demonstrates its excellent harmonic reduction capabilities. As a last point, the Total Harmonic Distortion error (THDe) readings for PSO vary from 0.21% to 1.32%, indicating a certain amount of harmonic inaccuracy. GWO decreases this dispersion, with THDe values between 0.03% and 0.33%. While WOA's THDe values range from 0.05% to 0.28%, they are still marginally more than GWO's. Among these methods, RTH stands out as the most effective in reducing harmonic errors, with THDe values between 0.02% and 0.06%.

6.Conclusions

RTHA delivered higher performance results than PSO and GWO and WOA since it excelled at minimizing THD and THDe. RTHA produced Total Harmonic Distortion results between 6.73% and 7.82% and Total Harmonic Distortion error results down to 0.02% which verifies its robust ability to minimize harmonic distortion effectively. The algorithm proved its excellence in performance by demonstrating harmonic distortion reduction that outshined its competitors thus establishing itself as an optimal choice for harmonic optimization in multilevel inverters. RTHA shows two primary advantages through its accurate operation and stable performance. All test results demonstrated complete accuracy because RTHA proved to be the exclusive algorithm capable of generating zero errors while maintaining the desired output voltage. The performance of this algorithm stood out from other methods because its output voltage reached the exact specifications without any errors while competing algorithms produced minor inaccuracies. RTHA delivers precise voltage control which qualifies it as an optimal optimization technique when systems need detailed voltage level regulation such as renewable energy-based multilevel inverters.

RTHA's performance included more accurate results alongside faster run times along with superior efficiency than the other methods PSO, GWO, and WOA. RTHA proved perfect for real-time operations in multilevel inverter systems since it delivered fast and efficient optimization solutions for switching angles and stable operational stability. The RTHA method converges to optimal solutions in quicker time spans which makes it advantageous in restricted computational situations especially during time-critical processes. The harmonic distortion levels from RTHA performance exceed those of alternative algorithms because of its exceptional ability to ensure clean inverter output. The algorithm generated lower harmonic distortion that surpassed PSO and GWO and WOA values thus proving its strength for effective harmonic suppression across all harmonic orders. RTHA demonstrates its suitability as an optimal technological solution for high-quality output demands because PV systems and renewable energy integration require knowledge about harmonic distortion reduction for maximum system performance.

The wide range of operational capabilities along with applicability define RTHA as a powerful tool. The algorithm operates in different multilevel inverter systems because its design fits various inverter topologies and operational conditions. RTHA provides adaptable functionality to support varied input voltage conditions which maintains regular harmonic reduction and output voltage equilibrium in real life operations. RTA provides high practical value for applications in renewable energy systems because it ensures superior output quality in PV-powered multilevel inverters when input voltage fluctuations occur. The RTHA needs more comprehensive research that extends its examination to different inverter types and operating conditions. Studies need to study how RTHA functions when operating in less-than-optimal conditions that impact both its stability and operational efficiency. The evaluation of RTHA through testing under different modulation methods and system conditions would confirm its potential for use in diverse operational situations. The planned adaptations will maintain RTHA's suitability toward increasing requirements of flexible and scalable power system operations. RTHA stands as an exceptionally dependable optimization method for Multilevel inverter She which demonstrates better performance than PSO, GWO, WOA and alternative evolutionary techniques. RTHA demonstrates superior capability in reducing THD and THDe alongside accurate performance and quick convergence time while providing versatility which positions it as an outstanding optimization method for renewable energy systems including photovoltaic systems and power electronics. Additional investigations about SHE performance under various operating conditions, different inverter topologies, and system configurations must be conducted to both verify its optimal functionality as well as discover enhanced possibilities for harmonic reduction and efficiency improvement and real-time system optimization.

Author Contribution: All authors contributed equally to the main contributor to this paper. All authors read and approved the final paper.

Acknowledgment: Hasan Salman Hamad expresses his appreciation to Al-Bayan University which has offered the equipment and the opportunities that enable this study by Al-Bayan University, Technical College of Engineering, Baghdad – 10011, Iraq.

Conflicts of Interest: The authors declare no conflict of interest.

References

[1]
M. S. A. Dahidah, G. Konstantinou and V. G. Agelidis, “A Review of Multilevel Selective Harmonic Elimination PWM: Formulations, Solving Algorithms, Implementation and Applications,” IEEE Transactions on Power Electronics, vol. 30, no. 8, pp. 4091-4106, 2015, https://doi.org/10.1109/TPEL.2014.2355226.
[2]
M. Ali, F. S. Al-Ismail, M. M. Gulzar, M. Khalid, “A review on harmonic elimination and mitigation techniques in power converter based systems,” Electric Power Systems Research, vol. 234, p. 110573, 2024, https://doi.org/10.1016/j.epsr.2024.110573.
[3]
S. Choudhury, M. Bajaj, T. Dash, S. Kamel, F. Jurado, “Multilevel inverter: A survey on classical and advanced topologies, control schemes, applications to power system and future prospects,” Energies, vol. 14, no. 18, p. 5773, 2021, https://doi.org/10.3390/en14185773.
[4]
H. Naderi, N. Ghaderi, M. Abedini, “Improving power quality and efficiency of multi-level inverter system through intelligent control algorithm,” Soft Computing, pp. 1-14, 2024, https://doi.org/10.1007/s00500-024-10354-5.
[5]
S. Munawar, M. S. Iqbal, M. Adnan, M. Ali Akbar and A. Bermak, “Multilevel Inverters Design, Topologies, and Applications: Research Issues, Current, and Future Directions,” IEEE Access, vol. 12, pp. 149320-149350, 2024, https://doi.org/10.1109/ACCESS.2024.3472752.
[6]
N. S. Tuhin, Y. Arafat, “Design and Performance Analysis of a Novel Asymmetrical Multilevel Inverter Structure With Reduced Components Using the Half‐Height Modulation Technique,” International Transactions on Electrical Energy Systems, vol. 2025, no. 1, pp. 1-21, 2025, https://doi.org/10.1155/etep/5546944.
[7]
S. D. Biswas, B. Das, C. Nandi, “A comprehensive review of optimization techniques for power quality improvement using multilevel inverters,” AIP Conference Proceedings, vol. 3242, no. 1, p. 050004, 2024, https://doi.org/10.1063/5.0234302.
[8]
A. Sivapriya, N. Kalaiarasi, “A Review on Cascaded H-Bridge and Modular Multilevel Converter: Topologies, Modulation Technique and Comparative Analysis,” Advanced Power Electronics Converters for Future Renewable Energy Systems, pp. 195-222, 2023, https://doi.org/10.1201/9781003323471-9.
[9]
C. Buccella, C. Cecati, M. G. Cimoroni and K. Razi, “Harmonic mitigation technique for multilevel inverters in power systems,” 2014 International Symposium on Power Electronics, Electrical Drives, Automation and Motion, pp. 73-77, 2014, https://doi.org/10.1109/SPEEDAM.2014.6872070.
[10]
S. N L and S. G, “Hybrid Multilevel Inverter Control for Harmonic Mitigation,” 2023 International Conference on Control, Communication and Computing (ICCC), pp. 1-6, 2023, https://doi.org/10.1109/ICCC57789.2023.10165006.
[11]
T. Karmakar, S. D. Biswas, S. Bhattacharjee, C. Nandi, B. Das, “Harmonic mitigation in multilevel inverters for power quality improvement in power system,” AIP Conference Proceedings, vol. 3242, no. 1, p. 050002, 2024, https://doi.org/10.1063/5.0234391.
[12]
M. A. Hannan, Z. A. Ghani, M. M. Hoque, P. J. Ker, A. Hussain and A. Mohamed, “Fuzzy Logic Inverter Controller in Photovoltaic Applications: Issues and Recommendations,” IEEE Access, vol. 7, pp. 24934-24955, 2019, https://doi.org/10.1109/ACCESS.2019.2899610.
[13]
A. Benevieri, S. Cosso, A. Formentini, M. Marchesoni, M. Passalacqua, L. Vaccaro, “Advances and Perspectives in Multilevel Converters: A Comprehensive Review,” Electronics, vol. 13, no. 23, p. 4736, 2024, https://doi.org/10.3390/electronics13234736.
[14]
S. A. Abed, “Big Data and Artificial Intelligence on the Blockchain: A Review,” Babylonian Journal of Artificial Intelligence, vol. 2023, 1-4, 2023, https://doi.org/10.58496/BJAI/2023/001.
[15]
G. Amirthayogam, N. Kumaran, S. Gopalakrishnan, K. A. Brito, S. RaviChand, S. B. Choubey, “Integrating behavioral analytics and intrusion detection systems to protect critical infrastructure and smart cities,” Babylonian Journal of Networking, vol. 2024, pp. 88-97, 2024, https://doi.org/10.58496/BJN/2024/010.
[16]
S. Ferahtia et al., “Red-tailed hawk algorithm for numerical optimization and real-world problems,” Scientific Reports, vol. 13, no. 1, p. 12950, 2023, https://doi.org/10.1038/s41598-023-38778-3.
[17]
Y. Gopal, K. P. Panda, D. Birla, M. Lalwani, “Swarm Optimization-Based Modified Selective Harmonic Elimination PWM Technique Application in Symmetrical H-Bridge Type Multilevel Inverters,” Engineering, Technology & Applied Science Research, vol. 9, no. 1, pp. 3836-3845, 2019, https://doi.org/10.48084/etasr.2397.
[18]
F. Chabni, R. Taleb, A. Lakhedar, M. Bounadja, “New modified CHB multilevel inverter topology with elimination of lower and higher order harmonics,” Automatika, vol. 59, no. 1, pp. 1-10, 2018, https://doi.org/10.1080/00051144.2018.1484549.
[19]
Y. Bektaş, H. Karaca, “Red deer algorithm based selective harmonic elimination for renewable energy application with unequal DC sources,” Energy Reports, vol. 8, pp. 588-596, 2022, https://doi.org/10.1016/j.egyr.2022.05.209.
[20]
L. Chen, N. Song, Y. Ma, “Harris hawks optimization based on global cross-variation and tent mapping,” The Journal of Supercomputing, vol. 79, no. 5, pp. 5576-5614, 2023, https://doi.org/10.1007/s11227-022-04869-7.
[21]
B. Sharma, S. Manna, V. Saxena, P. K. Raghuvanshi, M. H. Alsharif, M. K. Kim, “A comprehensive review of multi-level inverters, modulation, and control for grid-interfaced solar PV systems,” Scientific reports, vol. 15, no. 1, p. 661, 2025, https://doi.org/10.1038/s41598-024-84296-1.
[22]
A. M. Abdel-Hamed, A. M. Nasser, H. Shatla, A. Refky, “An improved SPWM control approach with aid of ant lion optimization for minimizing the THD in multilevel inverters,” Scientific Reports, vol. 15, no. 1, p. 1990, 2025, https://doi.org/10.1038/s41598-024-84678-5.
[23]
S. Y. Mohammed, M. Aljanabi, “From Text to Threat Detection: The Power of NLP in Cybersecurity,” SHIFRA, pp. 1-7, 2024, https://doi.org/10.70470/SHIFRA/2024/001.
[24]
S. Y. Mohammed, A. K. Oleiwi, T. K. Asman, H. M. Saleh, A. M. Mahmood, I. Avci, “A Survey of MCDM-Based Software Engineering Method,” Babylonian Journal of Mathematics, vol. 2023, pp. 13-18, 2024, https://doi.org/10.58496/BJM/2024/002.
[25]
M. Aljanabi, “Safeguarding connected health: Leveraging trustworthy AI techniques to harden intrusion detection systems against data poisoning threats in IoMT environments,” Babylonian Journal of Internet of Things, vol. 2023, pp. 31-37, 2023, https://doi.org/10.58496/BJIoT/2023/005.
[26]
A. Singh, V. Jately, P. Kala, Y. Yang, “Enhancing power quality in electric vehicles and battery energy storage systems using multilevel inverter topologies–A review,” Journal of Energy Storage, vol. 110, p. 115274, 2025, https://doi.org/10.1016/j.est.2024.115274.
[27]
A. K. Bhardwaj, P. K. Dutta, P. Chintale, “AI-Powered Anomaly Detection for Kubernetes Security: A Systematic Approach to Identifying Threats,” Babylonian Journal of Machine Learning, vol. 2024, pp. 142-148, 2024, https://doi.org/10.58496/BJML/2024/014.
[28]
M. M. Shwaysh, S. Alani, M. A. Saad, T. A. Abdulhussein, “Image Encryption and Steganography Method Based on AES Algorithm and Secret Sharing Algorithm,” Ingenierie des Systemes d'Information, vol. 29, no. 2, pp. 705-714, 2024, https://doi.org/10.18280/isi.290232.
[29]
M. S. Hossain et al., “Performance evaluation of a nearest level control-based TCHB multilevel inverter for PMSM motors in electric vehicle systems,” Results in Engineering, vol. 25, p. 103949, 2025, https://doi.org/10.1016/j.rineng.2025.103949.
[30]
M. Al-Mukhtar, A. A. Abbas, A. H. Hamad, M. H. Al-hashimi, “Normalized-UNet Segmentation for COVID-19 Utilizing an Encoder-Decoder Connection Layer Block,” Journal of Image and Graphics, vol. 12, no. 1, pp. 66-75, 2024, https://doi.org/10.1016/j.rineng.2025.103949.
[31]
X. Zheng et al., “Topology Construction, Modeling, and Control of Multi-level Inverters without shoot-through problem,” IEEE Transactions on Power Electronics, pp. 1-14, 2025, https://doi.org/10.1109/TPEL.2025.3532675.
[32]
A. H. Hamad, A. A. Mahmood, S. A. Abed, X. Ying, “Semantic relatedness maximisation for word sense disambiguation using a hybrid firefly algorithm,” Journal of Intelligent & Fuzzy Systems, vol. 41, no. 6, pp. 7047-7061, 2021, https://doi.org/10.3233/JIFS-210934.
[33]
S. Q. Salih et al., “Enhanced Total Harmonic Distortion Optimization in Cascaded H-Bridge Multilevel Inverters Using the Dwarf Mongoose Optimization Algorithm,” Journal of Robotics and Control, vol. 5, no. 6, pp. 1862-1871, 2024, https://doi.org/10.18196/jrc.v5i6.23548.
[34]
V. Ramanarayana, K. N. Rao, B. Kumar, S. V. K. Naresh, “A single-phase five-level multilevel inverter with rated power fault-tolerant feature,” AEU-International Journal of Electronics and Communications, vol. 190, p. 155645, 2025, https://doi.org/10.1016/j.aeue.2024.155645.
[35]
X. Ying, A. H. Hamad, “A hybrid bat algorithm based on combined semantic measures for word sense disambiguation,” Advances in Natural Computation, Fuzzy Systems and Knowledge Discovery, pp. 149–157, 2019, https://doi.org/10.1007/978-3-030-32456-8_16.
[36]
T. A. Taha et al., “Enhancing Multilevel Inverter Performance: A Novel Dung Beetle Optimizer-based Selective Harmonic Elimination Approach,” Journal of Robotics and Control (JRC), vol. 5, no. 4, pp. 944-953, 2024, https://doi.org/10.18196/jrc.v5i4.21722.
[37]
T. A. Taha, N. I. A. Wahab, M. K. Hassan, H. I. Zaynal, F. H. Taha, A. M. Hashim, “Real-Time Optimal Switching Angle Scheme for a Cascaded H-Bridge Inverter using Bonobo Optimizer,” Journal of Robotics and Control (JRC), vol. 5, no. 4, pp. 918-930, 2024, https://doi.org/10.18196/jrc.v5i4.21701.
[38]
H. Juma'a, T. Atyia, “Design and Implementation of multi-level inverter for PV system with various DC Sources,” NTU Journal of Renewable Energy, vol. 5, no. 1, pp. 24-33, 2023, https://doi.org/10.56286/ntujre.v5i1.554.
[39]
H. Mansourizadeh, M. Hosseinpour, A. Seifi, M. Shahparasti, “A 13-level switched-capacitor-based multilevel inverter with reduced components and inrush current limitation,” Scientific Reports, vol. 15, no. 1, p. 290, 2025, https://doi.org/10.1038/s41598-024-84148-y.
[40]
Z. Ali, Z. M. Abdullah, B. A. Naser, R. W. Daoud, A. H. Ahmed, “Design of a Single-Phase Inverter for Solar Energy Conversion System,” NTU Journal of Renewable Energy, vol. 1, no. 1, pp. 38-42, 2021, https://doi.org/10.56286/ntujre.v1i1.13.
[41]
E. H. I. Albajari, S. R. Aslan, “Exploring the Synergy of Integration: Assessing the Performance of Hydraulic Storage and Solar Power Integration in Kirkuk city,” NTU Journal of Renewable Energy, vol. 5, no. 1, pp. 1-7, 2023, https://doi.org/10.56286/ntujre.v5i1.525.
[42]
E. Bektaş et al., “Enhancing Harmonic Reduction in Multilevel Inverters using the Weevil Damage Optimization Algorithm,” Journal of Robotics and Control (JRC), vol. 5, no. 3, pp. 717-722, 2024, https://doi.org/10.18196/jrc.v5i3.21544.
[43]
A. S. T. Hussain, D. Z. Ghafoor, S. A. Ahmed, T. A. Taha, “Smart inverter for low power application based hybrid power system,” AIP Conference Proceedings, vol. 2787, no. 1, p. 050022, 2023, https://doi.org/10.1063/5.0150294.
[44]
Z. Sarwer, M. N. Anwar, A. Sarwar, “Single phase switched-capacitor multilevel inverter with quadruple boosting and low voltage stress for renewable energy applications,” International Journal of Modelling and Simulation, pp. 1-11, 2025, https://doi.org/10.1080/02286203.2024.2448338.
[45]
T. A. Taha, M. K. Hassan, N. I. Abdul Wahab and H. I. Zaynal, “Red Deer Algorithm-Based Optimal Total Harmonic Distortion Minimization for Multilevel Inverters,” 2023 IEEE IAS Global Conference on Renewable Energy and Hydrogen Technologies (GlobConHT), pp. 1-8, 2023, https://doi.org/10.1109/GlobConHT56829.2023.10087687.
[46]
T. A. Taha, N. I. A. Wahab, M. K. Hassan, H. I. Zaynal, “Selective Harmonic Elimination in Multilevel Inverters Using the Bonobo Optimization Algorithm,” International Conference on Forthcoming Networks and Sustainability in the AIoT Era, pp. 304-321, 2024, https://doi.org/10.1007/978-3-031-62871-9_24.
[47]
R. Barzegarkhoo, M. Forouzesh, S. S. Lee, F. Blaabjerg and Y. P. Siwakoti, “Switched-Capacitor Multilevel Inverters: A Comprehensive Review,” IEEE Transactions on Power Electronics, vol. 37, no. 9, pp. 11209-11243, 2022, https://doi.org/10.1109/TPEL.2022.3164508.
[48]
S. Q. Salih, A. A. Alsewari, B. Al-Khateeb, M. F. Zolkipli, “Novel multi-swarm approach for balancing exploration and exploitation in particle swarm optimization,” Recent Trends in Data Science and Soft Computing, pp. 196-206, 2019, https://doi.org/10.1007/978-3-319-99007-1_19.
[49]
S. A. M. Al-Juboori, F. Hazzaa, Z. S. Jabbar, S. Salih, H. M. Gheni, “Man-in-the-middle and denial of service attacks detection using machine learning algorithms,” Bulletin of Electrical Engineering and Informatics, vol. 12, no. 1, pp. 418-426, 2023, https://doi.org/10.11591/eei.v12i1.4555.
[50]
S. Khazaeefar, M. Valizadeh, A. K. Sarvenoee, “An improved Z-source multi-level inverter scheme for grid-connected photovoltaic systems,” Electrical Engineering, pp. 1-14, 2025, https://doi.org/10.1007/s00202-024-02943-2.
[51]
T. Hai et al., “DependData: Data collection dependability through three-layer decision-making in BSNs for healthcare monitoring,” Information Fusion, vol. 62, pp. 32-46, 2020, https://doi.org/10.1016/j.inffus.2020.03.004.
[52]
V. P. Arumbu, D. Karthikeyan, “Reliability Assessment and Fault Prediction in a 13-Level Multilevel Inverter Through Machine Learning with SVM,” Journal of Electrical Engineering & Technology, vol. 20, no. 1, pp. 473-488, 2025, https://doi.org/10.1007/s42835-024-01955-z.
[53]
D. Dastan et al., “Insights into the photovoltaic properties of indium sulfide as an electron transport material in perovskite solar cells,” Scientific reports, vol. 13, no. 1, p. 9076, 2023, https://doi.org/10.1038/s41598-023-36427-3.
[54]
N. Karania, M. A. Alali, S. D. Gennaro, J. P. Barbot, “Hybrid control system for cascaded H-bridge multi-level inverter based shunt active filter for photovoltaic generation,” Electric Power Systems Research, vol. 241, p. 111248, 2025, https://doi.org/10.1016/j.epsr.2024.111248.

Original publication: International Journal of Robotics and Control Systems. Copyright © 2025 The Authors. CC BY-SA 4.0. This reading version reformats the supplied article for browser presentation and converts TeX equations to MathML.

Most read articles by the same author(s)

Similar Articles

1-10 of 36

You may also start an advanced similarity search for this article.

Visitor statistics

996
View statistics

Figure