首页 | 官方网站   微博 | 高级检索  
     

基于状态机的AI/AO模块HART通信软件实现方法
引用本文:俞冠中,王巍,刘玉升. 基于状态机的AI/AO模块HART通信软件实现方法[J]. 测控技术, 2020, 39(11): 106-112
作者姓名:俞冠中  王巍  刘玉升
作者单位:国核自仪系统工程有限公司
基金项目:国家科技重大专项资助(2019ZX06002035)
摘    要:现代电站控制系统正逐渐向数字化、智能化方向发展。HART协议的通信方式具有可靠性高、传输数据量大等优点。基于HART协议的智能仪表正越来越广泛地应用于自动化控制领域,如核电站控制、火电站控制、燃气轮机控制等。针对现有以硬件方式实现HART通信功能存在系统复杂性高、经济性与通用性差等问题,提出了一种基于有限状态机的软件设计方法实现AI/AO模块的HART通信功能。采用软状态机的轮转逻辑设计实现HART协议的主从站切换和主站配置,通过接收状态函数和HART报文切换的逻辑设计完成多路HART从站应答。HART通信软件实现方法具有无需更改AI/AO模块硬件设计的特点,其应用前景十分广泛。测试结果验证了方案的有效性。

关 键 词:电站控制系统  HART  I/O  嵌入式软件  状态机

Software Implementation of Analog I/O Module with HART Communication Based on State Machine
Abstract:The control system of modern power plants is gradually developing into digital and smart.HART protocol has the advantages of high reliability and huge data.Smart instruments based on the HART protocol are increasingly widely used in many modern industries,including atomic power plants,gas-turbine power plants and coal-fired power plants.In order to overcome the disadvantages of the existing solutions that rely on hardware devices not only increase the complexity of the system,but also reduce the economy and versatility of the product applications,a software design method based on finite state machine is proposed to realize the HART communication for AI/AO module.The master/slave switching and primary/secondary master configuration were realized via switching logic of the soft state machine.The multiplex communication with the HART slaves was completed through the function of receiver and HART message scheduling algorithm.Based on the application of this method,it is unnecessary to change the hardware architecture of AI/AO module.Thus,this method can be widely used in the field of industry and process control.The test results verify the effectiveness of the method.
Keywords:power plant control system  HART  I/O  embeded software  state machine
本文献已被 维普 等数据库收录!
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号