摘要
针对地震观测站维护成本高、效率低、智能化程度不高的问题,文中提出了以树莓派单板电脑和ESP8266模块为核心,以物联网、云服务为技术支持,构建地震观测站智能监控的方案。该系统中,台站数据采集模块以ESP8266为核心,辅以BME280、HLW0832、INA219、MQ-2芯片和继电器,实现观测站环境、市电、直流电、火灾的实时监测、故障告警和远程重启。树莓派安装Openwrt软路由系统和Homeassistant开源平台,实现监测站各项数据的收集和转发。中心站数据服务平台采Django开源框架和MySQL数据库搭建,Python程序通过API采集监测数据,实现监测数据汇集、处理、可视化及告警信息自动推送,提高运维效率。
There are some problems that must be solved in the seismic observation station maintenance,like low efficiency,unintelligent,time-consuming,laborious and high cost.In this article,an intelligent monitoring system,based on Raspberry Pi single board computer,ESP8266 module,cloud service technology and the internet of things,was designed for seismic observation stations.In this system,the data collection module carries out with ESP8266 as microprocessors,and BME280,INA219,HLW0832,MQ-2 and relay as environmental sensor,battery voltage sensor,energy measurement modular,smoke detectors,and smart switches,respectively.The Arduino programming language was used to realize the function of real-time monitoring,autoalarm and system restart remotely.The Raspberry Pi installs the Openwrt system as an operating system and runs with the automation platform,Homeassistant,in docker,to accomplish the data collection and forwarding.The data service center has been constructed with Django and MySQL.The functions of data collection,observation,process and fault alarm were programmed withpython3.
作者
王希彬
潘存英
白翔宇
张南
韩晓飞
Wang Xibin;Pan Cunying;Bai Xiangyv;Zhang Nan;Han Xiaofeng(Shaanxi Earthquake Agency,Xi'an 710000,China;Ruiqian Middle school,Weinan,715500,China)
出处
《长江信息通信》
2021年第8期30-34,共5页
Changjiang Information & Communications
基金
中国地震局三结合项目(NO.CEAJC/3JH172705)
陕西省地震局启创课题(NO.QC201918)联合资助。项目在执行过程中收到韩城台杨俊芳、杨魁、方园的支持和帮助,在此一并表示感谢。