Bulk cargo pile density multi-factor dynamic correction method, system, medium and product
By acquiring 3D point cloud models using drones and employing physically embedded neural networks to correct the density of bulk cargo stacks, the problems of low efficiency and insufficient accuracy in bulk cargo stack weight measurement have been solved, achieving high-precision cargo stack weight measurement and enhancing the credibility of trade settlement.
Patent Information
- Application Number
- CN202611297565.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods for measuring the weight of bulk cargo are inefficient or inaccurate, failing to meet the demands of fast and accurate trade and leading to transaction disputes.
By acquiring a 3D point cloud model using drones, extracting surface morphological and mechanical features, dividing the model into 3D voxel units, predicting the density field using a physically embedded neural network, and dynamically correcting it by combining environmental sensing data, the multi-factor synergistic effect of density is achieved.
It significantly improves the accuracy of cargo stack weight measurement and the credibility of trade settlement, reduces measurement disputes, and enhances the model's generalization ability and environmental adaptability.
Smart Images

Figure CN123181776A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cargo stack measurement, and in particular to a method, system, medium and product for multi-factor dynamic correction of bulk cargo stack density. Background Technology
[0002] With the continuous development of global trade, the volume of bulk cargo transactions is increasing, which places higher demands on the accuracy and efficiency of cargo stack weight measurement.
[0003] Currently, there are two main methods commonly used for measuring the weight of bulk cargo piles. One is the weighbridge method, which involves weighing each item on a weighbridge and then summing the weights to obtain the total weight of the pile. The other is the experience-based estimation method, which relies on the experience of the staff to roughly estimate the weight of the pile based on its external dimensions and shape.
[0004] However, the weighbridge method is inefficient and cannot meet the demand for rapid weighing of large-scale bulk cargo; the empirical estimation method is not accurate enough and may lead to disputes between the trading parties regarding the weight of goods, affecting the fairness and smooth progress of trade.
[0005] Therefore, there is an urgent need for a method that can efficiently and accurately measure the weight of bulk cargo stacks. Summary of the Invention
[0006] This application provides a method, system, medium, and product for multi-factor dynamic correction of bulk cargo density, which can accurately correct the bulk cargo density to precisely calculate the true total weight of the cargo pile.
[0007] In a first aspect, this application provides a multi-factor dynamic correction method for bulk cargo bulk density, the method comprising: A three-dimensional point cloud model of the target cargo pile is acquired using drone equipment, and environmental time-series sensing data and initial basic density of materials are acquired simultaneously. Based on the three-dimensional point cloud model, the surface morphological mechanical features of the target cargo pile are extracted, including surface settlement curvature and local repose angle grid distribution. The three-dimensional point cloud model is divided into multiple discrete three-dimensional voxel units. For each three-dimensional voxel unit, the vertical overburden stress depth inside the target cargo pile and the shortest water penetration distance from the surface of the target cargo pile are calculated and aligned with the surface morphological and mechanical features and the environmental time-series sensing data to form a spatial multi-factor feature vector corresponding to each three-dimensional voxel unit. The spatial multi-factor feature vector is input into a preset physical embedded neural network for feature extraction and attention fusion prediction. Through the physical embedded neural network, the basic density correction components of each voxel caused by gravity compaction are predicted by combining the surface morphological mechanical features and the vertical overburden stress depth. The density fluctuation correction components of each voxel caused by humid heat conduction are predicted by combining the shortest water penetration distance and the environmental time-series sensing data. The three-dimensional spatial predicted density field of the internal structure of the target cargo pile is then output. Based on the predicted density field in three-dimensional space, the dynamic correction density value corresponding to each three-dimensional voxel unit is extracted. The dynamic correction density value is multiplied by the volume of each three-dimensional voxel unit, and the actual total weight of the target cargo pile after multi-factor dynamic correction is calculated by accumulating the three-dimensional spatial integral.
[0008] By employing the above technical solution, the cargo pile is discretized into three-dimensional voxel units, and the dynamic correction density value is predicted independently for each voxel. Spatial integral accumulation is used instead of overall multiplication, fundamentally eliminating the systematic measurement bias caused by the uniform density assumption. This improves the accuracy of weight calculation from macroscopic estimation to voxel-level spatial resolution, significantly reducing measurement disputes in trade settlement. Through a dual-branch architecture with a physically embedded neural network, density changes are decomposed into a "static depth-increasing component dominated by gravity compaction" and a "dynamic spatiotemporal fluctuation component dominated by humid heat conduction." This allows the model to simultaneously respond to the internal structural characteristics of the cargo pile (overburden stress depth) and changes in the external environment (temperature and humidity time-series data), achieving dynamic reconstruction of the density field under the synergistic effect of multiple factors. This significantly improves the generalization ability and environmental adaptability of density prediction under different seasons, regions, and storage durations.
[0009] In some embodiments, extracting the surface morphological and mechanical features of the target cargo pile surface based on the three-dimensional point cloud model includes: The three-dimensional point cloud model is fitted with a local surface to calculate the principal curvature value in the neighborhood of each point cloud. The surface settlement curvature is constructed based on the principal curvature value, and the full surface settlement curvature is encoded and stored in the form of a curvature heat map to form a surface settlement curvature heat map. The three-dimensional point cloud model is segmented into slope regions, and the surface normal vector sequence of each slope direction of the target cargo pile is extracted. The angle between each slope normal vector and the horizontal plane is calculated to form the local repose angle grid distribution. The local repose angles of each slope direction are spatially registered and stored in the form of a direction-angle mapping table. The surface settlement curvature thermogram is spatially aligned and fused with the local repose angle grid distribution to generate a surface morphological mechanical feature matrix containing a joint feature vector of curvature and repose angle, which serves as the basic input of the physical embedded neural network.
[0010] By employing the aforementioned technical solution, the spatial deformation degree of the cargo pile surface settlement is transformed into a quantifiable mechanical response index through local surface fitting and curvature calculation. Simultaneously, by calculating the angle between the slope normal vector and the horizontal plane, the natural resting state of the material stack is transformed into physical parameters characterizing the internal frictional properties of the granular material. This enables purely visual data to, for the first time, invert the internal physical state of the cargo pile. Surface settlement curvature reflects the deformation history of the cargo pile (outcome characteristic), while the local angle of repose reflects the material's flowability and shear resistance (constitutive characteristic). By spatial alignment, these two are fused into a joint feature matrix, achieving a coordinated representation of "macroscopic morphological deformation" and "microscopic material properties" in a unified spatial coordinate system. This provides a high-quality input tensor with both global structural semantics and local physical semantics for the physically embedded neural network, fundamentally ensuring the physical rationality and spatial continuity of subsequent density field predictions.
[0011] In some embodiments, dividing the three-dimensional point cloud model into multiple discrete three-dimensional voxel units, and for each three-dimensional voxel unit, calculating the vertical overburden stress depth inside the target cargo pile and the shortest moisture penetration distance from the surface of the target cargo pile, specifically includes: Based on the spatial bounding box of the three-dimensional point cloud model, the target cargo pile space is discretized into a three-dimensional voxel mesh according to the adaptive voxel size partitioning strategy. The adaptive voxel size partitioning strategy includes using a first voxel size for dense partitioning in areas where the surface curvature change rate is greater than a preset threshold, and using a second voxel size for sparse partitioning in areas where the surface curvature change rate is less than or equal to the preset threshold. The first voxel size is smaller than the second voxel size. For each of the three-dimensional voxel units, the total mass of all voxel units directly above the three-dimensional voxel unit is accumulated upward along the direction of gravity. The total mass is obtained by summing the product of the initial base density of each voxel unit above and its respective volume. The total mass is divided by the horizontal projected area of the three-dimensional voxel unit to obtain the overlay mass per unit area. The overlay mass per unit area is divided by the reference loose bulk density of the material corresponding to the three-dimensional voxel unit to obtain the equivalent gravity compressive strength depth. The equivalent gravity compressive strength depth is used as the vertical overlay stress depth. For each three-dimensional voxel unit, starting from the spatial position of the three-dimensional voxel unit, the shortest Manhattan distance or Euclidean distance between the target cargo pile surface voxel and the target cargo pile surface voxel is searched along each spatial direction, and the shortest distance obtained is recorded as the shortest water penetration distance from the target cargo pile surface. The vertical overlying stress depth, the shortest water penetration distance, the surface morphological and mechanical characteristics, and the environmental time-series sensing data are aligned and stitched together voxel by voxel according to the spatial index of the voxel unit to form a multi-factor feature tensor consistent with the spatial structure of the three-dimensional voxel grid. Each voxel position in the multi-factor feature tensor corresponds to a spatial multi-factor feature vector.
[0012] By adopting the above technical solution, the voxel size is dynamically adjusted according to the rate of change of curvature of the cargo pile surface—densifying the voxel size in drastically changing slopes and edge areas to improve prediction accuracy, and sparsening it in flat areas to reduce computational overhead. While ensuring the analytical accuracy of the density field in high curvature areas, the overall computational complexity is controlled within an acceptable range for engineering, avoiding waste of computational resources. The vertical overburden stress depth and the shortest water infiltration distance are aligned and stitched together voxel by voxel with the surface morphological and mechanical characteristics and environmental time-series data to form a structurally unified multi-factor feature tensor. This achieves pixel-level fusion and alignment of multi-source heterogeneous data that were originally scattered in geometric, physical, and temporal dimensions within a unified three-dimensional voxel coordinate framework. This provides the neural network with a high-quality structured input that corresponds to both spatial location and physical meaning, fundamentally eliminating the prediction bias introduced by inconsistent data scales and spatiotemporal misalignment.
[0013] In some embodiments, discretizing the target cargo stack space into a three-dimensional voxel mesh according to an adaptive voxel size partitioning strategy includes: The global curvature field of the three-dimensional point cloud model is calculated, the average curvature value in the neighborhood of each point cloud is mapped to spatial coordinates, a continuous curvature field function of the target cargo pile surface is constructed, and the initial spatial boundary between the high curvature region and the low curvature region is determined according to the spatial distribution of the curvature field function. In the high curvature region, initial voxel division is performed according to a first voxel size, and in the low curvature region, initial voxel division is performed according to a second voxel size, wherein the first voxel size is smaller than the second voxel size; A gradient transition zone is provided at the boundary between the high curvature region and the low curvature region. Within the gradient transition zone, the voxel size gradually transitions from the first voxel size to the second voxel size along the spatial direction. The step size of the gradual transition is determined according to the rate of curvature change at the boundary. Based on the surface morphological and mechanical characteristics of the voxel unit and the estimated value of the vertical overburden stress depth, the predicted physical field gradient magnitude is calculated. When the predicted physical field gradient magnitude exceeds the preset gradient threshold, the voxel unit is recursively subdivided until the predicted physical field gradient magnitude of the subdivided sub-voxel unit is lower than the preset gradient threshold or reaches the preset minimum voxel size. Spatial connectivity verification and topological consistency repair are performed on all voxel units after recursive subdivision to generate the final three-dimensional voxel mesh.
[0014] By adopting the above technical solution, based on the curvature-driven initial partitioning, a feedback pre-evaluation mechanism for the physical field gradient magnitude is further introduced. Recursive subdivision is performed on voxels where the predicted physical field changes drastically, ensuring that the density distribution of the final voxel mesh matches the spatial rate of change of the actual physical field. This precisely allocates computational resources to the critical regions where the physical field changes most drastically without increasing redundant voxels. A smooth transition zone for voxel size is set at the boundary between high and low curvature regions to eliminate computational instability caused by abrupt size changes. Simultaneously, through spatial connectivity verification and topological consistency repair, dangling nodes and discontinuous boundaries generated by recursive subdivision are eliminated, forming a topologically pure voxel space with smooth size transitions. This provides a high-quality computational grid for subsequent physical field calculations that combines resolution adaptability and numerical stability.
[0015] In some embodiments, the physical embedded neural network includes a parallel first prediction branch and a second prediction branch, as well as a fused output layer. The method of using the physical embedded neural network to predict the basic density correction components of each voxel caused by gravity compaction by combining the surface morphological and mechanical features with the vertical overburden stress depth, and to predict the density fluctuation correction components of each voxel caused by hygrothermal conduction by combining the shortest moisture penetration distance with environmental time-series sensing data, outputting the three-dimensional spatial predicted density field of the target cargo pile's internal structure, specifically includes: The spatial multi-factor feature vector is simultaneously input into the first prediction branch and the second prediction branch. The first prediction branch is a gravity compaction encoder, which takes the surface morphological mechanical features and the vertical overburden stress depth as inputs and outputs the basic density correction component of each voxel. The basic density correction component represents the static component of density increasing with depth caused by gravity compaction. The second prediction branch is a humid heat conduction encoder, which takes the shortest water penetration distance and the environmental time-series sensing data as inputs and outputs the density fluctuation correction component of each voxel. The density fluctuation correction component represents the dynamic component of density changing with time and space caused by temperature changes and water migration. The fusion output layer receives the base density correction component from the first prediction branch and the density fluctuation correction component from the second prediction branch. The base density correction component and the density fluctuation correction component are weighted and superimposed using a fusion weight matrix to generate a comprehensive predicted density value for each voxel. The set of comprehensive predicted density values for all voxels is used as the three-dimensional spatial predicted density field output for the internal structure of the target cargo pile.
[0016] By employing the aforementioned technical solution, and constructing parallel first and second prediction branches, density changes are decomposed into a "static depth-increasing component dominated by gravity compaction" and a "dynamic spatiotemporal fluctuation component dominated by hygrothermal conduction." This allows each branch to focus on density change mechanisms with entirely different physical origins. The gravity branch's input does not include a time dimension, structurally forcing its output to be a static depth-related component; the hygrothermal branch's input includes time-series data, enabling it to capture the dynamic response of density to environmental fluctuations. This physical prior embedded in the network architecture allows the model to intrinsically learn the independent contribution paths of different factors to density, improving multi-factor decoupling capabilities and making the physical causes of the prediction results traceable and interpretable.
[0017] In some embodiments, the step of weighting and superimposing the basic density correction component and the density fluctuation correction component using a fusion weight matrix to generate a comprehensive predicted density value for each voxel specifically includes: Calculate the absolute value of the first residual between the base density correction component of each voxel and the standard empirical density of the corresponding material, and the absolute value of the second residual between the density fluctuation correction component of each voxel and zero. Based on the relative magnitude of the first and second absolute residual values, generate the first and second branch confidence scores for each voxel. The first branch confidence score is negatively correlated with the first absolute residual value, and the second branch confidence score is negatively correlated with the second absolute residual value. For each voxel unit, the gravity compaction dominance factor and the hygrothermal conduction dominance factor at the location of the voxel unit are calculated based on the vertical overburden stress depth and the shortest water penetration distance. The gravity compaction dominance factor is high when the vertical overburden stress depth is greater than the depth threshold, and the hygrothermal conduction dominance factor is high when the shortest water penetration distance is less than the distance threshold. The confidence scores of the first branch and the second branch are used as initial weights, and the initial weights are corrected according to the gravity compaction dominant factor and the hygrothermal conduction dominant factor to obtain the spatial adaptive fusion weights of each voxel. Based on the spatial adaptive fusion weights of each voxel, the basic density correction component and density fluctuation correction component of each voxel are weighted and summed to generate the comprehensive predicted density value of each voxel.
[0018] By employing the aforementioned technical solution, a dynamic evaluation mechanism is established where "the greater the prediction deviation, the lower the confidence level" by calculating the absolute value of the residual between the predicted value of each branch and its physical reference value (standard empirical density, zero value). This allows the model to quantify the prediction reliability of each branch on the current voxel online without relying on external labels. This self-evaluation capability enables the fusion decision not only to depend on the prior network structure design but also to respond in real time to the actual prediction performance of each branch at different spatial locations, significantly improving the robustness of the fusion strategy to local prediction anomalies.
[0019] In some embodiments, the method further includes: After the target cargo pile is weighed, the global error index of the physical embedded neural network is calculated based on the deviation between the actual weighed weight and the true total weight, and a voxel-level error distribution map is constructed based on the local prediction deviation at each voxel position. Based on the voxel-level error distribution map, voxel regions with prediction errors exceeding a preset error threshold are identified as high-error regions. The voxel space multi-factor feature vectors in the high-error regions are marked and assigned higher sampling weights than ordinary samples to form a weighted incremental training sample set. The weighted incremental training sample set is used to perform incremental training on the physical embedded neural network. During the incremental training process, the parameters of the bottom feature extraction layer of the physical embedded neural network are frozen, and only the parameters of the fusion output layer are updated. An elastic weight reinforcement regularization term is introduced into the loss function. After incremental training is completed, the physical embedded neural network before and after the update is compared and verified using an independent validation sample set. When the prediction error of the updated physical embedded neural network on the validation sample set is lower than that of the physical embedded neural network before the update and the reduction exceeds a preset threshold, the updated physical embedded neural network replaces the physical embedded neural network.
[0020] By adopting the above technical solution, a voxel-level error distribution map is constructed by back-projecting the macroscopic weighing deviation into a three-dimensional voxel space. Based on this map, high-error regions are identified and given higher sampling weights than ordinary samples, forming a weighted incremental training set with precise spatial positioning and targeted mining of difficult samples. This ensures that each model update directly targets the weak spatial regions of the current prediction capability, avoiding indiscriminate retraining of already accurately predicted regions, and significantly improving the data utilization efficiency and model convergence speed of incremental training.
[0021] In a second aspect, embodiments of this application provide a computer system including a memory, a processor, and a computer program stored in the memory; the processor executes the computer program to implement the steps of the method described in any possible implementation of the first aspect.
[0022] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implement the steps of the method described in any possible implementation of the first aspect.
[0023] Fourthly, embodiments of this application provide a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the method described in any possible implementation of the first aspect.
[0024] It is understood that the computer system provided in the second aspect, the storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the method provided in this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0025] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. Discretize the cargo pile into a massive number of three-dimensional voxel units, independently predict the dynamic correction density value of each voxel, and then replace the simple overall product with spatial integration accumulation. This reduces the weight measurement from macroscopic estimation to voxel-level spatial resolution, fundamentally eliminating the systematic measurement bias caused by the uniform density assumption, and significantly improving the accuracy and credibility of trade settlement. 2. By constructing a gravity compaction encoder and a humid heat conduction encoder in parallel, the spatial variation of density is decomposed into two independent components with completely different physical causes. The gravity branch describes the static compaction component that increases with depth, while the humid heat branch describes the dynamic time-varying component that fluctuates with the environment. The two branches perform their respective functions and do not interfere with each other, so that the model can learn the independent contribution paths of different physical mechanisms to density. This not only improves the prediction accuracy, but also makes the density prediction results of each voxel have clear physical cause traceability. 3. By performing local surface fitting on the point cloud to extract the surface settlement curvature and repose angle grid distribution, the settlement curvature, which represents the deformation history, and the repose angle, which represents the shear resistance of the material, are spatially fused. This upgrades the pure geometric point cloud data into a surface morphological mechanical feature matrix containing mechanical state information, greatly releasing the potential value of existing inspection data and realizing the value-added utilization of data assets without increasing hardware investment. Attached Figure Description
[0026] Figure 1 This is a flowchart illustrating the multi-factor dynamic correction method for bulk cargo density in the embodiments of this application; Figure 2 This is a schematic diagram of the process for calculating the vertical overburden stress depth and the shortest water penetration distance in the embodiments of this application; Figure 3This is a schematic diagram of an exemplary hardware structure of a computer system in an embodiment of this application. Detailed Implementation
[0027] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.
[0028] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0029] The following is combined with Figure 1 The method of the embodiments of this application will be described below.
[0030] Please see Figure 1 This is a flowchart illustrating the multi-factor dynamic correction method for bulk cargo density in an embodiment of this application. Figure 1 As shown, the method includes the following steps: S101. Obtain a three-dimensional point cloud model of the target cargo pile through the UAV equipment, and simultaneously obtain environmental time-series sensing data and the initial basic density of the material. Based on the three-dimensional point cloud model, extract the surface morphological mechanical features of the target cargo pile surface, including surface settlement curvature and local repose angle grid distribution. S102. Divide the three-dimensional point cloud model into multiple discrete three-dimensional voxel units. For each three-dimensional voxel unit, calculate the vertical overburden stress depth inside the target cargo pile and the shortest water penetration distance from the surface of the target cargo pile. Align and stitch the voxel unit with the surface morphological and mechanical features and the environmental time-series sensing data to form a spatial multi-factor feature vector corresponding to each three-dimensional voxel unit. S103. Input the spatial multi-factor feature vector into a preset physical embedded neural network for feature extraction and attention fusion prediction. Through the physical embedded neural network, combine the surface morphological mechanical features and the vertical overburden stress depth to predict the basic density correction components of each voxel caused by gravity compaction. Combine the shortest water penetration distance and the environmental time-series sensing data to predict the density fluctuation correction components of each voxel caused by humid heat conduction. Output the three-dimensional spatial predicted density field of the internal structure of the target cargo pile. S104. Based on the predicted density field in the three-dimensional space, extract the dynamic correction density value corresponding to each three-dimensional voxel unit, multiply the dynamic correction density value by the volume of each three-dimensional voxel unit, and calculate the true total weight of the target cargo pile after multi-factor dynamic correction by accumulating the three-dimensional space integral.
[0031] Aerial scanning of the target cargo pile was conducted using a drone equipped with lidar to acquire a high-precision 3D point cloud model. This model accurately recorded the geometric morphology of the cargo pile surface using a massive number of spatial points. Simultaneously, the system acquired two types of auxiliary data: one was environmental time-series sensor data, including monitoring information on the temperature, humidity, and wind speed of the environment surrounding the cargo pile as they changed over time; the other was the initial basic density of the material, i.e., the reference density value of this batch of bulk cargo under standard conditions. After obtaining the 3D point cloud model, further in-depth analysis was performed to extract two surface morphological and mechanical features with clear physical meanings. The first is surface settlement curvature, which characterizes the degree of bending deformation of the cargo pile surface at different spatial locations. Areas with larger settlement curvature often indicate that the material at that location has undergone strong gravitational compaction or significant uneven settlement. The second type is the local angle of repose grid distribution. The angle of repose is a unique physical property of granular materials, reflecting the material's flowability and internal friction characteristics. Organizing the angles of repose at different locations on each slope of the stockpile in a grid form creates a spatial distribution description of the shear resistance of the stockpile surface. These two features, one focusing on the deformation state and the other on the material's inherent properties, together constitute a multi-dimensional characterization of the mechanical state of the stockpile surface, laying a characteristic foundation for subsequent physical perception and prediction.
[0032] The space occupied by the 3D point cloud model is divided into a large number of regularly arranged small cubic meshes, each mesh unit being called a voxel. This process discretizes the originally continuous and invisible cargo pile space into a collection of finite tiny volume units, enabling subsequent refined density analysis using voxels as the basic unit. For each voxel unit, two key physical quantities need to be calculated. The first is the vertical overburden depth, which physically means the equivalent height formed by all the material directly above the voxel unit. A voxel at the bottom of the cargo pile, with a thick layer of material pressing down on it, has a large overburden depth, and therefore experiences significantly stronger gravitational compaction than the surface voxels. In the calculation, the mass of material of all voxels directly above the voxel is accumulated upwards along the direction of gravity, and then converted into the equivalent compressive strength depth. The second is the shortest moisture penetration distance, which physically represents the shortest path length from the voxel unit to the surface of the cargo pile. A voxel closer to the surface is more easily affected by moisture and heat from the external environment through short-distance penetration, and is therefore more directly affected by changes in environmental temperature and humidity. Voxels buried deep in the core area of the cargo pile, however, have a longer path to the surface, and the influence of moisture and heat conduction on their density is relatively delayed and weakened. After calculating these two physical quantities, the vertical overburden stress depth, the shortest moisture penetration distance, along with the obtained surface morphological and mechanical characteristics and environmental temporal sensing data, are stitched together according to the voxel's spatial position index, so that each voxel unit obtains a spatial multi-factor feature vector containing various physical information. This process achieves pixel-level fusion and alignment of multi-source data within a unified three-dimensional voxel spatial framework, providing the neural network with a clearly structured and physically semantically rich input.
[0033] A neural network architecture incorporating physical cognition is employed to map the multi-factor feature vector of each voxel to its predicted density value, ultimately forming a three-dimensional density distribution field covering the entire cargo pile space. This neural network comprises two parallel prediction branches. The first branch, called the gravity compaction encoder, receives inputs focusing on surface morphological and mechanical characteristics and vertical overburden stress depth, features closely related to gravity compaction. Its output is a base density correction component, representing the density contribution caused by gravity compaction that increases with depth; deeper voxels, due to higher overburden pressure, have a higher base density correction component, while surface voxels have a lower one. The second branch, called the moisture and heat conduction encoder, receives inputs focusing on the shortest moisture penetration distance and environmental temporal sensing data, features closely related to external environmental changes. Its output is a density fluctuation correction component, representing the dynamic density contribution caused by temperature changes and moisture migration, varying with time and space. Voxels near the surface are significantly affected by environmental fluctuations, resulting in a significant density fluctuation component; deeper voxels are less affected, with the density fluctuation component approaching zero. The outputs of the two branches are ultimately merged into the fusion output layer, where they are weighted and superimposed using a specific weighting strategy to generate the comprehensive predicted density value for each voxel. Organizing the comprehensive predicted density values of all voxels according to their spatial location forms a full-space density field description of the entire cargo pile's internal structure, consisting of a two-dimensional slice and a three-dimensional extension. This density field is not a single numerical value, but a three-dimensional matrix that perfectly corresponds to the voxel grid structure, clearly demonstrating the refined distribution of density at different depths and horizontal positions within the cargo pile.
[0034] For each voxel unit in the three-dimensional density field, its corresponding comprehensive predicted density value is extracted, and this density value is multiplied by the volume of the voxel unit itself to obtain the mass of material contained within that tiny volume unit. Subsequently, spatial integration is performed on all voxel units covered by the pile, and the masses of all voxels are summed to finally obtain the predicted total weight of the entire pile. Traditional methods use a globally uniform density coefficient multiplied by the total volume of the pile, assuming that the density is equal everywhere inside the pile; while this application utilizes the spatial non-uniform distribution characteristics of density inside the pile, and through voxel-level point-by-point density prediction and voxel-by-voxel accumulation, the final weight value naturally reflects the real shaping effect of gravity compaction and hygrothermal conduction on the density distribution in three-dimensional space, thus achieving a fundamental breakthrough in the physical mechanism level from dependence on a fixed density coefficient.
[0035] In some embodiments, extracting the surface morphological and mechanical features of the target cargo pile surface based on the three-dimensional point cloud model includes: The three-dimensional point cloud model is fitted with a local surface to calculate the principal curvature value in the neighborhood of each point cloud. The surface settlement curvature is constructed based on the principal curvature value, and the full surface settlement curvature is encoded and stored in the form of a curvature heat map to form a surface settlement curvature heat map. The three-dimensional point cloud model is segmented into slope regions, and the surface normal vector sequence of each slope direction of the target cargo pile is extracted. The angle between each slope normal vector and the horizontal plane is calculated to form the local repose angle grid distribution. The local repose angles of each slope direction are spatially registered and stored in the form of a direction-angle mapping table. The surface settlement curvature thermogram is spatially aligned and fused with the local repose angle grid distribution to generate a surface morphological mechanical feature matrix containing a joint feature vector of curvature and repose angle, which serves as the basic input of the physical embedded neural network.
[0036] The surface of a cargo pile is not an ideal flat slope. Under the influence of gravity compaction and uneven settlement of the foundation, the surface will exhibit varying degrees of uneven deformation. To accurately capture this degree of deformation, this application performs local surface fitting on each point in the 3D point cloud model and its surrounding neighboring points, that is, approximating the actual surface morphology at a microscale using mathematical surfaces. On the fitted local surface, the principal curvature values in two principal directions can be calculated. These two principal curvatures comprehensively reflect the degree of bending of the surface at that location in different directions. The greater the bending, the more significant the uneven compaction or settlement effect at that location. This application maps the principal curvature value of each point according to its spatial position on the cargo pile surface, encoding and storing the curvature distribution of the entire cargo pile surface in the form of a curvature heatmap. On this heatmap, different shades of color represent the degree of settlement and bending at different locations, transforming the deformation state of the cargo pile surface from abstract data into an intuitive spatial distribution image. This heatmap-based encoding method preserves both the precise numerical information of curvature and its spatial relationship, thus preparing the structure for subsequent fusion with the repose angle feature.
[0037] Bulk cargo piles typically consist of multiple slopes facing different directions. In a natural stacking state, each slope of granular material forms a relatively stable angle of inclination, known as the angle of repose. The size of the angle of repose is directly related to the material's flowability and internal shear strength; materials with better flowability have smaller angles of repose, and vice versa. Therefore, the angle of repose is an important mechanical parameter characterizing the physical properties of a material. To obtain the spatial distribution of this parameter, this application segments the 3D point cloud model into slope regions, dividing the pile surface into several independent slope regions based on orientation and inclination characteristics. For each segmented slope region, a dense sequence of surface normal vectors is extracted; the normal vector is the direction vector of each local surface orientation. Subsequently, the angle between each normal vector and the absolute horizontal plane is calculated; this angle is the surface inclination angle at that local location, which is also the angle of repose at that point. Organizing the angles of repose at all locations on the entire slope surface into a grid forms a local angle of repose grid distribution. It is worth noting that the angles of repose may differ depending on the slope orientation (e.g., the material accumulation state differs between the windward and leeward sides). Therefore, this application does not simply mix all the angles of repose together when storing these data. Instead, it spatially registers and stores them according to the spatial orientation of each slope in the form of a direction-angle mapping table. This means that each angle of repose value is accompanied by the orientation information and spatial location information of its respective slope, preserving both the numerical value of the angle and its directional attribute, making the angle of repose spatially locatable and traceable.
[0038] Surface settlement curvature and local angle of repose characterize two different physical properties of the cargo pile surface: curvature reflects the "deformation result that has already occurred" (response after passive stress), while the angle of repose reflects the "inherent resistance of the material to shear flow" (active physical characteristic). Their physical meanings are complementary, but when used alone, each has a limited information dimension and cannot form a complete description of the mechanical state of the cargo pile surface. Therefore, this application spatially aligns and fuses the aforementioned curvature thermogram with the angle of repose grid distribution. The premise of fusion is spatial alignment. Since both curvature and angle of repose data are based on the actual spatial coordinates of the cargo pile, curvature and angle of repose values at the same location can be matched as a pair based on the same spatial index position. After completing point-by-point matching, each pair of matched curvature and angle of repose values is combined into a joint feature vector. This vector simultaneously contains physical information in two dimensions: "degree of compaction deformation" and "inherent resistance of the material to shear." Organizing the joint feature vectors of all locations according to a spatial grid generates the final surface morphological mechanical feature matrix.
[0039] Figure 2 This is a schematic diagram illustrating the process of calculating the vertical overlying stress depth and the shortest water penetration distance in an embodiment of this application. Figure 2As shown, the calculation of the vertical overburden stress depth inside the target cargo pile and the shortest moisture penetration distance from the surface of the target cargo pile includes the following steps: S201. Based on the spatial bounding box of the three-dimensional point cloud model, the target cargo pile space is discretized into a three-dimensional voxel mesh according to the adaptive voxel size partitioning strategy. The adaptive voxel size partitioning strategy includes using a first voxel size for dense partitioning in areas where the surface curvature change rate is greater than a preset threshold, and using a second voxel size for sparse partitioning in areas where the surface curvature change rate is less than or equal to a preset threshold. The first voxel size is smaller than the second voxel size. S202. For each of the three-dimensional voxel units, the total mass of all voxel units directly above the three-dimensional voxel unit is accumulated upward along the direction of gravity. The total mass is obtained by summing the product of the initial base density of each voxel unit above and its respective volume. The total mass is divided by the horizontal projected area of the three-dimensional voxel unit to obtain the overlay mass per unit area. The overlay mass per unit area is divided by the reference loose bulk density of the material corresponding to the three-dimensional voxel unit to obtain the equivalent gravity compressive strength depth. The equivalent gravity compressive strength depth is used as the vertical overlay stress depth. S203. For each three-dimensional voxel unit, starting from the spatial position of the three-dimensional voxel unit, search along each spatial direction for the shortest Manhattan distance or Euclidean distance between the voxel and the surface voxel of the target cargo pile, and record the shortest distance obtained as the shortest water penetration distance from the surface of the target cargo pile. S204. The vertical overburden stress depth, the shortest water penetration distance, the surface morphological and mechanical characteristics, and the environmental time-series sensing data are aligned and stitched together voxel by voxel according to the spatial index of the voxel unit to form a multi-factor feature tensor consistent with the three-dimensional voxel grid spatial structure. Each voxel position in the multi-factor feature tensor corresponds to a spatial multi-factor feature vector.
[0040] This application employs an adaptive voxel size partitioning strategy based on the rate of change of surface curvature. Specifically, the system analyzes the surface of the 3D point cloud model and calculates the rate of change of surface curvature at each location. This parameter reflects the degree of spatial variation in the curvature of the cargo pile surface. Based on this, the cargo pile space is then partitioned differently: in areas with a large rate of change of surface curvature (such as the boundary line between the pile top and the slope, and abrupt changes in slope), a smaller first voxel size is used for denser partitioning, resulting in a finer computational mesh in these areas of dramatic physical change, accurately capturing spatial gradient changes in density; in areas with a small rate of change of surface curvature or near-flat areas (such as the middle of an open slope, or a flat pile top platform), a larger second voxel size is used for sparse partitioning, avoiding wasting computational resources in unnecessary areas. The first voxel size is significantly smaller than the second voxel size, thus controlling the overall number of voxels within an engineering-acceptable range while ensuring analytical accuracy in critical areas. The density of voxel division is driven entirely by the morphological complexity of the cargo stack itself. It automatically densifies in areas with complex morphology and automatically sparses in areas with smooth morphology, achieving an automatic optimal balance between computational accuracy and computational efficiency.
[0041] Vertical overburden depth is a core physical quantity characterizing the effect of gravity compaction. Its physical meaning is quite intuitive: for a voxel unit inside a cargo pile, the amount of material directly pressing down on it directly determines the degree of compaction it experiences. Bottom voxels with a material layer several meters thick experience significantly greater compressive force than surface voxels. This depth is not a simple geometric depth (i.e., the distance measured vertically from the top of the cargo pile to the voxel), but rather an equivalent mechanical depth calculated based on the actual weight of the material above. The calculation process is as follows: For each target voxel unit, trace back along the direction of gravity (i.e., vertically upward) to all voxel units directly above it. For each upper voxel, calculate the mass of material contained within it based on the product of its initial base density and its own volume. Add up the masses of all upper voxels to obtain the total mass of all material pressing down on the voxel. Divide this total mass by the horizontal projected area of the voxel unit (i.e., the base area of the voxel on the horizontal plane) to obtain the overburden mass per unit area. The physical significance of this step lies in normalizing the total mass across different horizontal areas to a unit area, eliminating the influence of differences in voxel horizontal dimensions, and making this physical quantity comparable across different locations. Dividing the overburden mass per unit area by the reference loose bulk density of the material corresponding to that voxel (this value is already recorded in the material initial property database) yields an equivalent gravity compaction depth in units of length. It is called "equivalent gravity compaction depth" because this value is not a simple geometric measurement depth, but a weighted equivalent depth that comprehensively considers the actual density distribution of the material above. If a section of material above has a higher density due to compaction, its contribution to this depth is greater than that of loose material with the same geometric thickness but lower density. This equivalent gravity compaction depth is defined as the vertical overburden stress depth of that voxel, and it reflects the true gravity compaction intensity borne by the voxel more accurately than a simple geometric depth.
[0042] The shortest moisture penetration distance characterizes the degree of influence of external environmental factors (temperature and moisture) on the density of a voxel. The core logic is that moisture and heat take time to conduct from the surface of the stockpile to its interior, and the longer and more tortuous the conduction path, the less impact it has on the voxel upon reaching it. Therefore, the closer a voxel is to the surface of the stockpile, the more direct and significant the impact of environmental temperature and humidity changes on its density; conversely, if a voxel is deeply embedded in the core of the stockpile, the impact of external environmental changes on it is much weaker. In specific calculations, starting from the spatial location of the target voxel unit, a search is performed in three-dimensional space in all directions to find the shortest path length from that voxel to any voxel on the surface of the stockpile. The search method can use Manhattan distance (i.e., a broken line distance moving only along the coordinate axes) or Euclidean distance (i.e., a straight-line spatial distance), chosen according to the actual accuracy requirements. It is important to note that the shortest moisture penetration distance is not simply the vertical distance from the center of the voxel to the surface, because the penetration path of moisture inside the stockpile may be affected by factors such as uneven material distribution and obstruction by local dense areas, causing it to detour. While in practice, for relatively uniform bulk stockpiles, the vertical straight-line distance is usually the shortest path, this application retains the flexibility to search in all directions to adapt to various complex stockpile shapes. The shortest distance obtained through the search is the shortest water penetration distance for the voxel. The smaller the distance, the closer the voxel is to the surface, and the more significantly it is affected by changes in ambient temperature and humidity; the larger the distance, the deeper the voxel is buried, and the weaker the environmental influence.
[0043] The data generated in the first three steps are then integrated and output. The four types of data—vertical overburden stress depth, shortest moisture penetration distance, surface morphological and mechanical characteristics (curvature-angle of repose joint feature matrix), and environmental temporal sensing data (temperature, humidity, wind speed, etc.)—come from different data sources, have different data structures and physical units, but all correspond to specific locations in the cargo stack space. Specifically, each voxel in the 3D voxel grid has a unique spatial coordinate index (e.g., numbered in the x, y, and z directions). The system extracts and concatenates all feature data belonging to the same voxel location, including the voxel's own overburden stress depth, its own shortest penetration distance, the surface morphological and mechanical characteristic value corresponding to that location, and the environmental sensing data corresponding to that location—into a complete feature vector. Organizing all voxel feature vectors according to a spatial structure completely consistent with the voxel grid forms a well-structured multi-factor feature tensor. This tensor corresponds one-to-one with the 3D voxel grid in the spatial dimension and contains all the major physical factors affecting density in the feature dimension. This quantity will serve as the standard input for subsequent physical embedded neural networks, enabling the neural network to simultaneously consider the pressure intensity borne by each voxel, the degree of environmental influence, the surface morphology and mechanical properties of its location, and the current environmental conditions when predicting the density of each voxel. This achieves the structured fusion of multi-source heterogeneous physical information within a unified three-dimensional spatial framework.
[0044] In some embodiments, discretizing the target cargo stack space into a three-dimensional voxel mesh according to an adaptive voxel size partitioning strategy includes: The global curvature field of the three-dimensional point cloud model is calculated, the average curvature value in the neighborhood of each point cloud is mapped to spatial coordinates, a continuous curvature field function of the target cargo pile surface is constructed, and the initial spatial boundary between the high curvature region and the low curvature region is determined according to the spatial distribution of the curvature field function. In the high curvature region, initial voxel division is performed according to a first voxel size, and in the low curvature region, initial voxel division is performed according to a second voxel size, wherein the first voxel size is smaller than the second voxel size; A gradient transition zone is provided at the boundary between the high curvature region and the low curvature region. Within the gradient transition zone, the voxel size gradually transitions from the first voxel size to the second voxel size along the spatial direction. The step size of the gradual transition is determined according to the rate of curvature change at the boundary. Based on the surface morphological and mechanical characteristics of the voxel unit and the estimated value of the vertical overburden stress depth, the predicted physical field gradient magnitude is calculated. When the predicted physical field gradient magnitude exceeds the preset gradient threshold, the voxel unit is recursively subdivided until the predicted physical field gradient magnitude of the subdivided sub-voxel unit is lower than the preset gradient threshold or reaches the preset minimum voxel size. Spatial connectivity verification and topological consistency repair are performed on all voxel units after recursive subdivision to generate the final three-dimensional voxel mesh.
[0045] For each point in the point cloud, a local surface fitting is performed on the set of points within its neighborhood, and the average curvature value at that location is calculated. These average curvature values are then mapped according to the coordinates of each point in actual space, attaching the curvature values to the corresponding spatial coordinates. After processing all the point cloud data, a continuous curvature field function covering the entire surface of the cargo pile is established. This function can provide the curvature value at any location on the cargo pile surface. With this curvature field function, the initial spatial boundary between high-curvature and low-curvature regions is automatically determined based on the spatial distribution of the curvature values. This boundary is not determined by a fixed absolute threshold (because the absolute range of curvature values varies greatly under different materials and different pile shapes), but rather based on the statistical distribution characteristics of the curvature field function, defining regions with relatively high curvature values as high-curvature regions and regions with relatively low curvature values as low-curvature regions. After completing the identification and spatial boundary division of high-curvature and low-curvature regions, the system performs differentiated initial voxel partitioning on different regions. In high-curvature regions, a smaller first voxel size is used for denser meshing, enabling high-resolution voxel representation in areas of dramatic shape changes. In low-curvature regions, a larger second voxel size is used for sparser meshing, avoiding wasting computational resources in areas with gentle shapes. The first voxel size is significantly smaller than the second voxel size. Regions with high surface curvature are typically the edges of the pile top, the toe of the pile, or areas of local collapse. These locations are often key areas of stress concentration or density abrupt changes, requiring a fine voxel mesh to accurately capture the spatial density gradient. Conversely, regions with low surface curvature are typically gentle slopes or flat platforms with relatively gradual density changes in the horizontal direction, where a coarse voxel mesh is sufficient to ensure computational accuracy.
[0046] If a direct jump in voxel size occurs at the boundary between a high-curvature dense region and a low-curvature sparse region (e.g., from a 0.1-meter voxel to a 0.5-meter voxel), the size difference between the voxels on either side of the boundary can be several times. This abrupt size change can lead to serious numerical problems: in subsequent physics calculations, excessively large differences in adjacent voxel sizes can cause a significant decrease in interpolation accuracy, distortion in numerical gradient calculations, and even computational oscillations and non-convergence. To address this issue, this application establishes a gradual transition zone at the boundary between the high-curvature and low-curvature regions. Within this transition zone, the voxel size does not jump abruptly, but rather gradually and smoothly transitions from a smaller first voxel size to a larger second voxel size along the spatial direction. The transition step size is not fixed but determined based on the rate of curvature change at the boundary. The more drastic the curvature change, the more rapid the morphological change, and the smaller the step size of the transition zone should be, so that the change in voxel size is more gradual; if the curvature change is relatively gentle, the step size of the transition zone can be appropriately increased, and the number of voxels in the transition zone can be reduced while ensuring a smooth transition.
[0047] The interior of a cargo pile may contain regions with relatively stable surface curvature but drastically changing internal physical fields, such as the compacted transition zone deep within the pile. While the surface morphology in this zone may lack distinct features, the density varies dramatically with depth. After initial voxel subdivision, the system pre-evaluates the predicted physical field gradient modulus for each voxel. Based on the surface morphology and mechanical characteristics of the voxel's location and the estimated depth of the vertical overburden stress, the system predicts the potential severity of physical field (density field) changes and quantifies this severity as a numerical value: the physical field gradient modulus. When the predicted physical field gradient modulus of a voxel exceeds a preset gradient threshold, it indicates a potential unresolved physical field abrupt change at that location, where the current voxel size is insufficient to accurately characterize the density variation. In this case, the system performs recursive subdivision of the voxel: dividing a large voxel into several smaller sub-voxels, and then re-evaluating the physical field gradient modulus of each sub-voxel. If the gradient modulus of a sub-voxel still exceeds the threshold, the subdivision continues, forming a recursive loop. This recursive process will continue until either of the following two conditions is met: First, the magnitude of the predicted physical field gradient of the sub-voxel decreases below a preset threshold, indicating that the voxel resolution at that point is sufficiently fine to characterize the physical field changes; Second, the size of the sub-voxel has reached the preset minimum voxel size limit. At this point, even if the physical field gradient is still high, further subdivision will not be performed to prevent the number of voxels from getting out of control.
[0048] After recursive subdivision, some topological imperfections may appear in the voxel mesh. The most typical problem is dangling nodes. When a voxel is subdivided while its adjacent voxels are not, at the interface between the two, the new vertex generated on the subdivided side happens to fall in the middle of the edge of the unsubdivided voxel, causing the nodes to not correspond one-to-one and destroying the topological consistency of the mesh. Such dangling nodes can cause logical errors in subsequent physics calculations (especially those involving the transfer of physical quantities between adjacent voxels). To solve this problem, this application performs spatial connectivity verification and topological consistency repair on all voxel elements after completing all recursive subdivision. Spatial connectivity verification checks whether there are shared surfaces between adjacent voxels and whether the nodes on the shared edges correspond one-to-one; topological consistency repair addresses the problems found by adjusting the subdivision level of adjacent voxels, supplementing the subdivision of neighboring voxels when necessary, or merging and reconnecting boundary nodes to eliminate all dangling nodes and discontinuous boundaries, restoring the topological purity of the mesh.
[0049] In some embodiments, the physical embedded neural network includes a parallel first prediction branch and a second prediction branch, as well as a fused output layer. The method of using the physical embedded neural network to predict the basic density correction components of each voxel caused by gravity compaction by combining the surface morphological and mechanical features with the vertical overburden stress depth, and to predict the density fluctuation correction components of each voxel caused by hygrothermal conduction by combining the shortest moisture penetration distance with environmental time-series sensing data, outputting the three-dimensional spatial predicted density field of the target cargo pile's internal structure, specifically includes: The spatial multi-factor feature vector is simultaneously input into the first prediction branch and the second prediction branch. The first prediction branch is a gravity compaction encoder, which takes the surface morphological mechanical features and the vertical overburden stress depth as inputs and outputs the basic density correction component of each voxel. The basic density correction component represents the static component of density increasing with depth caused by gravity compaction. The second prediction branch is a humid heat conduction encoder, which takes the shortest water penetration distance and the environmental time-series sensing data as inputs and outputs the density fluctuation correction component of each voxel. The density fluctuation correction component represents the dynamic component of density changing with time and space caused by temperature changes and water migration. The fusion output layer receives the base density correction component from the first prediction branch and the density fluctuation correction component from the second prediction branch. The base density correction component and the density fluctuation correction component are weighted and superimposed using a fusion weight matrix to generate a comprehensive predicted density value for each voxel. The set of comprehensive predicted density values for all voxels is used as the three-dimensional spatial predicted density field output for the internal structure of the target cargo pile.
[0050] First prediction branch: Gravity compaction encoder. This branch uses surface morphological characteristics and vertical overburden depth as core inputs to specifically capture density changes caused by gravity compaction. As mentioned earlier, the vertical overburden depth reflects the equivalent mechanical depth calculated from the total weight of material directly above the voxel; it is the most direct measure of the gravity compaction effect. The surface settlement curvature in the surface morphological characteristics reflects, from another perspective, the "traces" left by gravity on the surface of the stockpile over a long period. The more intense the compaction, the more the surface tends to sink and bend. The output of the gravity compaction encoder is defined as a basic density correction component, which represents a density contribution that increases with depth and is relatively stable. Voxels at the bottom of the stockpile bear the enormous pressure of all the material above, resulting in a significantly higher basic density correction component than surface voxels. It is called a "static component" because the dominant factor in this density change is spatial location (especially depth), and its variation is relatively stable over time, not changing rapidly with short-term fluctuations in external weather conditions. Second prediction branch: Moisture and heat conduction encoder. The second prediction branch uses the shortest moisture penetration distance and environmental temporal sensing data as core inputs to specifically capture density changes caused by temperature and moisture conduction. The shortest moisture penetration distance characterizes the "effective distance" between the voxel and the surface of the stockpile. The shorter this distance, the easier it is for heat and moisture from the external environment to reach the voxel through penetration and conduction, thus affecting the moisture content and temperature state of the material at that location. The environmental temporal sensing data records the dynamic information of external environmental temperature and humidity changes over time, characterizing the intensity and rhythm of the "external driving force." The output of the heat and moisture conduction encoder is defined as a density fluctuation correction component, which characterizes a density contribution that dynamically changes with time and spatial location. When the external environment changes drastically (such as a sudden increase in humidity due to rainfall or temperature fluctuations due to diurnal temperature differences), the density fluctuation correction component of voxels near the surface will change significantly; while voxels buried deep in the core of the stockpile, due to the long path from the surface, have their density fluctuation correction component significantly attenuated by the time external environmental changes reach them. After each branch completes its prediction independently, it outputs two density components with completely different physical meanings.
[0051] The core function of the fusion output layer is to synthesize the base density correction component from the first prediction branch and the density fluctuation correction component from the second prediction branch. Specifically, this layer uses a learnable fusion weight matrix for weighted superposition. The weight coefficients in the fusion weight matrix are automatically optimized and adjusted based on data during training to find the optimal ratio of the contributions of the two components under different materials and operating conditions. For different voxels in the same stockpile, the contribution ratios of the two physical branches are different. A deep voxel has a large overburden stress depth, meaning that gravity compaction is very strong. In this case, the base density correction component should be the main component of the overall density, occupying a large weight; while the moisture penetration distance is also large, and the influence of the external environment is significantly attenuated, so the density fluctuation correction component only occupies a small weight. Conversely, a surface voxel has an overburden stress depth close to zero, and the contribution of gravity compaction is negligible; the base density correction component may even approach zero. However, it is very close to the surface, and changes in the external environment will directly affect its temperature and moisture content. Therefore, the density fluctuation correction component becomes the main source of the overall density, occupying the dominant weight. The intermediate voxel layer, situated between the two components, receives contributions from both, resulting in a relatively balanced weighting. Through the aforementioned weighted superposition, each voxel unit obtains a comprehensive predicted density value, which naturally incorporates the combined effects of gravity compaction and hygrothermal conduction on density. Organizing all the comprehensive predicted density values of all voxels according to their spatial positions within the three-dimensional voxel grid forms a complete three-dimensional spatial predicted density field of the target cargo pile's internal structure. This output format of the three-dimensional predicted density field has significant engineering value. Traditional methods only provide a general average density value, completely losing information about the spatial distribution of density; while the three-dimensional density field output by this application fully preserves the spatial distribution details of density in the depth and horizontal directions. This not only allows the final total weight calculation to be based on the integral accumulation of voxel-level fine density, greatly improving measurement accuracy, but also provides port operators with an intuitive understanding of the density distribution within the cargo pile.
[0052] In some embodiments, the step of weighting and superimposing the basic density correction component and the density fluctuation correction component using a fusion weight matrix to generate a comprehensive predicted density value for each voxel specifically includes: Calculate the absolute value of the first residual between the base density correction component of each voxel and the standard empirical density of the corresponding material, and the absolute value of the second residual between the density fluctuation correction component of each voxel and zero. Based on the relative magnitude of the first and second absolute residual values, generate the first and second branch confidence scores for each voxel. The first branch confidence score is negatively correlated with the first absolute residual value, and the second branch confidence score is negatively correlated with the second absolute residual value. For each voxel unit, the gravity compaction dominance factor and the hygrothermal conduction dominance factor at the location of the voxel unit are calculated based on the vertical overburden stress depth and the shortest water penetration distance. The gravity compaction dominance factor is high when the vertical overburden stress depth is greater than the depth threshold, and the hygrothermal conduction dominance factor is high when the shortest water penetration distance is less than the distance threshold. The confidence scores of the first branch and the second branch are used as initial weights, and the initial weights are corrected according to the gravity compaction dominant factor and the hygrothermal conduction dominant factor to obtain the spatial adaptive fusion weights of each voxel. Based on the spatial adaptive fusion weights of each voxel, the basic density correction component and density fluctuation correction component of each voxel are weighted and summed to generate the comprehensive predicted density value of each voxel.
[0053] For the first prediction branch, its output base density correction component is compared with the standard empirical density of the corresponding material, and the absolute value of the residual between the two is calculated. The base density correction component represents the static component of density increasing with depth due to gravity compaction. For any voxel, regardless of how this density component changes, it should physically be within the same order of magnitude as the empirical density of the material. It reflects the change in the degree of compaction, not the essential change in density. If the deviation between the base density correction component and the standard empirical density of a voxel is abnormally large, it indicates that the prediction of this branch at that location may be physically unreasonable, and its reliability should be reduced. The larger the residual, the more the prediction of this branch deviates from the physical norm, and the lower its confidence level; the smaller the residual, the closer the prediction is to the physical benchmark, and the higher the confidence level. For the second prediction branch, its output density fluctuation correction component is compared with zero, and the absolute value of the residual is calculated. The density fluctuation correction component represents the density change caused by external environmental factors such as temperature and humidity. It is essentially a dynamic quantity fluctuating around zero. When the environment is stable, this component approaches zero; when the environment changes drastically, this component deviates from zero. However, regardless of the deviation, its theoretical mean should be zero, because hygrothermal conduction itself does not create a long-term trend in density, but rather superimposes a fluctuation component with a zero mean on top of the base density. If the density fluctuation correction component of a voxel deviates abnormally from zero and the deviation is far beyond the fluctuation range that should exist for that voxel's physical location (for example, a deep voxel outputs a huge fluctuation component), it indicates that the prediction of that branch at that location may be problematic, and its confidence level should be reduced. Based on the above logic, the confidence levels of the two branches are calculated for each voxel: the confidence level of the first branch is negatively correlated with the absolute value of the first residual, and the larger the residual, the lower the confidence level; the confidence level of the second branch is negatively correlated with the absolute value of the second residual.
[0054] For each voxel, its dominant physical region is determined based on two physical quantities: its vertical overburden stress depth and its shortest moisture penetration distance. The logic of this determination is intuitive and aligns with physical intuition: when the vertical overburden stress depth is greater than a preset depth threshold, it indicates that the voxel is located deep within the cargo pile, with a large mass of material directly overhead, resulting in strong gravity compaction; therefore, the gravity compaction dominance factor is set to high. Conversely, when the voxel is close to the surface (vertical overburden stress depth less than the threshold), the gravity effect is relatively weak. Similarly, when the shortest moisture penetration distance is less than a preset distance threshold, it indicates that the voxel is very close to the cargo pile surface, where external temperature and moisture changes can be rapidly conducted, resulting in significant heat and moisture conduction; therefore, the heat and moisture conduction dominance factor is set to high. When a voxel does not meet both of the above conditions (i.e., it is in an intermediate region that is neither too deep nor too shallow), both factors are set to medium or low, indicating that the region is in a coupling zone of two physical mechanisms, requiring a balanced consideration of their contributions.
[0055] The calculated confidence scores of the first and second branches are used as initial weights, which are then adjusted based on the gravity compaction and hygrothermal conduction dominance factors obtained in the second step. In voxel regions where the vertical overburden stress depth is greater than the depth threshold (i.e., deep heavy-load areas), the fusion weight of the first prediction branch is increased because gravity compaction is absolutely dominant in this region, and the prediction of the base density correction component should be more reliable. Simultaneously, the fusion weight of the second prediction branch is correspondingly decreased because hygrothermal conduction has extremely limited influence at this depth, and even if the density fluctuation correction component is accurate, its contribution to the actual density is negligible and should not occupy an excessively high decision weight. Conversely, in voxel regions where the shortest moisture penetration distance is less than the distance threshold (i.e., surface hygrothermal influence areas), the fusion weight of the second prediction branch is increased because density changes in this region are mainly driven by environmental temperature and humidity fluctuations, and the density fluctuation correction component is closer to the actual situation. Simultaneously, the fusion weight of the first prediction branch is correspondingly decreased because the overburden stress depth of the surface voxels is extremely low, gravity compaction is almost non-existent, and the base density correction component is not the main contradiction in density changes at this location. For the intermediate transitional region that is neither a deep pressure zone nor a surface humid heat-affected zone, the dominant factors of both branches are medium or low. At this time, the magnitude of weight correction is small, the initial confidence level basically maintains its dominant role, and the two branches participate in the fusion in a relatively balanced proportion.
[0056] After obtaining the spatially adaptive fusion weights specific to each voxel, the final step is relatively straightforward but significant: based on the fusion weights of each voxel, the base density correction component and the density fluctuation correction component of the same voxel are weighted and summed to obtain the comprehensive predicted density value of that voxel. For voxels in deep, heavily compressed areas, their comprehensive density is mainly composed of the base density correction component, while the contribution of the density fluctuation correction component is significantly reduced or even close to zero; for voxels in surface humid and hot areas, their comprehensive density is mainly composed of the density fluctuation correction component, while the base density correction component provides only a small base value; for voxels in intermediate coupled regions, the two components together constitute the comprehensive density in a relatively balanced proportion.
[0057] In some embodiments, the method further includes: After the target cargo pile is weighed, the global error index of the physical embedded neural network is calculated based on the deviation between the actual weighed weight and the true total weight, and a voxel-level error distribution map is constructed based on the local prediction deviation at each voxel position. Based on the voxel-level error distribution map, voxel regions with prediction errors exceeding a preset error threshold are identified as high-error regions. The voxel space multi-factor feature vectors in the high-error regions are marked and assigned higher sampling weights than ordinary samples to form a weighted incremental training sample set. The weighted incremental training sample set is used to perform incremental training on the physical embedded neural network. During the incremental training process, the parameters of the bottom feature extraction layer of the physical embedded neural network are frozen, and only the parameters of the fusion output layer are updated. An elastic weight reinforcement regularization term is introduced into the loss function. After incremental training is completed, the physical embedded neural network before and after the update is compared and verified using an independent validation sample set. When the prediction error of the updated physical embedded neural network on the validation sample set is lower than that of the physical embedded neural network before the update and the reduction exceeds a preset threshold, the updated physical embedded neural network replaces the physical embedded neural network.
[0058] While the density prediction of each voxel cannot be verified individually (because no sensor can directly measure the true density of a tiny voxel), when the global weighing result is known, the global error can be reasonably back-projected onto each voxel by analyzing the spatial location characteristics and predicted value distribution of each voxel, forming a voxel-level error estimate. For example, if the predicted total weight of a stockpile is significantly greater than the actual weighing weight, and the error is likely mainly due to an overestimation of the density of deep voxels (judged based on physical experience), then the deep voxel region will be assigned a larger error value. The voxel-level error distribution map is essentially a data field that is spatially identical to the three-dimensional voxel grid, where each voxel location stores not the density value, but rather the estimated prediction error value at that voxel.
[0059] After the voxel-level error distribution map is drawn, the system immediately scans and analyzes it to identify voxel regions where the prediction error exceeds a preset error threshold; these regions are called high-error regions. The system specially labels the voxel-space multi-factor feature vectors within the high-error regions and assigns them higher sampling weights than ordinary samples. This means that in subsequent incremental training, samples from high-error regions have a much higher probability of being selected than those from correctly predicted regions. After the above labeling and weighting, the system forms a weighted incremental training sample set. This selective, targeted learning is more efficient than indiscriminately using all new data, resulting in smaller incremental training scale, faster convergence speed, and more significant improvement.
[0060] The low-level feature extraction layer of the physical embedded neural network is responsible for converting the raw input features into high-level abstract feature representations. After initial training, these low-level networks have learned how to extract density-related physical patterns from spatial multi-factor features, such as how to identify the compaction state corresponding to different curvature morphologies and how to perceive the nonlinear relationship between overburden stress depth and density. This knowledge is universal and applicable to various types of cargo piles and various operating conditions. During incremental training, the system completely freezes the parameters of the low-level feature extraction layer, preventing them from being updated by new data. In contrast to freezing the low-level layer, the system only updates the parameters of the fusion output layer. When new data indicates that the fusion strategy of the model needs to be adjusted in certain spatial regions (e.g., the contribution of a certain material to the wet-heat branch is underestimated under specific operating conditions), the high-level network can adjust the fusion strategy through parameter updates without changing the low-level physical feature extraction method. Simply freezing the low-level layer is not enough, because the parameter updates of the high-level network may also be forgotten. Although some high-level fusion weight parameters perform well on the current new data, they may be crucial for the accurate prediction of certain cargo piles in the past. To this end, this application introduces an elastic weight consolidation regularization term in the loss function of incremental training. The core working mechanism of the elastic weight consolidation regularization term can be understood as follows: for each trainable parameter in the physically embedded neural network, its contribution to the overall prediction performance is continuously evaluated during historical training, and this contribution is quantified as an importance coefficient. When new stockpile data arrives and the model performs incremental training, the elastic weight consolidation regularization term imposes a strong update penalty on parameters with high importance in the loss function, keeping them as close as possible to their historical optimum in the parameter space; while allowing parameters with low importance to explore freely with larger step sizes. In this application, the nonlinear mapping relationship between vertical overburden stress depth and density is universal across all stockpiles, thus the network parameters supporting this mapping accumulate high importance coefficients. Similarly, the correspondence between surface settlement curvature and internal compaction state, as well as the different compaction responses of materials with different angles of repose under the same overburden stress, these parameters involved in the extraction of underlying physical features are also given high importance coefficients by the elastic weight consolidation regularization term, thus being effectively protected during incremental training. In contrast, the high-level parameters in the fusion output layer that are responsible for the weighting ratio of gravity branches and damp heat branches under specific material categories and seasonal working conditions have relatively low importance coefficients because the patterns they represent have strong scenario specificity. Therefore, they are allowed to be flexibly adjusted under new data-driven conditions to adapt to new operating conditions.
[0061] This application validates the updated model and the old model on independent validation sample sets. By comparing the prediction errors of the new and old models on the validation set, it is possible to objectively determine whether the incremental update has brought about substantial progress. The system will only replace the current online prediction model with the updated physical embedded neural network if the prediction error of the updated physical embedded neural network on the validation sample set is lower than that of the old model, and the reduction exceeds a preset threshold. If the prediction error of the updated physical embedded neural network fails to be lower than that of the old model, or if the reduction is less than the threshold, the system will abandon the update result, retain the current model, and record the update failure log for technical personnel to analyze the reasons for the failure.
[0062] The above describes the multi-factor dynamic correction method for bulk cargo density in the embodiments of this application. The computer system in the embodiments of this application will be described in detail below in conjunction with the above multi-factor dynamic correction method for bulk cargo density.
[0063] Please see Figure 3 This is a schematic diagram of an exemplary hardware structure of a computer system in an embodiment of this application.
[0064] In some embodiments, the computer system 300 includes a computer device, which may be a terminal device. The computer device includes a processor 301, a memory 302, a sensor module 303, a communication module 304, an input device 305, and an output device 306 connected via a system bus. The processor 301 of the computer device provides computing and control capabilities. The memory 302 of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database is used to store data.
[0065] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0066] In some embodiments of this application, a computer-readable storage medium is provided, including instructions that, when executed on a computer system 300, cause the computer system 300 to perform the multi-factor dynamic correction method for bulk cargo density in the embodiments of this application.
[0067] In some embodiments of this application, a computer program product is also provided, which, when run on a computer system 300, causes the computer system 300 to execute the multi-factor dynamic correction method for bulk cargo density in the embodiments of this application.
[0068] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0069] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0070] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for dynamic correction of bulk cargo density using multiple factors, characterized in that, include: A three-dimensional point cloud model of the target cargo pile is acquired using drone equipment, and environmental time-series sensing data and initial basic density of materials are acquired simultaneously. Based on the three-dimensional point cloud model, the surface morphological mechanical features of the target cargo pile are extracted, including surface settlement curvature and local repose angle grid distribution. The three-dimensional point cloud model is divided into multiple discrete three-dimensional voxel units. For each three-dimensional voxel unit, the vertical overburden stress depth inside the target cargo pile and the shortest water penetration distance from the surface of the target cargo pile are calculated and aligned with the surface morphological and mechanical features and the environmental time-series sensing data to form a spatial multi-factor feature vector corresponding to each three-dimensional voxel unit. The spatial multi-factor feature vector is input into a preset physical embedded neural network for feature extraction and attention fusion prediction. Through the physical embedded neural network, the basic density correction components of each voxel caused by gravity compaction are predicted by combining the surface morphological mechanical features and the vertical overburden stress depth. The density fluctuation correction components of each voxel caused by humid heat conduction are predicted by combining the shortest water penetration distance and the environmental time-series sensing data. The three-dimensional spatial predicted density field of the internal structure of the target cargo pile is then output. Based on the predicted density field in three-dimensional space, the dynamic correction density value corresponding to each three-dimensional voxel unit is extracted. The dynamic correction density value is multiplied by the volume of each three-dimensional voxel unit, and the actual total weight of the target cargo pile after multi-factor dynamic correction is calculated by accumulating the three-dimensional spatial integral.
2. The method according to claim 1, characterized in that, The extraction of surface morphological and mechanical features of the target cargo pile surface based on the three-dimensional point cloud model includes: The three-dimensional point cloud model is fitted with a local surface to calculate the principal curvature value in the neighborhood of each point cloud. The surface settlement curvature is constructed based on the principal curvature value, and the full surface settlement curvature is encoded and stored in the form of a curvature heat map to form a surface settlement curvature heat map. The three-dimensional point cloud model is segmented into slope regions, and the surface normal vector sequence of each slope direction of the target cargo pile is extracted. The angle between each slope normal vector and the horizontal plane is calculated to form the local repose angle grid distribution. The local repose angles of each slope direction are spatially registered and stored in the form of a direction-angle mapping table. The surface settlement curvature thermogram is spatially aligned and fused with the local repose angle grid distribution to generate a surface morphological mechanical feature matrix containing a joint feature vector of curvature and repose angle, which serves as the basic input of the physical embedded neural network.
3. The method according to claim 1, characterized in that, The process of dividing the three-dimensional point cloud model into multiple discrete three-dimensional voxel units, and for each three-dimensional voxel unit, calculating the vertical overburden stress depth inside the target cargo pile and the shortest moisture penetration distance from the surface of the target cargo pile, specifically includes: Based on the spatial bounding box of the three-dimensional point cloud model, the target cargo pile space is discretized into a three-dimensional voxel mesh according to the adaptive voxel size partitioning strategy. The adaptive voxel size partitioning strategy includes using a first voxel size for dense partitioning in areas where the surface curvature change rate is greater than a preset threshold, and using a second voxel size for sparse partitioning in areas where the surface curvature change rate is less than or equal to the preset threshold. The first voxel size is smaller than the second voxel size. For each of the three-dimensional voxel units, the total mass of all voxel units directly above the three-dimensional voxel unit is accumulated upward along the direction of gravity. The total mass is obtained by summing the product of the initial base density of each voxel unit above and its respective volume. The total mass is divided by the horizontal projected area of the three-dimensional voxel unit to obtain the overlay mass per unit area. The overlay mass per unit area is divided by the reference loose bulk density of the material corresponding to the three-dimensional voxel unit to obtain the equivalent gravity compressive strength depth. The equivalent gravity compressive strength depth is used as the vertical overlay stress depth. For each three-dimensional voxel unit, starting from the spatial position of the three-dimensional voxel unit, the shortest Manhattan distance or Euclidean distance between the target cargo pile surface voxel and the target cargo pile surface voxel is searched along each spatial direction, and the shortest distance obtained is recorded as the shortest water penetration distance from the target cargo pile surface. The vertical overlying stress depth, the shortest water penetration distance, the surface morphological and mechanical characteristics, and the environmental time-series sensing data are aligned and stitched together voxel by voxel according to the spatial index of the voxel unit to form a multi-factor feature tensor consistent with the spatial structure of the three-dimensional voxel grid. Each voxel position in the multi-factor feature tensor corresponds to a spatial multi-factor feature vector.
4. The method according to claim 1, characterized in that, The discretization of the target cargo stack space into a three-dimensional voxel mesh according to the adaptive voxel size partitioning strategy includes: The global curvature field of the three-dimensional point cloud model is calculated, the average curvature value in the neighborhood of each point cloud is mapped to spatial coordinates, a continuous curvature field function of the target cargo pile surface is constructed, and the initial spatial boundary between the high curvature region and the low curvature region is determined according to the spatial distribution of the curvature field function. In the high curvature region, initial voxel division is performed according to a first voxel size, and in the low curvature region, initial voxel division is performed according to a second voxel size, wherein the first voxel size is smaller than the second voxel size; A gradient transition zone is provided at the boundary between the high curvature region and the low curvature region. Within the gradient transition zone, the voxel size gradually transitions from the first voxel size to the second voxel size along the spatial direction. The step size of the gradual transition is determined according to the rate of curvature change at the boundary. Based on the surface morphological and mechanical characteristics of the voxel unit and the estimated value of the vertical overburden stress depth, the predicted physical field gradient magnitude is calculated. When the predicted physical field gradient magnitude exceeds the preset gradient threshold, the voxel unit is recursively subdivided until the predicted physical field gradient magnitude of the subdivided sub-voxel unit is lower than the preset gradient threshold or reaches the preset minimum voxel size. Spatial connectivity verification and topological consistency repair are performed on all voxel units after recursive subdivision to generate the final three-dimensional voxel mesh.
5. The method according to claim 1, characterized in that, The physical embedded neural network includes a parallel first prediction branch and a second prediction branch, as well as a fusion output layer. The physical embedded neural network, combined with the surface morphological and mechanical characteristics and the vertical overburden stress depth, predicts the basic density correction components of each voxel caused by gravity compaction. It also combines the shortest moisture penetration distance and environmental time-series sensing data to predict the density fluctuation correction components of each voxel caused by hygrothermal conduction. The network outputs a three-dimensional spatial predicted density field of the target cargo pile's internal structure, specifically including: The spatial multi-factor feature vector is simultaneously input into the first prediction branch and the second prediction branch. The first prediction branch is a gravity compaction encoder, which takes the surface morphological mechanical features and the vertical overburden stress depth as inputs and outputs the basic density correction component of each voxel. The basic density correction component represents the static component of density increasing with depth caused by gravity compaction. The second prediction branch is a humid heat conduction encoder, which takes the shortest water penetration distance and the environmental time-series sensing data as inputs and outputs the density fluctuation correction component of each voxel. The density fluctuation correction component represents the dynamic component of density changing with time and space caused by temperature changes and water migration. The fusion output layer receives the base density correction component from the first prediction branch and the density fluctuation correction component from the second prediction branch. The base density correction component and the density fluctuation correction component are weighted and superimposed using a fusion weight matrix to generate a comprehensive predicted density value for each voxel. The set of comprehensive predicted density values for all voxels is used as the three-dimensional spatial predicted density field output for the internal structure of the target cargo pile.
6. The method according to claim 1, characterized in that, The step of weighting and superimposing the basic density correction component and the density fluctuation correction component using a fusion weight matrix to generate a comprehensive predicted density value for each voxel specifically includes: Calculate the absolute value of the first residual between the base density correction component of each voxel and the standard empirical density of the corresponding material, and the absolute value of the second residual between the density fluctuation correction component of each voxel and zero. Based on the relative magnitude of the first and second absolute residual values, generate the first and second branch confidence scores for each voxel. The first branch confidence score is negatively correlated with the first absolute residual value, and the second branch confidence score is negatively correlated with the second absolute residual value. For each voxel unit, the gravity compaction dominance factor and the hygrothermal conduction dominance factor at the location of the voxel unit are calculated based on the vertical overburden stress depth and the shortest water penetration distance. The gravity compaction dominance factor is high when the vertical overburden stress depth is greater than the depth threshold, and the hygrothermal conduction dominance factor is high when the shortest water penetration distance is less than the distance threshold. The confidence scores of the first branch and the second branch are used as initial weights, and the initial weights are corrected according to the gravity compaction dominant factor and the hygrothermal conduction dominant factor to obtain the spatial adaptive fusion weights of each voxel. Based on the spatial adaptive fusion weights of each voxel, the basic density correction component and density fluctuation correction component of each voxel are weighted and summed to generate the comprehensive predicted density value of each voxel.
7. The method according to claim 1, characterized in that, The method also includes: After the target cargo pile is weighed, the global error index of the physical embedded neural network is calculated based on the deviation between the actual weighed weight and the true total weight, and a voxel-level error distribution map is constructed based on the local prediction deviation at each voxel position. Based on the voxel-level error distribution map, voxel regions with prediction errors exceeding a preset error threshold are identified as high-error regions. The voxel space multi-factor feature vectors in the high-error regions are marked and assigned higher sampling weights than ordinary samples to form a weighted incremental training sample set. The weighted incremental training sample set is used to perform incremental training on the physical embedded neural network. During the incremental training process, the parameters of the bottom feature extraction layer of the physical embedded neural network are frozen, and only the parameters of the fusion output layer are updated. An elastic weight reinforcement regularization term is introduced into the loss function. After incremental training is completed, the physical embedded neural network before and after the update is compared and verified using an independent validation sample set. When the prediction error of the updated physical embedded neural network on the validation sample set is lower than that of the physical embedded neural network before the update and the reduction exceeds a preset threshold, the updated physical embedded neural network is used as a new online model.
8. A computer system comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
