A control system and method for a rechargeable robot arm
By adopting multi-module collaborative working technology in the rechargeable robot arm control system, the problem of inaccurate docking between the robot arm's rest position and the charging port is solved, a more efficient and safer charging process is achieved, and the stability of the charging system and users are improved. Satisfaction.
Patent Information
- Application Number
- CN202410434460.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-11
AI Technical Summary
The existing rechargeable robot arm control system cannot accurately calculate the robot arm's resting position, resulting in low charging efficiency and safety issues. It also cannot collect and analyze the contours of the charging port and charging gun in real time, resulting in inaccurate docking and charging failure.
It adopts the vehicle scanning analysis module to be charged, the manipulator position analysis module, the manipulator control grabbing module, the manipulator joint adjustment module, the contour adjustment and matching module, the manipulator error evaluation module and the error correction module. Through the three-dimensional coordinate system and image processing technology, real-time collection and Analyze the position and contour of the charging port and charging gun, accurately calculate the manipulator's rest position and rotation angle, and evaluate and correct the manipulator's errors.
It improves charging efficiency and success rate, reduces charging time and energy waste, enhances the stability and reliability of the charging system, and improves user experience and trust.
Smart Images

Figure CN118081797B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of robot arm control, and relates to a control system and method for a rechargeable robot arm. Background Art
[0002] With the continuous advancement of science and technology, robotics technology has been widely used in many fields, especially in industrial automation, medical care, military applications, and daily life assistance. Robots are playing an increasingly important role. In these applications, robot arms are key components for performing various tasks. Their performance and control methods directly determine the robot's work efficiency and ability to complete tasks.
[0003] Although the existing control system of a rechargeable robot arm meets certain requirements, it still has limitations, which are specifically reflected in: 1. The existing technology is often unable to accurately calculate the stop position of the manipulator, resulting in the manipulator's moving distance and adjustment time being too long, which not only prolongs the waiting time during the charging process and reduces the charging efficiency, but also limits the service capacity of the charging station, making it impossible to provide charging services for more vehicles in a short period of time.
[0004] 2. Existing technologies are usually unable to collect and analyze the contours of the charging port and the charging gun in real time, and are unable to accurately calculate the angle at which the charging gun needs to rotate, resulting in inaccurate docking or even failure between the charging gun and the charging port. Therefore, charging failures and safety issues caused by improper operation or position deviation also occur from time to time, seriously affecting the stability and reliability of the automatic charging system.
[0005] 3. Existing technologies cannot accurately detect deviations in the robot’s grasping process, which makes it difficult to ensure charging accuracy and stability. When using charging services, users may encounter charging problems caused by improper operation or mechanical failure, which reduces user experience and trust in the charging system. Summary of the invention
[0006] In view of this, in order to solve the problems raised in the above background technology, a control system and method for a rechargeable robot arm are now proposed.
[0007] The purpose of the present invention can be achieved through the following technical solutions: The present invention provides a control system for a rechargeable robot arm, including: a scanning and analysis module for a vehicle to be charged, a manipulator position analysis module, a manipulator control grasping module, a manipulator joint adjustment module, a contour adjustment matching module, a manipulator error evaluation module, a manipulator error correction module and a database.
[0008] Scanning and analysis module for vehicles to be charged: used to mark the parking lot for vehicles to be charged as a designated area, scan the vehicles to be charged in real time in the designated area, obtain the model of the vehicle to be charged, analyze the location of the charging port of the vehicle to be charged, and analyze the location coordinates C (x, y, z) of the charging port of the vehicle to be charged by constructing a three-dimensional coordinate system.
[0009] Robot position analysis module: used to analyze the robot's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun.
[0010] Robot control grasping module: used to control the robot to reach the stop position coordinates, and obtain the center position coordinates of the charging gun, and then control the robot to grasp the charging gun.
[0011] Manipulator joint adjustment module: used to obtain the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged according to the position coordinates of the charging port of the vehicle to be charged, and then adjust the manipulator joint to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0012] Contour adjustment and matching module: used to collect the contour of the charging port and the charging gun of the vehicle to be charged in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through the robot.
[0013] Manipulator error evaluation module: It is used to analyze the manipulator grasping position error index through the grasping position of each manipulator finger in each charging event within the set historical period and the charging position error index corresponding to the charging port of the vehicle to be charged corresponding to each charging event, and then analyze the manipulator control accuracy error index.
[0014] Manipulator error correction module: used to perform error correction on the manipulator according to the manipulator control accuracy error index.
[0015] Database: used to store the vehicle image contour corresponding to each vehicle model, the center position of the charging gun, the fixed position of the charging gun, the standard grasping position of each mechanical finger of the manipulator, and the expected charging stop position corresponding to the charging port of the vehicle to be charged for each charging event.
[0016] Preferably, the analysis of the position coordinates of the charging port of the vehicle to be charged includes: scanning the vehicles to be charged in a specified area by a camera to obtain an image of the vehicle to be charged, obtaining the image contour of the vehicle to be charged by edge detection technology, comparing the image contour of the vehicle to be charged with the vehicle image contours corresponding to each model in a database, and determining the model of the vehicle to be charged according to the comparison result.
[0017] The center position of the charging gun is extracted through the database, and the center position of the charging gun is defined as the origin of the three-dimensional coordinate system as a fixed point. The three-dimensional coordinate system is set with the x-axis along the length direction of the charging gun fixing device, the Y-axis along the width direction of the charging gun fixing device, and the z-axis perpendicular to the surface of the charging gun upward. The position of the charging port of the vehicle to be charged is obtained through the model of the vehicle to be charged, and the position of the charging port of the vehicle to be charged is substituted into the three-dimensional coordinate system to obtain the position coordinates C(x, y, z) of the charging port of the vehicle to be charged.
[0018] Preferably, the analysis of the manipulator stop position coordinates includes: extracting the charging gun fixed position from the database, substituting it into the three-dimensional coordinate system to obtain the charging gun fixed position coordinates F (x', y', z'), and comparing it with the position coordinates of the charging port of the vehicle to be charged and the reference vector of the set point coordinates on the x-axis Analyze the coordinates of the robot's stop position Where G(x″, y″, z″) represents the coordinates of the robot’s stop position, and θ represents the rotation angle of the robot from the fixed position of the charging gun to the charging port of the vehicle to be charged. in Represents the vector pointing from the fixed position coordinates of the charging gun to the position coordinates of the charging port of the vehicle to be charged.
[0019] Preferably, the adjusting the manipulator joint to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged includes: obtaining the specific formula for the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged according to the preset safety distance p and the position coordinates of the charging port of the vehicle to be charged: Where w(x 1 ,y 1 ,z 1 ) indicates the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0020] Substitute the fixed position coordinates of the charging gun and the estimated charging stop position coordinates corresponding to the charging port of the vehicle to be charged into the Euclidean distance formula to obtain the distance differences Δx″, Δy″, Δz″ between the charging gun and the charging port of the vehicle to be charged respectively.
[0021] According to the distance difference between the charging gun and the charging port of the vehicle to be charged, the manipulator is adjusted to control the manipulator joints of the x-axis, y-axis, and z-axis respectively, and the manipulator joint controlling the x-axis moves Δx″, the manipulator joint controlling the y-axis moves Δy″, and the manipulator joint controlling the z-axis moves Δz″, and finally the charging gun is moved to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0022] Preferably, the analysis of the angle at which the charging gun needs to rotate includes: collecting the image of the charging port of the vehicle to be charged and the image of the charging gun in real time through a camera, detecting the edges in the image using an edge detection algorithm, and then extracting the contour of the charging port of the vehicle to be charged and the contour of the charging gun through a contour search algorithm.
[0023] The center line of the charging port contour of the vehicle to be charged and the center line of the charging gun contour are obtained according to the contour of the charging port of the vehicle to be charged through image processing technology. The coordinates of two points on the contour of the charging port of the vehicle to be charged, A1 (a1, a2) and B1 (b1, b2), are obtained according to the center line of the contour of the charging port of the vehicle to be charged. The coordinates of two points on the contour of the charging gun, A2 (a′, b′) and B2 (a″, b″), are obtained according to the center line of the contour of the charging gun, and the angle that the charging gun needs to rotate is analyzed. Where θ2 represents the angle of the rotating charging gun profile, The direction vector of the center line of the charging port contour of the vehicle to be charged, in The direction vector of the center line of the charging gun contour,
[0024] Preferably, the analysis of the manipulator grasping position error index includes: calling the grasping position of each manipulator finger of each charging event in a set historical period through data recording software, bringing it into a three-dimensional coordinate system to obtain the grasping position coordinates (x″′) of each manipulator finger of each charging event in the set historical period tj ,y″′ tj ,z″′ tj ), where t represents the number corresponding to different charging events in the set historical period, t = 1, 2, 3...T, j represents the number corresponding to different mechanical fingers, j = 1, 2, 3...J, extract the standard grasping position of each mechanical finger of the manipulator from the database, bring it into the three-dimensional coordinate system to obtain the standard grasping position coordinates of each mechanical finger of the manipulator Analyze the robot gripping position error index Where A represents the manipulator grasping position error index, E tj It represents the grasping position error value of the jth mechanical finger of the manipulator in the tth charging event within the set historical period. J represents the total number of robotic fingers, and T represents the total number of charging events in a set historical period.
[0025] Preferably, the analysis of the error index of the charging position corresponding to the charging port of the vehicle to be charged includes: retrieving the actual charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period through data recording software, bringing it into the three-dimensional coordinate system to obtain the coordinates of the actual charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period The estimated charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event is retrieved from the database, and the estimated charging stop position coordinates corresponding to the charging port of the vehicle to be charged corresponding to each charging event are obtained by bringing it into the three-dimensional coordinate system. Analyze the charging position error index of the charging port of the vehicle to be charged Where Β represents the charging position error index corresponding to the charging port of the vehicle to be charged, Ε′ t Indicates the charging position error value corresponding to the charging port of the vehicle to be charged corresponding to the tth charging event,
[0026] Preferably, the analysis of the manipulator control accuracy error index includes: analyzing the manipulator control accuracy error index M=α1·A+α2·B through the manipulator grasping position error index and the charging position error index corresponding to the charging port of the vehicle to be charged, wherein M represents the manipulator control accuracy error index, α1 represents the weight factor of the manipulator grasping position error index, α2 represents the weight factor of the charging position error index corresponding to the charging port of the vehicle to be charged, and α1+α2=1.
[0027] Preferably, the error correction of the manipulator includes: comparing the manipulator control accuracy error index with a preset error threshold, and if the manipulator control accuracy error index is greater than the preset error threshold, performing an error correction warning on the manipulator error.
[0028] A second aspect of the present invention provides a control method for a rechargeable robot arm, comprising:
[0029] S1. Scanning and analysis of vehicles to be charged: The parking lot for vehicles to be charged is marked as a designated area. Vehicles to be charged are scanned in real time in the designated area to obtain the model of the vehicle to be charged and analyze the location of the charging port of the vehicle to be charged. The location coordinates C (x, y, z) of the charging port of the vehicle to be charged are analyzed by constructing a three-dimensional coordinate system.
[0030] S2. Robot position analysis: Analyze the robot's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun.
[0031] S3, robot control grasping: control the robot to reach the stop position coordinates, and obtain the center position coordinates of the charging gun, and then control the robot to grasp the charging gun.
[0032] S4, robot joint adjustment: according to the position coordinates of the charging port of the vehicle to be charged, the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged are obtained, and then the robot joints are adjusted to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0033] S5. Contour adjustment and matching: Collect the contour of the charging port of the vehicle to be charged and the contour of the charging gun in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through the robot.
[0034] S6. Robot error evaluation: Analyze the robot grasping position error index through the grasping position of each robot finger in each charging event within the set historical period and analyze the charging position error index corresponding to the charging port of the vehicle to be charged corresponding to the actual charging stop position of each charging event, and then analyze the robot control accuracy error index.
[0035] S7. Manipulator error correction: perform error correction on the manipulator according to the manipulator control accuracy error index.
[0036] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention analyzes the stop position coordinates of the manipulator through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun. By accurately calculating the stop position of the manipulator, the moving distance and adjustment time of the manipulator can be minimized, which helps to reduce the waiting time during the charging process. It not only speeds up the speed of single charging, but also improves the service capacity of the entire charging station, allowing more vehicles to complete charging in a shorter time, allowing users to enjoy charging services faster.
[0037] (2) The present invention collects the contours of the charging port and the charging gun of the vehicle to be charged in real time, analyzes the angle at which the charging gun needs to rotate, and then rotates the charging gun by a manipulator to accurately calculate the angle at which the charging gun needs to rotate, thereby ensuring perfect docking between the charging gun and the charging port. This real-time performance ensures rapid response and timely adjustment during the charging process, while accuracy ensures precise docking between the charging gun and the charging port, thereby improving charging efficiency and success rate, and reducing charging failures or safety issues caused by improper operation or position deviation. This safety and reliability make the automatic charging system more reliable and trustworthy, and provide better protection for the charging of electric vehicles.
[0038] (3) The present invention obtains the manipulator grasping position error index by comparing the grasping position of each mechanical finger when the manipulator grasps the charging gun each time within a set historical period with the corresponding standard grasping position. This precise data analysis and comparison helps to discover deviations in the manipulator's grasping process, so as to make corresponding adjustments and optimizations to improve charging accuracy and stability. By improving charging accuracy and stability, users can enjoy more convenient and efficient charging services, reduce charging problems caused by improper operation or mechanical failure, and improve user satisfaction and trust in the charging system.
[0039] (4) The present invention compares the actual charging stop position coordinates with the expected charging stop position coordinates, analyzes the charging position error index corresponding to the charging port of the vehicle to be charged, and can accurately evaluate the deviation of the charging position, which helps to reduce the problem of charging failure or low charging efficiency caused by position deviation, improves the accuracy of charging position positioning, reduces the adjustment time and number of the manipulator, avoids unnecessary movement and repeated operations, and can not only improve the charging efficiency and shorten the charging time, but also reduce energy waste, which meets the environmental protection requirements of energy conservation and emission reduction. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0041] Figure 1 It is a schematic diagram of module connection of the present invention.
[0042] Figure 2 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] See also Figure 1 As shown, the present invention provides a control system for a rechargeable robot arm, including: a scanning and analysis module for a vehicle to be charged, a manipulator position analysis module, a manipulator control grasping module, a manipulator joint adjustment module, a contour adjustment matching module, a manipulator error evaluation module, a manipulator error correction module and a database.
[0045] The manipulator position analysis module is respectively connected to the vehicle scanning and analysis module to be charged and the manipulator control and grasping module, the manipulator joint adjustment module is respectively connected to the manipulator control and grasping module and the contour adjustment and matching module, the manipulator error correction module is connected to the manipulator error evaluation module, and the database is respectively connected to the vehicle scanning and analysis module to be charged, the manipulator position analysis module, and the manipulator error evaluation module.
[0046] The scanning and analyzing module for vehicles to be charged is used to record the parking lot for vehicles to be charged as a designated area, scan the vehicles to be charged in real time in the designated area, obtain the model of the vehicle to be charged, analyze the location of the charging port of the vehicle to be charged, and analyze the location coordinates C (x, y, z) of the charging port of the vehicle to be charged by constructing a three-dimensional coordinate system.
[0047] Furthermore, the analysis of the position coordinates of the charging port of the vehicle to be charged includes: scanning the vehicles to be charged in a specified area by a camera to obtain an image of the vehicle to be charged, obtaining an image contour of the vehicle to be charged by edge detection technology, comparing the image contour of the vehicle to be charged with the vehicle image contours corresponding to each model in a database, and determining the model of the vehicle to be charged according to the comparison result.
[0048] The center position of the charging gun is extracted through the database, and the center position of the charging gun is defined as the origin of the three-dimensional coordinate system as a fixed point. The three-dimensional coordinate system is set with the x-axis along the length direction of the charging gun fixing device, the Y-axis along the width direction of the charging gun fixing device, and the z-axis perpendicular to the surface of the charging gun upward. The position of the charging port of the vehicle to be charged is obtained through the model of the vehicle to be charged, and the position of the charging port of the vehicle to be charged is substituted into the three-dimensional coordinate system to obtain the position coordinates C(x, y, z) of the charging port of the vehicle to be charged.
[0049] By constructing a three-dimensional coordinate system and obtaining the position coordinates of the charging port of the vehicle to be charged, the present invention can locate the charging port more accurately, avoiding charging delays or operating difficulties caused by inaccurate positioning, which helps to optimize the charging efficiency, reduce the waiting time of users during the charging process, and improve the overall charging efficiency.
[0050] The manipulator position analysis module is used to analyze the manipulator's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun.
[0051] Furthermore, the analysis of the manipulator stop position coordinates includes: extracting the charging gun fixed position from the database, substituting it into the three-dimensional coordinate system to obtain the charging gun fixed position coordinates F(x′, y′, z′), and comparing it with the position coordinates of the charging port of the vehicle to be charged and the reference vector of the set point coordinates on the x-axis Analyze the coordinates of the robot's stop position Where G(x″, y″, z″) represents the coordinates of the robot’s stop position, and θ represents the rotation angle of the robot from the fixed position of the charging gun to the charging port of the vehicle to be charged. in Represents the vector pointing from the fixed position coordinates of the charging gun to the position coordinates of the charging port of the vehicle to be charged.
[0052] The present invention analyzes the manipulator's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun. By accurately calculating the manipulator's stop position, the manipulator's moving distance and adjustment time can be minimized, which helps to reduce the waiting time during charging, not only speeding up the speed of single charging, but also improving the service capacity of the entire charging station, allowing more vehicles to complete charging in a shorter time, allowing users to enjoy charging services faster.
[0053] The manipulator control grasping module is used to control the manipulator to reach the stop position coordinates and obtain the center position coordinates of the charging gun, thereby controlling the manipulator to grasp the charging gun.
[0054] As a preferred embodiment, the specific process of obtaining the center position coordinates of the charging gun is: extracting the center position of the charging gun from a database.
[0055] The manipulator joint adjustment module is used to obtain the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged according to the position coordinates of the charging port of the vehicle to be charged, and then adjust the manipulator joint to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0056] Further, the adjusting the manipulator joint to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged includes: obtaining the specific formula for the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged according to the preset safety distance p and the position coordinates of the charging port of the vehicle to be charged is: Where w(x 1 ,y 1 ,z 1 ) indicates the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0057] Substitute the fixed position coordinates of the charging gun and the estimated charging stop position coordinates corresponding to the charging port of the vehicle to be charged into the Euclidean distance formula to obtain the distance differences Δx″, Δy″, Δz″ between the charging gun and the charging port of the vehicle to be charged respectively.
[0058] According to the distance difference between the charging gun and the charging port of the vehicle to be charged, the manipulator is adjusted to control the manipulator joints of the x-axis, y-axis, and z-axis respectively, and the manipulator joint controlling the x-axis moves Δx″, the manipulator joint controlling the y-axis moves Δy″, and the manipulator joint controlling the z-axis moves Δz″, and finally the charging gun is moved to the expected charging position corresponding to the charging port of the vehicle to be charged.
[0059] The present invention demonstrates the automation and intelligence capabilities of the present invention by describing in detail the workflow of the manipulator joint adjustment module, including adjusting the manipulator joints according to the charging port position coordinates, and using the safety distance and distance difference to accurately control the position of the charging gun, which helps to reduce manual intervention and improve the degree of automation of the charging process, thereby improving the overall charging efficiency and user experience.
[0060] The contour adjustment and matching module is used to collect the contour of the charging port of the vehicle to be charged and the contour of the charging gun in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through a manipulator.
[0061] As a preferred embodiment, the purpose of rotating the charging gun by the manipulator is to insert the charging gun into the charging port of the vehicle to be charged so that the vehicle to be charged can be charged.
[0062] Furthermore, the analysis of the angle at which the charging gun needs to be rotated includes: collecting the image of the charging port of the vehicle to be charged and the image of the charging gun in real time through a camera, detecting the edges in the image using an edge detection algorithm, and then extracting the contour of the charging port of the vehicle to be charged and the contour of the charging gun through a contour search algorithm.
[0063] The center line of the charging port contour of the vehicle to be charged and the center line of the charging gun contour are obtained according to the contour of the charging port of the vehicle to be charged through image processing technology. The coordinates of two points on the contour of the charging port of the vehicle to be charged, A1 (a1, a2) and B1 (b1, b2), are obtained according to the center line of the contour of the charging port of the vehicle to be charged. The coordinates of two points on the contour of the charging gun, A2 (a′, b′) and B2 (a″, b″), are obtained according to the center line of the contour of the charging gun, and the angle that the charging gun needs to rotate is analyzed. Where θ2 represents the angle of the rotating charging gun profile, The direction vector of the center line of the charging port contour of the vehicle to be charged, in The direction vector of the center line of the charging gun contour,
[0064] The present invention collects the contours of the charging port and the charging gun of the vehicle to be charged in real time, analyzes the angle at which the charging gun needs to rotate, and then rotates the charging gun by a manipulator. This can accurately calculate the angle at which the charging gun needs to rotate, ensuring perfect docking of the charging gun and the charging port. This real-time performance ensures rapid response and timely adjustment during the charging process, while accuracy ensures precise docking of the charging gun and the charging port, thereby improving charging efficiency and success rate, and reducing charging failures or safety issues caused by improper operation or position deviation. This safety and reliability make the automatic charging system more reliable and trustworthy, and provide better protection for the charging of electric vehicles.
[0065] The manipulator error evaluation module is used to analyze the manipulator grasping position error index through the grasping position of each manipulator finger in each charging event within a set historical period and the charging position error index corresponding to the charging port of the vehicle to be charged corresponding to each charging event, and then analyze the manipulator control accuracy error index.
[0066] Furthermore, the analysis of the manipulator grasping position error index includes: calling the grasping position of each manipulator finger of each charging event in a set historical period through data recording software, bringing it into a three-dimensional coordinate system to obtain the grasping position coordinates (x″′) of each manipulator finger of each charging event in the set historical period tj ,y″′ tj ,z″′ tj ), where t represents the number corresponding to different charging events in the set historical period, t = 1, 2, 3...T, j represents the number corresponding to different mechanical fingers, j = 1, 2, 3...J, extract the standard grasping position of each mechanical finger of the manipulator from the database, bring it into the three-dimensional coordinate system to obtain the standard grasping position coordinates of each mechanical finger of the manipulator Analyze the robot gripping position error index Where A represents the manipulator grasping position error index, E tj It represents the grasping position error value of the jth mechanical finger of the manipulator in the tth charging event within the set historical period. J represents the total number of robotic fingers, and T represents the total number of charging events in a set historical period.
[0067] The present invention obtains the manipulator's grasping position error index by comparing the grasping position of each mechanical finger when the manipulator grasps the charging gun each time within a set historical period with the corresponding standard grasping position. Such precise data analysis and comparison help to discover deviations in the manipulator's grasping process, so as to make corresponding adjustments and optimizations to improve charging accuracy and stability. By improving charging accuracy and stability, users can enjoy more convenient and efficient charging services, reduce charging problems caused by improper operation or mechanical failure, and enhance user satisfaction and trust in the charging system.
[0068] Furthermore, the analysis of the charging position error index corresponding to the charging port of the vehicle to be charged includes: retrieving the actual charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period through data recording software, bringing it into the three-dimensional coordinate system to obtain the actual charging stop position coordinates corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period The estimated charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event is retrieved from the database, and the estimated charging stop position coordinates corresponding to the charging port of the vehicle to be charged corresponding to each charging event are obtained by bringing it into the three-dimensional coordinate system. Analyze the charging position error index of the charging port of the vehicle to be charged Where Β represents the charging position error index corresponding to the charging port of the vehicle to be charged, Ε′ t Indicates the charging position error value corresponding to the charging port of the vehicle to be charged corresponding to the tth charging event,
[0069] The present invention analyzes the charging position error index corresponding to the charging port of the vehicle to be charged by comparing the actual charging stop position coordinates with the expected charging stop position coordinates, so as to accurately evaluate the deviation of the charging position, help reduce the problem of charging failure or low charging efficiency caused by position deviation, improve the accuracy of charging position positioning, reduce the adjustment time and number of manipulators, avoid unnecessary movement and repeated operations, and can not only improve the charging efficiency and shorten the charging time, but also reduce energy waste, which meets the environmental protection requirements of energy conservation and emission reduction.
[0070] Further, the analysis of the manipulator control accuracy error index includes: analyzing the manipulator control accuracy error index M=α1·A+α2·B through the manipulator grasping position error index and the charging position error index corresponding to the charging port of the vehicle to be charged, wherein M represents the manipulator control accuracy error index, α1 represents the weight factor of the manipulator grasping position error index, α2 represents the weight factor of the charging position error index corresponding to the charging port of the vehicle to be charged, and α1+α2=1.
[0071] It should be explained that since the manipulator error index is analyzed by the manipulator grasping position error index and the charging position error index corresponding to the charging port of the vehicle to be charged, the weight factor of the manipulator grasping position error index is the same as the weight factor of the charging position error index corresponding to the charging port of the vehicle to be charged, and then in a specific embodiment, α1=α2=0.5.
[0072] The present invention can timely discover and locate problems in control accuracy by analyzing the control accuracy error index of the manipulator. Once the error index exceeds a preset range, corresponding troubleshooting and optimization measures can be taken to improve the control accuracy of the manipulator, which is of great significance for improving the stability and reliability of the entire charging system.
[0073] The manipulator error correction module is used to perform error correction on the manipulator according to the manipulator error index.
[0074] Furthermore, the error correction of the manipulator includes: comparing the manipulator error index with a preset error threshold, and if the manipulator error index is greater than the preset error threshold, performing an error correction warning on the manipulator error.
[0075] The present invention introduces an error correction warning mechanism. When the robot error index exceeds a preset error threshold, the system can promptly issue a warning to remind the operator or automatically start the correction program, which helps to promptly discover and deal with the robot error problem and avoid more serious consequences caused by error accumulation, thereby enhancing the stability and reliability of the entire charging system.
[0076] Database: used to store the vehicle image contour corresponding to each vehicle model, the center position of the charging gun, the fixed position of the charging gun, the standard grasping position of each mechanical finger of the manipulator, and the expected charging stop position corresponding to the charging port of the vehicle to be charged for each charging event.
[0077] See also Figure 2 As shown, the second aspect of the present invention provides a control method for a rechargeable robot arm, including: S1, scanning and analyzing vehicles to be charged: marking a parking lot specifically for vehicles to be charged as a designated area, scanning vehicles to be charged in real time in the designated area, obtaining the model of the vehicle to be charged to analyze the location of the charging port of the vehicle to be charged, and analyzing the position coordinates C (x, y, z) of the charging port of the vehicle to be charged by constructing a three-dimensional coordinate system.
[0078] S2. Robot position analysis: Analyze the robot's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun.
[0079] S3, robot control grasping: control the robot to reach the stop position coordinates, and obtain the center position coordinates of the charging gun, and then control the robot to grasp the charging gun.
[0080] S4, robot joint adjustment: according to the position coordinates of the charging port of the vehicle to be charged, the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged are obtained, and then the robot joints are adjusted to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
[0081] S5. Contour adjustment and matching: Collect the contour of the charging port of the vehicle to be charged and the contour of the charging gun in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through the robot.
[0082] S6. Robot error evaluation: Analyze the robot grasping position error index through the grasping position of each robot finger in each charging event within the set historical period and analyze the charging position error index corresponding to the charging port of the vehicle to be charged corresponding to the actual charging stop position of each charging event, and then analyze the robot control accuracy error index.
[0083] S7. Manipulator error correction: perform error correction on the manipulator according to the manipulator control accuracy error index.
[0084] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.
Claims
1. A control system for a rechargeable robot arm, Features: include: Scanning and analysis module for vehicles to be charged: used to record the parking lot for vehicles to be charged as a designated area, scan the vehicles to be charged in real time in the designated area, obtain the model of the vehicle to be charged, analyze the location of the charging port of the vehicle to be charged, and analyze the location coordinates of the charging port of the vehicle to be charged by constructing a three-dimensional coordinate system ; Manipulator position analysis module: used to analyze the manipulator's stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun; Manipulator control grabbing module: used to control the manipulator to reach the stop position coordinates and obtain the center position coordinates of the charging gun, and then control the manipulator to grab the charging gun; Manipulator joint adjustment module: used to obtain the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged according to the position coordinates of the charging port of the vehicle to be charged, and then adjust the manipulator joint to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged; Contour adjustment and matching module: used to collect the contour of the charging port and the charging gun of the vehicle to be charged in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through the manipulator; Manipulator error evaluation module: used to analyze the manipulator grasping position error index through the grasping position of each manipulator finger in each charging event within a set historical period and the charging position error index corresponding to the charging port of the charging vehicle corresponding to each charging event, and then analyze the manipulator control accuracy error index; Manipulator error correction module: used to perform error correction on the manipulator according to the manipulator control accuracy error index; Database: used to store the vehicle image contour corresponding to each vehicle model, the center position of the charging gun, the fixed position of the charging gun, the standard grasping position of each mechanical finger of the manipulator, and the expected charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event; The analysis of the manipulator stop position coordinates includes: Extract the fixed position of the charging gun from the database and substitute it into the three-dimensional coordinate system to obtain the fixed position coordinates of the charging gun , and compare it with the location coordinates of the charging port of the vehicle to be charged and Reference vector for setting point coordinates on the axis ,Analyze the coordinates of the robot's stop position ,in Represents the coordinates of the robot's stop position, where Indicates the rotation angle of the manipulator from the fixed position of the charging gun to the charging port of the vehicle to be charged. ,in Represents the vector pointing from the fixed position coordinates of the charging gun to the position coordinates of the charging port of the vehicle to be charged. ; The analysis of the angle at which the charging gun needs to rotate includes: The camera is used to collect images of the charging port and the charging gun of the vehicle to be charged in real time, an edge detection algorithm is used to detect the edges in the image, and then a contour search algorithm is used to extract the contours of the charging port and the charging gun of the vehicle to be charged; The center line of the charging port contour of the vehicle to be charged is obtained according to the contour of the charging port of the vehicle to be charged through image processing technology, and the center line of the charging gun contour is obtained according to the contour of the charging gun. The coordinates of two points on the center line of the charging port contour of the vehicle to be charged are obtained respectively. , according to the center line of the charging gun contour, obtain the coordinates of the two points on it , analyze the angle that the charging gun needs to rotate ,in Indicates the angle of the rotating charging gun profile, The direction vector of the center line of the charging port contour of the vehicle to be charged, ,in The direction vector of the center line of the charging gun contour, .
2. A control system for a rechargeable robot arm according to claim 1, Features: The analyzing the location coordinates of the charging port of the vehicle to be charged includes: Scan the vehicles to be charged in the designated area with a camera to obtain an image of the vehicle to be charged, obtain the image contour of the vehicle to be charged by edge detection technology, compare the image contour of the vehicle to be charged with the image contour of the vehicle corresponding to each model in the database, and determine the model of the vehicle to be charged according to the comparison result; The center position of the charging gun is extracted from the database, and the center position of the charging gun is defined as the origin of the three-dimensional coordinate system as a fixed point. The three-dimensional coordinate system is set with the x-axis along the length direction of the charging gun fixing device, the y-axis along the width direction of the charging gun fixing device, and the z-axis perpendicular to the surface of the charging gun upward. The position of the charging port of the vehicle to be charged is obtained through the model of the vehicle to be charged, and the position of the charging port of the vehicle to be charged is substituted into the three-dimensional coordinate system to obtain the position coordinates of the charging port of the vehicle to be charged .
3. A control system for a rechargeable robot arm according to claim 1, Features: The adjusting the joint of the manipulator to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged includes: According to the preset safety distance The specific formula for obtaining the estimated charging stop position coordinates corresponding to the charging port of the vehicle to be charged is as follows: ,in Indicates the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged; Substitute the coordinates of the fixed position of the charging gun and the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged into the Euclidean distance formula to obtain the distance difference between the charging gun and the charging port of the vehicle to be charged. ; According to the distance difference between the charging gun and the charging port of the vehicle to be charged, the robot controls the robot joints of the x-axis, y-axis, and z-axis respectively, and moves the robot joint controlling the x-axis , move the robot joint that controls the y-axis , move the robot joint that controls the z-axis , and finally move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged.
4. A control system for a rechargeable robot arm according to claim 1, Features: The analysis of the manipulator grasping position error index includes: The data recording software is used to retrieve the grasping position of each mechanical finger of the manipulator in each charging event within the set historical period, and it is brought into the three-dimensional coordinate system to obtain the grasping position coordinates of each mechanical finger of the manipulator in each charging event within the set historical period. ,in Indicates the numbers corresponding to different charging events within the set historical period. , Indicates the numbers corresponding to different mechanical fingers. , extract the standard grasping position of each mechanical finger of the manipulator from the database, bring it into the three-dimensional coordinate system to obtain the standard grasping position coordinates of each mechanical finger of the manipulator , analyze the robot grasping position error index ,in represents the manipulator grasping position error index, Indicates that the robot is the first Charging event No. The grasping position error value of the root robot finger, , Indicates the total number of mechanical fingers, Indicates the total number of charging events in the set historical period.
5. A control system for a rechargeable robot arm according to claim 4, Features: The analyzing the charging position error index corresponding to the charging port of the vehicle to be charged includes: The data recording software is used to retrieve the actual charging position corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period, and it is brought into the three-dimensional coordinate system to obtain the actual charging position coordinates corresponding to the charging port of the vehicle to be charged corresponding to each charging event in the set historical period. , retrieve the expected charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event from the database, and bring it into the three-dimensional coordinate system to obtain the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged corresponding to each charging event , analyze the charging position error index corresponding to the charging port of the vehicle to be charged ,in Indicates the charging position error index corresponding to the charging port of the vehicle to be charged. Indicates The charging position error value corresponding to the charging port of the vehicle to be charged corresponding to the charging event, .
6. A control system for a rechargeable robot arm according to claim 1, Features: The analysis of the manipulator control accuracy error index includes: The robot control accuracy error index is analyzed by the robot grasping position error index and the charging position error index corresponding to the charging port of the vehicle to be charged. ,in Represents the robot control accuracy error index, represents the weight factor of the manipulator grasping position error index, represents the weight factor of the charging position error index corresponding to the charging port of the vehicle to be charged, and .
7. A control system for a rechargeable robot arm according to claim 1, Features: The error correction of the manipulator comprises: The robot control accuracy error index is compared with a preset error threshold. If the robot control accuracy error index is greater than the preset error threshold, an error correction warning is issued for the robot error.
8. A method for controlling a rechargeable robot arm, executed by the system as claimed in claim 1, It is characterized in that include: S1. Scanning and analysis of vehicles to be charged: The parking lot for vehicles to be charged is recorded as a designated area. Vehicles to be charged are scanned in real time in the designated area to obtain the model of the vehicle to be charged and analyze the location of the charging port of the vehicle to be charged. The location coordinates of the charging port of the vehicle to be charged are analyzed by constructing a three-dimensional coordinate system. ; S2, robot position analysis: analyze the robot stop position coordinates through the position coordinates of the charging port of the vehicle to be charged and the fixed position coordinates of the charging gun; S3, robot control grasping: control the robot to reach the stop position coordinates, and obtain the center position coordinates of the charging gun, and then control the robot to grasp the charging gun; S4, manipulator joint adjustment: according to the position coordinates of the charging port of the vehicle to be charged, the coordinates of the expected charging stop position corresponding to the charging port of the vehicle to be charged are obtained, and then the manipulator joints are adjusted to move the charging gun to the expected charging stop position corresponding to the charging port of the vehicle to be charged; S5, contour adjustment and matching: collect the contour of the charging port of the vehicle to be charged and the contour of the charging gun in real time, analyze the angle at which the charging gun needs to be rotated, and then rotate the charging gun through the manipulator; S6, robot error assessment: analyze the robot grasping position error index through the grasping position of each robot finger of each charging event in the set historical period and the charging position error index corresponding to the charging port of the charging vehicle corresponding to each charging event, and then analyze the robot control accuracy error index; S7. Manipulator error correction: perform error correction on the manipulator according to the manipulator control accuracy error index.
