A Gaussian prediction method for calculating coal pile volume based on pusher rake point cloud registration
By using radar on the rake to acquire point cloud data for positioning and grid construction, combined with Gaussian prediction and Z-axis projection technology, the accuracy and efficiency problems of coal pile volume calculation in the cabin environment are solved, and high-precision volume is achieved calculate.
Patent Information
- Application Number
- CN202410806274.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-21
AI Technical Summary
The existing method for calculating the volume of coal piles in a ship cabin environment has problems such as low measurement accuracy and complex operations, which makes it difficult to meet the efficient and accurate needs of modern ports. Especially when the color difference of coal piles is small, the existing methods are difficult to calculate effectively. volume.
Point cloud registration technology based on push rake is used to obtain point cloud data through radar, positioning information analysis and grid construction are performed, Gaussian prediction is used to calculate the coal pile volume, and Z-axis projection and variance calculation are combined to remove ship bulkhead interference and improve calculations. Accuracy.
It achieves high accuracy in calculating the volume of coal piles in a ship cabin environment, avoids the difficulty of data fusion from multiple devices, improves the accuracy and efficiency of calculations, and adapts to sparse point cloud conditions.
Smart Images

Figure CN118376290B
Abstract
Description
Technical Field
[0001] The invention relates to the field of port automation, and in particular to a method for calculating the volume of a coal pile based on Gaussian prediction of a rake point cloud registration. Background Art
[0002] In a ship cabin environment, accurate calculation of the volume of the coal pile is a crucial task. This calculation process mainly relies on high-precision laser sensors mounted on the pusher rake. These sensors can capture detailed three-dimensional spatial information inside the cabin through rapid scanning, and then construct a three-dimensional model of the coal pile. Based on this model, the volume of the coal pile inside the cabin can be accurately calculated.
[0003] The calculation of the volume of coal piles inside the ship's hold has an important guiding significance for key equipment in port operations, such as grabs and screw unloaders. Accurate volume data helps these equipment to more accurately understand the distribution and morphological characteristics of the coal piles inside the ship's hold, thereby optimizing the operation process and reducing ineffective operations.
[0004] At the same time, accurate volume data can also provide decision support for port management departments, helping them to plan and manage coal transshipment more scientifically. By optimizing the coal loading, unloading and transshipment process, it can not only improve the port's work efficiency, but also reduce energy consumption and environmental pollution, and achieve green and efficient port operations.
[0005] However, in the volume calculation under the cabin environment, the measurement method is often limited by many factors, such as low measurement accuracy and complex operation, which makes it difficult to meet the efficient and accurate requirements of modern ports. Therefore, it is particularly urgent to develop a more advanced and efficient method for calculating the volume of coal piles.
[0006] For example, an existing method, "A method and system for calculating the volume of a stockpile in a yard" disclosed in Chinese patent literature, with publication number CN115018903A, uses a camera to collect stockpile data, and uses a deep learning model to classify and identify the stockpile and calculate the volume. However, the colors of coal piles in the cabin environment are relatively small and are all black or gray. The camera strategy cannot cope with the calculation of the volume of coal piles in the cabin environment.
[0007] Other patent documents published in China include CN117152239A, a method and system for calculating the volume of materials in a warehouse based on point cloud data, and CN110889885A, a method for calculating the volume of a three-dimensional object based on point cloud slicing. Both methods use triangular mesh and plane slicing to calculate the volume, but do not consider the impact of missing point clouds on the volume calculation when the point cloud is sparse. Summary of the invention
[0008] The present invention mainly solves the problem that the existing coal pile volume calculation method is limited by the amount of data; it provides a coal pile volume calculation method based on Gaussian prediction of pusher rake point cloud registration, obtains positioning information by registering the point cloud, and then uses Gaussian prediction to construct a grid and calculate the volume.
[0009] The above technical problems of the present invention are mainly solved by the following technical solutions:
[0010] A method for calculating the volume of a coal pile based on Gaussian prediction of a rake point cloud registration comprises the following steps:
[0011] S1: Install the radar on the pusher and rake to obtain radar point cloud data;
[0012] S2: Analyze the radar point cloud data to obtain map point cloud data, align the radar point cloud data obtained each time with the map point cloud data, and output positioning information;
[0013] S3: Fuse the radar point cloud data with the positioning information to incrementally synthesize the cabin map;
[0014] S4: Project the radar point cloud data onto the Z axis, filter the cabin boundary point cloud data by variance calculation and comparison, and calculate the inclination angle of the cabin boundary point cloud data to distinguish the cabin wall point cloud and the coal pile point cloud;
[0015] S5: Gaussian regional prediction is performed on the acquired radar point cloud data, the coal pile point cloud data is divided into network grids, and the volume of the coal pile in the cabin is obtained by calculating the volume of the coal pile in each network grid.
[0016] This solution does not require the installation of other sensors on the cabin and the pusher, only the point cloud data of the laser radar is needed, avoiding the difficulty of data fusion caused by multiple devices. The positioning information is obtained by registering the point cloud, and then the grid is constructed and the volume is calculated using Gaussian prediction. The use of Gaussian prediction can predict the point cloud data in sparse point clouds and improve the accuracy of volume calculation; the point cloud data is projected onto the Z axis, and the boundary between the cabin wall and the coal pile is determined by calculating and comparing the Z axis variance and the inclination angle, so as to remove the interference of the cabin wall on the volume calculation of the coal pile.
[0017] Preferably, in step S4, the specific process of distinguishing the point cloud data of the ship's cabin wall and the coal pile includes:
[0018] S4.1: Project all radar point cloud data onto the Z axis and filter the radar point cloud data of the cabin wall by calculating the variance;
[0019] S4.2: The screened point cloud data of the cabin wall and the point cloud data within the rated distance around it are used as boundary point cloud data, and polar coordinate transformation is used to reduce the dimension of the boundary point cloud data;
[0020] S4.3: Calculate the inclination angle of the boundary point cloud data and distinguish the boundary line between the cabin wall and the coal pile by comparing the sizes of the inclination angles.
[0021] As a preferred method, a plurality of grids are divided, all radar point cloud data in the grids are projected onto the Z axis respectively, and the Z value variance of all radar point cloud data in each grid is calculated;
[0022] Set the boundary point cloud variance threshold, and select several grids whose Z value variance is greater than the boundary point cloud variance threshold as the cabin wall point cloud grids;
[0023] The continuity of the screened bulkhead point cloud grid is calculated. When the bulkhead point cloud grid is continuous, the corresponding point cloud data in the bulkhead point cloud grid is used as the radar point cloud data of the bulkhead.
[0024] The shortest vertical length of the cabin wall is 4 meters, and other areas are non-vertical. The cabin boundary is the boundary distinction point of the coal pile, which has a large variance. The boundary point cloud variance threshold is set to 4; the point cloud grid with a variance exceeding 4 is used as the cabin wall point cloud grid.
[0025] Preferably, the three-dimensional coordinates of the boundary point cloud data are converted into polar coordinates;
[0026] Calculate the inclination angle of the boundary point cloud data according to the polar coordinates of the boundary point cloud data;
[0027] If the inclination angle of the boundary point cloud data is greater than the maximum repose angle of the coal pile, the boundary point cloud data is the cabin wall point cloud, otherwise it is the coal pile point cloud.
[0028] The angle θ of the cabin wall is close to 90 degrees, and the angle θ at the boundary is set to 50 degrees according to the maximum angle of repose of the coal pile, which is 50 degrees.
[0029] Preferably, the expression of Gaussian region prediction is:
[0030]
[0031] in, is the sample point; is the predicted value.
[0032] Represents sparse point cloud data, The point cloud data after completion.
[0033] is the point cloud noise;
[0034] is the predicted value;
[0035] is the variance of the predicted value;
[0036] is the kernel function.
[0037] Point cloud sparsity is a common defect of all radars, especially in mechanical radars, which cannot achieve full restoration like cameras. It is necessary to perform Gaussian 3D reconstruction on the acquired lidar point cloud data, select existing radar point cloud data as sample sets and test sets, and generate predicted data distribution.
[0038] Preferably, in step S5, the radar point cloud data reconstructed by Gaussian regional prediction is divided into a network grid;
[0039] Traverse all the network grids in the map data, and calculate the volume of the coal pile in a single columnar network grid according to the highest and lowest values of the coal pile point cloud in each network grid;
[0040] The total volume of the coal pile in the cabin is obtained by adding up the volumes of the coal piles in all columnar network grids.
[0041] As a preferred embodiment, the expression of the registration process of radar point cloud data and map point cloud data is:
[0042]
[0043] in, is the positioning information of the registration of the i-th radar point cloud data and the map point cloud data;
[0044] is the covariance of the map point cloud data;
[0045] is the covariance of the i-th radar point cloud data;
[0046] is the error between the i-th radar point cloud data and the target point cloud data;
[0047] error The expression is:
[0048]
[0049] in, is the radar point cloud data obtained for the i-th time;
[0050] It is the map point cloud data.
[0051] Through ROS topic information, the radar point cloud information obtained in a single acquisition is converted into PCL communication information; PCL is used to align the radar point cloud data in the radar point cloud information with the map point cloud data.
[0052] Preferably, the first radar point cloud data is stored as map point cloud data, and the second radar point cloud data is registered with the first radar data;
[0053] The registration and positioning information after the second time is to register the radar point cloud data and map point cloud data collected each time.
[0054] Since the radar is installed on the top of the pusher, the radar point cloud information obtained by its scanning includes the radar point cloud data of the detected target and the map point cloud data around the pusher.
[0055] Preferably, in the radar point cloud data obtained by the first radar scan, it is impossible to distinguish between the radar point cloud data of the detected target and the map point cloud data, that is, when the point cloud information is aligned for the first time, there is no data in the map point cloud data, and positioning alignment cannot be performed; therefore, the first positioning information is set to the unit matrix, the rotation heading is 0, the roll is 0, and the pitch angle is 0.
[0056] Preferably, the radar point cloud data obtained each time is multiplied by the corresponding registered positioning information to obtain the registered point cloud data of the corresponding number of collections; all the registered point cloud data are accumulated to form the cabin map data.
[0057] Since the point cloud information obtained by the radar is sparse, the volume calculation cannot be performed on a single radar point cloud data. The single radar point cloud data is converted into a point cloud in the world coordinate system for map registration. The registered point cloud data is inserted into the map to incrementally generate cabin map data.
[0058] The beneficial effects of the present invention are:
[0059] 1. There is no need to install other sensors on the cabin and the pusher. Only the point cloud data of the lidar is needed, avoiding the difficulty of data fusion caused by multiple devices.
[0060] 2. Gaussian prediction can be used to predict point cloud data in sparse areas of the point cloud, thereby improving the accuracy of volume calculation.
[0061] 3. Project the point cloud data onto the Z axis, and determine the boundary between the cabin wall and the coal pile by calculating and comparing the Z axis variance and the tilt angle, thereby removing the interference of the cabin wall on the volume calculation of the coal pile. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 The present invention is a flow chart of a method for calculating the volume of a coal pile.
[0063] Figure 2 It is the original point cloud data graph of the present invention.
[0064] Figure 3 This is a point cloud data diagram of the present invention with the cabin wall removed.
[0065] Figure 4 It is a volume calculation schematic diagram of the present invention.
[0066] Figure 5 It is the measurement result figure of the present invention. DETAILED DESCRIPTION
[0067] The technical solution of the present invention is further specifically described below through embodiments and in conjunction with the accompanying drawings.
[0068] Example:
[0069] A method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake point cloud registration is provided in this embodiment. Figure 1 As shown, the following steps are included:
[0070] S1: Install the radar on the pusher and rake to obtain radar point cloud data.
[0071] The radar is installed on the top of the push-and-harrow machine. As the push-and-harrow machine operates, the radar point cloud data is collected. At the same time, the map point cloud data around the push-and-harrow machine is collected. The control system of the push-and-harrow machine obtains the radar point cloud information of the radar through the topic communication in the ROS communication.
[0072] In this embodiment, the radar specifically used is the MID-360 radar, which is used to test the bulk coal cargo ship moored at the dock.
[0073] When the pusher starts working, the radar on top of the pusher starts to collect radar point cloud data around the pusher. These radar point cloud data are formed by the radar waves emitted by the radar and reflected back after hitting the surrounding objects. They contain rich spatial information, such as the shape, size, and position of the object. By collecting this data in real time, the three-dimensional point information of the pusher's operating area can be obtained, providing an important basis for the subsequent calculation of the volume of the coal pile.
[0074] During the data transmission process, the topic communication mechanism in ROS (Robot Operating System) communication is used to obtain radar point cloud information to ensure the real-time and accuracy of the data. ROS is a flexible framework designed for robot software development. It provides a wealth of libraries and tools that enable robot developers to easily communicate, abstract hardware, manage packages, reuse code, etc.
[0075] S2: Align the radar point cloud data with the map point cloud data and output the positioning information.
[0076] Through ROS topic information, the radar point cloud information obtained in a single acquisition is converted into PCL communication information; PCL is used to align the radar point cloud data in the radar point cloud information with the map point cloud data.
[0077] The solution of this embodiment does not depend on a specific radar model or scanning mode, and can adapt to the radar point cloud data processing requirements in different scenarios. At the same time, since the open source library PCL (Point Cloud Library) is used for point cloud data processing, it can be easily integrated into other robots or autonomous driving systems.
[0078] The expression of the registration process of radar point cloud data and map point cloud data is:
[0079]
[0080] in, is the positioning information of the registration of the i-th radar point cloud data and the map point cloud data;
[0081] is the covariance of the i-th radar point cloud data;
[0082] is the covariance of the map point cloud data;
[0083] is the error between the i-th radar point cloud data and the target point cloud data;
[0084] error The expression is:
[0085]
[0086] in, is the radar point cloud data obtained for the i-th time;
[0087] It is the map point cloud data.
[0088] Since the radar is installed on the top of the pusher, the radar point cloud information acquired by its scanning includes radar point cloud data of the detection target and map point cloud data around the pusher. Specifically, in this embodiment, the radar point cloud data of the detection target is the radar point cloud data of the coal pile, and the map point cloud data around the pusher is the map point cloud data of the cabin.
[0089] In the radar point cloud data obtained by the first radar scan, it is impossible to distinguish the radar point cloud data of the detected target from the map point cloud data. That is, when the first point cloud information is aligned, there is no data in the map point cloud data, and positioning alignment cannot be performed; therefore, the first positioning information Set it to the identity matrix, rotate the heading to 0, roll to 0, and pitch to 0.
[0090] Since the map point cloud data is empty during the first scan, the solution of this embodiment can handle unknown environments by assuming the initial pose (unit matrix) and using the first scanned point cloud as the initial map. As the number of scans increases, the map information becomes richer and the positioning accuracy improves accordingly.
[0091] The first radar point cloud information is stored as map point cloud data, and the second radar point cloud information is registered with the first radar information. The expression is:
[0092]
[0093] The registration and positioning information after the second time is the registration of the radar point cloud data and the map point cloud data collected each time, and the expression is:
[0094]
[0095] By registering the radar point cloud data with the map point cloud data, the solution of this embodiment realizes real-time positioning and mapping (SLAM). With the continuous scanning of the radar, the map point cloud data is gradually improved, thereby improving the accuracy and robustness of positioning.
[0096] By continuously iterating and optimizing the registration process, the error between the radar point cloud data and the map point cloud data can be gradually reduced, thereby improving the accuracy of positioning. In addition, considering the covariance information of the point cloud data helps to reasonably allocate the weights of different point cloud data during the registration process, further improving the accuracy of the registration.
[0097] In the specific application scenario of the pusher and rake machine, the solution of this embodiment can realize accurate detection and positioning of the coal pile, providing strong support for the automated operation of the pusher and rake machine. At the same time, due to the particularity of the cabin environment (such as small space, insufficient light, etc.), this solution also demonstrates the advantages of point cloud data processing and positioning in a complex environment.
[0098] S3: Fuse the current radar point cloud data with the positioning information to incrementally synthesize the cabin map.
[0099] Since the point cloud information obtained by the radar is sparse, the volume calculation cannot be performed on a single radar point cloud data. The single radar point cloud data is converted into a point cloud in the world coordinate system for map registration. The registered point cloud data is inserted into the map to incrementally generate cabin map data.
[0100] The radar device installed on the top of the pusher is used to continuously collect radar point cloud data. Due to the sparsity of radar point cloud data, the data collected once cannot be directly used for volume calculation, so it needs to be processed through subsequent steps.
[0101] The collected radar point cloud data needs to be preprocessed, including removing noise points, filtering out invalid data, etc., to ensure the accuracy of subsequent registration and map generation.
[0102] The radar point cloud data collected in a single time is converted to the world coordinate system and aligned with the existing map point cloud data. During the alignment process, the optimization algorithm (such as ICP, NDT, etc.) is used to minimize the difference between the radar point cloud and the map point cloud to obtain the aligned positioning information. .
[0103] According to the positioning information after each registration And the corresponding radar point cloud data , accumulate according to the following expression to generate the cabin map data Map, and the expression for incrementally generating the cabin map data is:
[0104]
[0105] in, is the positioning information of the i-th radar information and map data registration;
[0106] is the radar point cloud data collected for the i-th time;
[0107] N is the total number of times the registered point cloud data is accumulated in this embodiment.
[0108] The radar point cloud data collected each time is multiplied by the corresponding registered positioning information to obtain the registered point cloud data of the corresponding number of collections; all the registered point cloud data are accumulated to form the cabin map data Map.
[0109] With the continuous collection and registration of radar data, the cabin map data Map will gradually improve. In order to further improve the accuracy and reliability of the map, filtering algorithms (such as Gaussian filtering, median filtering, etc.) can be used to smooth the map; at the same time, loop detection and other technologies can be used to detect and correct the accumulated errors in the map.
[0110] The generated cabin map data can also be used for automated operations, path planning, obstacle detection, etc. of the pusher and rake. By updating the map data in real time, the pusher and rake can perceive the surrounding environment more accurately and improve the efficiency and safety of the operation.
[0111] In this implementation case, the positioning information of the second registration The translation is: 0.052484270 -0.002348415 -0.000555588;
[0112] Positioning information of the Nth registration The rotation quaternions are: 0.002983760 -0.0011810090.193365067 0.981128871.
[0113] The cabin environment is usually small and poorly lit, which brings certain difficulties to the operation of the pusher. The cabin map data generated by this implementation scheme can clearly display the structure, obstacles and other information in the cabin, and can more accurately calculate the volume of the coal pile. At the same time, it provides accurate navigation and positioning support for the pusher, so that it can operate efficiently and safely in a complex environment.
[0114] S4: Remove the interference of the point cloud of the cabin wall and identify the coal pile.
[0115] The point cloud data of the cabin wall will interfere with the volume calculation of the coal pile. The MID-360 radar used in this embodiment will scan other point cloud data due to its wide pitch angle. It is necessary to pre-process the cabin map data, remove the point cloud outside the cabin, and retain the point cloud data of the coal pile.
[0116] In this embodiment, the point cloud data outside the cabin is removed by establishing a straight-through filter on the Z axis. The specific process includes the following:
[0117] S4.1: Project all radar point cloud data onto the Z axis and filter the radar point cloud data of the cabin wall by calculating the variance.
[0118] Divide the grid into several grids, project all radar point cloud data in the grid onto the Z axis, and calculate the Z value variance of all radar point cloud data in each grid.
[0119] The boundary point cloud variance threshold is set, and several grids with variance greater than the boundary point cloud variance threshold are selected to form the cabin boundary.
[0120] In this embodiment, the shortest vertical length of the cabin wall is 4 meters, and other areas are non-vertical. The cabin boundary is the boundary distinction point of the coal pile, which has a large variance. The boundary point cloud variance threshold is set to 4; the point cloud grid with a variance exceeding 4 is used as the cabin wall point cloud grid.
[0121] The continuity of the screened bulkhead point cloud grid is calculated. In this embodiment, only the case where the three-dimensional grid is continuous is the bulkhead point cloud information.
[0122] Furthermore, an iteration method or a sliding window method can be used to dynamically adjust the grid size and the boundary point cloud variance threshold to adapt to cabins of different shapes and sizes, thereby ensuring more accurate identification of the point cloud data of the cabin wall.
[0123] S4.2: The determined point cloud data of the cabin wall and the surrounding point cloud data are subjected to dimensionality reduction processing by polar coordinate transformation.
[0124] The screened point cloud information of the cabin wall and the radar point cloud information within a range of 1m around it are retrieved, and the dimension is reduced using the polar coordinate method.
[0125] The expression for polar coordinate transformation is:
[0126]
[0127] in, It is the polar coordinate representation of radar point cloud data;
[0128] It is the spatial three-dimensional coordinate representation of radar point cloud data;
[0129] , is the minimum resolution.
[0130] According to the above formula, we can calculate In this embodiment, , The minimum resolutions are set to 0.5 and 0.5 respectively.
[0131] Furthermore, when converting to polar coordinates, in addition to using a fixed minimum resolution , In addition, it is also possible to consider dynamically adjusting the resolution according to the density and distribution of the point cloud to improve the accuracy and efficiency of the conversion. In addition, in order to ensure the accuracy of the polar coordinate conversion, the original point cloud data needs to be smoothed to reduce the impact of noise and errors.
[0132] S4.3: Calculate the inclination angle of the point cloud at the cabin boundary, and distinguish the boundary line between the cabin wall and the coal pile by comparing the size of the inclination angle.
[0133] Considering that the cabin wall point cloud and the coal pile point cloud have a large vertical tilt change at the boundary, the following formula is used to calculate the tilt interpolation of the upper and lower point clouds at the boundary:
[0134]
[0135] in, is the tilt angle of the point cloud;
[0136] is the coordinate value of the point cloud.
[0137] The larger value of the screening angle is the boundary between the cabin wall and the coal pile. In this embodiment, the angle of the cabin wall is is close to 90 degrees, and the angle at the boundary Since the maximum repose angle of the coal pile is 50 degrees, the demarcation threshold is set to 50 degrees and its polar coordinate form is recorded.
[0138] Furthermore, when calculating the tilt angle, a more complex algorithm, such as the least square method or polynomial fitting, may be used to more accurately fit the point cloud data at the boundary, thereby obtaining a more accurate tilt angle.
[0139] At the same time, the determination of the dividing line also needs to take into account the actual conditions of the coal pile, such as the shape, size, and angle of repose of the coal pile, to ensure the accuracy and reliability of the dividing line.
[0140] S4.4: Point cloud classification.
[0141] From the boundary point cloud recorded in polar coordinates in step S4.3, the boundary point cloud is classified into upper and lower categories. The point cloud above the dividing line is the point cloud of the cabin wall, and the point cloud below the dividing line is the point cloud of the bottom of the coal pile, such as Figure 2 and Figure 3 As shown, the radar point cloud data of the cabin is divided into coal pile point cloud data and cabin wall point cloud data. The point cloud data of the cabin wall cannot be used for volume calculation to ensure the accuracy of coal pile volume calculation.
[0142] Furthermore, when classifying point clouds, in addition to simple up and down classification, more complex classification algorithms, such as clustering algorithms or machine learning algorithms, can also be considered to more accurately identify the point cloud data of coal piles and cabin walls.
[0143] In addition, after the classification is completed, the point cloud data of the coal pile can be further post-processed, such as filtering, smoothing, interpolation, etc., to improve the precision and accuracy of the coal pile volume calculation.
[0144] The solution of this embodiment pre-processes the cabin map data, removes the point cloud outside the cabin, and retains the point cloud data of the coal pile, thereby improving the accuracy of the coal pile volume calculation. Through accurate cabin wall point cloud identification and removal, the interference of the cabin wall on the coal pile volume calculation is avoided, thereby improving the accuracy of the coal pile volume calculation. Polar coordinate conversion and dimensionality reduction processing are used to reduce the amount of calculation and improve processing efficiency. At the same time, dynamic adjustment of parameters and algorithm selection further improves processing efficiency and accuracy. The solution of this embodiment can adapt to cabins of different shapes, sizes and coal pile types, and has strong adaptability and flexibility.
[0145] S5: Perform Gaussian region prediction on the acquired radar point cloud data to fill in the sparse parts of the radar point cloud data.
[0146] Point cloud sparsity is a common defect of all radars, especially in mechanical radars, which cannot achieve full restoration like cameras. It is necessary to perform Gaussian 3D reconstruction on the acquired lidar point cloud data, select the existing radar point cloud data as the sample set and test set, and generate the predicted data distribution. The expression for the predicted point cloud data distribution is:
[0147]
[0148] Extract the point cloud within each voxel grid and divide it into prediction data according to the maximum and minimum values. The existing point cloud is the training data. A single point cloud cannot be predicted, and grids with less than a certain number cannot be Gaussian predicted.
[0149] in, is the sample point, is the predicted value; specifically, g is the original point cloud data, Traverse each voxel unit and divide it into predicted values in proportion. There is no third dimension data for prediction. value.
[0150] Table normal distribution.
[0151] Represents sparse point cloud data, The point cloud data after completion; is the x, y, and z value of a point cloud, Represents the error value of the normal distribution.
[0152] is the point cloud noise, point cloud noise Use fixed values, please refer to the sensor manual for details;
[0153] is the predicted value, is the three-dimensional matrix of samples, is the identity matrix;
[0154] is the variance of the predicted value;
[0155] Represents the difference between the kernel function of the predicted point cloud and the training point cloud, Interpolation of the training point cloud kernel function;
[0156] is the kernel function, For example, The calculation formula is: The calculation formula is: ;
[0157] The surface of the coal pile is perpendicular to the XOY plane in the three-dimensional coordinate system, and the Gaussian processing function is , the other 2 axes , No Gaussian processing is required.
[0158] In this implementation case, all coal pile point clouds were divided into 0.5 cubic grids, Gaussian processing was performed, 10 resolutions were collected at a size of 0.05 of each grid for prediction processing, and a test set and prediction set were generated.
[0159] S6: The reconstructed point cloud is meshed and connected, and the height data of each mesh is calculated and accumulated to obtain the volume of the coal pile.
[0160] like Figure 4 The schematic diagram of the volume calculation of the grid shown traverses all the grids in the map data, and calculates the volume of a single columnar grid and the volume of the coal pile according to the value of the highest point and the lowest value.
[0161] The calculation expression for calculating the volume of a single columnar grid is:
[0162]
[0163] The volume of the coal pile is calculated by adding up the volumes of all columnar grids. The expression for calculating the volume of the coal pile is:
[0164]
[0165] in, is the minimum value of the j-th grid height;
[0166] is the maximum value of the j-th grid height;
[0167] is the bottom area of the jth grid;
[0168] is the volume value of the jth grid;
[0169] For the volume of all coal piles, the point cloud volume of the coal pile is calculated grid by grid and accumulated to obtain the final volume.
[0170] The solution of this embodiment does not need to install other sensors on the cabin and the pusher, only the point cloud data of the laser radar is needed, avoiding the difficulty of data fusion caused by multiple devices. It can generate map data online, generate positioning information in real time according to each point cloud input, and generate cabin maps incrementally.
[0171] The traditional laser radar beam is fixed, and the solution of this embodiment uses Gaussian prediction to predict the point cloud data in sparse point clouds, thereby improving the accuracy of volume calculation. Finally, the solution of this embodiment uses a grid method for volume calculation, which has higher accuracy than the grid calculation method.
[0172] Specifically, the sizes of the cabins in this implementation case are 20, 32, and 32 meters. A straight-through filter of the Z value is established with a maximum value of 40 and a minimum value of -5 to remove point clouds outside the cabins.
[0173] In this implementation case, the positioning information of the second registration The translation is: 0.052484270 -0.002348415 -0.000555588; the positioning information of the Nth registration The rotation quaternions are: 0.002983760-0.001181009 0.193365067 0.981128871.
[0174] The coal pile volume is calculated for the cabin example with the above parameters using the scheme of this embodiment, and the following is obtained: Figure 5 The measurement results of this implementation case are shown in the figure, and the measurement result is approximately 950 cubic meters.
[0175] It should be understood that the embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope limited by the appended claims of the application.
Claims
1. A method for calculating the volume of a coal pile based on Gaussian prediction of a rake point cloud registration, characterized in that: The following steps are involved: S1: Install a radar on the pusher and rake to obtain radar point cloud data, including radar point cloud data of the detected target and map point cloud data around the pusher and rake; S2: parsing the radar point cloud data to obtain the map point cloud data around the pusher and rake as the map point cloud data, registering the radar point cloud data obtained each time with the map point cloud data, and outputting the positioning information; S3: Multiplying the radar point cloud data collected each time with the corresponding registered positioning information and accumulating them to synthesize the cabin map; S4: Divide into several grids, project all radar point cloud data in the grids onto the Z axis, and select several grids whose Z value variance is greater than the boundary point cloud variance threshold. When the grids are continuous, the corresponding point cloud data in the grids are used as the radar point cloud data of the cabin wall, and the radar point cloud data of the cabin wall and the point cloud data within the rated distance around it are used as the boundary point cloud data. The inclination angle of the boundary point cloud data is calculated. If the inclination angle is greater than the maximum repose angle of the coal pile, the boundary point cloud data is the cabin wall point cloud, otherwise it is the coal pile point cloud. S5: Gaussian regional prediction is performed on the acquired radar point cloud data, the coal pile point cloud data is divided into network grids, and the volume of the coal pile in the cabin is obtained by calculating the volume of the coal pile in each network grid.
2. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1, characterized in that: In step S4, the specific process of distinguishing the point cloud data of the ship's bulkhead and the coal pile includes: S4.1: Project all radar point cloud data onto the Z axis and filter the radar point cloud data of the cabin wall by calculating the variance; S4.2: The screened point cloud data of the cabin wall and the point cloud data within the rated distance around it are used as boundary point cloud data, and polar coordinate transformation is used to reduce the dimension of the boundary point cloud data; S4.3: Calculate the inclination angle of the boundary point cloud data and distinguish the boundary line between the cabin wall and the coal pile by comparing the sizes of the inclination angles.
3. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1 or 2, characterized in that: Divide into several grids, project all radar point cloud data in the grids onto the Z axis, and calculate the Z value variance of all radar point cloud data in each grid; Set the boundary point cloud variance threshold, and select several grids whose Z value variance is greater than the boundary point cloud variance threshold as the cabin wall point cloud grids; The continuity of the screened bulkhead point cloud grid is calculated. When the bulkhead point cloud grid is continuous, the corresponding point cloud data in the bulkhead point cloud grid is used as the radar point cloud data of the bulkhead.
4. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 3 is characterized in that: Convert the three-dimensional coordinates of the boundary point cloud data into polar coordinates; Calculate the inclination angle of the boundary point cloud data according to the polar coordinates of the boundary point cloud data; If the inclination angle of the boundary point cloud data is greater than the maximum repose angle of the coal pile, the boundary point cloud data is the cabin wall point cloud, otherwise it is the coal pile point cloud.
5. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1 or 4, characterized in that: The expression of Gaussian area prediction is: in, is the sample point; is the predicted value; Represents sparse point cloud data; is the point cloud noise, is a normal distribution, σ is the standard deviation; is the predicted value, I is the identity matrix, T is the transpose of the matrix, is the difference between the kernel function of the predicted point cloud and the training point cloud; is the variance of the predicted value; Interpolation of the training point cloud kernel function; is the kernel function.
6. The method for calculating the volume of coal pile based on Gaussian prediction of pusher-rake machine point cloud registration according to claim 5 is characterized in that: In step S5, the radar point cloud data reconstructed by Gaussian regional prediction is divided into network grids; Traverse all the network grids in the map data, and calculate the volume of the coal pile in a single columnar network grid according to the highest and lowest values of the coal pile point cloud in each network grid; The total volume of the coal pile in the cabin is obtained by adding up the volumes of the coal piles in all columnar network grids.
7. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1, characterized in that: The expression of the registration process of radar point cloud data and map point cloud data is: Among them, T i is the positioning information of the registration of the i-th radar point cloud data and the map point cloud data; is the covariance of the i-th radar point cloud data; is the covariance of the map point cloud data; is the error between the i-th radar point cloud data and the target point cloud data; error The expression is: Among them, b i is the radar point cloud data obtained for the i-th time; a map It is the map point cloud data.
8. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1 or 7, characterized in that: The first radar point cloud data is stored as map point cloud data, and the second radar point cloud data is registered with the first radar data; The registration and positioning information after the second time is to register the radar point cloud data and map point cloud data collected each time.
9. The method for calculating the volume of coal pile based on Gaussian prediction of pusher-rake machine point cloud registration according to claim 8, characterized in that: Set the first positioning information to the unit matrix, with the rotation heading to 0, the roll to 0, and the pitch angle to 0.
10. The method for calculating the volume of a coal pile based on Gaussian prediction of a pusher-rake machine point cloud registration according to claim 1, 7 or 9, characterized in that: The radar point cloud data collected each time is multiplied by the corresponding registered positioning information to obtain the registered point cloud data of the corresponding number of collections; all the registered point cloud data are accumulated to form the cabin map data.
