摘要: 针对信号扫描周期要求不同导致嵌入式可编程逻辑控制器(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
中图分类号:
严 义;胡峰令. 面向嵌入式PLC的调度算法[J]. 计算机工程, 2009, 35(19): 257-259.
YAN Yi; HU Feng-ling. Embedded PLC Oriented Schedule Algorithm[J]. Computer Engineering, 2009, 35(19): 257-259.