inverter control