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

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

基于Django和UE5的数字孪生智慧大棚管理系统设计与实现

龚智1a, 黄增炜1a, 迪力夏提·多力昆1a,1b,1c, 赵新苗1a,1b,1c, 徐金1a,1b,1c, 汤丽斯2   

  1. 1.新疆农业大学,a.计算机与信息工程学院; b.新疆农业信息化工程技术研究中心; c.智能农业教育部工程研究中心,乌鲁木齐 830052;
    2.新疆维吾尔自治区农业科学院,乌鲁木齐 830091
  • 收稿日期:2026-05-08 发布日期:2026-09-02
  • 通讯作者: 迪力夏提·多力昆(1993-),男,新疆莎车人,讲师,硕士,主要从事人工智能、农业信息化研究工作,(电子信箱)dlxt.dlk@xjau.edu.cn。
  • 作者简介:龚 智(2004-),男,四川遂宁人,在读本科生,专业方向为农业装备智能化,(电子信箱)xz3469966481@163.com
  • 基金资助:
    国家科技部专项资金项目(2022ZD0115805); 新疆维吾尔自治区重大科技专项(2022A02011-4); 新疆农业信息化工程中心开放课题(XJAIEC2026K004); 新疆维吾尔自治区2025年度大学生创新训练计划项目(dxscx2025249)

Design and implementation of a digital twin smart greenhouse management system integrating Django and UE5

GONG Zhi1a, HUANG Zeng-wei1a, Dilixiati Duolikun1a, 1b, 1c, ZHAO Xin-miao1a, 1b, 1c, XU Jin1a, 1b, 1c, TANG Li-si2   

  1. 1. a. College of Computer and Information Engineering; b. Xinjiang Agricultural Information Engineering Technology Research Center; c. Engineering Research Center of Intelligent Agriculture, Ministry of Education, Xinjiang Agricultural University, Urumqi 830052, China;
    2. Xinjiang Academy of Agricultural Sciences, Urumqi 830091, China
  • Received:2026-05-08 Online:2026-09-02

摘要: 针对温室大棚生产管理中异构数据采集维度有限、人机交互缺乏直观性、环境调控过度依赖人工经验等问题,设计并实现了一种基于Django和UE5的数字孪生智慧大棚管理系统。系统构建了“异构感知-模型推理-虚实双向驱动”的闭环管理架构,将DeepSeek大模型逻辑推理与UE5像素流送技术集成,实现数据展示与智能决策的协同。系统硬件采用Wi-Fi自组网下ESP32分布式管理模式,基于MQTT服务实现消息转发;结合Django与Vue框架构建Web管理层;借助UE5搭建孪生模型,通过像素流送、Lumen光照技术等实现低延迟、高保真虚实双向映射;集成DeepSeek、YOLO及贝叶斯网络建立“感知-推理-辅助决策”体系。系统测试结果表明,端到端数据延迟均值低于150 ms,虚实同步精度误差小于5%,辅助决策准确率达90%以上,相较于传统经验调控,精准性提升约25%。研究结果可用于低成本、高集成的现代化智慧大棚管理系统构建及UE5数字孪生技术在农业领域的迁移应用提供参考方案。

关键词: 温室大棚, 数字孪生, 辅助决策, Unreal Engine 5, Django, ESP32

Abstract: To address the problems in greenhouse production management, such as limited dimensions of heterogeneous data collection, lack of intuitive human-computer interaction, and over-reliance of environmental regulation on human experience, a digital twin intelligent greenhouse management system based on Django and UE5 was designed and implemented. The system constructed a closed-loop management architecture of "heterogeneous perception-model reasoning-bidirectional virtual-real driving", integrated the DeepSeek large model's logical reasoning with UE5 pixel streaming technology, and realized the synergy of data display and intelligent decision-making. The system hardware adopted the ESP32 distributed management mode under a Wi-Fi ad-hoc network, and relied on MQTT services to achieve message forwarding; combined the Django and Vue frameworks to construct the Web management layer; utilized UE5 to build the twin model, achieving low-latency and high-fidelity bidirectional virtual-real mapping through pixel streaming and Lumen illumination technology; and integrated DeepSeek, YOLO, and Bayesian networks to establish a "perception-reasoning-assisted decision-making" system. The system test results showed that the average end-to-end data latency of the system was less than 150 ms, the error of virtual-real synchronization accuracy was less than 5%, and the accuracy of auxiliary decision-making was more than 90%, which improved the accuracy by about 25% compared with traditional experience-based regulation. The research results could provide a reference scheme for constructing a low-cost, highly integrated, and highly visualized modern intelligent greenhouse management system, as well as the migration and application of UE5 digital twin technology in the agricultural field.

Key words: greenhouse, digital twin, decision support, Unreal Engine 5, Django, ESP32

中图分类号: