Resumen
This paper shows the implementation of the Moth?Flame Optimization algorithm in a Cascade-H multilevel inverter with five and seven levels to determine the optimal switching sequence of the inverter?s semiconductor devices. The algorithm was coded in Matlab software, and the obtained switching sequences were implemented in a Cascade-H multilevel inverter laboratory prototype, where the output voltage waveform was obtained using a digital oscilloscope. The experimental Total Harmonic Distortion was obtained using a power quality analyzer. The experimental results show the improvement of the Total Harmonic Distortion in the voltage output. These results were compared with other papers in the literature with different metaheuristic methods concerning the same modulation. These findings demonstrate the feasibility of employing the Moth?Flame Optimization Algorithm to significantly reduce the Total Harmonic Distortion, obtaining a lower value than most analyzed papers.