Some Definitions for ADCs

32
Some Definitions for ADCs CONVERSION TIME - is the time required for a complete measurement by an analog-to-digital converter. Since the Conversion Time does not include acquisition time, multiplexer set up time, or other elements of a complete conversion cycle, the conversion time may be less than the Throughput Time. Number of Channels – Number of channels the ADC has to have to provide sequential sampling (via multiplexing) of several sensors. Range - Highest and lowest voltages that the board ADC can accept as inputs. The ADC found inside most data acquisition systems is generally only capable of understanding voltages. Hence, you may need to use signal conditioning to convert the information, obtained from your sensors and transducers, - to voltage. Resolution - Smallest interval into which the amplitude measurement range is divided. For example,12 bits equals 2^12 (or 4096) discrete values that can be returned to software as measurement results. This is defined by the number of bits that the ADC can use to represent the analog signal. For example, if Vref = 1.2V, the resolution of 12-bit ADC is 1.2/4096 = 0.293mV = 293uV. Sampling Rate - Rate at which data is sampled. The faster the signal changes, the higher sampling rate must be used to characterize the signal accurately. Boards that have faster A/D converters can capture higher frequency signals.

description

Some Definitions for ADCs. - PowerPoint PPT Presentation

Transcript of Some Definitions for ADCs

Page 1: Some Definitions for ADCs

Some Definitions for ADCs• CONVERSION TIME - is the time required for a complete measurement by

an analog-to-digital converter. Since the Conversion Time does not include acquisition time, multiplexer set up time, or other elements of a complete conversion cycle, the conversion time may be less than the Throughput Time.

• Number of Channels – Number of channels the ADC has to have to provide sequential sampling (via multiplexing) of several sensors.

• Range - Highest and lowest voltages that the board ADC can accept as inputs. The ADC found inside most data acquisition systems is generally only capable of understanding voltages. Hence, you may need to use signal conditioning to convert the information, obtained from your sensors and transducers, - to voltage.

• Resolution - Smallest interval into which the amplitude measurement range is divided. For example,12 bits equals 2^12 (or 4096) discrete values that can be returned to software as measurement results. This is defined by the number of bits that the ADC can use to represent the analog signal. For example, if Vref = 1.2V, the resolution of 12-bit ADC is 1.2/4096 = 0.293mV = 293uV.

• Sampling Rate - Rate at which data is sampled. The faster the signal changes, the higher sampling rate must be used to characterize the signal accurately. Boards that have faster A/D converters can capture higher frequency signals.

Page 2: Some Definitions for ADCs

Characteristics of TI ADC   ADS1250 ADS1251 

Resolution(Bits) 20   24  

Sample Rate (max) 25kSPS   20kSPS  

# Input Channels 1   1  

Architecture Delta-Sigma   Delta-Sigma  

Input Configuration Range Vref/PGA (1-8)   Vref  

Interface Serial SPI Interface  Serial SPI Interface  

INL (+/-)(Max)(%) 0.00001   0.00000  

INL(Max)(+/-LSB) 0.002   0.0015  

DNL(Max)(+/-LSB) 1   1  

ENOB(Bits) 18   19  

Page 3: Some Definitions for ADCs

Characteristics of TI ADC, Cont.ADS1250 ADS1251 

Power Consumption(Typ)(mW) 75   7.5  

Reference Mode Ext   Ext  

Analog Voltage AV/DD(Min)(V) 4.75   4.75  

Analog Voltage AV/DD(Max)(V) 5.25   5.25  

Digital Supply(Min)(V) 4.75   4.75  

Digital Supply(Max)(V) 5.25   5.25  

Pin/Package 16SOIC   8SOIC  

Operating Temperature Range(°C) -40 to 85   -40 to 85  

Rating Catalog   Catalog  

Approx. Price (US$) 8.70 | 1ku   6.00 | 1ku  

Page 4: Some Definitions for ADCs

SAMPLING THEORY

• Samples are snapshots of the changing values (give me your examples)

• Sampling has to be done with frequency at least two times more than the highest frequency component in the original (periodic) signal – Nyquist criteria (Harry Nyquist of Bell Telephone Laboratories, 1924)

• If sampling is too slow, - reconstruction of the original signal will be wrong. It is called “aliasing”

Page 5: Some Definitions for ADCs

Aliasing

victork
As you can see, the sampling frequency is slightly higher than the original signal frequency.Aliasing frequency is the difference between original signal frequency and sampling frequency.
Page 6: Some Definitions for ADCs

Digitizing Unipolar Analog Signal

Digitizing the wave 16 times

-0.5

0

0.5

1

1.5

2

2.5

0 100 200 300 400

Angle, Deg

Dig

itiz

ed

Va

lue

s

Analog Value

Digitized Values

Page 7: Some Definitions for ADCs

3-bit Digitizer Sampling 128 times per Wave

0

0.5

1

1.5

2

2.5

0 100 200 300 400

Angle, Deg.

An

alo

g a

nd

Dig

itiz

ed V

alu

es

3-bit Digitizing

Analog Value

Page 8: Some Definitions for ADCs

Errors of ADC

• Quantization Error

• Offset Error

• Gain Error

• Differential Linearity Error

• Integral Linearity Error

• Aperture Error

• Total Unadjusted Error (TUE)

Page 9: Some Definitions for ADCs

Transfer Function of a 3-bit ADC

Page 10: Some Definitions for ADCs

Quantization Error

• Quantization error is caused by the finite resolution of the ADC, and is an unavoidable imperfection in all types of ADC. The magnitude of the quantization error at the sampling instant is between zero and half of one LSB.

• The transfer function of an ideal N-bit ADC is shown in Figure 2.37 (*). The quantization error for any ac signal which spans more than a few LSBs can be approximated by an uncorrelated sawtooth waveform having a peak-to-peak amplitude of q, the weight of an LSB.

* See the book’s section 2.3.

Page 11: Some Definitions for ADCs

Quantization Noise

Page 12: Some Definitions for ADCs

Quantization Error for ADC is Output - Input

Page 13: Some Definitions for ADCs

Differential and Integral Nonlinearity Errors of ADC

• Differential Nonlinearity (DNL): An ideal A/D converter exhibits code transitions at analog input values spaced exactly 1LSB apart (1LSB = VFS / 2^n). DNL is the deviation in code width from the ideal 1LSB code width. A DNL error less than –1LSB can cause missing codes.

• DNL is a critical specification for image-processing, closed-loop, and video applications. This is a dc specification, where measurements are taken with near-dc analog input voltages.

• Integral Nonlinearity Error is the integral of DLE over the full range.

Page 14: Some Definitions for ADCs

Differential Nonlinearity Error

Page 15: Some Definitions for ADCs

Offset Error

• Offset Error: Offset error is the difference in voltage between the ideal first code transition and the actual code transition of an A/D converter. This is a dc specification, where measurements are taken with near-dc analog input voltages.

• In a unipolar device, offset error is the difference between the first measured transition point (lowest in voltage) and the first ideal, transition point. (See Figure 19.) Unipolar Offset Error is measured and calculated as shown in the following equation: Offset Error = (V[0:1]-(0.5)VILSB), where:

VILSB – Ideal LSB Voltage, V[0:1] – Analog Voltage of first transition

Page 16: Some Definitions for ADCs

Unipolar Offset Error

Offset Error – difference between actual first code transition point and ideal first code transition point.

Offset Error can be calibrated in hardware or FW/SW.

Page 17: Some Definitions for ADCs

Gain Error

• From mathematical expression of the ADC transfer function: D = C + G*A, where:D – digital code, C – offset, G – gain, and A – analog value.

• May be defined as the gain error contribution (in mV or LSB) to the total error at full-scale.

• Gain can be calibrated out at near full-scale by different measures: changing the transfer function of the sensor or conditioning circuitry, or by changing the voltage reference of the ADC.

Page 18: Some Definitions for ADCs

Aperture Error (from Wikipedia)

• Imagine that we are digitizing a sine wave x(t) = Asin(2πf0t). Provided that the actual sampling time uncertainty due to the clock jitter is Δt, the error caused by this phenomenon can be estimated as Eap <= |X‘(t)∆t| <= 2Aπf0∆t.

• The error is zero for DC, small at low frequencies, but significant when high frequencies have high amplitudes. This effect can be ignored if it is drowned out by the quantizing error. Jitter requirements can be calculated using the following formula: , where q is a number of ADC bits.

Page 19: Some Definitions for ADCs

Aperture Error Example

Clock Edge Delay Causes Error

-0.5

0

0.5

1

1.5

2

2.5

0 50 100 150 200 250 300 350 400

Time

Dig

itiz

ed V

alu

es

Analog Value

Digitized Values

Page 20: Some Definitions for ADCs

Total Unadjusted Error

Page 21: Some Definitions for ADCs

Successive Approximation Register (SAR) ADC

Page 22: Some Definitions for ADCs

How the SAR ADC Works• The SAR starts by forcing the MSB (Most Significant bit)

high (for example in an 8 bit ADC it becomes 1000 0000 – Why?), the DAC converts it to VAREF/2. The analog comparator compares the input voltage with VAREF/2. If the input voltage is greater than the voltage corresponding to the MSB, the bit is left set, otherwise it is reset.

• After this comparison is done, the next significant bit is set (=VAREF/4) and a comparison is done again with the input voltage. The procedure is followed till all the bit positions are compared.

• At the end of all the bit comparisons we get the corresponding digital output for the analog input.

• The clock frequency must be equal to the sampling frequency multiplied by the number of bits of resolution desired.

Page 23: Some Definitions for ADCs

Single Slope ADC

Page 24: Some Definitions for ADCs

How Single Slope ADC Works

• Upper Amplifier without feedback works as a comparator.

• Bottom Amplifier has a capacitor in the feedback and works as an integrator

• MOSFET is needed to reset the integrator• Counter is reset on falling edge (not the level) of

the (counter’s) CLR signal• Output buffer is latched on the front edge of the

(buffer’s) CLK signal• Counter counts clock signals until CLR goes

high

Page 25: Some Definitions for ADCs

ExpressPCB Installation

• Nothing tricky (click OK several times):• www.expresspcb.com

Page 26: Some Definitions for ADCs

ExpressPCB Installation, Cont.• Happy End:

Page 27: Some Definitions for ADCs

Concept of SCH Design

• Designing the schematic using schematic symbols (from standard library or from yours)– Selecting symbols and placing them on your

schematic sheet– Arranging symbols in logical order and

connecting them with “wires”– Editing schematic and annotating components– Check schematic for netlist errors command

from the File menu

Page 28: Some Definitions for ADCs

Concept of PCB Design

• Designing PCB layout using footprints of components from standard library (or yours)– Selecting footprints from the library and

placing them on layout drawing– Arranging footprints in logical order and

aligning them using grid (adjustable)– Linking schematic to PCB from the

ExpressPCB program's File menu

Page 29: Some Definitions for ADCs

Selecting a Component

Page 30: Some Definitions for ADCs

Schematic Example

Page 31: Some Definitions for ADCs

Selecting a Footprint

Page 32: Some Definitions for ADCs

Layout for the Above