Design of electric vehicle intelligent charger