Professional Documents
Culture Documents
Analog To Digital Converter
Analog To Digital Converter
Analog To Digital Converter
Presented
By
SHEMA Frank, STES Group Ltd
1
Why do we need Analog to Digital converters?
- In the real world, most data is characterized by analog signals. In order to
manipulate the data using a microcontroller, we need to convert the
analog signals to the digital signals, so that the microcontroller and
microprocessor will be able to read, understand and manipulate the
data.
- When signals are in digital form they are less affected of additive noise
2
Introduction of ADC
● What is ADC?
3
What is ADC?
● ADC (Analog to Digital Converter) is an electronic device that converts a
continuous
analog input signal to discrete digital numbers (binary)
● Analog: - Real world signals that contain noise Continuous in time
4
Analog to digital converter (ADC )
5
ADC conversion
In electronics, an analog–to-
digital converter (ADC, A/D, or A-to-D) is
a system that converts an analog signal,
such as a sound picked up by a
microphone or light entering a digital
camera, into a digital signal.
6
Electronic Signals
7
Analog and Digital Converters
Measure voltage
Parameters
◦ Bits per sample
◦ Sampling rate
For 1 bit we have …
◦ GPIO Input
8
Analog and Digital Converters
Measure voltage
Parameters
◦ Bits per sample
◦ Sampling rate
For 1 bit we have …
◦ GPIO Input
For n bits we have …
◦ 0 to 2n 1
9
Sampling
• Reduction of a continuous signal to a discrete signal
• Achieved through sampling and holding circuit
• Switch ON – sampling of signal
• Switch OFF - voltage stored in capacitor (hold
operation)
• Must hold sampled value constant for digital
conversion
10
Sampling
Sensor signals are analog
11
Sampling Rate
12
Resolution
Maximum value of quantization error. Error is reduced with more
available memory
Vrange=Input Voltage Range
n= # bits of ADC
Example:
Vrange 7.0V
n 3
1V 7V /(23 1)
Resolution
13
Digital output
Each amplitude level can be
represented as a binary sequence
14
Why is ADC Important?
• All microcontrollers store information using digital logic
• Compress information to digital form for efficient storage
• Medium for storing digital data is more robust
• Digital data transfer is more efficient
• Digital data is easily reproducible
15
How ADC Works
2 Stages:
Sampling
- Sample-Hold Circuit
- Aliasing
Quantizing and Encoding
- Resolution
Binary
output
Quantizing and Encoding
• Approximates a continuous range of values and replaces it with a
binary number
17
Applications For ADC
• Control Systems
• PLCs (Programmable Logic Controllers)
• Cell Phones
• Video Devices
• Audio Devices
18
Thank you!
https://www.stesgroup.rw
19