Built-in Adaptive Test and Calibration of DAC

22
Built-in Adaptive Test and Calibration of DAC Wei Jiang and Vishwani D. Agrawal Electrical and Computer Engineering Auburn University, Auburn, AL 36849 18 th IEEE North Atlantic Test Workshop 2009

description

Built-in Adaptive Test and Calibration of DAC. Wei Jiang and Vishwani D. Agrawal Electrical and Computer Engineering Auburn University, Auburn, AL 36849 18 th IEEE North Atlantic Test Workshop 2009. Outline. Overview Previous Work Proposed BIST Scheme Adaptive Self-Calibration of DAC - PowerPoint PPT Presentation

Transcript of Built-in Adaptive Test and Calibration of DAC

Page 1: Built-in Adaptive Test and Calibration of DAC

Built-in Adaptive Test and Calibration of DAC

Wei Jiang and Vishwani D. AgrawalElectrical and Computer EngineeringAuburn University, Auburn, AL 36849

18th IEEE North Atlantic Test Workshop 2009

Page 2: Built-in Adaptive Test and Calibration of DAC

Outline• Overview• Previous Work• Proposed BIST Scheme• Adaptive Self-Calibration of DAC• Simulation Results• Conclusion

NATW'09 2

Page 3: Built-in Adaptive Test and Calibration of DAC

Overview• Proposed design-for-testability (DFT)

architecture for a mixed-signal SoC– Accuracy– Performance– Cost

• Test of on-chip DAC and ADC– Linearity (DNL/INL)– Resolution and speed– Signal-to-noise ratio (SNR)

NATW'09 3

Page 4: Built-in Adaptive Test and Calibration of DAC

A Typical Mixed-Signal BIST for SoC*

NATW'09 4

TPG

ORA

TEST CONTROL

MUX

MUX

DAC

ADC

MIXED SIGNAL

MUX

ANALOG SYSTEM

ANALOG SYSTEM

MUX

BIST Results

Digital System

Input and Output

Analog System

Input and

Output

Analog Loopbacks

DSP

DIGITAL SYSTEM

* F. F. Dai and C. E. Stroud, “Analog and Mixed-Signal Test Architectures,” Chapter 15, p. 722 in System-on-Chip Test Architectures: Nanometer Design for Testability, Morgan Kaufmann, 2008.

Page 5: Built-in Adaptive Test and Calibration of DAC

DAC

ADC

ANALOG SYSTEM

ANALOG SYSTEM

Analog System Input and

Output

DSP

DIGITAL SYSTEM

Digital System

Input and

Output

MIXED SIGNAL

Digital non-linearity error

Analog non-linearity error

Previous Work

NATW'09 5

W. Jiang and V.D. Agrawal, Built-In Test and Calibration of DAC/ADC Using A Low-Resolution Dithering DAC, NATW’08

Page 6: Built-in Adaptive Test and Calibration of DAC

Analog input

Dig

ital c

ode

outp

ut

Ideal

Actual (νK)

Ideal

Actual (νK)

Ana

log

outp

ut

Digital code inputNon-linearity error of ADC Non-linearity error of DAC

k

ν

Non-linearity Errors

NATW'09 6

Non-linearity error

Non-linearityerror

Page 7: Built-in Adaptive Test and Calibration of DAC

Proposed BIST Scheme

NATW'09 7

DSP

TPG

ORA

MIXED SIGNAL Polynomial coefficients for DAC

xy

Analog correction signal Polynomial eval

Digital outputCorrected analog output

Analog loopback

DACunder-test

d-DAC

Measuring ADC

Page 8: Built-in Adaptive Test and Calibration of DAC

Proposed BIST Scheme (Cont.)• DSP for BIST control• Components

– 1-bit first-order sigma-delta modulator– Low-pass filter (integrator or comb filter)– Adaptive polynomial evaluation/fix circuit– Low-resolution dithering DAC– Loop-back circuitry connecting internal DAC

and ADC

NATW'09 8

Page 9: Built-in Adaptive Test and Calibration of DAC

Testing and characterization of DAC

NATW'09 9

DSP

TPG

ORA

MIXED SIGNAL Polynomial coefficients for DAC

0/1

Analog responses

Analog loopback

N-bit

N’-bit

DACunder-test

Low-pass Filter

First-order 1-bit sigma-delta modulator

Page 10: Built-in Adaptive Test and Calibration of DAC

Testing of DAC (Cont.)• Response and ramp input compared for INL

error• INL error analyzed by adaptive polynomial

fitting algorithm• Best matching polynomials selected for

various and DAC profiles• Test results indicated by calculated

characteristics (offset, gain and harmonic distortion, etc)

• Polynomial coefficients calculated for dithering DAC to improve INL

NATW'09 10

Page 11: Built-in Adaptive Test and Calibration of DAC

Polynomial Fitting• Introduced by Sunter et al. in

ITC’97 and A. Roy et al. in ITC’02

• Summary:– Divide DAC transfer

function into four sections– Combine function outputs

of each section (S0, S1, S2, S3)

– Calculate four coefficients (b0, b1, b2, b3) by easily-generated equations

NATW'09 11

33

2210 xbxbxbby

Page 12: Built-in Adaptive Test and Calibration of DAC

Third-Order Polynomial

NATW'09 12

343

232

3121

200

01233

01232

01231

01230

33

2210

3128

16344341

33B

nb

Bn

b

BBn

b

BBn

b

SSSSBSSSSBSSSSBSSSSB

xbxbxbby

Page 13: Built-in Adaptive Test and Calibration of DAC

First- and second-order Polynomial

NATW'09 13

121

00

011

010

10

4

1

Bn

b

Bn

b

SSBSSB

xbby

232

121

00

0122

021

0120

2210

2272981

2

26

Bn

b

Bn

b

Bn

b

SSSBSSBSSSB

xbxbby

First-order polynomial

Second-order polynomial

Page 14: Built-in Adaptive Test and Calibration of DAC

Adaptive Polynomial Fitting• Fitting INL error from lower order

polynomial to higher order• Calculate RMS error of each polynomial• Select the polynomial with least RMS error

(when RMS error rising with higher order polynomial)

NATW'09 14

Page 15: Built-in Adaptive Test and Calibration of DAC

Sigma-Delta Modulator

NATW'09 15

S

1-bit DAC

intergrator

y(t)

quantiztion

x(t)

e(t)

Z-1 Y(z)X(z)

E(z)

1-bit first-order sigma-delta modulator

Transfer function in z-domain

Page 16: Built-in Adaptive Test and Calibration of DAC

Sigma-Delta Modulator (Cont.)

NATW'09 16

First-order

Second-order

Third-order

17-bit ENOB104.1dB

Oversampling ratio (OSR)

Page 17: Built-in Adaptive Test and Calibration of DAC

Dithering DAC

NATW'09 17

3

α=1

17bits

Resolution of dithering-DAC (bits)

Ove

rsam

plin

g ra

tio (O

SR)

2

Page 18: Built-in Adaptive Test and Calibration of DAC

Simulation of DAC Test

NATW'09 18

• 14-bit DAC• 16K ramp

codes• INL error up to

±1.5dB

Indices of 14-bit DAC-under-test

Page 19: Built-in Adaptive Test and Calibration of DAC

Simulation (Cont.)

NATW'09 19

• Fitting results by different order polynomial

Indices of 14-bit DAC-under-test

Page 20: Built-in Adaptive Test and Calibration of DAC

Best-matching Polynomial

NATW'09 20

Page 21: Built-in Adaptive Test and Calibration of DAC

Conclusion• A built-in self-test and self-calibration

solution for mixed-signal SoC is proposed• A polynomial fitting algorithm is employed

for INL error correction• Fault-tolerance levels can be chosen for

various applications• Simulation results show significant

improvement in linearity after calibration

NATW'09 21

Page 22: Built-in Adaptive Test and Calibration of DAC

Q&AThank you!

NATW'09 22