A three-dimensional modeling and volume calculation method for stockpile in a material yard
By combining high-frequency millimeter wave radar and an improved Hunger Games algorithm with a DNN model, the problem of accuracy and cost of volume measurement by radar in complex environments is solved, and efficient, low-cost data collection and accurate volume calculation in bad weather are achieved.
Patent Information
- Application Number
- CN202410359308.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-03-27
AI Technical Summary
Existing radar technology is difficult to accurately measure the volume of material piled in the stockyard in complex environments, and the cost is high. A single Hunger Games algorithm can easily form a local optimal solution, affecting data accuracy.
Using high-frequency millimeter wave radar combined with network DNN model, the Hunger Games algorithm is improved through Cubic chaos mapping and firefly perturbation strategies to improve data convergence speed and accuracy, and a triangular mesh is constructed through surface projection method for volume calculation.
Point cloud data can be collected normally under bad weather, reducing costs, improving data accuracy and computing efficiency, and obtaining more accurate volume data.
Smart Images

Figure CN118196326B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of radar data processing, and in particular to a three-dimensional modeling and volume calculation method for stockpiling materials in a material yard. Background Art
[0002] In order to achieve real-time data measurement of the volume of piled materials in various material yards such as barns and feed mills, the mainstream method is to use radar signal mixing to accurately locate the target to obtain information and generate the required point cloud data. Most existing technologies choose to use drones equipped with laser radars for observation.
[0003] The laser radar beam is narrow, and a large amount of point cloud data is required to complete the imaging during measurement; it is unable to observe accurate and useful data in weather environments with obstructions such as dust, haze, rain and snow, and cannot meet the level measurement needs in various complex environments; the cost is also relatively expensive.
[0004] At the data processing level, it is a common practice to process radar feedback data through the Hunger Games algorithm. The Hunger Games Search algorithm is a meta-heuristic optimization algorithm designed based on the common characteristics of social animals and their food search, proposed by two scholars, Yang Yutao and Chen Huiling. It has the characteristics of simple structure, few adjustment parameters and strong robustness, and has good performance in solution accuracy and convergence speed. However, a single algorithm optimal solution is prone to form a local optimal situation, which in turn leads to certain deviations in the data; the dot data obtained by the Hunger Games algorithm and the DNN deep neural network will also affect the data accuracy due to the lack of sufficient data samples and the lack of data correction calculation and processing.
[0005] After data collection and processing, conventional calculations of the 3D modeling volume are complex, inefficient, and produce inaccurate results. Summary of the invention
[0006] Purpose of the invention: In view of the problems pointed out in the background technology, the present invention provides a three-dimensional modeling and volume calculation method for stockpiling in a material yard. By using a high-frequency millimeter-wave radar, point cloud data can be normally collected even in bad weather, while reducing costs; multiple millimeter-wave radars are used to collect parameters such as material height and shape, and combined with a network DNN model to improve the accuracy of data collection; the Hunger Game algorithm is improved, and the Cubic chaotic mapping method is used to increase the convergence speed of individual positions; a firefly perturbation strategy is added to the algorithm to give it the ability to jump out of the local optimum and improve the accuracy of the final point cloud data obtained; a surface projection method is used to construct a triangular mesh and calculate the model volume, thereby simplifying the calculation process and improving the calculation efficiency.
[0007] Use 4 high-frequency millimeter-wave radars around the material yard to obtain the three-dimensional coordinates of each point of the material yard, generate point cloud data, form a coordinate data set, and divide the coordinate data set into a training set and a test set;
[0008] Based on the improvement of the Hunger Game search algorithm, the Cubic chaos mapping method is added in the population initialization process, and the firefly perturbation strategy is added when the individual position is updated;
[0009] Use the improved Hunger Game search algorithm to optimize the weights and biases in the deep neural network DNN model to obtain the optimized deep neural network DNN model;
[0010] The optimized deep neural network DNN model is trained using the X and Y data of the three-dimensional coordinates in the training set as input and the Z-axis data as output, and the Z-axis data of the collected point cloud data is corrected using the trained optimized deep neural network DNN model;
[0011] Use the corrected Z-axis coordinates and the collected X- and Y-axis data to form coordinate point cloud data, and use the PCL point cloud library to perform three-dimensional modeling of the stockpile on the processed point cloud data;
[0012] The 3D model is converted into a triangular mesh and the volume of the stockpile is calculated.
[0013] Furthermore, the signal transmission and reception principle of the high-frequency millimeter-wave radar is as follows:
[0014] When the radar and the object are relatively stationary, the echo signal is delayed by τ in time compared with the transmitted signal, which can be expressed as:
[0015]
[0016] Where: R is the distance between the radar and the target object, c is the speed of light. The difference between the two signals is obtained by mixing the transmitted and received signals, which is called the difference frequency signal. By analyzing the difference frequency signal, the target information can be obtained, including the distance information R.
[0017] Furthermore, the radar uses trigonometric functions to obtain the Z-axis coordinates of the collected points according to the radar rotation angle, and obtains the three-dimensional coordinates of each collection point relative to the radar initialization position according to the radar rotation angle, which is recorded as (x ij ,y ij ,z ij ), i represents the i-th millimeter-wave radar, j represents the j-th point, which can be expressed as:
[0018] (x 11 ,y 11 ,z 11 ), (x12 ,y 12 ,z 12 )…(x 1n ,y 1n ,z 1n )
[0019] (x 21 ,y 21 ,z 21 ), (x 22 ,y 22 ,z 22 )…(x 2n ,y 2n ,z 2n )
[0020] (x 31 ,y 31 ,z 31 ), (x 32 ,y 32 ,z 32 )…(x 3n ,y 3n ,z 3n )
[0021] The point cloud data is integrated according to the obtained coordinates and transmitted to the cloud platform for further integration and optimization.
[0022] Furthermore, the search mechanism of the Hunger Games Search algorithm can be expressed as:
[0023]
[0024] Where: R is a random number, r 1 , r 2 is a random number between [0,1], randn is a random number that satisfies the standard normal distribution; t is the current iteration number, w 1 With w 2 is the hunger weight; x b represents the global optimal solution, x (t) represents the current individual position, l is a set constant;
[0025] E is calculated as follows:
[0026] E=sech(|F(i)-BF|)
[0027] Where i∈(1,2,...,N), F(i) is the fitness value of the i-th individual; BF is the current optimal fitness value. sech is a hyperbolic function;
[0028] Mathematically model the characteristics of individual hunger characters w 1 With w2 The calculation formula is as follows:
[0029]
[0030] w 2 (l)=(1-exp(-|hungry(i)-SHungry|)×r 5 ×2
[0031] Where: Hungry represents the hunger value of each individual; N is the number of individuals; SHungry represents the total hunger of each individual, r 3 , r 4 , r 5 A random number in [0,1].
[0032] The formula for Hungry(i) is as follows:
[0033]
[0034] AllFitness(i) represents the fitness of the i-th individual in the current iteration.
[0035] In each iteration, the H value of the optimal solution is set to 0, and other solutions add an H on the basis of the original hunger. The H value of each individual is different. The calculation formula of H is:
[0036]
[0037]
[0038] Among them, F(i) is the fitness of each individual, BF is the current best fitness value; WF is the current worst fitness value; UB and LB represent the upper and lower limits of the search space respectively. LH is the lower bound of H. 6 is a random number between [0,1].
[0039] Furthermore, the Hunger Games Search algorithm is used to optimize the weights and biases in the deep neural network DNN model. The Hunger Games Search algorithm is initialized according to the network settings of input parameters, hidden layer parameters, and output layer parameters, and then a plurality of individuals with different weights are generated.
[0040] Furthermore, the Cubic chaotic mapping method can more quickly improve the convergence speed and data acquisition efficiency of each three-dimensional coordinate position. The Cubic chaotic mapping formula is as follows:
[0041]
[0042] Where ρ is the control parameter. 0 When ρ = 0.3 and ρ = 2.95, it has good ergodicity.
[0043] Furthermore, the data set processed by the Cubic chaotic mapping method is used to select the individual with the best fitness according to the current weight and bias, and the firefly disturbance method is used to further update the optimal individual position, which can be expressed as:
[0044]
[0045] x i With x j represents the spatial position of fireflies i and j; α is the step size factor of [0,1], and rand is a random number that follows a uniform distribution in (0,1). If the fitness is better than the individual position before the update, it will be retained after reaching the maximum number of iterations, and the optimal weight and bias data will be output, and the optimization is completed; if not, the above calculation will be repeated.
[0046] Furthermore, after the Z-axis data of the collected point cloud data is corrected using the trained optimized deep neural network DNN model, 4 sets of corresponding Z-axis data are obtained as correction values, and further correction is performed. The specific further correction process is as follows:
[0047] Take the Z-axis data actually measured by 4 high-frequency millimeter-wave radars and take the average value;
[0048] Calculate 4 sets of differences between the correction value and the radar measurement value, and take the average value of the 4 sets of differences;
[0049] The difference average value is added to the actual measured Z-axis average value, and combined with the XY-axis data to obtain the final point cloud data.
[0050] Furthermore, based on the final point cloud data, the PCL point cloud library is used for 3D modeling, and the volume of the obtained model is calculated using projection segmentation.
[0051] Beneficial effects:
[0052] 1. The present invention selects to use high-frequency millimeter-wave radar to collect data, and collects point cloud data of multiple points at the same time, which makes the data convergence faster; it is less affected by negative weather and can collect point cloud data in severe weather conditions such as haze.
[0053] 2. Compared with lidar, millimeter-wave radar is cheaper and the observation cost will also be lower.
[0054] 3. The present invention integrates data into the cloud platform, and the data is viewed and acquired through a remote PC, which is more conducive to data observation and integration, so that the data can be processed at any time.
[0055] 4. The present invention improves the Hunger Game algorithm and utilizes the Cubic chaotic mapping method to process the acquired point cloud data set, thereby improving the data convergence speed compared to a single Hunger Game algorithm. When updating individual positions, the firefly perturbation strategy is added to enable the algorithm to have the ability to jump out of the local optimum, thereby improving the accuracy of selecting the optimal data.
[0056] 5. The present invention utilizes DNN deep neural network training and testing data sets, and combines radar measurement data for combined calculation while obtaining the correction point cloud data set, thereby further improving the accuracy of establishing three-dimensional models and calculating real-time volume data of stockpiles.
[0057] 6. Perform 3D modeling on the point cloud data processed by the PCL point cloud library. By converting the 3D model into a triangular mesh and performing volume calculation, the principle is simpler, the calculation efficiency is improved, and more accurate volume data can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 It is a component diagram of the device of the present invention;
[0059] Figure 2 It is the overall hardware block diagram of the present invention;
[0060] Figure 3 is a flow chart of the method in the present invention;
[0061] Figure 4 Flowchart for the Hunger Games algorithm;
[0062] Figure 5 This is the DNN network model diagram. DETAILED DESCRIPTION
[0063] The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.
[0064] The present invention discloses a three-dimensional modeling and volume calculation method for stockpile in a material yard, which specifically comprises the following steps:
[0065] 001 Figure 1 In order to ensure the accuracy of volume calculation, the present invention uses four millimeter wave radars to collect point cloud data of the material field from four directions, and then uses the improved model to correct the data.
[0066] 002 The hardware of the present invention includes an MCU chip, a WIFI module, a motor control module, a radar signal transceiver board, and a power module.
[0067] The 003 power module mainly includes a 24V power supply. Since the motor drive requires a 12V power supply and the WIFI module requires a 5V power supply, the 24V power supply needs to be stepped down to 12V through a linear voltage regulator, and then stepped down to 5V. Power the WIFI and motor drive boards respectively. The selected chip is LM2596S-ADJ. The specific voltage regulation calculation formula is: VCCout = 1.23*(1+R 1 / R 3 ).
[0068] After the 004 machine is powered on, the main control chip STM32F103, WIFI module, motor position, and radar chip are initialized first.
[0069] The 005WIFI module uses ATK-MW8266D, and the chip uses ESP8266. There are multiple working modes: WIFI STA, WIFI AP, WIFI STA+WIFI AP. It is very convenient to conduct experiments and debugging.
[0070] The 006 motor driver and motor use the driver board ULN2003+28 stepper motor.
[0071] 007WIFI module needs to request connection to the cloud platform and access the cloud platform through device ID and key.
[0072] 008 high-frequency millimeter-wave radar board sends and receives signals. Taking the case where the radar and the object are relatively stationary, the echo signal is delayed by τ in time compared with the transmitted signal, which can be expressed as: Where R is the distance between the radar and the target object, and c is the speed of light. The difference between the two signals is obtained by mixing the transmitted and received signals, which is called the difference frequency signal. By analyzing the difference frequency signal, the target information can be obtained, including the distance information R.
[0073] 009 At this time, the distance R obtained can be used to obtain the Z-axis coordinate of the collected point using trigonometric functions according to the rotation angle of the radar.
[0074] 010 Four millimeter-wave radars scan the entire terrain from different directions. Figure 1 The position of the radar in the lower left corner is the origin of the coordinate system. According to the rotation angle of the radar, the three-dimensional coordinates of each acquisition point relative to the origin of the coordinate system can be obtained. ij ,y ij ,z ij ), i represents the i-th millimeter-wave radar, and j represents the j-th point.
[0075] (x 11 ,y11 ,z 11 ), (x 12 ,y 12 ,z 12 )…(x 1n ,y 1n ,z 1n )
[0076] (x 21 ,y 21 ,z 21 ), (x 22 ,y 22 ,z 22 )…(x 2n ,y 2n ,z 2n )
[0077] (x 31 ,y 31 ,z 31 ), (x 32 ,y 32 ,z 32 )…(x 3n ,y 3n ,z 3n )
[0078] After the 011 main control chip obtains the point cloud data, it sends the point cloud data to the cloud platform through the WIFI module. After receiving the data, the cloud platform will send a return value of successful reception to the main control chip.
[0079] After 012 gets the return value, it means that the first point cloud data is successfully sent to the cloud. Then adjust the position of the motor so that the radar faces the second place to continue collecting data. The flow chart is as follows Figure 3 shown.
[0080] 013After all the data has been collected, the remote PC can log in to the cloud platform to view and obtain the data.
[0081] 014 At this time, the Z-axis coordinates of all points in the material yard within the four collected planes can be obtained, but there will be errors in the Z-axis of each group. Therefore, the DNN neural network optimized by the Hunger Game algorithm is used to correct the data.
[0082] 015The following is an introduction to the principles of the Hunger Games algorithm, which is a meta-heuristic optimization algorithm designed based on the common characteristics of social animals and their food search. Hunger is a characteristic of "not eating" for a long time. The stronger the hunger, the stronger the desire for food, and the more actively the organism will look for food in a short time, so as not to be too late and cause starvation or death. Therefore, when the food source is limited, there will be a logical game between hungry animals to find food sources and win the chance of survival. Therefore, the Hunger Games is a species-based logical game.
[0083] The Hunger Games search mechanic is divided into two parts: proximity to food and hungry characters.
[0084] 016The behavior of animals approaching food can be expressed using the following formula.
[0085]
[0086] Here R is a random number, r 1 , r 2 is a random number between [0,1], randn is a random number that satisfies the standard normal distribution; t is the current iteration number, w 1 With w 2 is the hunger weight; x b represents the global optimal solution, x (t) Represents the current individual position, and l is a set constant.
[0087] E=sech(|F(i)-BF|) (2)
[0088] 017Mathematically model the characteristics of individual hungry characters 1 With w 2 The calculation formula is as follows:
[0089]
[0090] w 2 (l)=(1-exp(-|hungry(i)-SHungry|)×r 5 ×2 (4)
[0091] Hungry represents the hunger value of each individual; N is the number of individuals; SHungry represents the total hunger of each individual. 3 , r 4 , r 5 A random number in [0,1].
[0092] The formula for Hungry(i) is as follows
[0093]
[0094] AllFitness(i) represents the fitness of the i-th individual in the current iteration.
[0095] In each iteration, the H value of the optimal solution is set to 0, and other solutions add an H on the basis of the original hunger. The H value of each individual is different. The calculation formula of H is:
[0096]
[0097]
[0098] 018This is the basic principle of the Hunger Games algorithm. The present invention will use the Hunger Games optimization algorithm to optimize the weights and biases in the deep neural network DNN model. The DNN network designed in the present invention has 2 input parameters, 6 hidden layer parameters, and 1 output layer parameter, so the total number of parameters to be optimized using the Hunger Games algorithm is 24, including 12 weights and 6 biases in the input layer and hidden layer; there are a total of 6 weight parameters between the hidden layer and the output layer.
[0099] 019After the network is set up, we need to initialize the parameters in the Hunger Game algorithm. The initialization parameters include: population size N, maximum number of iterations, total hunger degree SHungry, problem dimension D, DNN model weights and bias search space, that is, the maximum and minimum values of the search.
[0100] 020 randomly generates N individuals, where x i1 represents the weight, x i2 Indicates bias. i=1, 2, 3...N.
[0101] 021 When randomly generating individuals, the Cubic chaos mapping method is used, which can quickly improve the speed of individual position convergence. The formula of Cubic chaos mapping is as follows:
[0102] 022 Calculate the fitness value of each individual, which is based on the current weight and bias value. Save the individual with the best fitness as BF, and then calculate the hunger weight of the individual according to formulas (3) and (4).
[0103] 023 Select the best individual at the moment and use the firefly perturbation method to update other individuals. The following is the principle of firefly perturbation: Fireflies do not distinguish between genders. They will be attracted to fireflies that are brighter than them. The brightness of fireflies is proportional to their attractiveness. For any two fireflies, one will move towards the brighter one. If it does not find a brighter firefly, it will move randomly. Therefore, the individual position is updated to
[0104]
[0105] x i With x j represents the spatial position of fireflies i and j; α is the step factor of [0,1], and rand is a random number that follows a uniform distribution in (0,1).
[0106] 024 Recalculate the fitness value and update the individual position. If the fitness value is better than the value in BF, update BF. Save the individual position as the best individual position.
[0107] 025 Determine whether the maximum number of iterations has been reached. If not, repeat the above calculations. If so, output the best weight and bias data, and the optimization is completed. In each subsequent DNN network weight and bias calculation process, an optimization search is required.
[0108] The improved Hunger Game search algorithm is used to optimize the weights and biases in the deep neural network DNN model to obtain an optimized deep neural network DNN model.
[0109] 026 The network is built, and the radar measurement data set or the precise data set is used to train the network. In this embodiment, four high-frequency millimeter-wave radars are used around the material yard to obtain the three-dimensional coordinates of each point of the material yard, generate point cloud data, form a coordinate data set, and divide the coordinate data set into a training set and a test set. The X and Y data of the three-dimensional coordinates in the training set are used as input, and the Z-axis data is used as output to train the optimized deep neural network DNN model. The trained optimized deep neural network DNN model is used to correct the Z-axis data of the collected point cloud data, and the corrected Z-axis coordinates and the collected X and Y-axis data are used to form coordinate point cloud data.
[0110] Or after the first calibration, the second calibration is performed. In this embodiment, after the Z-axis data of the collected point cloud data is corrected using the trained optimized deep neural network DNN model, the Z-axis data of the first calibration corresponding to the collected point XY is obtained, which is recorded as i represents the i-th radar, j represents the j-th point, and then the difference between the Z-axis data of the first correction and the data measured by the high-frequency millimeter-wave radar is calculated respectively, that is, Denoted as z ij ', calculate the average of the four Z-axis data collected by the four high-frequency millimeter-wave radars, add the average of the four differences, and use it as the final Z-axis data of the collection point. Using this method, the error can be reduced and more accurate volume data can be calculated.
[0111] 027 Then use the PCL point cloud library to perform 3D modeling on the point cloud data. To use this library in Windows, you need to install visual studio. Then add the PCL library, and then you can import all the processed point cloud data for 3D modeling.
[0112] 028 After obtaining the three-dimensional modeling of the material yard pile, it cannot present a regular three-dimensional shape in reality. In this embodiment, the volume of the grid model is calculated by projection segmentation. The triangular mesh method is used, that is, the entire image is divided into countless triangles from the XOY plane, and then each irregular triangle in the triangular mesh is projected onto the XOY plane. The projection can be divided into two parts, the lower part is a triangular prism, and according to the different situations of the top of the triangular prism, it can be divided into three categories. In the first category, the values of each vertex of the triangular prism are equal. In the second category, one vertex of the triangular prism is higher than the other two vertices. In the third category, the height of each vertex of the triangular prism is different.
[0113] 029 When calculating the volume, cut off the top of the second and third prisms, calculate the volume of the upper and lower parts respectively, and then add them together. This completes the calculation of the volume of a triangular prism.
[0114] 030The first case is almost impossible. In the second case, let the length of the edge of the triangle perpendicular to the ground be h, and the area of the bottom triangle be S. The third case is basically the same as the second case, with the trapezoid as the ground, the area of the trapezoid as S, and h as the height. Then the volume V is:
[0115]
[0116] 031The volume of the stockpile and warehouse can be obtained by adding up all the divided triangular prisms.
Claims
1. A three-dimensional modeling and volume calculation method for stockpile in a material yard, characterized in that: The method comprises the following steps: Use 4 high-frequency millimeter-wave radars around the material yard to obtain the three-dimensional coordinates of each point of the material yard, generate point cloud data, form a coordinate data set, and divide the coordinate data set into a training set and a test set; Based on the improvement of the Hunger Game search algorithm, the Cubic chaos mapping method is added in the population initialization process, and the firefly perturbation strategy is added when the individual position is updated; Use the improved Hunger Game search algorithm to optimize the weights and biases in the deep neural network DNN model to obtain an optimized deep neural network DNN model; The optimized deep neural network DNN model is trained using the X and Y data of the three-dimensional coordinates in the training set as input and the Z-axis data as output, and the Z-axis data of the collected point cloud data is corrected using the trained optimized deep neural network DNN model; Use the corrected Z-axis coordinates and the collected X- and Y-axis data to form coordinate point cloud data, and use the PCL point cloud library to perform three-dimensional modeling of the stockpile on the processed point cloud data; The 3D model is converted into a triangular mesh and the volume of the stockpile is calculated.
2. The three-dimensional modeling and volume calculation method of stockpile according to claim 1 is characterized in that: The signal transmission and reception principle of the high-frequency millimeter wave radar is as follows: When the radar and the object are relatively stationary, the echo signal is delayed by τ in time compared with the transmitted signal, which can be expressed as: Among them: R is the distance between the radar and the target object, c is the speed of light, and the difference between the two signals obtained by mixing the transmitted and received signals is called the difference frequency signal; by analyzing the difference frequency signal, the target information can be obtained, including the distance information R.
3. The method for three-dimensional modeling and volume calculation of stockpile in a stockpile yard according to claim 2 is characterized in that: The radar uses trigonometric functions to obtain the Z-axis coordinates of the collected points according to the radar rotation angle, and obtains the three-dimensional coordinates of each collection point relative to the radar initialization position according to the radar rotation angle, recorded as (x ij ,y ij , z ij ), i represents the i-th millimeter-wave radar, j represents the j-th point, which can be expressed as: (x 11 ,y 11 ,z 11 ),(x 12 ,y 12 ,z 12 )…(x 1n ,y 1n ,z 1n ) (X 21 ,y 21 ,z 21 ),(x 22 ,y 22 ,z 22 )…(x 2n ,y 2n ,z 2n ) (X 31 ,y 31 ,Z 31 ),(x 32 ,y 32 ,Z 32 )…(x 3n ,y 3n ,z 3n ) The point cloud data is integrated according to the obtained coordinates and transmitted to the cloud platform for further integration and optimization.
4. The method for three-dimensional modeling and volume calculation of stockpile in a stockyard according to claim 1, characterized in that: The search mechanism of the Hunger Games search algorithm can be expressed as: Where: R is a random number, r1 and r2 are random numbers between [0, 1], randn is a random number that satisfies the standard normal distribution; t is the current iteration number, w1 and w2 are hunger weights; x b represents the global optimal solution, x (t) represents the current individual position, l is a set constant; E is calculated as follows: E=sech(|F(i)-BF|) Where i∈(1, 2, ..., N), F(i) is the fitness value of the i-th individual; BF is the current optimal fitness value, and sech is a hyperbolic function; The calculation formulas for mathematical modeling of the characteristics of individual hungry characters w1 and w2 are as follows: w2(1)=(1-exp(-|hungry(i)-SHungry|)×r5×2 Where: Hungry represents the hunger value of each individual; N is the number of individuals; SHungry represents the total hunger of the individuals, r3, r4, r5 are random numbers in [0, 1]; The formula for Hungry(i) is as follows: Al1Fitness(i) represents the fitness of the i-th individual in the current iteration; In each iteration, the H value of the optimal solution is set to 0, and other solutions add an H on the basis of the original hunger. The H value of each individual is different. The calculation formula of H is: Among them, F(i) is the fitness of each individual, BF is the current optimal fitness value; WF is the current worst fitness value; UB and LB represent the upper and lower limits of the search space respectively, LH is the lower bound of H, and r6 is a random number between [0,1].
5. The method for three-dimensional modeling and volume calculation of stockpile in a stockpile yard according to claim 4 is characterized in that: The Hunger Game search algorithm is used to optimize the weights and biases in a deep neural network DNN model. The Hunger Game algorithm is initialized according to the network settings of input parameters, hidden layer parameters, and output layer parameters, and then a plurality of individuals with different weights are generated.
6. The method for three-dimensional modeling and volume calculation of stockpile in a stockpile yard according to claim 1, characterized in that: The Cubic chaos mapping method and the Cubic chaos mapping formula are as follows: Among them, ρ is the control parameter, when x0=0.3, ρ=2.95, it has good ergodicity.
7. The method for three-dimensional modeling and volume calculation of stockpile materials in a stockpile yard according to claim 6, characterized in that: The data set processed by the Cubic chaotic mapping method is used to select the individual with the best fitness according to the current weight and bias, and the firefly perturbation method is used to further update the optimal individual position, which can be expressed as: x i With x j represents the spatial position of fireflies i and j; α is the step size factor of [0,1], rand is a random number in (0,1) that obeys a uniform distribution. If the fitness is better than the individual position before the update, it will be retained after reaching the maximum number of iterations, and the optimal weight and bias data will be output, and the optimization is completed; if not, the above calculation is repeated.
8. The method for three-dimensional modeling and volume calculation of stockpile in a stockpile yard according to claim 1, characterized in that: After the Z-axis data of the collected point cloud data is corrected using the trained optimized deep neural network DNN model, the corresponding 4 sets of Z-axis data are obtained as correction values, and further correction is performed. The specific further correction process is as follows: Take the Z-axis data actually measured by 4 high-frequency millimeter-wave radars and take the average value; Calculate 4 sets of differences between the correction value and the radar measurement value, and take the average value of the 4 sets of differences; The difference average value is added to the actual measured Z-axis average value, and combined with the XY-axis data to obtain the final point cloud data.
9. The method for three-dimensional modeling and volume calculation of stockpile materials in a stockpile yard according to claim 8, characterized in that: Based on the final point cloud data, the PCL point cloud library is used for 3D modeling, and the volume of the obtained model is calculated using projection segmentation.
