A Generalized Formulation of SHM-PAM for Cascaded H-Bridge Inverters with Non-Equal DC Sources