Robot autonomous assembly virtual debugging method and system based on virtual data
Through end-to-end artificial intelligence technology, features are automatically extracted from simulation data and models are built, which solves the problem of applying virtual debugging results to actual sites, achieves efficient assembly hole position identification, pose estimation and trajectory planning, and improves efficiency Precision and efficiency in automotive assembly.
Patent Information
- Application Number
- CN202410667462.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-03
AI Technical Summary
In the automobile assembly process, it is difficult to apply simulation results directly to the actual site through virtual simulation and model training with existing technology, reducing the need for on-site debugging. It is also a challenge to optimize the robot's motion trajectory to ensure assembly accuracy and efficiency.
Adopting end-to-end artificial intelligence technology, by automatically extracting features from simulation data, building an artificial intelligence model for point cloud data learning, realizing intelligent generation of assembly hole position identification, pose estimation and trajectory planning, combined with the virtual data generation module and data feature self-learning module to optimize assembly trajectory planning.
It improves the automation and intelligence level of virtual debugging, reduces virtual debugging time, improves assembly accuracy and efficiency, reduces the real machine debugging cycle, and achieves high efficiency of collision-free assembly trajectory planning.
Smart Images

Figure CN118586273A
Abstract
Description
Technical Field
[0001] The present invention belongs to virtual debugging and artificial intelligence technology, and in particular to a robot autonomous assembly virtual debugging method and system based on virtual data. Background Art
[0002] In the traditional automobile manufacturing model, workers need to plan the automobile assembly process in advance and conduct trial production activities repeatedly. These activities include summarizing and analyzing the causes of various process problems based on on-site production conditions and taking improvement measures. After a series of tedious operations, the best process can be determined. However, this process is time-consuming and labor-intensive, resulting in high overall production costs and affecting production efficiency.
[0003] In this context, virtual debugging, as a key technology to reduce physical testing, shorten product development cycles and costs, is of great significance to modern automobile manufacturing. Virtual debugging allows engineers to build mathematical models based on workshop conditions and production information before real production begins. With these models, engineers can import multiple sets of pre-set process plans into the model and conduct simulation experiments, using simulation software to detect and optimize the design and operation of the assembly line. Especially in the automobile assembly process, accurate identification of assembly holes, accurate pose estimation of assembly holes, and efficient robot trajectory planning are key technologies to ensure assembly quality and efficiency.
[0004] However, how to directly apply the results of simulation and training to the actual site through virtual simulation and model training to achieve the purpose of reducing on-site debugging is still a challenge. At the same time, while ensuring assembly accuracy and efficiency, optimizing the robot's motion trajectory and improving task generalization is also an important task. To address the above problems, this paper proposes an end-to-end artificial intelligence technology. This technology can achieve more accurate and robust assembly hole recognition, pose estimation and trajectory planning by directly learning from large-scale simulation data. Summary of the invention
[0005] Purpose of the invention: The purpose of the present invention is to provide a method and system for virtual debugging of robot autonomous assembly based on virtual data. The method realizes the autonomy and optimization of the assembly process in accordance with the needs of the automobile assembly site. By automatically extracting features from complex data without manually setting rules, the present invention improves the automation and intelligence level of virtual debugging, thereby reducing the time of virtual debugging and improving assembly accuracy.
[0006] Technical solution: The robot autonomous assembly virtual debugging method based on virtual data of the present invention comprises the following steps:
[0007] (1) Build a 1:1 simulation mapping model of the real scene based on the simulation environment and computer-aided design model;
[0008] (2) Using the model and its position and posture information, the assembly positions, assembly postures, and robot assembly trajectory information of different groups of environmental point clouds are annotated to achieve automation of data collection and data annotation;
[0009] (3) Construct an artificial intelligence model to learn the features of the acquired point cloud data and its annotation information to achieve intelligent generation of point cloud to trajectory.
[0010] Furthermore, in step (1), the on-site installation error is taken into account, and the pose of the assembly, the visual sensor and the key CAD model of the robot are automatically disturbed to obtain multiple sets of environmental point cloud data in different poses.
[0011] Furthermore, the virtual scene construction of CAD digital model and simulation environment and the perturbation-based model pose generation are utilized. The perturbation method is to calculate the noise using the mean and variance of the normal distribution, integrate it into the pose information and output the fused result, map it to the model, and complete the pose update of the key model.
[0012] Furthermore, the data collection and data labeling steps in step (2) specifically include the following steps:
[0013] 2.1 Obtain multi-view point cloud information for the CAD model, generate points at a certain distance for the CAD model based on the sensor resolution information, connect the points with the visual sensor position to determine whether they are blocked, complete the conversion of the CAD model to multi-view point cloud, and complete the collection of environmental point cloud information.
[0014] 2.2 Using the known pose information of each CAD model, multiply the assembly position and its vector direction by the transformation matrix to complete the labeling of the assembly position and assembly pose information. Finally, use its inverse kinematics to complete the labeling of the assembly trajectory.
[0015] 3. Build an artificial intelligence model to learn the features of the acquired point cloud data and its annotation information to realize the intelligent generation of point cloud to trajectory.
[0016] Furthermore, the artificial intelligence model in (3) specifically includes the following modules:
[0017] 3.1 Main module: used to extract environmental point cloud features. Considering that the point cloud only contains features in the three directions of xyz in the Cartesian coordinate system, it contains less information. Therefore, the main module is used to perform dimensionality increase operations to improve the information contained in the point cloud.
[0018] 3.2 Assembly position recognition module: Based on the point cloud after dimensionality upgrade of the main module, its high-dimensional features are used to learn the relationship between the assembly position and its overall environment, which is used to output the assembly position information.
[0019] 3.3 Assembly posture estimation module: Also based on the point cloud after dimensionality upgrade of the main module, it predicts the surface normal vectors under different assembly positions to improve the assembly accuracy.
[0020] 3.4 Assembly trajectory generation module: Based on the above modules, the position and posture information and its relative position with the robot are used to learn the trajectory features and output a collision-free assembly trajectory.
[0021] Another aspect of the present invention provides a system for a robot autonomous assembly virtual debugging method based on virtual data, comprising the following modules:
[0022] Memory module: used to store programs;
[0023] Processor module: used to execute the program to execute the following modules in sequence:
[0024] Virtual data generation module: simulates the environmental perception effect of visual sensors in different positions and outputs environmental point cloud data. On this basis, the automatic labeling function of virtual data is realized.
[0025] Data feature self-learning module: learns the potential features of the generated virtual data, realizes high-precision collision-free assembly trajectory planning through assembly position recognition and assembly pose estimation, improves trajectory planning efficiency and reduces the actual machine debugging cycle based on virtual results.
[0026] Data visualization module: The operating results of each module are displayed intuitively in graphical form for users to observe and analyze.
[0027] Furthermore, the data feature self-learning module further includes the following modules:
[0028] (1) Feature extraction module for point cloud data: This module uses artificial intelligence algorithms to extract features from environmental point cloud data, thereby increasing the dimension of potential information in the point cloud and facilitating subsequent modules to complete corresponding tasks with high accuracy and efficiency.
[0029] (2) Assembly location recognition module: Based on the upgraded point cloud features, the module learns the correlation characteristics between the potential assembly location area and the overall point cloud information, and finally accurately outputs the assembly area information.
[0030] (3) Assembly pose estimation module: Based on the dimensionally upgraded point cloud features and the point cloud global probability, the precise assembly position and the vector direction of the assembly structure are solved to improve assembly accuracy and efficiency.
[0031] (4) Assembly trajectory generation module: Taking the environmental point cloud information as input, the point cloud features are finally mapped to the assembly trajectory features through the above-mentioned point cloud feature extraction, assembly position recognition and assembly pose estimation modules, thus achieving highly robust real-time collision-free trajectory planning.
[0032] In the present invention, firstly, a virtual data automatic collection and annotation plug-in for environmental information is developed, and the point cloud data of the environment is obtained by simulating the camera posture; secondly, the obtained point cloud data is input into the artificial intelligence model to generate the assembly trajectory, and the model also includes the identification of the assembly position and the estimation of the assembly posture, which is used for the detection of the assembly body to be assembled; the assembly position identification module is used to output the area where the assembly position is located, so as to improve the accuracy of the subsequent posture estimation; the assembly posture estimation module is used to output the assembly position and its surface normal vector; on this basis, the assembly trajectory generation module can learn the trajectory features and directly output the robot assembly trajectory; finally, the optimization algorithms such as Adam and SGD are used to optimize the results of the artificial intelligence model to improve the accuracy of the generated trajectory.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] 1. The present invention has carried out systematic research in the aspects of automatic generation of virtual data, self-training of artificial intelligence models, assembly position recognition, assembly pose estimation and assembly trajectory generation, which effectively improves the efficiency of collision-free trajectory planning and reduces the actual machine debugging time in the process of migration from simulation to application.
[0035] 2. The robot automatic assembly trajectory planning based on virtual data is realized, which provides a basis for reducing real machine debugging and improving the credibility of virtual debugging results. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 Key technology framework diagram of virtual debugging of autonomous vehicle assembly based on virtual data;
[0037] Figure 2 The network framework diagram proposed by the present invention;
[0038] Figure 3 Algorithm network flow chart;
[0039] Figure 4 The effect of applying artificial intelligence algorithms in the assembly process. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be further described below.
[0041] Based on advanced simulation technology, a 1:1 mapping model of the real scene is built. The model can accurately simulate the assembly holes, automobile parts, working environment, etc. on the automobile assembly line, and realize the automatic generation of mapping samples from point cloud data to assembly holes, assembly postures and robot assembly trajectories.
[0042] Using artificial intelligence technology, training is performed based on generated virtual data. Through end-to-end learning, the mapping model from environmental point cloud data to robot operation trajectory is learned and optimized. Specifically:
[0043] (1) Assembly hole recognition: The algorithm directly accepts the original point cloud as input and normalizes the input data to ensure that the model can focus on the geometric features of the shape; the model learns a symmetric matrix through a small neural network to enhance the robustness of the model to different viewpoints and postures; after the point feature is transformed, multiple multi-layer perceptrons with shared weights are used to process each point to extract the local features of each point; after obtaining the features of all points, a global feature is generated using maximum pooling. Finally, the feature vector is input into the optimization model based on the gradient descent algorithm to optimize its feature information, such as Figure 3 shown.
[0044] (2) Assembly pose estimation: Based on the above hole position identification step (1), the data is preliminarily screened based on the assembly hole position prediction probability to achieve a rough screening of the pose features of the hole position cloud. At the same time, this paper considers the characteristics of the wheel hub and uses the average pooling layer to obtain the global features of the hole position pose. Finally, the pose encoding feature vector is obtained through sMLP processing, and the pose estimation result of each assembly position is output;
[0045] (3) Trajectory planning: Using the high-dimensional features of the point cloud extracted by the algorithm, when the point cloud features are input into the trajectory planning module, the SoftMax function is used to calculate the point cloud weight to measure the importance of each point. In order to make the learning accuracy of the point cloud to trajectory mapping model higher, the point cloud features are mapped based on the long short-term memory neural network, the correlation between the two is extracted, and then input into the multi-layer perceptron layer. Finally, the model outputs the robot trajectory information in each frame, that is, the mapping learning from point cloud to trajectory is completed.
[0046] Based on the automatic sample generation and mapping learning model, an integrated system from data generation to model learning is developed to realize the automation from three-dimensional model to sample data, and then to deep learning model training and on-site application.
[0047] The specific steps are as follows:
[0048] Data generation: Based on the established simulation model, develop an automated data generation system to convert the 3D model into sample data. This process should ensure the diversity and authenticity of the data to improve the generalization ability of the model.
[0049] Model learning: Use the generated sample data to train the deep learning model. Through end-to-end learning, optimize assembly hole recognition, pose estimation, and trajectory regularization.
[0050] Finally, the effect of robot assembly trajectory planning driven by virtual data in application is as follows: Figure 4 Taking the shaft hole assembly of a certain type of wheel hub as an example, the assembly position, assembly posture, and assembly trajectory are autonomously generated by taking photos with a visual sensor.
[0051] The above is only a preferred embodiment of the present invention. It should be understood that ordinary technicians in the field can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by technicians in the technical field based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the existing technology should be within the scope of protection determined by the claims.
Claims
1. A robot autonomous assembly virtual debugging method based on virtual data, It is characterized in that The following steps are involved: (1) Build a 1:1 simulation mapping model of the real scene based on the simulation environment and computer-aided design model; (2) Using the model and its position and posture information, the assembly positions, assembly postures, and robot assembly trajectory information of different groups of environmental point clouds are annotated to achieve automation of data collection and data annotation; (3) Construct an artificial intelligence model to learn the features of the acquired point cloud data and its annotation information to achieve intelligent generation of point cloud to trajectory.
2. The robot autonomous assembly virtual debugging method based on virtual data according to claim 1, It is characterized in that In step (1), the on-site installation error is taken into account, and the pose of the assembly, visual sensor and key CAD model of the robot is automatically disturbed to obtain multiple sets of environmental point cloud data in different poses.
3. The robot autonomous assembly virtual debugging method based on virtual data according to claim 2, It is characterized in that The virtual scene is built using CAD digital model and simulation environment, and the model pose is generated based on disturbance. The disturbance method is to calculate the noise using the mean and variance of the normal distribution, integrate it into the pose information, output the fused result, map it to the model, and complete the pose update of the key model.
4. The robot autonomous assembly virtual debugging method based on virtual data according to claim 1, It is characterized in that The method steps in step (2) are: 2.1 Obtain multi-view point cloud information for the CAD model, generate points at a certain distance for the CAD model based on the sensor resolution information, connect the points with the visual sensor position to determine whether they are blocked, complete the conversion of the CAD model to multi-view point cloud, and complete the collection of environmental point cloud information; 2.2 Using the known posture information of each CAD model, multiply the assembly position and its vector direction by the transformation matrix to complete the labeling of the assembly position and assembly posture information, and finally use its inverse kinematics to complete the labeling of the assembly trajectory.
5. The robot autonomous assembly virtual debugging method based on virtual data according to claim 1, It is characterized in that The artificial intelligence model in step (3) includes: 3.1 Main module: Application in the dimension upgrading of point cloud features, improving the diversity of information contained in the point cloud, and used to extract environmental point cloud features. Considering that the point cloud only contains features in the three directions of xyz in the Cartesian coordinate system, it contains less information. Therefore, the main module is used to perform the dimension upgrading operation to improve the information contained in the point cloud; 3.2 Assembly position recognition module: It is applied in position feature learning to realize feature extraction of the assembly position area. Based on the point cloud after dimensionality upgrade of the main module, its high-dimensional features are used to learn the relationship between the assembly position and its overall environment, and then output the assembly position information. 3.3 Assembly posture estimation module: It is applied in the overall framework to realize the surface vector direction calculation of the assembly position. It is also based on the point cloud after the main module is upgraded to predict the surface normal vector at different assembly positions to improve the assembly accuracy. 3.4 Assembly trajectory generation module: The application under the overall framework realizes autonomous planning from point cloud to trajectory. Based on the above modules, it uses position and posture information and its relative position with the robot to learn trajectory features and output collision-free assembly trajectory.
6. A system for the robot autonomous assembly virtual debugging method based on virtual data according to any one of claims 1 to 5, It is characterized in that Includes the following modules: Memory module: used to store programs; Processor module: used to execute the program to execute the following modules in sequence: Virtual data generation module: simulates the environmental perception effect of visual sensors in different positions and outputs environmental point cloud data. On this basis, the automatic labeling function of virtual data is realized. Data feature self-learning module: learns the potential features of the generated virtual data, realizes high-precision collision-free assembly trajectory planning through assembly position recognition and assembly pose estimation, improves trajectory planning efficiency and reduces the actual machine debugging cycle based on virtual results. Data visualization module: The operating results of each module are displayed intuitively in graphical form for users to observe and analyze.
7. The system according to claim 6, It is characterized in that The data feature self-learning module includes the following modules: (1) Feature extraction module of point cloud data: It uses artificial intelligence algorithms to extract features from environmental point cloud data, improve the dimension of potential information of point clouds, and facilitate subsequent modules to complete corresponding tasks with high accuracy and efficiency; (2) Assembly location recognition module: Based on the dimensionally upgraded point cloud features, the module learns the correlation characteristics between the potential assembly location area and the overall point cloud information, and finally accurately outputs the assembly area information; (3) Assembly pose estimation module: Based on the dimensionally upgraded point cloud features and the point cloud global probability, the precise assembly position and the vector direction of the assembly structure are solved to improve assembly accuracy and efficiency. (4) Assembly trajectory generation module: Taking the environmental point cloud information as input, the point cloud features are finally mapped to the assembly trajectory features through the above-mentioned point cloud feature extraction, assembly position recognition and assembly pose estimation modules, thus achieving highly robust real-time collision-free trajectory planning.
