Dynamic-Response Modeling and Real-Time Compensation of Multi-Gas Sensors in Smart Livestock Housing During Ventilation Transients
Hyeonchang Jeong, Kyeong Il Ko, Meonghun Lee
Key points
From the paper's conclusion- Dynamic compensation can therefore improve gas-data reliability during ventilation transients, although validation across seasons and farms remains necessary.
Abstract
Low-cost CO2 and NH3 sensors are widely used in smart livestock housing, but their slow dynamic response during ventilation-fan transitions can cause substantial measurement errors that steady-state monitoring approaches overlook. This study aimed to quantify these transient errors and compensate for them in real time. Chamber experiments reproducing pig-barn ventilation rates (2–20 ACH) were combined with field measurements in a commercial finishing-pig barn. A hybrid framework coupling a physics-based dual first-order lag model with a GRU residual-correction model was evaluated using event-level five-fold cross-validation, held-out week-2 field data from the same farm, and ablation analysis. Transient error reached up to 12.97 times the steady-state level and was associated with the ratio of the sensor time constant to the room dilution time constant. Hybrid compensation reduced transient MAE by 82.7% for CO2 and 66.9% for NH3 and shortened the equivalent CO2 t90 by 70.9%; improvements of 73.3% and 59.3% were maintained on the held-out field data. The hybrid model outperformed physics-only and deep-learning-only models. After 8-bit quantization, processing on a Raspberry Pi 4B(Raspberry Pi Ltd., Cambridge, UK) required 4.58 ms per gas and 9.54 ms for both gases. Dynamic compensation can therefore improve gas-data reliability during ventilation transients, although validation across seasons and farms remains necessary.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Sensing Reliability Degradation Associated with Cattle Activity in Smart Barns: A Recovery Framework Using Behavioral ContextElectronics · 2026
- Assessing When Environmental Context Improves Porcine Respiratory Acoustic Alerting: A Controlled Semi-Synthetic BenchmarkElectronics · 2026
- Data-driven moving-window Bayesian inference for transient CO2–temperature network models of buildingsJournal of Mathematics in Industry · 2026
- Field Verification and Multi-Site Deployment of a Multi-Sensor Node for Continuous Environmental Monitoring in Commercial Beef Cattle Facilities.Animals : an open access journal from MDPI · 2026
- Mask for individual sampling of tidal and ruminal gas contaminated breath in dairy cows.Journal of breath research · 2026
- Development and Evaluation of a Low-Cost Device for Environmental Monitoring in Livestock HousingAgriEngineering · 2026