Capacitive flash analog to digital converter

Information

  • Patent Grant
  • 6617994
  • Patent Number
    6,617,994
  • Date Filed
    Thursday, October 11, 2001
    22 years ago
  • Date Issued
    Tuesday, September 9, 2003
    20 years ago
Abstract
An electronic circuit for a capacitive flash analog to digital converter for converting the ratio of first and second analog signals into a digital code representation using an array of parallel capacitive comparator branches. Each branch computing one bit of the digital code simultaneously according to its array index. The first analog signal is applied as a voltage difference between first signal nodes comprising a first positive signal node and a first negative signal node. The second analog signal is, applied as a voltage difference between second signal nodes comprising a second positive signal node and a second negative signal node.
Description




TECHNICAL FIELD




This invention relates to Analog to Digital Converters (ADCs), particularly to electronic circuits for flash ADCs with accurate capacitive weighting, one clock cycle conversion, simple control, interchangeable inputs, and linear or nonlinear conversion.




BACKGROUND OF THE INVENTION




Capacitance is the most accurate device in many Very Large Scale Integration (VLSI) processes. This is one of the reasons, that many ADCs use capacitors and the charge redistribution principle. The most compact architectures in the prior art perform the conversion in many steps, rather than in parallel to save hardware (for example U.S. Pat. No. 4,831,381, U.S. Pat. No. 4,517,549, U.S. Pat. No. 4,129,863, and U.S. Pat. No. 4,922,252). These ADCs are hardware efficient, but can not be used at very high speeds because many clock cycles are needed for the conversion.




Flash converters perform conversion in parallel, mostly in one clock cycle. Most of the n-bit architectures in the prior art use a resistive ladder with 2


n


resistors to generate a series of 2


n


reference voltages and 2


n


comparators in parallel to compare the input voltage to the plurality of the reference voltages. In these architectures the resistance of the switch which connects the resistive ladder to the reference voltage has to be taken into account. U.S. Pat. No. 4,742,330 discloses a capacitive flash ADC. This ADC performs 2


n


bit conversion using 2


n


parallel branches in three phases. In the first phase, offset cancellation takes place. In the second and the third phases the n-bit most significant bits (MSBs) and n-bit least significant bits (LSBs) are obtained respectively. The operation of the second phase is closely related to that of the classical flash ADC architecture with a resistive ladder which is described above. The MSBs determine the coarse range {V


i


. . . , V


i+1


} where the input signal lies. In the third phase, the LSBs are determined by dividing the coarse voltage range {V


i


. . . V


i+1


} into 2


n


fine voltage levels by using 2


n


parallel branches, each containing log2


n


binary weighted capacitors. Some of these capacitors are connected to V


i


and others to V


i+1


to interpolate between the two extremities. The 2


n


comparators compare the input voltage to the generated 2


n


fine reference voltages in parallel.




A general feature of prior art ADC implementations is that the architectures are not symmetric with respect to the two input voltages, namely the reference voltage and the signal voltage that is being converted. In general, it is also assumed that the reference voltage is non-time-varying. In the following a principle is disclosed which overcomes these limitations




It is aim of the invention to provide an electronic circuit for a capacitive flash ADC which ameliorates or overcomes one or more of the disadvantages of known capacitive flash ADC circuits:




It would be desirable if:




the architecture of the circuit is symmetric with respect to the two input voltages, so the reference voltage and the signal voltage which is being converted are interchangeable during operation,




the reference voltage can be time-varying and moreover can have as high a frequency components as the signal voltage which is being converted,




it will benefit from computing with the most accurate elements of VLSI processes capacitors,




it will perform analog to digital conversion within one clock cycle, and




the architecture is simple to control.




SUMMARY OF INVENTION




The present invention consists in an electronic circuit for a capacitive flash analog to digital converter for converting the ratio of first and second analog signals into a digital code representation using an array of parallel capacitive comparator branches, each branch computing one bit of the digital code simultaneously according to its array index, wherein the first analog signal is applied as a voltage difference between first signal nodes comprising a first positive signal node and a first negative signal node, the second analog signal is applied as a voltage difference between second signal nodes comprising a second positive signal node and a second negative signal node, each branch comprising:


















(i)




a comparator having a positive input node, a negative input node, a







positive output node and a negative output node,






(ii)




first and second positive capacitors having a positive common plate







connected to the positive input node of the comparator,






(iii)




first and second negative capacitors having a negative common







plate connected to the negative input node of the comparator, and






(iv)




first and second feedback switches; and














wherein the first and second positive capacitors also respectively have first and second positive opposite plates which are respectively switchably connected to the first and second signal nodes, and the first and second negative capacitors also respectively have first and second negative opposite plates which are respectively switchably connected to the first and second signal nodes.




Preferably the analog to digital conversion is performed within one clock cycle comprising a first and second phase.




Preferably the digital code is a digital thermometer code.




Preferably, in the first phase of the clock cycle, the first positive opposite plate is connected to the first positive signal node and the second positive opposite plate is connected to the second negative signal node, the first negative opposite plate is connected to the first negative signal node and the second negative opposite plate is connected to the second positive signal node, and the first feedback switch connects the negative output node to the positive input node of the comparator and the second feedback switch connects the positive output node to the negative input node of the comparator; and in the second phase of the clock cycle, the first positive opposite plate is connected to the first negative signal node and the second positive opposite plate is connected to the second positive signal node, the first negative opposite plate is connected to the first positive signal node and the second negative opposite plate is connected to the second negative signal node, and both first and second feedback switches are open, thereby outputting one bit of the digital code by the polarity of the voltage difference between the positive and negative output nodes of the comparator




Preferably the capacitances of the respective first positive, first negative, second positive and second negative capacitors are different for each branch according to the array index of that branch.




Preferably, in any one branch, the capacitance of the first positive capacitor substantially equals the capacitance of the first negative capacitor and the capacitance of the second positive capacitor substantially equals the capacitance of the second negative capacitor.




Preferably, in any one branch, the ratio of the capacitances of the first positive and second positive capacitors is a linear function of the array index of that branch, thereby providing a linear conversion between the ratio of the first and second analog signals and the digital code.




Alternatively it is preferred that, in any one branch, the ratio of the capacitances of the first positive and second positive capacitors is a nonlinear function of the array index of that branch, thereby providing a nonlinear conversion between the ratio of the first and second analog signals and the digital code.




Preferably the ratios of the capacitances of the respective capacitors in different branches are linearly spaced as a function of the array index.




Alternatively, it is preferred that the ratios of the capacitances of the respective capacitors in different branches are nonlinearly spaced as a function of the array index.




Preferably the first analog signal corresponds to the sine function of the phase angle of a periodic signal, the second analog signal corresponds to the cosine function of the phase angle of the periodic signal and, in any one branch, the ratio of the capacitances of first positive and second positive capacitors is a tangent function of a linear function of the array index of that branch, thereby providing a linear conversion between the phase angle and the digital code representation of this phase angle.











BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

shows an electronic circuit which demonstrates the basic principle of capacitive comparison of two analog signals;





FIG. 2

shows the corresponding differential arrangement of the electronic circuit shown in

FIG. 1

;





FIG. 3

shows an electronic circuit for a capacitive flash ADC according to the present invention;





FIG. 4

shows a detailed view of one capacitive comparator branch from

FIG. 3

; and





FIG. 5

shows the two phases of one clock cycle of the analog to digital conversion, performed by the electronic circuit according to the present invention.











MODE OF CARRYING OUT INVENTION





FIG. 1

shows the principle which is the basis of the electronic circuit of the capacitive flash ADC according to the present invention. The analog input signals ΔV


x


, ΔV


r


and output signal ΔV


out


are voltage transitions, rather than the corresponding voltages V


x


, V


r


and V


out


. In a traditional discussion of an ADC, the input signal V


x


could be the signal voltage which is being compared to predefined proportions of the reference voltage V


r


. However, in this embodiment of the present invention the circuit should be symmetric with respect to the two input signals, hence there is no fixed reference and in fact V


r


and V


x


can be interchanged.




In the following explanation, we refer to a plate of a capacitor as “common plate” if the plate is shared with the plate of another capacitor, and we use the term “opposite plate” to designate plates which are not shared. The basic idea of capacitive comparison is that the two input voltage transitions are applied to the opposite plates of the capacitors as shown in FIG.


1


. The transitions have opposite sign, so one transition decreases the common plate voltage of the capacitors while the other transition increases it. The larger the capacitor, the larger the influence of the respective input.




Using the charge conservation principle, we can calculate the output voltage transition that is applied to the input of the comparator in

FIG. 1

as:










Δ






V
out


=



Δ







V
r

·

C
r



-

Δ







V
x

·

C
x






C
r

+

C
x

+

C
0







[

eq

.1

]













where ΔV


x


and ΔV


r


are the input voltage transitions, C


x


and C


r


are the respective capacitance values and C


0


is the parasitic capacitance between the common plate and the ground. It is assumed that, before the input voltage transitions are applied, V


out


=0 so, after the input voltage transition, the comparator output will depend on th e sign of the output voltage transition. The comparator output “Bit” will be 1 if V


out


increases, or it will be −1 if V


out


decreases. From eq. 1 we obtain the comparator output:









Bit
=


sign


(

Δ






V
out


)


=

{



1




if







Δ






V
r



Δ






V
x




>


C
x


C
r








-
1





if







Δ






V
r



Δ






V
x




<


C
x


C
r






}






[

eq

.2

]













Consequently the capacitive comparator circuit compares the ratio of input voltage transitions to predefined ratio of capacitances C


x


/C


r


.





FIG. 2

shows the corresponding differential arrangement of the electronic circuit shown in FIG.


1


. Among the benefits of the differential arrangement is that both positive and negative voltage transitions can be simply generated by reversing the polarity of the differential signals.





FIG. 3

shows one embodiment of a capacitive flash ADC according to the present invention for converting the ratio of first and second analog signals into a digital code using an array of parallel branches of capacitive comparators. In this embodiment, the digital code demonstrated is a digital thermometer code. Hence, for example, an 8-bit representation of the decimal number “5” would be 00011111 and the 8-bit representation of the decimal number “6” would be 001 111111, etc. It should be recognized that digital codes other than thermometer codes would be also applicable according to the present invention. The analog to digital conversion is performed within one clock cycle


33


comprising a first phase


31


and a second phase


32


as shown in FIG.


5


. In the first phase


31


offset cancellation takes place while during the second phase


32


the actual analog to digital conversion is performed.

FIG. 4

shows a detailed view of one capacitive comparator branch


10


in FIG.


3


.




In the first phase, as shown in

FIGS. 3 and 4

with all the switches in position “1”, switch sets


11


and


12


are in a first configuration so that the first analog signal V


x


has effectively positive polarity while the second analog signal V


r


has effectively negative polarity. Hence first positive opposite plate


20




a


of first positive capacitor


20


is connected to first positive signal node


11




a


of switch set


11


, and second positive opposite plate


18




a


of second positive capacitor


18


is connected to second negative signal node


12




b


of switch set


12


. First negative opposite plate


21




a


of first negative capacitor


21


is connected to first negative signal node


11




b


of switch set


11


, and second negative opposite plate


19




a


of second negative capacitor


19


is connected to second positive signal node


12




a


of switch set


12


. First feedback switch


13


connects negative output node


16


to positive input node


22


of comparator


15


, and second feedback switch


14


connects positive output node


17


to negative input node


23


of comparator


15


. The negative feedback through the closed feedback switches


13


,


14


forces the differential voltage between positive input node


22


and negative input node


23


, and differential voltage between positive output node


17


and negative output node


16


of comparator


15


, both to zero.




In the second phase, not shown but similar to

FIGS. 3 and 4

except that all the switches are now in position “2”, switch sets


11


and


12


are in a second configuration so that the first analog signal V


x


has effectively negative polarity while the second analog signal V


r


has effectively positive polarity. Hence first positive opposite plate


20




a


of first positive capacitor


20


is connected to first negative signal node


11




b


of switch set


11


, and second positive opposite plate


18




a


of second positive capacitor


13


is connected to second positive signal node


12




a


of switch set


12


. First negative opposite plate


21




a


of first negative capacitor


21


is connected to first positive signal node


11




a


of switch set


11


, and second negative opposite plate


19




a


of second negative capacitor


19


is connected to second negative signal node


12




b


of switch set


12


. Feedback switches


13


,


14


are open, thereby outputting one bit of the thermometer code by the polarity of the voltage difference between positive output node


17


and negative output node


16


of comparator


15


.




The capacitance ratios in the array of parallel capacitive comparator branches define the reference levels for the analog to digital conversion. This is now described in reference to capacitive comparator branch


10


, shown in detail in FIG.


4


. It should be noted that all the parallel branches have a similar electronic circuit, except for the actual capacitance values of capacitors


18


,


19


,


20


,


21


.




The total number of parallel branches n determines the resolution (ie. the number of bits) of the digital thermometer code, for example if 8 parallel branches of capacitive comparators are used (n=8), the output of the ADC will have a resolution of 8 bits. In this context it should be noted that an 8 bit resolution in the case of a thermometer code encodes only 8 different levels, rather than 256 levels as in the case of a non-redundant 8 bit binary code. The n parallel capacitive comparator branches (eg. branch


10


) all receive the same voltage transitions corresponding to the first and second analog signals, and compare the ratio of these voltage transitions in parallel via n predefined capacitance ratios. The predefined ratios are the ratio of weighting capacitances


20


and


18


(or


21


and


19


) ie. C


x


/C


r


.




The common plate


20




b


/


18




b


of first and second positive capacitors


18


and


20


are connected to positive input node


22


of comparator


15


, and the common plate


21




b


/


19




b


of first and second negative capacitors


21


and


19


are connected to negative input node


23


of comparator


15


. During the second phase of the clock cycle, the first positive opposite plate


20




a


of first positive capacitor


20


and the first negative opposite plate


21




a


of first negative capacitor


21


are connected respectively to first negative signal node


11




b


(V


x−


) and first positive signal node


11




a


(V


x+


). Similarly the second positive opposite plate


18




a


of second positive capacitor


18


and the second negative opposite plate


19




a


of second negative capacitor


19


are connected respectively to second positive signal node


12




a


(V


r+


) and second negative signal node (V


r−


). The capacitances of the first positive and negative capacitors


20


and


21


are accurately matched (ie. designed to have equal capacitance) and the capacitances of the second positive and negative capacitors


18


and


19


are similarly matched. Hence, during this second phase of the clock cycle, the voltage transition at positive input node


22


and negative input node


23


of comparator


5


can each be obtained from eq.1 as respectively:










Δ






V
22


=





(


V

r
+


-

V

r
-



)

·

C
r


-


(


V

x
+


-

V

x
-



)

·

C
x





C
r

+

C
x

+

C
0



=




V
r

·

C
r


-


V
x

·

C
x





C
r

+

C
x

+

C
0








[

eq

.3

]







Δ






V
23


=





(


V

r
-


-

V

r
+



)

·

C
r


-


(


V

x
-


-

V

x
+



)

·

C
x





C
r

+

C
x

+

C
0



=




-

V
r


·

C
r


+


V
x

·

C
x





C
r

+

C
x

+

C
0








[

eq

.4

]













where V


r+


and V


r−


are respectively the voltages at the second positive signal node


12




a


and second negative signal node


12




b


of switch set


12


due to the second analog (differential voltage) signal V


r


(ie. V


r


=V


r+


−V


r−


), V


x+


and V


x−


are respectively the voltages at the first positive signal node


11




a


and the first negative signal node


11




b


of switch set


11


due to the first analog (differential voltage) signal V


x


(ie. V


x=


V


x+


−V


x−


). C


x


is the weighting capacitance of V


x


, C


r


is the weighting capacitance of V


r


, and C


0


is the parasitic capacitance between the respective common plates and ground.




Therefore the differential voltage transition between positive input node


22


and negative input node


23


of comparator


15


is given by subtraction as:










Δ






V

22
,
23



=

2









V
r

·

C
r


-


V
x

·

C
x





C
r

+

C
x

+

C
0








[

eq

.5

]













In general, the n-th bit of the thermometer code, corresponding to the (binary) differential voltage transition between the positive output node


16


and the negative output node


17


of comparator


15


can be obtained similarly to eq.2:









Bit
,

n
=


sign


(

Δ






V

22
,
23
,
n



)


=

{



1




if







V
r


V
x



>


C

x
,
n



C

r
,
n









-
1





if







V
r


V
x



<


C

x
,
n



C

r
,
n







}







[

eq

.6

]













The binary string (Bit,


1


; Bit,


2


; Bit,


3


. . . Bit,n) therefore comprises a digital n-bit thermometer code representation of the ratio of the first and second analog (differential voltage) signals V


r


/V


x


.




To obtain a linear ADC that analog to digital converts the first analog signal V


x


, the second analog signal V


r


is applied as a reference and the weighting capacitance ratios are arranged to be a linear function of the array index. Hence:








C




x,1




/C




r,1




=n












C




x,2




/C




r,2




=n


−1










C




x,3




/C




r,3




=n


−2








.








.








.










C




x,n




/C




r,n


=1






Note, that in this embodiment, the weighting capacitances of the larger analog signal (ie. the reference voltage) are smaller than the weighting capacitances of the smaller analog signal (ie. the voltage signal on which analog to digital conversion is to be performed). Consequently, in this arrangement, the input signals are not interchangeable after fixing the capacitance ratios.




In other possible embodiments of the electronic circuit according to the present invention, the set of capacitance ratios is not restricted to a linearly spaced vector. Not even monotonicity is actually required.




One such possible embodiment is an electronic circuit of a particular nonlinear ADC. Assume that the phase angle a of a periodic signal is to be encoded, but phase angle a is not directly accessible. The only indirect information available about phase angle a is two analog signals, one is proportional to the sine function of the phase angle, and the other is proportional to the cosine function of the phase angle. Viz:








V




r




=c


·sin(α)  [eq.7]










V




x




=c


·cos(α)  [eq.8]






To obtain linear conversion from phase angle α to an n-bit thermometer code representation of α, the weighting capacitance ratios are designed to be the tangent function of the phase angle ie. the tangent function of a linear function of the array index. Viz, for a phase angle a which varies in the range 0<α<π/4:








C




xi




/C




ri


=tan(α


i





i =i


π/4


n


for


i


=1


. . . n


  [eq.9]






It will be appreciated, that the above descriptions are intended only to serve as examples, and that many other embodiments are possible within the spirit and the scope of the present invention.



Claims
  • 1. An electronic circuit for a capacitive flash analog to digital converter for converting a ratio of first and second analog signals into a digital code representation using an array of parallel capacitive comparator branches, each branch computing one bit of the digital code simultaneously according to its array index, wherein the first analog signal is applied as a voltage difference between first signal nodes comprising a first positive signal node and a first negative signal node, the second analog signal is applied as a voltage difference between second signal nodes comprising a second positive signal node and a second negative signal node, each branch comprising:(i) a comparator having a positive input node, a negative input node, a positive output node and a negative output node, (ii) first and second positive capacitors having a positive common plate connected to the positive input node of the comparator, (iii) first and second negative capacitors having a negative common plate connected to the negative input node of the comparator, and (vi) first and second feedback switches; and wherein the first and second positive capacitors also respectively have first and second positive opposite plates which are respectively switchably connected to the first and second signal nodes, and the first and second negative capacitors also respectively have first and second negative opposite plates which are respectively switchably connected to the first and second signal nodes.
  • 2. An electronic circuit as claimed in claim 1, wherein the analog to digital conversion is performed within one clock cycle comprising a first and second phase.
  • 3. An electronic circuit as claimed in claim 1, wherein the digital code is a digital thermometer code.
  • 4. An electronic circuit as claimed in claim 2, wherein in the first phase of the clock cycle, the first positive opposite plate is connected to the first positive signal node and the second positive opposite plate is connected to the second negative signal node, the first negative opposite plate is connected to the first negative signal node and the second negative opposite plate is connected to the second positive signal node, and the first feedback switch connects the negative output node to the positive input node of the comparator and the second feedback switch connects the positive output node to the negative input node of the comparator; and in the second phase of the clock cycle, the first positive opposite plate is connected to the first negative signal node and the second positive opposite plate is connected to the second positive signal node, the first negative opposite plate is connected to the first positive signal node and the second negative opposite plate is connected to the second negative signal node, and both first and second feedback switches are open, thereby outputting one bit of the digital code by the polarity of the voltage difference between the positive and negative output nodes of the comparator.
  • 5. An electronic circuit as claimed in claim 1, wherein the capacitances of the respective first positive, first negative, second positive and second negative capacitors are different for each branch according to the array index of that branch.
  • 6. An electronic circuit as claimed in claim 1, wherein in any one branch, the capacitance of the first positive capacitor substantially equals the capacitance of the, first negative capacitor and the capacitance of the second positive capacitor substantially equals the capacitance of the second negative capacitor.
  • 7. An electronic circuit as claimed in claim 6, wherein in any one branch, the ratio of the capacitances of the first positive and second positive capacitors is a linear function of the array index of that branch, thereby providing a linear conversion between the ratio of the first and second analog signals and the digital code.
  • 8. An electronic circuit as claimed in claim 6, wherein in any one branch, the ratio of the capacitances of the first positive and second positive capacitors is a nonlinear function of the array index of that branch, thereby providing a nonlinear conversion between the ratio of the first and second analog signals and the digital code.
  • 9. An electronic circuit as claimed in claim 1, wherein the ratios of the capacitances of the respective capacitors in different branches are linearly spaced as a function of the array index.
  • 10. An electronic circuit as claimed in claim 1, wherein the ratios of the capacitances of the respective capacitors in different branches are nonlinearly spaced as a function of the array index.
  • 11. An electronic circuit as claimed in claim 8, wherein the first analog signal corresponds to the sine function of the phase angle of a periodic signal, the second analog signal corresponds to the cosine function of the phase angle of the periodic signal and, in any one branch, the ratio of the capacitances of first positive and second positive capacitors is a tangent function of a linear function of the array index of that branch, thereby providing a linear conversion between the phase angle and the digital code representation of this phase angle.
Priority Claims (2)
Number Date Country Kind
PP 7828 Dec 1998 AU
PQ 1097 Jun 1999 AU
PCT Information
Filing Document Filing Date Country Kind
PCT/AU99/01063 WO 00
Publishing Document Publishing Date Country Kind
WO00/38326 6/29/2000 WO A
US Referenced Citations (12)
Number Name Date Kind
4129863 Gray et al. Dec 1978 A
4395732 Upton Jul 1983 A
4517549 Tsukakoshi May 1985 A
4547763 Flamm Oct 1985 A
4742330 Doernberg et al. May 1988 A
4764753 Yukawa Aug 1988 A
4831381 Hester May 1989 A
4922252 Draxelmayr et al. May 1990 A
5138319 Tesch Aug 1992 A
5214430 Gulczynski May 1993 A
6097326 Opris et al. Aug 2000 A
6268813 de Wit Jul 2001 B1
Non-Patent Literature Citations (2)
Entry
Patent Abstracts of Japan, JP 09/148932 A (Fuji Xerox Co Ltd) Jun. 6, 1997.
Patent Abstracts of Japan, JP 07/095030 A (Takayama, KK) Apr. 7, 1997.