In order to generate all levels (odd and even) in the proposed cascade topology, a new algorithm for the determination of magnitudes of the dc sources is presented. In this topology, the dc voltage sources of each stage or sub-multilevel converter are equal. However, the dc voltage sources of different stages are non-equal and must be selected according to the following equations