Beruflich Dokumente
Kultur Dokumente
Figure 4. A good input buffer needs to both protect the input channel and remove as much unwanted input signal as possible.
Variable gain allows the channel to easily interface with a variety of transducers.
ate reliably in the presence of a wide range sponses up into the hundreds of megahertz, velop 30 kV or higher discharges from
of radio frequency interference (RFI) and will rectify these RF signals into DC. normal activities. When you also consider
sources. While it may be obvious that RFI RF injected into low-frequency electronic transients developed from nearby lighting
can interfere with electronics that operate systems usually manifests itself as offset strikes and the power distribution system,
at radio frequencies, it can also have ef- and gain errors of mysterious origin. it becomes clear that electronic systems not
fects on devices that process low-frequency ESD and transient protection are addi- designed specifically to survive these events
and near DC signals, such as most DA tional features needed to cope with a less- will have painfully short life-spans. This
cards. The main problem in these cases is than-ideal world. In dry environments, becomes even more true in really nasty
that the individual transistors incorporated such as much of North America in the win- environments, such as a factory produc-
in even low-frequency circuits have re- ter, it is not uncommon to be able to de- tion floor.
An anti-aliasing filter is a feature that rarely
appears on DA cards, mostly because its
required properties are so dependent on
the application for which the card is used.
An anti-aliasing filter is used to remove
high-frequency components of an incom-
ing signal. Unlike the case of the RFI filter,
the signals removed by the anti-aliasing fil-
ter will not result in malfunctions of the
DA card circuitry, but can result in signifi-
cant measurement errors. The whole prob-
lem of aliasing arises because an ADC takes
snapshots of the signal at discrete moments
in time. When these snapshots are taken
at a frequency that is high compared to
that of the signal of interest, it is possible
to reconstruct an accurate representation
of the original signal from the acquired
data, as depicted in Figure 5a. When the
(a) sampling rate is too low, however, the sam-
pled data set will not give a good repre-
sentation of the original signal, and may
even result in a grossly inaccurate repre-
sentation, as shown in Figure 5b.
For a given input signal, with a maximum
frequency component of ‘f’, a theoretical
minimum sampling rate of ‘2f’ is required
to be able to accurately reconstruct that
signal. This sampling rate is referred to as
the Nyquist rate. To adequately sample a
signal, one must either increase the sam-
pling rate beyond the Nyquist rate, or re-
move all incoming signal components
greater than the maximum allowed by a
given sampling rate. Note, however, the
emphasis on both theoretical and mini-
(b) mum; it is usually a good idea in practice
to both limit the bandwidth of the incom-
Figure 5. When a signal is sampled sufficiently often, a good replica can be reconstructed ing signal, and to sample significantly faster
from the acquired data (a). Sampling at too low a frequency (b) can give misleading than the Nyquist rate.
results.
12
May/June 1999
Figure 6. A strain gauge
produces a small
differential signal riding
on a DC offset. An
instrumentation
amplifier can be used to
make this signal more
palatable to a data
acquisition card.
Finally, since real-world signals come in all a high-accuracy voltage reference signal, The challenge in interfacing to a thermo-
sizes (magnitudes), some means of control- often called the excitation, to bias the couple is that there are also unwanted ther-
ling gain is useful. The input channels of a bridge. The bridge then provides a differ- mocouple junctions at the points where the
DA card may have a programmable gain ential voltage signal in response to defor- thermocouple wires are attached to the
amplifier or attenuator, allowing the user mation. DAS. To accurately develop a temperature
to change the full-scale range of the input Because the difference voltage is typically measurement from the voltage measured
channel. Adjustable gain is a common fea- very small, on the order of a few millivolts, by the DAS, it is necessary to monitor the
ture on all but the least expensive DA and is riding on a much larger common temperature at the point of wire attach-
cards. mode signal, feeding the two inputs directly ment, and compensate the readings for this
into a pair of DA card input channels will temperature. While it is possible to do all
result in low-quality measurements. It is the necessary corrections in software in the
Transducer interfaces preferable to first subtract off the common host, thermocouples are sufficiently ubiq-
mode voltage and amplify the difference uitous so as to justify special single-chip
While the generic input buffer described amplification and processing circuits to
above will allow a DAS to deal with a va- signal to match the input range of the DA
card. This can be accomplished with the handle all the details of calibration and
riety of real-world voltage input signals, correction.
the signals derived from transducers may use of an instrumentation amplifier, whose
require some specialised interfaces before output is then sampled by a single DA card
channel.
they become usable by a generic A/D card.
This section will describe interfaces for two
Conclusion
of the more commonly encountered trans- To design an effective data acquisition sys-
ducers. Thermocouple tem, it is important to use hardware that
Thermocouples (Figure 7) also provide supports the application requirements.
This article has attempted to give a broad
Strain gauge small differential signals that generally
must be amplified before being processed overview of how a typical DAS works and
by an ADC. Unlike a strain gauge, a ther- it has described the various functional com-
A strain gauge is a bridge formed from ponents.
four thin-film metal resistors, arranged mocouple is self-powered and does not
so that when the strain gauge is mechani- require a bias voltage source, relying on a
cally deformed the resistors vary as a func- junction of two dissimilar metals to de- Edward Ramsden, Cherry Electrical Prod-
tion of the deformation. Figure 6 shows velop a voltage. The temperature at the ucts, 11200 88th Avenue, PO Box 581913,
a basic interface circuit for a this type junction can be inferred from the voltage Pleasant Prairie, WI 53158, USA; tel: +1-
of transducer. The DAS must provide developed. 414-942-6500; fax: +1-414-942-6566.
Figure 7. Parasitic thermocouple junctions interfere with temperature measurements. Although correction can be done in software,
specialized hardware is available to interface between thermocouples and data acquisition systems.
13