A DIGITAL TO ANALOG CONVERTER

Abstract: A digital to analog converter for a multi bit digital input signal with a plurality of substantially equal conversion elements which are selected in accordance with a dynamic element matching algorithm. The dynamic element matching algorithm is adapted to the position of the conversion elements on the semiconductor chip to improve the shaping of the noise caused by the systematic, i.e. position dependent, errors of the conversion elements.

Description: A digital to analog converter This invention relates to "a digital to analog converter for converting a multi bit digital input signal into an analog output signal, the converter comprising an array of substantially equal conversion elements on a semiconductor chip and conversion element selection logic for selecting, in response to the multi bit digital input signal, from said array of conversion elements a number of signal-conversion elements for connection to an output terminal, the selection logic being adapted to perform a dynamic element matching algorithm for shaping the noise, caused by the inequalities of the conversion elements, to higher frequencies. A digital to analog converter of this kind is e.g. known from the article: "Linearity Enhancement of Multibit Delta Sigma A/D and D/A Converters Using Data Weighted Averaging" by R.T. Baird and T.S. Fiez in IEEE Transactions on Circuits and Systems-II: analog and digital signal processing, Vol. 42, No. 12, pp. 753 - 762, December 1995. In many cases, such as video or high resolution audio, the use of multi bit analog to digital converters is preferred over single-bit converters. The quantization-noise level of the multi bit quantizers is inherently lower than that of single-bit quantizers (the theoretical signal to noise ratio of the system improves by approximately 6dB per bit). Moreover, multi bit converters also have the advantage of being less sensitive to sample- clock jitter and intersymbol interference. The improvement of the dynamic range of multi bit converters however only comes at the cost of severe linearity problems. When the value of the conversion elements is not exactly equal, the quantization levels are not exactly equidistant, the converter is nonlinear and severe harmonic distortion in the output signal is generated. It is well known in the art, e.g. from the U.S.-patents 3.982.172 and 4.703.310 of R.J. van de Plassche, to improve the linearity of multi bit converters by techniques of dynamic element matching. These techniques do not rely on analog accuracies and are therefore often preferred in modern IC processes. Although, of course, for converting a certain value of the digital input signal, the corresponding number of conversion elements is selected, the technique of dynamic element matching seeks to avoid that for each conversion the same conversion elements are selected. Therefore dynamic element matching decorrelates the mismatch errors of the conversion elements from the input signal, thereby reducing non-linear distortion, i.e. the generation of higher harmonics in the analog output signal. Some special kinds of dynamic element matching do not only decorrelate the mismatch errors from the input signal, but additionally "shape" the noise, caused by the inequalities of the conversion elements, out of the frequency band of interest. A simple and preferred method of dynamic element matching, belonging to this latter category, is the Data Weighted Averaging (DWA) algorithm, which is described in the above referenced article. In this algorithm, for each conversion the next K unit elements are used, K being the number of elements to be selected. In this way, a cyclic assignment of conversion elements is obtained, so that the error that is caused by the mismatch, is averaged much faster and thus the mismatch error becomes a high-frequency error by first-order shaping. Although the above described known method of dynamic element matching shapes the noise to higher frequencies and thereby increases the signal to noise ratio of the analog to digital converter, the present invention acknowledges that still better noise shaping and consequently further improved signal to noise ratio can be obtained and the analog to digital converter of the present invention is therefore characterized in that the selection by the dynamic element matching algorithm is adapted to the position of the conversion elements in said array, so as to improve the shaping to higher frequencies of the noise caused by the systematic inequalities of the conversion elements. The present invention is based on the per se known recognition that in IC implementation the errors of the conversion elements have almost always a random part and a systematic part. The systematic errors are caused by the occurrence of all kinds of gradients and variations during the manufacturing process of the integrated circuit, such as temperature gradients, doping concentration gradients, oxide thickness gradients and misalignment of masks. The invention acknowledges that the course of the systematic errors of the conversion elements is predictable, that a better shaping of individual errors is obtained when a positive error (with respect to the mean value of the elements) is quickly compensated by a negative error of comparable magnitude and that, consequently, the dynamic matching algorithm can be adapted to optimize the shaping to higher frequencies of the mismatch noise which is caused by the systematic errors. In most cases the conversion elements are arranged on the semiconductor chip in a row. In those cases often a linear gradient in the values of the individual elements is observed. Therefore, in those cases where at least part of the conversion elements is situated in a linear array of conversion elements, the analog to digital converter of the invention may be characterized in that the selection logic is arranged to select at least the majority of the conversion elements of the linear array in pairs of two conversion elements which lie in different halves of the linear array. More particularly, such digital to analog converter may be characterized in that the two conversion elements of each of said pairs lie substantially symmetrically with respect to the centre of the linear array. Apart from selecting the conversion elements in pairs of two elements lying on both sides of the centre of the linear array and more particularly lying symmetrically with respect to the centre of the array, a further improvement may likely be obtained in case of lower oversampling ratios, by properly choosing the succession in which the pairs are selected and therefore the digital to analog converter of the invention may be further characterized in that the said pairs of conversion elements are successively selected so that in each half of the linear array every second element is selected in one direction and subsequently every second of the elements lying there between is selected in the opposite direction. A digital to analog converter with a slightly different selection algorithm may be characterized in that the second element of a pair and the element lying between the first element of said pair and the. first element of the next pair, lie symmetrically with respect to the centre of the linear array. The invention will be further explained with reference to the attached figures. Herein shows: Figure 1 a simplified schematic diagram of a digital to analog converter in which the invention may be used, Figure 2 a conversion element selection schemes which is known in the art, Figure 3 a conversion element selection scheme of a digital to analog converter according to the invention, Figure 4 curves representing possible courses of the values of the conversion elements and Figure 5 alternative conversion element selection schemes of a digital to analog converter according to the invention. The digital to analog converter of figure 1 comprises a conversion element selection logic 1 which is controlled by a multi bit digital input signal Si. The input signal Si has N bits. The selection logic 1 is connected through a plurality of M lines to an array 2 of M selectable conversion elements whereby each of the M conversion elements is controlled by one of the M lines. The conversion elements are preferably constituted as current sources, however it is also possible to use e.g. voltage sources or capacitances as conversion elements. The maximum number of individually selectable conversion elements is equal to 2 N -1 and the primary function of the selection logic is to convert the value represented by the bits of the input signal to a corresponding number of selected lines and of selected conversion elements. Therefore, when the value represented by the input signal is K, then the selection logic 1 makes K of its M output lines high so that K current sources of the array 2 are selected. The summed current of these selected current sources is fed to an output terminal 3. In the embodiment of figure 1 this analog output current is fed to an operational amplifier which is fed back through a resistor. This arrangement converts the analog output current into an analog output voltage. It is noted that the currents of the not-selected sources of the array 2 are dumped to any suitable well known dump. The alternative, namely switching the sources on and off, is not preferred because the switching off of a current source gives substantially more delay, with less steep edges, than redirecting the current of the source. The simplest prior art method of selecting the current sources by the selection logic is to select only the first current source when the input signal value K = 1, the first two current sources when K = 2, the first three current sources when K = 3 and so on. This so called thermometer code suffers from high non linear distortion and high in-band noise when the values of the current sources are not exactly equal. To minimize these problems, the selection logic may carry out a dynamic element matching algorithm, with the object to reduce non-linear distortion of the signal and to shape the noise, which is caused by the mismatch between the current sources, to higher frequencies outside the frequency band of interest. A simple, efficient and well known dynamic element matching algorithm, which is called "Data Weighted Averaging" (DWA) is illustrated in the selection scheme of figure 2 for a particular input signal sequence 3,4,10,5,8,9,2,7,7. The selected current sources are displayed blocked and the non-selected current sources are displayed blank. As shown, the number of selected conversion elements corresponds with the magnitude of the input signal to be converted. However, instead of restarting each conversion with the first current source, each conversion is now started with the current source next to the last source selected during the previous conversion. When during a conversion, the last one of the current sources is selected, the conversion continues, in a cyclically permuting fashion, with the first one. In the figure a total of 26 conversion elements are shown, but in practice each other number of conversion elements may be used. The upper row in figure 2 represents the numbers of the individual current sources. An improved selection algorithm is shown in figure 3. In this figure it is assumed that the current sources are situated on a semiconductor chip in a linear array. The inequalities of the current sources are partly of individual nature, i.e. the values of the current sources may vary from chip to chip, and partly of systematic nature, i.e. the errors in the array of current sources are the same for all the chips and are therefore known and predictable. The systematic errors usually stem from production gradients, such as temperature, doping concentration and oxide thickness gradients. In the selection algorithm of figure 3, it is assumed that the course of the systematic errors along the array of current sources is substantially linear (see fig. 4 curve a).. As in figure 2, the selected current sources are shown blocked and the non-selected current sources are shown blank. Also the same sequence of input signal values is taken as in figure 2. For the first conversion, to convert the digital input value 3 into analog format, the three current sources 1, 26 and 2 are selected, i.e. the source with the largest positive systematic error with respect to the mean value, the source with the largest negative systematic error, and the source with the largest but one positive systematic error. For the second conversion, to convert the digital value 4 into analog format, the four current sources 25, 3, 24, and 4 are selected, i.e. the source with the largest but one negative systematic error, the sources with the largest but two positive and negative errors and the source with the largest but three positive systematic error. For the third conversion which converts the digital signal value 10, the current sources 23, 5, 22, 6, 21, 7, 20, 8, 19 and 9 are selected and so on. Therefore, it can be seen that the current sources are selected in pairs of elements 1-26, 2-25, 3-24 etc. i.e. the current source with the largest positive systematic error is directly followed by the source with the largest negative systematic error and any source with a smaller positive systematic error is directly followed by a source with a substantially equal negative systematic error. With other words: a positive systematic error is compensated by a substantially equal negative systematic error, either instantaneously when both current sources are selected for the same conversion, or nearly instantaneously during the next selection. Consequently the systematic errors are shaped very effectively to higher frequency bands. Calculations show that with this algorithm signal/noise improvements of more than 10 dB with respect to the algorithm of figure 2 may be obtained.. It may be observed, that the selection algorithm as described with reference to figure 3 is suitable to shape the noise from systematic errors with any linear course along the array of conversion elements. For instance, higher as well as lower levels of systematic errors and systematic errors which vary from positive to negative values as well errors which vary from negative to positive values are all shaped with the same algorithm. Therefore it is often not necessary to know exactly the magnitude and the course of the systematic errors. When it may be expected, that the course of the systematic errors is substantially linear, the algorithm as depicted with reference to figure 3 may appear advantageous. It is frirther noted, that the succession of the pairs of selected elements is not of interest. Of importance is that the selection of an element with a certain systematic error, with respect to the mean value, is followed as soon as possible by the selection of an element with a substantially equal but opposite systematic value, again with respect to the mean value. If the number of conversion elements is uneven, this can easily be accommodated by replacing the pair of elements whose values are closest to the mean value, with the single element whose value is closest to the mean value. In accordance with the invention a different algorithm is chosen when the course of the systematic errors substantially deviates from the linear course. For instance, if the course of the systematic errors is symmetrical, such as depicted in figure 4 curve b, then the selection of elements may e.g. be as follows: 1-13, 26-14, 2-12, 25-15, 3-11, 24-16, 4-10, 23-17, 5-9, 22-18, 6-8, 211-19, 7, 20. This selection algorithm would also be chosen when the course of the systematic errors would consist of two linear parts, one descending in one half of the array and the other ascending in the other half of the array. If the course of the systematic errors is asymmetric, such as depicted in figure 4 curve c, then the selection of the conversion elements could be as follows: 26-7, 25-6, 24-8, 23-5, 22-9, 21-4, 20-10, 19-3, 18-11, 17-2, 16-12, 15-1, 14- 13. In the description given above with reference to figures 3 and 4, it has been shown that a substantial improvement of the shaping of the systematic errors may be obtained by selecting the conversion elements in pairs, whose two constituting elements compensate each others systematic errors wholly or substantially. Especially in case of lower oversampling ratios a further improvement of the noise shaping of the systematic errors may likely be obtained by properly choosing the succession in which the respective pairs of conversion elements are selected. This may be explained with reference to figure 5. Herein it is " assumed that there are, again, 26 conversion elements in a linear array, which are numbered from 1 to 26 and whose systematic errors run linearly from -2.5 to +2.5 which means that the systematic error increases by 0.2 from one element to the next. The numbers of the conversion elements with their respective systematic errors are depicted, ■■ vertically, in column A of figure 5. When the elements are selected in pairs, as is described with reference to figure 3, the sequence of selection of the elements with their respective systematic errors is as depicted in column I of figure 5. From this column I it is seen that the magnitude of the systematic errors gradually decreases from ±2.5 to ±0.1, then jumps to ±2.5, then again gradually decreases and so on. Therefore large discontinuities appear in the sequence and a Fourier analysis of the waveform reveals that this discontinuities may in some cases cause a relatively large residual low frequency noise component in the analog output signal. A waveform having a lower residual low frequency error is obtained when the 26 conversion elements (with their respective systematic errors) are selected according to the sequence, which is depicted in column II of figure 5. When this sequence II is repeated the large discontinuities in the systematic errors of sequence I do not anymore exist. It may be observed that the sequence II comprises pairs 1-26; 3-24; 5-22; 4-23; 2-25; whose elements lie symmetrically with respect to the centre of the array as was also the case with the sequence I. However, in the sequence II, the uneven elements of the first half of the array (1 — 13) are selected upwardly from 1 to 13 and the even numbers are selected downwardly from 12 to 2. Equally, of the elements (14 — 26) of the second half of the array, the even numbers are selected downwardly from 26 to 14 and the uneven elements are selected upwardly from 15 to 25. Another selection sequence is depicted in column III of figure 5. In this sequence the elements of the first halve of the array (1 — 13) are selected so that the uneven numbers are selected upwardly from 1 to 13 and the even numbers downwardly from 12 to 2, and of the elements of the second halve of the array (14 — 26) the even numbers are now selected upwardly from 14 to 26 and the uneven numbers downwardly from 25 to 15. In this sequence the elements of one pair do not lie symmetrically with respect to the centre of the array, but the second element of a pair lies symmetrically with the element lying between the first element of said pair and the first element of the next pair in the array. The invention being explained with an array of 26 elements, may equally well be used with a smaller or larger number of elements. Of course in practice the selection of some of the elements may be changed without departing from the scope of the invention, especially of those elements whose systematic error with respect to the mean value of the conversion elements, is small. The invention may also be practised with an uneven number of conversion elements, in which case it is of course not possible to arrange all elements in pairs. The invention, which is described hereinbefore in connection with the simplest form of digital to analog converter, may be used in all kinds of multi bit d/a converters, such as d/a converters with dual sets of conversion elements and d/a converters with excess conversion elements as described in applicant's European patent application No. 99203538.6 (PHN 017689).

Claims: CLAIMS: 1. A digital to analog converter for converting a multi bit digital input signal into an analog output signal, the converter comprising an array (1) of substantially equal conversion elements on a semiconductor chip and conversion element selection logic (2) for selecting, in response to the multi bit digital input signal, from said array of conversion elements a number of signal-conversion elements for connection to an output terminal (3), the selection logic being adapted to perform a dynamic element matching algorithm for shaping the noise, caused by the inequalities of the conversion elements, to higher frequencies, characterized in that the selection by the dynamic element matching algorithm is adapted to the position of the conversion elements in said array, so as to improve the shaping to higher frequencies of the noise caused by the systematic inequalities of the conversion elements. 2. A digital to analog converter as claimed in claim 1 comprising a linear array of conversion elements, characterized in that the selection logic is arranged to select at least the majority of the conversion elements of the linear array in pairs of two conversion elements which lie in different halves of the linear array. 3. A digital to analog converter as claimed in claim 2, characterized in that the two conversion elements of each of said pairs lie substantially symmetrically with respect to the centre of the linear array. 4. A digital to analog converter as claimed in claim 2 or 3, characterized in that the said pairs of conversion elements are successively selected so that in each half of the linear array every second element is selected in one direction and subsequently every second of the elements lying there between is selected in the opposite direction. 5. A digital to analog converter as claimed in claim 4 characterized in that the second element of a pair and the element lying between the first element of said pair and the first element of the next pair, lie symmetrically with respect to the centre of the linear array.

Inventors: NUIJTEN PETRUS A C M, NUIJTEN, PETRUS, A., C., M.
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2001
Main classification: H03M1
IPC codes: H03M1