Emergency guiding method for vehicle in mining area
By using multiple drones for aerial dispatch and intelligent navigation in the open-pit mining area, the problem of vehicles getting lost due to road changes in the mining area is solved, fast and effective vehicle guidance is achieved, and the emergency response efficiency of the mining area is improved.
Patent Information
- Application Number
- CN202410692134.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-27
AI Technical Summary
The roads in open-pit mining areas are complex and constantly changing, making it easy for unfamiliar vehicles or emergency vehicles to get lost. Existing technology is difficult to quickly and effectively guide vehicles back to the correct path, resulting in extended rescue time and property damage.
Multiple UAVs are used as air dispatch command centers, equipped with electronic eyes to identify vehicles and obstacles, an intelligent voice broadcast system to guide vehicles, and a learning framework for decentralized execution through positioning systems and centralized training, utilizing the Actor-Critic architecture and Critic network Optimize the navigation strategy of drones and achieve optimal path planning.
It effectively reduces the running time of vehicles in the mining area, improves work efficiency, especially in rescuing the injured in accidents, and reduces financial losses.
Smart Images

Figure CN118707948A
Abstract
Description
Technical Field
[0001] The invention relates to an emergency guidance method for mining area vehicles, an operation method for transport mechanical equipment, and a method for guiding vehicles to return to a correct path when vehicles in mining areas get lost. Background Art
[0002] The road in the open-pit mine area is a very complex system. The reason for the formation of complex roads is that the area of the open-pit mine area is often very large, covering dozens of square kilometers, and the range that can be seen by the naked eye is basically beyond the scope. Changes in the mine area occur at any time, and each mining point is constantly changing, so the road is also constantly changing. Due to the constant changes in the road, satellite navigation is basically unusable. Satellite photos are also basically unusable because they are difficult to keep up with the changes in the road due to their real-time nature. The existing technology is to set up modern road signs on the constantly changing roads in the mine area, including electronic and text and graphic signs, to guide vehicle drivers to the correct destination. However, in many cases, if an unfamiliar vehicle enters the mine area, it does not install electronic signs and does not fully understand the graphic and text signs, causing it to get lost, or some vehicles that temporarily enter the mine area for emergency operations, such as forklifts, excavators, emergency repair vehicles, personnel ambulances, etc., take detours due to unfamiliar roads, delaying rescue time, and causing irreparable losses of life and property. How to guide lost vehicles or vehicles that temporarily enter the mine area to reach their destination at the fastest speed and the shortest way is a problem that needs to be solved. Summary of the invention
[0003] In order to overcome the problems of the prior art, the present invention proposes a method for emergency guidance of vehicles in mining areas. The method uses multiple drones as a temporary aerial dispatch command center, equipped with electronic eyes to identify vehicle information, and identify and avoid obstacles such as vehicles and pedestrians. The drones are equipped with an intelligent voice broadcasting system to remind the command vehicle driver to guide them to the designated location, and a positioning system to upload their own positions in real time.
[0004] The object of the present invention is achieved as follows: a method for emergency guidance of vehicles in a mining area, the system used in the method comprises: a dispatching server located on the ground, a plurality of drones, the drones are provided with a camera device, a voice prompt device and a positioning device, the steps of the method include:
[0005] Step 1, field data collection: collect 3D mining scene, build simulation environment, and initialize simulation environment parameters;
[0006] Step 2: Construct the UAV motion model: define the UAV action space, define the state space of the environment, introduce the evaluation index geographic fairness to ensure that the UAV can provide command and guidance services to all vehicles to be guided fairly. The goal is to avoid the influence of ground obstacles within the limited flight time of multiple UAVs, reasonably allocate tasks, and guide more vehicles to the designated location safely and efficiently.
[0007] Step 3, model training: build a learning framework with centralized training and decentralized execution, in which the Critic network trained with joint information is used to update a set of independent Actor networks in the Actor-Critic architecture, and a centralized value function is learned to estimate the expected discounted rewards of all agents;
[0008] Model training includes the following sub-steps:
[0009] Sub-step 1: Introducing residual self-attention RSA Introduce the residual self-attention RSA module in the centralized evaluation network to handle a variable number of drones. The entity encoder treats different observation spaces as entities and maps them to the embedding space before passing through the attention layer. The observation results of the drone are first embedded using a fully connected layer. The observation embedding of each drone is normalized and then further embedded into the query Q, key K, value V using a fully connected network, where Q represents the request for information, Key represents the measure of relevance to Q, and V represents the actual data to be extracted; Q, K and V are input into a scaled dot product multi-head attention; the original observation embedding is normalized after being added to the processed embedding, and the obtained embedding values are averaged to form a fixed-size embedding value;
[0010] Sub-step 2: Set the initial state of the environment to s(t0): UAV u obtains observations from the local environment at the current time t Including the remaining energy of drone k Current location C u (t) = {x(t), y(t), z(t)} and the operating state The position C of the vehicle to be guided i i ={x i ,y i ,z i}, x, y, z represent the Cartesian coordinate system of the mining area space; the position C of the obstacle j in the mining area j ={x j ,y j ,z j} and the location of the guidance destination G d ; Multiple drones are assigned tasks reasonably and avoid obstacles through trajectory planning, so as to command as many guided vehicles as possible to reach the designated destination with the highest efficiency;
[0011] Sub-step 3: Define the expected discounted rewards r for multiple drones t for:
[0012]
[0013] in: represents the reward obtained by the drone when it reaches the position of the i-th vehicle to be guided, It represents the reward obtained by the drone commanding the vehicle to reach the destination. Represents the initial energy value of UAV u, E u (t) represents the remaining energy value of UAV u at time t, I represents the set of vehicles to be guided; U represents the set of UAVs; ε u represents the penalty factor of drone u; f t Indicates geographic fairness:
[0014]
[0015] Where: α t (i) indicates whether the guided vehicle i obtains guidance at time t;
[0016] Sub-step 4: Observation space encoding: In order to handle the possible change in the number of drones at each time t, we first encode the observation space of all surviving drones k. Encode, and then pass the code through the RSA module; therefore, the output of the Critic network, that is, the centralized state function can be expressed as:
[0017]
[0018] Where: g k (·) represents the encoding function corresponding to the observation space of the surviving drone k; φ represents the parameters of the Critic network; Represents the state value function of the Critic network;
[0019] Sub-step 5: Training and updating the Critic network
[0020]
[0021] in:
[0022]
[0023] γ represents the discount factor; λ represents the balance factor, which takes a value between 0 and 1; G t represents the cumulative discounted reward at time t; T represents the task time; γ t-1 represents the discount factor at time t; r t+1represents the reward obtained at time t; λ t-1 represents the balance factor at time t; γ T represents the discount factor at time T; y represents the cumulative expected reward;
[0024] Sub-step 6: Compute the advantage function of the surviving drone k: Assuming that the observations and observation-action pairs of each drone are different entities, learn the counterfactual baseline of the drone by learning a value function that takes the observation-action pairs of all drones as input; by using the RSA module and the observation-action pair encoder, set the baseline of the kth drone to:
[0025]
[0026] Where: θ represents the parameters of the Actor network; f k` represents the encoding network of observation-action pairs; k` represents other surviving drones; Q θ represents the baseline representation of the kth drone when the Actor network parameter is θ, i.e., the action value function; represents the observed value of other surviving drones k` at time t; a k` represents the actions taken by other surviving drones k` at time t;
[0027] The advantage function of the surviving drone k is calculated as:
[0028]
[0029] Among them: Adv k represents the advantage function of the surviving drone k;
[0030] Sub-step 7: Train and update the Actor network:
[0031] J(θ)=(Adv k ) 2
[0032] Where: J(θ) represents the update function of the Actor network parameter θ;
[0033] Step 4, command vehicle operation: After receiving the emergency command, multiple drones obtain the location of the task vehicle to be guided, and use the above model to perform task allocation and trajectory planning. Each drone navigates to the vehicle to be guided in real time according to the output of the strategy network. After arriving at the location, the drone uses the onboard camera to identify the vehicle to be guided, broadcasts the command voice after successful comparison with the background database, and directs the guided vehicle to reach the destination.
[0034] The advantages and beneficial effects of the present invention are as follows: the present invention uses multiple drones as an air dispatch command center, each drone is equipped with a camera for identifying vehicles and obstacles, a voice broadcast device for guiding vehicle operation, and a positioning system for its own position. After receiving the emergency command command, the drone obtains the current position of the vehicle to be guided and performs task allocation and trajectory planning. Each drone navigates to approach the task vehicle in real time according to the output of the model. After arriving at the position, the vehicle is identified through the onboard camera, and the command voice is broadcast after successful comparison with the background database, and the vehicle is directed to the destination. The present invention adopts a centralized agent-centered counterfactual baseline to realize the credit allocation in the counterfactual multi-agent strategy gradient (COMA), and continuously interacts with the environment through a "trial and error" method to train the drone, so that the drone's navigation reaches the optimal strategy, effectively reducing the vehicle's operating time in the mining area, and improving work efficiency, especially in rescuing the wounded and reducing financial losses in the event of an accident. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0036] Figure 1 is a schematic diagram of the system structure used by the method described in the embodiment of the present invention;
[0037] Figure 2 is a flow chart of the method described in an embodiment of the present invention;
[0038] Figure 3 is a schematic diagram of the behavior of a drone according to the method of an embodiment of the present invention;
[0039] Figure 4 : is a framework diagram of a multi-UAV collaborative mining area vehicle command algorithm of the method described in an embodiment of the present invention;
[0040] Figure 5 Schematic diagram of the residual self-attention model of the method described in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] Example:
[0042] This embodiment is a method for emergency guidance of vehicles in a mining area. The system used in the method is as follows: Figure 1As shown, it mainly includes: a dispatch server and a drone located on the ground. The dispatch server can be installed at a fixed location within the mining area, or it can be installed outside the mining area and communicate with the mining area through a communication network. The dispatch server is equipped with a software system for human-computer dialogue, location determination, and image recognition. The dispatch server can also be installed in a special command vehicle. In an emergency, the command vehicle will be driven to the scene, and the drone will be directly released on the command vehicle to command and dispatch lost or emergency vehicles (task vehicles). The process of commanding and dispatching vehicles is mainly guided by the drone in front of the task vehicle, and the driver is reminded by voice and light. Therefore, the drone is equipped with a voice and light prompt device. The drone is also equipped with a camera device for identifying the vehicle, which is used to read the license plate of the task vehicle, identify the appearance of the task vehicle, and look around the surrounding environment and road conditions, etc., to provide reference for command decisions. At the same time, a positioning device is also provided on the drone to determine the current position of the drone at the scene. The positioning of the drone can be done by satellite positioning, or by directly calculating the position on the scene, or by using both methods to verify each other. In the reality of on-site command, in relatively simple processes, only one drone can be used, and in more complex situations, multiple drones can be used to cooperate. The drones can form a network to form transmission communications, form signal relays, and dispatch and command multiple mission vehicles at the same time.
[0043] The steps of the method include (process as shown in Figure 2 shown):
[0044] Step 1, field data collection: collect three-dimensional mining scene, build simulation environment, and initialize simulation environment parameters.
[0045] The simulation environment includes vehicles to be guided and obstacles. Task vehicles include lost transport vehicles or emergency dispatch vehicles, such as forklifts, excavators, emergency repair vehicles, personnel ambulances, etc. Obstacles include mountain obstacles and building obstacles. Since the mining area is constantly changing, the mining area scene needs to be constantly changed. The collection work can be carried out specifically, or the surrounding environment can be collected while the guiding vehicle is in operation.
[0046] Step 2, build a UAV motion model: define the UAV's action space, define the environment's state space, introduce the evaluation indicator geographic fairness to ensure that the UAV can provide fair command and guidance services to all vehicles to be guided. The goal is to enable multiple UAVs to avoid the impact of ground obstacles within a limited flight time, reasonably allocate tasks, and safely and efficiently guide more vehicles to the designated location.
[0047] This step includes defining the action space of the drone, and the action of the drone includes eight direction angles, see Figure 3At the same time, the state space of the environment is defined, which includes the positions of each UAV, the vehicle to be guided and obstacles, the remaining energy of the UAV, and the definition of a reward function, which introduces the navigation reward of the UAV reaching the position of the vehicle to be guided, the total energy consumption of the UAV, the penalty for the UAV crashing due to hitting an obstacle or running out of energy, and the navigation reward for correctly guiding the vehicle to the destination.
[0048] Step 3, model training: build a learning framework with centralized training and decentralized execution, in which the Critic network trained with joint information is used to update a set of independent Actor networks in the Actor-Critic (AC) architecture, and a centralized value function is learned to estimate the expected discounted rewards of all agents;
[0049] This example uses a centralized agent-centric counterfactual baseline to implement credit allocation in counterfactual multi-agent policy gradient (COMA), and continuously interacts with the environment through a "trial and error" approach to learn the optimal strategy. Model training includes the following sub-steps:
[0050] Sub-step 1: Introduce residual self-attention (RSA) Figure 5 : A residual self-attention (RSA) module is introduced in the centralized evaluation network to handle a variable number of drones. The entity encoder treats different observation spaces as entities and maps them to the embedding space before passing through the attention layer, as Figure 4 As shown. The observation results of the drone are first embedded using a fully connected layer, and the observation embedding of each drone is normalized, and then further embedded into the query Q, key K, value V using a fully connected network, where Q represents the request for information, Key represents the measure of relevance to Q, and V represents the actual data from which information needs to be extracted; Q, K, and V are input into a scaled dot product multi-head attention; the original observation embedding is normalized after being added to the processed embedding, and the obtained embedding values are averaged to form a fixed-size embedding value;
[0051] Sub-step 2: Set the initial state of the environment to s(t0): UAV u obtains observations from the local environment at the current time t Including the remaining energy of drone k Current location C u (t) = {x(t), y(t), z(t)} and the operating state The position C of the vehicle to be guided i i ={x i ,y i ,z i}, x, y, z represent the Cartesian coordinate system of the mining area space; the position C of the obstacle j in the mining area j={x j ,y j ,z j} and the location of the guidance destination G d ; Multiple drones are assigned tasks reasonably and avoid obstacles through trajectory planning, so as to command as many guided vehicles as possible to reach the designated destination with the highest efficiency;
[0052] Sub-step 3: Define the expected discounted reward r for multiple drones t for:
[0053]
[0054] in: represents the reward obtained by the drone when it reaches the position of the i-th vehicle to be guided, It represents the reward obtained by the drone commanding the vehicle to reach the destination. Represents the initial energy value of UAV u, E u (t) represents the remaining energy value of the UAV, I represents the set of vehicles to be guided; U represents the set of UAVs; ε u represents the penalty factor of drone u; f t Indicates geographic fairness:
[0055]
[0056] Where: α t (i) indicates whether the guided vehicle i obtains guidance at time t;
[0057] Sub-step 4: Observation space encoding: In order to handle the possible change in the number of drones at each time t, we first encode the observation space of all surviving drones k. Encode, and then pass the code through the RSA module; therefore, the output of the Critic network, that is, the centralized state function can be expressed as:
[0058]
[0059] Where: g k (·) represents the encoding function corresponding to the observation space of the surviving drone k; φ represents the parameters of the Critic network; Represents the state value function of the Critic network;
[0060] Sub-step 5: Training and updating the Critic network
[0061]
[0062] in:
[0063]
[0064] γ represents the discount factor; λ represents the balance factor, which takes a value between 0 and 1; G t represents the cumulative discounted reward at time t. T represents the task time; γ t-1 represents the discount factor at time t; r t+1 represents the reward obtained at time t; λ t-1 represents the balance factor at time t; γ T represents the discount factor at time T; y represents the cumulative expected reward;
[0065] Sub-step 6: Compute the advantage function of the surviving drone k: Assuming that the observations and observation-action pairs of each drone are different entities, learn the counterfactual baseline of the drone by learning a value function that takes the observation-action pairs of all drones as input; by using the RSA module and the observation-action pair encoder, set the baseline of the kth drone to:
[0066]
[0067] Where: θ represents the parameters of the Actor network; f k` represents the encoding network of observation-action pairs; k` represents other surviving drones; Q θ represents the baseline representation of the kth drone when the Actor network parameter is θ, i.e., the action value function; represents the observed value of other surviving drones k` at time t; a k` represents the actions taken by other surviving drones k` at time t;
[0068] The advantage function of the surviving drone k is calculated as:
[0069]
[0070] Among them: Adv k represents the advantage function of the surviving drone k;
[0071] Sub-step 7: Train and update the Actor network:
[0072] J(θ)=(Adv k ) 2
[0073] Where: J(θ) represents the update function of the Actor network parameter θ;
[0074] Step 4, command vehicle operation: After receiving the emergency command, multiple drones obtain the location of the task vehicle to be guided, and use the above model to perform task allocation and trajectory planning. Each drone navigates to the vehicle to be guided in real time according to the output of the policy network (Actor). After arriving at the location, the drone uses the onboard camera to identify the vehicle to be guided, broadcasts the command voice after successful comparison with the background database, and directs the guided vehicle to reach the destination.
[0075] After receiving the emergency vehicle or lost guidance emergency command, the UAV takes off immediately and locates the mission vehicle according to the current satellite positioning coordinates of the mission vehicle or the mission vehicle position obtained by other means.
[0076] At the current level of technology, drones can only carry limited energy, so they cannot stay in the air for a long time. Therefore, the time a drone can stay in the air is the bottleneck for drones to guide vehicles in mining areas. If the drone's time in the air can be effectively extended, drone guidance can not only be used as an emergency measure, but also as a common application for vehicle guidance in mining areas.
[0077] Finally, it should be noted that the above is only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred arrangement scheme, a person skilled in the art should understand that the technical solution of the present invention (such as the application scenarios of the guidance method, the use of various formulas, the sequence of steps, etc.) can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for emergency guidance of vehicles in a mining area, wherein the system used in the method comprises: A dispatching server located on the ground and multiple drones, wherein the drones are provided with a camera device, a voice prompt device and a positioning device, wherein the method comprises the following steps: Step 1, field data collection: collect 3D mining scene, build simulation environment, and initialize simulation environment parameters; Step 2: Construct the UAV motion model: define the UAV action space, define the state space of the environment, introduce the evaluation index geographic fairness to ensure that the UAV can provide command and guidance services to all vehicles to be guided fairly. The goal is to avoid the influence of ground obstacles within the limited flight time of multiple UAVs, reasonably allocate tasks, and guide more vehicles to the designated location safely and efficiently. Step 3, model training: build a learning framework with centralized training and decentralized execution, in which the Critic network trained with joint information is used to update a set of independent Actor networks in the Actor-Critic architecture, and a centralized value function is learned to estimate the expected discounted rewards of all agents; Model training includes the following sub-steps: Sub-step 1: Introducing residual self-attention RSA Introduce the residual self-attention RSA module in the centralized evaluation network to handle a variable number of drones. The entity encoder treats different observation spaces as entities and maps them to the embedding space before passing through the attention layer. The observation results of the drone are first embedded using a fully connected layer. The observation embedding of each drone is normalized and then further embedded into the query Q, key K, value V using a fully connected network, where Q represents the request for information, Key represents the measure of relevance to Q, and V represents the actual data to be extracted; Q, K and V are input into a scaled dot product multi-head attention; the original observation embedding is normalized after being added to the processed embedding, and the obtained embedding values are averaged to form a fixed-size embedding value; Sub-step 2: Set the initial state of the environment to s(t0): UAV u obtains observations from the local environment at the current time t Including the remaining energy of drone k Current location C u (t) = {x(t), y(t), z(t)} and the operating state The position C of the vehicle to be guided i i ={x i ,y i ,z i }, x, y, z represent the Cartesian coordinate system of the mining area space; the position C of the obstacle j in the mining area j ={x j ,y j ,z j } and the location of the guidance destination G d ; Multiple drones are assigned tasks reasonably and avoid obstacles through trajectory planning, so as to command as many guided vehicles as possible to reach the designated destination with the highest efficiency; Sub-step 3: Define the expected discounted rewards r for multiple drones t for: in: represents the reward obtained by the drone when it reaches the position of the i-th vehicle to be guided, It represents the reward obtained by the drone commanding the vehicle to reach the destination. Represents the initial energy value of UAV u, E u (t) represents the remaining energy value of the UAV, I represents the set of vehicles to be guided; U represents the set of UAVs; ε u represents the penalty factor of drone u; f t Indicates geographic fairness: Where: α t (i) indicates whether the guided vehicle i obtains guidance at time t; Sub-step 4: Observation space encoding: In order to handle the possible change in the number of drones at each time t, we first encode the observation space of all surviving drones k. Encode, and then pass the code through the RSA module; therefore, the output of the Critic network, that is, the centralized state function can be expressed as: Where: g k (·) represents the encoding function corresponding to the observation space of the surviving drone k; φ represents the parameters of the Critic network; Represents the state value function of the Critic network; Sub-step 5: Training and updating the Critic network in: γ represents the discount factor; λ represents the balance factor, which takes a value between 0 and 1; G t represents the cumulative discounted reward at time t; T represents the task time; γ t-1 represents the discount factor at time t; r t+1 represents the reward obtained at time t; λ t-1 represents the balance factor at time t; γ T represents the discount factor at time T; y represents the cumulative expected reward; Sub-step 6: Compute the advantage function of the surviving drone k: Assuming that the observations and observation-action pairs of each drone are different entities, learn the counterfactual baseline of the drone by learning a value function that takes the observation-action pairs of all drones as input; by using the RSA module and the observation-action pair encoder, set the baseline of the kth drone to: Where: θ represents the parameters of the Actor network; f k` represents the encoding network of observation-action pairs; k` represents other surviving drones; Q θ represents the baseline representation of the kth drone when the Actor network parameter is θ, i.e., the action value function; represents the observed value of other surviving drones k` at time t; a k` represents the actions taken by other surviving drones k` at time t; The advantage function of the surviving drone k is calculated as: Among them: Adv k represents the advantage function of the surviving drone k; Sub-step 7: Train and update the Actor network: J(θ)=(Adv k ) 2 Where: J(θ) represents the update function of the Actor network parameter θ; Step 4, command vehicle operation: After receiving the emergency command, multiple drones obtain the location of the task vehicle to be guided, and use the above model to perform task allocation and trajectory planning. Each drone navigates to the vehicle to be guided in real time according to the output of the strategy network. After arriving at the location, the drone uses the onboard camera to identify the vehicle to be guided, broadcasts the command voice after successful comparison with the background database, and directs the guided vehicle to reach the destination.
Citation Information
Cited By
Unmanned aerial vehicle cluster collaborative confrontation method introducing action interaction and credit distribution
CN119937591A
