摘要
简单地介绍了单片机群控系统的逻辑结构和单片机的通信协议,重点讨论了单片机管理调度的算法和实现技术。对基于多串口的利用大量单片机对设备进行控制和采样的系统,给出了一种并行、实时、容错的单片机管理调度实现技术,采用面向对象方法,设计了一个统一的单片机驱动程序框架,使单片机驱动程序的编制简单化、规范化。同时,该技术允许通过配置不同的串口数和每个串口允许管理的最大单片机数来对控制系统的实时性进行调整,而无需修改管理程序。
An algorithm and implementation technology about scheduling a group of micro controller units (MCUs) is discussed after the architecture of the system controlled is presented briefly by a group of MCUs and the communication protocol. This parallel, real- time and fault-tolerant scheduling technology is used in such system controllde the writing of concrete driving modules simple and specific. This technology also allowed the real-time ability being adjusted by different configuration of the number of COMs and the number of MCUs linked to per COM and no program needs to be modified.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第3期625-630,共6页
Computer Engineering and Design
关键词
单片机
群控技术
串口
面向对象
框架
micro controllerunit
group controltechnology
COM
object-oriented
framework