Digital-to-analogue converter using an array of current sources

- Broadcom Corporation

A current source DAC has calibration of the current sources used for providing the analog output. There are two outputs, one of which provides the output current or else a differential output is provided. The calibration is cyclic and the current source outputs switched to the output terminals are selected as a function of the point within the calibration cycle. The current stage of the cyclic calibration process is thus taken into account in the D/A conversion. For example, the average time since calibration for all current sources having outputs switched to the first output may be approximately equal to the average time since calibration for all current sources having outputs switched to the second output. In this way, the average current of the cells switched to one terminal is identical to the average current of the cells switched to the other terminal, and the average current of the cells switched to each terminal remains constant in time irrespective of the digital signal value being converted. This ensures DAC linearity.

Skip to: Description  ·  Claims  ·  References Cited  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to digital-to-analogue converters, and particularly to converters which use an array of current sources to provide an analogue output.

2. Related Art

Digital-to-analogue converters of this type are widely used in numerous applications, and can be implemented as high speed converters suitable for use in telecommunication systems. In one arrangement, the array of current sources is arranged as a plurality of identical current sources. An associated switching array selectively routes the current source outputs to two possible output terminals. In some systems, one of these terminals is simply ground, and the other terminal is a current summing bus. The signal on the current summing bus is converted into a voltage before being provided as an output of the converter. In other systems, the output of the converter is to be provided on to twisted pair cabling. In this case, the current provided to one of the output terminals is converted to a voltage for one of the twisted pair wires, and the current provided to the other terminal is converted to a voltage for the other wire of the twisted pair. In this case, the converter output is represented as the difference between the voltage levels on the two wires of the twisted pair.

It has been recognised that to provide high precision, for example when converting more than 10 bits, it is necessary to calibrate the current sources constantly during the conversion process.

U.S. Pat. No. 5,870,044 discloses one circuit and method for providing calibration of the current sources used in the converter array. Essentially, an additional current source is provided, and the output of the additional current source is used to replace a current source within the array when that particular current source within the array is being calibrated. In this way, all current sources within the array can be calibrated in a cyclical manner. The additional current source avoids the need to interrupt the conversion process during calibration.

The calibration of individual current sources enables compensation for variations in layer thicknesses or other dimensions across the current source array. These variations across the array are static errors. There are also dynamic errors which result from the various parasitic capacitances within the current source circuits. After calibration of a current source to provide a desired output, changes in the charges stored on these parasitic capacitances vary the current source output over time. There is therefore also a need to carry out a continuous cyclical calibration process.

SUMMARY OF THE INVENTION

The invention is based on the recognition that a significant portion of the error in the output current of each current source will be a function of the time since that particular current source was calibrated. In particular, it has been recognised that there is a substantially linear increase in the error in the output current for each current source as a function of time since the most recent calibration of that current source.

According to the invention, there is provided a digital-to-analogue converter, comprising:

an array of current sources, each current source having an output which is switchable onto one of first and second terminals as a function of a digital input, such that a first number of current source outputs are switched to the first terminal and a second number of current source outputs are switched to the second terminal,

wherein the current source outputs are also switchable to a calibration unit, the current sources of the array being calibrated cyclically,

wherein the current source outputs switched to the first and second output terminals are selected as a function of the point within the calibration cycle.

One terminal may be an output and the other terminal may be ground. Alternatively, the two outputs may define a differential output signal.

The operation of the converter of the invention takes into account the current stage of the cyclic calibration process. For example, the average time since calibration for all current sources having outputs switched to the first terminal may be approximately equal to the average time since calibration for all current sources having outputs switched to the second terminal. In other words, the average time since calibration for each terminal is equal to half the calibration cycle duration.

By making the average time since calibration equal for the current sources switched to the two terminals, the average current of the cells switched to one terminal is identical to the average current of the cells switched to the other terminal, because the average current error is the same. The average current of the cells switched to each terminal remains constant in time and is independent of the digital input being converted. This ensures DAC linearity, both for single and double output systems.

In order to equal the average time since calibration for the current sources switched to the two terminals, the current sources most recently calibrated and the current sources calibrated the longest time ago may be switched to one of the output terminals, with the remaining current sources switched to the other output terminal.

The array of current sources may comprise a first plurality of identical current sources, the outputs of which are switched in dependence on the most significant bits of the digital input, and a second plurality of current sources, the outputs of which are switched in dependence on the least significant bits of the digital input.

This arrangement enables the advantages of identical current sources with the advantages of a binary array of current sources to be combined. In particular, the second plurality of current sources can comprise two current sources, and wherein the output of each current source of the second plurality is provided with a divider arrangement for providing the output on a plurality of lines, the currents on the individual lines being switchable to the first or second output terminals under the control of the least significant bits of the input.

This converter arrangement may implement a 14 bit converter, with 128 current sources for the seven most significant bits, and two current sources for the seven least significant bits.

The invention also provides a method of controlling a digital-to-analogue converter, the converter comprising an array of current sources, each current source having an output which is switchable onto one of first and second terminals as a function of a digital input, such that a first number of current source outputs are switched to the first terminal and a second number of current source outputs are switched to the second terminal, the method comprising:

cyclically calibrating the current sources of the array;

switching a first subset of the current source outputs to the first terminal and switching a second subset of the current source outputs to the second terminal, the first and second subsets together including all current sources other than the or each current source being calibrated, the switching being in dependence on the input digital signal,

wherein the first and second subsets are selected as a function of the point within the calibration cycle.

BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES

An example of the invention will now be described in detail with reference to the accompanying drawings.

FIG. 1 shows a digital-to-analogue converter of the invention, and which is controlled in accordance with the method of the invention.

FIG. 2 is used to explain the calibration of individual current sources.

FIG. 3 is used to explain the operation according to the invention.

FIG. 4 shows in greater detail a preferred converter architecture of the invention.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 1 shows a converter of the invention using an array of current sources S. For the N most significant bits of the digital word to be converted, an array of n identical current sources S1 to Sn is provided, where n=2N. The outputs of these n current sources are switched to one of two outputs Iout1 and Iout2. The currents flowing to these two outputs are converted to voltages and may then be provided on output lines of the converter. The difference between the signals on the two lines provides the analogue output. Alternatively, one of the two outputs can be ground, and the output of the converter is then provided on a single line.

Only 2N−1 of these current sources are required to represent the N bits, and the additional nth current source is an additional current source used when one of the 2N−1 current sources is being calibrated.

FIG. 1 also shows a current source Sn+1, the output of which is provided to a divider 10, which provides a number of outputs k derived from the single current source Sn+1. This provides a compact way of converting the least significant bits of the digital input. Each of the k outputs of the divider 10 can also be switched selectively to either of the two outputs IOut1 and Iout2.

A second additional current source Sn+2 is used to provide the current derived from the LSBs when the current source Sn+1 is being calibrated. This second additional current source is provided with a divider circuit 11.

The arrangement of FIG. 1 essentially therefore provides an array of current sources, with each current source being switchable on to one of first and second output terminals as a function of the digital input. In this way, a first number of current source outputs are switched to the first output terminal and a second number of current source outputs are switched to the second output terminal.

The current sources must be calibrated, as mentioned above. In particular, the output current from a current source will vary over time as a result of leakage currents flowing within the circuitry of the current source. It has therefore been recognised that the current sources should be calibrated cyclically to maintain the desired accuracy of the conversion. For this purpose, the additional current source Sn can be used to replace the output of any other current source S1 to Sn−1 when that particular current source is being calibrated. The additional current source Sn+2 can be used to replace the output of current source Sn+1 when that current source is being calibrated. The current source outputs are switchable to a calibration unit (not shown in FIG. 1), and this is performed cyclically for all current sources of the array.

FIG. 2 shows one way in which an individual current source can be calibrated. Each current source may be arranged as first and second current source transistors 12, 14. The relative dimensions of the two transistors 12, 14 are such that the first transistor 12 provides a much smaller output current, and the majority of the output current of the current source is provided by the second transistor 14. For example, the first transistor 12 may provide {fraction (1/32)} of the output current of the current source. This smaller transistor 12 has a gate voltage which is controlled to provide adjustment of the total current output of the current source. The gate voltage on the second transistor 14 is fixed, and is common for all current sources at VG(com). During calibration of the current source, the output is switched by transistor 16 to a reference current source 18, which forces the output of the current source to the desired value. A feedback control 20 provides an appropriate gate voltage on the transistor 12 for the current source to provide the desired output current. Switch 22 is closed during the calibration process, and is opened at the end of the calibration process, and the required gate control voltage is held on the gate of transistor 12 by the MOS gate capacitance.

After calibration of the current source, the leakage current of the switch 22 discharges the control gate voltage of transistor 12. This results in a change in the output current of the current source. This is predominantly a first order effect, which means that the resulting error in the output of the current source varies in a linear manner over time. The invention provides a method of operating a digital-to-analogue converter, such as that shown in FIG. 1, in such a way as to take advantage of this linear dependency of the output error of each current source on the time since calibration.

In accordance with the invention, the current source outputs which are switched to the two output terminals are selected as a function of the point within the calibration cycle. This enables the average time since calibration for all current sources switched to the first and second output terminals to be the same.

FIG. 3 is used to explain one way of implementing the method of the invention to achieve equal average time since calibration.

FIG. 3A shows the error in the output of each current source S1 to S128. This assumes there are seven most significant bits. The 128 current sources include the 127 current sources required for converting the seven most significant bits, as well as an additional current source required to enable simultaneous calibration to take place.

In the example of FIG. 3A, current source number 1 is assumed to be in the process of calibration, and the error in the output is therefore represented as 0. FIG. 3 assumes the current sources are calibrated in numerical order. As seen from FIG. 3A, current source 2 has the largest error, since the time since that current source was previously calibrated is the largest. There is a linear decrease in the error from current source 2 through to current source 128, which was calibrated during the previous calibration cycle. In FIG. 3, the hatched areas 30 indicate the current sources, the outputs of which are switched to one of the terminals, and the non-hatched area 32 represents the current sources, the outputs of which are switched to the other output terminal.

If we assume the digital input requires a number p of current sources to be switched to the first output terminal, half of this output will be provided by current sources 2 to (1+p/2) and the other half will be provided by current sources (128−p/2) to 128. In other words, the current sources most recently calibrated and the current sources calibrated the longest time ago are switched to one of the output terminals, and the intermediate current sources are switched to the other output terminal. The result is that the average time since calibration for all current sources switched to the first output terminal is the same as the average time since calibration for all current sources switched to the second output terminal.

Since the average time from calibration for all current cells switched to one terminal remains constant, this approach improves the linearity, regardless of whether a two terminal differential output is provided or a single terminal output.

FIG. 3B shows the same technique as described with reference to FIG. 3A, when the current source being calibrated is number 47.

Although the method described with reference to FIG. 3 takes the most recently calibrated current sources and the current sources calibrated the longest time ago, other schemes exist for ensuring that the average output errors remain the same.

The effect of ensuring substantially equal average errors of the current sources switched to each output is that the error is constant. It is therefore possible to assume that all current cells have the same output current value, which may be slightly different to the ideal level. This difference results in slightly modified converter gain, but the linearity is preserved. This means the same step between successive outputs is provided with suppressed harmonics and low noise. This linearity can be more important than the absolute gain.

FIG. 4 shows one specific example of digital-to-analogue converter according to the invention. This specific example is arranged as a 14 bit converter. For the seven most significant bits, an array of 128 current sources S1 to S128 are provided. 127 of these are in use at any one time, and one is being calibrated. As described with reference to FIG. 2, calibration involves applying a tuning voltage VTUNE. The output of each of these MSB current sources is provided to a three way switch 40 which enables the current source output to be routed to the positive output 42, the negative output 44 or the calibration unit 46. A single current source LSB1 is provided for generating outputs dependent upon the seven least significant bits. This current source LSB1 has a divider 10 at its output. This comprises an array of transistors with a common gate voltage VB, and the width to length ratio of the transistor channel determines the source-drain current flowing through each transistor. The array of transistors is arranged as 31 transistors each providing an output which is {fraction (1/32)} of the total current source output, one transistor providing an output of {fraction (1/64)} and two outputs each providing {fraction (1/128)} of the current source output. One of these {fraction (1/128)} outputs is used only during calibration of the current source and is switched to ground 47 during the use of the current source LSB1. All other outputs are switched to the positive or negative output terminals 42,44 during the use of the current source LSB1 and to the calibration unit during calibration. During calibration, all outputs are thus switched to the calibration unit and the combined output current should then be equal to the output current of one of the MSB current sources. This enables the same calibration unit to be used for calibrating the MSB and LSB current sources.

The combined currents flowing to the two output terminals are converted to voltages by resistors 48. During calibration of the current source LSB1, an additional current source is required providing the same scaled outputs. For this purpose, the second current source for the least significant bits is provided. This is shown only schematically as LSB0 in FIG. 4 but corresponds to current source Sn+2 and divider 11 in FIG. 1.

Although not shown in FIG. 1 or 4, additional switches are required to prevent the output current from a current source from flowing to the positive or negative outputs when the current source is being calibrated.

The calibration circuit 46 essentially comprises additional current sources providing a reference output to which the current sources of the converter are tuned. This reference output may be derived from a number of additional current sources distributed around the substrate of the converter. This ensures that the reference output is within the range of each individual current source that can be achieved by controlling the transistor 12, shown in FIG. 2. The full array of current sources may be arranged as a two-dimensional array, for example with 13 columns and 12 rows. For the 14 bit converter of FIG. 4, this provides 16 current source circuits in addition to the 130 required by the converter. Some or all of these 16 additional current sources are used for biasing and reference purposes, in conventional manner.

The method of the invention enables a significant improvement in the signal to noise ratio at the output of the converter, particularly the signal to noise ratio of the current output. The signal to noise ratio of the voltage output of the converter has increased noise as a result of the temperature dependence of the resistors 48 used for conversion of the current output to a voltage.

One preferred calibration cycle involves calibrating half of the MSB current sources (for example current sources I1 to I64), calibrating one of the LSB current sources, calibrating the remaining MSB current sources (for example I65 to I128) and finally calibrating the other LSB current source. By way of example, the converter may be running with a clock speed of 17.664 MHz, and one clock cycle is required for a D/A conversion. Each calibration operation may occupy 256 clock cycles (14.5 &mgr;s) which gives a total calibration time for the 130 current sources of 1.88 ms. This corresponds to a calibration frequency of 531 Hz.

The invention provides a scheme by which the current sources are selected based on the time since calibration. In the specific example above, the average time since calibration is selected to be equal so that for all outputs of the DAC, the current source error can be considered to be a constant value, thereby preserving linearity of the converter. It is also possible to select the current sources according to different criteria. For example, it is possible to select the current source outputs such that the total error in the summed current provided to the two outputs is as close as possible to equal. In this case, the total time since calibration for all current sources having outputs switched to the first output terminal is as close as possible to the total time since calibration for all current sources having outputs switched to the second output terminal.

The invention enables the effect of switch leakage currents to be reduced or cancelled. Higher conversion accuracy can thus be achieved. This increased accuracy may be used to enable the calibration frequency to be reduced, and also enables a reduction in the required MOS gate capacitance, as the charge leakage resulting from a reduced gate capacitance is compensated. The selection of cells based on the calibration cycle also means that different current cells are used for the same digital input depending on the prevailing stage within the calibration cycle. This has a further averaging effect which improves the converter linearity.

Further advantages and features of the invention will be apparent to those skilled in the art.

Claims

1. A digital-to-analogue converter, comprising:

an array of current sources, each of said current sources having an output that is switchable onto one of first and second output terminals as a function of a digital input signal, wherein a first group of current source outputs are switched to the first output terminal regardless of being a most significant bits (MSB) or a least significant bits (LSB) current source and a second group of current source outputs are switched to the second output terminal regardless of being a MSB or LSB current source; and
a calibration unit, wherein any of said current source outputs are also switchable to said calibration unit, wherein the current sources are calibrated cyclically during a calibration cycle, and wherein the current source outputs switched to the first and second output terminals are selected as a function of a point within the calibration cycle.

2. The converter as claimed in claim 1, wherein an average time since calibration for said first group of said current sources is approximately equal to an average time since calibration for said second group of said current sources.

3. The converter as claimed in claim 2, wherein said first group of current source outputs is the current sources most recently calibrated and least recently calibrated and said second group of said current source outputs is a remaining set of the current sources, whereby an average time since calibration for all said current sources switched to said first output terminal is equal to an average time since said calibration for all said current sources switched to said second output terminal.

4. The converter as claimed in claim 1, wherein the array of current sources comprises said MSB current sources, the outputs of which are switched in dependence on the most significant bits of the digital input, and said LSB current sources, the outputs of which are switched in dependence on the least significant bits of the digital input.

5. The converter as claimed in claim 4, wherein the LSB current sources comprises first and second current sources, and wherein the output of said first and second current sources is divided to produce currents on a plurality of lines, the currents on the individual lines being switchable to the first or second output terminals under control of the least significant bits of the digital input signal.

6. The converter as claimed in claim 1, wherein each current source comprises:

a first current source transistor comprising a gate voltage controlled to provide adjustment of a total current output of the current source;
a second current source transistor comprising a fixed gate voltage, wherein the first current source transistor provides a fraction of the total current output current of the current source and the second current source transistor provides a majority of the total current output current of the current source;
a reference current source; and
a third current source transistor switching the total current output of the current source to the reference current source during calibration of the current source.

7. The converter as claimed in claim 6, further comprising:

a feedback control providing a gate voltage to the first current source transistor so that the current source provides a desired output current.

8. The converter as claimed in claim 1, wherein the calibration unit compares the output of each said current source with a reference source.

9. The converter as claimed in claim 1, wherein 14 bits are converted and wherein the array comprises 128 of said MSB current sources corresponding to 7 most significant bits and two of said LSB current sources corresponding to 7 least significant bits.

10. The converter as claimed in claim 1, wherein selecting the point within the calibration cycle enables an average time since calibration for all current sources switched to the first and second output terminals to be equal.

11. A digital-to-analogue converter, comprising:

an array of current sources, each said current source having an output that is switchable onto one of first and second output terminals as a function of a digital input signal, wherein a first group of current source outputs are switched to the first output terminal regardless of being a MSB or LSB current source and a second group of current source outputs are switched to the second output terminal regardless of being a MSB or LSB current source; and
a calibration unit that calibrates the current sources,
wherein the current source outputs are also switchable to the calibration unit, wherein the current sources are calibrated cyclically, and wherein the current source outputs switched to the first and second output terminals are selected such that an average time since calibration for said first group is approximately equal to an average time since said calibration for said second group.

12. A method of controlling a digital-to-analogue converter, the converter comprising an array of current sources, each of the current sources having an output that is switchable onto one of first and second output terminals as a function of a digital input signal, such that a first number of current source outputs are switched to the first output terminal and a second number of current source outputs are switched to the second output terminal, the method comprising the steps of:

cyclically calibrating the current sources;
switching a first subset of the current source outputs to the first terminal regardless of being a MSB or LSB current source;
switching a second subset of the current source outputs to the second output terminal regardless of being a MSB or LSB current source;
basing the switching on the digital input signal; and
selecting the first and second subsets as a function of a point within a calibration cycle.

13. The method as claimed in claim 12, further comprising the step of setting an average time since calibration for all said current sources in the first and second subsets as being approximately equal.

14. The method as claimed in claim 13, further comprising the steps of:

forming said first subset from the current sources most recently and least recently calibrated; and
forming said second subset from remaining ones of said current sources, excluding at least one of the current sources being calibrated.
Referenced Cited
U.S. Patent Documents
5164725 November 17, 1992 Long
5446445 August 29, 1995 Brooks
5703586 December 30, 1997 Tucholski
5870044 February 9, 1999 Dell'ova et al.
5949362 September 7, 1999 Tesch et al.
5955980 September 21, 1999 Hanna
6072415 June 6, 2000 Cheng
6424283 July 23, 2002 Bugeja et al.
Patent History
Patent number: 6501402
Type: Grant
Filed: Jul 20, 2001
Date of Patent: Dec 31, 2002
Patent Publication Number: 20020167430
Assignee: Broadcom Corporation (Irvine, CA)
Inventor: Jean Boxho (Woluwe-Saint-Lambert)
Primary Examiner: Patrick Wamsley
Attorney, Agent or Law Firm: Sterne, Kessler, Goldstein & Fox P.L.L.C.
Application Number: 09/908,569
Classifications
Current U.S. Class: Converter Calibration Or Testing (341/120); Coarse And Fine Conversions (341/145)
International Classification: H03M/110; H03M/166;