Visual positioning electric vehicle automatic charging method

Through visual positioning and deep learning algorithms, combined with polynomial interpolation and particle swarm algorithm, the deficiencies in positioning and motion trajectory optimization of automatic charging devices are solved, multi-parking charging docking and time optimization are achieved, and charging efficiency and space utilization are improved.

CN118790070AInactive Publication Date: 2024-10-18ANHUI POLYTECHNIC UNIV MECHANICAL & ELECTRICAL COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411135303.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When realizing automatic charging, it is difficult for existing automatic charging devices to accurately locate the charging port, and the movement trajectory and time are not optimized enough, resulting in low charging efficiency and large space requirements.

Method used

Using visual positioning methods, combined with deep learning algorithms such as YOLOv4 and dual semantic segmentation, the precise position of the charging port is obtained through global and local recognition positioning solutions, and 3-5-3 hybrid polynomial interpolation and improved particle swarm algorithm are used to optimize the motion trajectory to achieve Precise docking of the charging gun and charging port and time optimization of the charging process.

Benefits of technology

It realizes multi-parking charging docking, overcomes the shortcomings of manual charging, adapts to the charging port layout of different models, optimizes the charging movement trajectory, improves charging efficiency and space utilization, reduces vibration impact, and improves charging time through particle swarm algorithm .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118790070A_ABST
    Figure CN118790070A_ABST
Patent Text Reader

Abstract

The invention discloses a visual positioning electric vehicle automatic charging method, and relates to the field of automatic charging, an automatic charging device based on an automatic truss is included, a telescopic mechanical arm is carried, and the automatic charging device further comprises an electric push rod, a rotary joint, a deflection joint and a charging gun. The three degrees of freedom of the automatic truss and the electric push rod cover the whole parking space, the rotary joint and the deflection joint aim at the parking postures and different deflection angles of the automobile, and meanwhile, the invention discloses a visual recognition scheme of the deep learning charging port, and the visual recognition scheme comprises a global recognition positioning scheme and a local recognition positioning scheme. The method has the advantages that the charging path is planned through 3-5-3 hybrid polynomial interpolation, the planned motion curve is smooth and free of vibration impact, charging track time optimization research is conducted on the basis of obstacle-free path planning, the convergence of the algorithm is improved through the improved particle swarm algorithm, and then the charging time is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automatic charging, and in particular to a visually positioned automatic charging device for an electric vehicle. Background Art

[0002] The "intelligence" in the "new four modernizations" of automobiles requires the integration of intelligent technology with automobiles, thus deriving technologies such as autonomous driving and intelligent assistance. When charging piles are combined with intelligent technology, the product technology of automatic charging piles is born. It builds an integrated intelligent automobile ecosystem of autonomous driving and automatic charging, and promotes the high integration of artificial intelligence and life. Through research on domestic charging stations and existing charging equipment, it is found that the charging devices or charging methods on the market are divided into fixed charging, wireless charging, battery replacement, connected automatic charging, etc.

[0003] Among them, existing automatic charging devices, such as Figure 1 As shown, it includes a truss and a retractable mechanical arm. The automatic charging device also includes an electric push rod and a charging gun joint. The three degrees of freedom of the truss and the electric push rod cover the entire parking space. The charging gun joint is aimed at the parking posture of the car and different offset angles. In the automatic charging device, the truss provides two degrees of freedom of movement in the X and Y directions, driving the retractable mechanical arm to move above the charging port. The retractable mechanical arm drops to the vicinity of the height of the charging port to achieve movement in the Z-axis direction. The joint cooperation between the truss and the retractable mechanical arm can achieve movement at any position in space. The charging gun joint is assembled from a rotating joint and a deflection joint, and the docking with the charging port is achieved through the output angle cooperation. When the above-mentioned automatic charging device is in use, it is necessary to design a charging method to automatically obtain the precise position coordinates of the charging port, so as to accurately dock the charging gun with the charging port and automatically realize the charging function. At the same time, the movement trajectory and time of the automatic charging device also need to be optimized. Based on this, the present invention designs a visual positioning electric vehicle automatic charging device. Summary of the invention

[0004] The purpose of the present invention is to solve the problems in the prior art and to propose a visual positioning automatic charging method for an electric vehicle.

[0005] A visual positioning electric vehicle automatic charging method, comprising:

[0006] An automatic charging device, comprising a truss and equipped with a retractable mechanical arm, the automatic charging device also comprises an electric push rod and a charging gun joint, the three degrees of freedom of the truss and the electric push rod cover the entire parking space, and the charging gun joint is designed for the parking posture and different offset angles of the car;

[0007] Deep learning charging port visual recognition solution, including global recognition and positioning solution and local recognition and positioning solution;

[0008] In the global recognition and positioning solution, we collected pictures of electric vehicles with different parking angles and orientations to create a data set, used the YOLOv4 target detection algorithm for target recognition, and selected the dual semantic segmentation algorithm for vehicle contour extraction. We obtained the electric vehicle spatial position information through the minimum enclosing rectangle, and then converted the charging port location information based on the vehicle information.

[0009] In the local recognition and positioning solution, based on the charging port position coordinates obtained by global recognition and positioning, the charging gun joint is driven to move to the vicinity of the vehicle's charging port. The local camera located above the charging gun begins to collect images of the charging port, and the precise position of the charging port is obtained through YOLOv4 algorithm detection, feature matching, and homography matrix solution. Finally, the charging gun and the charging port are docked with reference to the precise charging port position information.

[0010] In the above-mentioned visual positioning electric vehicle automatic charging system, the specific steps of target recognition are as follows:

[0011] S1 extracts the vehicle's outline with the help of a bidirectional semantic segmentation algorithm and obtains the central world coordinates of the electric vehicle through the minimum circumscribed rectangle;

[0012] S2: The above position information is used to provide position guidance for the movement of the charging robot arm. The charging robot arm moves to the area near the charging port, and the local recognition and positioning process begins at this time;

[0013] S3: The local camera at the end of the charging robot arm starts to collect images of the charging port. The YOLOv4 model of the improved SPP module is used to detect the charging port. The ROI algorithm is used to extract the charging interface. The matching and positioning of charging interfaces of different models are achieved with the help of feature point matching.

[0014] S4: Solve the exact location of the charging port based on the homography matrix.

[0015] In the above-mentioned visual positioning electric vehicle automatic charging system, the motion trajectory is planned according to the charging port position coordinates obtained by visual positioning and the initial position coordinates of the charging gun of the automatic charging device, and 3-5-3 mixed polynomial interpolation is used for trajectory planning.

[0016] In the above-mentioned visual positioning electric vehicle automatic charging system, an improved particle swarm algorithm is used to optimize the time of the planned trajectory and improve the charging movement time.

[0017] In the above-mentioned visual positioning electric vehicle automatic charging system, the improved particle swarm algorithm optimization process steps include:

[0018] Step 1: First determine the particle size, the number of particle iterative optimizations, and the initial position and velocity of the particles;

[0019] Step 2: Solve the velocity and acceleration based on the original path expression;

[0020] Step 3: Check whether the kinematic constraints are met, such as calculating the fitness value of the particle.

[0021] Step 4: Iteratively update the position and velocity of the particle;

[0022] Step 5: Obtain the optimal particle, and then obtain the optimal particle of the group;

[0023] Step 6: Determine whether the result requirements are met. If so, output the optimal result.

[0024] In the above-mentioned visual positioning electric vehicle automatic charging system, in the automatic charging device, the truss provides movement in two degrees of freedom in the X and Y directions, driving the retractable robotic arm to move above the charging port, and the retractable robotic arm descends to the vicinity of the height of the charging port to achieve movement in the Z-axis direction. The joint cooperation between the truss and the retractable robotic arm can achieve movement at any position in space. The charging gun joint is assembled from a rotating joint and a deflection joint, and the docking with the charging port is achieved by outputting the angle of rotation.

[0025] Compared with the prior art, the present invention has the following advantages:

[0026] 1. It abandons the shortcomings of the current automatic charging equipment occupying parking space and serving a small number of vehicles. It can realize charging docking in multiple parking spaces in different directions. It adopts the YOLOv4 target detection algorithm to identify and locate the charging port, obtain the spatial position of the charging port, and the truss-based automatic charging device moves to the vicinity of the charging port to realize charging docking and complete the charging activity. It overcomes the shortcomings of the current charging devices that are mostly manual devices. It can also charge according to the layout of the charging ports of different models, which greatly improves the current situation of few types of automatic charging devices and large space occupation.

[0027] 2. Plan the motion trajectory based on the charging port position coordinates obtained by visual positioning and the initial position coordinates of the charging gun head of the automatic charging device. Use 3-5-3 mixed polynomial interpolation for trajectory planning. The planned motion curve is smooth and will not produce vibration shock.

[0028] 3. Based on obstacle-free path planning, we conduct research on charging trajectory time optimization, improve the learning factor of the particle swarm algorithm, and improve convergence. We use the improved particle swarm algorithm to optimize the planned trajectory time and improve the charging movement time. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1This is a schematic structural diagram of an automatic charging device in a visual positioning electric vehicle automatic charging method proposed by the present invention.

[0030] Figure 2 The invention discloses an improved DH coordinate system for an automatic charging device in a visual positioning automatic charging method for an electric vehicle.

[0031] Figure 3 This is a flow chart for optimizing the path time of an automatic charging device in a visual positioning electric vehicle automatic charging method proposed by the present invention.

[0032] Figure 4 This is the network structure of the YOLOv4 algorithm in the visual positioning electric vehicle automatic charging method proposed by the present invention. DETAILED DESCRIPTION

[0033] Reference Figure 1-4 , a visual positioning electric vehicle automatic charging method, comprising:

[0034] Automatic charging device, please refer to Figure 1 The automatic charging device includes a truss and a retractable robotic arm. The automatic charging device also includes an electric push rod and a charging gun joint. The three degrees of freedom of the truss and the electric push rod cover the entire parking space. The charging gun joint is aimed at the parking posture and different offset angles of the car. In the automatic charging device, the truss provides two degrees of freedom for movement in the X and Y directions, the electric telescopic rod provides the degree of freedom for movement in the Z axis, and the charging gun joint provides two degrees of freedom for rotation and swing. The joints of the truss and the retractable robotic arm can realize the movement of any point in space. The charging gun joint is assembled by a rotating joint and a deflection joint. The docking with the charging port is achieved by coordinating the output angle. The standby state of the device is zero, thereby establishing Figure 2 The kinematic model is established by the DH coordinate method. First, the joint coordinate system is defined. The z-axis direction is the axis of the rotating joint and the moving direction of the moving joint. The x-axis direction is parallel to the normal vector of the plane formed by the z-axis of the current joint and the z-axis of the adjacent previous joint. The defined coordinate system is assigned and the DH parameters are set for the joints of the automatic charging device. The DH parameters are composed of θ, d, a, and α, which represent the joint angle, link offset, link length, and link torsion angle, respectively.

[0035] Deep learning charging port visual recognition solution, including global recognition and positioning solution and local recognition and positioning solution;

[0036] In the global recognition and positioning solution, we collected pictures of electric vehicles with different parking angles and orientations to create a data set, used the YOLOv4 target detection algorithm for target recognition, and selected the dual semantic segmentation algorithm for vehicle contour extraction. We obtained the electric vehicle spatial position information through the minimum enclosing rectangle, and then converted the charging port location information based on the vehicle information.

[0037] In the local recognition and positioning solution, based on the charging port position coordinates obtained by global recognition and positioning, the charging gun joint is driven to move to the vicinity of the vehicle's charging port. The local camera located above the charging gun begins to collect images of the charging port, and the precise position of the charging port is obtained through YOLOv4 algorithm detection, feature matching, and homography matrix solution. Finally, the charging gun and the charging port are docked with reference to the precise charging port position information.

[0038] The specific steps of target recognition are as follows:

[0039] S1 extracts the vehicle's outline with the help of a bidirectional semantic segmentation algorithm and obtains the central world coordinates of the electric vehicle through the minimum circumscribed rectangle;

[0040] S2: The above position information is used to provide position guidance for the movement of the charging robot arm. The charging robot arm moves to the area near the charging port, and the local recognition and positioning process begins at this time;

[0041] S3: The local camera at the end of the charging robot arm starts to collect images of the charging port. The YOLOv4 model of the improved SPP module is used to detect the charging port. The ROI algorithm is used to extract the charging interface. The matching and positioning of charging interfaces of different models are achieved with the help of feature point matching.

[0042] S4: Solve the exact location of the charging port based on the homography matrix.

[0043] The motion trajectory is planned based on the charging port position coordinates obtained by visual positioning and the initial position coordinates of the charging gun of the automatic charging device. Most of the path planning is achieved through polynomial interpolation. The polynomials commonly used for path planning are cubic polynomial planning, quintic polynomial planning, septic polynomial planning and mixed polynomial planning. The main purpose of adopting the above planning method is to ensure the smoothness of the motion trajectory. In the charging path planning of the automatic charging device, taking into account the characteristics of low-order polynomials that are prone to sudden changes in acceleration and high-order polynomial interpolation calculations that are complex, 3-5-3 mixed polynomial interpolation is used for planning. This planning method not only avoids excessive acceleration during the starting and stopping stages of the charging movement, causing damage to the motor, but also ensures the smoothness of the acceleration changes during the working process.

[0044] The improved particle swarm algorithm is used to optimize the time of the planned trajectory and improve the charging movement time. The steps of the improved particle swarm algorithm optimization process include:

[0045] Step 1: First determine the particle size, the number of particle iterative optimizations, and the initial position and velocity of the particles;

[0046] Step 2: Solve the velocity and acceleration based on the original path expression;

[0047] Step 3: Check whether the kinematic constraints are met, such as calculating the fitness value of the particle.

[0048] Step 4: Iteratively update the position and velocity of the particle;

[0049] Step 5: Obtain the optimal particle, and then obtain the optimal particle of the group;

[0050] Step 6: Determine whether the result requirements are met. If so, output the optimal result.

[0051] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.

Claims

1. A visual positioning electric vehicle automatic charging method, characterized in that: include: Deep learning charging port visual recognition solution, including global recognition and positioning solution and local recognition and positioning solution; In the global recognition and positioning solution, we collected pictures of electric vehicles with different parking angles and orientations to create a data set, used the YOLOv4 target detection algorithm for target recognition, and selected the dual semantic segmentation algorithm for vehicle contour extraction. We obtained the electric vehicle spatial position information through the minimum enclosing rectangle, and then converted the charging port location information based on the vehicle information. In the local recognition and positioning solution, according to the charging port position coordinates obtained by global recognition and positioning, the charging gun joint is driven to move to the vicinity of the vehicle charging port. The local camera located above the charging gun starts to collect charging port images, and the precise position of the charging port is obtained through YOLOv4 algorithm detection, feature matching, and homography matrix solution. Finally, the charging gun and the charging port are connected with reference to the precise charging port position information. The motion trajectory of the automatic charging device is planned according to the precise position coordinates of the charging port, and the time of the planned trajectory is optimized.

2. The method for automatic charging of an electric vehicle based on visual positioning according to claim 1, characterized in that: The specific steps of target recognition are as follows: S1 extracts the vehicle's outline with the help of a bidirectional semantic segmentation algorithm and obtains the central world coordinates of the electric vehicle through the minimum circumscribed rectangle; S2: The above position information is used to provide position guidance for the movement of the charging robot arm. The charging robot arm moves to the area near the charging port, and the local recognition and positioning process begins at this time; S3: The local camera at the end of the charging robot arm starts to collect images of the charging port. The YOLOv4 model of the improved SPP module is used to detect the charging port. The ROI algorithm is used to extract the charging interface. The matching and positioning of charging interfaces of different models are achieved with the help of feature point matching. S4: Solve the exact location of the charging port based on the homography matrix.

3. The method for automatic charging of electric vehicles based on visual positioning according to claim 1, characterized in that: The motion trajectory of the automatic charging device is planned using 3-5-3 mixed polynomial interpolation for trajectory planning.

4. The method for automatic charging of electric vehicles based on visual positioning according to claim 1, characterized in that: The time optimization adopts an improved particle swarm algorithm to improve the charging movement time.

5. The method for automatic charging of electric vehicles based on visual positioning according to claim 4 is characterized in that: The steps of improving the particle swarm algorithm optimization process include: Step 1: First determine the particle size, the number of particle iterative optimizations, and the initial position and velocity of the particles; Step 2: Solve the velocity and acceleration based on the original path expression; Step 3: Check whether the kinematic constraints are met, such as calculating the fitness value of the particle. Step 4: Iteratively update the position and velocity of the particle; Step 5: Obtain the optimal particle, and then obtain the optimal particle of the group; Step 6: Determine whether the result requirements are met. If so, output the optimal result.