Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ANALOG-TO-DIGITAL CONVERTER CIRCUIT
Document Type and Number:
WIPO Patent Application WO/2020/173558
Kind Code:
A1
Abstract:
An ADC circuit (50) is disclosed. It comprises a global input configured to receive an input voltage (Vin) and a plurality of converter circuits (105l-105N). Each converter circuit (105j) comprises a comparator circuit (70j) having a first input connected to the global input, a second input, and an output configured to output a one-bit output signal of the comparator circuit (70j). Furthermore, each converter circuit (105j) comprises a one-bit current-output DAC (110j) having an input directly controlled from the output of the comparator circuit (70j) and an output connected to the second input of the comparator circuit (70j). The second inputs of all comparator circuits are interconnected. The ADC circuit (50) further comprises a digital output circuit (130) configured to generate an output signal z[n] of the ADC circuit (50) in response to the one-bit output signals of the comparator circuits (70j).

Inventors:
FREDRIKSSON HENRIK (SE)
SJÖLAND HENRIK (SE)
Application Number:
PCT/EP2019/054855
Publication Date:
September 03, 2020
Filing Date:
February 27, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ERICSSON TELEFON AB L M (SE)
International Classes:
H03M1/04; H03M3/02
Foreign References:
US20080068245A12008-03-20
Other References:
DENIS C DALY ET AL: "A 6-bit, 0.2 V to 0.9 V Highly Digital Flash ADC With Comparator Redundancy", IEEE JOURNAL OF SOLID-STATE CIRCUITS, IEEE SERVICE CENTER, PISCATAWAY, NJ, USA, vol. 44, no. 11, 1 November 2009 (2009-11-01), pages 3030 - 3038, XP011279259, ISSN: 0018-9200, DOI: 10.1109/JSSC.2009.2032699
Y. ZHANG ET AL: "Efficient technique for excess loop delay compensation in continuous-time [Delta][Sigma] modulators", ELECTRONICS LETTERS, vol. 49, no. 24, 21 November 2013 (2013-11-21), GB, pages 1522 - 1523, XP055646270, ISSN: 0013-5194, DOI: 10.1049/el.2013.3470
SKYLER WEAVER ET AL: "Stochastic Flash Analog-to-Digital Conversion", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I: REGULAR PAPERS, IEEE, US, vol. 57, no. 11, 1 November 2010 (2010-11-01), pages 2825 - 2833, XP011311896, ISSN: 1549-8328
T. SUNDSTROM; A. ALVANDPOUR: "Utilizing Process Variations for Reference Generation in a Flash ADC", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS - II, vol. 56, no. 5, May 2009 (2009-05-01), pages 364 - 368, XP011334027, DOI: doi:10.1109/TCSII.2009.2019165
B. VERBRUGGEN: "A 60 dB SNDR 35MS/s SAR ADC with Comparator-Noise-Based Stochastic Residue Estimation", IEEE JOURNAL OF SOLID-STATE CIRCUIT, vol. 50, no. 9, September 2015 (2015-09-01), pages 2002 - 2011, XP011667481, DOI: doi:10.1109/JSSC.2015.2422781
HIRAI ET AL.: "A Delta-Sigma ADC with Stochastic Quantization", IPSJ (INFORMATION PROCESSING SOCIETY OF JAPAN) TRANSACTIONS ON SYSTEM LSI DESIGN METHODOLOGY, vol. 8, August 2015 (2015-08-01), pages 123 - 130
Attorney, Agent or Firm:
ERICSSON (SE)
Download PDF:
Claims:
CLAIMS

1. An analog-to-digital converter, ADC, circuit (50), comprising

a global input configured to receive an input voltage ( Vin);

a plurality of converter circuits (1051-105N), wherein each converter circuit (105j) comprises:

a comparator circuit (70j) having a first input connected to the global input, a second input, and an output configured to output a one-bit output signal of the comparator circuit (70j); and

a one-bit current-output digital-to-analog converter, DAC, ( 110j) having an input directly controlled from the output of the comparator circuit (70j) and an output connected to the second input of the comparator circuit (70j); wherein

the second inputs of all comparator circuits are interconnected; and

the ADC circuit (50) comprises a digital output circuit (130) configured to generate an output signal z[n] of the ADC circuit (50) in response to the one-bit output signals of the comparator circuits (70j).

2. The ADC circuit (50) of claim 1, comprising a capacitor circuit (120) connected to the interconnected second inputs of the comparator circuits (701-70N).

3. The ADC circuit (50) of claim 1 or 2, wherein the second inputs of the comparator circuits (70j) are formed by gate terminals of field-effect transistors.

4. The ADC circuit (50) of any preceding claim, wherein the comparator circuit (70j) is a clocked comparator circuit configured to update the output signal of the comparator circuit

(70j) periodically in response to a clock signal (clk).

5. The ADC circuit (50) of any preceding claim, wherein the digital output circuit (130) comprises a digital summation circuit (140) configured to generate a sum signal y[n] as a sum of the one-bit output signals from the comparator circuits (70j).

6. The ADC circuit (50) of claim 5, wherein the digital output circuit (130) comprises a filter circuit (150) configured to generate a filtered sum signal v[n] by filtering the sum signal y[n].

7. The ADC circuit (50) of claim 6, wherein the filter circuit (150) is an accumulator.

8. The ADC circuit (50) of claim 6 or 7, wherein the filtered sum signal is the output signal z[n] of the ADC circuit.

9. The ADC circuit (50) of any one of claims 6-8, wherein the digital output circuit (130) comprises a mapping circuit (190) configured to generate a mapped sum signal ê[n] in response to the sum signal y[n] as ê[n] = cdf-1(y[n + 1]), where cdf-1(·) in an inverse of a monotone nonlinear mapping cdf(-).

10. The ADC circuit (50) of claim 9, wherein a sum of the mapped sum signal ê[n] and the filtered sum signal is the output signal z[n] of the ADC circuit (50).

11. An integrated circuit comprising the ADC circuit (50) of any one of the claims 1-10.

12. An electronic apparatus (1, 2) comprising the ADC circuit (50) of any one of the claims 1 - 10. 13. The electronic apparatus (1, 2) of claim 12, wherein the electronic apparatus (1, 2) is a communication apparatus.

14. The electronic apparatus (1) of claim 13, wherein the communication apparatus is a wireless communication device for a cellular communications system.

15. The electronic apparatus (1) of claim 13, wherein the communication apparatus is a base station for a cellular communications system.

Description:
ANALOG-TO-DIGITAL CONVERTER CIRCUIT

Technical field

The present invention relates to analog-to-digital conversion.

Background

There is a trend in wireless transceivers for 5G (5th generation cellular networks) and other standards to use ever higher bandwidth, posing stringent requirements on the analog to digital converters (ADCs). One way of achieving high speed is using flash-ADCs. It uses one separate comparator per digital level of the signal, i.e. 2 N — 1 comparators, where N is the number of bits. By performing 2 N — 1 parallel comparisons, the N -bit analog to digital conversion can be completed in a single clock cycle. The accuracy requirement in terms of noise and offset in each comparator also increases exponentially with N. Although fast, it is therefore typically difficult to achieve sufficient resolution for wireless systems, and the power consumption is often high. To ensure efficient use of the 2 N — 1 comparators implemented, the noise (and offset) levels are designed to be significantly lower than the quantization noise, i.e. such a flash ADC is normally not thermal noise limited. Another issue is the high input capacitance, posing stringent requirements on buffers. Although newer semiconductor technologies offer higher speed, the supply voltage to offset and noise ratio is degraded, which is a drawback to high resolution flash-ADCs.

One way of achieving higher resolution is to use delta-sigma modulators. The increase of resolution, however, comes at the cost of reduced speed, so for very high speed the additional resolution that can be achieved is limited. A combination of a fast and medium resolution flash- ADC and delta sigma modulation can then be attractive. However, all delays in the loop must be kept short to avoid stability issues.

To address the problem of comparator offsets in flash-ADCs, and even turn it into something useful, statistical (or“stochastic”) flash-ADCs can be used. A larger number of relatively small comparator circuits are then used, with the same reference level, and the number of comparators with high logic level outputs are counted to find the digital output. With a Gaussian distribution of comparator circuit offset and noise, the ADC gets a corresponding transfer, i.e. a Gaussian one. To address the non-linearity of the Gaussian function, a calibration with selection of comparator circuits with uniformly distributed offsets can be performed, which is e.g. described in T. Sundstrom, A. Alvandpour,“Utilizing Process Variations for Reference Generation in a Flash ADC”, IEEE Transactions on Circuits and Systems - II, Vol. 56, No. 5, pp. 364-368, May 2009. Another way is to cascade the statistical flash- ADC with the inverse non-linearity in a post-distortion arrangement, which is e.g. disclosed in B. Verbruggen et. AL,“A 60 dB SNDR 35MS/s SAR ADC with Comparator- Noise-Based Stochastic Residue Estimation”, IEEE Journal of Solid-State Circuit, Vol. 50, No. 9, pp. 2002-2011, Sept. 2015.

Hirai et al,“A Delta-Sigma ADC with Stochastic Quantization”, IPSJ (Information Processing Society of Japan) Transactions on System LSI Design Methodology, vol. 8, pp. 123-130, Aug. 2015, considers application of stochastic analog-to-digital conversion to multi bit delta-sigma modulators. A resistive reference ladder is used to coarsely determine quantization levels, whereas digitally controlled comparators implemented using stochastic flash ADCs finely determine the quantization levels.

Summary

The inventors have developed a feedback technique where, for each comparator circuit, a digital-to-analog converter (DAC) circuit is directly controlled from the comparator circuit’s output and has its output connected to an input of the comparator circuit. This technique can provide linearization with relatively wide bandwidth.

According to a first aspect, an analog-to-digital converter (ADC) circuit is provided. It comprises a global input configured to receive an input voltage and a plurality of converter circuits. Each converter circuit comprises a comparator circuit having a first input connected to the global input, a second input, and an output configured to output a one-bit output signal of the comparator circuit. Furthermore, each converter circuit comprises a one-bit current- output digital-to-analog converter (DAC) having an input directly controlled from the output of the comparator circuit and an output connected to the second input of the comparator circuit. The second inputs of all comparator circuits are interconnected. The ADC circuit further comprises a digital output circuit configured to generate an output signal z[n] of the ADC circuit in response to the one-bit output signals of the comparator circuits.

The ADC circuit may comprise a capacitor circuit connected to the interconnected second inputs of the comparator circuits.

The second inputs of the comparator circuits may be formed by gate terminals of fleld- effect transistors.

The comparator circuit may be a clocked comparator circuit configured to update the output signal of the comparator circuit periodically in response to a clock signal. The digital output circuit may comprise a digital summation circuit configured to generate a sum signal y[n] as a sum of the one-bit output signals from the comparator circuits. The digital output circuit may comprise a filter circuit configured to generate a filtered sum signal v[n] by filtering the sum signal y[n] The filter circuit may be an accumulator.

In some embodiments, the filtered sum signal v[n] is the output signal z[n] of the ADC circuit.

The digital output circuit may comprise a mapping circuit configured to generate a mapped sum signal e[n] in response to the sum signal y[n] as ê[n] = cdf -1 ( [n + 1]), where cdf -1 (·) in an inverse of a monotone nonlinear mapping cdf(·).

In some embodiments, a sum of the mapped sum signal ê[n] and the filtered sum signal v[n] is the output signal z[n] of the ADC circuit.

According to a second aspect, there is provided an integrated circuit comprising the ADC circuit of the first aspect.

According to a third aspect, there is provided an electronic apparatus comprising the ADC circuit of the first aspect. The electronic apparatus may, for instance, be a communication apparatus, such as (but not limited to) a wireless communication device or a base station for a cellular communications system.

Further embodiments are defined in the dependent claims. It should be emphasized that the term“comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps, or components, but does not preclude the presence or addition of one or more other features, integers, steps, components, or groups thereof.

Brief description of the drawings

Fig. 1 illustrates a communication environment.

Fig. 2 is a block diagram of a transceiver circuit.

Fig. 3 illustrates a statistical flash ADC.

Fig. 4 shows plots of distribution functions.

Fig. 5 shows plots of cumulative distribution functions.

Fig. 6 shows a functional model of embodiments.

Fig. 7 is a block diagram of an embodiment of an ADC circuit.

Figs. 8-9 are block diagrams of embodiments of a digital output circuit.

Fig. 10 is a block diagram of an embodiment of a filter circuit.

Fig. 11 is a block diagram of an embodiment of a digital output circuit.

Fig. 12 is a schematic circuit diagram of a comparator circuit. Fig. 13 is a schematic circuit diagram of a one-bit DAC circuit.

Fig. 14 illustrates an integrated circuit.

Detailed description

Fig. 1 illustrates a communication environment wherein embodiments of the present invention may be employed. A wireless communication device 1 , or wireless device 1 for short, of a cellular communications system is in wireless communication with a radio base station 2 of the cellular communications system. The wireless device 1 may be what is generally referred to as a user equipment (UE). The wireless devices 1 is depicted in Fig. 1 as a mobile phone, but may be any kind of device with cellular communication capabilities, such as a tablet or laptop computer, machine-type communication (MTC) device, or similar.

Furthermore, a cellular communications system is used as an example throughout this disclosure. However, embodiments of the present invention may be applicable in other types of systems as well, such as but not limited to WiFi systems.

The radio base station 2 and wireless device 1 are examples of what in this disclosure is generically referred to as communication apparatuses. Embodiments are described below in the context of a communication apparatus in the form of the radio base station 2 or wireless device 1. However, other types of communication apparatuses can be considered as well, such as a WiFi access point or WiFi enabled device.

Fig. 2 is a block diagram of an embodiment of a transceiver circuit 10, which can be comprised in a communication apparatus, such as the radio base station 2 or the wireless device 1. In the embodiment illustrated in Fig. 2, the transceiver circuit 10 comprises a digital signal processing (DSP) circuit 15. The DSP circuit 15 may e.g. be what is commonly referred to as baseband processor. The DSP circuit 15 may e.g. be configured to perform various digital signal processing tasks, such as one or more of coding, decoding, modulation, demodulation, fast Fourier transform (FFT), inverse FFT (IFFT), mapping, demapping, etc.

Furthermore, in the embodiment illustrated in Fig. 2, the transceiver circuit 10 comprises a transmitter circuit 20. The transmitter circuit 20 comprises a digital-to-analog converter (DAC) circuit 25. The DAC circuit 25 is connected to the DSP circuit 15 and configured to receive, as an input signal of the DAC circuit 25, a digital representation of a signal to be transmitted from the DSP circuit 15. The DAC circuit 25 is further configured to convert the signal to be transmitted to an analog representation, which is an output signal of the DAC circuit 25. The transmitter circuit 20 also comprises a transmitter (Tx) frontend (FE) circuit 30 connected between the DAC circuit 25 and an antenna 35. The Tx FE circuit 30 is configured to transform the output signal from the DAC circuit 25 to a format suitable for transmission via the antenna 35. This may include operations such as frequency upconversion, filtering, and/or amplification. The Tx FE circuit 30 may comprise one or more mixers, filters, and/or amplifiers, such as power amplifiers (PAs), to perform such operations. The design of such Tx FE circuits is, per se, well known to a person skilled in the field of radio transceiver design, and is not discussed herein in any further detail.

Moreover, in the embodiment illustrated in Fig. 2, the transceiver circuit 10 comprises a receiver circuit 40. The receiver circuit 40 comprises a receiver (Rx) FE circuit 45 connected to the antenna 35. Furthermore, the receiver circuit 40 comprises an ADC circuit 50. The ADC circuit 50 is connected between the Rx FE circuit 45 and the DSP circuit 15. The Rx FE circuit 45 is configured to transform a signal received via the antenna 35 to a format suitable to be input to the ADC circuit 50. This may include operations such as frequency

downconversion, filtering, and/or amplification. The Rx FE circuit 45 may comprise one or more mixers, filters, and/or amplifiers, such as low-noise amplifiers (FNAs), to perform such operations. The design of such Rx FE circuits is, per se, well known to a person skilled in the field of radio transceiver design and is not discussed herein in any further detail. The ADC circuit 50 is configured to receive its (analog) input signal from the Rx FE circuit and convert it to a digital representation to generate the digital output signal of the ADC circuit 50. This digital output signal of the ADC circuit 50 is input to the DSP circuit 15 for further digital signal processing.

Fig. 3 illustrates a statistical flash ADC 60. The discrete-time analog input signal is denoted s[n], where n is an integer sequence index pointing out a particular sample. The statistical flash ADC 60 comprises a plurality of parallel comparators, collectively referred to with the reference number 70. For the sake of illustration, it is assumed that the output of such a comparator is '1' when the input signal level exceeds a threshold, and‘O’ otherwise, but it may well be the other way around in some implementations. Due to, e.g., manufacturing inaccuracies, there is a spread in input offsets of the comparators 70, i.e. they have different input offsets. Another factor that causes the comparators 70 to behave mutually different is noise. The noise can be considered to provide a time- varying component to the input offset of individual comparators 70. Normally, relatively low noise is desired in comparators.

However, in a statistical flash ADC, noise is actually desired as it contributes a desired statistical spread, further discussed below. This means that the noise constraints when designing the comparators 70 is significantly relaxed compared with regular comparator design. The input offsets of the comparators 70 are referred to in the following simply as“the offsets”. Another way of viewing this is that the comparators 70 have different threshold levels. Typically, the offsets, both due to manufacturing inaccuracies and due to noise, will have a Gaussian, or close to Gaussian, distribution. This statistical spread in offset is utilized to provide analog-to-digital conversion. With increasing value of the input signal s[n], the number of comparators outputting a '1' also increases. Hence, the number of comparators outputting a '1' is a digital representation of the value of the analog input signal s [n] . It should be noted that if there was no spread in offset, the comparators would all transition from '1' to '0', and vice versa, at the same threshold, and would provide no additional information on the value of the input signal s[n] than a single comparator. An output signal y[n] is formed by the one-bit outputs of the comparators 70. In the following description, y[n] is considered to be a number equal to the number of comparators 70 whose output is '1.' In Fig. 3, the output signal y[n] is represented with a digital word, each bit of which corresponds to the output of one of the comparators 70. However, in some implementations, other number representations may be used. For instance, the output signal y[n] may be represented as a binary number (base 2) by including a circuit that counts the number of comparator outputs that are '1' and outputs the result in a binary number representation. Representations in other number systems may be accomplished in a similar manner.

Fig. 4 shows plots of distribution functions for the offsets. If the comparators are well matched, the distribution function of the offset will have a relatively narrow peak, as illustrated with the dashed plot of an offset distribution function in Fig. 4. This corresponds to a relatively small useful input range for the statistical flash ADC 60. To obtain a wider input range, comparators with worse matching of the offsets should be used, e.g. as illustrated with the solid plot of an offset distribution function in Fig. 4. Poor matching can e.g. be obtained by implementing the comparators with transistors having a small physical feature size (small channel length and channel with), for instance using the smallest possible transistor sizes of a given manufacturing technology.

Fig. 5 shows plots of cumulative distribution functions (CDFs) corresponding to the distribution functions in Fig. 4. The dashed CDF in Fig. 5 corresponds to the dashed distribution function in Fig. 4, and the solid CDF in Fig. 5 corresponds to the solid

distribution function in Fig. 4. The CDF for a given offset value is obtained by integrating the corresponding distribution function from 0 to that offset value. The CDF can be viewed as the transfer characteristic from s [n] to y [n] of the statistical flash ADC 60; the term offset on the x-axis can be replaced with s [n] and the term CDF on the y-axis can be replaced with the number y[n], i.e. the number of bits in the word representing y[n] that is ' 1 ' . The solid CDF is less steep than the dashed CDF, which is again an indication of a wider useful input range resulting from a larger spread in offset values.

Fig. 6 shows a functional model of embodiments disclosed herein. The output y[n] of a statistical flash ADC 60 is applied in a feedback loop via a DAC 80 and a discrete-time integrator (or“accumulator”) 90 to provide a feedback signal v[n]. The feedback signal v[n] is subtracted from the analog input signal to generate a difference signal e[n] . The difference signal e[n] is used as an input signal to the statistical flash ADC 60. This arrangement is similar to a first-order delta-sigma modulator and is operative to linearize the transfer characteristic, compared with the circuit shown in Fig. 3 without any feedback loop. The model depicted in Fig. 6 can be described in mathematical terms as follows:

s[n]— v[n] = e[n]

(1)

Assuming that the conversion takes one sampling clock cycle, y[n + 1] = CDF(e[n])

(2) where CDF(·) is the cumulative distribution function of the statistical flash ADC.

Furthermore,

v[n] = v[n— 1] + k · y[n]

(3) where k is a gain of the integrator 90.

Fig. 7 is a block diagram of an embodiment of the ADC circuit 50 which is configured to operate according to the principle described above in connection with Fig. 6. In Fig. 6, the ADC circuit 50 comprises a global input configured to receive an input voltage V in . This input voltage V in corresponds to the discrete-time analog input signal s[n] in Fig. 6. Furthermore, the ADC circuit comprises a plurality of converter circuits 105 1 -105 N . Each converter circuit 105 j comprises a comparator circuit 70 j (corresponding to the comparators 70 of Fig. 3) having a first input connected to the global input terminal, a second input, and an output. The output is configured to output a one-bit output signal of the comparator circuit 70 j .

Furthermore, each converter circuit 105 / comprises a one-bit current-output DAC (ID AC)

110 having an input directly controlled from the output of the comparator circuit 70 j and an output connected to the second input of the comparator circuit 70 j . The second inputs of all comparator circuits are interconnected. Moreover, the ADC circuit 50 comprises a digital output circuit 130 configured to generate an output signal z[n] of the ADC circuit 50 in response to the one-bit output signals of the comparator circuits 70 j .

In Fig. 7, the ADC circuit 50 comprises a capacitor circuit 120 connected to the

interconnected second inputs of the comparator circuits 70 j . The capacitor circuit 120 may for instance be implemented as a parallel-plate capacitor between metal regions of an integrated circuit, as a MOS (Metal Oxide Semiconductor) capacitor by shorting the drain and source of a MOSFET (MOS Field Effect Transistor), or in any other way suitable to implement a capacitor in an integrated circuit. The total capacitance C tot at the interconnected second inputs includes both the capacitance of the capacitor circuit 120 and any parasitic capacitance at the interconnected second inputs of the comparator circuits 70 1 -70 N .

The output currents from the IDACs 110 1 -110 N are summed, and integrated as an accumulated electrical charge in the capacitance C tot at the interconnected second inputs of the comparator circuits 70 1 -70 N , thereby forming a voltage V ref as indicated in Fig. 7. The voltage V ref corresponds to the feedback signal v[n] in Fig. 6. The term V ref is used for this voltage because it is the reference level with which the input voltage V in is compared in the comparators 70 1 -70 N . It should be noted, however, that V ref is a time-varying voltage, and not a fixed reference voltage.

The value of the gain k (Eq. (3)) is partly determined by the capacitance C tot mentioned above. In some embodiments, the capacitor circuit 120 is implemented as a variable capacitor, thereby allowing the gain k to be tuned, by means of varying the capacitance of the capacitor circuit 120 and thereby the capacitance C tot .

In some embodiment, C tot is provided by the parasitic capacitance at the interconnected second inputs of the comparator circuits 70 1 -70 N only, i.e. the capacitor circuit 120 may be omitted. For instance, the second inputs of the comparator circuits 70j may be formed by gate terminals of field-effect transistors (FETs). An example is described below with reference to Fig. 12. In such an embodiment, the capacitance C tot may be provided mainly by the gate capacitances of these FETs, although other parasitics may contribute as well.

As mentioned above, the input of each ID AC 110 j is controlled directly from the output of the comparator circuit 70 j . Hence, there are no additional latches, registers, or arithmetic logic in between the output of the comparator circuit 70 j and the input of the ID AC 110 j . This enables relatively high-speed operation, and thereby enables overall operation of the ADC circuit 50 at relatively high sample rates, which is advantageous. In some embodiments, the comparator circuits 70 j are clocked comparator circuits. In other words, in these embodiments, the output signals of the comparator circuits 70 j are updated periodically in response to a clock signal clk, indicated in Fig. 7.

In some embodiments, the signal y[n] may be used as the output signal z[n]. This is illustrated in Fig. 8, illustrating an embodiment of the digital output circuit 130. In Fig. 8, the digital output circuit 130 comprises a digital summation circuit 140 configured to generate a sum signal as a sum of the one-bit output signals from the comparator circuits 70 j . This sum signal is equal to the number of comparators 70 j whose output is‘ 1’, i.e. it is equal to y[n] (which is indicated by denoting the sum signal y[n] in Fig. 8-11), but using another number representation, for instance a binary number representation, than at the outputs of the comparators 70 j . Hence, the digital summation circuit 140 can be seen as a number representation converter for obtaining a more convenient number representation for y[n].

In some embodiments, an estimate of the signal v[n] (Fig. 6) is used as the output signal z[n]. In the following, this estimate is denoted . In some embodiments, is obtained by filtering the sum signal y [n]. Hence, is referred to below as“the filtered sum signal”.

Hence, in some embodiments, the digital output circuit 130 comprises a filter circuit 150 configured to generate the filtered sum signal by filtering the sum signal y[n], as illustrated in Fig. 9.

In some embodiments, the filter circuit 150 is an accumulator. An example of this is illustrated in Fig. 10. In Fig. 10, the accumulator comprises an adder circuit 160 and a delay element 170 connected to the output of the adder circuit 160. The output of the delay element 170 is fed back to an input of the adder circuit 160. The other input of the adder circuit 160 is supplied with an output signal from a coefficient multiplier circuit 180, configured to multiply the sum signal y[n] with a coefficient K. From Fig. 10, it can be derived that

(4)

Comparing with Eq. 3, it can be observed that the accumulator depicted in Fig. 10, which has a digital output, mimics the integrator 90 (Fig. 6), which has an analog output. Either or may be used as the output from the accumulator in Fig. 10. It should be noted that k in Eq. 3 is a gain factor from the dimensionless digital domain to the analog domain, which typically has the dimension voltage (as in the embodiment in Fig. 7 where v[n] corresponds to V ref ), current, or electrical charge. K in Eq. 4, on the other hand, is a gain factor from the dimensionless digital domain to the dimensionless digital domain. Hence, k and K are not of the same dimension. If is used as the output z[n], the value of K can be selected relatively arbitrarily. In some embodiments, K can be selected to 1, whereby the coefficient multiplier circuit 180 can be omitted.

Other filter circuits 150 than an accumulator, that more or less well approximates the behavior of an accumulator, may be used as well, depending on the requirements for a given application in which the ADC circuit 50 is to be used.

In some embodiments, an estimate of the signal s[n] (Fig. 6) is used as the output signal z[n]. In the following, this estimate is denoted ŝ[n] . In some embodiments, ŝ[n] is a sum of a signal ê[n] and . The signal ê[n] may be an estimate of the difference signal e[n] (Fig. 6). In other words, ŝ[n] = v[n] + ê[n]

(5)

Comparing with Eq. 1 , it is readily seen that this is a reasonable estimation of s [n] . In some embodiments, the digital output circuit comprises a mapping circuit 190 configured to generate ê[n] in response to the sum signal y[n] as ê[n] = cdf -1 ( [n + 1]). Since, ê[n] is generated as a mapping of the sum signal y[n + 1], ê[n] is also referred to herein as a “mapped sum signal”. At a first glance, it may appear strange that ê[n] is generated based on a“future” value of y[n], i.e. y [n + 1] However, this reflects the fact that y[n] is generated (by the comparator circuits 70 j ) based on a previous value of e [n] (see Eq. 2), and is easily realized in the digital domain by appropriately inserting a delay in the digital processing paths. An alternative formulation is e[n— 1] = cdf -1 (y[n]). The mapping function cdf -1 (·) is an inverse of a monotone nonlinear mapping cdf(-). The mapping cdf(-) may be an estimate of the cumulative distribution function CDF(-) (Eq. 2) of the comparator circuits’ offsets. The mapping circuit 190 can e.g. be implemented as a look-up table.

Fig. 11 is a block diagram of an embodiment of the digital output circuit 130 configured to operate according to the description above. It can be noted that, if the filter circuit 150 is implemented as in Fig. 10, using v[n— 1] rather than [ ] as the output from the filter circuit 150 can provide the“appropriately inserted delay” mentioned in the preceding paragraph.

Fig. 12 is a schematic circuit diagram of the comparator circuit 70 j according to an embodiment. Each of the comparator circuits 70 1 -70 N may be implemented in the same way. The embodiment illustrated in Fig. 12 has a differential implementation where the input voltage V in is formed by a first component V inP and a second component V inM , where V in = V inp — V inM . Likewise, V ref is formed by a first component F rofP and a second component V ref M , where V ref = V refP — V refM . Furthermore, embodiment illustrated in Fig. 12 has a differential output where an output voltage V out is formed by a first component V outP and a second component V outM , where V out = V outP - V outM .

In the embodiment illustrated in Fig. 12, the comparator circuit 70 j comprises two cross- coupled pairs of transistors, namely a pair of NMOS transistors M1 and M2, and a pair of PMOS transistors M3 and M4. The source terminals of M3 and M4 are connected to a supply voltage V DD . The drain terminals of M1 and M3 are interconnected, and the drain terminals of M2 and M4 are interconnected. The comparator circuit 70 j according to the embodiment illustrated in Fig. 12 is configured to generate V outP at the drain terminals of M2 and M4 (in the following referred to as“the output V outP ”), and to generate V outM at the drain terminals of M1 and M3 (in the following referred to as“the output V outM ”)· The gate terminals of M1 and M3 are both connected to the interconnected drain terminals of M2 and M4, and the gate terminals of M2 and M4 are both connected to the interconnected drain terminals of M1 and M3. The embodiment of the comparator circuit 70 j illustrated in Fig. 12 further comprises clocked PMOS transistors M5, M6, M7, and M8. Each of these transistors M5-M8 has its source terminal connected to V DD and its gate terminal connected to a clock input to receive the clock signal clk. The drain terminal of M5 is connected to the source terminal of M1. The drain terminal of M6 is connected to the source terminal of M2. The drain terminal of M7 is connected to the drain terminals of M2 and M4. The drain terminal of M8 is connected to the drain terminals of M1 and M3. The embodiment of the comparator circuit 70 j illustrated in Fig. 12 further comprises NMOS transistors M9, M10, Mi l, and M12. These NMOS transistors M9-M12 are used as input transistors of the comparator circuit 70 j . The gate terminal of M9 is configured to receive V inP . The gate terminal of M10 is configured to receive V inM . The gate terminals of M9 and M10 are terminals of the above-mentioned first input (which in this case is a differential input having two terminals) of the comparator circuit 70 j ·. The gate terminal of M11 is configured to receive V refM . The gate terminal of M 12 is configured to receive V refP . The gate terminals of M11 and M12 are terminals of the above- mentioned second input (which in this case is a differential input having two terminals) of the comparator circuit 70 j . The source terminals of all of M9-M12 are interconnected. The drain terminals of M9 and Mi l are both connected to the source terminal of M1. The drain terminals of M10 and M12 are both connected to the source terminal of M2. Furthermore, the embodiment of the comparator circuit 70 j illustrated in Fig. 12 comprises a clocked NMOS transistor M13. The source terminal of M13 is connected to ground. The drain terminal of M13 is connected to the interconnected source terminals of M9-M12. The gate terminal of M13 is connected to the clock input to receive the clock signal clk.

When the clock signal clk is“low”, M13 is switched off and M5-M8 are switched on. This causes the outputs V outP and outM and the source terminals of M1 and M2 to be precharged to 5 V DD . When the clock signal clk goes“high”, M5-M8 are switched off, and M13 is switched on, and a difference between V outP and V outM is enabled to develop depending in V in and V ref . This developing difference between V outP and V outM is enhanced by the positive feedback loop provided by the cross-coupled pairs M1-M2 and M3-M4, which provides a relatively short decision time for the comparator circuit 70 j . If V in > V ref + V os (j), where V os (j) is the offset 10 voltage of comparator 70 j , then V outP will settle at a high value (V DD ) and V outM will settle at a low value (0). Similarly, if V in < V ref + V os (j), then V outP will settle at a low value (0) and V outM will settle at a high value (V DD ). As a design guideline, the circuit designer should be aware that a difference between the common-mode levels of the differential signals V in and V ref might influence the accuracy of the comparator circuit 70 j . Circuit simulations could be 15 used to determine how much common-mode level difference can be handled for a given

implementation.

It should be noted that the embodiment of the comparator circuit 70 j illustrated in Fig.12 is merely an example, and many other circuit topologies with similar functionality may be used. For instance, a isolation gain stage, such as a common-drain amplifier, can be inserted at the 20 gate of each of M9 and M10 to reduce clock-signal feed-through to the input of the

comparator circuit 70 j . Furthermore, it should be noted that a complementary version of the circuit shown in Fig.12 may also be used, where all NMOS transistors are replaced with PMOS transistors, and vice versa, and all connections to V DD are replaced with connections to ground, and vice versa.

25 Fig.13 is a schematic circuit diagram of the IDAC 110 j . Each of the IDACs 1101-110N may be implemented in the same way. The embodiment of the IDAC 110 j illustrated in Fig.13 comprises a PMOS transistor M14. M14 is configured to operate as a current source. The gate terminal of M14 is biased with a voltage V bias . The source terminal of M14 is connected to V DD . The drain terminal of M14 is connected to the source terminals of PMOS 30 transistors M15 and M16. M15 and M16 are configured to operate as switches. The gate terminal of M15 is controlled by V outM from the comparator 70 j . The gate terminal of M16 is controlled by V outP from the comparator 70 j . The drain terminal of M16 is connected to the V refM input of the comparator circuit 70 j . For the embodiment in Fig.12, this is the gate terminal of M11. The drain terminal of M15 is connected to the V refP input of the comparator circuit 70 j . For the embodiment in Fig. 12, this is the gate terminal of M12.

In the following functional description, it is assumed that the ID AC 110 j is operating together with the embodiment of the comparator circuit 70 j shown in Fig. 12, or a comparator circuit with the same functionality. When the clock signal clk is“low”, V outP and V outM are both“high”, so both M15 and M16 are switched off. When the clock signal clk goes“high”, either V outP or V outM will go“low”, whereby either M16 ( V outP goes“low”) or M15 ( V outM goes low) is switched on, and directs the drain current from M14 to either the gate terminal of M11 (if M16 is switched on) or the gate terminal of M12 (if M15 is switched on).

It should be noted that the embodiment of the ID AC 110 j illustrated in Fig. 13 is merely an example, and many other circuit topologies with similar functionality may be used, for instance using one or more cascode transistors in the current source. Furthermore, it should be noted that a complementary version of the circuit shown in Fig. 13 may also be used (for instance, together with the above-mentioned complementary version of the circuit in Fig. 12), where the PMOS transistors are replaced with NMOS transistors, the connection to V DD is replaced with a connection to ground.

Embodiments of the ADC circuit 50 described herein are suitable for integration in an integrated circuit. Fig. 14 illustrates an integrated circuit 200 comprising an embodiment of the ADC circuit 50. For instance, the integrated circuit 200 may comprise the transceiver circuit 10, or parts thereof that includes the ADC circuit 50.

The disclosure above refers to specific embodiments. However, other embodiments than the above described are possible with in the scope of the invention. For example, the ADC circuit 50 may be used in other types of electronic apparatuses than communication apparatuses. The different features and steps of the embodiments may be combined in other combinations than those described.