A Soft-Switched Grid-Connected DC/AC Inverter with Low Current Ripple