A Real-Time Gas Sensor Network with Adaptive Feedback Control for Automated Composting Management
Abstract
1. Introduction
2. Materials and Methods
2.1. Experimental Setup for Compost Monitoring
2.2. Depth-Resolved Gas Sampling in Compost Windrows
2.3. Depth-Resolved High-Precision Gas Monitoring
2.4. Modular Framework for Automated Compost Monitoring
2.5. Gas Sampling Systems
2.6. Integrated Monitoring of Gaseous and Physicochemical Parameters
2.7. Integrated Calibration and Validation of Gaseous and Physicochemical Sensors
3. Results and Discussion
3.1. Statistical Validation of Sensor Accuracy
3.2. Validation of Sensor Technology via ANOVA and Compost Quality Implications
3.3. Nutritional Enhancement and Compost Maturity Validation Through Sensor-Based Monitoring
3.4. Normalization as a Foundation for Reliable Compost Data
3.5. Agreement Analysis Validating Real-Time Compost Gas Monitoring
3.6. Statistical Validation of Composting Phases Through Sensor-Based Monitoring
3.7. Comparative Statistical Validation of Sensor-Based and Traditional Methods
3.8. Correlation Analysis of Composting Parameters for Optimization
3.9. Influence of Ambient Temperature on Compost Gas Dynamics
4. Conclusions
5. Patents
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Jiang, D.; Wang, Y.; Guo, Z.; Hao, X.; Yu, H.; Bai, L. Optimizing anaerobic acidogenesis: Synergistic effects of thermal pretreatment of composting, oxygen regulation, and additive supplementation. Sustainability 2025, 17, 6494. [Google Scholar] [CrossRef]
- Varela, A.; Pineda Herrera, J.C.; Vanegas, J.; Soler, J.; Peña, J.; Pérez, P.; Pinilla, J. Biochar, compost, and effective microorganisms: Evaluating the recovery of post-clay mining soil. Sustainability 2025, 17, 6088. [Google Scholar] [CrossRef]
- Gu, J.; Li, S.; Sun, X.; Zou, R.; Song, B.; Wang, D.; Wang, H.; Li, Y. Greenhouse gas emissions from co-composting of green waste and kitchen waste at different ratios. Sustainability 2025, 17, 8041. [Google Scholar] [CrossRef]
- De Figueiredo, C.C.; Melo, L.C.A.; Silva, C.A.; Fachini, J.; Da Silva Carneiro, J.S.; De Morais, E.G.; Ndoung, O.C.N.; Singh, S.V.; Nandipamu, T.M.K. Nutrient enriched and co-composted biochar: System productivity and environmental sustainability. In Biochar-Based Composting Technologies; Elsevier: Amsterdam, The Netherlands, 2024; pp. 311–331. [Google Scholar] [CrossRef]
- Moncks, P.; Corrêa, K.; Guidoni, L.L.C.; Moncks, R.; Corrêa, L.; Lucia, T.; Araujo, R.; Yamin, A.; Marques, F. Moisture content monitoring in industrial-scale composting systems using low-cost sensor-based machine learning techniques. Bioresour. Technol. 2022, 359, 127456. [Google Scholar] [CrossRef]
- Molleman, B.; Alessi, E.; Passaniti, F.; Daly, K. Evaluation of the applicability of a metal oxide semiconductor gas sensor for methane emissions from agriculture. Inf. Process. Agric. 2023; in press. [Google Scholar] [CrossRef]
- Baiense, K.M.S.M.; Linhares, F.G.; Inácio, C.T.; Sthel, M.S.; Vargas, H.; Da Silva, M.G. Photoacoustic-based sensor for real-time monitoring of methane and nitrous oxide in composting. Sens. Actuators B Chem. 2021, 341, 129974. [Google Scholar] [CrossRef]
- Chakraborty, S.; Das, B.S.; Ali, M.N.; Li, B.; Sarathjith, M.; Majumdar, K.; Ray, D. Rapid estimation of compost enzymatic activity by spectral analysis method combined with machine learning. Waste Manag. 2014, 34, 623–631. [Google Scholar] [CrossRef]
- Xue, W.; Hu, X.; Wei, Z.; Mei, X.; Chen, X.; Xu, Y. A fast and easy method for predicting agricultural waste compost maturity by image-based deep learning. Bioresour. Technol. 2019, 290, 121761. [Google Scholar] [CrossRef]
- Yılmaz, E.C.; Temel, F.A.; Yolcu, O.C.; Turan, N.G. Modeling and optimization of process parameters in co-composting of tea waste and food waste: Radial basis function neural networks and genetic algorithm. Bioresour. Technol. 2022, 363, 127910. [Google Scholar] [CrossRef]
- Bayındır, Y.; Yolcu, O.C.; Temel, F.A.; Turan, N.G. Evaluation of a cascade artificial neural network for modeling and optimization of process parameters in co-composting of cattle manure and municipal solid waste. J. Environ. Manag. 2022, 318, 115496. [Google Scholar] [CrossRef]
- Wang, Z. Greenhouse data acquisition system based on ZigBee wireless sensor network to promote the development of agricultural economy. Environ. Technol. Innov. 2021, 24, 101689. [Google Scholar] [CrossRef]
- Lakshmi, G.P.; Asha, P.; Sandhya, G.; Sharma, S.V.; Shilpashree, S.; Subramanya, S. An intelligent IoT sensor coupled precision irrigation model for agriculture. Meas. Sens. 2023, 25, 100608. [Google Scholar] [CrossRef]
- Wang, Y.; Ma, F.; Zhu, T.; Liu, Z.; Ma, Y.; Li, T.; Hao, L. Electric heating promotes sludge composting process: Optimization of heating method through machine learning algorithms. Bioresour. Technol. 2023, 382, 129177. [Google Scholar] [CrossRef] [PubMed]
- Lepe, P.T.; Ibarra, R.G.; Namur, E.C.; Heredia, K.V. Closing the loop: Industrial bioplastics composting. In Industrial Bioplastics: Processing, Degradation, and Environmental Applications; Elsevier: Amsterdam, The Netherlands, 2024; pp. 161–190. [Google Scholar] [CrossRef]
- Panda, S.; Mehlawat, S.; Dhariwal, N.; Kumar, A.; Sanger, A. Comprehensive review on gas sensors: Unveiling recent developments and addressing challenges. Mater. Sci. Eng. B 2024, 308, 117616. [Google Scholar] [CrossRef]
- AOAC International. Official Methods of Analysis of AOAC International, 18th ed.; AOAC International: Gaithersburg, MD, USA, 2005.
- United States Environmental Protection Agency (USEPA). Test Methods for Evaluating Solid Waste: Physical/Chemical Methods (SW-846), Update III; Office of Solid Waste and Emergency Response: Washington, DC, USA, 1995.
- Zhou, Y.; Liu, H.; Chen, H.; Awasthi, S.K.; Sindhu, R.; Binod, P.; Pandey, A.; Awasthi, M.K. Introduction: Trends in composting and vermicomposting technologies. In Composting and Vermicomposting Technologies; Elsevier: Amsterdam, The Netherlands, 2023; pp. 1–28. [Google Scholar] [CrossRef]
- ISO 16000-1:2004; Indoor Air—Part 1: General Aspects of Sampling Strategy. ISO: Geneva, Switzerland, 2004.
- ISO 16000-6:2011; Indoor Air—Part 6: Determination of Carbon Dioxide and Carbon Monoxide in Indoor Air. ISO: Geneva, Switzerland, 2011.
- United States Environmental Protection Agency (USEPA). Method 3A—Determination of Oxygen and Carbon Dioxide Concentrations in Emissions from Stationary Sources (Instrumental Analyzer Procedures); Code of Federal Regulations, 40 CFR Part 60, Appendix A-1; USEPA: Washington, DC, USA, 2017.
- United States Environmental Protection Agency (USEPA). Method 25C—Determination of Nonmethane Organic Compounds (NMOC) in Landfill Gases; Code of Federal Regulations, 40 CFR Part 60, Appendix A-8; USEPA: Washington, DC, USA, 1997.
- Huang, L.T.; Hou, J.Y.; Liu, H.T. Machine-learning intervention progress in the field of organic waste composting: Simulation prediction optimization and challenges. Waste Manag. 2024, 178, 155–167. [Google Scholar] [CrossRef] [PubMed]
- Palaparthy, V.S.; Singh, D.N.; Baghini, M.S. Compensation of temperature effects for in-situ soil moisture measurement by DPHP sensors. Comput. Electron. Agric. 2017, 141, 73–80. [Google Scholar] [CrossRef]
- Surya, S.G.; Yuvaraja, S.; Varrla, E.; Baghini, M.S.; Palaparthy, V.S.; Salama, K.N. An in-field integrated capacitive sensor for rapid detection and quantification of soil moisture. Sens. Actuators B Chem. 2020, 321, 128542. [Google Scholar] [CrossRef]
- Mohammadi, F.; Maleki, M.R.; Khodaei, J. Laboratory evaluation of infrared and ultrasonic rangefinder sensors for on-the-go measurement of soil surface roughness. Soil Tillage Res. 2023, 229, 105678. [Google Scholar] [CrossRef]
- ISO 6142-1:2015; Gas Analysis—Preparation of Calibration Gas Mixtures—Part 1: Gravimetric Method. ISO: Geneva, Switzerland, 2015.
- ISO 10780:1994; Stationary Source Emissions—Measurement of Velocity and Volume Flow Rate of Gas Streams in Ducts. ISO: Geneva, Switzerland, 1994.
- Mahapatra, S.; Ali, M.H.; Samal, K. Assessment of compost maturity–stability indices and recent development of composting bin. Energy Nexus 2022, 6, 100062. [Google Scholar] [CrossRef]
- Dogan, H.; Temel, F.A.; Yolcu, O.C.; Turan, N.G. Modelling and optimization of sewage sludge composting using biomass ash via deep neural network and genetic algorithm. Bioresour. Technol. 2023, 370, 128541. [Google Scholar] [CrossRef]
- Khan, N.; Bolan, N.; Joseph, S.; Anh, M.T.L.; Meier, S.; Kookana, R.; Borchard, N.; Sánchez-Monedero, M.A.; Jindo, K.; Solaiman, Z.M.; et al. Complementing compost with biochar for agriculture, soil remediation and climate mitigation. In Advances in Agronomy; Sparks, D.L., Ed.; Academic Press: Cambridge, MA, USA, 2023; pp. 1–90. [Google Scholar] [CrossRef]
- Patnaik, P.; Tabassum-Abbasi, N.; Abbasi, S. Use of prosopis as compost/vermicompost. In Prosopis for Sustainable Livelihoods; Elsevier: Amsterdam, The Netherlands, 2024; pp. 337–357. [Google Scholar] [CrossRef]
- Wang, X.; Zheng, W.; Ma, Y.; Ma, J.; Gao, Y.M.; Zhang, X.; Li, J. Gasification filter cake reduces the emissions of ammonia and enriches the concentration of phosphorous in Caragana microphylla residue compost. Bioresour. Technol. 2020, 315, 123832. [Google Scholar] [CrossRef]
- Kaur, J.; Adamchuk, V.I.; Whalen, J.K.; Ismail, A.A. Development of an NDIR CO2 sensor-based system for assessing soil toxicity using substrate-induced respiration. Sensors 2015, 15, 4734–4748. [Google Scholar] [CrossRef] [PubMed]
- Ou, S.; Zhao, M.; Li, S.; Zhou, T. Online shock sensing for rotary machinery using encoder signal. Mech. Syst. Signal Process. 2022, 182, 109559. [Google Scholar] [CrossRef]














| Pile | Length (m) | Radius (m) | Volume (m3) | Total Weight (kg) | Moisture Content (%) | C:N Ratio | Bulk Density (kg/m3) |
|---|---|---|---|---|---|---|---|
| 1 | 10.0 | 1.0 | 14.2 | 5000 | 58 | 27:1 | 352 |
| 2 | 10.0 | 0.55 | 4.75 | 3200 | 56 | 30:1 | 674 |
| 3 | 13.0 | 0.8 | 14.1 | 5000 | 55 | 25:1 | 354 |
| Pile | Green Material (kg, %) | Yellow Leaves (kg, %) | Sawdust (kg, %) | Horse Waste (kg, %) | Sludge Water (kg, %) |
|---|---|---|---|---|---|
| 1 | 625 (13%) | 675 (14%) | 1200 (24%) | 1667 (33%) | 834 (17%) |
| 2 | 0 (0%) | 576 (18%) | 1024 (32%) | 1067 (33%) | 533 (17%) |
| 3 | 1250 (25%) | 450 (9%) | 800 (16%) | 1667 (33%) | 834 (17%) |
| Sensor Type | Model (Manufacturer) | Measurement Range | Accuracy | Response Time (t90) | Application in Study |
|---|---|---|---|---|---|
| CO2 (Infrared) | Gravity: Infrared CO2 Sensor (0–55,000 ppm)–SEN0219; DFRobot, Shanghai, China, 2021 | 0–55,000 ppm | ±(30 ppm + 3% of reading) | ≤30 s | Real-time CO2 profiling and calibration |
| O2 (Electrochemical) | Alphasense O2-A2; Alphasense Ltd., Great Notley, Essex, UK | 0–25% vol | ±0.4% O2 (industrial) | ≤10 s | Oxygen gradient tracking |
| CH4 (MOS sensor) | Figaro TGS2611; Figaro Engineering Inc., Mino, Osaka, Japan | 0–10,000 ppm | ±5% of reading (post-cal) | ≈15 s | Methane mapping with drift correction |
| Multi-Gas Analyzer | MRU OPTIMAX Biogas & Engine Exhaust Gas Analyzer, MRU Instruments, Neckarsulm, Germany; 2023 | CH4: 0–10,000 ppm; CO2: 0–55,000 ppm; O2: 0–30% vol | CH4: 5 ppm; CO2: 1 ppm; O2: 0.01% vol; ≤±1% (repeatability); ±2% FS (precision) | <20 s | Calibration reference and validation |
| Parameter | Sensor/Instrument | Measurement Range | Accuracy | Resolution | Calibration Reference |
|---|---|---|---|---|---|
| (Model, Manufacturer) | |||||
| Temp | Type K Thermocouple (Omega Engineering, Norwalk, CT, USA) | −50 to 200 °C | ±0.5 °C | 0.1 °C | Mercury-in-glass thermometer, water bath |
| Moisture | EC-5 FDR Probe (METER Group Inc., Pullman, WA, USA) | 0–100% VWC | ±2–3% VWC | 0.10% | Gravimetric oven-dry method at 105 °C |
| pH | Soil pH Pen (Bluelab Corporation Limited, Tauranga, New Zealand) | 0.0–14.0 pH; 0–100 °C | ±0.1 pH; ±1 °C | 0.1 pH | Two-point calibration (pH 7.0 and 4.0 or 10.0) |
| Volume | Bosch GLM 50 Laser Rangefinder (Robert Bosch GmbH, Gerlingen, Germany) | 0.05–50 m | ±1.5 mm | 1 mm | Manufacturer calibration certificate |
| Gas | Calibration Function | R2 | RMSE | U95 (≈1.96 × RMSE) |
|---|---|---|---|---|
| O2 | x = (y − 0.40)/0.96x = (y − 0.40)/0.96 | 0.96 | 0.14 | 0.28 |
| CO2 | x = (y − 857.14)/0.97x = (y − 857.14)/0.97 | 0.97 | 304.09 | 596.03 |
| CH4 | x = (y − 6.57)/1.04x = (y − 6.57)/1.04 | 0.97 | 1.25 | 2.46 |
| Parameter | Threshold Condition | Required Action | Intended Effect/Rationale | Reference |
|---|---|---|---|---|
| Oxygen (O2, %) | <8% | Turning | Restores aerobic conditions by reintroducing oxygen and enhancing microbial activity. | [14] |
| 8–16% | No action | Adequate range for aerobic composting. | ||
| >16% | Watering | Prevents over-drying and maintains optimal pile moisture. | ||
| Carbon Dioxide (CO2, ppm) | <40,000 | Watering | Stimulates microbial metabolism and enhances decomposition activity. | [3] |
| 40,000–45,000 | No action | Indicates active aerobic microbial processes. | ||
| >45,000 | Turning | Releases excess CO2, reduces anaerobic pockets, and restores oxygen balance. | ||
| Methane (CH4, ppm) | <250 | Watering | Maintains microbial activity and prevents excessive drying. | [6] |
| 250–550 | No action | Reflects balanced aerobic–anaerobic conditions within acceptable limits. | ||
| >550 | Turning | Reintroduces oxygen, disrupts anaerobic zones, and reduces methane accumulation. |
| Gas–Phase | F-Value | p-Value | η2 | 95% CI (η2) |
|---|---|---|---|---|
| O2—Thermophilic | 1.45 | 0.21 | 0.06 | 0.01–0.14 |
| O2—Cooling | 1.02 | 0.31 | 0.04 | 0.00–0.11 |
| CO2—Mesophilic | 0.87 | 0.38 | 0.03 | 0.00–0.09 |
| CO2—Maturation | 0.54 | 0.47 | 0.02 | 0.00–0.08 |
| CH4—Cooling | 6.89 | 0.012 * | 0.21 | 0.08–0.34 |
| CH4—Maturation | 2.16 | 0.15 | 0.07 | 0.01–0.16 |
| Parameter | Sensor Mean ± SD | Traditional Mean ± SD | ANOVA F (Phase) | p (Phase) | η2 (Phase) [95% CI] | ANOVA F (Method) | p (Method) | η2 (Method) |
|---|---|---|---|---|---|---|---|---|
| O2 (%) | 15.50 ± 1.60 | 15.48 ± 1.57 | 18.53 | <0.001 | 0.24 [0.12–0.33] | 1.00 | 0.37 | 0.01 |
| CO2 (ppm) | 35,522 ± 10,253 | 35,467 ± 10,259 | 31.62 | <0.001 | 0.31 [0.19–0.39] | 0.02 | 0.91 | <0.01 |
| CH4 (ppm) | 334 ± 66.5 | 335 ± 66.7 | 8.92 | 0.001 | 0.18 [0.06–0.28] | 0.13 | 0.74 | <0.01 |
| Parameter | Post hoc Significant Phase Differences |
|---|---|
| O2 (%) | Phase 2 vs. Phase 3 (−1.40%); Phase 2 vs. Phase 4 (−0.52%); Phase 3 vs. Phase 4 (+0.89%) |
| CO2 (ppm) | Phase 2 vs. Phase 3 (+7499 ppm); Phase 2 vs. Phase 4 (+6379 ppm); Phase 3 vs. Phase 4 (−1120 ppm) |
| CH4 (ppm) | Phase 1 vs. Phase 3 (+77.97 ppm); Phase 1 vs. Phase 4 (−10.20 ppm); Phase 2 vs. Phase 3 (−30.07 ppm) |
| Parameter | Phase Effect (F, p) | Effect Size (η2, 95% CI) | Method Effect (F, p) | Significant Phase Differences (Post hoc) |
|---|---|---|---|---|
| O2 (%) | Sensors: F = 18.53, p < 0.001 Traditional: F = 17.80, p < 0.001 | 0.42 (0.29–0.55) | Sensors: F = 1.00, p = 0.37 Traditional: F = 1.00, p = 0.37 | Phase 2 vs. 3 (Δ ≈ −1.4%) Phase 2 vs. 4 (Δ ≈ −0.5%) Phase 3 vs. 4 (Δ ≈ +0.9%) |
| CO2 (ppm) | Sensors: F = 31.62, p < 0.001 Traditional: F = 31.31, p < 0.001 | 0.51 (0.37–0.63) | Sensors: F = 0.02, p = 0.91 Traditional: F = 0.02, p = 0.91 | Phase 2 vs. 3 (Δ ≈ +7500 ppm) Phase 2 vs. 4 (Δ ≈ +6400 ppm) Phase 3 vs. 4 (Δ ≈ −1100 ppm) |
| CH4 (ppm) | Sensors: F = 8.92, p = 0.001 Traditional: F = 8.87, p = 0.001 | 0.28 (0.15–0.42) | Sensors: F = 0.13, p = 0.74 Traditional: F = 0.13, p = 0.74 | Phase 1 vs. 3 (Δ ≈ +78 ppm) Phase 2 vs. 3 (Δ ≈ −30 ppm) Phase 1 vs. 4 (Δ ≈ −10 ppm) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Naser, A.G.; Nawi, N.M.; Zakaria, M.R.; Kassim, M.S.M.; Mutalovich, A.A.; Katibi, K.K. A Real-Time Gas Sensor Network with Adaptive Feedback Control for Automated Composting Management. Sustainability 2025, 17, 10152. https://doi.org/10.3390/su172210152
Naser AG, Nawi NM, Zakaria MR, Kassim MSM, Mutalovich AA, Katibi KK. A Real-Time Gas Sensor Network with Adaptive Feedback Control for Automated Composting Management. Sustainability. 2025; 17(22):10152. https://doi.org/10.3390/su172210152
Chicago/Turabian StyleNaser, Abdulqader Ghaleb, Nazmi Mat Nawi, Mohd Rafein Zakaria, Muhamad Saufi Mohd Kassim, Azimov Abdugani Mutalovich, and Kamil Kayode Katibi. 2025. "A Real-Time Gas Sensor Network with Adaptive Feedback Control for Automated Composting Management" Sustainability 17, no. 22: 10152. https://doi.org/10.3390/su172210152
APA StyleNaser, A. G., Nawi, N. M., Zakaria, M. R., Kassim, M. S. M., Mutalovich, A. A., & Katibi, K. K. (2025). A Real-Time Gas Sensor Network with Adaptive Feedback Control for Automated Composting Management. Sustainability, 17(22), 10152. https://doi.org/10.3390/su172210152

