摘要
设计了基于NB-IoT(窄带物联网)和微信小程序的温湿度监控系统.系统通过终端实时采集周围空气的温度和湿度,以数据帧的形式发送给NB-IoT信息邮局,并由其将数据帧转发到NB-IoT人机交互系统的用户服务器,由用户服务器的侦听程序将数据解帧后存入数据库,最后由网页接口程序读取数据库中的数据并显示在微信小程序里.微信小程序里温湿度值设置回发给终端后,由终端的模糊PID控制器计算控制参数以控制电热管和风机.测试结果表明,该系统性能稳定,操作便捷可应用于各种场景的智能化、自动化并结合移动互联技术的温湿度监控.
A temperature and humidity monitoring system based on NB-IoT( Narrow Band-Internet of Things)and WeChat Mini Program( WCMP) is designed to monitor temperature and humidity in real-time. The system collects the air temperature and humidity through Ultimate Equipment( UE) and sends data in form of a frame to the Message Post Office of NB-IoT,and the data frame is transmitted to the User Server( US) of HumanComputer Interaction. The data is saved to the database by listening program of US,and read through the webpage interface program and displayed in the WCMP. The temperature and humidity value which are set in WCMP is sent back to UE. The control parameters are calculated by the fuzzy PID controller of the terminal to control the electric heating pipe and the fan. The results show that the system has the advantages of stable performance and convenient operation,which can be applied to automatically monitor temperature and humidity combined with mobile and intelligent technology in any scene.
引文
[1]BLASCO X,MARTINEZ M,HERRERO J M,et al. Model-based predictive control of greenhouse climate for reducing energy and water consumption[J]. Computers and Electronics in Agriculture,2007,55(1):49-70.
[2]腾讯科技.腾讯2016年第一季度总收入319. 95亿元同比增长43%[EB/OL].[2017-01-09]. http://tech. qq. com/a/20160518/067853. htm
[3]NXP. KL36 Sub-Family Reference Manual[EB/OL].[2016-10-12]. http://www. nxp. com/.
[4]Quectel. LTE BC95 NB-IoT Module[EB/OL].[2017-03-27]. http://www. quectel. com/pload File/Product/Quectel_BC95_NB-IoT_Specification_V1. 3. pdf.
[5]XU J,YAO J M,WANG L,et al. Narrowband internet of things:Evolutions,technologies and open issues[J],IEEE Internet of Things Journal,2017,99:1-5.
[6]张伶鳦,王润涛,张长利,等.基于调亏理论和模糊控制的寒地水稻智能灌溉策略[J].农业工程学报,2016,32(13):52-58.
[7]马从国,赵德安,王建国,等.基于无线传感器网络的水产养殖池塘溶解氧智能监控系统[J].农业工程学报,2015,31(7):193-200.
[8]白聪,王宜怀,司萧俊.基于KW01-ZigBee+GPRS的无线气象监控系统的设计与实现[J].现代电子技术,2017,40(18):70-74.
[9]袁洪波,李莉,王俊衡,等.基于温度积分算法的温室环境控制方法[J].农业工程学报,2015,31(11):221-227.
[10]潘玉成,林高飞,陈小利,等.基于模糊专家控制的茶叶炒制温度控制系统[J].食品与机械,2016,32(11):79-84.
[11]朱伟兴,戴陈云,黄鹏.基于物联网的保育猪舍环境监控系统[J].农业工程学报,2012,28(11):177-182.
[12]杨柳,毛志怀,蒋志杰,等.基于无线传输的粮仓温湿度远程监测系统[J].农业工程学报,2012,28(4):155-159.
[13]张源峰. Zigbee技术在环境监测中的研究与应用[J].吉林师范大学学报(自然科学版),2013,34(4):148-151.
[14]戴泽淼,王胜,梁继会.基于Zig Bee嵌入式智能家居控制系统的设计与实现[J].吉林师范大学学报(自然科学版),2015,36(2):87-90.