A robot system and path planning method thereof
By integrating the inertial navigation module and 3D lidar in the robot system, combined with the RGBD depth camera, and using the 3D laser SLAM algorithm and path planning algorithm, the stability and accuracy of the robot's positioning and obstacle avoidance in unstructured scenes are solved. Achieving more efficient navigation and obstacle avoidance capabilities.
Patent Information
- Application Number
- CN202110044012.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-01-13
AI Technical Summary
When existing robots navigate and avoid obstacles in unstructured scenes, the stability and accuracy of positioning, navigation and obstacle avoidance are poor, mainly due to positioning errors and inaccurate obstacle detection caused by light changes and the narrow viewing angle of the depth camera.
The robot system uses the Ackermann vehicle model, combined with the data acquisition module (including photoelectric incremental encoder, inertial navigation module, 3D lidar and RGBD depth camera), and calculates the accurate pose information and real-time point information obtained through the calculation control module. Cloud information and image information are computationally fused, and a three-dimensional laser SLAM algorithm is used to establish a three-dimensional point cloud map. D* and TEB algorithms are combined for path planning, and real-time positioning and obstacle avoidance are performed.
It improves the stability and accuracy of the robot's positioning, navigation and obstacle avoidance in unstructured scenes. Through the compensation of the inertial navigation module and the real-time scanning of 3D lidar, the robot's position and environmental information are accurately obtained, reducing positioning errors. Improved obstacle avoidance capabilities.
Smart Images

Figure CN112859860B
Abstract
Description
Technical Field
[0001] The invention relates to a path planning method, in particular to a robot system and a path planning method thereof. Background Art
[0002] With the development of robot technology, especially four-wheel robot technology, navigation and obstacle avoidance in unstructured scenes has become an increasingly urgent core demand and the basic support for achieving high-level operational tasks of four-wheel robots. In order to reduce the cost of research and development, the general practice is to use depth cameras to perform robot positioning, navigation and obstacle avoidance. However, due to factors such as changes in light and the narrow field of view of the depth camera, the stability of the robot's positioning, navigation and obstacle avoidance is poor during movement, thereby reducing the accuracy of the robot's positioning, navigation and obstacle avoidance. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a robot system and a path planning method thereof, which can not only improve the stability of positioning, navigation and obstacle avoidance, but also improve the accuracy of positioning, navigation and obstacle avoidance.
[0004] The technical solution adopted by the present invention to solve the above technical problems is: a robot system, including a robot, a data acquisition module, a 4G router, a computing control module and a lithium battery power supply module, wherein the robot is an Ackerman car model; the robot mainly includes a driving module and an internal power supply module;
[0005] The driving module is composed of two left-right symmetrical DC motors arranged at the rear wheel of the robot and a DC motor arranged at the front wheel of the robot; the DC motor at the rear wheel is used to drive the robot, and the DC motor at the front wheel is used to control the steering of the robot;
[0006] The data acquisition module is composed of a photoelectric incremental encoder corresponding to each DC motor, an inertial navigation module connected to two antennas, a 3D laser radar, and an RGBD depth camera facing the robot's forward direction; the data acquisition module is used to collect the robot's odometer data, the robot's accurate posture information, real-time point cloud information, and image information;
[0007] The computing control module is used to perform computing fusion on the acquired accurate posture information, real-time point cloud information and image information, and control the driving module through a USB to CAN converter;
[0008] The internal power supply module provides power to the driving module and the photoelectric incremental encoder;
[0009] The lithium battery power supply module is used to provide power to the inertial navigation module, the 3D laser radar, the RGBD depth camera, the computing control module and the 4G router;
[0010] The photoelectric incremental encoder is used to obtain the robot's odometer data and communicate with the calculation control module through a USB to CAN converter, wherein the odometer data includes the robot's speed and turning angle;
[0011] One end of the inertial navigation module is connected to a 4G router with a SIM card inserted through a gigabit network port and obtains differential information, the differential information is the GPS positioning error, and the differential information is caused by atmospheric refraction, satellite ephemeris deviation and multipath effect; the other end of the inertial navigation module communicates with the computing control module through a USB3.0 interface; the inertial navigation module is connected to two antennas through two feeders to obtain two single-point positioning information; the inertial navigation module is used to compensate the two single-point positioning information through differential information to obtain the accurate posture information of the robot, and the accurate posture information includes the machine The real-time position information and orientation of the person; the straight line determined by the two antenna vertices is perpendicular to the central axis of the robot's forward direction and the distance between the two antennas is greater than or equal to 0.5m; the inertial navigation module is fixedly connected to the robot, its installation bottom surface is parallel to the reference surface of the robot and the Y-axis marked on its nameplate is parallel to the central axis of the robot's forward direction; the vertical distance between the two antenna vertices and the ground is 110cm, and the distance between them is 50cm, the positioning accuracy is 5cm and the straight line determined by the two antenna vertices is perpendicular to the central axis of the robot's forward direction, the robot's position information and orientation can be accurately obtained.
[0012] The 3D laser radar is used to obtain real-time point cloud information and communicate with the computing control module through the 4G router; the vertical distance between the 3D laser radar and the rear bracket is 15 cm, and the vertical distance between the lower plane of the radar and the antenna vertex is 5 cm, ensuring that the vertical scanning and horizontal scanning of the radar are not interfered by the two antennas.
[0013] The RGBD depth camera is used to obtain image information and communicate with the computing control module through the USB3.0 interface. The depth camera is fixed 5 cm below the laser radar and 105 cm vertically from the ground. It can accurately obtain image information within 2 m in front of the robot without interfering with the vertical and horizontal scanning of the radar.
[0014] A box for placing the inertial navigation module, the 4G router, the computing control module and the lithium battery power supply module is arranged above the robot. One end of the first vertical bracket and one end of the second vertical bracket are fixedly connected above the front wheel portion of the box. The other end of the first vertical bracket and the other end of the second vertical bracket are fixedly connected to the third horizontal bracket. Two antennas are fixedly installed at both ends of the third horizontal bracket respectively. The midpoint of the third horizontal bracket is fixedly connected to an end point of the fourth horizontal bracket. The midpoint of the fourth horizontal bracket is fixedly connected to the lower end of the fifth vertical bracket. The RGBD depth camera is fixedly installed at the midpoint of the fifth vertical bracket. The 3D laser radar is fixedly installed at the upper end of the fifth vertical bracket.
[0015] A path planning method for a robot system comprises the following steps:
[0016] Start the robot to move in the area where the map needs to be established, and transmit the accurate posture information, real-time point cloud information and image information of the robot collected by the data acquisition module to the computing control module. In the computing control module, the collected real-time point cloud information is downsampled and stored, and the key frames of the collected image information are extracted and stored. The downsampled point cloud information and the accurate posture information are fused using the three-dimensional laser SLAM algorithm to establish a three-dimensional point cloud map;
[0017] The three-dimensional point cloud map is filtered by a straight-through filter to obtain a two-dimensional grid map, and the starting point and destination of the robot are set on the two-dimensional grid map;
[0018] Use the D* algorithm to perform global path planning from the starting point to the destination of the robot to obtain the initial shortest path;
[0019] The driving module drives the robot to move from the starting point to the destination according to the initial shortest path. In the calculation and control module, the AMCL positioning method is used to perform real-time positioning of the robot to obtain the optimal posture information of the robot. During the movement of the robot, a 3D laser radar is used to scan the robot's travel direction area and determine whether there are obstacles in the obstacle avoidance area. If there are no obstacles, the robot continues to move forward along the initial shortest path; if there are obstacles, it is determined whether the obstacle is a static obstacle or a dynamic obstacle. If it is a static obstacle, it is determined whether the static obstacle has appeared in the two-dimensional grid map. If the static obstacle has appeared in the two-dimensional grid map, the machine The person continues to move forward along the initial shortest path; if the static obstacle does not appear in the two-dimensional grid map, the TEB algorithm is used for local path planning, and the robot's driving direction is adjusted to avoid the static obstacle until the robot returns to the initial shortest path obtained by the D* algorithm; if it is a dynamic obstacle, the TEB algorithm is used for local path planning, and the robot is adjusted to drive to an area without obstacles to avoid dynamic obstacles. When the dynamic obstacle leaves the robot's obstacle avoidance area, the D* algorithm is used to re-plan the global path from the robot's current position to the destination to obtain an updated shortest path, and the robot moves forward along the updated shortest path;
[0020] Determine whether the robot has reached the destination. If the robot has reached the destination, the process ends; if the robot has not reached the destination, the process returns to step , until the robot reaches the destination.
[0021] The specific method of the AMCL positioning method is:
[0022] a Randomly generate particles to form a particle swarm with the robot's initial position as the center;
[0023] b. Update the posture information corresponding to each particle according to the odometer data and accurate posture information obtained in the data acquisition module;
[0024] c. Calculate the estimated pose information of AMCL based on the real-time point cloud information scanned by the 3D laser radar and the key frames extracted from the image information collected by the RGBD depth camera and the matching results of the stored key frames;
[0025] d. Use the AMCL estimated posture information as the initial value to calculate the optimal posture information of the robot at the current moment;
[0026] e. Perform NDT matching between the real-time point cloud acquired by the radar and the three-dimensional point cloud map to obtain the current posture information;
[0027] f) The optimal posture information in step d and the current posture information in step e are fused using extended Kalman filtering to obtain the optimal posture information of the robot.
[0028] The traveling direction area is a fan ring area with the 3D laser radar as the center and a central angle of 180 degrees; the short radius of the fan ring area is 0.5m, and the long radius of the fan ring area is 50m.
[0029] The obstacle avoidance area is a fan ring area with the 3D laser radar as the center and a central angle of 120 degrees; the short radius of the fan ring area is 0.5m, and the long radius of the fan ring area is 1.5m.
[0030] The traveling direction area is directly in front of the robot.
[0031] The obstacle avoidance area is located directly in front of the robot.
[0032] Compared with the prior art, the advantages of the present invention are that the 3D laser radar is used to obtain the three-dimensional information of the robot's surrounding environment, which can be used for mapping, positioning, and obstacle avoidance; the RGBD depth camera is used to obtain image information of the surrounding environment and transmit it to the computing control module in real time, and the key frames are extracted and stored in the computing control module. When the robot moves along the planned path, the computing control module extracts the key frames of the real-time image information collected by the RGBD depth camera and matches them with the stored key frame information, and assists the 3D laser radar to reduce the cumulative positioning error based on the matching results; however, in open outdoor areas, the 3D laser radar and RGBD depth camera cannot be directly used for positioning because the acquired feature points are not obvious. At this time, the fusion of the inertial navigation module to obtain the real-time three-dimensional coordinates and orientation of the robot can more accurately position and navigate the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a structural schematic diagram of the present invention;
[0034] Figure 2 It is a schematic diagram of the overall process of the present invention. DETAILED DESCRIPTION
[0035] The present invention is further described in detail below with reference to the accompanying drawings.
[0036] A robot system includes a robot, a data acquisition module, a 4G router, a computing control module and a lithium battery power supply module. The robot is an Ackerman car model. The robot mainly includes a driving module and an internal power supply module.
[0037] The driving module is composed of two left-right symmetrical DC motors arranged at the rear wheel of the robot and one DC motor arranged at the front wheel of the robot; the DC motor at the rear wheel is used to drive the robot, and the DC motor at the front wheel is used to control the steering of the robot;
[0038] The data acquisition module consists of a photoelectric incremental encoder corresponding to each DC motor, an inertial navigation module connected to two antennas, a 3D laser radar, and an RGBD depth camera facing the robot's forward direction; the data acquisition module is used to collect the robot's odometer data, the robot's accurate posture information, real-time point cloud information, and image information;
[0039] The calculation control module is used to calculate and fuse the acquired accurate posture information, real-time point cloud information and image information, and control the drive module through the USB to CAN converter;
[0040] The internal power supply module provides power for the drive module and the photoelectric incremental encoder;
[0041] The lithium battery power supply module is used to provide power to the inertial navigation module, 3D laser radar, RGBD depth camera, computing control module and 4G router;
[0042] The photoelectric incremental encoder is used to obtain the robot's odometer data and communicate with the computing control module through a USB to CAN converter. The odometer data includes the robot's speed and turning angle;
[0043] One end of the inertial navigation module is connected to a 4G router with a SIM card inserted through a gigabit network port and obtains differential information. The differential information is the GPS positioning error, which is caused by atmospheric refraction, satellite ephemeris deviation and multipath effect. The other end of the inertial navigation module communicates with the computing control module through a USB3.0 interface. The inertial navigation module is connected to two antennas through two feeders to obtain two single-point positioning information. The inertial navigation module is used to compensate the two single-point positioning information through differential information to obtain the accurate posture information of the robot. The accurate posture information includes the real-time position information and Direction; the straight line determined by the two antenna vertices is perpendicular to the central axis of the robot's forward direction and the distance between the two antennas is greater than or equal to 0.5m; the inertial navigation module is fixedly connected to the robot, its installation bottom surface is parallel to the robot's reference plane and the Y-axis marked on its nameplate is parallel to the central axis of the robot's forward direction; the vertical distance between the two antenna vertices and the ground is 110cm, and the distance between them is 50cm, the positioning accuracy is 5cm and the straight line determined by the two antenna vertices is perpendicular to the central axis of the robot's forward direction, the robot's position information and orientation can be accurately obtained.
[0044] The 3D laser radar is used to obtain real-time point cloud information and communicate with the computing control module through a 4G router; the vertical distance between the 3D laser radar and the rear bracket is 15 cm, and the vertical distance between the lower plane of the radar and the antenna vertex is 5 cm, ensuring that the vertical and horizontal scanning of the radar are not interfered by the two antennas.
[0045] The RGBD depth camera is used to obtain image information and communicate with the computing control module through the USB3.0 interface. The depth camera is fixed 5 cm below the laser radar and 105 cm vertically from the ground. It can accurately obtain image information within 2 m in front of the robot without interfering with the vertical and horizontal scanning of the radar.
[0046] like Figure 1 As shown, a box 2 for placing an inertial navigation module, a 4G router, a computing control module and a lithium battery power supply module is arranged above the robot 1, and one end of a first vertical bracket 3 and one end of a second vertical bracket 4 are fixedly connected to the upper part of the box 2 near the front wheel, and the other end of the first vertical bracket 3 and the other end of the second vertical bracket 4 are fixedly connected to a third horizontal bracket 5, and two antennas 6 are fixedly installed at both ends of the third horizontal bracket 5, respectively, the midpoint of the third horizontal bracket 5 is fixedly connected to an end point of a fourth horizontal bracket 7, the midpoint of the fourth horizontal bracket 7 is fixedly connected to the lower end of a fifth vertical bracket 8, an RGBD depth camera 9 is fixedly installed at the midpoint of the fifth vertical bracket 8, and a 3D laser radar 10 is fixedly installed at the upper end of the fifth vertical bracket 8.
[0047] like Figure 2 As shown, a path planning method for a robot system comprises the following steps:
[0048] Start the robot to move in the area where the map needs to be established, and transmit the accurate posture information, real-time point cloud information and image information of the robot collected by the data acquisition module to the computing control module. In the computing control module, the collected real-time point cloud information is downsampled and stored, and the key frames of the collected image information are extracted and stored. The downsampled point cloud information and the accurate posture information are fused using the three-dimensional laser SLAM algorithm to establish a three-dimensional point cloud map;
[0049] The three-dimensional point cloud map is filtered by a straight-through filter to obtain a two-dimensional grid map, and the starting point and destination of the robot are set on the two-dimensional grid map;
[0050] Use Rviz under ROS to display the loaded 3D point cloud map and 2D grid map, and modify the initial position information of the 3D point cloud map to make the 3D point cloud map and the 2D grid map completely match each other; use Rviz 2DPose Estimate and 2D Nav Goal to set the robot's starting point and destination on the 2D grid map respectively;
[0051] Use the D* algorithm to perform global path planning from the starting point to the destination of the robot to obtain the initial shortest path;
[0052] The driving module drives the robot to move from the starting point to the destination according to the initial shortest path. In the calculation and control module, the AMCL positioning method is used to perform real-time positioning of the robot to obtain the optimal posture information of the robot. During the movement of the robot, a 3D laser radar is used to scan the robot's travel direction area and determine whether there are obstacles in the obstacle avoidance area. If there are no obstacles, the robot continues to move forward along the initial shortest path; if there are obstacles, it is determined whether the obstacle is a static obstacle or a dynamic obstacle. If it is a static obstacle, it is determined whether the static obstacle has appeared in the two-dimensional grid map. If the static obstacle has appeared in the two-dimensional grid map, the machine The person continues to move forward along the initial shortest path; if the static obstacle does not appear in the two-dimensional grid map, the TEB algorithm is used for local path planning, and the robot's driving direction is adjusted to avoid the static obstacle until the robot returns to the initial shortest path obtained by the D* algorithm; if it is a dynamic obstacle, the TEB algorithm is used for local path planning, and the robot is adjusted to drive to an area without obstacles to avoid dynamic obstacles. When the dynamic obstacle leaves the robot's obstacle avoidance area, the D* algorithm is used to re-plan the global path from the robot's current position to the destination to obtain an updated shortest path, and the robot moves forward along the updated shortest path;
[0053] The specific method of AMCL positioning method is:
[0054] a Randomly generate particles to form a particle swarm with the robot's initial position as the center;
[0055] b. Update the posture information corresponding to each particle according to the odometer data and accurate posture information obtained in the data acquisition module;
[0056] c. Calculate the estimated pose information of AMCL based on the real-time point cloud information scanned by the 3D laser radar and the key frames extracted from the image information collected by the RGBD depth camera and the matching results of the stored key frames;
[0057] d. Use the AMCL estimated posture information as the initial value to calculate the optimal posture information of the robot at the current moment;
[0058] e. Perform NDT matching between the real-time point cloud acquired by the radar and the three-dimensional point cloud map to obtain the current posture information;
[0059] f) The optimal posture information in step d and the current posture information in step e are fused by using extended Kalman filtering to obtain the optimal posture information of the robot;
[0060] The travel direction area is a fan ring area with the 3D laser radar as the center and a central angle of 180 degrees; the short radius of the fan ring area is 0.5m, and the long radius of the fan ring area is 50m; the travel direction area is directly in front of the robot;
[0061] The obstacle avoidance area is a sector ring area with the 3D laser radar as the center and a central angle of 120 degrees; the short radius of the sector ring area is 0.5m, and the long radius of the sector ring area is 1.5m; the obstacle avoidance area is directly in front of the robot;
[0062] Determine whether the robot has reached the destination. If the robot has reached the destination, the process ends; if the robot has not reached the destination, the process returns to step , until the robot reaches the destination.
Claims
1. A path planning method for a robot system, characterized in that The following steps are involved: ① Start the robot to move in the area where the map needs to be established, and transmit the accurate posture information, real-time point cloud information and image information of the robot collected by the data acquisition module to the calculation and control module. In the calculation and control module, the collected real-time point cloud information is downsampled and stored, and the key frames of the collected image information are extracted and stored. The downsampled point cloud information and accurate posture information are fused using the 3D laser SLAM algorithm to establish a 3D point cloud map; ② Use a straight-through filter to filter the three-dimensional point cloud map to obtain a two-dimensional grid map, and set the robot's starting point and destination on the two-dimensional grid map; ③ Use the D* algorithm to perform global path planning for the robot from the starting point to the destination and obtain the initial shortest path; ④ The driving module drives the robot to move from the starting point to the destination according to the initial shortest path. In the calculation and control module, the AMCL positioning method is used to perform real-time positioning of the robot to obtain the optimal posture information of the robot. During the movement of the robot, a 3D laser radar is used to scan the robot's travel direction area and determine whether there are obstacles in the obstacle avoidance area. If there are no obstacles, the robot continues to move forward along the initial shortest path; if there are obstacles, it is determined whether the obstacle is a static obstacle or a dynamic obstacle. If it is a static obstacle, it is determined whether the static obstacle has appeared in the two-dimensional grid map. If the static obstacle has appeared in the two-dimensional grid map, the robot The robot continues to move forward along the initial shortest path; if the static obstacle does not appear in the two-dimensional grid map, the TEB algorithm is used for local path planning, and the robot's driving direction is adjusted to avoid the static obstacle until the robot returns to the initial shortest path obtained by the D* algorithm; if it is a dynamic obstacle, the TEB algorithm is used for local path planning, and the robot is adjusted to drive to an area without obstacles to avoid dynamic obstacles. When the dynamic obstacle leaves the robot's obstacle avoidance area, the D* algorithm is used to re-plan the global path from the robot's current position to the destination to obtain an updated shortest path, and the robot moves forward along the updated shortest path; Wherein, the specific method of the AMCL positioning method is: Step a, randomly generate particles to form a particle swarm with the initial position of the robot as the center; Step b, updating the posture information corresponding to each particle according to the odometer data and accurate posture information obtained in the data acquisition module; Step c, calculating the AMCL estimated pose information based on the real-time point cloud information scanned by the 3D laser radar and the matching results of the key frames extracted from the image information collected by the RGBD depth camera and the stored key frames; Step d, using the AMCL estimated posture information as the initial value to calculate the optimal posture information of the robot at the current moment; Step e: Perform NDT matching on the real-time point cloud acquired by the radar and the three-dimensional point cloud map to obtain the current posture information; Step f, fusing the optimal posture information in step d and the current posture information in step e using an extended Kalman filter to obtain the optimal posture information of the robot; ⑤ Determine whether the robot has reached the destination. If the robot has reached the destination, the process ends; if the robot has not reached the destination, the process returns to step ④ until the robot reaches the destination.
2. A path planning method for a robot system according to claim 1, characterized in that The traveling direction area is a fan ring area with the 3D laser radar as the center and a central angle of 180 degrees; the short radius of the fan ring area is 0.5m, and the long radius of the fan ring area is 50m.
3. A path planning method for a robot system according to claim 1, characterized in that The obstacle avoidance area is a fan ring area with the 3D laser radar as the center and a central angle of 120 degrees; the short radius of the fan ring area is 0.5m, and the long radius of the fan ring area is 1.5m.
4. A path planning method for a robot system according to claim 2, characterized in that The traveling direction area is directly in front of the robot.
5. A path planning method for a robot system according to claim 3, characterized in that The obstacle avoidance area is located directly in front of the robot.
