浙江农林大学本科生毕业设计(论文)
Labview-based virtual function Signal Generator
1 Introduction
Since 1986, the U.S. NI (National Instrument) companies to the concept of virtual instrumentation, along with computer technology and measurement technology, virtual instrument technology has also been developed rapidly. Virtual instrument means: use of the existing PC, with a specially designed instrument hardware and proprietary software, the formation of the basic functions of both the ordinary instrument, there are usually no special equipment features of the new instrument. Compared with the traditional instruments of its features are: better measurement accuracy and repeatability; measurement speed; system set up time is short; instrument function defined by the user; scalability; technical updates and quick. Virtual instrument software as the core, the software company Youyi U.S. NI Labview virtual instrument software development platform most commonly used. Labview is a graphical programming language, mainly used to develop data acquisition, instrument control and data processing and analysis software, and powerful. Currently, the development of software in the international test, measurement and control industry, popular, measurement and control areas in the country has also been widely used. Function Generator is a scientific research and engineering design in a widely used general-purpose equipment. The following function signal generator with a virtual design and development of specific description is based on graphical programming language Labview virtual instrument programming and implementation of technology.
1
浙江农林大学本科生毕业设计(论文)
2 virtual function signal generator structure and composition
2.1 Virtual Function Generator front panel
This virtual function signal generator mainly consists of a PCI bus, multi-function data acquisition card and appropriate software. Them installed on a PC running Windows95/98/2000/NT the machine, shall constitute a powerful function of signal generator. The design of the virtual function signal generator reference signal generator SG 1645 power functions, front panel shown in Figure 1.
Figure 1 virtual function signal generator front panel
The function generator's front panel function of the following components: instrument control button, the output frequency control window (including the frequency of display units), frequency fold into control, waveform selection, frequency tuning button, dc bias, square wave accounts for Air ratio adjustment, the output waveform amplitude control buttons. Frequency tuning range: 0.1 ~ 1 Hz; DC bias: -10 ~ 10V; square wave duty cycle: 0 to 100%; output waveform range: 0 ~ 10V. Also increased the number of modification of voltage-controlled components such as panel input count input, synchronous output, voltage output. Modification of the use of these components is intended to increase the aesthetics of the instrument, and as far as possible with real instruments consistent user interface
2.2 Virtual Function Signal Generator hardware structure
This virtual function signal generator hardware input and output data acquisition card and a certain
2
浙江农林大学本科生毕业设计(论文)
configuration requirements of the PC, the data input and output depend on input data acquisition card, the definition of output achieved. This design uses the PCI-1200 data acquisition card is a good cost-effective products, with the D / A conversion functions, can generate the digital signals into analog signals and digital-analog converter and high precision, but also has filtering capabilities, which Smooth the output waveform. It supports the unipolar and bipolar analog signal input, the signal input ranges of -5 ~ +5 V and 0 ~ 10V. Provide 16 single-ended / 8 differential analog input channels, 2 independent of the DA output channels, 24-line TTL digital I / O, 3 16-bit timer counters and other features. Some of the hardware interface for data input or output channel settings. Some of the hardware interface block diagram shown in Figure 2:
Figure 2
3