Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-05T19:12:20.704Z Has data issue: false hasContentIssue false

A 2-stage vision-based localization methodology for efficient automatic charging of electric vehicles in uncertain environments

Published online by Cambridge University Press:  04 August 2025

Qi Chen
Affiliation:
South China University of Technology, SHIEN-MING WU School of Intelligent Engineering, Guangzhou 510000, China
Kai Wu*
Affiliation:
South China University of Technology, SHIEN-MING WU School of Intelligent Engineering, Guangzhou 510000, China
Yong Zhong
Affiliation:
South China University of Technology, SHIEN-MING WU School of Intelligent Engineering, Guangzhou 510000, China
Weihua Li
Affiliation:
South China University of Technology, School of Mechanical and Automotive Engineering, Guangzhou 510000, China
Mingfeng Wang
Affiliation:
Department of Mechanical and Aerospace Engineering, Brunel University London, London, UB83PH UK
*
Corresponding author: Kai Wu; Email: whphwk@scut.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Automatic visual localization of electric vehicle (EV) charging ports presents significant challenges in uncertain environments, such as varying surface textures, reflections, lighting and observation distance. Existing methods require extensive real-world training data and well-focused images to achieve robust and accurate localization. However, both requirements are difficult to meet under variable and unpredictable conditions. This paper proposes a 2-stage vision-based localization approach. Firstly, the image synthesis technique is used to reduce the cost of real-world data collection. A task-oriented parameterization protocol (TOPP) is proposed to optimize the quality of the synthetic images. Secondly, an autofocus and servoing strategy is proposed. A hybrid detector is employed to enhance sharpness assessment performance, while a visual servoing method based on single exponential smoothing (SES) is developed to enhance stability and efficiency during the search process. Experiments were conducted to evaluate image synthesis efficiency, detection accuracy, and servoing performance. The proposed method achieved 99% detection accuracy on the real-world port images, and guided the robot to the optimal imaging position within 16 s, outperforming comparable approaches. These results highlight its potential for robust automated charging in real-world scenarios.

Information

Type
Research Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Framework of the proposed visual localization method.

Figure 1

Figure 2. Parameterization protocol for port images.

Figure 2

Table I. Domain randomization parameters.

Figure 3

Figure 3. Design of hybrid detector.

Figure 4

Figure 4. Composition of real-world dataset for testing. The dataset was collected at three different distances, under varying lighting conditions, with diverse distractors, camera parameters, and other real-world factors.

Figure 5

Figure 5. Image samples in the real-world testing dataset. Images were collected in varied conditions. Reflecting the complexity and diversity of the testing dataset.

Figure 6

Figure 6. Composition of synthetic datasets for training. Eight different datasets were generated in the simulation to compare the training performance.

Figure 7

Figure 7. (a) Is the PR curve of model training on different datasets. (b) Is the generation speed and AP@75 of different datasets.

Figure 8

Table II. Results of DCNN object detector trained on synthetic dataset. The boldfaced values represent the results of the proposed method.

Figure 9

Figure 8. Number of failed detections for each type of images in test dataset. Including both false positives and false negatives.

Figure 10

Figure 9. Visual explanations of the detected result. (a) and (d) are images from the testing dataset. (b), (c), (e), (f) are the detected results with heat map.

Figure 11

Figure 10. Synthetic images with difference method (left side). Exemplary port detect results (right side).

Figure 12

Figure 11. Distribution of failed detection images.

Figure 13

Figure 12. Automatic charging robot testing in the laboratory.

Figure 14

Table III. Results of search experiments.

Figure 15

Figure 13. Images and detected ROI in difference distance. The robot moves from a blurred imaging position to a clear imaging position.

Figure 16

Figure 14. Result of visual servoing motion in real world. (a) servoing with SES and lighting noise. (b) Servoing without SES and with lighting noise. (c) Servoing with SES and without lighting noise. (d) Servoing without SES and lighting noise.