摘要
介绍了一种新型多CPUSTD总线工业控制机的设计思路及其硬件和软件的实现方法.该控制机采用主从式结构,主、从CPU之间通过中断式总线1/O方式完成数据交换.主、从CPU分别配有各自的输入、输出通道,主CPU完成系统的管理及检测,从CPU可以实现双回路调节器功能;主、从CPU之间互为热备份.硬件与软件设计采用模块化结构和异常陷井等容错技术,提高了系统的可靠性和可靠性/价格比.应用情况表明,该系统在功能及可靠性等方面均取得了今人满意的结果.
In this paper,the idea of design of a new-type STD bus industrial controller with multiple CPU,as well as its realizing method of hardware and software,is introdued. The master-slave ture is used in this controller,the master CPU and the stave CPU could complete data exchange through the bus I/O Channels using the interrupt mode. The master CPU is used for the management and detection of the system, and the slsve CPU could realize the function of the double-loop regulator. Otherwise,the master CPU and the slave CPU are the tedundancy of each other. The modular structure and fault-tolerant technique, such as exception trap, are adopted in the design of hardware and software,so that the reliability and the cost reliability have been enchaneed. The results of the application show that the system is perfect for its function and reliablity.
关键词
STD总线
工业控制机
主从式结构
计算机控制
STD bus industrial controller
master-slave structure
redundency technique