Selective Harmonic Elimination of a Multilevel Voltage Source Inverter Using Whale Optimization Algorithm

Document Type : Original Article


1 Department of Electrical Engineering, Aerospace Research Institute (ARI) of Ministry of Science, Research and Technology, Tehran, Iran

2 Department of Electrical Engineering, Sharif university of Technology, Tehran, Iran


In this paper, the whale optimization algorithm is proposed for harmonics elimination in a cascaded multilevel inverter. In selective harmonic elimination pulse width modulation, the selected low-order harmonics are eliminated by solving nonlinear equations, while the fundamental of output waveform is adjusted to a desired value. In this paper, whale optimization algorithm is applied to a 7-level cascaded H-bridge inverter to solve the equations. Also, it was validated by experimental results, since this algorithm has an ability to search in entire solution space, the probability of catching a global best solution is very high. This method has higher accuracy and probability of convergence than the genetic algorithm. The optimization and comparison of whale optimization algorithm and genetic algorithm have been done in MATLAB software. A 1 kW prototype of this converter is built and the results are presented. The effectiveness and the theoretical analysis of this method are verified through both simulation and experimental results


  1. Zarepor Ashkezari, A., and H. Mosalman Yazdi. "Location Allocation of Earthquake Relief Centers in Yazd City Based on Whale Optimization Algorithm." International Journal of Engineering, Transactions B: Applications, Vol. 34, No. 5, (2021), 1184-1194. doi: 10.5829/ije.2021.34.05b.12.
  2. Ouni S. “Improvement of Post-Fault Performance of a Cascaded H-bridge Multilevel Inverter,” IEEE Transactions on Industrial Electronics, Vol. 64, No. 4, (2017), 2779-2788. doi: 10.1109/TIE.2016.2632058
  3. Rodriguez J., Lai J., and Zheng F., “Multilevel inverters: a survey of topologies, controls, and applications,” IEEE Transactions on Industrial Electronics, Vol. 49, No. 4, (2002), 724-738.  doi: 10.1109/TIE.2002.801052
  4. M., Saadati Vahidi J., Seydi V., and Sheikholharam P. "Proposing a New Image Watermarking Method Using Shearlet Transform and Whale Optimization Algorithm." International Journal of Engineering, Transactions A: Basics, Vol. 34, No. 4 (2021), 843-853. doi: 10.5829/ije.2021.34.04a.10
  5. Narimani M., Wu B. and Zargari N. R., “A Novel Five-Level Voltage Source Inverter with Sinusoidal Pulse Width Modulator for Medium- Voltage Applications,” IEEE Transactions on Power Electronics, Vol. 31, No. 3, (2016) 1959-1967. doi: 10.1109/TPEL.2015.2440656
  6. Khamooshi R. and Namadmalan A., “Converter utilisation ratio assessment for total harmonic distortion optimisation in cascaded H-bridge multi-level inverters,” IET Power Electronics, Vol. 9, No. 10, (2016), 2103-2110, 8 17. doi: 10.1049/iet-pel.2015.0787
  7. Yousefpoor N., Fathi S. H., Farokhnia N. and Abyaneh H. A., “THD Minimization Applied Directly on the Line-to-Line Voltage of Multilevel Inverters,” IEEE Transactions on Industrial Electronics, Vol.59, No. 1, (2012), 373-380 doi: 10.1109/TIE.2011.2143373
  8. Kirankumar B., Siva Reddy Y. V. and Vijayakumar M., “Multilevel inverter with space vector modulation: intelligence direct torque control of induction motor,” IET Power Electronics, Vol. 10, No. 10, (2017), 1129-113. doi: 10.1049/iet-pel.2016.0287
  9. Buccella C., Cecati C., Cimoroni M. G., Kulothungan G., Edpuganti A. and Rathore A. K., “A Selective Harmonic Elimination Method for Five-Level Converters for Distributed Generation,” IEEE Journal of Emerging and Selected Topics in Power Electronics, Vol. 5, No. 2, (2017), 775-783. doi: 10.1109/JESTPE.2017.2688726
  10. Ozpineci B., Tolbert L. M. and Chiasson J. N., “Harmonic optimization of multilevel converters using genetic algorithms,” IEEE Power Electronics Letters, Vol. 3, No. 3, (2015), 92-95. doi: 10.1109/PESC.2004.1355167
  11. Wenyi Z, Meng X., and Jiang L. "Genetic Algorithm for Selective Harmonic Elimination PWM Control." Foundations of Intelligent Systems, 799-809. Springer, Berlin, Heidelberg, 2014. doi: 10.1007/978-3-642-54924-3_75
  12. Kavousi A., Vahidi B., Salehi R., Bakhshizadeh M. K., Farokhnia N. and Fathi S. H., “Application of the Bee Algorithm for Selective Harmonic Elimination Strategy in Multilevel Inverters,” IEEE Transactions on Power Electronics, Vol. 27, No. 4, (2012), 1689-1696. doi: 10.1109/TPEL.2011.2166124
  13. Mohamed A., “Harmonic elimination in three-phase voltage source inverters by particle swarm optimization.” Journal of Electrical Engineering and Technology, 6, No. 3, (2011), 334-341. doi: 10.5370/JEET.2011.6.3.334
  14. Sundareswaran K., Jayant K. and Shanavas T. N., “Inverter Harmonic Elimination Through a Colony of Continuously Exploring Ants,” IEEE Transactions on Industrial Electronics, Vol. 54, No. 5, (2017), 2558-2565. doi: 10.1109/TIE.2007.899846
  15. Seyedali M, and Lewis A. “The whale optimization algorithm.” Advances in Engineering Software, Vol. 95, (2016), 51-67.
  16. Dash, S.K., Nayak, B. and Sahu, J.B., “Selective Harmonic Elimination of an Eleven Level Inverter Using Whale Optimization Technique.” International Journal of Power Electronics and Drive Systems, Vol. 9, No. 4, (2018), 1944. doi: 10.11591/ijpeds.v9.i4.pp1944-1951
  17. Routray A, Singh RK, Mahanty R. “Selective harmonic elimination in hybrid cascaded multilevel inverter using modified whale optimization.” International Transactions on Electrical Energy Systems, Vol. 30, No. 4, (2020), 12298.
  18. Falehi A. D. “Optimal harmonic mitigation strategy based on multiobjective whale optimization algorithm for asymmetrical half-cascaded multilevel inverter.” Electrical Engineering. 102 (3), (2020), 1639-50.
  19. Nalcaci G., Ermis M., “Selective harmonic elimination for three-phase voltage source inverters using whale optimizer algorithm,” 5th International Conference on Electrical and Electronic Engineering (ICEEE),(2018) 1-6. doi: 10.1109/ICEEE2.2018.8391290
  20. Rathore, R., Sangwan S., Adhikari k. “Modified Echo State Network Enabled Dynamic Duty Cycle for Optimal Opportunistic Routing in EH-WSNs,” Electronics, Vol. 9, No. 1, (2020), 98.