摘要
为适应一种船舶双广播系统多节点随机通信的需求,设计了RS485的通信网络,介绍了双系统的网络结构,RS485组网的通信硬件电路、保护电路和多节点主动通信的协议。通过总线监测、冲突避让算法,该协议实现了半双工模式下各节点的主动通信。测试结果表明该协议能提高通信效率和可靠性。
RS485 communication network is designed to adapt to needs of random multi node communication of a dual marine public addressor system. Network structure of the dual system,RS485 network communication hardware circuit,protection circuit and protocol of multi node active communication mode were introduced. By means of bus monitoring and conflict avoidance algorithm,this protocol realizes multi node active communication under the half duplex mode. The test results show that it can improve the efficiency and reliability of the communication.
引文
[1]周莉娟.基于RS485总线和Modbus RTU通信协议的液位监测系统[J].工业控制计算机,2014,27(9):40-41.
[2]穆斌,罗珣.RS-485总线网络应用中的安全与可靠性[J].光学精密工程,2003,11(2):193-197.
[3]纪峰,周超,鲍进,宋忠强.集中抄表系统中多节点RS 485总线通信失败率的研究[J].电气应用,2015,34(11):36-38.
[4]苏美君.基于竞争的无线传感器网络MAC协议研究[D].重庆:重庆邮电大学,2011.
[5]冯子陵,俞建新.RS485总线通信协议的设计与实现[J].计算机工程,2012,38(20):215-218.