收稿日期:2022-10-31∗基金项目:军事人才资助计划(军事人才资助计划:编号:SZ-RCZZ)作者简介:巩博(1985-),男,陕西商洛人,中级,硕士,体育教育学。∗通讯作者:陈杨(1986-),男,陕西商洛人,中级,硕士,研究方向为体育教育。基于ZigBee技术的军体馆室内温度自动监测和控制系统∗巩博,马涛,董润峰,陈杨(空军军医大学,西安710000)摘要:为了实现军体馆室内温度的监测和控制,提升军体馆室内温度的管理水平,设计基于ZigBee技术的军体馆室内温度自动监测和控制系统。系统利用DS18B20温度传感器采集军体馆室内温度,所采集温度依据ZigBee通信协议传送至控制模块;运行粒子群优化PID的军体馆室内温度控制算法,调节PID控制器控制军体馆室内温度,并将温度监测和控制结果通过远程监测显示模块实时展示至用户。系统测试结果表明,该系统可以自动监测与精准控制军体馆室内温度,传输军体馆室内温度数据的丢包率低于0.25%。关键词:ZigBee技术;军体馆;室内温度;自动监测;控制系统;PID控制器中图分类号:TP301文献标识码:ADOI编码:10.14016/j.cnki.1001-9227.2023.01.152AutomaticMonitoringandControlSystemofIndoorTemperatureinMilitaryGymnasiumBasedonZigBeeTechnologyGONGBo1,MATao2DONGRunfeng3,CHENYang4∗(AirForceMedicalUniversity,Xi’an710000,China)Abstract:Inordertorealizethemonitoringandcontroloftheindoortemperatureofthemilitarygymnasiumandimprovethemanagementleveloftheindoortemperatureofthemilitarygymnasium,anautomaticmonitoringandcontrolsystemfortheindoortemperatureofthemilitarygymnasiumbasedonZigBeetechnologyisdesigned.ThesystemusesDS18B20temperaturesensortocollecttheindoortemperatureofthemilitarygymnasium,andthecollectedtemperatureistransmittedtothecontrolmoduleaccordingtoZigBeecommunicationprotocol;RuntheparticleswarmoptimizationPIDcontrolalgorithmfortheindoortemperatureofthemilitarygymnasium,adjustthePIDcontrollertocontroltheindoortemperatureofthemilitarygymnasium,anddisplaythetemperaturemonitoringandcontrolresultstotheuserinrealtimethroughtheremotemonitoringdisplaymod-ule.Thesystemtestresultsshowthatthesystemcanautomaticallymonitorandaccuratelycontroltheindoortemperatureofthemilitarygymnasium,andthepacketlossrateoftransmittingtheindoortemperaturedataofthemilitarygy...