控制工程 ›› 2019, Vol. 26 ›› Issue (7): 1391-1396.

• 工业过程及控制系统 • 上一篇    下一篇

EPA实时以太网系统中控制与通信的同步方法

  

  • 出版日期:2019-07-20 发布日期:2023-10-31

Synchronization Method between Control and Communication in the System based on EPA Real-time Ethernet

  • Online:2019-07-20 Published:2023-10-31

摘要: 为了提高EPA(Ethernet for Plant Automation)系统的通信实时性能,在EPA确定性通信调度策略的基础上,提出了一种控制与通信的同步方法。该方法将EPA设备的通信宏周期划分为通信时间片和控制时间片;程序在每次巡回执行时获取当前时间,并根据当前时间是位于通信时间片内还是控制时间片内来决定执行通信任务还是控制任务;在执行控制任务时,使用设置和扫描状态标识的方式保证功能块在通信宏周期中的单次执行。实验表明,该方法能够有效避免EPA系统中功能块的无效执行和数据的无效传输,提高系统的通信实时性能。

关键词: EPA, 实时以太网, 控制, 通信, 同步

Abstract: In order to improve the real-time performance of EPA (Ethernet for Plant Automation) system, EPA-CCS (EPA Control and Communication Synchronization) method that accomplishes the synchronization between control and communication in EPA system is proposed. On the base of EPA deterministic scheduling mechanism, EPA-CCS method divides EPA macro cycle into two parts: communication time slice and control time slice. EPA device acquires the current time during its each round scan and determines whether to implement its communication task or to implement its control task according to whether the current time is in the communication time slice or in the control time slice. When the control task is implemented, EPA device ensures the function blocks can be implemented only once in a macro cycle through setting and scanning state signs. An experiment proves that this method can effectively avoid the invalid executions of function blocks and the invalid transmission of data, so that the operation efficiency and the real-time performance of EPA system are improved.

Key words:

Ethernet for plant automation (EPA), real-time Ethernet, control, communication; synchronization