SA Unit 4 - Session 1-1
SA Unit 4 - Session 1-1
“Data acquisition is the process by which physical phenomena from the real world are
transformed into electrical signals that are measured and converted into a digital format for
processing, analysis, and storage by a computer. Data acquisition (DAQ) system is designed
not only to acquire data, but to act on it as well.”
“Data acquisition involves measuring signals (from a real-world physical system) from
different sensors, and digitizing the signals for storage, analysis and presentation.”
Needs of data acquisition
● Data acquisition systems interface between the real world of physical parameters, which
are analog, and the artificial world of digital computation and control.
● DAQ are used widely because they are low cost, accurate, and relatively simple to
implement.
● Data acquisition systems are capable of measuring hundreds of variables simultaneously.
● They are now used by most engineers and scientists for laboratory research, industrial
control, test, and measurement of input and output data to and from a computer.
● Industries that presently employ such automatic systems include steel making, food
processing, paper production, oil refining, chemical manufacturing, textile production,
cement
Elements of data acquisition and control
• A data acquisition system also can be thought of as a monitoring system. It can receive
data from a real-world process and display the data. It can also display the features of the
data extracted through its processing.
• In situations where it is necessary to acquire and process data and to also send data back
to the real-time process, we make use of a data acquisition and control (DAC) system.
• A DAC system is a superset of a DA system and requires both sensors and actuators. The
purpose of the actuator is to convert low-power computer signals real-world signals, into
resulting in motion, heat, pressure, etc. Common actuators include stepper motors,
solenoids, relays, hydraulic motors, speakers, and piezoelectric actuators.
“Control is the process by which digital control signals from the system hardware are
convened to a signal format for use by control devices such as actuators and relays. These
devices then control a system or process. Where a system is referred to as a data acquisition
system or DAQ system, it is possible that it includes control functions as well.”
Elements of data acquisition and control
The PC-based DAQ system depends on each of the following system elements.
• Computer
• Transducers and sensors
• Signal conditioning
• DAQ hardware
• Screw terminal panel(s)
• General purpose input/output (GPIO) card
• Software
Digital/Analog Data Acquisition Systems
• The necessary ingredients for the general I/O process are the PC and operating system
software, general purpose I/O (GPIO) card and software driver, and the proper termination
panel(s) and cabling for the GPIO card.
• The GPIO card is installed into a free expansion slot in the PC bus. Its address is specified
both on the card (using micro-switches) and in its driver software.
• The termination panel is connected to the GPIO card by one or more cables. At this point,
the system is ready to operate, except for the application software.
• Whatever application software is selected for the mechatronic programming tasks, it must
provide the programmer with the ability to create open-loop as well as closed-loop
applications.
COMPONENTS OF A DAC SYSTEM AND INTERCONNECTIONS FOR A SYSTEM WITH FOUR SENSORS
AND TWO ACTUATORS
I/O channels
Once you have selected a manufacturer and identified the potential card(s) which could be used, you must
determine the type and precision of the I/O channels needed. I/O channels may be either inputs or outputs and
are classified based on the type of data transferred. This leads to three channel types:
• Analog
• Digital
• Frequency (counter timer)
1. Precision of the I/O channel pertains to the accuracy and transient characteristics of the D/A and A/D
converter employed. Accuracy of the converter is a function of bit length. Most converters have 12-bit
resolution, which is ample for most applications; however, this depends on your application and should be
a consideration prior to purchasing.
2. In mechatronic applications, the I/O typically operates in either of two modes, open loop or closed loop.
Open-loop operation exists when inputs are read and/or outputs are written, but no relationship or
dependency exists between the inputs and outputs.
I/O channels
• Analog signal: It has three types of information
I/O channels
• Digital signal: It has two types of information
Signal Conditioning
The electrical signals generated by the transducers must be optimized for the input
range of the DAQ device. Signal conditioning accessories amplify low-level signals
and then isolate and filter them for more accurate measurements.
Basic specifications, which are available on most DAQ products, tell you the number
of channels, the sampling rate, the resolution, and the input range.
•Amplification
•Attenuation
–Voltage divider
•Filtering
–Anti-aliasing
•Isolation
Signal Conditioning
1. Amplification The most common type of conditioning is amplification. For example, the low level
thermocouple signals should be amplified to increase the resolution and reduce noise. The signal should
be amplified so that the maximum voltage range of the conditioned signal equals the maximum input
range of the ADC.
• Used on low-level signals (less than around 100 mV )
• Maximizes use of Analog-to-Digital Converter (ADC) range and increases accuracy
• Increases Signal to Noise Ratio (SNR)
Devices for Data Conversion: Operational and
Instrumentation Amplifiers
In this section, the basic principles of the operational amplifiers are discussed followed by
some of the basic circuits that are used in signal conditioning.
Operational Amplifiers: An amplifier is an electronic device which increases the size of
voltage or current signal without altering the signal’s basic characteristics. Operational
amplifiers (op-amps) are termed operational because of their early growth in a computing
area—mainly to perform mathematical operations. The operational amplifier has emerged as
a basic building block in electronic circuits and is made up of many transistors fabricated on
a processor chip. Its use arises from its ability to provide accurate and stable results under a
wide range of operational conditions.
Operational Amplifiers
The operational amplifier has three terminals known as the inverting input, non-inverting
input, and the output. Depending on the magnitude of the components and the configuration
used, different characteristics are obtained.
Basic characteristics of operational amplifier are
• (-) Inverting input terminal; A voltage applied to this terminal is amplified with an 180°
phase shift.
• (+)Non-inverting terminal; A voltage applied to this terminal is amplified without a phase
shift.
• The voltage gain is so great that the voltage difference between the inputs is zero
• The input impedance is so great that the inputs draw no current.
• Zero output impedance.
Operational Amplifiers: Non Inverting mode
Basic Op-Amp Circuits: As an example of a basic op-amp circuit, let us consider the non-
inverting amplifier shown in Figure.
The output is considered to be taken from across a potential divider circuit consisting of R1
and R2 in series. The voltage Vx is a fraction of the output voltage.
(1)
Since there is no current through the operational amplifier between the two inputs, there is
no potential difference between them. Therefore,
Vx = Vin (2)
Equating Equations (1) and (2) and solving for
the output voltage yields voltage gain as
Operational Amplifiers: Inverting mode
Inverting Mode: The signal is applied to the inverting terminal through a resistor R1 with
the non-inverting input connected to the ground. This results in an output that is out of phase
with the input. A feedback path is provided from the output, through the resistor RF, and to
the inverting input. It is to be noted that, since the (+) input terminal is at ground potential,
then the (-)input terminal also must be at the ground; therefore,
V_ = 0
Since the voltage at the junction of the resistors R1 and RF = 0 and the input current to the
op-amp is also 0, the currents in the resistors must be equal; therefore,
Instrumentation Amplifier
The output signals of transducers are rarely at the levels required for the job at hand. The
desired signal is often achieved using a versatile amplifier known as an instrumentation
amplifier. The gain of this amplifier can be precisely set by the addition of a single external
resistor, and it has a very high input resistance. It also has the ability to amplify small
signals in the presence of noise. Figure shows the schematic of an instrumentation amplifier.
Use AC coupling when the signal contains a large DC component. If you enable AC
coupling, you remove the large DC offset for the input amplifier and amplify only the AC
component. This configuration makes effective use of the ADC dynamic range
2.4. Signal Conditioning
Isolation Amplifiers
Another common signal-conditioning application is isolating the transducer signals from the computer for
safety purposes. The system being monitored may contain high-voltage transients that could damage the
computer without signal conditioning. Isolation ensures that the readings from the plug-in DAQ device are
unaffected by differences in ground potentials or common-mode voltages. When the DAQ device input and
the signal being acquired are each referenced to “ground,” problems occur if there is a potential difference in
the two grounds. This difference can lead to ground loop, which may cause inaccurate representation of the
acquired signal. If the difference is too large, it may damage the measurement system. Using isolated signal-
conditioning modules eliminates ground loops and ensures that the signals are accurately acquired.
•Voltage divider
•A circuit that produces an output voltage (Vout) that is a fraction of its input voltage
(Vin)
•Can be needed to get a high-level signal down to the acceptable DAQ-card range
2.4. Signal Conditioning
Sampling
–An analog signal is continuous
–A sampled signal is a series of discrete samples acquired at a specified sampling rate
–The faster we sample the more our sampled signal will look like our actual signal
–If not sampled fast enough a problem known as aliasing will occur
2.4. Signal Conditioning
Filtering
The purpose of a filter is to remove unwanted signals from the signal that you are trying
to measure. A noise filter is used on DC-class signals, such as temperature, to attenuate
higher frequency signals that can reduce the measurement accuracy. If the noise signals
were not removed, they would erroneously appear as signals within the input bandwidth
of the device.
Filtering
Frequency Domain:
2.4. Signal Conditioning
Filtering
Analog Filtering:
ADC architectures
•Multiplexed
•Simultaneous sampling