Text this: Development of a DSP-based fuzzy PI controller for an online optimal PWM control scheme for a multilevel inverter