论文部分内容阅读
本文从温度采集的准确性、可靠性和快速性角度考虑以PC兼容机和MCS-51单片机系统为核心,研制成功了分布式多通道温度测量系统。PC兼容机作为系统的主控器,负责数据的处理和管理,可以充分发挥其强大的操作能力;MCS-51系统作为系统的从控器,可以充分利用其灵活性和准确性。二者通过全双工串行口进行通讯,避免了相互之间的脉冲干扰。在系统从控器的硬件设计和制造中,从可靠性和抗干扰性能出发,对A/D转换、信号调理、串行口、数据总线以及电源等部分均采取了有针对性的处理措施。在提高热电偶冷端补偿功能的同时,为了保持数据采集速度,采取了两个ICL7135并行工作的方式,从而既使系统结构简单,又提高了系统的整体性能。在硬件设计的基础上,分别利用MCS-51汇编语言和C语言编制并调试了从控器监控软件和主系统数据处理与管理软件。二者在预定协议的前提下能安全地互传信息,同时主控器软件可以根据需要对数据采集结果进行合理地处理。此外,主控器软件还能方便地显示温度分布情况。以虚拟屏技术开发的打印机驱动程序可以精确地打印出所需结果。经实际使用,系统软件和硬件均达到了预定指标。
In this paper, we consider the PC-compatible and MCS-51 single-chip microcomputer system as the core from the point of accuracy, reliability and rapidity of temperature acquisition, and successfully developed a distributed multi-channel temperature measurement system. PC compatible as a system master, responsible for data processing and management, can give full play to its powerful operating capability; MCS-51 system as a system slave, you can take full advantage of its flexibility and accuracy. Both through the full-duplex serial port to communicate, to avoid the pulse of interference between each other. In the hardware design and manufacture of the system slave controller, the A / D conversion, signal conditioning, serial port, data bus and power supply are all taken from the reliability and anti-jamming performance. While improving the cold junction compensation function of the thermocouple, in order to maintain the data acquisition speed, two ICL7135 work modes are taken in parallel, so that the system structure is simple and the overall system performance is improved. On the basis of hardware design, MCS-51 assembly language and C language are respectively used to compile and debug slave monitoring software and main system data processing and management software. The two can safely transfer information under the precondition of the agreement, and the master software can reasonably process the data collection results according to the needs. In addition, the main control software can easily display the temperature distribution. Printer drivers developed with virtual screen technology can accurately print the desired result. The actual use of the system software and hardware have reached the predetermined target.