for charging batteries from ac mains by converters