Closed Loop Control of Switching Pattern Selection scheme Based Cascaded Multilevel Inverter Fed Three-Phase Grid