Local path planning method for robot in dense smoke and foggy environment
By combining the contrastive reinforcement learning network of millimeter wave radar and lidar in a dense smoke and fog environment, the navigation strategy is trained, which solves the problem of impaired navigation ability of the robot in a fire environment and achieves autonomy in a dense smoke and fog environment. Navigation and path planning.
Patent Information
- Application Number
- CN202411237369.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-09-05
AI Technical Summary
In a fire environment, navigation devices such as lidar or vision cameras are obscured by smoke and particles, causing the robot to lose its autonomous navigation capabilities in dense smoke and fog, making it difficult to accurately detect surrounding obstacles.
Millimeter-wave radar and lidar are combined to train navigation strategies in the virtual environment through contrastive reinforcement learning networks. Millimeter-wave radar data is used to enhance lidar data to achieve local path planning in dense smoke and fog environments.
The robot can navigate autonomously in dense smoke and fog environments, continuously learn optimal navigation strategies through deep reinforcement learning, and combine with three-dimensional grid maps to achieve precise path planning to ensure effective navigation in complex fire environments.
Smart Images

Figure CN118758318A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot autonomous navigation, and in particular to a local path planning method for a robot in a dense smoke and foggy environment. Background Art
[0002] In recent years, there have been frequent cases of people being trapped and unable to leave the fire scene in time due to indoor fires, posing a great threat to people's lives and property. The emergence of firefighting robots on the market has greatly improved the efficiency of rescue. When a fire occurs, they can enter the fire scene as soon as possible and use their own sensors to autonomously explore the internal environment of the fire scene, which can help firefighters find trapped people faster, thereby improving the overall search and rescue efficiency. However, the fire scene environment in real scenarios is complex and changeable. Robots have to perform tasks in harsh environments such as high temperature, toxicity, and smoke. Especially in terms of autonomous positioning and navigation, commonly used navigation devices such as lidar or visual cameras will be blocked by particles or gases in the air, and debris will lose some of their perception capabilities, resulting in their inability to accurately detect obstacles in the surrounding environment. Ultimately, the robot may partially lose or completely lose its autonomous navigation capabilities in the smoke and fog environment of the fire scene. Summary of the invention
[0003] In view of the problems in the prior art, the present invention provides a local path planning method for a robot in a smoke and foggy environment, aiming to achieve autonomous navigation in semi-transparent scenes such as smoke and fog.
[0004] A local path planning method for a robot in a dense smoke and foggy environment, comprising a robot with an autonomous navigation function in a real scene, a millimeter wave radar and a laser radar installed on the robot, characterized in that it comprises the following steps:
[0005] Step 1: Use laser radar to collect 3D point cloud map data of the target area in the real scene and record it as laser radar distance data;
[0006] Step 2: Simulate a virtual environment with thick smoke and fog in a physical simulation environment and train the robot to perform autonomous navigation in the virtual environment;
[0007] Step 3: Obtain obstacle data perceived by the millimeter-wave radar in the virtual environment and record it as millimeter-wave radar distance data;
[0008] Step 4: Train the comparative reinforcement learning network using the lidar distance data and the millimeter wave radar distance data, and use the trained comparative reinforcement learning network as the local path planning network;
[0009] The contrastive reinforcement learning network includes a fixed encoder and a trainable encoder, both of which are fixed key encoders with Euclidean distance, the input of the fixed encoder is the laser radar distance data, and the input of the trainable encoder is the millimeter wave radar distance data; the contrast loss between the fixed encoder and the trainable encoder is calculated by the contrast loss function, the trainable encoder is updated according to the contrast loss and a navigation encoder is obtained; the local path planning network is obtained by the navigation encoder;
[0010] Step 5: Obtain local path planning information through the local path planning network.
[0011] Further, in step 2, the process of training the robot to perform autonomous navigation in a virtual environment is:
[0012] The action performed by the robot at the current moment comes from the current navigation strategy. Each time the robot's spatial state is transferred, the robot will receive a reward, so that the robot can learn the optimal navigation strategy that maximizes the expected reward and use it as the navigation strategy for the next moment.
[0013] Optimal navigation strategy for: ;
[0014] in, is the discount factor at time t, For expectations, is the reward function; is the strategy parameter.
[0015] Further:
[0016] Reward Function is the total reward score at time t, that is:
[0017] in, To reach the reward score, is a negative reward score, is the distance gradient reward score, Bonus points for time cost.
[0018] Further: Use gradient ascent method to update policy parameters ,Right now:
[0019] in, is the learning rate, For parameters The gradient of is the objective function, that is:
[0020]
[0021] in, is the expectation at time t, is the cutoff constant and is set to 0.1, is the truncation function, is the navigation strategy at the current moment, Navigation strategy for the next moment; is the robot’s current action.
[0022] Further: the robot's current action for:
[0023]
[0024] Where λ is a positive number less than 1. is the state value and is obtained through the output of the Critic network; T is the corresponding time when the collected trajectory ends;
[0025] Robot space status , as the robot moves And the state transition probability matrix PP The action performed by the robot at time t is changed. From the current navigation strategy, ∈ Action space A, state space From LiDAR distance data , millimeter wave radar distance data 、The robot's current linear speed and angular velocity And the coordinates of the target point relative to the robot Composing multidimensional vectors , the action space A consists of two elements obtained by sampling from the continuous action space, namely the linear velocity and the angular velocity, which form a two-dimensional vector .
[0026] Further: In step 4, the contrast loss formula is as follows:
[0027] in, is the laser radar distance data, is the millimeter wave radar distance data, is the expected value; is a trainable encoder, is a fixed encoder; k and q are the outputs of the fixed encoder and the trainable encoder, respectively.
[0028] The beneficial effects of the present invention are as follows: a millimeter-wave radar that can penetrate smoke to sense obstacles in the environment is used, and a deep reinforcement learning method is used to enable the robot to continuously learn the optimal navigation strategy in thick smoke and fog scenes; and a contrast learning algorithm is used to regard the millimeter-wave radar data as an enhancement of the lidar data. By continuously training the encoder, local path planning can be achieved in a thick smoke and foggy environment using only data from the millimeter-wave radar, which is used for local path planning of the robot, and combined with a pre-established three-dimensional grid map, ultimately achieving autonomous navigation of the robot in a thick smoke and foggy environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0030] The present invention is described in detail below in conjunction with the accompanying drawings. The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention. The directional terms such as left, middle, right, top, and bottom in the embodiments of the present invention are only relative concepts or are based on the normal use state of the product, and should not be considered as restrictive.
[0031] A local path planning method for a robot in a dense smoke and foggy environment includes a robot with autonomous navigation function in a real scene, a Dijkstra algorithm and a navigation framework are set in the robot, and before autonomous navigation, the three-dimensional point cloud map data is converted into a three-dimensional grid map that can be used for robot navigation through the Octomap function package, and during autonomous navigation, a global optimal path pointing to a final target point is automatically planned based on the three-dimensional point cloud map data using the Dijkstra algorithm; then the three-dimensional grid map is loaded into the robot's navigation framework, and the robot autonomously navigates in a given real scene based on the global optimal path; a millimeter wave radar and a laser radar are installed on the robot, such as Figure 1 As shown, the following steps are included:
[0032] Step 1: Use laser radar to collect 3D point cloud map data of the target area in the real scene and record it as laser radar distance data;
[0033] Step 2: Simulate a virtual environment with thick smoke and fog in a physical simulation environment and train the robot to perform autonomous navigation in the virtual environment;
[0034] The process of training a robot to navigate autonomously in a virtual environment is:
[0035] The action performed by the robot at the current moment comes from the current navigation strategy. Each time the robot's spatial state is transferred, the robot will receive a reward, so that the robot can learn the optimal navigation strategy that maximizes the expected reward and use it as the navigation strategy for the next moment.
[0036] Optimal navigation strategy for:
[0037] in, is the discount factor at time t, For expectations, is the reward function, the reward function is the total reward score at time t, that is:
[0038] in, To reach the reward score, is a negative reward score, is the distance gradient reward score, To reward points for time cost;
[0039] The strategy parameters can be adjusted through continuous training of the network. Update and repeat the above steps with new policy parameters until the policy performance no longer improves to obtain the optimal navigation policy. ; Use the gradient ascent method to update the policy parameters ,Right now:
[0040] in, is the learning rate, For parameters The gradient of is the objective function, that is:
[0041]
[0042] in, is the expectation at time t, is the cutoff constant and is set to 0.1, is the truncation function, is the navigation strategy at the current moment, Navigation strategy for the next moment; is the action of the robot at the current moment;
[0043] The robot's current action for;
[0044] Where λ is a positive number less than 1. is the state value and is obtained through the output of the Critic network; T is the corresponding time when the collected trajectory ends; specifically, the navigation strategy is executed in the environment To obtain a set of interaction data, these data include , , Then, the robot state is defined as the laser radar data, millimeter wave radar data, mobile robot speed information, and the coordinate information of the target point relative to the mobile robot. , As network input data, the lidar branch needs to use the LSTM module to process the time series in the input signal. Then, the lidar branch extracts high-dimensional features through a fully connected layer with ReLu as the activation function. On the one hand, it passes through the Actor network and then passes through a fully connected layer with Tanh and Linear as the activation function to calculate the action and output the action at the current moment. On the other hand, the Critic network is used to output the state value ;
[0045] Robot space status , as the robot moves And the state transition probability matrix PP The action performed by the robot at time t is changed. From the current navigation strategy, ∈ ∈ action space A, state space From LiDAR distance data , millimeter wave radar distance data 、The robot's current linear speed and angular velocity And the coordinates of the target point relative to the robot Composing multidimensional vectors , the action space A consists of two elements obtained by sampling from the continuous action space, namely the linear velocity and the angular velocity, which form a two-dimensional vector ;
[0046] Step 3: Obtain obstacle data perceived by the millimeter-wave radar in the virtual environment and record it as millimeter-wave radar distance data;
[0047] Step 4: Train the comparative reinforcement learning network using the lidar distance data and the millimeter wave radar distance data, and use the trained comparative reinforcement learning network as the local path planning network;
[0048] The contrastive reinforcement learning network includes a fixed encoder and a trainable encoder, both of which are fixed key encoders with Euclidean distance, the input of the fixed encoder is the laser radar distance data, and the input of the trainable encoder is the millimeter wave radar distance data; the contrast loss between the fixed encoder and the trainable encoder is calculated by the contrast loss function, the trainable encoder is updated according to the contrast loss and a navigation encoder is obtained; the local path planning network is obtained by the navigation encoder;
[0049] The contrast loss formula is as follows:
[0050] in, is the laser radar distance data, is the millimeter wave radar distance data, is the expected value; is a trainable encoder, is a fixed encoder; k and q are the outputs of the fixed encoder and the trainable encoder, respectively.
[0051] Step 5: Obtain local path planning information through the local path planning network.
[0052] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A local path planning method for a robot in a dense smoke and foggy environment, comprising a robot with autonomous navigation function in a real scene, a millimeter wave radar and a laser radar installed on the robot, characterized in that: The following steps are involved: Step 1: Use laser radar to collect 3D point cloud map data of the target area in the real scene and record it as laser radar distance data; Step 2: Simulate a virtual environment with thick smoke and fog in a physical simulation environment and train the robot to perform autonomous navigation in the virtual environment; Step 3: Obtain obstacle data perceived by the millimeter-wave radar in the virtual environment and record it as millimeter-wave radar distance data; Step 4: Train the comparative reinforcement learning network using the lidar distance data and the millimeter wave radar distance data, and use the trained comparative reinforcement learning network as the local path planning network; The contrastive reinforcement learning network includes a fixed encoder and a trainable encoder, both of which are fixed key encoders with Euclidean distance, the input of the fixed encoder is the laser radar distance data, and the input of the trainable encoder is the millimeter wave radar distance data; the contrast loss between the fixed encoder and the trainable encoder is calculated by the contrast loss function, the trainable encoder is updated according to the contrast loss and a navigation encoder is obtained; the local path planning network is obtained by the navigation encoder; Step 5: Obtain local path planning information through the local path planning network.
2. The local path planning method for a robot in a dense smoke and foggy environment according to claim 1 is characterized in that: In step 2, the process of training the robot to perform autonomous navigation in a virtual environment is: The action performed by the robot at the current moment comes from the current navigation strategy. Each time the robot's spatial state is transferred, the robot will receive a reward, so that the robot can learn the optimal navigation strategy that maximizes the expected reward and use it as the navigation strategy for the next moment. Optimal navigation strategy for: ; in, is the discount factor at time t, For expectations, is the reward function; is the strategy parameter.
3. The local path planning method for a robot in a dense smoke and foggy environment according to claim 2 is characterized in that: Reward Function is the total reward score at time t, that is: ; in, To reach the reward score, is a negative reward score, is the distance gradient reward score, Bonus points for time cost.
4. The local path planning method for a robot in a dense smoke and foggy environment according to claim 2 is characterized in that: Use gradient ascent method to update policy parameters ,Right now: ; in, is the learning rate, For parameters The gradient of is the objective function, that is: ; ; in, is the expectation at time t, is the cutoff constant and is set to 0.1, is the truncation function, is the navigation strategy at the current moment, Navigation strategy for the next moment; is the robot’s current action.
5. The local path planning method for a robot in a dense smoke and foggy environment according to claim 4 is characterized in that: The robot's current action for: ; ; Where λ is a positive number less than 1. is the state value and is obtained through the output of the Critic network; T is the corresponding time when the collected trajectory ends; Robot space status , as the robot moves And the state transition probability matrix P The action performed by the robot at time t is changed. From the current navigation strategy, ∈ ∈ action space A, state space From LiDAR distance data , millimeter wave radar distance data 、The robot's current linear speed and angular velocity And the coordinates of the target point relative to the robot Composing multidimensional vectors , the action space A consists of two elements obtained by sampling from the continuous action space, namely the linear velocity and the angular velocity, which form a two-dimensional vector .
6. The local path planning method for a robot in a dense smoke and foggy environment according to claim 1 is characterized in that: In step 4, the contrast loss formula is as follows: ; in, is the laser radar distance data, is the millimeter wave radar distance data, is the expected value; is a trainable encoder, is a fixed encoder; k and q are the outputs of the fixed encoder and the trainable encoder, respectively.
Citation Information
Patent Citations
Navigation system training method and device based on adversarial comparative learning, and navigation system
CN113627249A
Fire scene smoke scene positioning and mapping method and device based on millimeter wave radar inertia combination
CN114994672A
Indoor navigation method based on vision and radar information fusion and reinforcement learning
CN116263335A
Autonomous navigation method based on aerial view space-time contrast reinforcement learning
CN117968703A
Autonomous exploration map generation method and system based on dual millimeter wave radars
CN117990085A
Cited By
Driving method and system of quadruped robot based on neural network model
CN120274766A
A quadruped robot multi-modal perception anomaly early warning method and system
CN122990921A
