Soil Porosity Detection Method Based on Ultrasound and Multi-Scale Feature Extraction
Soil porosity, as an essential indicator for assessing soil quality, plays a key role in guiding agricultural production, so it is beneficial to detect soil porosity. However, the currently available methods do not apply to high-precision and rapid detection of soil with a black-box nature in the field, so this paper proposes a soil porosity detection method based on ultrasound and multi-scale CNN-LSTM. Firstly, a series of ring cutter soil samples with different porosities were prepared manually to simulate soil collected in the field using a ring cutter, followed by ultrasonic signal acquisition of the soil samples. The acquired signals were subjected to three kinds of data augmentation processes to enrich the dataset: adding Gaussian white noise, time shift transformation, and random perturbation. Since the collected ultrasonic signals belong to long-time series data and there are different frequency and sequence features, this study constructs a multi-scale CNN-LSTM deep neural network model using large convolution kernels based on the idea of multi-scale feature extraction, which uses multiple large convolution kernels of different sizes to downsize the collected ultra-long time series data and extract local features in the sequences, and combining the ability of LSTM to capture global and long-term dependent features enhances the feature expression ability of the model. The multi-head self-attention mechanism is added at the end of the model to infer the before-and-after relationship of the sequence data to improve the degradation of the model performance caused by waveform distortion. Finally, the model was trained, validated, and tested using ultrasonic signal data collected from soil samples to demonstrate the accuracy of the detection method. The model has a coefficient of determination of 0.9990 for detecting soil porosity, with a percentage root mean square error of only 0.66%. It outperforms other advanced comparative models, making it very promising for application.
Authors
- Long Qi (ORCID: https://orcid.org/0000-0002-7987-8929)
- Wenhao Zhang (ORCID: https://orcid.org/0000-0001-7641-5024)
- Xiuli Yang
- Xinyu Jiang (ORCID: https://orcid.org/0000-0002-3680-476X)
- Weizi Cai (ORCID: https://orcid.org/0000-0001-9063-5226)
- Shuanglong Wu (ORCID: https://orcid.org/0000-0002-4246-6250)
- Yu Jiang (ORCID: https://orcid.org/0000-0003-4495-3033)
- Hang Xing (ORCID: https://orcid.org/0000-0003-2197-5950)
- Z. Zhong
Institutions
- South China Agricultural University (CN)
- University of Manitoba (CA)
Publication Details
- Journal
- Sensors
- Published
- 2025-05-20
- DOI
- https://doi.org/10.3390/s25103223
- Citations
- 1
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 1.75
Funders
- National Key Research and Development Program of China