You are currently viewing a new version of our website. To view the old version click .
Sensors
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

18 December 2025

Digital Twin-Based Virtual Sensor Data Prediction and Visualization Techniques for Smart Swine Barns

and
1
Low-Carbon Agriculture-Based Smart Distribution Research Center, Sunchon National University, Suncheon 57922, Republic of Korea
2
Department of Convergence Biosystems Mechanical Engineering, Sunchon National University, Suncheon 57922, Republic of Korea
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Digital Twin-Based Smart Agriculture

Abstract

To address the limitations of sensor deployment and high maintenance costs in smart swine barns, this study proposes a digital twin (DT)-based virtual sensor prediction and visualization method. Spatial constraints and harsh barn environments often cause sensor blackout zones, hindering precise environmental monitoring. To overcome these challenges, a virtual sensor was defined at the central position between Zone 1 and Zone 2, and its data were generated using a hybrid model that combines inverse distance weighting (IDW)-based spatial interpolation with long short-term memory (LSTM)-based time-series prediction. The proposed method was evaluated using 34,992 datasets collected from January to August 2025. Performance analysis demonstrated that the hybrid model achieved high prediction accuracy, particularly for variables with strong spatial heterogeneity, such as carbon dioxide (CO2) and ammonia (NH3), with overall coefficients of determination (R2) exceeding 0.95. Furthermore, a Web-based graphics library (WebGL) digital twin visualization environment was developed to intuitively observe spatiotemporal changes in sensor data. The system integrates sensor placement, risk-level assessment, and time-series graphs, thereby supporting users in real-time environmental monitoring and decision-making. This approach improves the precision and reliability of smart barn management and contributes to the stabilization of farm income.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.