38
(19) United States US 20100079319A1 (12) Patent Application Publication (10) Pub. No.: US 2010/0079319 A1 Berens et al. (43) Pub. Date: Apr. 1, 2010 (54) DATA CONVERSION CIRCUITRY AND METHOD THEREFOR (76) Inventors: Michael T. Berens, Austin, TX (US); James R. Feddeler, Austin, TX (US) Correspondence Address: FREESCALE SEMICONDUCTOR, INC. LAW DEPARTMENT 7700 WEST PARMER LANE MD:TX32/PL02 Publication Classi?cation (51) Int. Cl. H03M 1/10 (2006.01) (52) US. Cl. ...................................................... .. 341/120 (57) ABSTRACT A data converter for converting analog signals to digital sig nals, or for converting digital signals to analog signals is provided. In one embodiment, a production self-test is pro vided. In one embodiment, a high-speed lower-resolution method or mode for a data converter is provided. In one embodiment, a differential data converter With a more stable AUSTIN, TX 78729 (US) comparator common mode voltage is provided. In one embodiment, the input range of a digitally calibrated data _ converter is provided and maintained so that there is no loss in (21) Appl' NO" 12/242’124 input range due to the calibration. In one embodiment, digital post-processing of an uncalibrated result using a previously (22) Filed: Sep. 30, 2008 stored calibration value is provided. f 10 PROCESSOR MEMORY E E . (n 22 D 24 / °°§ < '\ i g; / z “J O: i E z X v-t Lu DATA g9 OTHER- CONVERTER (FIGS. 2. 3. MODULE 14, 18) ll

MODULE 14, 18)

Embed Size (px)

Citation preview

Page 1: MODULE 14, 18)

(19) United States US 20100079319A1

(12) Patent Application Publication (10) Pub. No.: US 2010/0079319 A1 Berens et al. (43) Pub. Date: Apr. 1, 2010

(54) DATA CONVERSION CIRCUITRY AND METHOD THEREFOR

(76) Inventors: Michael T. Berens, Austin, TX (US); James R. Feddeler, Austin, TX (US)

Correspondence Address: FREESCALE SEMICONDUCTOR, INC. LAW DEPARTMENT 7700 WEST PARMER LANE MD:TX32/PL02

Publication Classi?cation

(51) Int. Cl. H03M 1/10 (2006.01)

(52) US. Cl. ...................................................... .. 341/120

(57) ABSTRACT

A data converter for converting analog signals to digital sig nals, or for converting digital signals to analog signals is provided. In one embodiment, a production self-test is pro vided. In one embodiment, a high-speed lower-resolution method or mode for a data converter is provided. In one embodiment, a differential data converter With a more stable

AUSTIN, TX 78729 (US) comparator common mode voltage is provided. In one embodiment, the input range of a digitally calibrated data

_ converter is provided and maintained so that there is no loss in (21) Appl' NO" 12/242’124 input range due to the calibration. In one embodiment, digital

post-processing of an uncalibrated result using a previously (22) Filed: Sep. 30, 2008 stored calibration value is provided.

f 10

PROCESSOR MEMORY

E E . (n

22 D 24 / °°§

< '\ i g; / z “J O: i

E z X v-t Lu

DATA g9 OTHER- CONVERTER

(FIGS. 2. 3. MODULE 14, 18) — ll

Page 2: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 1 0f 17 US 2010/0079319 A1

[10

{} HOVAEBLNI @l

sna ‘lVNHI-ILXH

CH? MEMORY DATA CONVERTER (FIGS. 2, 3. 14, 18) 1;

FIG. 1

PROCESSOR OTHER‘ MODULES 1_4

Page 3: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 2 0f 17 US 2010/0079319 A1

[A PORTION ADHWTSA OF DATA

. ADCSCIA CONVERTER 12

ADHV'VTSn ' ‘CONVERSION = ; ~ ‘ TRIGGER ADTRG ADCSC1n 31

ADHWT-——> CONTROL <—| r_J

COMQQBE? CONTROL REGISTERS (ADCSCZ, ADCCFGI, ADCCFGZ) c c C ‘ ‘ADACKEN I O m

§ 25 mm 5; 5 ASYNC E $ 5 8 a 2 2 E E CLOCK % E g .2 <23 £25 < < GENERATOR O i- c m E O a‘ 2 TV

INTERRUPT<— , T T F‘ < A'ADACK

‘ ' SAR CONTROL EADCK CLOCK BUS

MC“ STOP CIRCUITRY ‘ DIVIDE DADPOEl-———“% ??zéb L76

= Eé‘é‘éé DADPTEE; ‘ g $ 8 FL‘ <

z W Y 1 ‘PG, G

' ‘ CLPX CALIBRZTION 68 AD25|:1— V 4

- CIRCUITRY

TTT/ “~VIN 93 ' ' ‘

T OFFSET ‘ QFS CALIBRATION 66 DADMOU : \ SUBTRACTOR ‘ ADCOFS CONTROL “’

~ A CIRCUITRY

DADMSEI ~vREFH T -— — 88 7 CAL, CALF

TEMPM AVERAGER < .AVGE' AVGS ADCSC3

T._/ y \ FORMATTING MODE' DIFF" ADCCFG1, 2

VRETHE‘ VALTHU 0 Q ADCRHAzADCRLA VBGH “ VREFL TRANSFER :

/ 90 T ADCRHmADCRLn v [3 \ T : ACFE REFL COMPARE ACFGT, ACREN ADCSCZ VALTLB LOGIC COMPARE TRL

VBGL / 0V1“ “cv2 ADCCV1, ADCCVZ FIG. 2

Page 4: MODULE 14, 18)
Page 5: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 4 0f 17 US 2010/0079319 A1

W .nUNBN 3 mm

a 8 $ X32

; z; 51> E? 3E8 26E

2%,

2:313 1 Q2 5:316 SE28

5:?

Nm? 51% $52: $52: @150 m2: 9+2: Zn 5 2 z

|_| 1: I:

8 QQN ION Q 10% ION. Q QZN ON I Q , O /

zozzizoo .\ m: w: _ w: m: = n: N: E o:

:EEEEQ A ' 1 _ L. i .

E 5 _ 3

ow 25 Lo 2258 \

Page 6: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 5 0f 17

1422 CHARGE CAPACITOR BOTTOM PLATE

TO VREFL 90 AND ALL LOWER SIGNIFICANCE CAPACITOR BOTTOM PLATES TO VREFH 88 IN SAMPLE

PHASE WHILE CHARGING COMPARATOR INPUTS TO VCM 94

[170 160

( START ) §1s2

CHARGE BOTTOM PLATE OF ALL CAPACITORS TO VIN 92 WHILE

CHARGING COMPARATOR INPUTS T0 T0 VCM 94

143? , .

RELEASE COMPARATOR INPUTS

RELEASE COMPARATOR INPUTS‘

§164 144 2

SWITCH CAPACITOR BOTTOM PLATE TO VREFH 88 AND ALL LOWER

SIGNIFICANCE CAPACITOR BOTTOM PLATES TO VREFL 90 IN COMPARE

PHASE

SWITCH BOTTOM PLATES OF ALL CAPACITORS TO VREFL 9O

‘ 165

PERFORM NORMAL SAR ROUTINE TO PRODUCE UNCALIBRATED RESULT 84

145 2

RUN SUCCESSIVE-APPROXIMATION ON SELECTED BITS '

14sP ACCUMULATE RESULTS OF SAR

REGISTER AND STORE IN ‘ CALIBRATION STORAGE CIRCUITRY 68

ACCUMULATE CALIBRATION VALUES OF ALL CALIBRATED CAPACITORS WHOSE BOTTOM PLATES REMAINED AT VREFH 88 AT THE END OF

THE CONVERSION

‘ g167

CORRESPONDING TO THE CAPACITOR SUBTRACT THIS ACCUMULATED VALUE FROM THE UNCALIBRATED CONVERSION RESULT TO PRODUCE THE CALIBRATED

US 2010/0079319 A1

RESULT

161 END

FIG. 6'

Page 7: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 6 0f 17 US 2010/0079319 A1

/ 23mm NON—MONOTO\I\IIfITIES MISSING cows)

7 FIG. —PRIOR ART—

VIN '92 FIG. 8

NO MISSING CODES, HIGH LINEARITY

VIN '92

mm :35 SZmmSg FIG. .9

Page 8: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 7 0f 17 US 2010/0079319 A1

QN .QNBN

mm

5 Im_~_> i>

2% 5526

1 25:3 8 mm a $ 5,.

51 IE

am > > 5E8 50%

a a . ,

§M> 22/

Eggs 8N 3:816 6528

5:?

Wm B 2 2:12: @112: 2+2: 3+2: 5% 9+2: Zn 5 2

EN EN . 8 I f 10% JUN Q 10% 18 Q IQZN ON I O f U

mozmizoo \ wow wow 2N QN : www 2N. - 2N N5 :N 351KB 1 . . . L. . . . L. . . . .

8 5 CNN

3 9a a 2252 \

Page 9: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 8 0f 17 US 2010/0079319 A1

250 ( START I [271

1

CHARCE BOTTOM PLATE OF ALL DAC M88 252 CAPACITORS (EC. BITs 15:11 AND ExTRA CAPACITOR) TO VIN 92 wHILE CHARGING THE COMPARATOR INPUTS TO M 94

RELEASE COMPARATOR INPUTS THEM £53 SWITCH BOTTOM PLATES OF ALL

CAPACITORS TO VREFL 90

SWITCH ALL OF THE OAC MSB CAPACITOR 254 (EC. BITS 15m AND EXTRA CAPACITOR)

BOTTOM PLATES TO VREFH 88

THE COMPARATOR YES OUTPUT LOW? 258

256 F) (_J SET AND CLEAR APPROPRIATE

BITS (EC. SET BIT 15 AND CLEAR EXTRA BIT (BIT 16) CLEAR BITS 15;“)

PERFORM NORMAL SAR ROUTINE ON ~—J SELECTED BITS (E.G. BITS 15:11)

7

PERFORM NORMAL SAR ROUTINE ON "Q REMAINING BITS (E.G. BITS 10:0) TO PRODUCE AN UNCALIBRATED RESULT =

HAVING AN EXTRA BIT (E.G. 17 BIT RESULT UP TO $107FF)

MODIFY UNCALIBRATED RESULT TO ACHIEVE ~J DIGITAL GAIN, OFFSET, 0R LINEARITY CALIBRATION TO PRODUCE CALIBRATED

RESULT (EC. 16 BIT RESULT UP TO RFFFF)

251 END

FIG. 11

Page 10: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 9 0f 17 US 2010/0079319 A1

L H

D /

I | l l I | | I l | | | | I T EN 80 FT. . F vln

W OR IE RB .IVP El. AIE TA RST F0 888 A

1% L A C W CUI ST

r A w. EAM M 2 SRT. 2

WWW OER ROW ENA w TA T F A

A Dn\ B I L A C N U

FIG. 12

AFTER LINEARITY CALIBRATION, GAIN CALIBRATION, AND EXTRA

SUCCESSIVE APPROXIMATION STEP

IDEAL / km AFTER LINEARITY CALIBRATION,

GAIN CALIBRATION M

246

245 / 244 AFTER LINEARITY

CALIBRATION (ILLUSTRATES GAIN ERROR)

Zzmwm

FIG. 13

Page 11: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 10 0f 17 US 2010/0079319 A1

§Nl\ 20:52:00 $5350 a $5528 53 a 2852

NVN .AVNBN EN E5350 /LzmEw2d< Sswwm

I 5N

8N 3N , +

:38“

5538 55% 22% 5528 .202

1% |.

C2

5 +

:51 2:

g 1 || 20>

mm om ww z; .5”; IE”; eh? igl om ww Cm”; IE”;

Q 02 i % 9a mni gag mm om mm zH> Hm”; Ibm>

Page 12: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 11 0f 17 US 2010/0079319 A1

T START i 300

Y

CHARGE BOTTOM PLATE OF MINUS DAC 282 CAPACITORS TO VIN 93 CHARGE BOTTOM PLATE

0F PLUS DAC 280 CAPACITORS TO VIN 92 CHARGE BOTTOM PLATE OF DIFFERENTIAL BIAS CAPACITOR 208 TO VREFH 88 WHILE CHARGING

THE COMPARATOR INPUTS TO VCM 94

S 302

WAS DIFFERENTIAL

BIAS CAPACITOR 208 ' SWITCHED?

{303 RESULT ‘286 EQUALS RELEASE COMPARATOR INPUTS AND SWITCH THE DIFFERENTIAL RESULT THE BOTTOM PLATES OF ALL CAPACITORS

T0 VREFL g0 SUBTRACT PREDETERMINE §304 AMOUNT FROM DIFFERENTIAL

SULT TO PR PERFORM A PARTIAL SUCCESSIVE APPROXIMATION RE RESULT 28%DUCE ON THE MINUS DAC 282 UNTIL THE INVERTING ( COMPARATOR INPUT IS SUBSTANTIALLY NEAR 4 310 THE COMPARATOR'S 260, 261 COMMON MODE INPUT VOLTAGE (VCM 94). (NoTE THAT 301

THE MINUS RESULT IS THE SERIAL OUTPUT END OF THE NON-CRITICAL COMPARATOR 261)

. 306 305 FJ

SWITCH THE BOTTOM PLATE OF THE DIFFERENTIAL CAPACITOR 208

TO VREFL 90

THE CRITICAL COMPARATOR 260 OUTPUT HIGH?

NO

PERFORM FULL SUCCESSIVE APPRoxINATI0N 3,07 ON THE PLUS DAC 280

(NoTE THAT THE PLUS RESULT IS THE SERIAL OUTPUT OF THE CRITICAL COMPARATOR 260)

SUBTRACT MINUS RESULT 285 FROM PLUS A398 RESULT 284 TO PRODUCE A DIFFERENTIAL

. RESULT

FIG. 1 5

Page 13: MODULE 14, 18)
Page 14: MODULE 14, 18)
Page 15: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 14 0f 17 US 2010/0079319 A1

%\ .NUNBN 5

559a 1| “021528 f N?

x:

0m 8 3 :33“ 8 :Ww; 2%, 5%”; a mm 25 vs: 11

V - 2.22 X o?

5:813 @? 2: 5:316

5E8 |

+ 558

1% 2: 0% 575% m3: 1 vs; gag“; 3 mm mm a:

5% z; E”;

Q $5528 <25 Lo zoHEon_\

Page 16: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 15 0f 17 US 2010/0079319 A1

500 ' f 520 ( START )

502 DURING THE SAMPLE PHASE: - CHARGE ALL CAPACITORS ON THE SAME SIDE (PLuS

DAC 480 OR MINUS DAC 480) SMALLER THAN CAPACITOR UNDER TEST TO VREFH 88 THROUGH SwITGHING CIRCUITRY 299 QSEE FIG. 10) AND vIN 92

- CHARGE CAPACITOR UNDER EST AND ALL LARGER CAPACITORS ON THE SAME SIDE TO VREFL 9O

- CHARGE OPPOSINC SIDE TO A PREDETERMINED OFFSET vOLTAGE

V

505 DuRING THE HOLD PHASE: ‘A - RELEASE COMPARATOR INPUTS uSING SwITCH -

CIRCUITRY 102 (SEE FIG. 10) A - CHARGE CAPACITOR uNDER TEST TO VREFH 88

- CHARGE ALL CAPACITORS ON OPPOSINC SIDE TO TEST EXCEPT SMALLEST VREFL 90 UNIT OR uNITS LESS

- CHARGE ALL REMAINING CAPACITORS ON THE SAME A?gE SIDE TO VREFL 9O

. I REPEAT FOR

504 DURING THE COMPARE PHASE: CAPACITORS 0N L” - ON THE OPPOSING SIDE. RUN FULLY SINGLE-ENDED THE OPPOSINC SIDE

TO SUCCESSIVE APPROXIMATION

505 DURING RESuLT PROCESSING: — COMPARE RESULT 484 (SEE FIG. 18) TO

PREDETERMINED OFFSET VALUE STORED DURING SAMPLE PHASE

— SET LIMITS ON COMPARISON BASED ON REQUIRED MATCHING TOLERANCE AND NOISE ALLOWANCE

501 ' END

FIG. 19

Page 17: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 16 0f 17 US 2010/0079319 A1

550 ( START ) § 556

DURING THE SAMPLE PHASE: g 552 — CHARGE ALL UNITS SMALLER THAN

CAPACITOR UNDER TEST TO VREFH 88 EXCEPT Y UNITS THROUGH SWITCHING DURING THE SAMPLE PHASE:

- CHARGE ALL UNITS SMALLER THAN

CAPACITOR UNDER TEST TO vREFH 88 ELZEQLSETRJNEZQSNISEE FgféA'colLoR EXCEPT X UNITS THROUGH SWITCHING - UNDER TEST To VREFH 88 FOR CIRCUITRY 299 (SEE FIG. 10) OFFSET SHIFT

_ ¥gD§EEgLESg0AND - CHARGE CAPACITOR UNDER TEST AND

- REFERENCE SIDE CHARGED TO okkFfTggR LARGER UNITS- To mm 90 DURING ENTIRE SEQUENCE _ REFERENCE SIDE CHARGED To

; 553 vREFL 90 DURING ENTIRE SEQUENCE

DURING THE HOLD PHASE: g 557 - RELEASE COMPARATOR INPUTS USING

SwITCH CIRCUITRY 102 (SEE FIG. 10} DURING THE HOLD PHASE/COMPARE/ RESULT:

‘ SEQEEE8§APACHOR UNDER TEST To - FOLLOw PREVIOUS ROUTINE - RESULT SHOULD BE CENTERED AT

, §554 OFFSET + Y (CAPACITOR UNDER TEST SHOULD NOT SET)

DURING THE COMPARE PHASE: — RUN SUCCESSIVE APPROXIMATION

(RESULT SHOULD BE CENTERED AT X, AND SHOULD BE LESS THAN CAPACITOR UNDER TEST) CAPACITORS UNDER

TEST GREATER THAN Y BEEN TESTED? gsss

DURING RESULT PROCESSING: - COMPARE RESULT TO x VALUE

STORED IN SAMPLE PHASE - SET LIMITS ON COMPARISON BASED

ON REQUIRED MATCHING TOLERANCE NOTES: A AND NOISE ALLOWANCE X REPRESENTS A NUMBER OF IDEALLY SIZED

UNITS EOUAL TO THE MAXIMUM EXPECTED (UNSIGNED) ERROR OF THE CAPACITOR UNDER

558 TEST, PLUS DESIRED OFFSET. FOR EXAMPLE, IF A CAPACITOR IS SUPPOSED TO BE 64LSB +/

CAPACITORS UNDER 4LSB AND THE DESIRED OFFSET IS 12, x TEST GREATER THQAN X SHOULD BE EQUAL TO 16.

BEEN TESTED' WHEN X IS EQUAL/LARGER THAN CAPACITOR UNDER TEST, OFFSET MUST BE INCREASED TO BE GREATER THAN CAPACITOR UNDER TEST BY SETTING ONE UNIT GREATER THAN THE CAPACITOR UNDER TEST FOR OFFSET (TO KEEP RESULT FROM BEING TOO NEAR ZERO) AND

FIG 20 THEN SETTING A NEW vALUE Y EOUAL TO ' THE EXPECTED ERROR ONLY.

Page 18: MODULE 14, 18)

Patent Application Publication Apr. 1, 2010 Sheet 17 0f 17 US 2010/0079319 A1

coNPARAToR oFFSET TESTED AGAINST DESIRED

DIFFERENTIAL LIN H LIN LIN LIN H LIN H OFFSET VALUE SIDE TESTED A ‘L; A} COMPARATOR SPEED

TESTED IN SUCCESSIVE APPROXIMATION TESTS HP?“

PHASE OF A GUTN N4 TESTS A - + AND HOLD PHASE 2 J- -L J- J FoR GUTNH TESTS -b A

\_,\ / \ / \ / A , \ / GUT AND CORRESPONDING

VREFH SWITCH TESTED INGDNPAREPHASEGF

?LINH LINH LINH LINH LINH .GUTNTEST vIN SNITGH TESTED IN SNALLEST CUT(S) TESTED AGAINST SEQUENCE

SAMPLE PHASE OF GUTNH LARGE CUTS IN SANPLE PHASES TESTS AND A SINGLE, FULL FOR GUTN +1 TESTS (NH > NININUN

RAIL GDNvERSIGN To - NoISE 0R MATCHING TDLERANGE) vREFH FOR LARGEST GUT

FIG. 21 600

( START I {620

CHARGE BOTTOM PLATE 0F MSB GAPAGITDRS 119, 219 £02 (HALF OF THE ToTAL CAPACITANCE) T0 MN 92

wHILE CHARGING THE COMPARATOR INPUTS T0 WM 94

RELEASE COMPARATOR INPUTS AND SWITCH THE BOTTOM AJ PLATE OF MSB CAPACITORS H9, 219 TO VREFL 9O

PERFORM A SUCCESSIVE APPROXIMATION ON THE 13 14 MOST SIGNIFICANT BITS TO PRODUCE A 13 OR

14-BIT CONVERSION RESULT OF VIN/2

OR F304

7

SHIFT THE CONVERSION RESULT LEFT (DOUBLE) AND 305 ROUND (IF DESIRED) TO GET THE 1/2 LSB SHIFT

T0 PRODUCE A 12-BIT CONVERSION RESULT

' 601 END

FIG. 22

Page 19: MODULE 14, 18)

US 2010/0079319 A1

DATA CONVERSION CIRCUITRY AND METHOD THEREFOR

CROSS-REFERENCE TO RELATED

APPLICATION(S) [0001] This application is related to US. patent application Ser. No. (Attorney Docket No. AC50034TC), ?led on even date, entitled “DATA CONVERSION CIRCUITRY AND METHOD THEREFOR,” and assigned to the current assignee hereof. [0002] This application is related to US. patent application Ser. No. (Attorney Docket No. AC50035TC), ?led on even date, entitled “DATA CONVERSION CIRCUITRY AND METHOD THEREFOR,” and assigned to the current assignee hereof. [0003] This application is related to US. patent application Ser. No. (Attorney Docket No. AC50036TC), ?led on even date, entitled “DATA CONVERSION CIRCUITRY AND METHOD THEREFOR,” and assigned to the current assignee hereof. [0004] This application is related to US. patent application Ser. No. (Attorney Docket No. AC50037TC), ?led on even date, entitled “DATA CONVERSION CIRCUITRY AND METHOD THEREFOR,” and assigned to the current assignee hereof.

BACKGROUND

[0005] 1. Field [0006] This disclosure relates generally to electrical cir cuitry, and more speci?cally, to electrical circuitry for data conversion. [0007] 2. RelatedArt [0008] Data converters are very useful for converting ana log signals to digital signals, and for converting digital signals to analog signals. Many applications require data converters that have a high resolution, fast conversion time, alloW a broad range of inputs, and yet are cost effective. Other data conversion features may also be important for various appli cations. It is thus important to be able to provide data con ver‘ters that meet a Wide variety of potentially con?icting criteria, While at the same time remain cost effective.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The present invention is illustrated by Way of example and is not limited by the accompanying ?gures, in Which like references indicate similar elements. Elements in the ?gures are illustrated for simplicity and clarity and have not necessarily been draWn to scale. [0010] FIG. 1 illustrates, inblock diagram form, a system in accordance With one embodiment. [0011] FIG. 2 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a data converter in accordance With one embodiment. [0012] FIG. 3 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a data converter in accordance With one embodiment.

[0013] FIG. 4 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a DAC in accor dance With one embodiment.

[0014] FIG. 5 illustrates, in How diagram form, a sample calibration method in accordance With one embodiment. [0015] FIG. 6 illustrates, in How diagram form, a sample conversion method in accordance With one embodiment.

Apr. 1,2010

[0016] FIG. 7 illustrates, in graphical diagram form, non linearities due to capacitor mismatch in a binary-Weighted DAC in accordance With the prior art. [0017] FIG. 8 illustrates, in graphical diagram form, non linearities due to capacitor mismatch in a binary-Weighted DAC With oversiZed ?rst scaling capacitor in accordance With one embodiment.

[0018] FIG. 9 illustrates, in graphical diagram form, non linearities due to capacitor mismatch in a binary-Weighted DAC With oversiZed ?rst scaling capacitor after calibration in accordance With one embodiment. [0019] FIG. 10 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a DAC in accordance With one embodiment.

[0020] FIG. 11 illustrates, in How diagram form, a sample conversion method for a 16-bit analog to digital converter (ADC) in accordance With one embodiment. [0021] FIG. 12 illustrates, in graphical diagram form, a transfer function of an ADC With digitally calibrated offset in accordance With one embodiment. [0022] FIG. 13 illustrates, in graphical diagram form, a transfer function of an ADC With digital linearity and gain calibration in accordance With one embodiment. [0023] FIG. 14 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a data con ver‘ter in accordance With one embodiment.

[0024] FIG. 15 illustrates, in How diagram form, a sample differential conversion method in accordance With one embodiment. [0025] FIG. 16 illustrates, in graphical diagram form, an example of a differential conversion in accordance With one embodiment. [0026] FIG. 17 illustrates, in graphical diagram form, another example of a differential conversion in accordance With one embodiment.

[0027] FIG. 18 illustrates, in partial block diagram form and partial schematic diagram form, a portion of a data con ver‘ter in accordance With one embodiment. [0028] FIG. 19 illustrates, in How diagram form, a self-test method for a differential capacitive DAC in accordance With one embodiment.

[0029] FIG. 20 illustrates, in How diagram form, a self-test method for a single-ended capacitive DAC in accordance With one embodiment.

[0030] FIG. 21 illustrates, in schematic diagram form, test coverage of a self-test method in accordance With one embodiment. [0031] FIG. 22 illustrates, in How diagram form, a method for performing a 12-bit conversion in a 16-bit ADC in accor dance With one embodiment.

DETAILED DESCRIPTION

[0032] FIG. 1 illustrates one embodiment of a system 10. In alternate embodiments, system 10 may be implemented as a single integrated circuit, may be implemented as a plurality of integrated circuits, or may be implemented as a combination of integrated circuits and discrete components. Alternate embodiments may implement system 10 in any manner. [0033] In one embodiment, system 10 comprises data con ver‘ter 12, other modules 14, processor 16, memory 1 8, and external bus interface 20, Which are all bi-directionally coupled to each other by Way of a bus 22 or a plurality of electrical signals 22. In one embodiment, system 10 can receive inputs and provide outputs by Way of a bus 24 or a

Page 20: MODULE 14, 18)

US 2010/0079319 A1

plurality of electrical signals 24 coupled to external bus inter face 20. In alternate embodiments, system 10 may comprises feWer, more, or different blocks of circuitry than those illus trated in FIG. 1.

[0034] FIG. 2 illustrates one embodiment of a portion of data converter 12 of FIG. 1. In one embodiment, data con verter 12 comprises an ADC Which may be used to convert a differential input voltage VIN 92-VIN 93 into a digital rep resentation stored as a multi-bit binary value in a data register (e.g. ADCRHAzADCRLA or ADCRHBzADCRLB). In one embodiment, this digital representation may be of the value 2AN*(V IN 92-VIN 93)/ (V REFSH 88-VREFSL 90), Where N is the resolution, or number of bits, in data converter 12. In one embodiment, data converter 12 comprises a ?rst input multiplexer Which chooses from among a plurality of positive input voltages (DADP[0:3], AD[4:23], TEMPP) based on softWare con?guration (ADCHN) to create VIN 92, and Which also comprises a second input multiplexer Which chooses from among a plurality of negative input voltages (DADM[0:3], TEMPM) to create VIN 93. Data converter 12 also comprises a reference multiplexer Which chooses from among a plurality of positive reference voltages (V REFH, VALTH, VBGH) to create VREFH 88, and a second reference multiplexer Which chooses from among a plurality of nega tive reference voltages (VREFL, VALTL, VBGL) to create VREFL 90. Note that the terms “positive” and “negative” indicate the polarity of the signal relative to the other, and not to a ?xed reference such as ground. In one embodiment, both positive and negative signals and references are alWays equal to or greater than a ground reference. Alternate embodiments may function in a different manner.

[0035] For one embodiment, the SAR (successive approxi mation register) control circuitry 76 begins a conversion by placing the SAR Converter in an initial condition by asserting the INITIALIZE signal. A conversion Will begin When a trigger to convert signal (TRIGGER) is received by the SAR control circuitry 76 from the conversion trigger control cir cuit. Alternate embodiments may provide a trigger signal due to a variety of different circumstances. For example, a trigger may be received When a softWare register bit is Written (ADTRG), or When a hardWare signal ADHWT is received in the right conditions (e. g. these conditions may be determined by softWare con?guration [ADCSC1A-ADCSC1N, ADCSC2, ADCCFG1 and ADCCFG2] and/or hardWare sig nal conditioning [ADHWTSA-ADHWTSN]). When the asserted trigger signal is received, the SAR control circuitry 76 asserts the SAMPLE condition to the SAR converter, Which in turn samples the differential input voltage VIN 92-VIN 93 on the SAR array. The sample value can be modi ?ed by the PG and MG con?gurations stored in the calibration storage circuitry 68. [0036] In one embodiment, the SAR converter samples for a period indicated by softWare con?guration (ADLSMP, ADLSTS) in a multiple of the ADC input clock (ADCK) periods. The ADCK period may be controlled by softWare con?gurations (ADIV, ADICLK, ADACKEN) and hardWare clock sources (ADACK, BUS_CLOCK, and ALTCLK). The SAR control circuitry 76 then places the SAR converter into CONVERT mode. In one embodiment of CONVERT mode, the SAR converter subsequently compares the input voltage (VIN 92-VIN 93) to different fractions of the reference volt age (V REFSH 88-VREFSL 90). During each comparison, the converter successively sets or clears the corresponding digital output bit based on the compare result, and then

Apr. 1,2010

changes either the reference voltage or the input voltage by the appropriate fraction of the reference voltage (eg if com paring the input voltage to the reference voltage divided by tWo, if the comparison is greater, the output bit is set and the next comparison is to 3/4 times the reference voltage; if less, the output bit is cleared and the next comparison is to 1A times the reference voltage; either the reference voltage or the input voltage may be modi?ed during successive approximation). [0037] As the SAR converter approximates, it may modify the result as it proceeds With the values CLPx and CLMx stored in the calibration storage circuitry 68. When the SAR converter has made the appropriate number of successive approximations, SAR control circuitry 76 indicates that it is COMPLETE to the SAR trigger circuitry and instructs the SAR converter to TRANSFER the results to the output cir cuitry. In one embodiment, this output circuitry ?rst adjusts for offset in the OFFSET SUBTRACTOR, then employs averaging if so con?gured in the AVERAGER, and then for mats the data in the appropriate manner in the FORMAT TING circuit. These circuits may be controlled by softWare con?guration (ADCOFS, AVGE and AVGS, and MODE and DIFFn, respectively). The offset value OFS used by the OFF SET SUBTRACTOR, as Well as the con?guration values PG, MG, CLPx, and CLMx, may be created before conversion by the calibration control circuitry 66. Once formatted the result is compared to a compare value (CV1) or range (CV1, CV2) in the COMPARE LOGIC. Based on the softWare con?gura tion to the COMPARE LOGIC (ACFE, ACFGT, ACREN) the comparator Will transfer the result to the result registers (AD CRHAzADCRLA to ADCRHNzADCRLN) and set COMP ARE_TRUE. In one embodiment, the conversion trigger logic and SAR control circuitry 76 Will then determine, based on softWare con?guration (ADCO), Whether to begin another conversion or to ABORT the sequence and turn the SAR converter off. Alternate embodiments of the data converter 12 of FIG. 2 may use more, less, or different circuitry to imple ment circuitry for performing data conversion. [0038] FIG. 3 illustrates one embodiment of a portion of data converter 12 of FIG. 1. Referring to FIG. 3, the illustrated successive approximation (SAR) analog-to-digital converter (ADC or A/D converter) comprises a digital-to-analog con verter (DAC) 62 and a comparator 60 in a feedback loop With logic including a successive-approximation (SAR) register 96. In one embodiment, DAC 62 comprises an array of binary Weighted elements (eg capacitors 110-119 of FIG. 4). Alter nate embodiments may use any type of charge redistribution array for data conversion. In addition, alternate embodiments may use any desired and appropriate binary Weighted ele ments (e. g. resistive elements, capacitive elements, a combi nation thereof, etc.). Note that “N”, “M”, and “P” are being used to represent integers. For example, “bN” is the “nth bit” or “bit N”; similarly “b(N+M+P)” is the “(N+M+P)th bit” or “bit (N+M+P)”. [0039] During a conversion, a voltage input VIN 92 is sampled onto the DAC 62; then during a compare phase the DAC capacitors 110-119 are controlled to successively approximate the input voltage VIN 92 using the comparator 60 output to make decisions on hoW to sWitch the capacitors 110-119. At each step of the approximation, the comparator 60 output is stored in the SAR register 96 and the resulting digital Word (uncalibrated result 84) is the digital representa tion of the analog input voltage VIN 92. [0040] As the resolution of an SAR ADC 12 (see FIG. 2) increases, one of the major limitations is element matching

Page 21: MODULE 14, 18)
Page 22: MODULE 14, 18)
Page 23: MODULE 14, 18)
Page 24: MODULE 14, 18)
Page 25: MODULE 14, 18)
Page 26: MODULE 14, 18)
Page 27: MODULE 14, 18)
Page 28: MODULE 14, 18)
Page 29: MODULE 14, 18)
Page 30: MODULE 14, 18)
Page 31: MODULE 14, 18)
Page 32: MODULE 14, 18)
Page 33: MODULE 14, 18)
Page 34: MODULE 14, 18)
Page 35: MODULE 14, 18)
Page 36: MODULE 14, 18)
Page 37: MODULE 14, 18)
Page 38: MODULE 14, 18)