DSP Based Analog and Mixed Signal Test

Similar documents
Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

DAC Digital To Analog Converter

b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output

Timing Errors and Jitter

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

Section 3. Sensor to ADC Design Example

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

AMS Verification at SoC Level: A practical approach for using VAMS vs SPICE views

CLOCK AND SYNCHRONIZATION IN SYSTEM 6000

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Chapter 6: From Digital-to-Analog and Back Again

Continuous-Time Converter Architectures for Integrated Audio Processors: By Brian Trotter, Cirrus Logic, Inc. September 2008

6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson

MICROPHONE SPECIFICATIONS EXPLAINED

Optimizing VCO PLL Evaluations & PLL Synthesizer Designs

MAINTENANCE & ADJUSTMENT

Atmel Norway XMEGA Introduction

PCM Encoding and Decoding:

ABCs of ADCs. Analog-to-Digital Converter Basics. Nicholas Gray Data Conversion Systems Staff Applications Engineer

Interfacing Analog to Digital Data Converters

Switch Mode Power Supply Topologies

PLL frequency synthesizer

A/D Converter based on Binary Search Algorithm

HOW TO GET 23 BITS OF EFFECTIVE RESOLUTION FROM YOUR 24-BIT CONVERTER

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

MAS.836 HOW TO BIAS AN OP-AMP

How to avoid typical pitfalls when measuring Variable Frequency Drives

1995 Mixed-Signal Products SLAA013

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

W a d i a D i g i t a l

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Abstract. Cycle Domain Simulator for Phase-Locked Loops

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

ECONseries Low Cost USB DAQ

Reading: HH Sections , (pgs , )

MEASUREMENT UNCERTAINTY IN VECTOR NETWORK ANALYZER

LC2 MOS Quad 8-Bit D/A Converter AD7226

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

Voltage. Oscillator. Voltage. Oscillator

Lecture - 4 Diode Rectifier Circuits

Timer A (0 and 1) and PWM EE3376

RF Network Analyzer Basics

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Jitter Transfer Functions in Minutes

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Precision Diode Rectifiers

Non-Data Aided Carrier Offset Compensation for SDR Implementation

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.

AN2834 Application note

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

Transformerless UPS systems and the 9900 By: John Steele, EIT Engineering Manager

LogicLab s.r.l Via della valle Carate Brianza (MI) Tel Fax

Agilent AN 1316 Optimizing Spectrum Analyzer Amplitude Accuracy

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

USB 3.0 CDR Model White Paper Revision 0.5

AND9035/D. BELASIGNA 250 and 300 for Low-Bandwidth Applications APPLICATION NOTE

Lock - in Amplifier and Applications

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

RF Measurements Using a Modular Digitizer

Agilent Creating Multi-tone Signals With the N7509A Waveform Generation Toolbox. Application Note

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

1. Memory technology & Hierarchy

FREQUENCY RESPONSE ANALYZERS

AN_6521_035 APRIL 2009

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

Multi-Carrier GSM with State of the Art ADC technology

The Good, the Bad, and the Ugly Aspects of ADC Input Noise Is No Noise Good Noise? by Walt Kester

Propagation Channel Emulator ECP_V3

Digital to Analog Converter. Raghu Tumati

Introduction to Digital Audio

24-Bit, 96kHz BiCMOS Sign-Magnitude DIGITAL-TO-ANALOG CONVERTER

LM1596 LM1496 Balanced Modulator-Demodulator

Impedance 50 (75 connectors via adapters)

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

Eliminate Ripple Current Error from Motor Current Measurement

Step Response of RC Circuits

71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Variable Resolution, 10-Bit to 16-Bit R/D Converter with Reference Oscillator AD2S1210-EP

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Temperature Sensors. Resistance Temperature Detectors (RTDs) Thermistors IC Temperature Sensors

Tire pressure monitoring

Analog Representations of Sound

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Systematic Design for a Successive Approximation ADC

Non-Isolated Analog Voltage/Current Output module IC695ALG704 provides four configurable voltage or current output channels. Isolated +24 VDC Power

ADS9850 Signal Generator Module

Transcription:

DSP Based Analog and Mixed Signal Test 1

Outline Motivation Present state-of-the-art Advantages of DSP-based analog tester Components of DSP-based analog tester Static A/D converter test Static D/A converter test Summary 2

Analog and Mixed Signal Trends ICs with analog, digital, and mixed-signal circuits on the same substrate are now common. To reduce circuit packaging and assembly costs. Explosive growth in application areas. Typical mixed-signal hardware systems: Digital cores, frequently for DSP. Surrounded by analog filters, ADCs, DACs. The analog portion interfaces to the real world. 3

4

Some characteristics: Analog transistors and components are vastly larger than digital transistors. Analog circuit contains fewer than 100 devices. Digital part can contain millions of devices. For mixed-signal circuits: Testing becomes even more of a problem. Analog circuit signal observability is reduced in a mixed-signal system. 5

Present Trend Designers are moving from non-linear to linear analog circuits. Since linear analog circuits are easier to test. What to do with the non-linear part then? Move the non-linear signal processing into a DSP processor in the digital part of the system. Advantages gained: Greater accuracy. Easier design and testing. 6

Differences from Digital Testing Size not a problem at most 50 to 100 components. Much harder analog device modeling No widely-accepted analog fault model. Infinite signal range, and a range of good signal values. Tolerances depend on process and measurement error. Tester (ATE) introduces measurement error. Digital / analog substrate (capacitive) coupling noise. 7

Differences (contd.) Absolute component tolerances ±20%, relative ± 0.1%. Multiple analog fault model mandatory. Effects of faults can cancel each other. Fault set too large to enumerate. No unique signal flow direction. 8

Differences (contd.) Analog sub-components cannot be individually tested as in digital circuits. Test busses harder to realize for analog test: Transporting an analog signal to an input pin may alter the signal and circuit functionality. Reconfiguring an analog circuit during test is often unacceptable can change analog transfer function. Bus not designed to test frequency response only tests that a specific R, L, or C has the expected value. 9

Present-Day Analog Testing Methods Specification-based (functional) tests: Main method for analog testing tractable and does not need an analog fault model. Intractable for digital -- # tests is huge. Structural ATPG: Widely used for digital, just beginning to be used for analog. Separate tests for functional and timing performance not possible in analog circuits. Possible in digital circuits. 10

DSP-Based Tester Benefits over Purely Analog Tester More accurate: Reduces crosstalk, noise, signal drift. Less non-linearity. Component aging less troublesome. Thermal effects less troublesome. Faster when making multiple measurements. More repeatable testing. Easier calibration. Smaller, cheaper, and uses less power. 11

Drawbacks of DSP-based Tester It is expensive. Desired precision may require a costly DSP. When making one measurement, a purely analog tester is significantly cheaper. DSP-based tester is advantageous when multiple measurements are to be made. Can acquire one set of samples for a DUT using one relay switching period, one sampling period, and one settling time. Analysis using DFT or FFT can produce many different emulated analog test instrument measurements. 12

Conventional Analog Tester Used in 1940s onwards. There is no frequency-time synchronization between the stimulus generation and response analysis parts of the instrument. Block diagram in next slide. 13

Analog Tester (Block Diagram) 14

DSP-Based Test System Replace purely analog instruments with a high-speed ADC, a memory for storing sample values, and a DSP controlled by software routines. Waveform synthesizer and response analyzer are synchronized. Can emulate a wide variety of existing instruments. 15

Mixed-Signal Testing (Block Diagram) 16

Time Comparison (Analog vs. DSP) Requires phase-lock synchronization between stimulus and sampling Component of 1 khz Amplitude Measurement Relay Switching Load & Start Synthesizer Synthesizer + DUT Settling Filter + Detector + DUT Settling Digitization Interval Transfer Time Computer Overhead DSP Processing/Overhead Total DSP ATE 5 ms 5 ms 1 ms N/A 1 ms 1 ms N/A 15 ms 28 ms Analog ATE 5 ms N/A N/A 35 ms N/A N/A 10 ms N/A 50 ms 17

DSP Tester Characteristics DSP-based ATE is nearly always more accurate than analog ATE. DSP requirement: We need a very fast DSP processor. Double-precision floating-point arithmetic. Phase-lock synchronization requirement: Vector samples must fall in exactly the right places in the right time interval. The digitizing window must be coordinated with each clock. This is implemented with a common reference frequency, controlled by a phase-locked loop (PLL). 18

Waveform Synthesis 19

Waveform Sampling Sampling rate > 100 ks/s 20

ATE Clock Generator WS = waveform source WM = waveform measurement 21

Cadence Test Programming Language 1 2 frequency period set master clock to <double> times over <int> connect dp master clock { } internal reference doubled reference source1 source2 to pm line <word1> clock ws main mem with pm clock <word1> divide by <word2> set wm to pm clk <word1> divide by <word2> 22

A/D and D/A Converter Static Testing Methods 23

A/D and D/A Test Parameters A/D -- Uncertain map from input domain voltages into digital value (not so in D/A) Two converters are NOT inverses Transmission parameters affect multi-tone tests Gain, signal-to-distortion ratio, noise power ratio, differential phase shift, etc. Intrinsic parameters Converter specifications Full scale range (FSR), gain, # bits, static linearity (differential and integral), maximum clock rate, code format, settling time (D/A), glitch area (D/A) 24

Ideal Transfer Functions A/D Converter D/A Converter 25

Offset Error 26

Gain Error 27

D/A Transfer Function Non- Linearity Error 28

Static Linearity Test 29

Differential Linearity Error Differential linearity function How each code step differs from ideal or average step (by code number), as fraction of LSB. Subtract average count for each code tally, express that in units of LSBs. If DLE is less than 1, the code is declared as missing. Repeat test waveform 100 to 150 times, use slow triangle wave to increase resolution. 30

Integral Linearity Error The ILE is the integration of the code step width differences from the ideal converter characteristics, measured using the best-fit line. For the transfer function shown in the third previous slide, it shows how each code step width differs from ideal step width. Assume each small X-axis division represents a sample. The table shows the statistics for the first five codes of this converter. Each matrix (T,D,C,E) is indexed by the output ADC code. The ideal step width is 6, and the average actual is 6.8. 31

Static Linear Histogram DNL and INL in RMS LSB Code Count DLE (LSB fraction) DNL Transfer Characteris. (counts) ILE (LSB fraction) INL T (0) 3 + 3 = 6 D (0) -0.1176 C (0) 0 E (0) 0 T (1) 5 D (1) -0.2647 C (1) 5.5 E (1) -0.19115 T (2) 4 D (2) -0.4118 0.3650 C (2) 10 E (2) -0.5294 0.3161 T (3) 11 D (3) 0.6176 C (3) 17.5 T (4) 8 D (4) 0.1765 C (4) 27 E (3) E (4) -0.4265-0.02945 32

Flash ADC Testing Method 33

Flash A/D Converter 34

Basic characteristics: Operates at 20 to 100 Mega samples per second, and even up to 250 Ms/s. They are code dominated converters. Each step can have an error different from the other steps. There are no major carries in the converter, and so each code must be tested. 35

Static Linear Histogram Technique with a Triangular Wave We use a very slow triangle wave. Ramps from just below the minimum full-scale voltage to a voltage just above the maximum fullscale voltage, and back down again. The ramp should be slow enough so that for each code, it will be digitized roughly 10 times before the ramp moves to the next code. The ramp is repeated for up to 150 periods. To get the average behavior. The code histogram is shown on next slide. 36

Linear Histogram of 8-bit Flash ADC 37

To find DLE. To find DLE, we subtract the average count from each tally, and express that in units of LSBs. The test waveform is repeated 100 to 150 times. The DLE of an 8-bit ADC is shown on next slide. This test can detect missing converter codes. 38

Example DLE Function DLE Code 39

Integral Linearity Error (ILE) ILE[i] = ILE[i-1] + (DLE[i] + DLE[i-1]) / 2 40

DAC Testing Methods Problems with DAC testing: A 16-bit DAC has a step size of 15 parts per million (ppm). Requires a measurement accuracy of 2 ppm. Problems with direct measurement of DAC transfer map: A 16-bit DAC has 65536 codes; 24-bit has 16777216. Takes too long to look at all of these. We need to look at a subset. A direct measurement demands very high accuracy, since we restrict measurement error to ± 0.1 LSB. 41

The implication: A direct measurement of DAC transfer map is inappropriate. We can measure each interval in the transfer map, but we cannot measure each step directly, because the voltages defining it happens at different time instants. 42

Differential Measurement V x : V y : C : e : We want to find smaller adjacent voltage larger adjacent voltage repeatable measurement error non-repeatable peak measurement error (V y + C + e) (V x + C + e) = V y V x ±2e For 14 bits, the step size becomes 61 ppm (610 µv in a 10 V range DAC). We limit 2e to 61 µv to keep measurement error to 6.1 ppm, so e is only 30.5 µv too hard and expensive 43

D/A Differential Test Fixture We measure the (V y V x ) difference, not the absolute V x or V y. By comparing the difference to a biased, programmable supply V b V b need not be accurate; just stable. We measure (V x -V b ) and (V y -V b ) 44

45

Derivation of INL Measure Proposed by Mahoney et al [1981] 46

DSP-based tester has: Waveform Generator Waveform Digitizer Summary High frequency clock with dividers for synchronization A/D and D/A Test Parameters Transmission Intrinsic A/D and D/A Faults: offset, gain, non-linearity errors Measured by DLE, ILE, etc. A/D Test Histograms static linear and sinusoidal D/A Test - Differential Test Fixture 47