Robot intelligent assembly virtual debugging method and system based on virtual picture

By constructing a 1:1 virtual simulation model and a deep learning model, combined with automated data acquisition and annotation, the problem of insufficient reliability of virtual debugging results was solved, achieving efficient collision-free assembly trajectory planning and optimizing the production efficiency and cost of the manufacturing industry.

CN118655796APending Publication Date: 2024-09-17UNIV OF SHANGHAI FOR SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410667437.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing virtual debugging technologies in manufacturing suffer from problems such as poor consistency between simulation models and on-site equipment, low accuracy of operation time, and large installation errors, resulting in insufficient reliability of virtual debugging results. Physical debugging is required to compensate for this. Furthermore, deep learning models rely on a limited amount of data and have poor generalization and robustness.

Method used

A 1:1 virtual simulation model is constructed. Virtual image data is automatically collected and labeled. Assembly trajectory is generated by combining a deep learning model. The model parameters are improved by using optimization algorithms. The pose information of visual sensors and parts to be assembled is integrated to achieve high-precision collision-free trajectory planning.

Benefits of technology

It improves the reliability of virtual debugging, reduces the time for actual machine debugging, optimizes the assembly process, increases production efficiency and reduces labor costs, and enables end-to-end collision-free assembly trajectory generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655796A
    Figure CN118655796A
Patent Text Reader

Abstract

The invention discloses a robot intelligent assembly virtual debugging method and system based on virtual pictures. The method comprises the steps that a 1: 1 simulation mapping model of a real scene is built based on an existing virtual simulation technology and a computer aided design model; collecting picture data of the built simulation scene and realizing automatic labeling; and constructing a deep learning model to extract marked picture data features, and learning a mapping relationship between picture features and track features to realize intelligent generation from pictures to tracks. The virtual debugging technology and the artificial intelligence technology are fused, the credibility of the virtual debugging result is improved through the optimization algorithm, the real machine debugging requirement of the virtual debugging result in the landing application process is reduced, the assembly process is optimized, meanwhile, the production efficiency is improved, and the labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to virtual debugging and artificial intelligence technology, and in particular to a robot intelligent assembly virtual debugging method and system based on virtual images. Background Art

[0002] With the rapid development of artificial intelligence technology, industrial robots have been widely used in the manufacturing industry. However, the large-scale application of robots not only brings the advantage of improved production efficiency to the manufacturing industry, but also brings a huge challenge: how to drive robots to reduce engineering costs and project risks, and at the same time, better shorten the product debugging and launch cycle. For this reason, virtual debugging technology has become the first choice for the manufacturing industry. Virtual debugging technology can integrate the three major systems of mechanical, electrical and control involved in the production process of the product, unify management and simulation, greatly improve the awareness of potential risks in the manufacturing process, and verify and optimize the manufacturing system in the early stage of production line deployment to fix vulnerabilities.

[0003] However, due to various factors, such as poor consistency between simulation models and on-site equipment, low accuracy of operation time, high errors in on-site processing and installation, the virtual debugging results have limited effect on improving manufacturing efficiency. Manual real-machine debugging is required to make up for the lack of credibility of virtual debugging results.

[0004] Data-driven deep learning methods are widely used in robot online planning to complete real-time collision-free trajectory production of robots. However, this type of algorithm is extremely dependent on the amount of data. The data in the production process is limited, and the data labeling process is time-consuming and labor-intensive, making it difficult to improve the generalization and robustness of deep learning models. Summary of the invention

[0005] Purpose of the invention: The purpose of the invention is to provide a robot intelligent assembly virtual debugging method and system based on virtual images.

[0006] Firstly, a 1:1 virtual simulation model of the real scene of robot assembly was constructed, and a virtual image automatic acquisition and annotation plug-in was developed based on virtual simulation. The relative position relationship between the visual sensor and the parts to be assembled was changed to simulate the environmental image data in different postures. Secondly, the obtained image data was input into the deep learning model for online generation of assembly trajectory. At the same time, in order to improve the rationality and assembly accuracy of the assembly trajectory, the deep learning model included the modules of assembly position recognition and assembly posture estimation. Based on the position area and surface vector direction information output by the two modules, the high-precision collision-free trajectory generation was guided. Finally, the optimization algorithms such as Adam and SGD were used to optimize the deep model parameters to improve the learning efficiency of the image information and trajectory association features.

[0007] Technical solution: On the one hand, the present invention provides a robot intelligent assembly virtual debugging method based on virtual images, comprising the following steps:

[0008] (1) Building a 1:1 simulation mapping model of the real scene based on existing virtual simulation technology and computer-aided design (CAD) models;

[0009] (2) Collect image data of the constructed simulation scene and realize automatic annotation;

[0010] (3) Construct a deep learning model to extract the features of the annotated image data and learn the mapping relationship between image features and trajectory features to achieve intelligent generation of images to trajectories.

[0011] Furthermore, in the step (1), errors such as installation and hand-eye calibration are taken into account, and the relative positional relationship between key CAD models such as assemblies, visual sensors and robots is automatically disturbed to obtain environmental image data under multiple positions and postures, thereby improving the generalization of data distribution.

[0012] Furthermore, the step of automatically generating disturbances in the relative position relationship calculates noise using the mean and variance of a normal distribution, integrates it into the posture information and outputs the fused result, maps it into the model, and completes the update of the relative position relationship between key models.

[0013] Furthermore, in step (2), based on the known CAD model information, the assembly area, specific installation position, and assembly posture information are extracted, and the robot assembly trajectory is calculated by an inverse kinematics algorithm. The automation of data collection and data labeling is realized. The data collection and data labeling steps in (2) specifically include the following steps:

[0014] (2.1) Set the internal parameter information such as sensor resolution and field of view, and calculate the visibility characteristics between the sensor and the CAD model based on the relative posture relationship between multiple CAD models, so as to complete the conversion of CAD models to multi-view images, that is, complete the collection of environmental image information.

[0015] (2.2) Utilizing the relative position relationship between CAD models and known assembly information, and using the posture conversion formula, the automatic labeling of the assembly location area, assembly points and assembly postures is realized, and finally inverse kinematics is used to complete the labeling of the assembly trajectory.

[0016] Furthermore, a deep learning model is constructed to extract the features of the annotated image data, and learn the mapping relationship between the image features and the trajectory features, so as to realize the intelligent generation of images to trajectories. The deep learning model in (3) specifically includes the following modules:

[0017] (3.1) Feature extraction module: used to extract environmental image point clouds. The initial image features only contain features of the three basic colors of red, green and blue (RGB), and the amount of potential information contained is relatively small. Therefore, the feature extraction module is used to upgrade the image features to increase the amount of potential semantic information.

[0018] (3.2) Assembly position recognition module: This module is used to output the pixel points of the area where the installation position is located, detect the target at the location to be installed, and generate an image block of the location to be assembled.

[0019] (3.3) Assembly posture estimation module: This module is used to output the refined assembly position and its posture, and restore the specific assembly point and its surface vector direction based on the proposed high-dimensional features of the image and the area where the assembly position is located.

[0020] (3.4) Assembly trajectory generation module: This module is used to output the robot assembly trajectory. This module integrates the output results of the above modules, uses the area and posture information, learns the mapping relationship between image features and assembly trajectory features, and realizes end-to-end collision-free assembly trajectory generation.

[0021] Another aspect of the present invention provides a robot autonomous assembly virtual debugging system based on virtual data, comprising:

[0022] Memory module: used to store programs;

[0023] Processor module: used to execute the program to execute the following modules in sequence:

[0024] Virtual image generation module: Based on the visual sensor with given internal parameter information, simulate the data sensor perception effect under different posture transformation results and output the environmental image data. Based on the existing CAD model information, realize the automatic annotation function.

[0025] Multi-source data mapping feature learning module: extracts the potential features of the generated virtual image, and lays the foundation for high-precision collision-free trajectory generation by estimating the assembly location area, assembly points and their surface vector directions. Finally, the assembly trajectory is output to complete the mapping feature learning from image data to trajectory data.

[0026] Deep learning self-training module: Based on the deep learning model and labeled data constructed by the fusion of various modules, it realizes deep learning self-training and achieves model parameter optimization under low code.

[0027] Data visualization module: The operating results of each module are displayed intuitively in graphical form for users to observe and analyze.

[0028] Furthermore, the multi-source data mapping feature learning module further includes the following modules:

[0029] (1) Feature extraction module: used to extract the point cloud of the environment image. The initial image features only contain the features of the three basic colors of red, green and blue (RGB), and the amount of potential information contained is relatively small. Therefore, the feature extraction module is used to upgrade the image features to increase the amount of potential semantic information.

[0030] (2) Assembly position recognition module: This module is used to output the pixel points of the area where the installation position is located, detect the target at the location to be installed, and generate an image block of the location to be assembled.

[0031] (3) Assembly posture estimation module: This module is used to output the refined assembly position and its posture, and restore the specific assembly point and its surface vector direction based on the proposed high-dimensional features of the image and the area where the assembly position is located.

[0032] (4) Assembly trajectory generation module: This module is used to output the robot assembly trajectory. This module integrates the output results of the above modules, uses the area and posture information, learns the mapping relationship between image features and assembly trajectory features, and realizes end-to-end collision-free assembly trajectory generation.

[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 images, 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 beneficial effects of the system of the present invention are: realizing robot intelligent assembly trajectory planning based on virtual images, providing a basis for reducing real machine debugging and improving the credibility of virtual debugging results.

[0036] 3. The present invention integrates virtual debugging technology and artificial intelligence technology, uses optimization algorithms to improve the credibility of virtual debugging results, reduces the need for real-machine debugging during the application of virtual debugging results, and optimizes the assembly process while improving production efficiency and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of the method of the present invention;

[0038] Figure 2 A network framework diagram of the method of the present invention;

[0039] Figure 3 It is a schematic diagram of the principle of the system of the present invention;

[0040] Figure 4 This is a result diagram of the assembly trajectory planning of the method of the present invention. DETAILED DESCRIPTION

[0041] 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.

[0042] Example 1

[0043] like Figure 1 As shown, the robot intelligent assembly virtual debugging method based on virtual images of this embodiment includes the following steps:

[0044] Step 1: Based on mature virtual simulation technology, use the CAD model of process equipment to build a 1:1 virtual simulation scene for the actual assembly scene, providing a basic guarantee for subsequent data generation.

[0045] Step 2: Collect image data for the constructed simulation scene and implement automatic annotation. The specific operations are as follows:

[0046] Given the camera internal parameter information, the visibility between the CAD model and the camera is judged to generate environmental image information. Using the relative pose information between the CAD model and the CAD model, the installation area, installation position and installation pose are calibrated, and the relevant annotation information is transferred to the robot base coordinate system to complete the data automatic annotation task:

[0047]

[0048] Among them, P r and V r is the installation position and posture in the robot coordinate system, p part and V part is the installation position and posture in the part coordinate system, is the transformation matrix between the robot coordinate system and the camera coordinate system, is the transformation matrix between the camera coordinate system and the part coordinate system.

[0049] Step 3: Construct an end-to-end mapping learning model from image information to trajectory, such as Figure 2 As shown in the figure, by extracting high-dimensional features of image information, the semantic information contained in the image is enhanced, and based on this, the region recognition and pose estimation modules are constructed. The specific operations are as follows:

[0050] In order to better classify image pixels and realize the identification of installation areas, the present invention uses UNet as the backbone network to learn the deep features of images, extracts image features in different dimensions through operators such as convolution, normalization, and nonlinear activation, and fuses different feature dimensions to realize feature extraction tasks at the pixel level.

[0051] A multi-layer perceptron layer is constructed to extract the information of the installation area from the high-dimensional features, and output the probability that different pixels are the installation area. The index value of the maximum probability is calculated and integrated into the subsequent precise query of the installation location to improve the information contained in the overall features.

[0052] The features of the fused index value information are processed. Similarly, a multi-layer perceptron is used to extract the feature information to complete high-precision installation pose estimation.

[0053] Based on the above modules, the method of the present invention constructs a trajectory feature generation module based on temporal features, utilizes the advantages of gated recurrent units in contextual semantic feature extraction, processes high-dimensional image features, and realizes end-to-end generation of environmental images to trajectories.

[0054] Example 2

[0055] like Figure 3 As shown, the principle block diagram of an implementation method of the robot intelligent assembly virtual debugging system based on virtual images of this embodiment is mainly composed of a virtual image generation module, a multi-source data mapping feature learning module, a deep learning self-training module and a data visualization module. Furthermore, the multi-source data mapping feature learning module specifically includes a feature extraction module, an assembly position recognition module, an assembly posture estimation module and an assembly trajectory generation module. The principles of each module are as follows:

[0056] (1) Virtual image generation module: This module can be used to interact with the robot intelligent assembly virtual debugging system to assign initial pose information to different CAD models. On this basis, the system can automatically perturb the pose and generate environmental image data based on different poses and automatically annotate them. After that, the system can execute the assembly trajectory planning program.

[0057] (2) Multi-source data mapping feature learning module: The multi-source data mapping feature learning module specifically includes the following modules: feature extraction module, assembly position recognition module, assembly posture estimation module and assembly trajectory generation module. The specific components of this module are as follows:

[0058] Feature extraction module: Improve the feature dimension of the generated environmental image data, increase the semantic information contained in the image data, and provide a basis for subsequent feature learning.

[0059] Assembly location recognition module: Based on the extracted high-dimensional feature image, the area where the assembly location is located is learned, and finally the regional pixels and corresponding probability information are output.

[0060] Assembly posture estimation module: Using probability information and high-dimensional feature images as input, it can achieve accurate recognition of assembly points. At the same time, the fusion of regional features can also help the network better identify the vector direction of the regional surface.

[0061] Assembly trajectory generation module: Based on the output results of the above modules, a mapping relationship extraction module between images and trajectories based on the temporal structure is constructed to achieve end-to-end mapping from images to trajectories.

[0062] (3) Deep learning self-training module: To further improve the efficiency of model learning and application process, the system of the present invention uses a low-code method to train the deep learning model. At the same time, the trained model parameters are saved for subsequent model deployment and reasoning process.

[0063] (4) Data visualization module: The final recognition results are displayed intuitively in the form of graphics for observation and analysis. The recognition results can also be exported for subsequent processing.

[0064] Finally, the trajectory planning results of the robot intelligent assembly model trained based on virtual images in real scenes are as follows: Figure 4 shown.

[0065] The above is only a preferred embodiment of the present invention and does not have any limiting effect on the present invention. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.

Claims

1. A robot intelligent assembly virtual debugging method based on virtual images, characterized in that: The following steps are involved: (1) Build a 1:1 simulation mapping model of the real scene based on existing virtual simulation technology and computer-aided design (CAD) models; (2) Collect image data of the constructed simulation scene and realize automatic annotation; (3) Construct a deep learning model to extract the features of the annotated image data and learn the mapping relationship between image features and trajectory features to achieve intelligent generation of images to trajectories.

2. The method for virtual debugging of robot intelligent assembly based on virtual images according to claim 1 is characterized in that: In the step (1), the error is taken into account, and the relative position relationship between the assembly, the visual sensor and the key CAD model of the robot is automatically disturbed to obtain environmental image data under multiple positions and postures, thereby improving the generalization of data distribution.

3. The method for virtual debugging of robot intelligent assembly based on virtual images according to claim 2 is characterized in that: The step of automatically generating disturbances in the relative position relationship includes: calculating noise using the mean and variance of a normal distribution, integrating the noise into the posture information and outputting the fused result, mapping the result into the model, and completing the update of the relative position relationship between key models.

4. The method for virtual debugging of robot intelligent assembly based on virtual images according to claim 3 is characterized in that: In the step (2), the assembly area, specific installation position, and assembly posture information are extracted based on the known CAD model information, and the robot assembly trajectory is calculated through an inverse kinematics algorithm to achieve automation of data collection and data labeling.

5. The method for virtual debugging of robot intelligent assembly based on virtual images according to claim 4 is characterized in that: The steps of implementing data collection and data labeling are as follows: 2.1 Set the internal reference information, and based on the relative posture relationship between multiple CAD models, calculate the visibility characteristics between the sensor and the CAD model, complete the conversion of the CAD model to the multi-view image, that is, complete the collection of environmental image information; 2.2 Utilizing the relative position relationship between CAD models and known assembly information, and using the posture conversion formula, the automatic labeling of the assembly location area, assembly points and assembly postures is realized, and finally inverse kinematics is used to complete the labeling of the assembly trajectory.

6. The method for virtual debugging of robot intelligent assembly based on virtual images according to claim 1, characterized in that: The deep learning model in step (3) specifically includes the following modules: 3.1 Feature extraction module: The main module is used in the dimension upgrade of point cloud features to improve the diversity of information contained in the point cloud. It is used to extract environmental image point clouds. The initial image features only contain the features of the three basic colors of red, green and blue, and the amount of potential information is small. Therefore, the feature extraction module is used to upgrade the image features to increase the amount of potential semantic information. 3.2 Assembly position recognition module: Application in position feature learning, realizing feature extraction of the assembly position area. This module is used to output pixel points of the installation position area, detect the target at the position to be installed, and generate the image block of the position to be assembled; 3.3 Assembly posture estimation module: Application under the overall framework, realizes the surface vector direction calculation of the assembly position. This module is used to output the refined assembly position and its posture, and restore the specific assembly point and its surface vector direction based on the high-dimensional features of the proposed image and the area where the assembly position is located; 3.

4. Assembly trajectory generation module: This module is applied under the overall framework to realize autonomous planning from point cloud to trajectory. It is used to output the robot assembly trajectory. This module integrates the output results of the above modules, uses area and pose information, learns the mapping relationship between image features and assembly trajectory features, and realizes end-to-end collision-free assembly trajectory generation.

7. A robot intelligent assembly virtual debugging system based on virtual images, 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 image generation module: Based on the visual sensor with given internal reference information, it simulates the data sensor perception effect under different posture transformation results, outputs the environmental image data, and realizes the automatic annotation function based on the existing CAD model information; Multi-source data mapping feature learning module: extracts the potential features of the generated virtual image, and lays the foundation for high-precision collision-free trajectory generation by estimating the assembly location area, assembly points and their surface vector directions. Finally, the assembly trajectory is output to complete the mapping feature learning from image data to trajectory data. Deep learning self-training module: Based on the deep learning model and annotated data built by integrating various modules, it realizes deep learning self-training and achieves model parameter optimization under low code; Data visualization module: The operating results of each module are displayed intuitively in graphical form for users to observe and analyze.

8. The robot intelligent assembly virtual debugging system based on virtual images according to claim 7 is characterized in that: The multi-source data mapping feature learning module includes the following modules: (1) Feature extraction module: used to extract the point cloud of the environment image. The initial image features only contain the features of the three basic colors of red and green, and the amount of potential information is small. Therefore, the feature extraction module is used to increase the dimension of the image features to improve the amount of potential semantic information. (2) Assembly position recognition module: This module is used to output the pixel points of the area where the installation position is located, detect the target at the position to be installed, and generate an image block of the position to be installed; (3) Assembly posture estimation module: This module is used to output the refined assembly position and its posture, and restore the specific assembly point and its surface vector direction based on the proposed high-dimensional features of the image and the area where the assembly position is located; (4) Assembly trajectory generation module: This module is used to output the robot assembly trajectory. This module integrates the output results of the above modules, uses the area and posture information, learns the mapping relationship between image features and assembly trajectory features, and realizes end-to-end collision-free assembly trajectory generation.

Citation Information

Cited By

  • Intelligent assembling method and device for welding fixture

    CN121543446A

  • Intelligent assembling method and device for welding fixture

    CN121543446B