A New Control for Improving the Power Quality Generated by a Three-Level T-Type Inverter