EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

MQTT-Based Architecture for Real-Time Data Collection and Anomaly Detection in Smart Livestock Housing

Kyeong Il Ko iD, Meong Hun Lee iD

Sensors · 25.11.2025 · 25 (23) · 7186

DOI: 10.3390/s25237186 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Sensors, online erschienen am 25.11.2025. Verfasst von Kyeong Il Ko und 1 weiteren Autor:innen. Beteiligte Einrichtung: Department of Smart Agriculture Program, Sunchon National University, Suncheon-si 31031, Republic of Korea. Hauptthemen laut MEDLINE: Livestock, Telemetry, Housing, Animal, Environmental Monitoring. Die Arbeit wurde bisher 7-mal zitiert (Crossref) und nennt 24 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: This work was supported by the Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, and Forestry (IPET) and Korea Smart Farm R&D Fou…, Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, and Forestry.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This study designed a message queuing telemetry transport (MQTT)-based communication framework to acquire environmental data with stable, low-latency response (soft real-time capability) and detect anomalies in smart livestock housing. We validated the performance of the proposed framework using actual sensor data. It comprises environmental sensor nodes, a Mosquitto MQTT broker, and a GRU-based anomaly detection model, with data transmission via a WiFi-based network. Comparing quality of service (QoS) levels, the QoS 1 configuration demonstrated the most stable performance, with an average latency of ~150 ms, a data collection rate ≥ 99%, and a packet loss rate ≤ 0.5%. In the sensor node expansion experiment, responsiveness (≤200 ms) persisted for 10–15 nodes, whereas latency increased to 238.7 ms for 20 or more nodes. The GRU model proved suitable for low-latency analysis, achieving 97.5% accuracy, an F1-score of 0.972, and 18.5 ms/sample inference latency. In the integrated experiment, we recorded an average end-to-end latency of 185.4 ms, a data retention rate of 98.9%, processing throughput of 5.39 samples/s, and system uptime of 99.6%. These findings demonstrate that combining QoS 1-based lightweight MQTT communication with the GRU model ensures stable system response and low-latency operation (soft real-time capability) in monitoring livestock housing environments, achieving an average end-to-end latency of 185.4 ms.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

LivestockTelemetryHousing, AnimalEnvironmental MonitoringData CollectionAnimalsWireless TechnologyComputer Communication Networks

Stichwörter der Autor:innen

GRUMQTTQoSanomaly detectionlow-latency monitoringsmart livestock housing

Autor:innen und Institutionen

  • Department of Smart Agriculture Program, Sunchon National University, Suncheon-si 31031, Republic of Korea.

ORCID-Profile: Kyeong Il Ko, Meong Hun Lee

Förderung

  • This work was supported by the Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, and Forestry (IPET) and Korea Smart Farm R&D Fou…
  • Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, and Forestry

Zitieren

APA

Ko, K. I., & Lee, M. H. (2025). MQTT-Based Architecture for Real-Time Data Collection and Anomaly Detection in Smart Livestock Housing. Sensors, 25(23), 7186. https://doi.org/10.3390/s25237186

Vancouver

Ko KI, Lee MH. MQTT-Based Architecture for Real-Time Data Collection and Anomaly Detection in Smart Livestock Housing. Sensors. 2025;25(23):7186. doi:10.3390/s25237186

BibTeX
@article{Ko2025,
  author = {Ko, Kyeong Il and Lee, Meong Hun},
  title = {MQTT-Based Architecture for Real-Time Data Collection and Anomaly Detection in Smart Livestock Housing},
  journal = {Sensors},
  year = {2025},
  volume = {25},
  number = {23},
  pages = {7186},
  doi = {10.3390/s25237186}
}
Kostenlos starten →