Unit 6
Unit 6
A typical Data Acquisition System consists of individual sensors with the necessary signal
conditioning, data conversion, data processing, multiplexing, data handling and associated
transmission, storage and display systems.
In order to optimise the characteristics of the system in terms of performance, handling capacity
and cost, the relevant sub systems can be combined together. Analog Data Acquisition System
is generally acquired and converted into digital form for the purpose of processing,
transmission, display and storage.
Processing may consist of a large variety of operations, ranging from simple comparison to
complicated mathematical manipulations. It can be for such purposes as collecting information
(averages, statistics), converting the data into a useful form (e.g., calculations of efficiency of
motor speed, torque and power input developed), using data for controlling a process,
performing repeated calculations to separate signals buried in the noise, generating information
for display, and various other purposes.
Data may be transmitted over long distances (from one point to another) or short distances (from
test centre to a nearby PC).
The data may be displayed on a digital panel or on a CRT. The same be stored temporarily (for
immediate use) or permanently for ready reference later.
Data acquisition generally relates to the process of collecting the input data in digital form as
rapidly, accurately, and economically as necessary. The basic instrumentation used may be a
DPM with digital outputs, a shaft digitiser, or a sophisticated high speed resolution device.
To match the input requirements with the output of the sensor, some form of scaling and
offsetting is necessary, and this is achieved by the use of amplifier/ attenuators.
For converting analog information from more than one source, either additional transducers or
multiplexers are employed. To increase the speed with which information is accurately
converted, sample-hold circuits are used. (In some cases, for analog signals with extra-wide
range, logarithmic con- version is used.)
Data Acquisition System Block Diagram:
A schematic block diagram of a General Data Acquisition System (DAS) is shown in Fig. 17.1.
The characteristics of the data acquisition system, depend on both the properties of the analog
data and on the processing carried out.
Based on the environment, a broad Classifications of data acquisition system into two
categories.
1. Those suitable for favourable environments (minimum RF interference and
electromagnetic induction)
2. Those intended for hostile environments
The former category may include, among other, laboratory instrument applications, test systems
for collecting long term drift information on zeners, high calibration test instruments, and
routine measurements in research, as mass spectrometers and lock-in amplifiers. In these, the
systems are designed to perform tasks oriented more towards making sensitive measurements
than to problems of protecting the integrity of analog data.
The Classifications of data acquisition system specifically includes measure, protecting the
integrity of the analog data under hostile conditions. Such measurement conditions arise in
aircraft control systems, turbovisous in electrical power systems, and in industrial process
control systems.
Most of these hostile measurement conditions require devices capable of a wide range of
temperature operations, excellent shielding, redundant paths for critical measurements and
considerable processing of the digital data acquisition system.
On the other hand, laboratory measurements are performed over a narrow temperature range
with much less electrical noise, employing high sensitivity and precision devices for higher
accuracies and resolution.
The important Factors to Consider When Setting Up a Data Acquisition System are as follows.
1. Accuracy and resolution
2. Number of channels to be monitored
3. Analog or digital signal
4. Single channel or multichannel
5. Sampling rate per channel
6. Signal conditioning requirements of each channel
7. Cost
The various general Configuration of Data Acquisition System are
1. Single channel possibilities
Direct conversion
Pre-amplification and direct conversion
Sample and hold, and conversion
Pre-amplification, signal conditioning and any of the above
2. Multi channel possibilities
Multiplexing the outputs of single channel converters
Multiplexing the output of sample-hold circuits
Multiplexing the inputs of sample-hold circuits
Multiplexing low level data
Objectives of Data Acquisition System:
It must acquire the necessary data, at correct speed and at the correct
Use of all data efficiently to inform the operator about the state of the
It must monitor the complete plant operation to maintain on-line optimum and safe
operations.
It must provide an effective human communication system and be able to identify
problem areas, thereby minimising unit availability and maximising unit through point at
minimum cost.
It must be able to collect, summarise and store data for diagnosis of operation and record
purpose.
It must be able to compute unit performance indices using on-line, real-time data.
It must be flexible and capable of being expanded for future require
It must be reliable, and not have a down time greater than 0.1%.
If the signal levels are below a tenth of an mV, or when resolution of 14 bits or 16 bits is
needed, the use of differential amplifiers can become a necessity. . When differential output has
to be handled from a bridge network, instru- mentation amplifiers are employed.
The accuracy, linearity and gain stability specifications should be carefully considered, to
ensure the system is not affected by any limitations.
If the input signals are to be physically isolated from the system, the conductive paths are
broken by using a transformer coupled or an optocoupled isolation amplifier. These techniques
are advantageous in handling signals from high voltage sources and transmission towers. In
biomedical applications such isolation becomes essential.
Pre-amplifiers can be coupled with active filters before processing of data, in order to minimise
the effect of noise carriers and interfering high frequency components. They effective
compensate for transmission sensitivity loss at
high frequency and hence enable measurements over an enhanced dynamic frequency range.
Special purpose filters, such as tracking filters, are used for preserving phase dependent data.
Multi Channel Data Acquisition System:
The Multi Channel Data Acquisition System can be time shared by two or more input sources.
Depending on the desired properties of the multiplexed system, a number of techniques are
employed for such time shared measurements.
Multi-Channel Analog Multiplexed System:
The multi-channel DAS has a single A/D converter preceded by a multiplexer, as shown in Fig.
17.5.
The individual analog signals are applied directly or after amplification and/or signal
conditioning, whenever necessary, to the multiplexer. These are further converted to digital
signals by the use of A/D converters, sequentially.
For the most efficient utilisation of time, the multiplexer is made to seek the next channel to be
converted while the previous data stored in the sample/hold is converted to digital form.
When the conversion is complete, the status line from the converter causes the sample/hold to
return to the sample mode and acquires the signal of the next channel. On completion of
acquisition, either immediately or upon command, the S/H is switched to the hold mode, a
conversion begins again and the multiplexer selects the next channel. This method is
relatively slower than systems where S/H outputs or even A/D converter outputs are
multiplexed, but it has the obvious advantage of low cost due to sharing of a majority of sub-
systems.
Sufficient accuracy in measurements can be achieved even without the S/H, in cases where
signal variations are extremely slow.
Multiplexing the Outputs of Sample/Hold:
When a large number of channels are to be monitored at the same time (synchronously) but at
moderate speeds, the technique of multiplexing the outputs of the S/H is particularly attractive.
An individual S/H is assigned to each channel as shown in Fig. 17.6, and they are updated
synchronously by a timing circuit.
The S/H outputs are connected to an A/D converter through a multiplexer, resulting in a
sequential readout of the outputs.
(Applications that might require this approach include wind tunnel measure- ments,
seismographic experimentation, radar and fire control systems. The event to be measured is
often a one-shot phenomenon and information is required at a critical point during a one-shot
event.)
Multiplexing After A/D Conversion:
It is now economically feasible to employ an A/D converter for each analog input and multiplex
the digital outputs.
Since each analog to digital converter (A/D) is assigned to an individual channel, the conversion
rate of the A/D need only be as fast as is needed for that channel, compared to the higher rates
that would be needed if it were used as in a multi channel analog multiplexed system.
The parallel conversion scheme shown in Fig. 17.7 provides additional advantages in industrial
data acquisition systems where many strain gauges, thermocouples and LVDTs are distributed
over large plant areas. Since the analog signals are digitised at the source, the digital
transmissionof the data to the data centre (from where it can go on to a communication channel)
can provide enhanced immunity against line frequency and other ground loop interferences. The
data converted to digital form is used to perform logic operations and decisions. Based on the
relative speed at which changes occur in the data, the scanning rate can be increased or
decreased.
Alternatively, input channels having slowly varying data can be pre-multiplexed in any of the
forms suggested earlier, so that a set of sequentially multiplexed sub channels can then replace
one channel of the main digital multiplexed system, as indicated in Fig. 17.7.
Multiplexing Low Level Data:
A low level data multiplexing system, as shown in Fig. 17.8, enables the use of a single high
quality data amplifier for handling multichannel low level inputs.
Individual amplifiers are used for each low level signal. Low level multiplexing can be
attractive when a large number of channels (25), all having low level outputs, need to be used at
moderate speeds. The use of individual channels is possible because of the availability of high
quality amplifiers at moderate cost. (A typical application is a 200 channel stress measurement
system in a transmission tower set up.)
Several factors have to be considered to accomplish low level multiplexing successfully.
Guarding may have to be employed for every channel, and each individual guard may have to
be switched, so that the appropriate guard is driven by the common mode pertaining to that
channel.
Problems of pickup gets more complicated and have to be taken care of, to preempt the
possibility of signal-to-signal, and even common mode-to differen- tial mode signal cross-talk.
Capacitance balance may need to be carried out. When the number of channels to be
multiplexed increases, the problems of stray capacitances and capacitive balance are worsened.
In the specific case of a 48 channel system, the input channels are subdivided into groups of
eight channels in the first tier. Each of these six subgroups are in turn multiplexed by a six
channel multiplexer on the second tier. The main advantage of using this is the reduction of
capacitance effects.
It is possible to obtain two (optional) D/A converters for driving analog recorders, generating
analog control signals, etc. The hardware problems are reduced to a minimum by the use of
such an interface card. Also, the overall system throughput rate must be less (often much less)
than the 28 kHz value given
above, since software execution time must be added to the A/D conversion time.
Figure 17.28 shows a single board, micro-computer based data acquisition system designed to
accept multichannel analog and digital inputs and provide digital output to a host computer
(usually a mini-frame or Main frame supporting high level languages such as BASIC and
FORTRAN) through a standard serial
communications port (RS 232C or 20 mA current loop). The on-board micro- computer
unburdens the host computer by allowing supervisory control.
It performs data acquisition control, linearlization, conversion to engineering units, limits
checking, interface control, and data output formatting. The analog channels are scanned
continuously (15 to 30 channels per second) and the resultant data are stored in the micro-
computer memory (RAM). The data in the RAM is refreshed on a continuous basis (the latest
data is kept in memory), so that requests for data from the host are serviced immediately.
Upon receipt of a transit command, the micro-computer [via. the UART (Universal
Asynchronous Receiver Transmitter)] begins transmitting a string of data in the ASCII format
to the host. No programming of the micro-computer is necessary, since it is preprogrammed by
the firmware to respond to host commands.
The 12 channels of the analog input are broken into 3 groups of 4, and convenient 4 channel
plug-in modules for thermocouples, RTDs, strain gauge transducers, etc. are available. Up to
three expander boards can be controlled by a master board, creating a cluster as shown in Fig.
17.29. Up to 8 clusters can be operated from the same host, providing expansion to 384
channels.
For those applications in which a sensor based measurement and control system with
comprehensive and easy to use computer processing is designed, with a minimum of user
engineering effort, complete stand alone systems such as that of Fig. 17.30 are available.
Analog and digital input/output is through a plug-in signal conditioning cards, space for 16
cards is provided (expandable up to 256 cards). A wide selection of cards functions are
available, allowing easy interfacing with all kinds of sensors and control devices. Single cards
are often themselves multichannel
devices with a multiplexer on the card. Thus, two level of computer controlled multiplexing are
present, slot multiplexing (chooses the card slot desired) and card channel multiplexing (selects
the channel wanted on the chosen card).
For example, a single digital input card provides 16 channels (bits) while the analog input card
has 32 channels (single ended) or 16 channels (differential). This analog card has its own PGA
(gain = 1, 16, 256) which combined with the PGA of the central controller (gain = 1, 2, 4, 8),
allows versatile selection of channel gain under program control. Thermocouple cards are four
channel units, which share a common reference-junction compensation circuit and have fixed
gain. Lineraization is accomplished in software by a general purpose polynomial sub-routine. A
fast (25 ,μS conversion time) successive approxi- mation A/D converter allows rapid scanning
and storage of analog input (mixed channels at 2 kHz, single channel at 4 kHz). A mini
computer specially designed for measurement control applications has 32,000 words of 16 bit
MOS random access memory (RAM) augmented by 105 k bytes of cartridge tape mass storage.
Programming is a Macbasic (a version of BASIC) specially enhanced for easy system
places a voltage of 4.44 V on Channel 3 of the analog output card in I/O slot 1.
For digital input variable DIN
takes the digital logic level from Channel 1 of the digital input card in I/O slot 3 and places it in
I′, where I′ is an integer variable.
which causes the program to wait 5.6 before proceeding to the next statement.
A common requirement of many applications is the ability to perform several operations or
tasks independently of one another in the same program. Examples include the monitoring of
several analog signals in the laboratory or control of several process loops. To provide for this
requirement, Macbasic is
structured as a multitasking language and contains the necessary words for implementation.
Tasks are groups of Macbasic language statements that are defined as a task, and are executed
each time the task is activated unconditionally or by satisfaction of a condition (such as an
external event), or on a periodic basis. Up to 18 tasks may be defined at a given time and if
more than one task is active at a given moment, the active task share resources and run
simultaneously, unless priority is assigned to a particular task. If a task completes its operation,
it can DISMISS itself an d return its resources to the system until the task is reactivated.