Summary.

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

Digital to Analog and Analog to Digital Conversion
Mixed Signal Chip Design Lab Analog-to-Digital Converters Jaehyun Lim, Kyusun Choi Department of Computer Science and Engineering The Pennsylvania State.
Interfacing Analog and Digital Circuits
CEN352, Dr. Ghulam Muhammad King Saud University
– 1 – Data Converters Data Converter BasicsProfessor Y. Chiu EECT 7327Fall 2014 Data Converter Basics.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 171 Lecture 17 Analog Circuit Test -- A/D and D/A Converters  Motivation  Present state-of-the-art.
Data Converter Performance Metric
Systems: Definition Filter
Echivalarea sistemelor analogice cu sisteme digitale Prof.dr.ing. Ioan NAFORNITA.
Discrete-Time and System (A Review)
DTFT And Fourier Transform
Lecture 1 Signals in the Time and Frequency Domains
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
Digital Signal Processing
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
1 Lecture 17 Analog Circuit Test -- A/D and D/A Converters Motivation Present state-of-the-art Advantages of DSP-based analog tester Components of DSP-based.
Why Data Conversion? Real world is analog Mostly, communication and computation is digital Need a component to convert analog signals to digital (ADC)
Analog/Digital Conversion
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
0/31 Data Converter Basics Dr. Hossein Shamsi. 1/31 Chapter 1 Sampling, Quantization, Reconstruction.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Data Converter Performance Metric EE174 – SJSU Tan Nguyen.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Math for CS Fourier Transforms
Real-time Digital Signal Processing Digital Filters.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Sampling and Reconstruction.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
MECH 373 Instrumentation and Measurements
Dynamic Specifications
Analog to digital conversion
Echivalarea sistemelor analogice cu sisteme digitale
Digital Error Correction
Chapter 3 Sampling.
SAMPLING & ALIASING.
7.0 Sampling 7.1 The Sampling Theorem
Sampling and Quantization
Computational Data Analysis
Sampling rate conversion by a rational factor
Sampling and Reconstruction
Description and Analysis of Systems
Introduction to data converters
Introduction to data converters
Digital Control Systems Waseem Gulsher
Introduction to Frequency Domain TIPL 4301 TI Precision Labs – ADCs
UNIT II Analysis of Continuous Time signal
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
Soutenance de thèse vendredi 24 novembre 2006, Lorient
CT-321 Digital Signal Processing
لجنة الهندسة الكهربائية
Created by Art Kay Presented by Peggy Liska
Sampling and the Discrete Fourier Transform
Converter common specs
Digital Control Systems Waseem Gulsher
Lesson 8: Analog Signal Conversion
Sampling and Reconstruction
Converter common specs
Chapter 1 Fundamental Concepts
Signals and Systems Networks and Communication Department Chapter (1)
Interpolation and Pulse Shaping
Conversation between Analogue and Digital System
Sampling and Quantization
LECTURE 18: FOURIER ANALYSIS OF CT SYSTEMS
Converter common specs
Signals and Systems Revision Lecture 2
CEN352, Dr. Ghulam Muhammad King Saud University
Lecture 17 Analog Circuit Test -- A/D and D/A Converters
Signals and Systems Lecture 2
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

Summary

Ideal DAC Essentially a digitally controlled voltage, current or charge source Example below is for unipolar DAC Ideal DAC does not introduce quantization error!

The Reconstruction Problem As long as we sample fast enough, x(n) contains all information about x(t) fs > 2·fsig,max How to reconstruct x(t) from x(n)? Ideal interpolation formula Very hard to build an analog circuit that does this…

Zero-Order Hold Reconstruction The most practical way of reconstructing the continuous time signal is to simply "hold" the discrete time values Either for full period of Ts or a fraction of Ts What does this do to the signal spectrum? We'll analyze this in two steps First look at infinitely narrow reconstruction pulses

Useful Lemmas  

Dirac Pulses xd(t) is zero between pulses Note that x(n) is undefined at these times Multiplication in time means convolution in frequency Resulting spectrum The details are given in the next slide.

Cont’d  

Spectrum Spectrum of Dirac signal contains replicas of X(f) at integer multiples of the sampling frequency

Finite Hold Pulse Consider the general case with a rectangular pulse 0 < Tp ≤ Ts xp(t) is obtained from convolving the Dirac sequence xd(t) with a rectangular unit pulse hp(t). xp(t)=xd(t)*hp(t) (the proof is given in the next slide) Spectrum follows from multiplication with Fourier transform of the pulse

Cont’d  

Envelope with Hold Pulse Tp=Ts

Envelope with Hold Pulse Tp=0.5·Ts

Example

Reconstruction Filter Also called smoothing filter Same situation as with anti-alias filter A brick wall filter would be nice Oversampling helps reduce filter order

Summary Must obey sampling theorem fs > 2·fsig,max Usually dictates anti-aliasing filter If sampling theorem is met, continuous time signal can be recovered from discrete time sequence without loss of information A zero order hold in conjunction with a smoothing filter is the most common way to reconstruct May need to add pre- or post-emphasis to cancel droop due to sinc envelope Oversampling helps reduce order of anti-aliasing and reconstruction filters

Static Specifications Maloberti, Data Converters, pp. 50-51

Static Specifications Static deviations of transfer characteristics from ideality Offset Gain error Differential Nonlinearity (DNL) Integral Nonlinearity (INL) Monotonicity Missing code Useful references Analog Devices MT-010: The Importance of Data Converter Static Specifications http://www.analog.com/en/content/0,2886,761%255F795%255F91286,00.html "Understanding Data Converters," Texas Instruments Application Report LAA013, 1995 http://focus.ti.com/lit/an/slaa013/slaa013.pdf

Offset and Gain Error Conceptually simple, but lots of (uninteresting) details in how exactly these errors should be defined General idea (neglecting staircase nature of transfer functions):

ADC Offset and Gain Error Definitions based on bottom and top endpoints of transfer characteristic Endpoints: ½ LSB before first transition and ½ LSB after last transition Offset is the deviation of bottom endpoint from its ideal location Gain error is the deviation of top endpoint from its ideal location with offset removed Both quantities are measured in LSB or as percentage of full-scale range

DAC Offset and Gain Error Same idea, except that endpoints are directly defined by analog output values at minimum and maximum digital input Also note that errors are specified along the vertical axis

Comments on Offset and Gain Errors Definitions on the previous slides are the ones typically used in industry IEEE Standard suggest somewhat more sophisticated definitions. Technically more suitable metric when the transfer characteristics are significantly non-uniform or nonlinear Generally, it is important to build a converter with very good gain/offset specifications However, since gain and offset affect all codes uniformly, these errors tend to be easy to correct E.g. using a digital pre- or post-processing operation Also, many applications are insensitive to a certain level of gain and offset errors E.g. audio signals, communication-type signals, ... More interesting aspect: linearity DNL and INL

Differential Nonlinearity (DNL) In an ideal world, all ADC codes would have equal width; all DAC output increments would have same size DNL(k) is a vector that quantifies for each code k the deviation of this width from the "average" width (step size) DNL(k) is a measure of uniformity, it does not depend on gain and offset errors Scaling and shifting a transfer characteristic does not alter its uniformity and hence DNL(k) Let's look at an example

ADC DNL Example

ADC DNL Example (cont’d) What is the average code width? ADC with perfect uniformity would divide the range between first and last transition into 6 equal pieces Hence calculate average code width (i.e. LSB size) as Now calculate DNL(k) for each code k using

Result Positive/negative DNL implies wide/narrow code, respectively DNL = -1 LSB implies missing code Impossible to have DNL < -1 LSB for an ADC But possible to have DNL > +1 LSB Can show that sum over all DNL(k) is equal to zero

A Typical ADC DNL Plot People speak about DNL often only in terms of min/max number across all codes E.g. DNL = +0.63/-0.91 LSB Might argue in some cases that any code with DNL < -0.9 LSB is essentially a missing code Why ?

Impact of Noise In essentially all moderate to high-resolution ADCs, the transition levels carry noise that is somewhat comparable to the size of an LSB Noise "smears out" DNL, can hide missing codes Especially for converters whose input referred (thermal) noise is larger than an LSB, DNL is a "fairly useless" metric

Missing Code in ADC Code 101 is missed.

DAC DNL Same idea applies Find output increments for each digital code Find increment that divides range into equal steps Calculate DNL for each code k using One difference between ADC and DAC is that DAC DNL can be less than -1 LSB How ?

Non-Monotonic DAC In a DAC, DNL < -1LSB implies non-monotonicity How about a non-monotonic ADC?

Integral Nonlinearity (INL) General idea For each "relevant point" of the transfer characteristic, quantify distance from a straight line drawn through the endpoints An alternative, less common definition uses a least square fit line as a reference Just as with DNL, the INL of a converter is by definition independent of gain and offset errors

ADC INL Example "Straight line" reference is uniform staircase between first and last transition INL for each code is Obviously INL(1) = 0 and INL(7) = 0 INL(0) is undefined

ADC INL Example (cont’d) Can show that Means that once we computed DNL, we can easily find INL using a cumulative sum operation on the DNL vector Using DNL values from last lecture, we find

Result

A Typical ADC DNL/INL Plot DNL/INL signature often reveals architectural details E.g. major transitions We'll see more examples in the context of DACs Since INL is a cumulative measure, it turns out to be less sensitive than DNL to thermal noise "smearing"

DAC INL

DAC INL Same idea applies Find ideal output values that lie on a straight line between endpoints Calculate INL for each code k using Interesting property related to DAC INL If for all codes |INL| < 0.5 LSB, it follows that all |DNL| < 1 LSB A sufficient (but not necessary) condition for monotonicity