节点文献
高校实验室自动测试系统和主从机之间接口的研究
【作者】 姚洁;
【作者基本信息】 南京师范大学 , 物理电子学, 2003, 硕士
【摘要】 自动检测系统是自动测试技术发展的重要阶段。当代自动测试系统采用虚拟仪器的概念,对硬件无需作太大改动,便可实现不同功能;利用PC机的软硬件资源,可以对数据进行复杂的数据处理,并将处理结果以图表、文件等多种方式显示。为高校实验室设计一套自动测试系统,可以简化实验操作,提高实验效率,是一个具有实际意义的课题。 自动测试系统的设计越来越标准化、通用化、开放化。高校实验室自动测量系统既要具备自动测试系统一般特性,满足性能要求,又要从高校实验室的实际情况出发,在满足要求的前提下尽可能地降低费用。为此,我们采用GPIB总线技术来架构该自动测量系统。上位机利用实验室已有的PC机,为其配备相应的系统测试软件;下位机采用以89C51单片机为核心设计的GPIB仪器,单片机控制数据的采集和通信功能;大部分数据处理工作由上位机完成。 主从机之间可靠、迅捷的通信是系统设计的关键。根据系统要求,从高校实验室的实际情况出发,在多种PC机接口方案中,我们选择了EPP模式下的打印端口来设计上位机的GPIB接口卡。接口卡采用外接方式,避免了使用机内插卡的形式,使用简单方便。任何一台现有的PC机在安装了系统软件之后,通过简单的连接,便可和从机组成自动测试系统。 本文先介绍了系统的总体结构,分析系统对接口的要求,在介绍现在常用的PC机外设接口方式之后,阐述选择打印口的EPP模式实现GPIB总线的方案的理由,然后具体给出接口的硬件设计和软件设计,最后给出一个已实际应用的系统实例。
【Abstract】 Automated Test System (ATS) is an important stage in the growing of automatic test technology. The idea of virtual instrument is widely adopted in modern automated test system. That is, the same set of instruments is able to accomplish different kinds of tasks without any change to the hardware, as long as such abilities are supported in software. By using PC, data acquired can be processed in many complex ways as well as be shown in different styles, such as in chart, in file, and so on. It is a factual and meaningful task to design an automated test system for college laboratories so as to free experimenters from tiring and meaningless labor.Design of automated test system is becoming more and more standardized, universal and open. The automated test system for college laboratories is not only required to have the ordinary characteristics of auto-measuring system, but also demanded to meet the limited outlay and the factual conditions of college laboratories. Once necessary capabilities are achieved, it is acknowledged to reduce the cost as low as possible. Considering this, we choose GPIB bus to build this system. Host machine in the system is PC, which the labs already have. And slave machines are GPIB instruments using 89C51 SCM as microprocessor. In this system data-processing is mainly carried by PC.Dependable and prompt communication between host-machine and slave-machines is one key aspect of this system. After careful comparison and reasoning we decide to use parallel print port under EPP mode to design the GPIB interface board for PC. This board is outside the PC, so as to avoid inserting into and drawing out of PC box. That is convenient to the users. Just joined the slave-machines with this simple board, any PC equipped with out software can act as the host-machine in making up an automated test system.In this paper, firstly, the global architecture of system is presented. Then system’s demands on the interface are analyzed. After the comparison of present connecting manners, the communication solution in this system is presented. It is using parallelprint port to realize GPIB communication. This solution is reasoned thoroughly and both software and hardware design of the communication solution are presented in detail. At the end of this paper, there is an example in use.
【Key words】 automated test system; interface conversion board; GPIB Bus; EPP parallel print port;
- 【网络出版投稿人】 南京师范大学 【网络出版年期】2003年 02期
- 【分类号】TP274.4
- 【下载频次】98