摘要
为解决燃气场站测控系统以太网故障导致数据传输中断的问题,提出了一种基于以太网和通用分组无线业务(GPRS)冗余通信的燃气场站测控系统。系统由现场电气设备、下位机及上位机构成。采用STM32为主控芯片的下位机采集现场电气设备数据,并发送至以WINCC监控软件为主的上位机。上位机根据末端用气量发送指令至下位机以调整出口压力值。数据传输方式以有线以太网为主,无线GPRS为冗余。测试结果表明:测控系统实现了对现场电气设备的远程实时监控,并在以太网故障时,GPRS无线可以快速(100 ms)介入传输过程,保证了数据的不间断传输,进一步提升了系统的可靠性和稳定性。
In order to solve the problem of data transmission interruption caused by Ethernet fault of gas station monitoring and control system,a gas station measurement and control system based on Ethernet and GPRS redundant communication is presented. The system consists of three parts,site electrical apparatus,the lower computer and the host computer. The lower computer uses STM32 as main control chip collects data of site electrical apparatus,and send them to the host computer formed by WINCC monitoring software. The host computer transmits instruction to the lower computer according to terminal gas consumption to adjust the outlet pressure value. The data transmission mode is mainly wired by Ethernet,and wireless GPRS as redundancy. The test results show that the system realizes real-time remote monitoring of site electrical apparatus,GPRS can quickly( 100 ms)intervene the transmission process while Ethernet failed,which ensure uninterrupted transmission of data,enhances reliability and stability of the system.
引文
[1]宋振鹏,孟祥印,徐鑫凯,等.基于Modbus与Zig Bee的通信冗余过程控制系统开发[J].电子技术应用,2016,42(1):61-64.
[2]曹亚军.燃气调压站自动化监控系统研究[D].成都:西南石油大学,2014:1-10.
[3]陆万田,王崴,刘晓卫,等.基于STM32的无线光电传感器设计[J].传感器与微系统,2014,33(9):74-76.
[4]Gao M,Liu Y,Huang J,et al.Design of the automatic jacquard control system based on STM32F407[C]∥International Conference on Information Science,Electronics and Electrical Engineering,IEEE,2014:1143-1146.
[5]陈元枝,孙浩,赵国如.基于CC254x与STM32的惯性传感器无线传输系统设计[J].传感器与微系统,2016,35(7):103-106.
[6]黄鸿国,吴学杰,曾华.基于Lw IP通信的电液伺服控制系统[J].计算机光盘软件与应用,2013(20):62-64.
[7]张洋,刘军,严汉宇.精通STM32F4:库函数版[M].北京:北京航空航天大学出版社,2015:558-571.
[8]余德文,李锦云,李斐.基于STM32的高精度车载气压高度表设计[J].传感器与微系统,2014,33(10):58-60.
[9]朱晓阳.轻量级网络协议栈关键技术研究[D].西安:西安电子科技大学,2014:6-18.
[10]唐磊,周伦,唐波.Win CC与自定义设备通信的研究与实现[J].仪表技术与传感器,2014(5):32-34.
[11]李荣震.SIMATIC PCS7过程控制系统在净水厂中的应用[J].科技传播,2014(19):168-169.
[12]彭珍瑞,董海棠,殷红,等.新型纸纱复合制袋机控制系统的研制[J].传感器与微系统,2011,30(6):90-92.
[13]毕楚瑜,薛伟.制袋机系统的伺服控制[J].自动化技术与应用,2016,32(1):71-74.