FINITE IMPULSE RESPONSE DIGITAL TO ANALOG CONVERTER WITH OFFSET COMPENSATION

Abstract: A FIRDAC (20) is described, coupled to a noise-shaper (12) with a DC offset. The resulting offset of the FIRDAC itself is compensated by a compensation current source (Pcomp; Ncomp) which is continuously ON. The FIRDAC has a plurality of FIRDAC cells (40), each cell comprising at least one current source (50; 70). In a FIRDAC cell having a relatively small current source, a dummy transistor (80; 90) is formed in the free space. The compensation current source is formed as a parallel combination of certain dummy transistors. In a possible embodiment, each FIRDAC cell (40) comprises a stack comprising a D-flipflop (60), a PMOS current mirror (50) above the flipflop, and an NMOS current mirror (70) below the flipflop. In a cell with relatively small PMOS and NMOS current mirrors, a dummy current mirrors (80; 90) are formed in the substrate (100). A plurality of these dummy current mirrors (90; 80) are connected in parallel to constitute said compensation current source (Ncomp, Pcomp).

Description: Finite impulse response digital to analog converter with offset compensation. The present invention relates in general to a finite impulse response digital-to- analog converter, hereinafter referred to as FIRDAC. The finite impulse response principle for a digital-to-analog converter is known per se, and described for instance in US-A-5.323.157. Generally speaking, a FIRDAC comprises a shift register with a large number of stages, typically more than hundred stages, which receives a bitstream input signal of one bit, i.e. a serial data stream with one bit amplitude resolution. Each of the stages of the shift register switches a dedicated current source ON or OFF. The currents thus generated by all of the stages of the shift register are added to generate an output current of the FIRDAC. Usually, the output current is applied to a current-to-voltage converter to generate an analog output voltage of the FIRDAC. Each stage of the FIRDAC produces an output current contributing to the overall output current of the FIRDAC. However, the stages of the FIRDAC do not all contribute in the same extent. In order to obtain a desired filter characteristic, each stage of the FIRDAC has an associated weighting coefficient, which is constituted by the magnitude of the output current of the current source. In a typical application situation, the FIRDAC is used in a signal-processing path of a mobile telephone for providing an analog audio signal to a speaker or earphone. The FIRDAC receives its input bitstream signal from a noise shaper, which increases the signal-to- noise ratio of the FIRDAC by shifting quantisation noise from the voice band to higher frequencies. Due to spurious influences, noise shapers have a tendency of repeating certain patterns, leading to small audible tones, called "idle tones". In order to prevent said idle tones from being audible, it is known per se to digitally offset the noise shaper with a fixed amount, called "DC dither", resulting in the idle tones being pushed to a high frequency above an audible level. A problem in this respect is that the fixed offset of the noise shaper causes an offset in the FIRDAC, and hence an offset in a driver which receives the FIRDAC output signal and generates a driving signal for the earphone or speaker. In practical cases, the offset can be as much as 80 mN. With earphones having a resistance of 8-16 Ohm, this leads to a large and undesirable current consumption in the order of 10 mA. The present invention aims to overcome this problem. More particularly, the present invention aims to overcome said problem without having to increase any chip area occupied by the FIRDAC. According to an important aspect of the present invention, a current output terminal of the FIRDAC is coupled to a constant current source or sink, adding or subtracting a constant compensation current to or from the output current of the FTRDAC in order to compensate or, preferably, to eliminate said offset. According to a further aspect of the present invention, in a preferred embodiment, each stage of the FIRDAC comprises in combination a D-flipflop, a PMOS current mirror, and an NMOS current mirror. Each stage of the FIRDAC occupies substantially the same semiconductor space. The flipflops all have the same width, but the transistor widths of the PMOS current mirrors and the transistor widths of the NMOS current mirrors are different and determine the magnitude of the current output of said mirror in order to implement the weighting coefficient of each stage. Consequently, in FIRDAC stages with a relatively low weighting coefficient, the size of the PMOS current mirror and the size of the NMOS current mirror is relatively small, hence a relatively large amount of space is "free". In said free space, dummy current sources are arranged. As a consequence of the DC offset in the bitstream generator ("noise-shaper"), the FIRDAC itself has an offset output level. More particularly, a positive current output of the FIRDAC produces too much positive current whereas a negative current output produces too much negative current. According to an important aspect of the present invention, this is compensated by a constant current source being coupled to a current output. In the case of a positive current output which produces too much positive current, the invention provides a predetermined number of spare dummy NMOS current sinks that are continuously ON, and which sink away the excess current (the offset) from the positive current sources to ground. In the case of a negative current output which produces too much negative current, the invention provides a predetermined number of spare dummy PMOS current sources that are continuously ON, and which supplement the excess current (the offset) drawn to ground by the negative current sources. The amount of offset in the bitstream generator generating the bitstream as input signal for the FIRDAC is known and constant. This means that, before manufacture of the FIRDAC, it is possible to calculate how much compensating current is to be conducted by the dummy NMOS current sources. Hence, it is possible to predetermine which dummies to use and which not. If the available number of NMOS dummies appears to be too small for an adequate compensation, it is possible to use PMOS dummies for compensation. These and other aspects, characteristics and advantages of the present invention will be further clarified by the following description of a preferred embodiment of a control circuitry in accordance with the invention, with reference to the drawings, in which same reference numerals indicate equal or similar parts, and in which: figure 1 shows a block diagram of an example of a circuit for processing a voice signal; figure 2 shows a block diagram of a FIRDAC; figure 3 illustrates schematically a cross section of a part of a piece of semiconductor material, in which a FIRDAC cell is formed; figure 4 shows a circuit diagram of an embodiment of the invention. Figure 1 shows a block diagram of a possible circuit for processing a voice signal S in a mobile telephone. The circuit comprises a digital filter 11 and a noise-shaper or bitstream generator 12, both of which may be of conventional design, for which reason they will not be described in more detail here. The digital filter 11 is arranged for suppressing frequencies outside the voice band, i.e. below 300 Hz and above 3400 Hz. The digital filter 11 has an output connected to an input of the noise-shaper 12, which is arranged for providing a resulting 1 MHz bitstream (1-bit) signal at its output, which is connected to a signal input 21 of a FIRDAC 20. A bias block 30 receives a reference voltage such as a bandgap voltage N ref , and is coupled to the FIRDAC for providing a number of bias currents. The FIRDAC 20 has a clock input 22 for receiving a clock input signal CLK. Similarly, the digital filter 11 and the noise-shaper 12 have clock input terminals for receiving a clock signal CLK which may or may not be identical to the clock signal for the FIRDAC. The frequency of the clock signal CLK for the FIRDAC 20 depends, inter alia, on the desired signal-to-noise ratio and the frequencies available in the system. For instance, in a GSM system, the frequency of the clock signal may be 1 MHz, which can easily be derived from a GSM master clock frequency of 13.0 MHz. It is possible to have a FIRDAC with only one output line. However, the FIRDAC 20 of the present invention provides for differential drive in that it has two current output terminals 23 and 24, for generating a positive current and a negative current, respectively, depending whether the bitstream signal contains mainly ones (corresponding to the positive half of the voiceband signal) or mainly zeroes (corresponding to the negative half of the voiceband signal), respectively. The said current signals are fed to current-to- voltage converters 25 and 26, respectively, which generate output voltage signals Nouτ,p and Nouτ,Ν, respectively, to be fed to output stages such as earphone drivers (not shown). Figure 2 schematically illustrates an internal block diagram of the FTRDAC 20. The FIRDAC 20 comprises a plurality of N FIRDAC cells 40. Hereinafter, identical elements of the FIRDAC circuit 20 will be indicated by identical reference numerals, while a subscript l refers to the position of such element in the FIRDAC circuit. Each FIRDAC cell 40, comprises a PMOS current source 50„ a shift register cell 60„ and an NMOS current sink 70,. Each PMOS current source 50, has a reference current input 51, for receiving a reference current I ref ,p, first and second binary control inputs 52, and 53, for receiving binary control signals, and first and second current output terminals 54, and 55, for providing a positive output current Ip,. Similarly, each NMOS current sink 70, comprises an input 71„ first and second control inputs 72, and 73„ and first and second current outputs 74, and 75,. Each shift register cell 60, is constituted by a D-type flipflop, and comprises a Q-output 67, and a Q-output 65,. The Q-output 67, is coupled to the first binary control input 52, of the corresponding PMOS current source 50, and to the first binary control input 72, of the corresponding NMOS current sink 70,. The Q-output 65, is coupled to the second binary control input 53, of the corresponding PMOS current source 50, and to the second binary control input 73, of the corresponding NMOS current sink 70,. Each D-type flipflop 60, has a signal input 61, and a signal output 63,. The signal input 61, is connected to the signal output 63,-ι of the previous flipflop 60,. ! . The signal input 6l ! of the first flipflop όOj is connected to the input terminal 21 of the FIRDAC 20. Further, each D-type flipflop 60, has a clock input 62, connected to the clock input terminal 22 of the FIRDAC 20. At a rate determined by the frequency of the clock signal applied to the clock input 22 of the FIRDAC 20, typically 1 MHz, the bitstream signal is shifted into the shift register. At each moment in time, a flipflop state corresponds to the value of a bit in the bitstream signal. If a bit has a value "1", the Q-output 67 of the corresponding flipflop 60 is HIGH and the Q-output 65 of this flipflop is LOW: in this situation, the corresponding PMOS current source 50 is coupled to a positive current output line 27 while the corresponding NMOS current sink 70 is coupled to a negative current output line 28. Otherwise, if a bit has a value "0", the Q-output 67 of the corresponding flipflop 60 is LOW while the Q-output 65 of this flipflop is HIGH; in this situation, the PMOS current source 50 is coupled to the negative current output line 28 while the NMOS current sink 70 is coupled to the positive current output line 27. The positive current output line 27 is connected to the positive current output terminal 23, whereas the negative current output line 28 is connected to the negative current output terminal 24. At the positive output 23 of the FIRDAC 20, the positive output signal Iouτ,p is the summation of all output currents Ip, of those PMOS current sources 50, which are coupled to the positive current output line 27 and of all output currents I , of those NMOS current sources 70, which are coupled to the positive current output line 27. Similarly, at the negative current output 24, the negative output current I OUT . N is the summation of all output currents I , of those NMOS current sinks 70, which are coupled to the negative current output line 28 and of all output currents Ip, of those PMOS current sources 50, which are coupled to the negative current output line 28. Thus, the positive and negative output currents I OUT . P and I OUT . N depend on the portion of the bitstream signal currently present in the shift register, each bit corresponding to a positive or negative current contribution, whereas the total output current I OU T.P + IOUT.N remains constant. However, the current contributions of different current sources or current sinks, respectively, differ from each other, embodying the weighting coefficient of the different FIRDAC stages, which are selected to obtain a desired response characteristic of the FIRDAC, as will be clear to a person skilled in the art. Typically, the coefficients are symmetrical around the centre stage, the cells located near the input side or near the output side of the FIRDAC 20 contributing with a relatively small output current, and the cells located near the centre of the FIRDAC 20 contributing with a relatively high output current. For each cell, 40„ the magnitude of the output currents Ip, and I N , generated by the PMOS current sources 50, and the NMOS current sink 70„ respectively, is determined by the width of the PMOS current source 50, and the NMOS current source 70„ respectively. The larger the current source or current sink, the larger the generated current. In an integrated circuit, the cells 40 are arranged next to each other. In each cell 40„ the PMOS current source 50, is located above the corresponding flipflop 60, and the NMOS current sink 70, is located below this flipflop 60,. Thus, each cell 40 takes up a column-shaped section 140 of the semiconductor substrate 100, as illustrated in figure 3. In a central portion 160 of the column-shaped semiconductor section 140, a flipflop 60 is formed; hereinafter, this central portion 160 will also be referred to as flipflop portion. In a higher portion 150 of the column-shaped semiconductor section 140, located above the central portion 160, a PMOS current source 50 is formed; hereinafter, this higher portion 150 will also be referred to as PMOS portion. In a lower portion 170 of the column- shaped semiconductor section 140, located below the central portion 160, an NMOS current sink 70 is formed; hereinafter, this lower portion 170 will also be referred to as NMOS portion. A first signal conductor 101 connects the input terminal D; n to an output terminal of the previous cell. A second signal conductor 102 connects the output terminal D 0 to the input terminal of the next cell. A third signal conductor 103 connects the Q-output signal from the flipflop portion 160 to the PMOS portion 150. A fourth signal conductor 104 connects the Q-output signal from the flipflop portion 160 to the PMOS portion 150. Similarly, fifth and sixth signal conductors 105 and 106 connect the Q-output signal and the Q -output signal, respectively, from the flipflop portion 160 to the NMOS portion 170. A continuous clock line CLK extends along all flipflop portions 160. A first continuous positive output line 111 extends along all PMOS portions 150, and a first continuous negative output line 112 extends along all NMOS portions 170. A second continuous positive output line 113 extends along all NMOS portions 170, and a second continuous negative output line 114 extends along all PMOS portions 150. Also, a first supply line N DD extends along all PMOS portions 150, and a second supply line Nss extends along all ΝMOS portions 170. At the output side of the FIRDAC 20, the first and second positive output lines 111 and 113 are coupled together; the same applies for the first and second negative output lines 112 and 114. The flipflops 60 in the FIRDAC cells 40 are mutually identical, i.e. their physical sizes are mutually identical. As the physical width of the column-shaped semiconductor section 140 is determined by the physical width of the flipflop portion 160, the widths of the column-shaped semiconductor sections 140 are mutually identical. Consequently, the widths of the PMOS portions 150 are mutually identical, and the widths of the ΝMOS portions 170 are mutually identical. As mentioned above, a FIRDAC cell 40 which is located near the centre of the FIRDAC 20 generates a relatively large current as compared to a FIRDAC cell located further away from the centre of the FIRDAC. As the magnitude of the output current generated by the PMOS current source 50 and the ΝMOS current sink 70, respectively, of a cell 40 is determined by the width of the PMOS current source 50 and the ΝMOS current source 70, respectively, this means that the width of the PMOS current source and ΝMOS current sink of a FIRDAC cell which is located further away from the centre of the FIRDAC is smaller than the width of the PMOS current source and NMOS current sink of a FIRDAC cell which is located near the centre of the FIRDAC. In practice, the width of the PMOS current source and NMOS current sink in a central FIRDAC cell is approximately equal to the width of the corresponding flipflop 60. This means that the PMOS portion 150 of such centrally located cell is almost entirely occupied by the PMOS current source 50 formed therein, and the same applies to the corresponding NMOS portion 170. However, in a cell 40 which is located further away from the central cells, the PMOS current source 50 and the NMOS current sink 70 have smaller sizes, and accordingly they do not physically occupy all the space available in the PMOS portion 150 and the NMOS portion 170, respectively. According to an important aspect of the present invention, an additional or "dummy" transistor 80 is formed in that part of the PMOS portion 150 which is not occupied by the PMOS current source 50, and an additional or "dummy" transistor 90 is formed in that part of the NMOS portion 170 which is not occupied by the NMOS current sink 70. One advantage of a dummy transistor 80 or 90 filling up the available space in a FIRDAC cell 40 not occupied by a PMOS or NMOS transistor 50 or 70, respectively, is that the surroundings for all shift register cells 60 are substantially equal. Further, according to an important aspect of the present invention, said dummy transistors 80 and 90 can be advantageously used in the bias circuit 30, as will be explained hereinafter. Figure 4 illustrates the circuit of the bias block 30 and the FIRDAC 20. The bias circuit 30 comprises an amplifier 31 receiving a reference voltage V ref at its non-inverting input, and having its output coupled to the gate of a P-transistor Px. The source of the P-transistor Px is connected to a supply line V DD , and the drain of the P-transistor Px is connected to one terminal of a resistor R, while the other terminal of the resistor R is connected to a second supply voltage Vss- As usually, the voltage level of the second voltage supply line Nss is lower than the voltage level of the first voltage supply line Nss, and normally at ground level. The node between the drain of the P-transistor Px and the resistor R is connected to the inverting input of the amplifier 31. The P-transistor Px can be a separate transistor. However, the P-transistor Px is preferably constituted by a parallel combination of a plurality of P-dummy transistors 80 in a plurality of FIRDAC cells 40. The bias circuit 30 further comprises a second P-transistor P Y having its source connected to the first supply line V DD and its gate connected to the gate of the P-transistor Px, and an N-transistor Ny having its source connected to the second supply line Vss and having its gate and its drain connected to the drain of the P-transistor Py. The transistors Py and Ny can be implemented as separate transistors, but preferably they are implemented by a parallel combination of a predetermined number of dummy transistors 80 and 90, respectively. As an alternative with improved current accuracy with respect to supply tolerances and parameter tolerances, the transistor Py might be coupled to the transistor Ny by a cascode transistor P CY (not shown), having its gate connected to further reference (or bias) voltage. In figure 4, only one FIRDAC cell 40, is shown, but all FIRDAC cells have a similar build-up, as will be clear to a person skilled in the art. Each FTRDAC cell 40, comprises a P-transistor P, having its source coupled to the first supply line V DD and having its gate coupled to the gate of said P-transistor Py, and further comprises an N-transistor N, having its source connected to the second supply line Vss and having its gate connected to the gate of said N-transistor Ny. The drain of the P-transistor P, of the FIRDAC cell 40, is coupled to a positive output line OUTP through a first switch SI, and is coupled to a negative output line OUTN through a second switch S2. Similarly, the drain of the N-transistor N, of the FIRDAC cell 40, is coupled to the positive output line OUTP through a third switch S3, and is coupled to the negative output line OUTN through a fourth switch S4. The switches SI and S3 are controlled by the inverted output Q 65 of the flipflop 60, and the second and fourth switches S2 and S4 are controlled by the output Q 67 of the flipflop 60. More particularly, the first switch SI is implemented as a P-transistor having its source connected to the drain of transistor P„ having its drain connected to the positive output line OUTP, and having its gate connected to the inverted output Q of the flipflop 60. The second switch S2 is implemented as a P-transistor having its source connected to the drain of transistor P„ having its drain connected to the negative output line OUTN, and having its gate connected to output Q of the flipflop 60. The third transistor S3 is implemented as an N-transistor having its source connected to the drain of transistor N„ having its drain connected to the positive output line OUTP, and having its gate connected to the inverted output Q of flipflop 60. The fourth switch S4 is implemented as an N-transistor having its source connected to the drain of transistor N„ having its drain connected to the negative output line OUTN, and having its gate connected to the output Q of flipflop 60. As an alternative with improved current accuracy with respect to clock feedthrough and supply tolerances, the P-switches SI and S2 might be coupled to the output lines OUTP and OUTN, respectively, by respective P-type cascode transistors (not shown), while the N-s witches S3 and S4 might be coupled to the output lines OUTP and OUTN, respectively, by respective N-type cascode transistors (not shown), wherein the gates of such cascode transistors are supplied by a stable bias voltage. All FTRDAC cells 40, are coupled to the positive and negative output lines OUTP and OUTN, respectively, in a similar manner. If the flipflop 60 contains a bit value "1", output Q is HIGH and output Q is LOW. In this situation, the switches SI and S4 are conducting, while the switches S2 and S3 are non-conductive. Thus, the positive output line OUTP is connected through switch S 1 to the drain of transistor Pi, and this transistor P„ acting as current source, delivers its output current to positive output line OUTP. Similarly, in this situation the negative output line OUTN is connected to the transistor N, through switch S4, this transistor N, acting as current sink for output line OUTN. If the flipflop 60 contains a bit value "0", the output Q is LOW and the output Q is HIGH. In this condition, the switches S2 and S3 are conductive while the switches SI and S4 are non-conductive. Thus, the current source P, is now connected to the negative output line OUTN while the current sink N, is connected to positive output line OUTP. It is noted that a FIRDAC with only one output line, wherein the current source P, and the current sink N, are both connected to such one output line, is possible. However, the FIRDAC 20 of the present invention provides two output signals on the two output lines OUTP and OUTN, more particularly a positive output signal on the positive output line OUTP and a negative output signal on the negative output line OUTN, in order to provide for differential drive. As explained above, the noise-shaper 12 is equipped with "DC dither", i.e. that for a "zero" input signal at the input of the noise-shaper, the output bitstream is not 50% ones and zeroes but has a slight offset in order to push any possible idle tones out of the voiceband region into the region above 20 kHz. As a consequence, the flipflops of the FIRDAC 20 receive to many ones, i.e. the output Q is switched to HIGH slightly too long, hence the output lines OUTP and OUTN receive too much current. Figure 4 illustrates that, according to the present application, this is compensated by coupling the positive output line OUTP to the second voltage supply line Vss through an N-transistor N comp , and by coupling the negative output line OUTN to the first voltage supply line V DD through a P-transistor P COmp - These compensation transistors N COmp and P COmp have their gates connected to the gates of Ny and Py, respectively, have their sources connected to Vss and V DD , respectively, and have their drains connected to output lines OUTP and OUTN, respectively, so that these compensation transistors N com p and P CO mp are continuously in the conductive state. In figure 4, the compensation transistors N com p and P CO mp are illustrated as single transistors. Indeed, it is possible to provide separate compensation transistors N comp and P COmP - However, according to an important aspect of the present invention, dummy transistors 80 and 90 are used for providing the compensation current as shown in figure 4. More particularly, the compensation transistor P COm p is preferably implemented as a plurality of dummy P- transistors 80 coupled in parallel, and the compensation transistor N CO m P is preferably implemented as a plurality of dummy N-transistors 90 coupled in parallel. Thus, the dummy transistors in the free spaces of the FIRDAC cells are used advantageously. The amount of DC offset in the noise-shaper 12 is a known design parameter of the noise-shaper 12, and is constant. Therefore, it is possible to calculate beforehand the required amount of compensation current for the output lines OUTP and OUTN. As explained above, the PMOS portions 150, of the FIRDAC cells 40, all have substantially the same size, but the PMOS current sources 50, is these PMOS portions 150, of the FIRDAC cells 40, have mutually different sizes, the PMOS current sources 50, near the centre of the FIRDAC 20 being larger than the PMOS current sources 50, near the ends of the FIRDAC 20. Therefore, the dummy transistors 80, have mutually different sizes, the dummy transistors 80, near the ends of the FIRDAC 20 being larger than the dummy transistors 80, near the centre of the FIRDAC 20. Since the amount of current provided by such dummy transistors 80, depends on its size, the dummy transistors 80, near the ends of the FTRDAC 20 would provide larger currents than the dummy transistors 80* near the centre of the FIRDAC 20. The same applies for the NMOS dummy transistors 90,. Since the sizes of the dummy transistors 80, and 90, are also known beforehand, it is known beforehand how much current each of the dummy transistors would provide. Consequently, it is possible to select individual dummy transistors 80, and 90, in such a way, that their combined output current substantially corresponds to the required compensation current. In other words, not all of the dummy transistors 80, and 90, are to be used as compensation transistor, but a few specific pre-selected individual dummy transistors 80; and 90; are coupled in parallel to function as compensation transistor whilst others are not used. One advantage is in this respect that the dummy P-transistors and the dummy N-transistors of the FIRDAC cells are thus, as explained above, not idle transistors but they are put to advantageous use. Further, these dummy transistors may also used to implement the transistors Px, Py and Ny in the bias circuit 30. Another advantage is that the problem of eliminating the offset in the FIRDAC is solved without involving additional semiconductor area. It should be clear to a person skilled in the art that the scope of the present invention is not limited to the examples discussed in the above, but that several amendments and modifications are possible without departing from the scope of the invention as defined in the appending claims. In the foregoing, the present invention is explained with respect to a DC offset. However, it is also possible to use "AC dither" according to a known digital AC pattern. Such an AC offset can also be compensated, but then the compensation transistors cannot be switched on continuously but must be switched on and off with the same pattern as the AC dither. Further, in the foregoing, the present invention is explained with respect to a PMOS current source located above a flipflop and an NMOS current source located below this flipflop. However, the PMOS current source may also be located below the flipflop, in which case the NMOS current source will be located above this flipflop. In any case, the relative locations of the PMOS current source, the NMOS current source and the flipflop with respect to each other are no primary essential feature of the invention. Further, with particular reference to figure 2, the present invention is explained with respect to an example where the flipflop 60 provides both Q and Q signals to both the PMOS current source and to the NMOS current source. However, it is also possible that the PMOS current source and the NMOS current source receive only one of said signals Q or Q, and comprise an inverter for deriving the inverted signal Q or Q from the received signal Q or Q. Further, in the foregoing the invention is described for a FLRDAC of the type having two output lines, one for positive output current and one for negative output current, wherein each FIRDAC cell contributes a positive current to the positive current output line and a negative current to the negative current output line in a first state of the cell (bit value "1"), and wherein each FIRDAC cell contributes said positive current to the negative current output line and said negative current to the positive current output line in a second state of the cell (bit value "0"). The invention is, however, also applicable in the context of a FTRDAC of which the FIRDAC cells would, in the second state of the cells (bit value "0"), deliver no current to any of the current output lines. Further, although the invention is explained for the case of a FIRDAC providing for differential drive by providing a positive and a negative output current on two different output lines, the present invention is also applicable to a FIRDAC with only one current output line, wherein each FIRDAC stage comprises only a current source of one type (for instance P-type) which is switched ON or OFF by the flipflop. In such case, a current source of second type (N-type) might be coupled to the current output line. However, then it is also possible to invert the bitstream signal and to use a current source of the first type (P-type) for current compensation. Further, the invention is explained for a case where the offset in the noise shaper 12 results in the shift register cells 60 being too long in the "1" state. It is, however, also possible that the offset in the noise shaper 12 results in the shift register cells 60 being too long in the "0" state. IN such case, a positive output line OUTP would receive too little positive current, which should be compensated by a positive compensation current source being coupled to the positive output line, whereas a negative output line OUTN would receive too little negative current, which should be compensated by a negative compensation current source being coupled to the negative output line.

Claims: CLAIMS: 1. FIRDAC (20) comprising at least one current output (23; 24) and a plurality of FIRDAC cells (40), each cell (40) comprising: a shift register cell (60); at least one current source (50; 70) controlled by the corresponding shift register cell (60) for coupling a FIRDAC cell current contribution (Ip,; lNι)to said at least one current output (23; 24); the FIRDAC (20) further comprising a compensation current source (N CO m P ; Pc o mp) coupled to said current output (23; 24). 2. FIRDAC according to claim 1, wherein said at least one current source (50) is arranged for generating a positive current contribution (Ip,) to said at least one current output (23), and wherein said compensation current source (N com p) is arranged for generating a predetermined, fixed amount of negative current. 3. FIRDAC according to claim 1, wherein said at least one current source (70) is arranged for generating a negative current contribution (I N *) to said at least one current output (24), and wherein said compensation current source (P CO mp) is arranged for generating a predetermined, fixed amount of positive current. 4. FIRDAC according to claim 2 or 3, wherein said at least one current source (50; 70) comprises a transistor of a first conductivity type (PMOS; NMOS) coupled between said at least one current output (23; 24) and a first supply line (V DD ; Vss), and wherein said compensation current source (N comp ; P CO mp) comprises a transistor of a second conductivity type (NMOS; PMOS) coupled between said at least one current output (23; 24) and a second supply line (V ss ; V D D). 5. FIRDAC according to claim 1, wherein said at least one current source (50) is arranged for generating a positive current contribution (Ipj) to said at least one current output (23), and wherein said compensation current source is arranged for generating a predetermined, fixed amount of positive current. 6. FIRDAC according to claim 1, wherein said at least one current source (70) is arranged for generating a negative current contribution (I N to said at least one current output (24), and wherein said compensation current source is arranged for generating a predetermined, fixed amount of negative current. 7. FIRDAC according to claim 5 or 6, wherein said at least one current source (50; 70) comprises a transistor of a first conductivity type (PMOS; NMOS) coupled between said at least one current output (23; 24) and a supply line (V DD ; V SS ), and wherein said compensation current source comprises a transistor of the same conductivity type coupled between said at least one current output (23; 24) and said supply line (Vss', V DD )- 8. FIRDAC according to any of claims 1-7, wherein said compensation current source (N comp ; P COm p) is implemented as a parallel combination of a plurality of transistors (90; 80). 9. FIRDAC according to claim 8, implemented in a semiconductor substrate (100); wherein the FIRDAC cells (40) are formed in respective sections (140) of the semiconductor substrate (100), each section (140) comprising a portion (150; 170) designed for accomodating said at least one current source (50; 70), said portions (150; 170) all having substantially the same size; wherein the at least one current sources (50; 70) of a first group of the cells (40) are relatively small as compared to the at least one current sources (50; 70) of other cells (40), such that the said portion (150; 170) of the semiconductor section (140) of a cell (40) from said first group of cells (40) comprises a part which is not occupied by said at least one current source (50; 70) of this cell (40); wherein in each of said parts a dummy transistor (80; 90) is formed; and wherein said compensation current source (N comp ; P COm p) is implemented as a parallel combination of a pre-selected plurality of said dummy transistors (90; 80). 10. FIRDAC (20) according to any of the previous claims, comprising: a PMOS current source (50) having at least one control input (52, 53) coupled to at least one control output (67, 65) of the corresponding shift register cell (60), and having at least one current output (54, 55); - an NMOS current sink (70) having at least one control input (72, 73) coupled to at least one control output (67, 65) of the corresponding shift register cell (60), and having at least one current output (74, 75); wherein current outputs (54) of all PMOS current sources (50) are coupled to a common positive current output (23), and wherein current outputs (75) of all NMOS current sinks (70) are coupled to a common negative current output (24); the FIRDAC (20) further comprising a positive compensation current source (P COmp ) coupled to said common negative current output (24) and a negative compensation current sink (N com p) coupled to said common positive current output (23). 11. FIRDAC according to claim 10, implemented in a semiconductor substrate (100), wherein at least one FIRDAC cell (40) is formed in a column-shaped section (140) of the semiconductor substrate (100), wherein the shift register cell (60) is formed in a central portion (160) of said section (140), wherein the PMOS current source (50) is formed in a PMOS portion (150) of said section (140) located above/below said central portion (160), and wherein the NMOS current sink (70) is formed in an NMOS portion (170) of said section (140) located below/above said central portion (160); wherein a dummy PMOS current source (80) is formed in that part of said PMOS portion (150) which is not occupied by the PMOS current source (50), and wherein a dummy NMOS current sink (90) is formed in that part of said NMOS portion (170) which is not occupied by the NMOS current sink (70). 12. FIRDAC according to claim 11, wherein said positive compensation current source (P COmp ) is constituted by a predetermined combination of dummy PMOS current sources (80) connected in parallel, and wherein said negative compensation current sink (P COmp ) is constituted by a predetermined combination of dummy NMOS current sinks (90) connected in parallel. 13. FIRDAC according to claim 11 or 12, comprising: a first continuous positive output line (111) formed in the substrate (100) extending along all PMOS portions (150); a first continuous negative output line (112) formed in the substrate (100) extending along all NMOS portions (170); a second continuous positive output line (113) formed in the substrate (100) extending along all NMOS portions (170); a second continuous negative output line (114) formed in the substrate (100) extending along all PMOS portions (150). 14. FIRDAC according to any of the previous claims, wherein each cell (40,) comprises: a P-transistor (P,) having its source coupled to a first supply line (V DD ); an N-transistor (N,) having its source connected to a second supply line (Vss); wherein the drain of the P-transistor (P,) is coupled to the positive current output (23) through a first switch (SI), and is coupled to the negative current output (24) through a second switch (S2); wherein the drain of the N-transistor (N,) is coupled to the positive current output (23) through a third switch (S3), and is coupled to the negative current output (24) through a fourth switch (S4); wherein said four switches (SI, S2, S3, S4) are coupled to receive output signals of the corresponding shift register cell (60,) such that in a first state of the shift register cell (60,) (bit value "1") the first and fourth switches (SI, S4) are conducting while the second and third switches (S2, S3) are non-conductive, while in a second state of the shift register cell (60,) (bit value "0") the first and fourth switches (SI, S4) are non-conductive while the second and third switches (S2, S3) are conducting. 15. FIRDAC according to claim 14, wherein: the first switch (SI) is implemented as a P-transistor having its- source connected to the drain of transistor (P,), having its drain connected to the positive current output (23), and having its gate connected to the inverted output (Q) of the shift register cell (60,); the second switch (S2) is implemented as a P-transistor having its source connected to the drain of transistor (Pi), having its drain connected to the negative current output (24), and having its gate connected to the non-inverted output (Q) of the shift register cell (60,); the third transistor (S3) is implemented as an N-transistor having its source connected to the drain of transistor (N,), having its drain connected to the positive current output (23), and having its gate connected to the inverted output (Q) of the shift register cell (60,); the fourth switch (S4) is implemented as an N-transistor having its source connected to the drain of transistor (N,), having its drain connected to the negative current output (24), and having its gate connected to the non-inverted output (Q) of the shift register cell (60j). 16. FIRDAC according to claim 14 or 15, further comprising a bias circuit (30) comprising: an amplifier (31) receiving a reference voltage (V ref ) at its non-inverting input; a P-transistor (Px) having its source connected to the first supply line (V DD ), having its drain connected to the inverting input of the amplifier (31), and having its gate connected to the output of the amplifier (31); a resistor (R) having one terminal connected to the drain of the P-transistor (P x ) and having its other terminal connected to the second supply voltage (Vss); a P-transistor (Py) having its source connected to the first supply line (V DD ) and having its gate connected to the gate of the P-transistor (Px); an N-transistor (Ny) having its source connected to the second supply line (Vss) and having its gate and its drain coupled to the drain of the P-transistor (Py); wherein the gate of P-transistor (Py) is connected to the gates of the P-transistors (P,) of the FIRDAC cells (40,), and wherein the gate of N-transistor (Ny) is connected to the gates of the N-transistors (N,) of the FIRDAC cells (40,). 17. FIRDAC according to clarm 16, wherein the P-transistor (Px) is constituted by a parallel combination of a plurality of dummy P-transistors (80), wherein the P-transistor (Py) is constituted by a parallel combination of a plurality of dummy P-transistors (80), and wherein the N-transistor (Ny) is constituted by a parallel combination of a plurality of dummy N-transistors (90). 18. FIRDAC according to any of the previous claims, having a signal input (21) connected to an output of a noise shaper (12) which is provided with DC dither or AC dither.

Inventors: GROENEWEG WILLEM H, GROENEWEG, WILLEM, H.
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2000
Main classification: H03M1
IPC codes: H03M1, H03M3, H03M7