作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (19): 257-259. doi: 10.3969/j.issn.1000-3428.2009.19.086

• 开发研究与设计技术 • 上一篇    下一篇

面向嵌入式PLC的调度算法

严 义,胡峰令   

  1. (杭州电子科技大学智能与软件技术研究所,杭州 310018)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-05 发布日期:2009-10-05

Embedded PLC Oriented Schedule Algorithm

YAN Yi, HU Feng-ling   

  1. (Institute of Intelligent and Software Technology, Hangzhou Dianzi University, Hangzhou 310018)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-05 Published:2009-10-05

摘要: 针对信号扫描周期要求不同导致嵌入式可编程逻辑控制器(PLC)控制效率下降的问题,提出一种基于群I/O任务的嵌入式PLC调度算法。该算法实现了快慢任务子集的自动划分,并通过对2个子集采用不同调度策略以改进机器的控制效率。实验结果表明,该算法系统开销小,可移植性强,适用于资源有限的嵌入式PLC系统。

关键词: 嵌入式可编程逻辑控制器, 调度算法, 扫描周期

Abstract: Aiming at the problem that different requirements for signal scan cycle lead to the low control efficiency in embedded Programmable Logic Controller(PLC), this paper proposes a schedule algorithm based on Group I/O Task. It realizes the automatic division of fast and slow task sets, and adopts different schedule strategies for two sets to improve the control for machine. Experimental results show that the algorithm has low system cost, good portability, and it is applicable to limited resource of embedded PLC.

Key words: embedded Programmable Logic Controller(PLC), schedule algorithm, scan cycle

中图分类号: