首页> 中文期刊> 《测控技术》 >基于状态诊断的串行通信轮询方法及实现

基于状态诊断的串行通信轮询方法及实现

             

摘要

针对常规串行通信处理方法无法满足有序用电测控系统对数据传输快速性和高效性要求的问题,提出了一种基于状态诊断的串行通信轮询处理方法.主设备在每个轮询周期中向每个从设备只发送一次查询命令,再依据多个轮询周期的轮询结果判断每个从设备的通信状态,然后根据待轮询从设备的通信状态执行不同的通信处理操作.测试结果证明,在保证通信可靠性的情况下,该方法缩短了轮询周期,避免了对通信故障从设备的无效通信,提高了数据传输的快速性和高效性.%To solve the problem that traditional serial bus communication can not meet the requirements of quickness and high efficiency of data transmission in ordered power measurement and control system,a method of serial communication polling processing based on state diagnosis is presented.Master device polls each slave device only once in every polling cycle.According to several acknowledgments from each slave device,master device determines its communication state and then gives different operations.The test result shows that the method decreases the invalid query to slave devices in communication failures and reduces the polling cycles as well as improves quickness and high efficiency of data transmission under the condition of guaranteeing communication reliability.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号