The present disclosure is directed to an electrosurgical generator including a resonant inverter having an H-bridge and a tank. A sensor array measures at least one property of the tank. A pulse width modulation (PWM) controller outputs a first PWM timing signal and a second PWM timing signal to the H-bridge. The PWM controller controls a dead-time between the first PWM timing signal and the second PWM timing signal based on the at least one property measured by the sensor array.