{"title":"用于农业无线传感器网络实时异常检测的LSTM-AE-Bayes嵌入式网关","authors":"Jun Shu , Yuanhua Quan , Dengke Yang","doi":"10.1016/j.atech.2025.100944","DOIUrl":null,"url":null,"abstract":"<div><div>Agricultural wireless sensor networks have become a critical data source for agricultural big data analytics. However, due to factors such as network transmission errors and human interference, multiple sensor nodes in these networks may generate anomalous data. Such anomalies can lead to inaccurate analyses, adversely affecting crop growth, and result in unnecessary energy consumption during data transmission. To address these challenges, this paper proposes a greenhouse gateway incorporating an anomaly detection algorithm. By integrating the detection algorithm directly into the gateway, only data deemed normal are forwarded. The gateway, built around the STM32F407ZGT6 microcontroller, utilizes LoRa and 4 G modules for wireless data transmission, enabling real-time data visualization on a cloud server. Experimental results demonstrate that the proposed anomaly detection algorithm not only outperforms conventional methods but also remains practical and effective when embedded within the gateway. We further observed that our approach reduced unnecessary data traffic by over 9 % and improved F1-score by about 5 % compared to state-of-the-art methods, confirming its efficiency in both performance and resource utilization.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"11 ","pages":"Article 100944"},"PeriodicalIF":5.7000,"publicationDate":"2025-04-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An LSTM–AE–Bayes embedded gateway for real-time anomaly detection in agricultural wireless sensor networks\",\"authors\":\"Jun Shu , Yuanhua Quan , Dengke Yang\",\"doi\":\"10.1016/j.atech.2025.100944\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Agricultural wireless sensor networks have become a critical data source for agricultural big data analytics. However, due to factors such as network transmission errors and human interference, multiple sensor nodes in these networks may generate anomalous data. Such anomalies can lead to inaccurate analyses, adversely affecting crop growth, and result in unnecessary energy consumption during data transmission. To address these challenges, this paper proposes a greenhouse gateway incorporating an anomaly detection algorithm. By integrating the detection algorithm directly into the gateway, only data deemed normal are forwarded. The gateway, built around the STM32F407ZGT6 microcontroller, utilizes LoRa and 4 G modules for wireless data transmission, enabling real-time data visualization on a cloud server. Experimental results demonstrate that the proposed anomaly detection algorithm not only outperforms conventional methods but also remains practical and effective when embedded within the gateway. We further observed that our approach reduced unnecessary data traffic by over 9 % and improved F1-score by about 5 % compared to state-of-the-art methods, confirming its efficiency in both performance and resource utilization.</div></div>\",\"PeriodicalId\":74813,\"journal\":{\"name\":\"Smart agricultural technology\",\"volume\":\"11 \",\"pages\":\"Article 100944\"},\"PeriodicalIF\":5.7000,\"publicationDate\":\"2025-04-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Smart agricultural technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2772375525001777\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525001777","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0
摘要
农业无线传感器网络已成为农业大数据分析的重要数据源。然而,由于网络传输错误和人为干扰等因素,这些网络中的多个传感器节点可能会产生异常数据。这些异常数据会导致不准确的分析,对作物生长产生不利影响,并在数据传输过程中造成不必要的能源消耗。为了应对这些挑战,本文提出了一种包含异常检测算法的温室网关。通过将检测算法直接集成到网关中,只有被认为正常的数据才会被转发。该网关采用 STM32F407ZGT6 微控制器,利用 LoRa 和 4 G 模块进行无线数据传输,可在云服务器上实现实时数据可视化。实验结果表明,所提出的异常检测算法不仅优于传统方法,而且嵌入网关后仍然实用有效。我们进一步观察到,与最先进的方法相比,我们的方法减少了 9% 以上的不必要数据流量,提高了约 5% 的 F1 分数,证实了其在性能和资源利用方面的效率。
An LSTM–AE–Bayes embedded gateway for real-time anomaly detection in agricultural wireless sensor networks
Agricultural wireless sensor networks have become a critical data source for agricultural big data analytics. However, due to factors such as network transmission errors and human interference, multiple sensor nodes in these networks may generate anomalous data. Such anomalies can lead to inaccurate analyses, adversely affecting crop growth, and result in unnecessary energy consumption during data transmission. To address these challenges, this paper proposes a greenhouse gateway incorporating an anomaly detection algorithm. By integrating the detection algorithm directly into the gateway, only data deemed normal are forwarded. The gateway, built around the STM32F407ZGT6 microcontroller, utilizes LoRa and 4 G modules for wireless data transmission, enabling real-time data visualization on a cloud server. Experimental results demonstrate that the proposed anomaly detection algorithm not only outperforms conventional methods but also remains practical and effective when embedded within the gateway. We further observed that our approach reduced unnecessary data traffic by over 9 % and improved F1-score by about 5 % compared to state-of-the-art methods, confirming its efficiency in both performance and resource utilization.