DIGITAL-TO-ANALOG CONVERTER
A digital-to-analog converter (DAC) is disclosed, which provides different bias voltages to the most significant bits (MSBs) and the least significant bits (LSBs) of the digital signal. These two bias voltages can be adjusted according to the match among the current source cells, and maintain a particular proportional relationship. The DAC further includes a bias converter for receiving the first bias voltage, and adjusting the second bias voltage according to the match among the current source cells.
This application claims the priority benefit of Taiwan application serial no. 94101266, filed on Jan. 17, 2005. All disclosure of the Taiwan application is incorporated herein by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a digital-to-analog converter (DAC), more particularly, to a digital-to-analog converter providing the MSB (most significant bit) portion and the LSB (least significant bit) portion with different bias voltages, wherein these two bias voltages would be adjusted according to the match of current source cells.
2. Description of the Related Art
The digital-to-analog converter (DAC) has been widely used for data transforming in electronic devices. The DAC mainly converts the digital signals to corresponding analog signals, which are used in electronic devices. The application of the DACs is very wide. The DACs with high resolution and high speed, for example, can be applied to mobile phones or base stations of communication systems, cordless communication networks, image processing and display systems, or audio/video systems, and so on.
A conventional DAC can be, for example, a binary-weighted DAC. Such a DAC comprises various current sources and the corresponding switches. A conventional binary-weighted DAC is shown in
During the operation, an input-code IN controls the turning-on and turning-off of switches S1, S2 and S3 and the corresponding output currents would reach the output end OUT via the line 118. According to such control, the magnitude of the output current is proportional to the value of input code IN. And a conventional output circuit (not shown), such as an operation amplifier, can be connected in series thereto for converting the output current to a corresponding voltage value, or to an output voltage with low impedance. The control circuit for the kind of binary-weighted DAC is simpler.
However, in the above operation, there would be so-called transient glitch which may affect the accuracy of digital-analog conversion. When an input-code IN is changed from 011 (in binary system) to 100, all three switches S1, S2 and S3 will change their status, although only the “1” bit-value is changed. Therefore, the binary-weighted DAC is not suitable for converting the digital signal with large bits, and it doesn't guarantee a non-monotonic function. Referring to
In other words, if a binary-weighted DAC has more bits, and each received digital bit controls 2(n−1) current source cells, where n ranges from 1 to 10, then, transient glitch would be more serious. The DNL error could be caused by characteristic discrepancy among the formed transistors in the array of current source cells. And, the characteristic discrepancy among the formed transistors can be traced back to the inconsistency in semiconductor manufacturing process, such as inconsistent thickness of oxide layer, poor poly-silicon etching, or shift in ion implant, and so on. In addition, the binary-weighted DAC needs a substantial chip layout area as well.
To improve the transient glitch, a DAC with so-called thermometer-code was introduced to control output of current source. Referring to
The DAC 200 further comprises fifteen current source cells CSM1˜CSM15 corresponding to MSBs and fifteen current source cells CSL1˜CSL15 corresponding to LSBs. The current source cells CSM1˜CSM15 are connected to the outputs M1˜M15 of the four-to-fifteen bit converter 210 via the corresponding switches SWM1˜SWM15. And, the current source cells CSL1˜CSL15 are connected to the outputs L1˜L15 of the four-to-fifteen bit converter 220 via the corresponding switches SWL1˜SWL15. The outputs M1˜M15 of the four-to-fifteen bit converter 210 are used to control the turning-on and turning-off of the switches SWM1˜SWM15. And, the outputs L1˜L15 of the four-to-fifteen bit converter 220 are used to control the turning-on and turning-off of switches SWL1˜SWL15.
The arrangement of the current source cells CSL1˜CSL15 corresponding to LSBs and the arrangement of the current source cells CSM1˜CSM15 corresponding to MSBs in the above-described configuration can be seen with reference to
In the DAC with thermometer-codes to control the outputs from the current sources, the difference of the current source cells controlled by one thermometer-code and another is one cell only. Thus transient glitch can be reduced, but the size required by the current source cells is bigger, and the control circuit is very complicated.
To reduce the size of required current source cells and the complexity of the control circuit, those skilled in the art presented a segment-type DAC combining thermometer-code and binary-weighted to control the outputs of the current sources. The configuration thereof is schematically shown in
In the most ideal situation, the DAC should have linearly increasing analog output value along with the increasing value of the input-code. Nevertheless, it is apparent to those skilled in the art that in terms of the output from the DAC, the non-linearity problem still remains. In particular, as binary values are converted to thermometer-codes, the differential non-linearity (DNL) error still remains.
SUMMARY OF THE INVENTIONIt is an object of the present invention to provide a digital-to-analog converter (DAC) which provides two different bias voltages to the most significant bit (MSB) portion and the least significant bit (LSB) portion. These two bias voltages can be adjusted according to the match among the current source cells.
Another object of the present invention is to provide a digital-to-analog converter (DAC) which provides two different bias voltages to the most significant bit (MSB) portion and the least significant bit (LSB) portion. The two bias voltages are proportional, and can be synchronously adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a segment-type DAC combining thermometer-code and binary-weighted configuration. The segment-type DAC provides two different bias voltages to the thermometer-code portion for the MSBs and the binary-weighted portion for the LSBs. And, the two bias voltages can be adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a segment-type DAC combining thermometer-code and binary-weighted configuration. The segment-type DAC provides two different bias voltages to the thermometer-code portion for the MSBs and the binary-weighted portion for the LSBs. And, the two bias voltages are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a thermometer-code DAC which provides two different bias voltages to the MSB portion and the LSB portion. And, the two bias voltages can be adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a thermometer-code DAC which provides two different bias voltages to the MSB portion and the LSB portion. And, the two bias voltages are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a binary-weighted DAC which provides two different bias voltages to the MSB portion and the LSB portion. And, the two bias voltages can be adjusted according to the match among the current source cells.
In an embodiment, the present invention is suitable for a binary-weighted DAC which provides two different bias voltages to the MSB portion and the LSB portion. And, the two bias voltages are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells.
To achieve the above-described objects, the present invention provides a DAC suitable for a segment-type configuration combining thermometer-code portion and binary-weighted portion. Therewith, a MSB portion of an input-code is thermometer-encoded to generate multiple corresponding thermometer codes. And therewith, a LSB portion of an input-code is binary-weighted to generate a plurality of binary-weighted codes. The DAC comprises a plurality of current source cells to provide currents. Wherein, a first portion of the current source cells receives a first bias voltage, and provides a current corresponding to the above-mentioned thermometer-code. A second portion of the current source cells receives a second bias voltage, and provides a current corresponding to the above-mentioned binary-weighted code. The first bias voltage and the second bias voltage would be adjusted according to match among the current resource cells, and remain a certain proportion.
In an embodiment, the above-described DAC further comprises a bias converter for receiving the first bias voltage, and adjusting the second bias voltage according to the match among the current resource cells.
In another embodiment, the above-described DAC further comprises a bias converter for receiving the second bias voltage, and adjusting the first bias voltage according to the match among the current resource cells.
In an embodiment, the above-described bias converter comprises a first transistor. And a gate thereof is coupled to the first bias voltage, a drain/source thereof is connected to an operation voltage, and another drain/source thereof is connected to a resistor element. Another end of the resistor element is connected to a current mirror circuit. The above-described bias converter further comprises a second transistor. A drain/source thereof is connected to said operation voltage, another drain/source thereof is connected to a gate thereof and connected to the current mirror circuit. And the second bias voltage just applies to the gate of the second transistor. According to the received first bias voltage, the second bias voltage is adjusted by the current mirror circuit and the resistor element.
In an embodiment, the above-described current mirror circuit comprises a third transistor. Wherein, a gate thereof is coupled to a drain/source thereof and connected to the resistor element, and another drain/source is grounded. The current mirror circuit further comprises a fourth transistor. Wherein, a gate thereof is connected to the gate of the third transistor, a drain/source thereof is connected to another drain/source of the second transistor and to the gate of the second transistor, and another drain/source is grounded.
In an embodiment, the above-described first transistor and second transistor have the same size, and the quantity thereof is equal to that of the current source cells in the first portion. These transistors are used for improving the device mismatch.
In an embodiment, the above-described resistor element is designed for compensating the channel length modulation of the DAC.
BRIEF DESCRIPTION OF THE DRAWINGSThe accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve for explaining the principles of the invention.
The present invention provides a segment-type digital-to-analog converter (DAC) which provides two different bias voltages to the thermometer-code portion of the most significant bits (MSBs) and the binary-weighted portion of the least significant bits (LSBs). These two bias voltages can be adjusted according to the match among the current source cells. In addition, the two bias voltages are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells.
If a first bias voltage is, for example, provided to the thermometer-code portion of the MSBs, then a second bias voltage is provided to the binary-weighted portion of the LSBs. The second bias voltage is obtained by converting the first bias voltage using a bias converter. The configuration thereof is shown in
On the other hand, in an alternative embodiment, the first bias voltage can be obtained by converting the second bias voltage as well.
Referring to
A schematic circuit drawing of a full current source cell in a DAC is shown in
The configuration of the current source cells is shown in
The DNL error and/or the non-monotonic problem could be a matter of device mismatch; that is, the characteristic discrepancy among the formed transistors in the array of current source cells for LSB and MSB. And, the characteristic discrepancy among the formed transistors generally can be traced back to the inconsistency in semiconductor manufacturing process, such as inconsistent thickness of oxide layer, poor poly-silicon etching, or shift in ion implant, and so on. To avoid the discrepancy among the components, appropriate configurations must be applied. The U.S. Pat. No. 5,568,145, for example, provides a solution where the current source cells of LSB are arranged between two portions of the current source cells of MSB. But the discrepancy still remains. The other cause for the problem is layout limitation. To reduce the chip size, the adopted layout is very limited, and the lines between components are also limited, and thus the discrepancy problem.
Referring to
First of all, the bias generating circuit 910 of the DAC 900 comprises an operation amplifier OP, a transistor A5 and a resistor R1. One input end of the operation amplifier OP is connected to a reference voltage Vref. Another input end thereof is connected to the connecting point N1 of the transistor A5 and the resistor R1. The output from the operation amplifier OP, or a generated bias voltage is BIAS1, and is connected to the gate of the transistor A5. One drain/source of the transistor A5 is connected to an operation voltage VDD, and another drain/source thereof is grounded via the resistor R1. For each segment in the 10-bit DAC 900, the thermometer-code portion is 64*15, and the binary-weighted portion is 32, 16, 8, 4, 2 and 1. Thus, referring to
Assuming the total output current from the DAC 900 is 1 mini ampere (mA), and the required unit current is 1 μA. In the bias generating circuit 910 of the current source cells, the generated current thereof is Vref/r, and the unit current thereof is Vref/(r*X), where r is resistance of the resistor R1, and X is the magnification multiple of the transistor A5. Thus, when the reference voltage Vref is 1.2 volt (V), by using 10 as the magnification multiple in the transistor A5, and 120 kilo ohm (KΩ) as the resistance of R1, then the unit current is Vref/(r*X)=1.2/(120*10)=1 micro ampere (μA).
In the segment-type DAC 900 combining thermometer-code and binary-weighted in an embodiment of the present invention, each segment comprises a thermometer-code portion and a binary-weighted portion. A bias converter 920 is disposed between the above-mentioned two portions. The bias converter 920 is used to adjust another bias voltage BIAS2 for generating the binary-weighted portion according to both the bias voltage BIAS1 from the bias generating circuit 910 and the match among the current source cells. In addition, these two bias voltages BIAS1 and BIAS2 are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells. Any circuit capable of adjusting these two bias voltages is applicable to the present invention. For a clear description, only one embodiment is described as follows, but the present invention is not limited thereto. The schematic circuit drawing from the embodiment is shown in
The bias converter 920 comprises a transistor A1, a transistor A2, transistors A3 and A4, and a resistor R2. The gate of the transistors A1 is coupled to the bias voltage BIAS1 generated by the bias generating circuit 910, a drain/source thereof is connected to an operation voltage VDD, and another drain/source thereof is connected to the resistor element R2. Another end of the resistor element R2 is connected to a current mirror circuit formed by the transistors A3 and A4. A drain/source of the transistor A2 is connected to an operation voltage VDD, and another drain/source thereof is connected to the gate thereof and connected to the current mirror circuit formed by the transistors A3 and A4. In an alternative embodiment, the resistor element is not required depending on the layout of the transistor A1, A2, A3 and A4.
If both the transistor A1 and A2 have the same size and the same quantity of 64 pieces, then the total sum in the binary-weighted portion is 63. And, both the transistor A3 and A4 in the current mirror circuit have the same quantity as well. The resistor element R2 is used for compensating the channel length modulation. In an embodiment, this resistance should be 32 times of the external resistor. Certainly, the compensation value can be adjusted according to the transistor A3 and the resistor R2.
Since the amount of the components in the thermometer-code segment is close to the amount of the transistor A1, and the both layouts are similar, the device mismatch is relatively reduced. But, in terms of the quantity and the arrangement of components, there is a big difference between the thermometer-code segment and the binary-weighted portion, leading to serious device mismatch. Referring to
In the segment-type DAC 900 combining thermometer-code and binary-weighted of another embodiment of the present invention, each segment comprises a thermometer-code portion and a binary-weighted portion. A bias converter 920 is disposed between the above-mentioned two portions. The bias converter 920 can generate the bias voltage BIAS1 of the thermometer-code portion according to another bias voltage BIAS2 of the binary-weighted portion and the match among the current source cells. These two bias voltages BIAS1 and BIAS2 are proportional, and the two bias voltages can be synchronously adjusted according to the match among the current source cells.
In an alternative embodiment of the present invention, such design of the current driving mode to improve the match state is applicable in a thermometer-code DAC. As shown in
In one alternative embodiment of the present invention, such design of the current driving mode to improve the match state is applicable in a thermometer-code DAC. As shown in
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the specification and examples to be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims and their equivalents.
Claims
1. A digital-to-analog converter (DAC) suitable for a segment type combining a thermometer-code portion and a binary-weighted portion, used for thermometer-encoding a MSB portion of an input-code and generating multiple corresponding thermometer-codes, and binary-weighting a LSB portion of said input-code and generating a plurality of binary-weighted codes, wherein said DAC comprises:
- a plurality of current source cells for providing currents, wherein a first portion of said current source cells receives a first bias voltage and provides a current corresponding to said thermometer-codes, and a second portion of said current source cells receives a second bias voltage and provides a current corresponding to said binary-weighted codes, wherein said first bias voltage and said second bias voltage are adjusted according to the match among said current source cells, and keep a particular proportional relationship.
2. The DAC as recited in claim 1, wherein the DAC further comprises a bias converter for receiving said first bias voltage and adjusting said second bias voltage according to the match among said current source cells.
3. The DAC as recited in claim 1, wherein said bias converter comprises:
- a first transistor, wherein a gate thereof is coupled to said first bias voltage, a drain/source thereof is connected to an operation voltage, and another drain/source thereof is connected to a resistor element, and another end of said resistor element is connected to a current mirror circuit; and
- a second transistor, wherein a drain/source thereof is connected to said operation voltage, another drain/source thereof is connected to a gate thereof and to said current mirror circuit, and the gate of said second transistor is applied by said second bias voltage which can be adjusted by said current mirror circuit and said resistor element according to received said first bias voltage.
4. The DAC as recited in claim 3, wherein said current mirror circuit comprises:
- a third transistor, wherein a gate thereof is coupled to a drain/source thereof and to said resistor element, and another drain/source is grounded; and
- a fourth transistor, wherein a gate thereof is connected to the gate of said third transistor, a drain/source thereof is connected to another drain/source of said second transistor and said gate of said second transistor, and another drain/source thereof is grounded.
5. The DAC as recited in claim 3, wherein said first transistor and said second transistor have the same size, and the quantity thereof is equal to the quantity of said current source cells in said first portion, to improve the device mismatch among the components.
6. The DAC as recited in claim 3, wherein the resistance of said resistor element is designed to compensate the channel length modulation in said DAC.
7. The DAC as recited in claim 6, wherein the resistance of said resistor element can be 32 times of an external resistor.
8. The DAC as recited in claim 1, wherein the DAC further comprises a bias converter for receiving said second bias voltage, and adjusting said first bias voltage according to the match among said current source cells.
9. The DAC as recited in claim 1, wherein said bias converter comprises:
- a first transistor, wherein a gate thereof is coupled to said first bias voltage, a drain/source thereof is connected to an operation voltage, another drain/source thereof is connected to a resistor element, and another end of said resistor element is connected to a current mirror circuit; and
- a second transistor, wherein a drain/source thereof is connected to said operation voltage, another drain/source thereof is connected to a gate thereof and to said current mirror circuit, the gate of said second transistor is applied by said second bias voltage, and said first bias voltage can be adjusted by said current mirror circuit and said resistor element according to the received said second bias voltage.
10. The DAC as recited in claim 9, wherein said current mirror circuit comprises:
- a third transistor, wherein a gate thereof is coupled to a drain/source thereof and to said resistor element, and another drain/source thereof is grounded; and
- a fourth transistor, wherein a gate thereof is connected to the gate of said third transistor, a drain/source thereof is connected to another drain/source of said second transistor and said gate of said second transistor, and another drain/source thereof is grounded.
11. The DAC as recited in claim 9, wherein said first transistor and said second transistor have the same size, and the quantity thereof is equal to the quantity of said current source cells in said first portion, to improve the device mismatch among the components.
12. The DAC as recited in claim 9, wherein the resistance of said resistor element is designed to compensate the channel length modulation in said DAC.
13. The DAC as recited in claim 12, wherein the resistance of said resistor element can be 32 times of an external resistor.
14. A DAC, comprising:
- a first set of current source cells which comprise a plurality of the first current source cells to receive a first bias voltage and to provide a current according to a first code;
- a second set of current source cells which comprise a plurality of the second current source cells to receive a second bias voltage and to provide a current according to a second code; and
- a bias converter, disposed between said first set of current source cells and the second set of current source cells, for adjusting both said first bias voltage and said second bias voltage and maintaining a particular proportional relationship therebetween according to the match between said first current source cells and said second current source cells.
15. The DAC as recited in claim 14, wherein said bias converter comprises:
- a first transistor, wherein a gate thereof is coupled to said first bias voltage, a drain/source thereof is connected to an operation voltage, another drain/source thereof is connected to a resistor element, and another end of said resistor element is connected to a current mirror circuit; and
- a second transistor, wherein a drain/source thereof is connected to said operation voltage, another drain/source thereof is connected to a gate thereof and to said current mirror circuit, the gate thereof is applied by said second bias voltage which can be adjusted by said current mirror circuit and said resistor element according to the received said first bias voltage.
16. The DAC as recited in claim 15, wherein said current mirror circuit comprises:
- a third transistor, wherein a gate thereof is coupled to a drain/source thereof and to said resistor element, and another drain/source thereof is grounded; and
- a fourth transistor, wherein a gate thereof is connected to the gate of said third transistor, a drain/source thereof is connected to another drain/source of said second transistor and said gate of said second transistor, and another drain/source thereof is grounded.
17. The DAC as recited in claim 16, wherein the resistance of said resistor element is designed to compensate the channel length modulation in said DAC.
18. The DAC as recited in claim 14, wherein said first code is a thermometer-code, and said second code is a binary-weighted code.
19. The DAC as recited in claim 14, wherein both said first code and said second code are thermometer-codes.
20. The DAC as recited in claim 14, wherein both said first code and said second code are binary-weighted codes.
Type: Application
Filed: Apr 19, 2005
Publication Date: Jul 20, 2006
Inventor: Kuo-Yu Chou (Hsinchu County)
Application Number: 10/907,861
International Classification: H03M 1/66 (20060101);