Escolar Documentos
Profissional Documentos
Cultura Documentos
Overview
Ground References
Floating versus Ground Referenced
Differential and Common Mode Rejection Ratio
(CMRR)
Analog multiplexers
Voutput Gain (V V )
This requires two wires from every measurement and someway to connect both
wires to a differential amplifier to measure the signal
Either a dedicated differential amplifier for each measurement or
A switch (multiplexer or mux) that switches both wires into a differential
amplifier for each measurement
A reference to instrumentation system ground is established through the
amplifier
This allows comparison between measurement channels in a system
In large instrumentation systems this is a problem as it doubles the system
Differential
Analog
Multiplexers
From Labview
Data Acquisition
Basics Manual
Analog Multiplexers
Normally there is one analog to digital converter that is shared
in all the analog channels
In order to switch the different analog channels into the analog
to digital converter at the appropriate times, there is an analog
multiplexer
Definition of multiplexer is a set of electromechanical or
semiconductor switches arranged to allow the selection of one
of many inputs to a single output
Digital multiplexers, allow the selection of a digital value or
pulse train to an output
Analog multiplexers allow the selection of one of several
analog line voltages signals to an output
CMRR Measurement
Vref
Test requires
Periodic signal
Source at frequencies
of interest
V V
CMRR(db) 20 log(
)
Vout
CMRR(db) 20 log
Differential Gain
Common Mode Gain
In GRSE, all measurements are made with respect to a single node, AI GND,
that is directly connected to measurement system ground .
This reduces the number of wires and channels of multiplexing required.
High frequency signals often require the use of coaxial cables
A coaxial cable utilizes a solid center conductor surrounded by an insulator
which is surrounded by a grounded shield
Coaxial cables are needed in high frequency because most of the signal
travels along the outside surface of the cable
The shield also reduces the amount of noise coupling in high frequency
signals
These are by necessity single ended measurements
In an non-referenced signal ended system, the channel and the sense line (low
reference point at the sensor) are not direct connected to a ground but have a
finite resistance to ground. This may be large or small. Bias resistors may be
installed to control this resistance to a known value to reduce the error in the
signal.
Ground Loop
A ground loop is when there is difference in potential between two ground points
resulting in current flow between the two ground points. This can introduce error
into measurements through direct effects (raising the ground) and indirect effects
(electromagnetic coupling)
Aliasing
A false lower frequency component that appears in sampled data acquired at too
low a sampling rate compared to the Nyquist Frequency.
This is the phenomena that explains why wagon wheels seem to turn backwards in
movies. The sampling rate of the pictures (60 hz) is not fast enough to capture more
than one cycle of the wheel so in subsequent frames, the wheel appears to turn
backwards
Sampling Rules
If data signal maximum frequency content is f, then
Must sample at greater than 2f to get frequency correct
Must sample at 10-20f to get shape correct
f is the highest frequency present, not necessarily the highest frequency
desired
This is why it is important to lowpass filter prior to sampling
Once it is sampled, the aliasing has occurred and further filtering cant
help
Anti-aliasing filtering cant be done in software unless initial sample
rate is high enough to be greater than the Nyquist criterion for all
frequencies present
Sampling at a much higher rate so that you can digitally filter is
called oversampling
In general filter before you sample or be sure you are oversampling
and then digitally filter
Example Nyquist.VI
Quantization error
Quantization Error
Quantization
Accuracy
Example Quantization.VI
Relative Accuracy
Overview
Data Acquisition Structures Functions & locations
Timing, triggering and buffering - Software versus
board
Data Acquisition Libraries
Express
DAQ MX - the latest
Single Shot Acquisition of a single channel using
DAQMX
Software timing functions and time functions
Multi-channel acquisition using DAQMX
Multiple Samples of a single or multiple channels
using DAQMX
Timing
Triggering event and analog using DAQMX Page 25
Traditional NI-DAQ
NI-MAX
DAQMX VI definition
DAQMX VIs - memories
Page 26
Buffers
A buffer is a contiguous set of memory (in a computer) or registers (on a board) where data
can be written for future processing or read from as an input to processing
Incoming or outgoing information is temporarily stored in a buffer which acts as a
synchronizing element and allows devices on either side of an interface to act at their design
rate
Buffers allow data to be communicated more efficiently as the overhead in data transfer is
usually fixed and larger transfers are more efficient
Circular Buffers