湖北农业科学 ›› 2026, Vol. 65 ›› Issue (8): 193-198.doi: 10.14088/j.cnki.issn0439-8114.2026.08.028

• 信息工程 • 上一篇    下一篇

基于RNN与XGBoost的烟叶醇化仓温湿度时空控制方法

曹臻芮, 吉全斌, 吕力, 李洋, 王恒   

  1. 陕西中烟工业有限责任公司旬阳卷烟厂,陕西 安康 725700
  • 收稿日期:2026-03-23 发布日期:2026-09-02
  • 作者简介:曹臻芮(1998-),女,陕西安康人,主要从事烟草物流、数字化转型研究,(电话)18709215509(电子信箱)1257153242@qq.com

Spatiotemporal control method for temperature and humidity in a tobacco leaf aging warehouse based on RNN and XGBoost

CAO Zhen-rui, JI Quan-bin, LYU Li, LI Yang, WANG Heng   

  1. Xunyang Cigarette Factory of China Tobacco Shaanxi Industrial Co., Ltd., Ankang 725700, Shaanxi, China
  • Received:2026-03-23 Online:2026-09-02

摘要: 为了解决烟叶醇化仓温湿度控制中因时空变量强耦合导致的控制目标偏离、相对误差增大及烟叶品质下降等问题,设计了一种基于循环神经网络(RNN)与极端梯度提升(XGBoost)的温湿度时空控制方法。首先,利用温湿度传感器实时采集仓内数据,从无线传感器网络(WSN)数据包中提取温湿度时空维度特征;其次,利用RNN捕捉温湿度随时空的动态变化规律,结合XGBoost算法设定合理的控制目标;在此基础上,引入温湿度目标解耦控制变量补偿机制,通过惯性时间常数计算补偿值以替换原目标函数,使补偿后的控制目标趋近于期望值,从而有效抵消系统耦合引起的滞后效应。试验结果表明,与PID方法和FNN方法相比,RNN-XGBoost方法将温湿度相对误差严格控制在0~1.0%,明显提升了控制精度与稳定性。

关键词: 循环神经网络(RNN), 极端梯度提升(XGBoost), 烟叶醇化仓, 温湿度, 时空控制

Abstract: To solve the problems of control target deviation, increased relative error, and degradation of tobacco leaf quality caused by strong coupling of spatiotemporal variables in the temperature and humidity control of a tobacco leaf aging warehouse, a spatiotemporal control method for temperature and humidity based on a recurrent neural network (RNN) and extreme gradient boosting (XGBoost) was designed.First, temperature and humidity sensors were used to collect real-time data in the warehouse, and the spatiotemporal dimensional features of temperature and humidity were extracted from wireless sensor network (WSN) data packets. Then, RNN was used to capture the dynamic spatiotemporal variation patterns of temperature and humidity, and reasonable control targets were set in combination with the XGBoost algorithm. On this basis, a compensation mechanism for the decoupling control variables of temperature and humidity targets was introduced. Compensation values were calculated using the inertial time constant to replace the original objective function, making the compensated control targets approach the expected values, thereby effectively offsetting the lag effect caused by system coupling.The experimental results showed that compared with the PID method and the FNN method, the RNN-XGBoost method strictly controlled the relative error of temperature and humidity within 0-1.0%, significantly improving the control accuracy and stability.

Key words: recurrent neural network (RNN), extreme gradient boosting (XGBoost), tobacco leaf aging warehouse, temperature and humidity, spatiotemporal control

中图分类号: