VirtualInstrumentation Article
VirtualInstrumentation Article
Sushanta Kumar Mandal School of Information Technology Indian Institute of Technology Kharagpur 721302 E-mail: sushantakumar@yahoo.com
1. Introduction
1.1 What is Virtual Instrumentation?
Scientist, researcher and engineers mostly rely on data acquisition solutions for system monitoring, control and instrument characterization. A complete data solution typically consists of sensing, signal conditioning, data acquisition and processing, analyzing, visualization, report generation and actuating. To create complete and optimum data acquisition solution within a minimum time, dedicated hardware and software tools are required so that all data acquisition tasks are available concurrently on real-time. All these tasks cannot be done by using stand-alone traditional instruments. The rapid advancement and adoption of computers in the last two decades has given a great improvement in instrumentation test and measurement. Continuous reduction of personal computers and availability of low cost high performance software packages has boosted the systems for Automatic Test Equipment (ATE) based on programmable instrumentation. GPIB (General Purpose Interface Bus) based programmable instrumentation has gained tremendous spread in the last decade for designing ATE system with the concept of virtual instrumentation. Virtual instruments replace part of signal acquisition, processing and display, in traditional instruments, by using personal computer. By graphical programming, the computer monitor can be turned into the front panel of the traditional instruments and, in fact, with enhanced features. Plug-in data acquisition boards transform personal computers into digital device capable to collect signals from sensors and to send commands to actuators. Different manufacturer like NI [1], HP[2] has defined VI in different way. Therefore in general VI is defined as the combination of hardware and software with industry-standard computer technologies to create user-defined instrumentation solutions. In this type of test instrumentation that is basically software reliant and primarily dependent on a computer to control test hardware and equipment, analyze, and present test results. The power of VI application software lies in the fact that it empowers the user to include test equipments as objects in their programs. There are two basic types of virtual instruments. Simple virtual instruments are PC based instruments. These are basically cards or modules that can simply be plugged into a PC and the accompanying software allows the user to perform relevant measurement and data analysis. Alternatively, a variety of programmable test instruments, communication buses like GPIB (IEEE-488)[3], VXI[4], serial and
application test software such as LabVIEW[5], Agilent VEE[6] are available which can be used together to configure a VI.
Table 1 summarizes the features of some Agilents programmable instruments that conform GPIB: multiple output DC power supply, digital multimeter, 4-channel digital oscilloscope, arbitrary waveform generator and interface card. There are a number of vendors such as NI, Textronix, Fluke etc. provides GPIB compatible instruments. Table 1 Features of instruments that conform Programmable Instrumentation Instruments Interface Agilent 6629A Multiple-output GPIB/RS232 DC Power supply Agilent 34401A DMM GPIB/RS232 Agilent 33250A Function GPIB/RS232 /Arbitrary Waveform Generator Agilent 54615B Digital Storage GPIB Oscilloscope HP 82341A Interface Card GPIB Features 4 Output, 50W, 16V@ 400mA, 50V@1A, 16V@2A 6.5digit, 1000Vdc/ 750Vac, dc/ac 3A, 80 MHz Sine, triangle, square, ramp, noise and more, 12-bit, 200MSa/s, 16,000-point deep arbitrary waveforms 2 Channel, 500 MHz, 1GSa/s, 4 MB SICL and VISA compatible, I/O Port
physical devices. The IEEE-488 Standard defined an instrument with interface and device partitions as shown in Figure 3. Controller
Control, Talk, Listen
Device#1
Talk, Listen
Piggyback Cables
Device #n
Talk, Listen
Figure 2 IEEE-488 Bus Concept Some devices can be set to talk only or to listen only. This lets two devices communicate without the need for a controller in the system. An example is a DVM that outputs readings and a printer that prints the data.
Instrument
GPIB Interface Interface Functions Device Functions