HVAC inverter controller