ANALOG-TO-DIGITAL CONVERTERS

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Digital to Analog and Analog to Digital Conversion
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.
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
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
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
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)
1 Analog-to-digital converter Prepared by: Selah al-Battah Mohammed Al-khabbaz Atiyah Alnakhli Ali Dumyati.
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
Analogue to Digital Conversion
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EET260: A/D and D/A converters
– 1 – Data Converters Data Converter BasicsProfessor Y. Chiu EECT 7327Fall 2014 Data Converter Basics.
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
Introduction to Analog-to-Digital Converters
PH4705/ET4305: A/D: Analogue to Digital Conversion
Ph. Farthouat CERN ELEC 2002 ADC 1 Analog to Digital Conversion  Introduction  Main characteristics –Resolution –Dynamic range –Bandwidth –Conversion.
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
By Grégory Brillant Background calibration techniques for multistage pipelined ADCs with digital redundancy.
Analog to Digital Converters (ADC) 1
Filters and Delta Sigma Converters
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
University of Tehran 1 Interface Design Transforms Omid Fatemi.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
to Electronics Summer 2009 Introduction to Electronics in HEP Experiments Philippe Farthouat CERN.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Analog-to-Digital and Digital-to-Analog Conversion
ECE 4371, 2009 Class 9 Zhu Han Department of Electrical and Computer Engineering Class 9 Sep. 22 nd, 2009.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Analog to Digital Converters
ANALOG - DIGITAL CONVERTERS Lecture 10
Analog/Digital Conversion
Figure Analog-to-digital conversion.. Figure The DAC output is a staircase approximation to the original signal. Filtering removes the sharp.
0/31 Data Converter Basics Dr. Hossein Shamsi. 1/31 Chapter 1 Sampling, Quantization, Reconstruction.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Introduction to Discrete-Time Control Systems fall
B.Sc. Thesis by Çağrı Gürleyük
EI205 Lecture 13 Dianguang Ma Fall 2008.
Basics of Converter Technology
Analog to Digital Converters
Introduction to data converters
Introduction to data converters
Analog to Digital Converters Electronics Unit – Lecture 7
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Digital Control Systems Waseem Gulsher
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
Department of Electrical Engineering and Automation
Analog-to-digital converter
Lecture 17 Analog Circuit Test -- A/D and D/A Converters
Chapter 7 Converters.
Presentation transcript:

ANALOG-TO-DIGITAL CONVERTERS

Analog to Digital Conversion Introduction The sampling problem Conversion errors Different types of A-to-D converters Applications

Introduction to Analog to Digital Conversion WHY TO GO TO DIGITAL WORDS ? Benefits of Computer Power for further signal processing Insensitivity to noise, crosstalk, EM perturbations etc … Permanent Data Storage

Introduction to Analog to Digital Conversion INTERFACE BETWEEN “ANALOGUE” SIGNALS AND DIGITAL (BINARY) REPRESENTATIONS TWO ALTERATIONS OF THE SIGNAL: Signal is sampled at given instants (sampling time) Continuous amplitude is encoded to a limited number of binary word, i.e. a binary word represents an interval of amplitude (quantization) Binary code ….. 00101 00100 00011 00010 00001 Time

Introduction to Analog to Digital Conversion RESTITUTION OF THE SIGNAL THROUGH A DAC (Digital-to-Analogue Converter) DIGITIZATION IS A CRUCIAL SIGNAL TRANSFORM and both transformations aspects (Time Sampling and Amplitude Quantization) have to be considered Binary code ….. 00101 00100 00011 00010 00001 Time

Introduction to Analog to Digital Conversion Relationship between quantization error, number of bits, resolution: Binary code A = maximum amplitude Amplitude interval : LSB=A/2n n = number of bits ….. 00101 Ex : 8 bits ADC, 1V Full Scale Amplitude Resolution (LSB) = 1/28 = 3.9 mV (0.39%) 00100 00011 Max Quantization error : Q = +/- LSB/2 (ideal) Quantization noise : 00010 00001

Introduction to Analog to Digital Conversion Dynamic Range Ratio between the minimum and the maximum amplitude to be measured In case of a linear ADC, the dynamic range is related to the number of bits (and hence the resolution) an 8-bit ADC has a dynamic range of 256 In case of large dynamic range (as for calorimeter signals in HEP) the dynamic range could be as high as 2 106 : a linear ADC would require 21 bits! Some non-linearity is then introduced and there is distinction between dynamic range and resolution n-bit resolution N-bit dynamic range (N>n) example: 12-bit resolution for a 16-bit dynamic range means that a signal in the range 1-65000 is measured with a resolution of 0.02%

Introduction to Analog to Digital Conversion The perfect ADC would be the one with a very high number of quantization levels (high resolution) and at the same time very high sampling rate Unfortunately this is not possible : different ADC architectures are existing, each one is offering a different compromise between resolution and sampling rate

Introduction to Analog to Digital Conversion Speed (sampling rate) Power bipolar GHz >W Flash CMOS Sub-Ranging Pipeline Successive Approximation Sigma-Delta Discrete Hz Ramp <mW 6 18 Number of bits There is a trade-off between sampling rate and number of bits The choice of an ADC architecture is driven by the application

The sampling problem The sampling problem 1 Hz signal 2 Hz signal Sampling Frequency =2Hz Sampling Frequency =1Hz If sampling is done with rate of 1 Hertz (green points), blue and red curves can not be distinguished To represent the 1 Hertz blue signal, at least two samples per period are needed (on picture, the additional purple point), i.e. sampling at 2 Hertz

The sampling problem The sampling problem interpretations: To represent a signal with maximum frequency f0, it is needed to sample at minimum frequency 2*f0 (Shannon Theorem) Sampling at frequency fs is applicable to signals with bandwidth limited to fs/2 “analogue” signal spectrum For conversion with an ADC sampling at frequency fs (Nyquist Rate ADC), the signal frequency bandwidth HAS TO BE LIMITED to fs/2

The sampling problem Frequency representation of sampled signals “analogue” signal spectrum “sampled” signal spectrum “sampled” signal spectrum with first order “hold”

ADC errors : transfer curve Ideal ADC Errors Offset Integral non-linearity Differential non-linearity Missing code or non-monotonicity

ADC errors : Integral Non Linearity (INL) Non linearity: maximum difference between the best linear fit and the ideal curve

ADC errors : Differential Non-Linearity (DNL) Code -0.6LSB DNL +0.5LSB DNL Analog Input Least Significant Bit (LSB) value should be constant but it is not The difference with the ideal value shall not exceed 0.5 LSB Easy way of seeing the effect random input covering the full range frequency histogram should be flat differential non-linearity introduces structures

ADC errors : Missing code, monotonicity Non-monotonic Missing code Other conversion errors : non-monotonic ADC Missing code

ADC errors : Effective number of bits (ENB) An n bit ADC introduces a quantization error e(x) q Encoding a signal (A/2) sinwt with A being the full scale will give an error Ideal Signal to Noise Ratio Measurement of the SNR indicates the Effective number of bits ENB Example: AD9235 12-bit 20 to 65 MHz SNR (measured) = 70 dB Effective number of bits = 11.4

Types of ADC Flash ADC & Subranging Flash ADC Pipeline ADC Successive Approximation ADC Ramp ADC Sigma-Delta

Flash ADC Signal amplitude is compared to the set of 2n references Direct “thermometric” measurement with 2n-1 comparators Typical performance: 4 to 10 bits (12 bits rare) Up to GHz (extreme case) High power (2n comparators) typ. 2W Sampling

Sub-ranging Flash ADC Half-Flash ADC Typical performance: 2-step Flash ADC technique 1st flash conversion with 1/2 the precision Residue calculation (1st flash conversion result reconstructed with a DAC and subtracted from signal) Residue flash conversion Required Typical performance: 4 to 10 bits Up to 100 MHz Less power, but difficult analogue functions (sample and hold, subtraction, DAC) 4-bits + 4-bits sub-ranging flash needs 30 comparators (instead of 255 for 8-bits flash)

Time Adjustment & Digital Error Correction Pipeline ADC X 2 - S&H Comparator 1-bit DAC 1-bit Sampling Input S&H Stage 1 Stage 2 Stage 3 Stage N 1-bit 1-bit 1-bit ………… 1-bit Time Adjustment & Digital Error Correction N-bit Pipeline ADC Input-to-output delay = n clocks for n stages One output every clock cycle (as for Flash) Saves power (N comparators) Typ. 12 bits 40MHz 200mW

Successive approximation Compare the signal with an n-bit DAC output Change the code until DAC output = ADC input An n-bit conversion requires n steps Requires a Start and an End signals Typical conversion time 1 to 50 ms Typical resolution 8 to 12 bits One comparator Power 10 mW Input S&H Sampling

- Ramp ADC + Start to charge a capacitor at constant current Count clock ticks during this time Stop when the capacitor voltage reaches the input Very slow, can reach very high resolution (1s, 18 bits) with some further tricks (dual slope conversion) Vin Counting time (What’s used in digital multimeter) - + IN C R S Enable N-bit Output Q Oscillator Clk Counter Start Conversion S&H Input

Over-sampling ADC e(x) q -fs/2 +fs/2 f |e(f)| Assuming the error is a white noise, its power spectral density is flat within the range [–fs/2,fs/2] If fs/2 is higher than the maximum frequency f0 of the signal, then after filtering the quantization noise left in the signal frequency band (<f0) is : fs/2 fs/2

Over-sampling ADC (cont) The signal to noise ratio when encoding a signal with maximum frequency f0 with sampling at fs Hence it is possible to increase the resolution by increasing the sampling frequency and doing the proper filtering Example : an 8-bit ADC would become a 12-bit ADC with an over-sampling factor of 250 (!) But it is not an effective mean of increasing the resolution, because the 8-bit ADC must meet the linearity requirements of a 12-bit ADC

Sigma-Delta ADC Over-sampling ADC using a feedback loop to further reduce noise in the low-frequency range have been developed : the most common today is the Sigma-Delta Converter The feedback loop provides a further “noise shape” with effective noise reduction in the signal frequency band 1-bit ADC 1-bit DAC - Input Output 1rst Order Sigma-Delta Modulator

Sigma-Delta ADC This architecture is highly tolerant to components imperfections With strong Noise shaping and high linearity capability, Sigma-Delta modulators are capable of very high resolution (up to 22 bits) However some other limitations may appear and several complex architectures are derived from the “basic” schema 1-bit ADC 1-bit DAC - Input Output 1rst Order Sigma-Delta Modulator

Sigma-Delta ADC 1-bit ADC 1-bit DAC - Input Output 1rst Order Sigma-Delta Modulator The output of this modulator is a digital stream, whose average value is an approximation of the input signal. Quantization error in case of a first-order S-D converter: (Over-sampling ratio OSR=fs/2f0)

Sigma-Delta ADC (cont) The signal to noise ratio when encoding a signal (A/2) sinwt, with A being the full scale, will be Gain of 1.5 bits per each doubling of M M = 2400 to have a 16-bit ADC Higher orders sigma-delta are implemented to reduce OSR Examples (Analog Devices) 16-bit, 2.5 MHz 24-bit, 1kHz The design of low-voltage, low-power sigma-delta modulators Shahriar Rabii & Bruce Wooley Kluwer academic publisher

Applications In HEP we are facing large number of channels The quantity to be measured depends on the type of detector Charge in the case of a lead glass calorimeter with PM read-out Voltage in the case of a lead glass calorimeter with triode and preamplifier shaper read-out We are facing fast signals (mean frequency ~ 12 MHz) We are facing large dynamic range for calorimeter signals (up to 16 bits)  Flash ADC are commonly used, but it is a high power device, and there is no way to have one FADC per detector channel Calorimeters signals are too fast for using S-D techniques

FADC for LHC trigger purpose (1) Analog summation on the detector to form the trigger tower Shaping time covers several bunch crossings FADC and numerical filtering to: Extract the energy Extract the bunch crossing responsible for it

FADC for LHC trigger purpose (2) Block diagram

ADC for an LHC calorimeter (1) ATLAS Liquid Argon calorimeter High dynamic range: 16-bit Shaping of the signal to minimise pile-up Sampling every 25 ns (bunch crossing period) Level-1 pipeline Shaping

ADC for an LHC experiment (2) Block diagram

ADC for an LHC experiment (3) Performance Pedestal stability to 0.1 ADC counts Noise equivalent to 20 MeV Integral non-linearity below 0.25% Conversion time : 25 ns per sample

Resolution/Throughput Rate

References About ADC, Sample and Hold “Analog Integrated Circuit Design” David A. Johns, Ken Martin Wiley Publisher “Analog MOS Integrated Circuits, I and II” Paul R. Gray, Bruce A. Wooley, Robert B. Brodersen, IEEE Press Books About Signal Sampling “Digital Signal Processing”, Allan V. Oppenheim, Ronald W. Shaffer, Prentice Hall Int. Publications “Theory and Application of Digital Signal Processing” Lawrence R. Rabiner, Bernard Gold, Prentice Hall Int. Publications