Unit 4 Notes
Unit 4 Notes
Dr Snigdha Chaturvedi
Department of Electrical and Electronics Engineering
Data Acquisition Systems and
Conversion: Introduction
Data Acquisition is sampling real-world physical conditions and
converting the resulting samples into digital numeric values that a
computer can manipulate.
The components of data acquisition systems include:
- Sensors that convert physical parameters to electrical signals.
- Signal conditioning circuitry to convert sensor signals into a form
that can be converted to digital values.
- Analog-to-digital converters, which convert conditioned sensor
signals to digital values.
- Communication channel for transmission of data to a computer.
Unit-4
Example of a Data Acquisition
System
• For a race engineer of a renowned motorsports team. It is important
to meet the expected performance.
• To analyze vehicle performance
• To analyze driver performance
• To help with vehicle development
• To monitor reliability and safety
• To determine vehicle parameters
• To keep maintenance logs
Unit-4
Components of DAQ
Data
Acquisitio
n • Transducers have a crucial role in acquiring
data. They perform the task of converting
Transduce energy from a source into electronic signals.
The output signal generated by these devices
r Signals varies depending on the specific parameter
being measured. Data acquisition systems are
commonly identified by the type of output they
produce, which can either be digital or analog.
Digital Signals
Analog Signals
Signal Conditioning
Common Signal
Conditioning Examples
Amplification
Amplification and SNR
(Signal to Noise Ratio)
Attenuation
Filtering
Isolation
Importance of Data
Acquisition System
• Voltage Signals
• The voltage signal is the most used signal employed by DAQ systems. Strain gauge bridge circuits,
thermocouples, and gas concentration probes, for example, all produce a voltage signal. Data acquisition
hardware conditions the signal and then converts it into a digital number by employing an analog-to-digital
converter. This digital value is stored by the computer. Data acquisition systems are often able to directly
handle low-voltage inputs that are, to say, a few millivolts up to a few volts.
• Current Signals
• Current is usually used for transmitting signals in noisy environments since it is much less affected by
environmental background noise. A data acquisition system measures the amount of current that flows and
then stores the value in a computer for analysis.
Data Acquisition Signal Used by DAQ
Systems
• Power Signals
• Signals from electrical power supplies can be monitored when the current signal is
sensed with a current-sensing resistor and resistive dividers are used to break down
high voltage signals. The current-sensing resistor will provide data to the data
acquisition system for measurement and storage so that the power signals can be
monitored.
• Resistance
• Resistance measurements are performed employing a current source together with a
normal voltage input. The current flows through an unknown resistance and the
voltage drop across that resistance is measured. This voltage drop is then recorded by
the data acquisition system.
Data Acquisition Signal Used by DAQ
Systems
• Digital Signals
• Digital outputs produced by switches and so on are treated as logic signals. These signals
are sensed as on(1) or off(0). For volt-free contacts, where there is no switching of
external voltage, a small sensing voltage is applied to determine the switch state. This will
usually be 5V to be compatible with TTL levels. Where voltage is being switched, the
logic state can be determined by the voltage level itself. The type of input required is
determined by the voltage levels, for example, TTL, up to 12 V logic or 24 V DC. When
the digital signals are rapidly changing and become pulse trains, counter-timer-type inputs
must be considered.
Factors to be considered
while selecting a DAQ
• When establishing a data acquisition system, there are several important
factors to consider:
• Sensor Selection: The appropriatesensors or transducers that
accurately capturethe data needed should be carefully chosen. Factors
such as measurement range, resolution, and sensitivity need to be
considered in order to makean informed decision.
• Signal Conditioning: The quality of acquired data can be enhanced by
employing signal conditioning techniques. This may include amplification,
filtering, or other necessary adjustments.
Factors to be considered
while selecting a DAQ
• Noise Reduction: Measures can be implemented to minimize noise
interference, which has the potential to distort data. One effective
approach is through the use of shielding, grounding, and filtering
techniques.
• Calibration: Regularly, it is important to calibratesensors and
measurement equipment in order to maintain their accuracy and
reliability.
• Data Storage: The decision to be made is regarding an appropriate
method for data storage. One should consider options such as on-site
storage, cloud-based solutions, or a combination of both.
Factors to be considered
while selecting a DAQ
• Data Transmission: If applicable, it is important to create a plan for
transmitting data from remote sensors to a central system. This plan
should prioritize reliable and secure communication methods.
• Power Supply: To prevent any loss of data or system failures, it is esse
ntial to ensure a stable and reliable power supply for both the sensors and
data acquisition equipment. This will guaranteeuninterrupted functionality.
• Environmental Conditions: Considering theenvironment in which the
data acquisition system will operate is crucial. It is important to safeguard
theequipment from extreme temperatures, humidity, and other
environmental factors.
Applications of Data Acquisition
System
• Electronics
• Data acquisition systems are utilized in the electronics industry. They are utilized in the
testing of many variables that are involved in the design of electronics like heat production,
resistance, conductivity, magnetics, etc.
• Automotive Industry
• Data acquisition devices are utilized in automotive manufacturing for testing the quality of
the parts that are manufactured.
• Imaging
• Data acquisition systems are used for the quality testing of imaging equipment like a
photographic lens or video camera, as well as with scientific equipment such as scanners,
and microscopes.
• Laser Technology
• Data acquisition systems are utilized in laser technology to test laser performance, light
intensity, and color
Applications of Data Acquisition
System
• Industrial Machines
• Industrial machines are created to perform multiple times. Therefore, repeatability is of critical
importance. Data acquisition systems are often utilized for testing these machines for their tolerance
to repetitive forces.
• Non-Destructive Testing
• Data acquisition systems are utilized in the non-destructive testing of structures, geology,
seismology, and ultrasonic measurements, as well as with the analysis of acoustic emission
phenomena.
• Gas Detection
• Gas detectors are used to find leaks using tracer gases, such as hydrogen and helium. Once a
chamber is filled with the trace gas, the loss of gas is measured with a mass spectrometer that detects
the trace gas. Gas detection is used to determine the amount and composition of the gas being lost
from a system or machine.
Advantages of Data Acquisition
System
• Accuracy
• Flexibility
• Scalability
• High efficiency and reliability of processes
• Faster analysis and resolution of problems
• Reduced data redundancy
• Decrease in update errors
• Supervision of data without human interaction
• Cost effectiveness
Advantages of Data Acquisition
System
• Improved data security
• Cost effectiveness
• Quality control
• Better file control and transfer capabilities
Write the steps to develop
a DAQ for temperature
controller using RTD
ANALOG TO DIGITAL
CONVERTERS
Analog to digital Conversion
• Analog-to-digital conversion is the process of converting analog
signals to digital form.
• ADCs are used for data acquisition.
• ADC process occurs in three steps:
• Sampling
• Quantization
• Encoding
3-bit conversion example
Quantization levels
Eg 5V divided into 8
levels – each 0.625
Each binary representation is a “range”
46
Quantization Error
• The difference between actual analog value and quantized digital
value.
ENCODING
• Encoding is the process that assigns ones and zeros (stream of bits)
for every quantization level.
• The number of bits assigned for each level (n) depends on the level’s
number (L); such that 2^n=L
Types of Analog to Digital
Converters
• Direct conversion ADC
• Sigma-delta ADC
Successive Approximation
Register ADC
• The Successive Approximation ADC is the ADC of choice for low-cost medium to high-
resolution applications, the resolution for SAR ADCs ranges from 8 - 18 bits, with sample
speeds up to 5 mega-samples per second (MSPs). Also, it can be constructed in a small form
factor with low power consumption, which is why this type of ADC is used for portable
battery-powered instruments.
• As the name implies, this ADC applies a binary search algorithm to convert the values, which
is why the internal circuitry may be running at several MHZ. Still, the actual sample rate is
much less due to the Successive Approximation algorithm.
Successive Approximation Register ADC
• As this is the most commonly used ADC, it's used for many applications
like uses in biomedical devices that can be implanted in the patient, these
types of ADCs are used because they consume very little power. Also, many
smartwatches and sensors use this type of ADC.
Sigma- Delta Analog to Digital
converter
One of the more advanced ADC technologies is the so-called delta-sigma, or
(using the proper Greek letter notation). In mathematics and physics, the
capital Greek letter delta represents difference or change, while the capital
letter sigma represents summation: the adding of multiple terms together.
Sometimes this converter is referred to by the same Greek letters in reverse
order: sigma-delta, or .
Sigma- Delta Analog to Digital
converter
In a converter, the analog input voltage signal is connected to the input of an integrator,
producing a voltage rate-of-change, or slope, at the output corresponding to input
magnitude. This ramping voltage is then compared against ground potential (0 volts) by a
comparator. The comparator acts as a sort of 1-bit ADC, producing 1 bit of output (”high”
or ”low”) depending on whether the integrator output is positive or negative. The
comparator’s output is then latched through a D-type flip-flop clocked at a high frequency,
and fed back to another input channel on the integrator, to drive the integrator in the
direction of a 0 volt output.
Sigma- Delta Analog to Digital
converter
Sigma- Delta Analog to Digital
converter
• Step 1: Two inputs are given to different amplifiers
1st input – Signal input from user
2nd input – Signal input from ADC (Feedback mechanism)
So, the result (from ADC) and input is given to the integrator
• Step 2: Integrator adds this value to the comparator
• Step 3: Now the integrated output is forwarded to the comparator ( or one bit ADC)
Comparator compares the positive terminal voltage to the negative terminal
voltage
If +ve>-ve then output=1
If –ve>+ve then output=0
Sigma- Delta Analog to Digital
converter
• Note : If more positive voltage is given then more numbers of 1s are
received as digital output.
• Step 4 : The received 1 or 0 bitstream is given to 1 bit DAC, which
produces the output according to 1 bitstream.
If 1 is given to 1 bit DAC, then output is +1.
If 0 is given to 1 bit DAC, then output is -1.
• Step 5 : Again, input is given to different amplifiers and the process is
continued.
Sigma- Delta Analog to Digital
converter
Sigma- Delta Analog to Digital
converter
Advantages of Sigma-Delta
ADCs
• High resolution ( 16-24 bits)
• Low distortion (noise shaping property)
• Reduced sensitivity to component mismatch
• Versatility : Well-suited for low frequency signals
• Digitization of low-frequency signals: Suitable in digitizing low
frequency signals.
Disadvantages
• Conversion speed: Sigma-Delta ADCs have slow conversion speed
• Complexity: Sigma-Delta ADCs are more complex as compared to
other ADCs.
• High power consumption due to complexity
• Non linearities due to opamp in feedback path
• Limited applicability for High-speed signals
Key features and
Characteristics of Sigma-Delta
ADC
• Oversampling: Sigma-Delta ADCs sample the input signal at a much
higher rate than what is required to meet the desired resolution. This
oversampling allows improved accuracy, especially in low-frequency
or low-amplitude signals.
• Noise-shaping: The integrator in the sigma-delta ADC acts as a low
pass filter, filtering all the noise signals. Therefore, it helps in noise
shaping.
Key features and
Characteristics of Sigma-Delta
ADC
• Modulation: The oversampled data is then modulated by comparing it to a
reference voltage. This comparison generates a high-frequency, one-bit
digital output which is also known as bitstream.
• Digital Filter: The bitstream is passed through a digital filter, often a high-
order integrator, to remove high-frequency noise and recover the desired
signal.
Timers
Introduction
• In many application we require certain device to be on or off for a fixed
length of time.
• For example, a valve of a certain container should be open every 1 minute
for only 3 seconds, and this process should continue till we switch off the
system. Or we need a fire alarm that beeps every 2 seconds till corrective
action is taken.
• All these applications require a system that generates electrical pulse signals
at pre-determined time intervals and of pre-set width.
• Such signals are generated using the timer circuits. The most common of
these circuits is a family of special circuits called multivibrators.
Types of Multivibrator circuits
• Astable Multivibrator
• Monostable Multivibrator
• Bi-stable Multivibrator
555 Timer IC
• The multivibrators can be built by using a popular analog integrated circuit
called Timer IC and its identifying number is IC555.
• The main two modes of operating timer IC555 are astable mode and
monostable mode.
• In certain applications, we require a single pulse to be generated in response
to some trigger, like switching off the valve for a set period of few minutes
when the tank is full or keep an indicator LED on for the same seconds when
a process gets over. In all such situations, we need a single pulse starting
with the same control signal (trigger).
• A circuit producing such a single pulse is called a monostable multivibrator or
a mono-shot.
555 Timer IC
• In an astable multivibrator or free-running mode, a continuous pulse train of
the desired duty cycle is generated.
• These pulses can be used as clock pulses for any control circuit or can drive
an LED that keeps on continuously blinking (switching on and off) depending
on the ON-time and OFF-time of the pulses.
PIN DIAGRAM OF 555 IC
Ground: All voltages are measured with respect to this
terminal.
Trigger: This pin is responsible for the transition of flip-
flops from set to reset.
Output: This pin provides an output of the timer.
Reset: This pin is used to reset the timer by applying a
negative pulse to this pin.
Control: This pin is used to control threshold and trigger
levels.
Threshold terminal: This is non-inverting input terminal of
comparator 1 that compares output voltage applied to this
terminal with a reference voltage of +
Discharge: This pin is connected internally to the collector
of the transistor and a capacitor is connected between this
terminal and the ground.
BLOCK DIAGRAM OF IC 555
ASTABLE MULTIVIBRATOR USING
IC 555
• In the monostable multivibrator we obtain a single pulse at the output of the multivibrator circuit in response to a trigger
pulse. But if we require to generate a continuous rectangular wave at the output of the multivibrator, we need to
automatically generate a trigger within the circuit. This principle is used in the design of a free running rectangular wave
oscillator or an astable multivibrator.
• In the astable (free-run) mode, only one additional component, RB, is necessary. The trigger is now tied to the threshold
pin. At the time when power is switched on, the capacitor is discharged, holding the trigger low.
• This triggers the timer, which establishes the capacitor charging path through RA and RB. When the capacitor reaches the
threshold level of the output drops low and the discharge transistor turns ON. The timing capacitor now discharges
through RB. When the capacitor voltage drops to the trigger comparator changes its state, automatically re-triggering the
timer, creating a continuously running oscillator circuit.
Thank
You