Presentation is loading. Please wait.

Presentation is loading. Please wait.

ANALOG-TO-DIGITAL CONVERTERS

Similar presentations


Presentation on theme: "ANALOG-TO-DIGITAL CONVERTERS"— Presentation transcript:

1 ANALOG-TO-DIGITAL CONVERTERS

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

3 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

4 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

5 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

6 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

7 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 : 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 is measured with a resolution of 0.02%

8 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

9 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

10 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

11 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

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

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

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

15 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

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

17 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: AD bit 20 to 65 MHz SNR (measured) = 70 dB Effective number of bits = 11.4

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

19 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

20 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)

21 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

22 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

23 - 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

24 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

25 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

26 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

27 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

28 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)

29 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

30 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

31 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

32 FADC for LHC trigger purpose (2)
Block diagram

33 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

34 ADC for an LHC experiment (2)
Block diagram

35 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

36 Resolution/Throughput Rate

37 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


Download ppt "ANALOG-TO-DIGITAL CONVERTERS"

Similar presentations


Ads by Google