UPS module circuit