计算机工程与应用 ›› 2019, Vol. 55 ›› Issue (13): 112-118.DOI: 10.3778/j.issn.1002-8331.1810-0039

• 网络、通信与安全 • 上一篇    下一篇

实时以太网控制系统的功能块执行方法

刘  宁1,仲崇权2,薛铜龙1   

  1. 1.河南理工大学 机械与动力工程学院,河南 焦作 454000
    2.大连理工大学 电子信息与电气工程学部,辽宁 大连 116024
  • 出版日期:2019-07-01 发布日期:2019-07-01

Function Blocks Executing Method in Control Systems Based on Real-Time Ethernet

LIU Ning1, ZHONG Chongquan2, XUE Tonglong1   

  1. 1.School of Mechanical and Power Engineering, Henan Polytechnic University, Jiaozuo, Henan 454000, China.
    2.Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian, Liaoning 116024, China
  • Online:2019-07-01 Published:2019-07-01

摘要: 为了提高实时以太网控制系统的运行效率和通信性能,在EPA(Ethernet for Plant Automation)确定性通信调度的基础上提出了一种功能块执行方法。该方法将现场设备中所有需要远程通信的功能块整合为功能任务,并且按照功能块执行与数据通信周期同步的原理确定了功能任务的执行规律:功能任务在单个通信宏周期中只能单次执行,当周期报文空窗期满足功能任务执行需求时,功能任务在周期报文传输任务结束时执行;当周期报文空窗期不能满足功能任务执行需求时,功能任务在非周期报文传输任务结束时执行。实验证明,该方法实现了系统中功能任务与通信任务的周期同步,避免了功能块的无效执行与数据的无效传输,提高了系统的运行效率和通信性能。

关键词: 实时以太网, 控制系统, 通信性能, 功能块

Abstract: A functions blocks execution method is proposed on the base of EPA deterministic scheduling mechanism to improve the operation efficiency and the communication performance of EPA (Ethernet for Plant Automation) real-time ethernet systems. The method integrates all the function blocks which need EPA communication in an EPA device into a function task and determines the execution rule of the function task according to the period synchronization principle between the function blocks execution and the data communication in EPA systems:the function task must be executed only once in a macro cycle, if the periodic messages transmission window period is enough for the execution of the function task, the function task will be executed when the periodic messages transmission task is completed; if the periodic messages transmission window period is not enough for the execution of the function task, the function task will be executed when the nonperiodic messages transmission task is completed. The experiments prove that the method can accomplish the synchronous implementation between the function task and the communication task, and consequently can improve the operation efficiency and the communication performance of EPA systems.

Key words: real-time ethernet, control system, communication performance, function blocks