Soil analysis test equipment
By designing a soil analysis and testing equipment including water tanks, soil disintegration testing equipment, electronic equipment and imaging equipment, the problem that the prior art cannot conduct disintegration experiments in the relative motion of soil and water is solved, and a more accurate and reliable research on soil disintegration characteristics is achieved.
Patent Information
- Application Number
- CN202510638693.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-05-19
AI Technical Summary
The prior art cannot conduct disintegration experiments in the state of relative movement of soil and water, and cannot effectively study the disintegration characteristics of soil.
A soil analysis and testing equipment is designed, including water tanks, soil disintegration testing equipment, electronic equipment and imaging equipment, which can simulate the disintegration process of soil samples in the relative motion state between water and soil samples, and record the mass change data and water images of soil samples during the disintegration process.
The ability to study soil disintegration characteristics in the state of relative movement of soil and water is achieved, providing more accurate and reliable soil water sensitivity and dispersion data, reducing interference from human factors, and improving data accuracy and repeatability.
Smart Images

Figure CN120161188A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of soil analysis, and particularly to soil analysis test equipment. Background Art
[0002] The disintegration experiment is an important means to study the water stability of soil masses. In the fields of agricultural engineering, geotechnical engineering, etc., whether the soil mass meets the construction requirements can be judged by the disintegration situation of the soil mass. Therefore, the research on the disintegration characteristics of soil masses has important practical significance.
[0003] Existing disintegration experiments are all carried out under the state where the soil mass and water are relatively static. However, under natural conditions, the soil mass will be scoured by water flow. Therefore, it is also very important to study the disintegration characteristics of the soil mass under the state where the soil mass and water are relatively moving. However, the prior art cannot realize the disintegration experiment under the state where the soil mass and water are relatively moving.
[0004] Therefore, how to study the disintegration characteristics of the soil mass under the state where the soil mass and water are relatively moving has become an urgent problem to be solved. Summary of the Invention
[0005] In view of this, the present invention provides a soil analysis test equipment to solve the problem of how to study the disintegration characteristics of the soil mass under the state where the soil mass and water are relatively moving.
[0006] In a first aspect, the present invention provides a soil analysis test equipment, which includes: a water tank, a soil disintegration test equipment, an electronic device, and a camera device. The electronic device is communicatively connected to the camera device and the soil disintegration test equipment, wherein: The water tank is used for containing water; The soil disintegration test equipment is used for simulating the disintegration process under the state where the soil sample and water are relatively moving, and recording the mass change data of the soil sample during the disintegration process; The camera device is used for taking a water body image corresponding to the water body in the soil disintegration test equipment during the disintegration process of the soil sample; The electronic device is used for identifying the mass change data to determine the soil water sensitivity corresponding to the soil sample; and identifying the water body image to determine the soil dispersion degree corresponding to the soil sample.
[0007] The soil analysis test equipment provided by this application includes a water tank for holding water. A soil disintegration test equipment is used to simulate the disintegration process of a soil sample under the relative movement state of the soil body and water, and record the mass change data of the soil sample during the disintegration process. Being able to simulate the disintegration process of the soil sample under the relative movement state of the soil body and water helps to reproduce as realistically as possible the actual situation of the soil body encountering water in the natural environment under laboratory conditions. Through this simulation, the stability and related characteristics of the soil body under the action of water can be studied more accurately. A camera device is used to take water body images corresponding to the water in the soil disintegration test equipment during the disintegration process of the soil sample. An electronic device is used to identify the mass change data to determine the soil water sensitivity corresponding to the soil sample; and identify the water body images to determine the soil dispersion degree corresponding to the soil sample. Thus, the soil characteristics can be analyzed from different perspectives. By determining the soil water sensitivity through the mass change data and the soil dispersion degree from the water body images, this multi-dimensional analysis method can comprehensively understand the properties of the soil body, providing richer and more accurate information for soil research and related engineering applications. It reduces the interference of human factors and improves the accuracy and reliability of the data. Moreover, the equipment has a high degree of automation and can collect and analyze data according to preset programs and algorithms, ensuring the repeatability and consistency of the test results, which is conducive to the comparison and communication of results between different research institutions or test personnel. Thus, the disintegration characteristics of the soil body are studied under the relative movement state of the soil body and water.
[0008] In an alternative embodiment, the water tank is divided into two water body areas. The soil disintegration test equipment includes: two mesh hanging baskets, and the two mesh hanging baskets respectively extend into the two corresponding water body areas of the water tank; one of the mesh hanging baskets is connected to a lifting rod, the lifting rod can drive the mesh hanging basket to move up and down, the lifting rod is connected to a motor, and the mesh hanging basket is connected to a first electronic scale; the other mesh hanging basket is connected to a second electronic scale, and the motor, the first electronic scale and the second electronic scale are all communicatively connected to the electronic device, where: Each mesh hanging basket is used to hold a soil sample; The electronic device is used to control the motor to drive the lifting rod to move up and down at a preset speed so that the soil sample and the water have a preset relative movement speed, and a disintegration test can be carried out under the condition of relative movement between the soil sample and the water; The first electronic scale is used to measure the first initial mass of the mesh hanging basket corresponding to the first electronic scale when it is immersed in water, and the first target mass corresponding to the mesh hanging basket after a preset time; The second electronic scale is used to measure the second initial mass of the mesh hanging basket corresponding to the second electronic scale when it is immersed in water, and the second target mass corresponding to the mesh hanging basket after a preset time; An electronic device is used to calculate the soil water sensitivity of a soil sample corresponding to a preset duration at a preset relative movement speed based on a first initial mass, a first target mass, a second initial mass, and a second target mass.
[0009] The soil analysis test equipment provided by this application includes grid hanging baskets for holding soil samples. An electronic device is used to control the motor to drive the lifting rod to move up and down at a preset speed, so that the soil sample and the water body have a preset relative movement speed, and a disintegration test can be carried out under the condition of relative movement between the soil sample and the water body. This design simulates the relative movement of soil in the natural environment due to factors such as water flow scouring and groundwater fluctuation. In the actual soil around rivers and lakes, or the foundation soil affected by groundwater flow, it will be in a similar dynamic water environment. By simulating the disintegration test under such relative movement conditions, more realistic soil water sensitivity data can be obtained, making the research results more practically guiding, and providing reliable soil property references for projects such as water conservancy projects and road and bridge construction facing complex hydrogeological conditions. In addition, by adjusting the preset speed, different intensities of water flow action or relative movement scenarios between the soil and water can be simulated. A first electronic scale is used to measure the first initial mass of the grid hanging basket corresponding to the first electronic scale when it is immersed in the water body, and the first target mass of the grid hanging basket after a preset duration. A second electronic scale is used to measure the second initial mass of the grid hanging basket corresponding to the second electronic scale when it is immersed in the water body, and the second target mass of the grid hanging basket after a preset duration. An electronic device is used to calculate the soil water sensitivity of the soil sample corresponding to a preset duration at a preset relative movement speed based on the first initial mass, the first target mass, the second initial mass, and the second target mass, ensuring the accuracy of the obtained soil water sensitivity.
[0010] In an optional implementation manner, the electronic device is used to calculate the first disintegration degree by dividing the difference between the first initial mass and the first target mass by the first initial mass; calculate the second disintegration degree by dividing the difference between the second initial mass and the second target mass by the second initial mass; calculate the soil water sensitivity corresponding to the soil sample at the relative movement speed by dividing the first disintegration degree by the second disintegration degree.
[0011] The soil analysis test equipment provided by this application calculates the first disintegration degree by dividing the difference between the first initial mass and the first target mass by the first initial mass, so as to obtain the disintegration degree of the soil sample under the condition of relative movement. The second disintegration degree is calculated by dividing the difference between the second initial mass and the second target mass by the second initial mass, so as to obtain the disintegration degree of the soil sample in the static state. By dividing the first disintegration degree by the second disintegration degree, the soil water sensitivity corresponding to the soil sample under the relative movement speed is calculated, ensuring the accuracy of the soil water sensitivity corresponding to the soil sample at the preset relative movement speed and within the preset time duration.
[0012] In an alternative embodiment, each soil disintegration test equipment includes: at least one water jet and at least one wave maker, where: The water jet is used to adjust the jet angle and flow rate under the control of the electronic device to generate water flows with different speeds, different directions, and different intensities; The wave maker is used to generate waves with various wavelengths and wave heights under the control of the electronic device to further simulate different water body intensities and water pressures; The electronic device is used to calculate the soil water sensitivity corresponding to the soil sample under each relative movement speed, each water body intensity, and each water pressure.
[0013] The soil analysis test equipment provided by this application, the water jet is used to adjust the jet angle and flow rate under the control of the electronic device to generate water flows with different speeds, different directions, and different intensities; the wave maker is used to generate waves with various wavelengths and wave heights under the control of the electronic device to further simulate different water body intensities and water pressures; the electronic device is used to calculate the soil water sensitivity corresponding to the soil sample under each relative movement speed, each water body intensity, and each water pressure, so as to be able to simulate diverse water flow conditions in the natural environment, such as the rapid flow and slow flow in rivers, and the change of the seepage direction of groundwater, etc., and simulate the disintegration process of the soil sample under waves with various wavelengths and wave heights. Furthermore, the soil water sensitivity corresponding to the soil sample under each relative movement speed, each water body intensity, and each water pressure is calculated.
[0014] In an alternative embodiment, the soil disintegration test equipment further includes a pH monitoring probe and an EC monitoring probe. Both the pH monitoring probe and the EC monitoring probe are communicatively connected to the electronic device, where: The pH monitoring probe is used to monitor the pH value of the water body to obtain the change data of the water body pH value during the disintegration process of the soil sample; The EC monitoring probe is used to monitor the water body conductivity of the water body to obtain the change data of the water body conductivity during the disintegration process of the soil sample; A camera device for taking at least one water body image of the water body area corresponding to the grid hanging basket connected to the second electronic scale during the disintegration process of the soil sample. An electronic device for inputting the water body image, the water body pH value change data, and the water body conductivity change data into a preset soil dispersion model and outputting the soil dispersion corresponding to the soil sample.
[0015] The soil analysis test equipment provided by this application, a pH monitoring probe for monitoring the pH value of the water body to obtain the water body pH value change data during the disintegration process of the soil sample, which can reflect the dissolution, reaction, etc. of acid-base substances during the soil disintegration process. For example, if the soil contains alkaline minerals, the dissolution of alkaline substances during disintegration will increase the pH value of the water body, and this process can be traced through the pH value change data. An EC monitoring probe for monitoring the water body conductivity of the water body to obtain the water body conductivity change data during the disintegration process of the soil sample; it can intuitively reflect the change in the amount and type of ions released in the soil because the change in ion concentration directly affects the conductivity. These two chemical characteristic data complement the physical form information provided by the water body image, providing a rich data basis for determining the soil dispersion from different dimensions and making the analysis more comprehensive and accurate. A camera device for taking at least one water body image of the water body area corresponding to the grid hanging basket connected to the second electronic scale during the disintegration process of the soil sample. An electronic device for inputting the water body image, the water body pH value change data, and the water body conductivity change data into a preset soil dispersion model and outputting the soil dispersion corresponding to the soil sample. Different types of data contain different information about soil dispersion, and after integration, it can make up for the limitations of single data. For example, the water body image can show the macroscopic distribution and turbidity of soil particles, while the pH value and conductivity change data can reveal the influence of the release and reaction of internal chemical components of the soil on the dispersion process. By integrating these information through the model, more in-depth and accurate soil dispersion characteristics can be mined, improving the accuracy of determining soil dispersion.
[0016] In an alternative embodiment, the preset soil dispersion model includes a feature extraction network and a soil dispersion discriminator, where: An electronic device for inputting the water body image, the water body pH value change data, and the water body conductivity change data into the feature extraction network in the preset soil dispersion model; The feature extraction network extracts the RGB features and image features corresponding to the water body image; the image features include at least one of the water body turbidity feature and the water body texture feature; The feature extraction network captures the front and back features of the water body pH value change data and the water body conductivity change data from the front and back to obtain the water body pH value forward feature, the water body pH value backward feature, the water body conductivity forward feature, and the water body conductivity backward feature; The feature extraction network determines the key time series in the water body pH value change data and the water body conductivity change data based on the attention mechanism, and obtains the key time series of the water body pH value and the key time series of the water body conductivity; Identify the key time series of the water body pH value and the key time series of the water body conductivity to determine the key features of the water body pH value and the key features of the water body conductivity; Perform feature fusion on the RGB features, image features, forward features of the water body pH value, backward features of the water body pH value, forward features of the water body conductivity, backward features of the water body conductivity, key features of the water body pH value, and key features of the water body conductivity to generate initial fusion features; Input the initial fusion features into the soil dispersion discriminator, and the soil dispersion discriminator outputs the soil dispersion corresponding to the soil sample.
[0017] The soil analysis test equipment provided by this application is an electronic device, which is used to input water body images, water body pH value change data, and water body conductivity change data into the feature extraction network of a preset soil dispersion model. This multi-source data input method can obtain soil dispersion-related information from different perspectives. The water body image intuitively reflects the physical distribution state of the soil body in water, while the water body pH value and conductivity change data reveal the chemical characteristics during the interaction between the soil body and water. The comprehensive utilization of multi-source data avoids the limitations of a single data source and provides a more comprehensive and rich basis for accurately judging the soil dispersion degree in the follow-up. The feature extraction network extracts the RGB features and image features corresponding to the water body image. By extracting the RGB features, these color changes can be captured, providing a visually intuitive basis for judging the soil dispersion degree. Turbidity is closely related to the dispersion degree of soil samples in water. By extracting the water body turbidity features, the dispersion situation of the soil body can be directly quantified. The texture features describe the microscopic structure and distribution pattern of the water body surface. Different soil dispersion states will make the water body surface present different textures. Extracting the water body texture features helps to discover some details of soil dispersion that are difficult to detect by the naked eye and improves the accuracy of judging the soil dispersion degree. The feature extraction network captures the front and back features of the water body pH value change data and the water body conductivity change data from the forward and reverse directions, obtaining the water body pH value forward feature, the water body pH value backward feature, the water body conductivity forward feature, and the water body conductivity backward feature, so as to comprehensively understand the change trends of the water body pH value and the water body conductivity over time. The feature extraction network determines the key time series in the water body pH value change data and the water body conductivity change data based on the attention mechanism, obtaining the water body pH value key time series and the water body conductivity key time series, so as to focus on the time period that has a greater impact on the soil sample dispersion degree. Identify the water body pH value key time series and the water body conductivity key time series to determine the water body pH value key features and the water body conductivity key features; further refine the information closely related to the soil dispersion degree. By accurately identifying the key features, it can provide more valuable input for subsequent feature fusion and discrimination. Perform feature fusion on the RGB features, image features, water body pH value forward feature, water body pH value backward feature, water body conductivity forward feature, water body conductivity backward feature, water body pH value key features, and water body conductivity key features to generate initial fusion features, so as to integrate the advantages of different types of data and give full play to the synergistic effect of multi-source data. There may be an interrelated and complementary relationship between different features, and more in-depth and comprehensive information can be mined through fusion. Input the initial fusion features into the soil dispersion discriminator, and the soil dispersion discriminator outputs the soil dispersion degree corresponding to the soil sample. The soil dispersion discriminator can accurately output the soil dispersion degree by comprehensively analyzing and judging this information.
[0018] In an alternative embodiment, the feature extraction network includes atrous convolutions with multiple different receptive fields; where: The feature extraction network identifies the water body image, determines the importance of features at different scales, and assigns weight information to the atrous convolutions of each receptive field; Identify the water body image to determine the complexity corresponding to different regions in the water body image; According to the complexity corresponding to different regions in the water body image, determine the sampling frequency corresponding to the atrous convolutions of each different receptive field; Based on each atrous convolution, perform feature extraction on the water body image to determine the image features corresponding to the water body image.
[0019] For the soil analysis test equipment provided in this application, the feature extraction network identifies the water body image, determines the importance of features at different scales, and assigns weight information to the atrous convolutions of each receptive field, so that the soil dispersion discriminator can automatically adjust the attention to features at different scales according to the characteristics of the input water body image. Identify the water body image to determine the complexity corresponding to different regions in the water body image, so that potential features in the water body image can be highlighted through complexity analysis. According to the complexity corresponding to different regions in the water body image, determine the sampling frequency corresponding to the atrous convolutions of each different receptive field; the optimal allocation of computing resources can be achieved. For regions with high complexity, increase the sampling frequency so that the atrous convolution can collect the feature information of this region more carefully and fully capture details such as complex textures and particle distributions; for regions with low complexity, reduce the sampling frequency, and on the premise of ensuring the acquisition of basic features, reduce unnecessary computational volume. In this way, it can not only comprehensively extract the key information of the image, but also avoid the waste of computing resources caused by over-sampling of simple regions, and improve the computational efficiency of the feature extraction process. Based on each atrous convolution, perform feature extraction on the water body image to determine the image features corresponding to the water body image. At different scales, the atrous convolution can capture multi-scale features from the macroscopic distribution of water body turbidity regions to the microscopic soil particle textures, and make adaptive adjustments according to the image region complexity and scale feature importance, so as to obtain richer and more accurate image features, providing more comprehensive information support for judging soil dispersion. In addition, through the above series of optimized atrous convolution feature extraction processes, the obtained image features have stronger representativeness and discriminability.
[0020] In an alternative embodiment, an electronic device is used to construct a feature map with RGB features, image features, forward water body pH features, backward water body pH features, forward water body conductivity features, backward water body conductivity features, key water body pH features, and key water body conductivity features as nodes and the correlation between two features as the weight of the edge; Process the feature map using a graph neural network; in each layer of message passing, each node updates its own feature representation based on the features of its neighbor nodes and the weights of the edges. After message passing and feature updating for a preset number of rounds, the features of all nodes in the feature map are weighted and summed to obtain an initial fused feature.
[0021] The soil analysis test equipment provided by this application uses RGB features, image features, forward water body pH features, backward water body pH features, forward water body conductivity features, backward water body conductivity features, key water body pH features, and key water body conductivity features as nodes, so as to comprehensively present the relationships between different types of features. The correlation between two features is used as the weight of the edge to construct a feature map, which can discover some potential feature associations that are not easily observable directly. There may be complex non-linear relationships between some features. Through correlation analysis, these relationships can be discovered and reflected in the feature map. Process the feature map using a graph neural network; in each layer of message passing, each node updates its own feature representation based on the features of its neighbor nodes and the weights of the edges. This method can effectively capture the complex interaction between features. In the study of soil dispersion, the mutual influence between different features is not a simple linear relationship, but there is a complex coupling effect. The graph neural network can simulate this complex interaction process through the message passing mechanism. For example, a change in the pH value of the water body may affect the surface charge of soil particles, thereby affecting their dispersion state in the water body, and this effect will be transmitted to other related feature nodes through the edges in the feature map, enabling the nodes to update their own feature representations based on this information, so as to more accurately reflect the actual situation of soil dispersion. After message passing and feature updating for a preset number of rounds, the features of all nodes in the feature map are weighted and summed to obtain an initial fused feature. This weighted summation method can comprehensively consider the contribution of each feature to soil dispersion. In the feature map, the weights of the edges already reflect the correlation between features. Through weighted summation, features with stronger correlation will occupy a larger proportion in the fused feature, while features with weaker correlation will be relatively smaller. This can ensure that the fused feature can more accurately reflect the comprehensive influence of different features on soil dispersion, avoiding problems such as information loss or inaccuracy that may be caused by simple averaging or equal-weight fusion.
[0022] In an alternative embodiment, an electronic device is used to input the initial fused feature into a soil dispersion discriminator; in the initial layer of the soil dispersion discriminator, different types of features are extracted through different convolutional layer branches, and an attention mechanism is introduced to fuse the features extracted by each convolutional layer branch to generate a target fused feature. The soil dispersion discriminator preliminarily evaluates the target fusion features. By calculating the correlation scores between each sub-feature in the fusion features and the known soil dispersion labels, key features that contribute more to the discrimination of soil dispersion than a preset threshold are screened out; Feature enhancement techniques are used to enhance each key feature to obtain enhanced features; Based on the enhanced features, the soil dispersion corresponding to the soil sample is output.
[0023] The soil analysis test equipment provided in this application, an electronic device, is used to input the initial fusion features into the soil dispersion discriminator; at the initial layer of the soil dispersion discriminator, different types of features are extracted through different convolutional layer branches, which can deeply explore the initial fusion features from multiple dimensions. For example, some branches focus on extracting the spatial structure information in the image features, while some branches are good at capturing the trend information in the features related to pH value and conductivity. This multi-dimensional feature extraction method fully utilizes various information in the initial fusion features, avoids the omission of some features by a single convolutional layer, and provides a richer feature basis for accurately judging the soil dispersion subsequently. And an attention mechanism is introduced to fuse the features extracted by each convolutional layer branch to generate target fusion features. The attention mechanism can automatically learn the importance of different features and perform weighted fusion on the features according to these importance levels. For example, when judging the soil dispersion, if the turbidity feature in the image and the key change feature of the pH value have a greater impact on the result, the attention mechanism will assign higher weights to these two features, making the fused features more prominent in key information. This efficient feature fusion method improves the quality and discrimination ability of the features, and helps the discriminator to more accurately grasp the feature combinations related to the soil dispersion. The soil dispersion discriminator preliminarily evaluates the target fusion features. By calculating the correlation scores between each sub-feature in the fusion features and the known soil dispersion labels, key features that contribute more to the discrimination of soil dispersion than a preset threshold are screened out, so as to further highlight the information related to the soil dispersion in the key features. Feature enhancement techniques are used to enhance each key feature to obtain enhanced features, which can make full use of the high-quality feature information after screening and enhancement, and greatly improve the accuracy of judging the soil dispersion. Based on the enhanced features, the soil dispersion corresponding to the soil sample is output, ensuring the accuracy of the soil dispersion corresponding to the output soil sample.
[0024] In an alternative embodiment, the electronic device is used to obtain the soil physical and chemical property data and geographical information data corresponding to each soil sample; the soil physical and chemical property data includes at least one of soil particle characteristics, three-phase ratio indexes of soil, physical and chemical state indexes of soil, and permeability indexes of soil; the geographical information data includes at least one of longitude and latitude, altitude, and geological structure; Generate a soil water sensitivity training data set based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample; the soil water sensitivity in the soil water sensitivity training data set is the labeled data; train a soil water sensitivity prediction model based on the soil water sensitivity training data set; Generate a soil dispersity training data set based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample; the soil dispersity in the soil dispersity training data set is the labeled data; train a soil dispersity prediction model based on the soil dispersity training data set.
[0025] The soil analysis test equipment provided by this application obtains the soil physical and chemical property data and geographical information data corresponding to each soil sample, and generates a soil water sensitivity training data set based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample; the soil water sensitivity in the soil water sensitivity training data set is the labeled data; train a soil water sensitivity prediction model based on the soil water sensitivity training data set, so that the soil water sensitivity can be predicted by using various characteristics of the soil. Generate a soil dispersity training data set based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample; the soil dispersity in the soil dispersity training data set is the labeled data; train a soil dispersity prediction model based on the soil dispersity training data set. Thus, the soil dispersity can be predicted by using various characteristics of the soil. Brief Description of the Drawings
[0026] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is a schematic structural diagram of the first soil analysis test equipment according to an embodiment of the present invention; Figure 2 It is a schematic structural diagram of the second soil analysis test equipment according to an embodiment of the present invention; Figure 3 It is a schematic structural diagram of the third soil analysis test equipment according to an embodiment of the present invention; Figure 4 It is a schematic structural diagram of the fourth soil analysis test equipment according to an embodiment of the present invention. Detailed Embodiments
[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0029] The serial numbers assigned to the components in this document, such as "first", "second", etc., are only used to distinguish the described objects and do not have any sequential or technical meanings. In the description of this application, it should be understood that the orientation or positional relationships indicated by the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. are based on the orientation or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to this application. In this application, unless otherwise clearly specified and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on" the second feature may be that the first feature is directly above or obliquely above the second feature, or simply indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "under" the second feature may be that the first feature is directly below or obliquely below the second feature, or simply indicates that the first feature has a lower horizontal height than the second feature.
[0030] An embodiment of this application provides a soil analysis test device, as Figure 1 shown. The soil analysis test device includes: a water tank 1, a soil disintegration test device 2, an electronic device 3, and a camera device 4. The electronic device 3 is communicatively connected to the camera device 4 and the soil disintegration test device 2, where: The water tank 1 is used to hold water. The soil disintegration test device 2 is used to simulate the disintegration process of a soil sample under the relative movement state with water, and record the mass change data of the soil sample during the disintegration process. The camera device 4 is used to capture a water image corresponding to the water in the soil disintegration test device 2 during the disintegration process of the soil sample. The electronic device 3 is used to identify the mass change data to determine the soil water sensitivity corresponding to the soil sample; and identify the water image to determine the soil dispersion degree corresponding to the soil sample.
[0031] Specifically, the water tank 1 can hold water. The soil disintegration test device 2 simulates the disintegration process of the soil sample under the relative movement state with water, records the mass change data of the soil sample during the disintegration process, and then transmits the mass change data to the electronic device 3 based on the communication connection with the electronic device 3.
[0032] During the disintegration process of the soil sample, the imaging device 4 captures the water body image corresponding to the water body in the soil disintegration test device 2, and then transmits the water body image to the electronic device 3 based on the communication connection with the electronic device 3. The electronic device 3 identifies the mass change data to determine the soil water sensitivity corresponding to the soil sample; and identifies the water body image to determine the soil dispersion degree corresponding to the soil sample.
[0033] The soil analysis test device provided by the embodiment of the present application includes: a water tank 1 for holding water; a soil disintegration test device 2 for simulating the disintegration process of the soil sample under the relative movement state with water and recording the mass change data of the soil sample during the disintegration process. It can simulate the disintegration process of the soil sample under the relative movement state with water, which helps to reproduce the actual situation of the soil encountering water in the natural environment as realistically as possible under laboratory conditions. Through this simulation, the stability and related characteristics of the soil under the action of water can be studied more accurately. An imaging device 4 for capturing the water body image corresponding to the water body in the soil disintegration test device 2 during the disintegration process of the soil sample; an electronic device 3 for identifying the mass change data to determine the soil water sensitivity corresponding to the soil sample; and identifying the water body image to determine the soil dispersion degree corresponding to the soil sample. Thus, the soil characteristics can be analyzed from different angles. By determining the soil water sensitivity from the mass change data and the soil dispersion degree from the water body image, this multi-dimensional analysis method can comprehensively understand the properties of the soil, providing richer and more accurate information for soil research and related engineering applications. It reduces the interference of human factors and improves the accuracy and reliability of the data. Moreover, the automation degree of the device is relatively high, and it can collect and analyze data according to the preset programs and algorithms, ensuring the repeatability and consistency of the test results, which is conducive to the comparison and communication of results between different research institutions or test personnel. Thus, the disintegration characteristics of the soil are studied under the relative movement state of the soil and water.
[0034] In an alternative embodiment of the present application, such as Figure 2As shown in the figure, the water tank 1 is divided into two water body areas. The soil disintegration test device 2 includes: two grid hanging baskets 21, and the two grid hanging baskets 21 respectively extend into the corresponding two water body areas of the water tank 1; one of the grid hanging baskets 21 is connected to the lifting rod 22, the lifting rod 22 can drive the grid hanging basket 21 to move up and down, the lifting rod 22 is connected to the motor 23, and the grid hanging basket 21 is connected to the first electronic scale 24; the other grid hanging basket 21 is connected to the second electronic scale 25, the motor 23, the first electronic scale 24 and the second electronic scale 25 are all communicatively connected to the electronic device 3, where: Each grid hanging basket 21 is used to hold the soil sample; The electronic device 3 is used to control the motor 23 to drive the lifting rod 22 to move up and down at a preset speed, so that the soil sample and the water body have a preset relative movement speed, and the disintegration test can be carried out under the condition of relative movement between the soil sample and the water body; The first electronic scale 24 is used to measure the first initial mass of the grid hanging basket 21 corresponding to the first electronic scale 24 when it is immersed in the water body, and the first target mass of the grid hanging basket 21 after a preset time; The second electronic scale 25 is used to measure the second initial mass of the grid hanging basket 21 corresponding to the second electronic scale 25 when it is immersed in the water body, and the second target mass of the grid hanging basket 21 after a preset time; The electronic device 3 is used to calculate the soil water sensitivity of the soil sample corresponding to the preset time at the preset relative movement speed based on the first initial mass, the first target mass, the second initial mass, and the second target mass.
[0035] In an optional implementation manner of the present application, the electronic device 3 is used to calculate the first disintegration degree by dividing the difference between the first initial mass and the first target mass by the first initial mass; Calculate the second disintegration degree by dividing the difference between the second initial mass and the second target mass by the second initial mass; Calculate the soil water sensitivity of the soil sample corresponding to the relative movement speed by dividing the first disintegration degree by the second disintegration degree.
[0036] Specifically, the water tank 1 is divided into two water body areas, and a grid hanging basket 21 extends into one of the water body areas. The grid hanging basket 21 has a length, width, and height of 10 cm, and the grids on the front, back, left, right, and lower sides are all 5 mm. The material is stainless steel, and there is no grid on the upper side. One of the grid hanging baskets 21 is connected to the lifting rod 22. The specific connection method can be that the steel fork at the front end of the lifting rod 22 is located between the grid hanging basket 21 and the upper vertical rod of the grid hanging basket 21. The lifting rod 22 can drive the grid hanging basket 21 to move up and down, and the lifting rod 22 is connected to the motor 23. In addition, the upper hook of the upper vertical rod of the grid hanging basket 21 is connected to the lower hook of the first electronic scale 24. The upper hook of the upper vertical rod of the other grid hanging basket 21 is connected to the lower hook of the second electronic scale 25. The first electronic scale 24 and the second electronic scale 25 are installed on the cross bar. In addition, the motor 23, the first electronic scale 24, and the second electronic scale 25 are all communicatively connected to the electronic device 3.
[0037] During the test, soil samples of the same mass and the same volume are placed in the two grid hanging baskets 21. Then, the motor 23 is started, and the motor 23 controls the lifting rod 22 to perform vertical up and down movements.
[0038] Exemplarily, in the initial state, the lifting rod 22 is 10 cm away from the upper side of the water tank 1. The motor 23 can control the lifting rod 22 to move within a vertical range of 6 cm up and down, and the movement speed is 1 cm / s. That is, at the beginning of the test, the lifting rod 22 moves downward from a position 10 cm away from the upper side of the water tank 1 at a speed of 1 cm / s under the control of the motor 23. At this time, the upper hook of the hanging basket hook is hooked to the hook of the first electronic scale 24, and the grid hanging basket 21 will not move downward with the lifting rod 22. At this time, the reading can be taken through the first electronic scale 24. When the lifting rod 22 moves downward by 3 cm, it will move upward in the reverse direction and move 3 cm upward at a speed of 1 cm / s. Then, the fork at the front end of the lifting rod 22 will fork the cross bar on the hanging basket hook, so that the grid hanging basket 21 moves upward with the lifting rod 22. After moving 3 cm, it will move downward again at a speed of 1 cm / s. After moving 3 cm, the upper hook of the hanging basket hook is hooked to the hook of the first electronic scale 24. When the lifting rod 22 continues to move downward, the grid hanging basket 21 will not move downward with the lifting rod 22. At this time, the reading can be taken through the first electronic scale 24 again. This cycle continues until the disintegration test ends. The grid hanging basket 21 that is not connected to the lifting rod 22 extends into the water body until the disintegration test ends.
[0039] The first electronic scale 24 can measure the first initial mass of the grid hanging basket 21 corresponding to the first electronic scale 24 when it is immersed in the water body, and the first target mass of the grid hanging basket 21 after a preset time period.
[0040] The second electronic scale 25 can measure the second initial mass of the grid hanging basket 21 corresponding to the second electronic scale 25 when it is immersed in water, and the second target mass corresponding to the grid hanging basket 21 after a preset time period.
[0041] Then, based on the communication connection between the first electronic scale 24 and the second electronic scale 25, the electronic device 3 obtains the first initial mass, the first target mass, the second initial mass, and the second target mass.
[0042] The electronic device 3 calculates the first disintegration degree by dividing the difference between the first initial mass and the first target mass by the first initial mass. The electronic device 3 calculates the second disintegration degree by dividing the difference between the second initial mass and the second target mass by the second initial mass. Then, the electronic device 3 calculates the soil water sensitivity corresponding to the soil sample at the relative movement speed by dividing the first disintegration degree by the second disintegration degree.
[0043] Exemplarily, after the electronic device 3 reads the data of the second electronic scale 25, it compares it with the reading of the second electronic scale 25 after the net plate is immersed in water without the soil being placed. When the data of the second electronic scale 25 read by the electronic device 3 is the same as the reading of the second electronic scale 25 after the net plate is immersed in water without the soil being placed, it indicates that the soil is completely disintegrated in this group of disintegration experiments. When the reading of the second electronic scale 25 in each group of disintegration experiments is the same as the reading of the electronic scale after the net plate is immersed in water without the soil being placed, the electronic device 3 automatically stops the motor 23, and the disintegration test ends.
[0044] Exemplarily, for the slaking test conducted under the relative motion state of the soil sample and the water body, first, fill the water tank 1 with water to a depth of 30 cm. Hang the hanging basket hook on the hook of the first electronic scale 24, ensuring that the crossbar above the hanging basket hook is on the upper side of the fork at the front end of the lifting rod 22 and does not touch it. The electronic device 3 records the reading Me of the first electronic scale 24 at this time. Subsequently, take out the grid hanging basket 21 connected to the lifting rod 22 from the water tank 1, place the soil sample in the middle part of the grid hanging basket 21, keep it balanced, and slowly put it into the water. Hang the hanging basket hook on the hook of the first electronic scale 24, ensuring that the crossbar above the hanging basket hook is on the upper side of the fork at the front end of the lifting rod 22 and does not touch each other. The electronic device 3 starts to record the reading M0 of the first electronic scale 24. Set the moving speed of the lifting rod 22 on the electronic device 3 to 1 cm / s, and the grid hanging basket 21 will move along with the lifting rod 22. It should be noted that when moving downward, after hanging the hanging basket hook on the hook of the first electronic scale 24, the grid hanging basket 21 will not move downward along with the lifting rod 22; when moving upward, after the fork at the front end of the lifting rod 22 forks the crossbar on the hanging basket hook, the hanging basket hook will separate from the hook of the first electronic scale 24, and the grid hanging basket 21 will move upward along with the lifting rod 22. Therefore, the first electronic scale 24 has 6 seconds to stabilize and take readings, ensuring the accuracy of the readings. The reading of the first electronic scale 24 read by the electronic device 3 is the reading when it is stable. If the reading of the first electronic scale 24 at time t is Mt, then the first slaking amount Dt of the soil sample at the preset time t is: Dt = (M0 - Mt) / (M0 - Me) X 100% For the slaking test conducted under the relative static state of the soil sample and the water body, hang the hanging basket hook of another grid hanging basket 21 on the hook of the second electronic scale 25, and the electronic device 3 records the reading Re of the electronic scale. Subsequently, take out the grid hanging basket 21 not connected to the lifting rod 22 from the water tank 1, place the soil sample in the middle part of the grid hanging basket 21, keep it balanced, and slowly put it into the water. Hang the hanging basket hook on the hook of the second electronic scale 25, and the electronic device 3 starts to record the reading R0 of the second electronic scale 25. If the reading of the second electronic scale 25 at the preset time t is Rt, the second slaking amount St of the soil sample at time t under the relative static state of the soil sample and the water body can be calculated. The calculation formula is as follows: St = (R0 - Rt) / (R0 - Re) X 100% Subsequently, the soil water sensitivity Wt can be calculated. The calculation formula is as follows: Wt = Dt / St Therefore, the soil water sensitivity is equal to the ratio of the disintegration speed of the soil within time t under the relative motion state of the soil and water to the disintegration speed of the soil within time t under the condition of relative rest of the soil and water, which can clearly reflect the change of the disintegration speed after the relative motion of the soil and water, giving practical meaning to the concept of soil water sensitivity. The larger the soil water sensitivity value, the greater the influence of water flow movement on soil stability; the smaller the soil water sensitivity value, the smaller the influence of water flow movement on soil stability.
[0045] The soil analysis test equipment provided by the embodiment of the present application, each grid hanging basket 21 is used to hold the soil sample. The electronic device 3 is used to control the motor 23 to drive the lifting rod 22 to move up and down at a preset speed, so that the soil sample and the water body have a preset relative movement speed, and the disintegration test can be carried out under the condition of relative movement between the soil sample and the water body. This design simulates the relative movement of the soil in the natural environment due to factors such as water flow scouring and groundwater fluctuation. In the actual soil around rivers and lakes, or the foundation soil affected by groundwater flow, it will be in a similar dynamic water environment. By simulating the disintegration test under this relative movement condition, more realistic soil water sensitivity data can be obtained, making the research results more practically guiding, and providing reliable soil property references for projects such as water conservancy projects and road and bridge construction facing complex hydrogeological conditions. In addition, by adjusting the preset speed, different intensities of water flow action or relative movement scenarios between the soil and water can be simulated. The first electronic scale 24 is used to measure the first initial mass of the grid hanging basket 21 corresponding to the first electronic scale 24 when it is immersed in the water body, and the first target mass corresponding to the grid hanging basket 21 after a preset time. The second electronic scale 25 is used to measure the second initial mass of the grid hanging basket 21 corresponding to the second electronic scale 25 when it is immersed in the water body, and the second target mass corresponding to the grid hanging basket 21 after a preset time. The electronic device 3 is used to calculate the first disintegration degree by dividing the difference between the first initial mass and the first target mass by the first initial mass, so as to obtain the disintegration degree of the soil sample under the condition of relative movement. The second disintegration degree is calculated by dividing the difference between the second initial mass and the second target mass by the second initial mass, so as to obtain the disintegration degree of the soil sample in the static state. The soil water sensitivity corresponding to the soil sample is calculated by dividing the first disintegration degree by the second disintegration degree, ensuring the accuracy of the soil water sensitivity of the soil sample corresponding to the preset relative movement speed within the preset time.
[0046] In an alternative embodiment of the present application, as Figure 3 shown, each soil disintegration test equipment 2 includes: at least one water jet 26 and at least one wave maker 27, wherein: The water jet 26 is used to adjust the jet angle and flow rate under the control of the electronic device 3 to generate water flows with different speeds, different directions and different intensities; A wave generator 27, which is used to generate waves with various wavelengths and wave heights under the control of an electronic device 3, so as to further simulate different water body intensities and water pressures. An electronic device 3, which is used to calculate the soil water sensitivity corresponding to a soil sample under various relative motion speeds, various water body intensities, and various water pressures.
[0047] Specifically, the water jet 26 usually consists of a nozzle, a flow regulating valve, and an angle adjusting mechanism. During operation, water is ejected through the nozzle under pressure to form a water flow. The flow regulating valve controls the water flow rate, thereby adjusting the water flow intensity. The angle adjusting mechanism is driven by a motor 23 or a hydraulic device to change the ejection angle of the nozzle, realizing the generation of water flows in different directions. Multiple water jets 26 can be used in combination. By independently controlling the flow rate and angle of each jet, complex multi-directional water flows can be generated. Optionally, the water jet 26 can also be a retractable and bendable jet, which can quickly change its shape according to different test requirements to generate more complex and diverse water flows.
[0048] Common wave generators 27 are of two types: mechanical and pneumatic. The mechanical wave generator 27 drives mechanical structures such as cams and cranks through a motor 23 to make the wave-making plate move up and down or back and forth, pushing the water body to generate waves. By adjusting the rotation speed of the motor 23 and the movement amplitude of the wave-making plate, the wavelength and wave height of the waves can be controlled. The pneumatic wave generator 27 uses compressed air released underwater to form a bubble curtain, disturbing the water body to generate waves, and adjusts the wave parameters by controlling the flow rate and pressure of the compressed air. Optionally, the wave generator 27 can also be a retractable and bendable wave generator 27, which can quickly change its shape according to different test requirements to generate more complex and diverse waves.
[0049] Through each water jet 26 and each wave generator 27, different water body intensities and water pressures can be simulated, so that based on the above test process, the soil water sensitivity corresponding to the soil sample under various relative motion speeds, various water body intensities, and various water pressures can be calculated.
[0050] The soil analysis test equipment provided by the embodiments of the present application includes a water flow ejector 26, which is used to adjust the ejection angle and flow rate under the control of the electronic device 3 to generate water flows with different speeds, directions, and intensities; a wave maker 27, which is used to generate waves with various wavelengths and wave heights under the control of the electronic device 3 to further simulate different water body intensities and water pressures; and an electronic device 3, which is used to calculate the soil water sensitivity corresponding to the soil sample under each relative movement speed, each water body intensity, and each water pressure, so as to be able to simulate diverse water flow conditions in the natural environment, such as the rapid flow and slow flow in rivers, and the change in the seepage direction of groundwater, etc., and simulate the disintegration process of the soil sample under waves with various wavelengths and wave heights. Furthermore, the soil water sensitivity corresponding to the soil sample is calculated under each relative movement speed, each water body intensity, and each water pressure.
[0051] In an alternative embodiment of the present application, as Figure 4 shown, the soil disintegration test equipment 2 further includes a pH monitoring probe 28 and an EC monitoring probe 29. Both the pH monitoring probe 28 and the EC monitoring probe 29 are communicatively connected to the electronic device 3, where: The pH monitoring probe 28 is used to monitor the pH value of the water body to obtain the change data of the water body pH value during the disintegration process of the soil sample.
[0052] The EC monitoring probe 29 is used to monitor the water body conductivity of the water body to obtain the change data of the water body conductivity during the disintegration process of the soil sample.
[0053] The imaging device 4 is used to capture at least one water body image of the water body area corresponding to the grid hanging basket 21 connected to the second electronic scale 25 during the disintegration process of the soil sample.
[0054] The electronic device 3 is used to input the water body image, the water body pH value change data, and the water body conductivity change data into a preset soil dispersion model and output the soil dispersion corresponding to the soil sample.
[0055] Specifically, the pH monitoring probe usually works based on the principle of the Nernst equation. There is a glass membrane or other sensitive materials sensitive to hydrogen ions inside the probe. When the probe is immersed in the water body, the hydrogen ions in the water body will exchange with the surface of the sensitive membrane, forming a potential difference on both sides of the membrane. This potential difference is related to the hydrogen ion activity in the water body. Through the Nernst equation, the potential difference can be converted into the corresponding pH value, thereby realizing the measurement of the water body pH value. During the disintegration process of the soil sample, the change of the water body pH value is monitored in real time to obtain continuous change data of the water body pH value. These data can reflect the possible chemical reactions during the disintegration process of the soil, such as the dissolution of alkaline or acidic substances in the soil into the water body, resulting in a change in the pH value, and further helping to analyze the chemical properties and disintegration mechanism of the soil.
[0056] The EC monitoring probe generally determines the conductivity by measuring the conductivity of the water body. The probe usually consists of two or more electrodes. When a certain voltage is applied across the electrodes, the ions in the water body will move under the action of the electric field to form a current. The conductivity is related to factors such as the concentration, type, and mobility of the ions in the water body. By measuring the magnitude of the current and combining known parameters such as the electrode constant, the conductivity of the water body can be calculated. During the disintegration process of the soil sample, continuously monitor the change in the conductivity of the water body to obtain the data of the change in the conductivity of the water body. The change in the conductivity of the water body can reflect the dissolution and release of electrolytes in the soil body because different ions will enter the water body when the soil body disintegrates, thereby changing the conductivity of the water body. These data help to understand the ion composition of the soil body and the migration of substances during the disintegration process, providing an important basis for further analyzing the characteristics of the soil body.
[0057] The imaging device 4 is used to capture at least one water body image of the water body area corresponding to the grid hanging basket 21 connected to the second electronic scale 25 during the disintegration process of the soil sample.
[0058] In an optional implementation manner of the present application, the preset soil dispersion model includes a feature extraction network and a soil dispersion discriminator. The above "input the water body image, the water body pH value change data, and the water body conductivity change data into the preset soil dispersion model, and output the soil dispersion corresponding to the soil sample" may include the following steps: Step S101, input the water body image, the water body pH value change data, and the water body conductivity change data into the feature extraction network in the preset soil dispersion model.
[0059] Specifically, the electronic device 3 can input the water body image, the water body pH value change data, and the water body conductivity change data into the feature extraction network in the preset soil dispersion model.
[0060] Step S102, the feature extraction network extracts the RGB features and image features corresponding to the water body image. Among them, the image features include at least one of the water body turbidity feature and the water body texture feature.
[0061] Specifically, the feature extraction network includes dilated convolutions with multiple different receptive fields; the above step S102 "the feature extraction network extracts the image features corresponding to the water body image" may include the following steps: Step a1, the feature extraction network identifies the water body image, determines the importance of features at different scales, and assigns weight information to the dilated convolutions of each receptive field.
[0062] Specifically, when processing water body images, the importance of features of different scales in describing image content and reflecting soil dispersion is different. Large-scale features may reflect macro information such as the overall outline of the water body and large areas of turbidity; small-scale features can capture micro information such as the subtle texture of soil particles and local concentration changes. The feature extraction network can dynamically adjust the evaluation method of scale importance according to the input water body image. For example, when there are obvious large-scale turbid areas in the image, the network can automatically increase the attention to large-scale features; when some subtle particle textures appear in the image, the network pays more attention to small-scale features.
[0063] For example, feature maps are output through the middle layer of a convolutional neural network (CNN), and then global average pooling or global maximum pooling operations are performed on these feature maps to obtain statistical information of features of different scales. Next, a fully connected layer is used to map these statistical information to a weight vector, in which each element corresponds to the importance score of a scale feature. Finally, based on these scores, weight information is assigned to the dilated convolution of each receptive field.
[0064] Step a2: identify the water body image and determine the complexity corresponding to different areas in the water body image.
[0065] Specifically, the complexity of different regions in a water body image reflects the information richness of the region. Regions with high complexity may contain more details and changes, such as areas where soil particles are concentrated and areas where water flows rapidly, while regions with low complexity are relatively uniform and flat, such as the edge of a water body.
[0066] Optionally, the feature extraction network can calculate the local variance of each region in the water body image. The larger the local variance, the more drastic the pixel value change in the region, and the higher the complexity.
[0067] Optionally, the feature extraction network can also use texture analysis techniques, such as gray-level co-occurrence matrix (GLCM), to evaluate the complexity of the region by calculating the texture features of the image region, such as contrast, correlation, etc.
[0068] Step a3, according to the complexity corresponding to different areas in the water body image, determine the sampling frequency corresponding to the hole convolution of each different receptive field.
[0069] Specifically, dilated convolution is a technique that introduces holes (i.e. skips some pixels) in the convolution operation, which can expand the receptive field without increasing the number of parameters. The sampling frequency determines the sampling interval of dilated convolution on the image. The higher the sampling frequency, the denser the sampling of the image by dilated convolution, and it can capture more detailed information; the lower the sampling frequency, the sparser the sampling, and the main focus is on the macroscopic features of the image.
[0070] During the feature extraction process, as the number of network layers increases, the feature representation of the image gradually changes from microscopic to macroscopic. Therefore, the sampling frequency can be dynamically adjusted according to the number of network layers and the regional complexity. For example, in the shallow layers of the network, a higher sampling frequency is adopted for regions with high complexity. As the number of network layers increases, the sampling frequency is gradually reduced to balance the computational efficiency and the accuracy of feature extraction.
[0071] Step a4, perform feature extraction on the water body image based on each dilated convolution, and determine the image features corresponding to the water body image.
[0072] Specifically, after assigning weight information and sampling frequency to the dilated convolutions of each receptive field, feature extraction can be performed on the water body image based on these dilated convolutions. Dilated convolution extracts various features of the image by performing convolution operations on the image at different scales and different sampling frequencies. These features include but are not limited to edge features, texture features, shape features, etc. For example, edge features can reflect the boundaries of soil particles in the water body, texture features can describe the distribution pattern of soil particles, and shape features can represent the morphology of the turbid area in the water body. Finally, a feature fusion method based on the attention mechanism is adopted. By learning the correlation between different features, different weights are automatically assigned to each feature, and then weighted fusion is performed. This can better retain important features and improve the expression ability of features. Combine and fuse these extracted features to obtain the image features corresponding to the water body image.
[0073] Step S103, the feature extraction network captures the front and back features of the water body pH value change data and the water body conductivity change data from the forward and reverse directions, and obtains the forward feature of the water body pH value, the backward feature of the water body pH value, the forward feature of the water body conductivity, and the backward feature of the water body conductivity.
[0074] Specifically, for the water body pH value change data, the data arranged in chronological order are sequentially input into the forward RNN or LSTM, GRU units. Starting from the starting time point, the data at each time step (such as the pH value measured every hour or every day) is used as the input. The network updates the current hidden layer state according to the current input and the state of the previous hidden layer. In this process, the network gradually learns the change features of the pH value on the forward time axis. For example, if the pH value shows a gradually increasing trend, the hidden layer state of the network will gradually record this trend information, including features such as the rising rate and the changing amplitude. These features will be encoded in the weights and activation values of the hidden layer and form part of the forward feature. The forward feature may include information such as the initial value of the pH value, the slope during the rising or falling stage, and the duration of continuous rising or falling.
[0075] Reverse feature extraction is to input time series data in reverse order into the network. For the water body pH value change data, starting from the data at the last time point, it is input into the network unit in reverse. Similarly, the network updates the hidden layer state according to the current input and the state of the hidden layer at the previous moment (here, the previous moment in reverse time order). When inputting data in reverse, the network will notice the process of the pH value gradually decreasing from a high value and record the features of this reverse change, such as the starting time of recovery, the recovery rate, etc. Reverse features can provide a different perspective from the forward ones. In some cases, the later changes in the data may correct the previous trends. Reverse features help to discover hidden patterns in the data and comprehensively understand the dynamic process of pH value changes.
[0076] When inputting the water body conductivity change data in the forward direction, the network captures the features of the conductivity changing in the forward direction over time, such as the starting point of the conductivity rising or falling, the change amplitude, the periodic change features (if any), etc. Reverse feature extraction: Input the conductivity data in reverse, and the network pays attention to the changes in conductivity on the reverse time axis.
[0077] Step S104, the feature extraction network determines the key time series in the water body pH value change data and the water body conductivity change data based on the attention mechanism, and obtains the key time series of the water body pH value and the key time series of the water body conductivity.
[0078] Specifically, the feature extraction network will perform preliminary processing on the water body pH value change data and the water body conductivity change data, and convert the data at each time step into a suitable feature representation. Usually, recurrent neural networks (RNNs) and their variants, such as long short-term memory networks (LSTMs) or gated recurrent units (GRUs), are used to complete this task. These network structures can process time series data and learn the temporal features in the data. Taking the water body pH value change data as an example, a series of pH value measurement values arranged in time order are input into the LSTM network, and the LSTM network will output a hidden state vector at each time step, which contains the historical information before this time step and the input information at the current time step. The same process is also applied to the water body conductivity change data.
[0079] After obtaining the feature representation at each time step, the attention mechanism will calculate the attention weights at each time step. The attention weights reflect the importance of the data at this time step in the entire time series.
[0080] Specifically, an attention function will be defined. This function usually uses a learnable weight matrix to map the feature representation at each time step to a scalar value, which is the attention score at that time step. Then, through a normalization operation (such as the softmax function), these scores are converted into a probability distribution, that is, attention weights. Taking the water body pH value change data as an example, assuming that the pH value changes sharply at a certain time step, then the attention score at that time step will be relatively high. After being processed by the softmax function, the corresponding attention weight will also be large, indicating that the data at that time step is more important for subsequent analysis.
[0081] According to the calculated attention weights, select the time steps with attention weights greater than a preset threshold as key time steps, and the data corresponding to these key time steps constitutes the key time series.
[0082] For the water body pH value change data, screen out the time steps with higher attention weights, and arrange the pH value data of these time steps in chronological order to obtain the key time series of the water body pH value. The same method also applies to the water body conductivity change data to obtain the key time series of the water body conductivity.
[0083] Step S105, identify the key time series of the water body pH value and the key time series of the water body conductivity, and determine the key features of the water body pH value and the key features of the water body conductivity.
[0084] Specifically, when identifying the key time series of the water body pH value and the key time series of the water body conductivity, calculate basic statistics such as mean, median, and standard deviation. Then, based on the obtained basic statistics, determine the key features of the water body pH value and the key features of the water body conductivity.
[0085] Step S106, perform feature fusion on the RGB features, image features, forward features of the water body pH value, backward features of the water body pH value, forward features of the water body conductivity, backward features of the water body conductivity, key features of the water body pH value, and key features of the water body conductivity to generate initial fusion features.
[0086] Specifically, the above step S106 may include the following steps: Step b1, taking the RGB features, image features, forward features of the water body pH value, backward features of the water body pH value, forward features of the water body conductivity, backward features of the water body conductivity, key features of the water body pH value, and key features of the water body conductivity as nodes, and the correlation between pairwise features as the weight of the edge, construct a feature graph.
[0087] Specifically, RGB features, image features (such as water turbidity features, water texture features, etc.), forward features of water body pH value, backward features of water body pH value, forward features of water body conductivity, backward features of water body conductivity, key features of water body pH value, and key features of water body conductivity are selected as nodes. These features reflect the characteristics of soil samples during the disintegration process from different perspectives. For example, RGB features and image features visually present the appearance and physical state of the water body, while pH value and conductivity features reveal the dynamic changes in the chemical properties of the water body, covering multi-dimensional information. Then, the correlation between pairwise features is calculated to determine the weights of the edges. Multiple methods can be used for correlation analysis, such as Pearson correlation coefficient, Spearman correlation coefficient, etc. Taking the key features of pH value and conductivity as an example, if in some experiments, when the pH value changes sharply, the conductivity also shows a significant upward or downward trend, a relatively high absolute value will be obtained by calculating the correlation coefficient, indicating a strong correlation between the two, and the corresponding edge weight will be large; conversely, if there is almost no synchronous change pattern between the two features and the correlation coefficient is close to 0, the edge weight will be small. In this way, the internal connection between features is reflected in the feature map in the form of edge weights.
[0088] Step b2, use a graph neural network to process the feature map; in each layer of message passing, each node updates its own feature representation according to the features of its neighbor nodes and the weights of the edges.
[0089] Specifically, in each layer of message passing of the graph neural network, a node updates its own feature representation according to the features of its neighbor nodes and the weights of the edges. For example, assume that the RGB feature node is adjacent to the water turbidity feature node, and the weight of the edge between them is large, indicating a strong correlation between the two. During the message passing process, the RGB feature node will receive information from the water turbidity feature node, and this information will be weighted according to the edge weight. If the edge weight is 0.8, then the information passed from the water turbidity feature node to the RGB feature node will be given a higher proportion. The RGB feature node will combine its original features and the information received from the neighbor node, and update its own feature representation according to the update rules of the graph neural network (such as through specific activation functions and weight matrix operations). As messages are passed layer by layer in the graph, nodes continuously update their own features. In this process, the graph neural network can learn complex interaction relationships between features. For example, after the forward feature node of the water body pH value updates its own feature by receiving information from neighbor nodes, the updated feature will be passed to other neighbor nodes, enabling the continuous propagation and fusion of feature information throughout the graph. This propagation mechanism allows distant nodes to indirectly influence each other through multi-step message passing, uncovering potential long-range dependencies between features. For instance, the backward conductivity feature node may affect the final feature representation of the RGB feature node through multiple message passes with intermediate nodes, even if they are not directly connected in the initial feature map.
[0090] Step b3, after message passing and feature update for a preset number of rounds, perform a weighted sum of the features of all nodes in the feature map to obtain the initial fused feature.
[0091] Specifically, the preset number of rounds of message passing and feature update is a key parameter setting. If the number of rounds is too small, the features may not be fully fused, and sufficient connections between features cannot be uncovered. If the number of rounds is too large, overfitting may occur, and the model may over-adapt to the noise in the training data. For example, in some experiments, through multiple attempts, it is found that setting 5 - 10 rounds of message passing can fully fuse the features while maintaining the generalization ability of the model. Within this preset number of rounds, the node features in the feature map are continuously optimized and integrated. After the preset number of rounds, perform a weighted sum of the features of all nodes in the feature map to obtain the initial fused feature. The weight of each node can be determined according to its importance in the entire feature map. The importance can be comprehensively measured by factors such as the degree of the node (the number of edges connected to the node) and the sum of edge weights. For example, a node connected to multiple other nodes with large edge weights indicates that it plays an important role in feature interaction and can be assigned a higher weight during the weighted sum. Through this weighted sum method, features of different types and importance levels are fused to generate an initial fused feature containing rich information from multi-source data, providing a better feature input for subsequent tasks such as accurately judging the dispersion degree of soil.
[0092] Step S107, input the initial fused feature into the soil dispersion discriminator, and the soil dispersion discriminator outputs the soil dispersion corresponding to the soil sample.
[0093] Specifically, the above step S107 may include the following steps: Step c1, input the initial fused feature into the soil dispersion discriminator; at the initial layer of the soil dispersion discriminator, extract different types of features through different convolutional layer branches, and introduce an attention mechanism to fuse the features extracted by each convolutional layer branch to generate the target fused feature.
[0094] Specifically, the initial fusion feature is input into the soil dispersion discriminator. At the initial layer of the soil dispersion discriminator, different convolutional layer branches are set. Each branch has specific parameters such as the convolutional kernel size and stride, which are used to extract different types of features. For example, one branch uses a larger convolutional kernel and is good at extracting global and macroscopic features, perhaps paying attention to the distribution pattern of the overall turbid area of the water body; another branch uses a smaller convolutional kernel and focuses on capturing local and subtle features, such as the edge details of soil particles or local texture features. This multi-branch design can comprehensively mine the initial fusion feature from multiple scales and angles, making full use of various information contained therein.
[0095] Then, an attention mechanism is introduced to fuse the features extracted by each convolutional layer branch. The attention mechanism determines the contribution degree of each feature in the fusion process by calculating the importance weight of each feature. In specific implementation, usually the features extracted by each convolutional layer branch are input into an attention module. This module will calculate the correlation between features, for example, using dot product operation or other similarity measurement methods, to obtain the association degree of each feature with other features. For features closely related to soil dispersion, the attention mechanism will assign a higher weight, so that these key features can more prominently affect the final result during fusion. For example, if in some experiments it is found that the feature reflecting the texture of the soil particle aggregation area is closely related to soil dispersion, the attention mechanism will assign a larger weight to the output of the convolutional layer branch that extracts this feature, thereby generating a more discriminative target fusion feature.
[0096] Step c2, the soil dispersion discriminator makes a preliminary evaluation of the target fusion feature. By calculating the correlation score between each sub-feature in the fusion feature and the known soil dispersion label, key features whose contribution to discriminating soil dispersion is greater than a preset threshold are selected.
[0097] Specifically, the soil dispersion discriminator makes a preliminary evaluation of the target fusion feature. A large number of sample data with known soil dispersion labels are pre-stored in the discriminator. For each sub-feature in the target fusion feature, the soil dispersion discriminator will calculate its correlation score with these known labels. There are various methods to calculate the correlation, such as the Pearson correlation coefficient, which can measure the linear correlation degree between two variables (here the sub-feature value and the soil dispersion label value). For example, for a sub-feature reflecting the change trend of water conductivity, if in the dataset, when the value of this sub-feature increases, the value of the soil dispersion label also shows an obvious upward or downward trend, then the absolute value of the calculated Pearson correlation coefficient will be larger, indicating that this sub-feature has a strong correlation with soil dispersion.
[0098] Based on the calculated correlation scores, key features that contribute more than a preset threshold to the discrimination of soil dispersion are screened out. A correlation score threshold can be set, and only sub-features with scores higher than this threshold are identified as key features. For example, if the threshold is set to 0.6, then sub-features with correlation scores greater than 0.6 will be retained. These key features contain the most important information for judging soil dispersion. By screening, sub-features with weak correlation with soil dispersion and likely to interfere with the judgment are removed, improving the accuracy and efficiency of subsequent analysis.
[0099] Step c3, using feature enhancement techniques, enhance each key feature to obtain enhanced features.
[0100] Specifically, use feature enhancement techniques to enhance the screened key features. Common feature enhancement techniques include but are not limited to data transformation, feature synthesis, etc. For example, for key features reflecting the particle size distribution of soil, data transformation methods such as logarithmic transformation or power transformation can be used to highlight the detailed information in the features, making the differences in particle sizes that were originally difficult to distinguish more obvious. In terms of feature synthesis, according to domain knowledge, multiple related key features can be combined and calculated to generate new features. For instance, by weighted summation of two key features reflecting the change range and change rate of the water body pH value, an enhanced feature comprehensively reflecting the dynamic change of pH value is obtained, and this feature may have a stronger indicative effect on the judgment of soil dispersion. Through the application of the above feature enhancement techniques, enhanced features are obtained. These enhanced features, while retaining the core information of the original key features, further strengthen the information that has an important impact on soil dispersion and suppress noise and irrelevant information. For example, the enhanced feature reflecting the soil texture feature after enhancement processing may have higher contrast and clarity, and can more accurately reflect the arrangement and aggregation mode of soil particles, providing more powerful support for accurately judging soil dispersion.
[0101] Step c4, based on the enhanced features, output the soil dispersion corresponding to the soil sample.
[0102] Specifically, based on the obtained enhanced features, the soil dispersion discriminator outputs the soil dispersion corresponding to the soil sample. The soil dispersion discriminator usually contains a classification or regression model inside. For example, a support vector machine (SVM) is used for classification tasks (judging that the soil dispersion belongs to a certain grade category), or a linear regression model is used for regression tasks (predicting the specific soil dispersion value). Taking SVM as an example, it will find an optimal classification hyperplane according to the distribution of enhanced features in the feature space to distinguish soil samples with different dispersions. The enhanced features are used as the input of the model, and their rich and prominent information enables the model to make more accurate decisions, improving the accuracy of the judgment of soil dispersion.
[0103] The final soil dispersion degree results can be applied to multiple fields. In the agricultural field, it helps to evaluate the soil stability, guide reasonable irrigation and fertilization, and avoid soil erosion and fertility decline caused by soil dispersion; in civil engineering, it provides important soil property parameters for foundation treatment, road and bridge construction, etc., helps to design a reasonable foundation structure, and ensures the stability and safety of the project; in environmental science research, it is used to analyze the soil erosion risk and formulate effective soil and water conservation and environmental protection measures.
[0104] The soil analysis test equipment provided by the embodiments of the present application, the pH monitoring probe 28 is used to monitor the pH value of the water body, and obtain the change data of the pH value of the water body during the disintegration process of the soil sample, so as to reflect the dissolution, reaction, etc. of acid-base substances during the soil disintegration process. For example, if the soil contains alkaline minerals, the dissolution of alkaline substances during disintegration will increase the pH value of the water body, and this process can be traced through the pH value change data. The EC monitoring probe 29 is used to monitor the water body conductivity of the water body, and obtain the change data of the water body conductivity during the disintegration process of the soil sample; it can intuitively reflect the change of the ion release amount and type in the soil, because the ion concentration change will directly affect the conductivity. These two chemical property data complement the physical form information provided by the water body image, providing a rich data basis for determining the soil dispersion degree from different dimensions and making the analysis more comprehensive and accurate.
[0105] Then, the electronic device 3 is used to input the water body image, the water body pH value change data, and the water body conductivity change data into the feature extraction network in the preset soil dispersion model. This multi-source data input method can obtain soil dispersion-related information from different perspectives. The feature extraction network extracts the RGB features and image features corresponding to the water body image. Specifically, the feature extraction network identifies the water body image, determines the importance of features at different scales, and assigns weight information to the dilated convolutions in each receptive field, so that the soil dispersion discriminator can automatically adjust the attention to features at different scales according to the characteristics of the input water body image. By identifying the water body image, the complexity corresponding to different regions in the water body image is determined, so that potential features in the water body image can be highlighted through complexity analysis. According to the complexity corresponding to different regions in the water body image, the sampling frequency corresponding to the dilated convolution in each different receptive field is determined; the optimal allocation of computing resources can be achieved. For regions with high complexity, the sampling frequency is increased so that the dilated convolution can collect the feature information of this region more carefully and fully capture details such as complex textures and particle distributions; for regions with low complexity, the sampling frequency is reduced to reduce unnecessary computational volume while ensuring the acquisition of basic features. This can not only comprehensively extract the key information of the image but also avoid wasting computing resources due to over-sampling of simple regions, improving the computational efficiency of the feature extraction process. Based on each dilated convolution, feature extraction is performed on the water body image to determine the image features corresponding to the water body image. At different scales, the dilated convolution can capture multi-scale features from the macroscopic water body turbidity area distribution to the microscopic soil particle texture, and is adaptively adjusted according to the image region complexity and scale feature importance, so as to obtain richer and more accurate image features, providing more comprehensive information support for judging the soil dispersion degree. The feature extraction network captures the front and back features of the water body pH value change data and the water body conductivity change data from the forward and reverse directions, obtaining the water body pH value forward feature, the water body pH value backward feature, the water body conductivity forward feature, and the water body conductivity backward feature, so as to comprehensively understand the change trends of the water body pH value and the water body conductivity over time. The feature extraction network determines the key time series in the water body pH value change data and the water body conductivity change data based on the attention mechanism, obtaining the water body pH value key time series and the water body conductivity key time series, so as to focus on the time periods that have a greater impact on the soil sample dispersion degree. The water body pH value key time series and the water body conductivity key time series are identified to determine the water body pH value key features and the water body conductivity key features; further refine the information closely related to the soil dispersion degree. By accurately identifying the key features, more valuable inputs can be provided for subsequent feature fusion and discrimination.Next, using RGB features, image features, forward water body pH value features, backward water body pH value features, forward water body conductivity features, backward water body conductivity features, key water body pH value features, and key water body conductivity features as nodes, the relationships between different types of features can be comprehensively presented. The correlation between pairwise features is used as the weight of the edge to construct a feature graph, which can uncover some potential feature associations that are not easily observable directly. There may be complex non-linear relationships between some features, and these relationships can be discovered through correlation analysis and reflected in the feature graph. The feature graph is processed using a graph neural network; in each layer of message passing, each node updates its own feature representation based on the features of its neighbor nodes and the weights of the edges. This method can effectively capture the complex interaction effects between features. In the study of soil dispersion degree, the mutual influence between different features is not a simple linear relationship, but there is a complex coupling effect. The graph neural network can simulate this complex interaction process through the message passing mechanism. After a preset number of rounds of message passing and feature update, the features of all nodes in the feature graph are weighted and summed to obtain the initial fusion feature. This weighted summation method can comprehensively consider the contribution of each feature to the soil dispersion degree. In the feature graph, the weights of the edges already reflect the correlation between features. Through weighted summation, features with stronger correlation will occupy a larger proportion in the fusion feature, while features with weaker correlation will be relatively smaller. This can ensure that the fusion feature can more accurately reflect the comprehensive influence of different features on the soil dispersion degree, avoiding problems such as information loss or inaccuracy that may be caused by simple averaging or equal-weight fusion. The initial fusion feature is input into the soil dispersion degree discriminator, and the soil dispersion degree discriminator outputs the soil dispersion degree corresponding to the soil sample. The soil dispersion degree discriminator can accurately output the soil dispersion degree by comprehensively analyzing and judging this information.
[0106] In an alternative embodiment of the present application, an electronic device 3 is used to obtain the soil physical and chemical property data and geographical information data corresponding to each soil sample; the soil physical and chemical property data includes at least one of soil particle characteristics, three-phase ratio indexes of soil, physical and chemical state indexes of soil, and permeability indexes of soil; the geographical information data includes at least one of longitude and latitude, altitude, and geological structure; Based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample, a soil water sensitivity training data set is generated; the soil water sensitivity in the soil water sensitivity training data set is the label data; based on the soil water sensitivity training data set, a soil water sensitivity prediction model is trained; Generate a soil dispersion training dataset based on the soil physical and chemical property data, geographical information data, and soil water sensitivity corresponding to each soil sample; the soil dispersion in the soil dispersion training dataset is the labeled data; based on the soil dispersion training dataset, train a soil dispersion prediction model.
[0107] Among them, soil particle characteristics include information such as the size, shape, and gradation of soil particles. The size of soil particles directly affects the pore size and distribution of the soil, and thus affects the permeability and stability of the soil. For example, sandy soil particles are larger, with large pores and strong permeability; clay particles are fine, with small pores, weak permeability, and strong cohesion. The three-phase ratio index of soil: It involves the proportional relationship of the solid phase (soil particles), liquid phase (water), and gas phase (air) in the soil. Such as the void ratio (the ratio of the pore volume in the soil to the soil particle volume), water content (the ratio of the mass of water in the soil to the mass of soil particles), etc. These indexes reflect the degree of water saturation and compactness state of the soil mass, and have an important impact on the mechanical properties and water sensitivity of the soil mass. Soils with high water content are more likely to soften and disintegrate when encountering water, showing a higher water sensitivity. The physical and chemical state indexes of soil: For example, the relative density of sandy soil, the liquidity index of cohesive soil, the pH index, the redox potential index, the cation exchange capacity index, etc. The relative density reflects the compactness degree of sandy soil in the natural state. Sandy soil with high compactness has better stability under the action of water; the liquidity index is used to judge what physical state the cohesive soil is in (such as hard, plastic, flowing, etc.). The sensitivity of cohesive soil to water varies significantly in different states. The permeability index of soil: Such as the permeability coefficient, which measures the ability of the soil mass to allow water to pass through. For soil masses with a large permeability coefficient, the water flows fast in it, which may cause the fine particles in the soil mass to be washed away, aggravating the dispersion of the soil mass, and is closely related to the soil dispersion. Geographical information data, including longitude and latitude: Determine the geographical location of the soil sample. Soils in different geographical locations may be affected by different factors such as climate and vegetation, and thus affect their characteristics. For example, due to high temperature and heavy rainfall in tropical regions, the chemical weathering is strong, and the soil may have different mineral compositions and physical and chemical properties from those in cold regions, and the sensitivity to water is also different. Altitude: The altitude affects climate conditions such as temperature and precipitation, and thus affects the formation and characteristics of the soil. In high-altitude areas, the temperature is low and the soil freezing period is long. The physical state and water sensitivity of the soil mass may be different from those in low-altitude areas. In addition, altitude may also affect the groundwater level, indirectly affecting the water saturation state and permeability of the soil mass. Geological structure: The geological structure determines the origin and distribution of the soil mass. For example, the soil mass near the fault, due to the action of geological stress, its structure may be more broken, the connection between soil particles is weak, and it is more likely to disperse and deform under the action of water, and the water sensitivity and dispersion degree may be higher.
[0108] Based on the obtained soil physical and chemical property data, geographical information data, and soil water sensitivity data obtained through experiments or other means, a soil water sensitivity training dataset is generated. In this dataset, the soil water sensitivity is used as the labeled data, while the soil physical and chemical property data and geographical information data are used as the feature data. For example, for a group of soil samples located in a certain mountainous area (the geographical location is determined by longitude, latitude, and altitude, and the geological structure is a fold belt), the soil particle characteristics are relatively coarse particles and well-graded, the three-phase ratio index shows a low water content, the physical state index indicates a dense state, the permeability coefficient is large, and the corresponding soil water sensitivity is determined to be a low value through a soil disintegration experiment. These data are organized into a record and incorporated into the soil water sensitivity training dataset. A large number of such records constitute the complete training dataset, which is used to train the model to learn the relationship between soil characteristics and water sensitivity. Similarly, a soil dispersibility training dataset is generated. Again, the soil dispersibility is used as the labeled data, and the soil physical and chemical property data and geographical information data are used as the feature data. For example, another group of soil samples located in a river alluvial plain (specific geographical information), the soil particle characteristics are relatively fine particles and good sorting, the porosity ratio is large in the three-phase ratio index, the physical state index shows a plastic state, the permeability coefficient is moderate, and its soil dispersibility is determined to be at a medium level through methods such as water body image analysis. These data are composed into a record in the training dataset, and numerous such records build up the soil dispersibility training dataset, providing data support for training related prediction models. The model is trained using the constructed soil water sensitivity training dataset. Multiple machine learning models can be used, such as decision trees, random forests, neural networks, etc. Taking the neural network as an example, the feature data in the training dataset is input into the input layer of the neural network, and a series of neurons in the hidden layer perform feature extraction and transformation on the data, and finally the predicted soil water sensitivity value is obtained at the output layer. During the training process, by comparing the predicted value with the true soil water sensitivity labeled value, the loss function (such as the mean squared error loss function) is calculated, and the weights and biases of the neural network are adjusted using the backpropagation algorithm, so that the loss function gradually decreases and the model can predict the soil water sensitivity more and more accurately.
[0109] For the soil dispersibility prediction model, the corresponding training dataset is also used for training. If the random forest model is selected, the random forest consists of multiple decision trees, and each decision tree is trained based on a random subset of the training dataset. During the training process, the decision tree classifies or regresses the input feature data (soil physical and chemical properties and geographical information) to predict the soil dispersibility. By integrating the prediction results of multiple decision trees (such as using the voting method in classification tasks and the averaging method in regression tasks), the final predicted value is obtained. Continuously adjust the parameters of the random forest (such as the number of decision trees, maximum depth, etc.) to optimize the prediction performance of the model for soil dispersibility.
[0110] The soil analysis test equipment provided by the embodiments of the present application obtains the soil physical and chemical property data and geographical information data corresponding to each soil sample, and generates a soil water sensitivity training data set based on the soil physical and chemical property data, geographical information data and soil water sensitivity corresponding to each soil sample; the soil water sensitivity in the soil water sensitivity training data set is the labeled data; based on the soil water sensitivity training data set, a soil water sensitivity prediction model is trained, so that the soil water sensitivity of the soil can be predicted by using various characteristics of the soil. Based on the soil physical and chemical property data, geographical information data and soil water sensitivity corresponding to each soil sample, a soil dispersibility training data set is generated; the soil dispersibility in the soil dispersibility training data set is the labeled data; based on the soil dispersibility training data set, a soil dispersibility prediction model is trained. Thus, the soil dispersibility of the soil can be predicted by using various characteristics of the soil.
[0111] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A soil analysis test equipment, characterized in that: The soil analysis test equipment comprises: A water tank, a soil disintegration test device, an electronic device, and a camera device, wherein the electronic device is communicatively connected with the camera device and the soil disintegration test device, wherein: The water tank is used to hold water; The soil disintegration test equipment is used to simulate the disintegration process of the soil sample and the water body in a relative motion state, and record the mass change data of the soil sample during the disintegration process; The camera device is used to capture a water body image corresponding to the water body in the soil disintegration test device during the disintegration process of the soil sample; The electronic device is used to identify the mass change data to determine the soil water sensitivity corresponding to the soil sample; and to identify the water image to determine the soil dispersion corresponding to the soil sample.
2. The soil analysis test equipment according to claim 1, characterized in that: The water tank is divided into two water areas, and the soil disintegration test equipment includes: two grid hanging baskets, the two grid hanging baskets extend into the two water areas corresponding to the water tank respectively; one of the grid hanging baskets is connected to a lifting rod, the lifting rod can drive the grid hanging basket to move up and down, the lifting rod is connected to a motor, and the grid hanging basket is connected to a first electronic scale; the other grid hanging basket is connected to a second electronic scale, the motor and the first electronic scale and the second electronic scale are both connected to the electronic device for communication, wherein: Each of the grid hanging baskets is used to hold the soil sample; The electronic device is used to control the motor to drive the lifting rod to move up and down at a preset speed, so that the soil sample and the water body have a preset relative movement speed, and a disintegration test can be performed under the relative movement condition of the soil sample and the water body; The first electronic scale is used to measure a first initial mass of the grid basket corresponding to the first electronic scale when immersed in the water body, and a first target mass corresponding to the grid basket after a preset time period; The second electronic scale is used to measure a second initial mass of the grid basket corresponding to the second electronic scale when immersed in the water body, and a second target mass corresponding to the grid basket after a preset time period; The electronic device is used to calculate the soil water sensitivity of the soil sample corresponding to the preset time length at the preset relative motion speed based on the first initial mass, the first target mass, the second initial mass, and the second target mass.
3. The soil analysis test equipment according to claim 2, characterized in that: The electronic device is used to calculate a first disintegration degree by subtracting a first target mass from the first initial mass and dividing the difference by the first initial mass; Calculate a second disintegration degree by subtracting the second target mass from the second initial mass and dividing it by the second initial mass; The soil water sensitivity corresponding to the soil sample at the relative movement speed is calculated by dividing the first disintegration degree by the second disintegration degree.
4. The soil analysis test equipment according to claim 2, characterized in that: Each of the soil disintegration test devices comprises: at least one water jet and at least one wave generator, wherein: The water jet is used to adjust the jet angle and flow rate under the control of the electronic device to generate water jets of different speeds, directions and intensities; The wave generator is used to generate waves of various wavelengths and wave heights under the control of the electronic device, so as to further simulate different water body strengths and water body pressures; The electronic device is used to calculate the soil water sensitivity corresponding to the soil sample under each relative movement speed, each water body strength and each water body pressure.
5. The soil analysis test equipment according to claim 2, characterized in that: The soil disintegration test equipment further includes a pH monitoring probe and an EC monitoring probe, and the pH monitoring probe and the EC monitoring probe are both communicatively connected to the electronic device, wherein: The pH monitoring probe is used to monitor the pH value of the water body and obtain the pH value change data of the water body during the disintegration process of the soil sample; The EC monitoring probe is used to monitor the water conductivity of the water body and obtain the water conductivity change data of the soil sample during the disintegration process; The camera device is used to capture at least one water body image of the water body area corresponding to the grid hanging basket connected to the second electronic scale during the disintegration process of the soil sample; The electronic device is used to input the water body image, the water body pH value change data and the water body conductivity change data into a preset soil dispersion model, and output the soil dispersion corresponding to the soil sample.
6. The soil analysis test equipment according to claim 5, characterized in that: The preset soil dispersion model includes a feature extraction network and a soil dispersion discriminator, wherein: The electronic device is used to input the water body image, the water body pH value change data and the water body conductivity change data into a feature extraction network in the preset soil dispersion model; The feature extraction network extracts RGB features and image features corresponding to the water body image; the image features include at least one of water body turbidity features and water body texture features; The feature extraction network captures the forward and backward features of the water body pH value change data and the water body conductivity change data from the forward and backward directions to obtain the water body pH value forward feature, the water body pH value backward feature, the water body conductivity forward feature and the water body conductivity backward feature; The feature extraction network determines the key time series in the water body pH value change data and the water body conductivity change data based on the attention mechanism to obtain the water body pH value key time series and the water body conductivity key time series; Identify the key time series of the pH value of the water body and the key time series of the electrical conductivity of the water body, and determine the key features of the pH value of the water body and the key features of the electrical conductivity of the water body; Performing feature fusion on the RGB feature, the image feature, the forward feature of the water body pH value, the backward feature of the water body pH value, the forward feature of the water body conductivity, the backward feature of the water body conductivity, the key feature of the water body pH value, and the key feature of the water body conductivity to generate an initial fusion feature; The initial fusion feature is input into the soil dispersion discriminator, and the soil dispersion discriminator outputs the soil dispersion corresponding to the soil sample.
7. The soil analysis test equipment according to claim 6, characterized in that: The feature extraction network includes multiple dilated convolutions with different receptive fields; wherein: The feature extraction network identifies the water body image, determines the importance of features at different scales, and assigns weight information to the hole convolution of each receptive field; Identify the water body image and determine the complexity corresponding to different areas in the water body image; Determining the sampling frequency corresponding to the dilated convolution of each of the different receptive fields according to the complexity corresponding to different areas in the water body image; Based on each of the dilated convolutions, feature extraction is performed on the water body image to determine image features corresponding to the water body image.
8. The soil analysis test equipment according to claim 6, characterized in that: The electronic device is used to construct a feature graph using the RGB feature, the image feature, the forward feature of the water pH value, the backward feature of the water pH value, the forward feature of the water conductivity, the backward feature of the water conductivity, the key feature of the water pH value and the key feature of the water conductivity as nodes and the correlation between any two features as the weight of the edge; The feature graph is processed using a graph neural network; in the message passing of each layer, each node updates its own feature representation according to the features of its neighboring nodes and the weights of the edges; After a preset number of rounds of message transmission and feature update, the features of all nodes in the feature graph are weighted summed to obtain the initial fusion feature.
9. The soil analysis test equipment according to claim 6, characterized in that: The electronic device is used to input the initial fusion feature into the soil dispersion discriminator; in the initial layer of the soil dispersion discriminator, different types of features are extracted through different convolution layer branches, and the attention mechanism is introduced to fuse the features extracted by each convolution layer to generate the target fusion feature; The soil dispersion discriminator performs a preliminary evaluation on the target fusion feature, and screens out key features that contribute more than a preset threshold to the soil dispersion by calculating the correlation score between each sub-feature in the fusion feature and the known soil dispersion label; Using feature enhancement technology to enhance each of the key features to obtain enhanced features; Based on the enhanced features, the soil dispersion corresponding to the soil sample is output.
10. The soil analysis test equipment according to claim 1, characterized in that: The electronic device is used to obtain soil physical and chemical property data and geographic information data corresponding to each soil sample; the soil physical and chemical property data includes at least one of soil particle characteristics, soil three-phase ratio index, soil physical and chemical state index, and soil permeability index; the geographic information data includes at least one of longitude and latitude, altitude, and geological structure; Based on the soil physical and chemical property data, the geographic information data and the soil water sensitivity corresponding to each of the soil samples, a soil water sensitivity training data set is generated; the soil water sensitivity in the soil water sensitivity training data set is label data; based on the soil water sensitivity training data set, a soil water sensitivity prediction model is trained; A soil dispersion training data set is generated based on the soil physical and chemical property data, the geographic information data and the soil water sensitivity corresponding to each of the soil samples; the soil dispersion in the soil dispersion training data set is label data; and a soil dispersion prediction model is trained based on the soil dispersion training data set.
Citation Information
Patent Citations
A method for measuring disintegration of a fibrous product
CA3067414A1
Red layer soft rock weathering test device and test method
CN116202944A
Soil fertility intelligent evaluation method and system based on image recognition
CN119131590A
Temperature-controllable soil disintegration experiment device
CN209043898U
Earthen archaeological site material disintegration testing device
CN211263063U