Sensor 3 ADC
Sensor 3 ADC
Sensor 3 ADC
Analog Vs Digital
1
Krissanapong Nandhasri
nandhasri.k@mut.ac.th 2
Analog
• Analog information is made up of a continuum
of values
3
Analog Example
• phonograph
4
Analog
Obsolete devices
5
Analog Voice
Video
6
Analog Circuit
7
Digital?
• Digital information can assume only one or two possible
values: 0/1, one/Zero, on/off, high/low, true,false, etc
Digital Example
CD Player
10
Digital Circuit
11
Analog Vs Digital
Parameter Analog Signal Digital Signal
Definition A signal for conveying A signal which is a discrete
information which is a function of time, i.e. non-
continuous function of continuous signal, is
time is known as analog known as digital signal.
signal.
An analog signal is typically The typical representation
represented by a sine wave of a signal is given by a
Typical representation function. There are many square wave function.
more representations for
the analog signals also.
Analog signals use a Digital signals use discrete
continuous range of values values (or discontinuous
Signal values to represent the data and values), i.e. discrete 0 and
information. 1, to represent the data and
information.
12
Analog Vs Digital
Parameter Analog Signal Digital Signal
The analog signals are more The digital signals are
suitable for transmission of suitable for computing and
Suitability audio, video and other digital electronic operations
information through the such as data storage, etc.
communication channels.
Analog signals get affected The digital signals are more
by the electronic noise stable and less susceptible
Effect of electronic noise
easily. to noise than the analog
signals.
Due to more susceptibility The digital signals have high
Accuracy to the noise, the accuracy accuracy because they are
of analog signals is less. immune from the noise.
Analog signals use more Digital signals use less
power for data power than analog signals
Power consumption
transmission. for conveying the same
amount of information.
13
Analog Vs Digital
Parameter Analog Signal Digital Signal
Analog signals are Digital circuits are required
processed by analog circuits for processing of digital
Circuit components whose major components signals whose main circuit
are resistors, capacitors, components are transistors,
inductors, etc. logic gates, ICs, etc.
The analog signals give The digital signals do not
Observational errors
observational errors. given observational errors.
The common examples of The common example of
analog signals are digital signal is the data
Examples temperature, current, store in a computer
voltage, voice, pressure, memory.
speed, etc.
The analog signals are used The digital signals are used
in land line phones, in computers, keyboards,
Applications
thermometer, electric fan, digital watches,
volume knob of a radio, etc. smartphones, etc.
14
Definition of DSP: Digital filtering
Digital Signal Processing Video compression
Audio compression
Speech processing
Image processing
Radar and Sonar processing
15
ADC
Analog to Digital Converter
16
Sampling Rate Sampling Rate
•
The sampling rate (SR) is the rate at
whichamplitude values are digitized
from the originalwaveform.
•
CD sampling rate (high-quality):SR =
44,100 samples/second
•
medium-quality sampling rate:SR =
•CD Audio = 44.1 kHz 22,050 samples/second
•DVD Audio = 192 kHz •
phone sampling rate (low-quality):SR =
8,192 samples/second 17
Nyquist Frequency = SR/2
Nyquist Theorem
Sampling Rate
•Higher sampling rates allow
the waveform to be more
accurately represented
Nyquist Theorem and Aliasing
•Nyquist Theorem:We can digitally
represent only frequencies up to
half the sampling rate.
•Example:CD: SR=44,100
Hz Nyquist Frequency = SR/2 =
22,050 Hz
•Example:SR=22,050 Hz Nyquist
Frequency = SR/2 = 11,025 Hz 18
ADC Operation
22
Parallel or flash A/D
26
Delta-Sigma ADC
One of the more advanced ADC technologies is the so-called delta-
sigma, or ΔΣ (using the proper Greek letter notation).
27
Delta-Sigma ADC
this results in a serial stream of bits output by the flip-flop
28
Successive approximation ADC
30
Binary weighted DAC
31
R-2R DAC
32
R-2R DAC
33
R-2R DAC example
34
Practical Considerations of ADC Circuits
Resolution is the number of binary bits output by the converter.
This step value of 0.039101 feet (0.46921 inches) represents the smallest amount
of tank level change detectable by the instrument. Admittedly, this is a small
amount, less than 0.1% of the overall measurement span of 40 feet.
35
Practical Considerations of ADC Circuits
sample frequency, or conversion rate.
This is simply the speed at which the converter outputs a new binary number.
36
Practical Considerations of ADC Circuits
the highest-frequency waveform that an ADC can theoretically capture is the so-
called Nyquist frequency, equal to one-half of the ADC’s sample frequency.
Therefore, if an ADC circuit has a sample frequency of 5000 Hz, the highest-
frequency waveform it can successfully resolve will be the Nyquist frequency of
2500 Hz.
37
Comparisons and Applications of Different ADC
ADC Type Resolution Speed Complexity Power Consumption
38
Comparisons and Applications of Different ADC
MAIN
ADC TYPE PROS CONS MAX RESOLUTION MAX SAMPLE RATE
APPLICATIONS
Successive Good
No inherent anti-
Approximation speed/resolution 18 bits 10 MHz Data Acquisition
aliasing protection
(SAR) ratio
High dynamic
Data Acquisition,
performance, Hysteresis on
Delta-sigma (ΔΣ) 32 bits 1 MHz Noise & Vibration,
inherent anti- unnatural signals
Audio
aliasing protection
Accurate,
Dual Slope Low speed 20 bits 100 Hz Voltmeters
inexpensive
Pipelined Very fast Limited resolution 16 bits 1 GHz Oscilloscopes
39
ADC
40
Ads1115
42
DAC
43