Understanding ADC Specifications September 2005. 2 Definition of Terms 000 Analogue Input Voltage 001 010 011 100 101 110 111 Digital Output Code FS1/2.

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 181 Lecture 18 DSP-Based Analog Circuit Testing  Definitions  Unit Test Period (UTP)  Correlation.
Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
EE435 Final Project: 9-Bit SAR ADC
Announcements Assignment 8 posted –Due Friday Dec 2 nd. A bit longer than others. Project progress? Dates –Thursday 12/1 review lecture –Tuesday 12/6 project.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Lecture 9: D/A and A/D Converters
Digital to Analog Converters Alexander Gurney Alexander Pitt Gautam Puri 1.
Mixed Signal Chip Design Lab Analog-to-Digital Converters Jaehyun Lim, Kyusun Choi Department of Computer Science and Engineering The Pennsylvania State.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with Analog-to-Digital.
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Day of Miscellany ADC/DAC I2C Student presentations.
Analogue to Digital Conversion
Introduction to Data Conversion
Chapter 9 Data Acquisition A/D Conversion Introduction
– 1 – Data Converters Data Converter BasicsProfessor Y. Chiu EECT 7327Fall 2014 Data Converter Basics.
Introduction to Analog-to-Digital Converters
Effective Bits. An ideal model of a digital waveform recorder OffsetGain Sampling Timebase oscillator Fs ADC Waveform Memory Address counter Compute Engine.
CMOS VLSIAnalog DesignSlide 1 CMOS VLSI Analog Design.
EE 198 B Senior Design Project. Spectrum Analyzer.
Data Converter Performance Metric
PH4705/ET4305: A/D: Analogue to Digital Conversion
1 Digital to Analog Converter Nov. 1, 2005 Fabian Goericke, Keunhan Park, Geoffrey Williams.
Digital to Analog Converters
Data Conversion Fundamentals
Digital to Analog Converters (DAC)
Digital to Analog Converters
A/D Converter Fundamentals
Lecture 1 Signals in the Time and Frequency Domains
FE8113 ”High Speed Data Converters”
Sensitivity System sensitivity is defined as the available input signal level Si for a given (SNR)O Si is called the minimum detectable signal An expression.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Professor: Dr. Miguel Alonso Jr.
Part 1: Basic Principle of Measurements
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: ADC Resolution: Myth and Reality Mitch Ferguson,
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
FE8113 ”High Speed Data Converters”. Course outline Focus on ADCs. Three main topics:  1: Architectures ”CMOS Integrated Analog-to-Digital and Digital-to-
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Module #7 Assessment Quiz.
Why Data Conversion? Real world is analog Mostly, communication and computation is digital Need a component to convert analog signals to digital (ADC)
Analog-to-Digital and Digital-to-Analog Conversion
Analog/Digital Conversion
Digital to Analog Converter (DAC)
0/31 Data Converter Basics Dr. Hossein Shamsi. 1/31 Chapter 1 Sampling, Quantization, Reconstruction.
Signal Analyzers. Introduction In the first 14 chapters we discussed measurement techniques in the time domain, that is, measurement of parameters that.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Data Converter Performance Metric EE174 – SJSU Tan Nguyen.
Dynamic Specifications
Analog to digital conversion
ANALOG-TO-DIGITAL CONVERTERS
Basics of Converter Technology
Device noise Capacitors do not generate noise
Introduction to data converters
Introduction to data converters
Introduction to Frequency Domain TIPL 4301 TI Precision Labs – ADCs
Digital Acquisition of Analog Signals – A Practical Guide
Summary.
Created by Art Kay Presented by Peggy Liska
Converter common specs
Lesson 8: Analog Signal Conversion
Distortion Analysis XIN(t) XOUT(t) Nonlinear System If.
Converter common specs
Conversation between Analogue and Digital System
Converter common specs
Presentation transcript:

Understanding ADC Specifications September 2005

2 Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2 FS3/4 FS1/4 FS0 code width Transition point is where the output code changes from one code to an adjacent code with respect to an analogue input voltage V REF = Full-Scale (FS) + 1LSB Voltage Ideal code Width = 1LSB 1 LSB = V REF / 2 n ie: V REF = 4.096V, for a 12-bit ADC LSB size = 4.096/2 12 = 1mV Transition Points Ideal transfer function for a 3-bit A/D

3 ADC Specifications: Resolution  For an ADC, Resolution is simply a measure of how many segments the input analogue range can be divided into.  Resolution IS NOT THE SAME AS ACCURACY!  You could have a 16-bit ADC that is less accurate than an 8-bit ADC  Why? Monotonicity, A/D converter noise, etc

4 ADC Specs: Quantisation Error 000 Analogue Input Voltage Digital Output Code FS1/2 FS3/4 FS1/4 FS0 The difference between the actual input voltage and the digital code representation of the input voltage. Even in the case of a perfect ADC, quantisation error will be ± 1/2 LSB. Increasing bits reduces the error

5 Sampling and Quantisation 4-bit (16 level) ADC sampling a sinewave input, time domain Input Sinewave ADC Output Quantisation Error TIME OUTPUT DIGITAL WORD

6 ADC Specs: Offset Error 000 Analog Input Voltage Digital Output Code FS1/2 FS3/4 FS1/4 FS0 Offset Error Offset Error is the difference between the first transition point and the ideal first transition point. (Measured in LSBs) Digital Code Out = A + Vin where A is the analogue offset error Offset Errors can be corrected in Firmware Correction for offset error can be made by adding (or subtracting) the correction from each code. Ideal transfer function Actual transfer function

7 ADC Specs: Gain Error (full scale error) 000 Actual full scale range Digital Output Code Full scale range is the difference between the first and last code transition points. The ideal full scale range minus the actual full scale range equals Gain Error. (Measured in LSBs) Digital Code = B V IN where B is the gain error Gain Errors can be corrected in firmware Corrections for gain error can be made by multiplying each code by the ratio of ideal to actual full scale range. Ideal transfer function Actual transfer function Ideal full scale range

8 ADC Specs: A/D Converter with Offset and Gain Error Digital Output Code With most ADCs, you will have to deal with both Gain and offset Errors! Digital Code = A + B V IN where A is the Offset Error and B is the Gain Error Ideal transfer function Actual transfer function FS1/2 FS3/4 FS1/4 FS0

9 ADC Specs: Differential Nonlinearity (DNL) Digital Output Code DNL is a measure of variations in code widths from the ideal code width. A DNL of ±½ LSB implies that: ½ LSB < all code widths < 1½LSB A missing code means DNL = -1 LSB Ideal transfer function Actual transfer function Narrow code, <1 LSB Wide code, >1 LSB

10 DNL Plot for 12bit ADC This DNL plot shows the variation of code widths for each code for a 12 bit ADC

11 ADC Specs: Missing Codes Digital Output Code If the DNL spec goes beyond - 1LSB, then missing codes will appear. The term ‘No Missing Codes’ means that no digital output codes are skipped as the analog input is swept from zero to full scale. Most ADCs today will include the specification ‘No missing codes’ 1/2 FS3/4 FS1/4 FS0 Analogue Input Voltage The 100 Code is ‘Missing’

12 ADC Specs: Monotinicity Digital Output Code If the output code of an ADC is guaranteed to output increasing codes as long as the input signal is increasing, it is called Monotonic If at some point in the transfer function the digital output code decreases as the analog input increases, then it is non- monotonic. Almost all ADCs on the market today are guaranteed monotonic 1/2 FS3/4 FS1/4 FS0 Analog Input Voltage Non-monotonicity

13 ADC Specs: Integral Nonlinearity (INL) Ideal transfer function Actual transfer function INL < 0 INL is the maximum deviation between an actual code transition point and its corresponding ideal transition point. Measured in LSBs, and calculated after offset and gain error have been compensated for. This is a measure of the transfer function’s deviation from linearity. A positive INL indicates transition(s) occurring later than ideal. Negative INL means transition(s) earlier than ideal INL < 0 Digital Output Code

14 ADC Specs: Integral Nonlinearity (INL) Ideal transfer function Actual transfer function INL > 0 Digital Output Code This diagram shows an INL error greater than zero whereas the previous diagram showed INL errors of less than zero. As you may have guessed, INL and DNL are very closely related; if you have one you also always have the other

15 INL Plot for a (poor, non Silabs) 12bit ADC This INL plot shows the variation of code transition points for each code for a 12 bit ADC

16 But First, a quick look at FFTs…… AC Specs

17 Fast Fourier Transforms (FFT) Input Signal Amplitude (dB) Frequency (Hz) 4096 points, f in = 10.2kHz, -0.5dB Number of points taken Input Signal Frequency Input Signal Headroom 1/2 of Sampling Rate

18 Fast Fourier Transforms (FFT) Fundamental or Primary Frequency (The input signal) Harmonic or Secondary Frequencies (Distortion caused by the part Average Noise Floor

19 ADC Specs: Total Harmonic Distortion (THD)  A frequency domain spec evaluated using an input sinewave and FFT analysis  Calculated as the ratio of the RMS sum of the number of harmonics (usually the first 5) to the RMS value of the input. It is always specified at a particular frequency and is measured in dB.  In layman’s terms, it is a measure of the amount of signal energy distributed in harmonics vs amount in primary  It is caused by A/D converter nonlinearities, which generate harmonics of the input signal which to appear in the output  Typical values are -78dB to -85dB.

20 THD Plot Amplitude (dB) Frequency (Hz) Amplitude (dB) Frequency (Hz) Good THD Bad THD THD(-dB) = 20LOG  (V 2 ) 2 + (V 3 ) 2 + … + (V n ) 2 V 1 V 1 (Fundamental) V2V2 V4V4 V3V3 V5V5

21 ADC Specs: Signal to Noise Ratio (SNR)  SNR is a frequency domain spec measured using a sinewave input and FFT analysis  It is the ratio of RMS signal amplitude to the RMS output noise for a specific input frequency and amplitude,excluding harmonic noise  In laymans terms, it’s a measure of how much noise is present with respect to the actual signal  It is expressed in dB  Ideal SNR is equal to (6.02n dB) where “n” is the number of bits  For 12-bit A/D, ideal SNR = 74dB

22 ADC Specs: Signal to Noise and Distortion Ratio (SINAD)  SINAD is a frequency domain spec measured using a sinewave input and FFT analysis  It is the ratio of RMS signal amplitude to the RMS sum of the noise and distortion products for a specific input frequency and amplitude  In laymans terms, it’s a measure of noise generated by the part itself  It is expressed in dB

23 Effective Number of Bits vs Noise-Free Bits  Assuming that system noise is Gaussian, histogram will approximate a Normal Distribution

24 Noise-Free Resolution  “Effective Noise” is the specification that is used for dynamic signals  “Noise-Free Resolution” is the specification that is used for DC signals involving a display

25 Example F350 calculation  Out of 1024 samples:  Min code = -33  Max code = 32  Average code = -0.5  Variance = 123  1 sigma = sqrt Variance = sqrt (123) = 11 LSBs  RMS Noise = +/- 11 LSBs  Effective Bits = Log 2 (2 23 /1 sigma) = 19.5 bits  Noise-Free bits = Log2(2^23/6.6*sigma) = 17 bits  2^17 is 131,072, which equates to 5 ½ digits on the scale display

26 ADC Specs: Effective Number of Bits (ENOB)  ENOB is a measurement of the resolution of the ADC and is directly related to Signal to Noise+Distortion (SINAD)  ENOB = [SINAD ]/6.02  For ideal SNR (74dB) and no distortion, ENOB = [ ]/6.02 = 12 bits!

27 ADC Specs: Spurious Free Dynamic Range (SFDR)  SFDR is a frequency domain measurement that is evaluated using a sine wave input and FFT analysis  The SFDR is always given at a particular frequency  SFDR is the difference of Fundamental minus highest spur in dB.  In laymans terms, it’s a measure of the size of the biggest spike compared to the next biggest spike. In a perfect world, there would be only one big spike  The larger the number the better. SFDR specs range from dB.

28 SFDR Plot Spurious Free Dynamic Range (SFDR) is the difference between primary and next highest spur SFDR

29 ADC Specifications: Sample Time and Conversion Time  Every A/D conversion is made up of a sample or tracking period and a conversion period  The terms ‘track and hold’ and ‘sample and hold’ are sometimes interchanged, although most serial ADCs are ‘track and hold’ devices  The period of time when the input signal is sampled or tracked is the Sample Time.  Can be measured in time or number of clock cycles  Conversion Time is the time required to convert the sampled input signal to a digital word.  Can also be measured in time or number of clock cycles

30 ADC Specifications: Throughput Rate  Throughput rate is the number of times you can do a sample + conversion in a period of time  Usually specified in ksps or Msps  Example: A fictitious SAR ADC with sample time of 2 clock cycles and 13 clocks required for a 12 bit word. (Fclk=1Mhz) 15 clocks * 1uS = 15us CS time = 600ns Period = 15us + 600ns = 15.6us f t = 1/15.6uS = 64 ksps