摘要
在计算机系统的冗余控制及分布式测控系统中,大量采用到串行通信方式进行数据传输。在这里利用51单片机自备的串行接口,实现点对点通信及多单片机系统之间的异步信息。它主要用于双机冗余控制单片机和单片机之间交换信息,也用于单片机和电脑之间的信息交流。系统采用多单片机系统组成分布式控制,系统采用主机和下位机结构,其中主机负责管理。下位机完成系统检测和控制的功能,在主机和从机之间配备RS-232发送接收器实现远距离传输,实验结果达到设计要求。
In the redundancy control and distributed measurement and control system of computer system, serial communication is widely used for data transmission. In this paper, point-to-point communication and asynchronous information between multi-MCU systems are realized by using the serial interface of 51 MCU. It is mainly used for exchanging information between single-chip com-puter and single-chip computer, and also for exchanging information between single-chip computer and computer. The distributed control system is composed of multi-single-chip computer system. The system adopts the structure of host computer and slave com-puter, in which the host computer is responsible for management. Lower computer completes the function of system detection and control. RS-232 transmitter is equipped between host and slave computer to realize long-distance transmission. The experimental results meet the design requirements.
作者
李锡渝
陈廷杰
李天明
LI Xi-yu;CHEN Ting-jie;LI Tian-ming(China University of Mining and Technology,Xuzhou 221116,China)
出处
《电脑知识与技术》
2019年第4期27-29,共3页
Computer Knowledge and Technology