A new PWM control sys­tem for UPS using hysteresis com­pa­rator