[email protected]

物联网与智能系统

Internet of Things and Smart Systems

您当前位置:首页 > 精选文章

Internet of Things and Smart Systems. 2026; 2: (1) ; 10.12208/j.itss.20260001 .

Design and implementation of apiary digital twin system based on Unity3D
基于Unity3D的蜂场数字孪生系统设计与实现

作者: 张平川1 *, 樊思彤1, 王宇2

1河南科技学院计算机科学与技术学院 河南新乡

2河南科技学院机电学院 河南新乡

*通讯作者: 张平川,单位:河南科技学院计算机科学与技术学院 河南新乡; ;

引用本文: 张平川, 樊思彤, 王宇 基于Unity3D的蜂场数字孪生系统设计与实现[J]. 物联网与智能系统, 2026; 2: (1) : 1-8.
Published: 2026/10/30 14:00:23

摘要

随着智慧农业和数字孪生技术的快速发展,传统蜂场依赖人工巡查和分散记录的管理方式已难以满足可视化、实时性和智能化需求。本文基于Unity3D游戏引擎,设计并实现了一套蜂场数字孪生虚拟仿真系统。系统以真实养蜂场为原型,构建包含管理中心、研学中心、智能蜂箱区及蜂群繁育中心的三维虚拟场景,利用UGUI实现蜂群状态、环境参数、产量统计及收支信息的可视化展示;以MySQL数据库统一管理蜂场业务数据,并结合JSON数据解析及高德地图API扩展数据来源,当前数据以数据库预设与人工录入为主,通过刷新操作实现界面数据的同步更新;同时集成场景漫游、天气时间仿真、远程视频监控等交互功能。经测试,系统在空载状态下平均帧率可达60 FPS以上,各功能模块运行稳定,达到预期设计目标,为中小型蜂场的数字化管理与科普研学展示提供了可行的技术参考,也为后续接入真实传感数据、构建完整实时采集链路提供了可视化框架。

关键词: 数字孪生;Unity3D;蜂场虚拟仿真;MySQL

Abstract

With the rapid development of smart agriculture and digital twin technology, the traditional apiary management mode relying on manual inspection and decentralized recording can no longer meet the demands for visualization, real-time monitoring and intelligence. This paper designs and implements an apiary digital twin virtual simulation system based on the Unity3D game engine. Taking a real apiary as the prototype, the system constructs a 3D virtual scene including a management center, study center, smart hive area and bee colony breeding center. UGUI is used to visualize bee colony status, environmental parameters, yield statistics and revenue information. MySQL database is adopted for unified management of apiary business data, and JSON data parsing and Gaode Map API are integrated to expand data sources. At present, the data mainly comes from database presets and manual entry, and the interface data is updated synchronously through refresh operations. In addition, interactive functions such as scene roaming, weather and time simulation, and remote video surveillance are integrated. Tests show that the average frame rate exceeds 60 FPS under no-load conditions, all functional modules operate stably, and the design objectives are achieved, providing a feasible technical reference for digital management and popular science exhibition of small and medium-sized apiaries, as well as a visualization framework for subsequently accessing real sensor data and building a complete real-time data collection chain.

Key words: Digital twin; Unity3D; Apiary virtual simulation; MySQL

参考文献 References

[1] 赵春江.智慧农业的发展现状与未来展望[J].华南农业大学学报,2021,42(6):1-7.

[2] 孙忠富,杜克明,郑飞翔,等.智慧农业大数据关键技术研究进展与未来展望[J].农业机械学报,2024,55(11):1-18.

[3] Zheng Y,Cao X,Xu S,et al.Intelligent beehive monitoring system based on internet of things and colony state analysis[J].Smart Agricultural Technology,2024,9:100584.

[4] Ntawuzumunsi E,Kumaran S,Sibomana L.Self-Powered Smart Beehive Monitoring and Control System (SBMaCS) [J].Sensors,2021,21(10):3522.

[5] Madni A M,Madni C C.The fusion of AI and digital twins[J].Nature Computational Science,2023,3(4):280-282.

[6] Purcell W,Neubauer T.Digital Twins in Agriculture: A State-of-the-art review[J].Smart Agricultural Technology, 2023,3:100094.

[7] Verdouw C,Tekinerdogan B,Beulens A,et al.Digital twins in smart farming[J]. Agricultural Systems,2021,189: 103046.

[8] 张旭艺,孙晓,杨鹏,等.农业数字孪生概念内涵、技术框架与应用进展[J].中国农业资源与区划,2025,46(11):196-207.

[9] 王强,李建国,张锋,等.基于机器视觉的蜜蜂行为实时监测与健康状态识别[J].农业工程学报,2023,39(12):142-151.

[10] 陶飞,张萌,程江峰,等.数字孪生五维模型及细分行业应用实践趋势[J].计算机集成制造系统,2023,29(11):3535-3546.

[11] Qinglin Q ,Fei T .Digital Twin and Big Data Towards Smart Manufacturing and Industry 4.0: 360 Degree Comparison[J].IEEE Access,2018,63585-3593.

[12] Fuller A ,Fan Z ,Day C , et al.Digital Twin: Enabling Technologies, Challenges and Open Research[J].IEEE Access,2020,8: 108952-108971.

[13] Jones D,Snider C,Nassehi A,et al.Characterising the Digital Twin: A systematic literature review[J].CIRP Journal of Manufacturing Science and Technology,2020,29(Pt A):36-52.

[14] 王红军,林俊强,邹湘军,等.基于数字孪生的果园虚拟交互系统构建[J].系统仿真学报,2024,36(6):1493-1508.

[15] 汪恒,余宏杰.数字孪生智能温室可视化监控系统设计与实现[J].数字农业与智能农机,2024(4):14-17.