A multi-robot simulation system for distributed optical inspection

By designing a multi-robot simulation system and using spheres, cylinders and cuboids to simplify collision detection and hierarchical allocation algorithms, the problem of low efficiency and high cost of multi-robot systems in distributed optical detection is solved, and more efficient detection planning and automation are achieved. Path optimization.

CN115032911BActive Publication Date: 2024-08-23UNIV OF SHANGHAI FOR SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210482039.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2024-08-23
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

Multi-robot systems for distributed optical inspection have problems of low efficiency and high cost in terms of task allocation, path planning and collision detection. Especially in large and complex surface inspection, multiple rounds of planning simulation and on-site inspection process modification are required, which affects development efficiency. and cost.

Method used

A multi-robot simulation system is designed, including data collection, static collision detection, task allocation, single robot path planning and multi-robot path planning modules. It uses spheres, cylinders and cuboids to simplify collision detection and is based on a decoupled hierarchical allocation algorithm. It performs path planning with the RRT*-connect algorithm, and optimizes the path through the simulated annealing algorithm to achieve automatic planning and coordination.

Benefits of technology

It improves the detection efficiency, shortens the data collection time, reduces the detection cost, reduces the non-optimal problems of manual intervention and planning results, and improves the automatic planning capability of the detection system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115032911B
    Figure CN115032911B
Patent Text Reader

Abstract

The present invention belongs to the field of robot simulation technology, and relates to a simulation system for a multi-robot system suitable for distributed optical detection. The system includes a data acquisition module, a static collision detection module, a task allocation module, a single robot path planning module, a multi-robot path planning module, and a data visualization module. Compared with the existing simulation system of a multi-robot system for distributed optical detection, the simulation system takes into account factors such as production rhythm, task allocation, robot path planning, and multi-robot coordination, so that the simulation results are closer to the actual detection environment, and the automatic planning of the multi-robot optical detection process is realized, which reduces the need for multiple rounds of on-site adjustment of the robot trajectory, thereby shortening the R&D cycle and improving the process development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of robot simulation, and in particular relates to a motion planning simulation system suitable for multi-robot detection in an optical detection system. Background Art

[0002] The multi-robot system for distributed optical inspection can not only realize online measurement, but also meet the inspection of multiple mixed assembly parts on the assembly line, because it takes into account the flexibility of robots and the high efficiency and non-contact advantages of optical inspection sensors. Therefore, the multi-robot system for distributed optical inspection is widely used in the automotive, aerospace and other manufacturing industries. Usually, the multi-robot system for distributed optical inspection consists of six-axis industrial robots equipped with optical probes symmetrically distributed in the inspection stations. The system assigns inspection tasks to different robots, and plans collision-free paths for the robots on the premise of meeting the inspection requirements to realize online inspection of different parts, parts, assemblies, etc. on the flexible assembly line.

[0003] The simulation of multi-robot system for distributed optical inspection mainly consists of three modules: task allocation, collision detection, and path planning. In the task allocation stage, the traditional multi-robot task allocation principle is the proximity principle. Generally, the inspection tasks are allocated by considering the distance between the initial position of the robot and the measuring point, the robot's accessibility and other information. However, this allocation strategy often leads to large differences in the inspection time of each robot and the running time of multiple machines exceeding the inspection cycle. As for path planning, engineering mainly uses computer-aided inspection path planning software based on established inspection specifications, robot kinematics, workpiece digital model and other information. However, the planning results need to be debugged on-site through teaching, and manual intervention in the modification of simulation results leads to low inspection planning efficiency and high cost.

[0004] Moreover, due to the complex structure of large and complex surfaces, the large number of detection features and strict optical measurement specifications, as well as the involvement of complex issues such as robot motion planning and multi-machine coordination under high production cycles, online detection planning for large and complex surfaces relies heavily on experience, and often requires multiple rounds of planning simulation and on-site detection process modification and confirmation. The planning process is inefficient and the planning results are non-optimal, which seriously affects the efficiency of vehicle body inspection process development and the inspection cost. Summary of the invention

[0005] The purpose of the present invention is to improve the multi-robot system of distributed optical inspection in view of the above problems, and to provide a multi-robot simulation system of distributed optical inspection with more efficient inspection planning, shorter data collection time and lower inspection cost.

[0006] The technical solution of the present invention is as follows:

[0007] A multi-robot simulation system suitable for distributed optical inspection includes the following modules:

[0008] (1) Data acquisition module: used to define and generate the robot model and position, the position of the optical sensor relative to the robot end, and the number, position and vector direction of the features to be measured.

[0009] (2) Static collision detection module: Static collision detection is mainly the collision detection between the robot and the vehicle body. The present invention simplifies the robot into a sphere, a cylinder and a cuboid, and simplifies the large complex curved surface into a triangular patch. If the spatial geometric distance between the triangular patch and the robot is directly calculated, the calculation is relatively complicated. In order to further simplify the amount of calculation, the present invention extracts the nodes of the triangular patch, and determines whether the large complex curved surface collides with the robot by judging whether the extracted discrete nodes are within the cylinder, sphere and cuboid.

[0010] (3) Task allocation module: For large and complex surfaces, the quality of robot task allocation is an important factor affecting the coordination planning between robots. Based on the characteristics of the detection system, the present invention proposes a hierarchical allocation algorithm for multi-robot detection tasks based on decoupling.

[0011] (4) Single robot path planning module: Single robot path planning is divided into two steps, namely local path planning and global path planning. For local path planning, the present invention uses the RRT*-connect algorithm to search for robot transition points in Cartesian space to implement a local path planning method between robot detection tasks. Based on the collision-free path between pairwise detection features obtained by local path planning, the present invention uses a simulated annealing algorithm to arrange and combine all features to achieve global path planning and optimization.

[0012] (5) Multi-robot path planning module: In multi-robot path planning, not only the collision detection between a single robot and the detected surface must be considered. Therefore, to address the interference phenomenon between robots in a shared space, the present invention adopts a robot shared workspace segmentation method and proposes a method for reallocating detection tasks in a shared space that meets the robot production rhythm constraints, thereby eliminating the downtime caused by multi-robot conflicts.

[0013] (6) Data visualization module: The numerical calculation results of each module are intuitively displayed in graphical form for users to observe and analyze.

[0014] The advantage of the present invention is that compared with the current traditional multi-robot system simulation planning for distributed optical inspection, the present invention has carried out systematic research in task allocation, collision detection, global path planning and robot coordination, etc., to achieve automatic planning of multi-robot systems for distributed optical inspection, improve inspection efficiency, and reduce the measurement time of online inspection stations and the time difference between multiple machine operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 Schematic diagram of the online inspection process of a multi-robot system for distributed optical inspection.

[0016] Figure 2 Schematic diagram of optical detection.

[0017] Figure 3 The figure is a principle block diagram of a preferred embodiment of the present invention.

[0018] Figure 4 The relationship between a point and its bounding box.

[0019] Figure 5 Schematic diagram of the spatial conflict between two robots.

[0020] Figure 6 The following are the steps for using the simulation system of the present invention. DETAILED DESCRIPTION

[0021] The present invention will be further described below in conjunction with the accompanying drawings:

[0022] Figure 1 This is a schematic diagram of the online inspection process of a multi-robot system for distributed optical inspection. Among them, the sensor is the core component of the multi-robot system for distributed optical inspection, and its related parameters include: (1) Field of view, which is the three-dimensional area where the scanned surface information can be obtained. (2) Depth of field, which is related to the focal length of the lens. (3) Scanning depth, which is the Euclidean distance from the laser light source to the scanned surface. (4) Incident angle, which is the angle between the incident laser beam and the scanning feature point vector. Figure 2 shown.

[0023] Figure 3The figure shows a principle block diagram of a preferred embodiment of the present invention. The simulation system is developed based on the MATLAB language environment and is mainly composed of a data acquisition module, a static collision detection module, a task allocation module, a single robot path planning module, a multi-robot path planning module and a data visualization module. The data acquisition module accepts the input robot model, the position in the working coordinate system, the position of the optical sensor relative to the end of the robot, the parameters of the large complex surface to be measured and the task information to be measured; the static collision detection module is connected to the data acquisition module, accepts the robot model, actuator position and task information output by the data acquisition module and calculates the inaccessible points in the task to be measured and the collision-free posture between the robot and the object to be measured; the task allocation module is connected to the static collision detection module, accepts the inaccessible points and the collision-free posture of the robot output by the static collision detection module, and calculates the allocation results of all tasks to be measured under different robots and different workstations; the single robot path planning module is connected to any The task allocation module is connected to the single robot detection task of the single station, and calculates the collision-free path planning result of the single robot under the current detection task; the multi-robot path planning module is connected to the single robot path planning module, accepts the single robot path planning result, and calculates the collision-free path results between multiple robots and between robots and the object to be detected; the data visualization module is respectively connected to the data acquisition module, the static collision detection module, the task allocation module, the single robot path planning module and the multi-robot path planning module, and displays the static collision detection results, allocation results, local path planning results and global path planning results of the object to be detected and its task information in a graphical manner. The principles of each module are as follows:

[0024] (1) Data acquisition module: This module allows users to interact with the multi-robot simulation system of distributed optical detection and generate robot models, actuator models and models of objects to be tested by inputting parameters. For the robot model, users can automatically generate the robot's kinematic model by configuring the robot model and the position of the robot's base coordinates relative to the working coordinate system, and obtain the robot's transformation matrix relative to the object to be tested; for the actuator model, the simulation system provides an input interface for the actuator's position relative to the robot's end position. Users can define the position relationship between the actuator and the robot and obtain the transformation matrix between the actuator and the robot; for the object to be tested and task information, the simulation system provides an interface associated with an Excel spreadsheet. Users convert the digital model of the object to be tested and the task information into an Excel spreadsheet format and input it into the simulation system to obtain a visual interface of the object to be tested and the task, which is convenient for users to modify. After the user completes all inputs, the simulation system can perform simulation experiments on the multi-robot system of distributed optical detection.

[0025] (2) Static collision detection module: After obtaining the robot model, actuator position and task information output by the data acquisition module, the present invention adopts directional bounding box modeling for relatively regular models such as robots and actuators, and adopts uniform grid method to model large complex curved surfaces to be tested. Based on the above modeling method, the present invention simplifies the robot into a sphere, a cylinder and a cuboid, simplifies the object to be tested into triangular patches and extracts the nodes of the triangular patches, and then determines whether the object to be tested collides with the robot based on a hierarchical collision detection method. 1) Determine whether a point is inside the sphere: Since the center of the sphere and each point on its surface are its spatial radius R, to determine whether a point is inside the sphere, it is only necessary to determine whether the distance from the point to the center of the sphere is less than its spatial radius R. 2) Determine whether a point is inside the cylinder: This situation can be simplified to finding the shortest distance l from the point to the straight line. If l is less than the radius R of the cylinder, c , a collision occurs, such as Figure 4 (a) as shown. 3) Determine whether the point is inside the cuboid: Figure 4 (b), where η and χ are the angles between the point and the two relative plane normal vectors. Determine whether the angles η and χ between the point and the two relative plane normal vectors are acute or obtuse. When each set of η and χ is an obtuse or acute angle, no collision occurs. Otherwise, the point is within the cuboid and a collision occurs.

[0026] (3) Task allocation module: The online multi-robot detection task allocation needs to consider not only the workspace with robots, conflicts between robots, but also whether the robot detection time meets the comprehensive requirements of production rhythm, multi-machine consistency, etc. Therefore, the task allocation of the multi-robot system of distributed optical detection has the following constraints: 1) The detection features assigned to each robot must meet the accessibility of the robot; 2) The detection time of different robots to complete the measurement must meet the rhythm requirements; 3) To avoid interference between robots during movement, features with similar posture information should be assigned to the same robot as much as possible; 4) To maximize the work efficiency of each robot, the detection time difference of the robot to complete the measurement task should be as small as possible. The present invention adopts a hierarchical method to solve the above allocation problem, and the specific allocation process is as follows: 1) Based on the solution strategy of the lazy traveling salesman, the detection task set in the multi-robot shared space is allocated to different robots; 2) Based on the FCM clustering algorithm, the tasks assigned to each robot are clustered, and the cluster center and cluster set after clustering are determined; 3) A multi-objective task optimization model is established with the cluster center of the detection task set and the running time difference between robots as constraints and optimized based on the simulated annealing algorithm.

[0027] (4) Single robot path planning module: Due to the complex structure of large and complex surfaces and the huge space they occupy, searching for a better path is extremely time-consuming and laborious. To address this problem, the present invention uses an improved RRT*-connect obstacle avoidance algorithm to search for feasible path nodes of the robot in a Cartesian coordinate system to achieve local path planning. The present invention optimizes the robot joint angles under the generated path nodes with the minimum range of joint angle motion as a constraint to ensure the continuity of the robot joint angle changes. Under the premise of ensuring that no collision occurs during the robot's movement, the process of the robot returning to the initial position after detecting all detection features is called robot detection path planning. After obtaining the local path result, the detection path planning problem is further converted into a traveling salesman problem, and the simulated annealing algorithm is used to solve it, and finally a global collision-free optimization path for a single robot is obtained.

[0028] (5) Multi-robot path planning module: The main problem that multi-robot path planning solves is the coordination problem between multiple robots, such as Figure 5 As shown, a schematic diagram of the spatial conflict between two robots. Under this module, the present invention is based on a robot coordination strategy of spatial segmentation. For the spatial segmentation strategy, the following two constraints need to be met: 1) After the robot is coordinated, the detection time of each robot is guaranteed to be within the production cycle. 2) The robots are coordinated and planned under the premise of meeting the measurement specifications of different detection features to ensure the quality of robot detection. In order to minimize the running time of the detection system, the present invention takes the shortest detection time for the detection robot to complete a given task as the optimization goal, and determines the robot workspace that needs to be re-divided. The specific implementation process is as follows: 1) Determine whether the space occupied by the robots intersects based on the hierarchical collision detection algorithm. 2) Determine the robot Rob i and Rob the robot j Feature points measured in the intersection space and the measurement time T of the two robots i and T j 3) Determine the size of the measurement time and treat the space occupied by the robot with a large measurement time as an obstacle. 4) Find the local collision-free path from M1 to M2 for the robot with a small measurement time. 5) Re-determine the robot Rob i and Rob the robot j The space occupied.

[0029] (6) Data visualization module: The numerical calculation results of each module are intuitively displayed in the form of graphics for users to observe and analyze. Specifically, this module can display the user-defined model of the object to be tested, the position and posture of the task to be tested, the unreachable points in static collision detection, the task allocation results and the path planning results. At the same time, the numerical results can also be exported for further analysis.

[0030] The use of the simulation system follows the Figure 6 Steps shown:

[0031] The user first configures the operating environment of the simulation system by inputting parameters such as the robot model and position, the position of the actuator relative to the end of the robot, the model of the object to be tested, and the information of the task to be tested. Then the simulation experiment can be started. After each simulation module is completed, the simulation system will prompt the user that the current simulation module has been completed and save the numerical calculation results. The user can decide whether to run the next simulation module.

[0032] 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 multi-robot system motion simulation system suitable for distributed optical inspection, characterized in that: include: A data acquisition module, which is used to define and generate robot models, optical sensor positions, object models, and detection tasks; A static collision detection module, which is used to determine whether the current detection task robot is reachable; The task allocation module is used to allocate measurement tasks to different workstations and different robots, and the steps are as follows: based on the lazy traveling salesman solution strategy, the detection task set in the multi-robot shared space is allocated to different robots; based on the FCM clustering algorithm, the tasks assigned to each robot are clustered, and the cluster center and cluster set after clustering are determined; a multi-objective task optimization model is established with the running time difference between the cluster center of the detection task set and the robot as a constraint, and the optimization is performed based on the simulated annealing algorithm; A single robot path planning module, which is used to perform collision-free path planning and optimization for a single robot. The single robot path planning module adopts two steps: local path planning based on an improved RRT*-connect algorithm and global path planning and optimization based on a simulated annealing algorithm, thereby realizing the path planning of a single robot; A multi-robot path planning module, which is used to perform global path planning and optimization for multiple robots; the steps are: determining whether the spaces occupied by the robots intersect based on a hierarchical collision detection algorithm; Identify the robot and robots Feature points measured in the intersection space and the measurement time of two robots and ; Determine the size of the measurement time, and deal with the obstacles in the space occupied by the robot with a large measurement time; solve the problem of the robot with a small measurement time from arrive Local collision-free path; Data visualization module: The data visualization module displays the calculation results of the above modules in graphical form; The data acquisition module receives the input robot model, position in the working coordinate system, position of the optical sensor relative to the end of the robot, parameters of the large complex surface to be measured and information of the task to be measured; the static collision detection module is connected to the data acquisition module, receives the robot model, actuator position and task information output by the data acquisition module, and calculates the inaccessible points in the task to be measured and the collision-free posture between the robot and the object to be measured; the task allocation module is connected to the static collision detection module, receives the inaccessible points and the collision-free posture of the robot output by the static collision detection module, and calculates the allocation results of all tasks to be measured under different robots and different workstations; the single robot path planning module is connected to any The multi-robot path planning module is connected to the single robot path planning module, accepts the detection task of the single robot under the single station, and calculates the collision-free path planning result of the single robot under the current detection task; the multi-robot path planning module is connected to the single robot path planning module, accepts the single robot path planning result, and calculates the collision-free path results between multiple robots and between the robot and the object to be tested; the data visualization module is respectively connected to the data acquisition module, the static collision detection module, the task allocation module, the single robot path planning module and the multi-robot path planning module, and displays the static collision detection results, allocation results, local path planning results and global path planning results of the object to be tested and its task information in a graphical manner.

2. The simulation system of a multi-robot system suitable for distributed optical inspection according to claim 1, characterized in that: The model generation module can configure the simulation system operating environment by configuring information such as the robot model, optical sensor position, object model to be measured, and measurement task.

3. The simulation system of a multi-robot system suitable for distributed optical inspection according to claim 1, characterized in that: The model generation module provides a variety of preset robot models, which can be modified according to parameters to facilitate rapid simulation experiments.

4. The simulation system of a multi-robot system suitable for distributed optical inspection according to claim 1, characterized in that: The static collision detection module uses an OBB bounding box for the robot and a triangular patch method for large and complex curved surfaces to be measured.

5. The simulation system of a multi-robot system suitable for distributed optical inspection according to claim 1, characterized in that: The data visualization module displays the numerical calculation results of the other modules in the form of graphics.

6. The simulation system of a multi-robot system suitable for distributed optical inspection according to claim 1, characterized in that: The steps of using the simulation system are as follows: The user first configures the operating environment of the simulation system by inputting the robot model and position, the position of the actuator relative to the end of the robot, the model of the object to be tested, and the information parameters of the task to be tested; After completing the above configuration steps, you can start the simulation experiment. Each time the simulation system completes a simulation module, it will prompt the user that the current simulation module has been completed and save the numerical calculation results. The user can decide whether to run the next simulation module.