摘要
研究基于 Vx Works嵌入式实时系统下 M总线控制系统的软件设计思想和实现方法 .该系统需要设置两个各自独立运行的实时任务 ,以达到对外部设备进行控制的功能 .第 1个任务负责收集命令和通过传感器采集到的数据 ,并设定命令优先级 ;第 2个任务负责解释执行 ,并发送命令执行后的响应 ,两个任务之间通过命令缓存链表进行通信 .此设计思想简单、高效 ,可以被广泛应用在与 M总线相关的其他控制系统中 .
Proposes a new software designing idea and method of implementation for M bus control system based on VxWorks embedded real time systems. In order to realize the function of controlling the device, two real time tasks are set. The one gathers the command and the data collected by sensor, and set the priority; the other runs the command and feeds back the result to the device that needs the result. They communicate by a command buffer link between them. The method used in this paper is simple and highly efficient and can be used in other kinds of control systems related with the M bus system.
出处
《北京理工大学学报》
EI
CAS
CSCD
北大核心
2002年第2期205-208,共4页
Transactions of Beijing Institute of Technology
基金
国防预研项目