Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

6

Analog Input

This chapter explains analog input for data acquisition.

Things You Should Know about Analog Input

Engineers and scientists use data acquisition to acquire the information they need. This section describes the terms, tools, and techniques for successfully acquiring analog data.

Defining Your Signal

Analog signals can be grouped into three categories: DC, time domain, and frequency domain. Figure 6-1 illustrates which signals correspond to certain types of signal information.

DC

ADC/DAC

0.985

Level

 

(slow)

t

 

 

 

 

 

Analog Signal

 

Time Domain

 

Frequency Domain

ADC/DAC

 

Shape

(fast)

t

ADC (fast)

f

Freq. Content

Analysis

Figure 6-1. Types of Analog Signals

You must define a few more signal characteristics before you can begin measuring. For example, to what is your signal referenced? How fast does the signal vary over time?

You can treat a DC signal as a form of time domain signal. With a slowly-varying signal, you often can acquire a single point for your measurement. However, some DC signals might have noise, which varies quickly. Refer to Chapter 4, Example Measurements, for more information about handling noise in a DC signal by treating it as a time domain signal.

© National Instruments Corporation

6-1

LabVIEW Measurements Manual

Chapter 6

Analog Input

For time and frequency domain signals, you acquire several points of data at a fast scan rate. The rate you sample determines how often the analog-to-digital conversions take place. A fast sampling rate acquires more points in a given time and, therefore, can often form a better representation of the original signal than a slow sampling rate.

The sampling rate you should use depends on the types of features you are trying to find in your waveform. For example, if you are trying to detect a quick pulse in the time domain, you must sample fast enough that you do not miss the pulse. The time between successive scans must be smaller than the pulse period. If you are interested in measuring the rise time of a pulse, you must sample at an even faster rate, which depends on how quickly the pulse rises.

If you are measuring frequency characteristics of a waveform, you often do not need to sample as fast as you do for time domain measurements. According to the Nyquist Theorem, you must sample at a rate greater than twice the maximum frequency component in a signal to get accurate frequency information about that signal. This is usually not a fast enough rate to recreate the shape of the signal in the time domain, but it does record the frequency information. The frequency at one half the sampling frequency is referred to as the Nyquist frequency. Refer to the Measuring Frequency and Period with Filtering Example section in Chapter 4, Example Measurements, and the Data Sampling section in Chapter 11, Introduction to Measurement Analysis in LabVIEW, for more information about the Nyquist Theorem and the Nyquist frequency.

Signals come in two forms: referenced and non-referenced signal sources. More often, referenced sources are said to be grounded signals, and non-referenced sources are called floating signals.

Grounded Signal Sources

Grounded signal sources have voltage signals that are referenced to a system ground, such as earth or a building ground. Devices that plug into a building ground through wall outlets, such as signal generators and power supplies, are the most common examples of grounded signal sources,

as shown in Figure 6-2.

LabVIEW Measurements Manual

6-2

www.ni.com

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]