Top Banner
Analog to Digital conversion
27

Analog to Digital conversion. Introduction The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Dec 30, 2015

Download

Documents

Hilary Bruce
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Analog to Digital conversion

Page 2: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Introduction

* The process of converting an analog signal

into an equivalent digital signal is known as

Analog to Digital (AD) conversion.

* The conversion time depends upon the

frequency of input clock signal.

Page 3: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Analog to digital conversion

03 07 10 14 09 02 00 04

Page 4: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Conversion Methods

* Ladder Comparison

* Successive Approximation

* Slope Integration

* Flash Comparison

Page 5: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Ladder Comparison

Page 6: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Successive Approximation

Page 7: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Slope integration

* Charge a capacitor at constant current

* Count clock ticks* Stop when the capacitor

voltage matches the input* Cannot achieve high

resolution* Capacitor and/or

comparator

02468

101214161820

0 2 4 6 8 10 12 14 16

Time

Vo

lta

ge

acc

ross

th

e c

ap

aci

tor

Vin

Counting time

ININC

R

S Enable

N-bit OutputN-bit Output

Oscillator Clk

StartConversion

StartConversion

StartConversion

StartConversion

Q

Co

un

ter

Page 8: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Flash comparison

* If N is the number of bits in the

output word….

* Then 2N comparators will be

required.

* With modern microelectronics

this is quite possible, but will

be expensive.

Page 9: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

ADC Essentials

Basic I/O Relationship

– ADC is Rationing

System

• x = Analog input

/

Reference

– Fraction: 0 ~ 1

Page 10: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

ADC Essentials

n bits ADC

– Number of discrete

output level : 2n

– Quantum

• LSB size

• Q = LSB = FS / 2n

Quantization Error

– 1/2 LSB

– Reduced by increasing

n

Page 11: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Converter Errors

Offset Error Gain Error

Page 12: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Converter Errors

Integral Linearity ErrorDifferential Linearity

Error

Page 13: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

A/D conversion Techniques Counter or Tracking ADC

Successive Approximation

ADC

Most Commonly Used

Dual Slop Integrating ADC

Voltage to Frequency ADC

Parallel or Flash ADC

Fast Conversion

Software Implementation

Shaft Encoder

Page 14: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Counter type ADC

Block DiagramWave

form

Page 15: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Counter type ADC

Operation

– Reset and Start Counter

– DAC convert Digital output of Counter to Analog

signal

– Compare Analog input and Output of DAC

• Vi < VDAC

– Continue counting

• Vi = VDAC

– Stop counting

– Digital Output = Output of Counter

Page 16: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Tracking type ADC

Tracking or servo type

– Using Up/Down

Counter to track

input signal

continuously

• For slow varying

input

Page 17: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Successive Approximation ADC Most Commonly used in medium

to high speed Converters

Based on approximating the

input signal with binary code

and then successively revising

this approximation until best

approximation is achieved

SAR(Successive Approximation

Register) holds the current

binary value

Block Diagram

Page 18: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Successive Approximation ADC

Circuit wave formLogic Flow

Page 19: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Dual slope integrating ADC

Operation

Integrate

Reset and

integrate

Thus

1

0

T

iv dt2

0

t

rV dt

1 ( ) 2i AVG rT v t V

2( )

1i AVG r

tv V

T

Page 20: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Dual slope integrating ADC

Excellent Noise Rejection

High frequency noise

cancelled out by

integration

Proper T1 eliminates

line noise

Easy to obtain good

resolution

Low speed

If T1 = 60Hz, converter

throughput rate < 30

samples/s

Page 21: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Voltage to Frequency ADC

VFC (Voltage to Frequency

Converter)

Convert analog input

voltage to train of pulses

Counter

Generates Digital output by

counting pulses over a fixed

interval of time

Page 22: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Voltage to Frequency ADC

Low speed

Good noise immunity

High resolution

• For slow varying signal

• With long conversion time

Applicable to remote data sensing in noisy

environments

• Digital transmission over a long distance

Page 23: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Parallel or Flash ADC

Very high speed

conversion

Up to 100MHz for 8 bit

resolution

Video, Radar, Digital

Oscilloscope

Resolution is limited

Large number of

comparator in IC

Single step Conversion

2n –1 comparator

Precision Resistive

Network

Encoder

Page 24: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Software Implementation

Implementing software

using Microprocessor

Counting

Shifting

Inverting

Code conversion

…..

Limited practical use

Availability if Good

performance with very

responsible cost

Page 25: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Shaft Encoder

Electromechanical ADC

Convert shaft angle to

digital output

Encoding

Optical or magnetic

sensor

Applications

Machine tools,

industrial robotics,

Numerical control

Page 26: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

Shaft Encoder

Binary Encoder

Misalignment of

mechanism causes

large error.

Ex: 011 -> 111 (180 deg)

Gray Encoder

Misalignment causes of

1 LSB error.

Page 27: Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.

The End

……. Thank You ……