A Robust Hybrid Control Algorithm for a Single-Phase DC/AC Inverter with Variable Input Voltage