Thermometer digital to analog converter

10340935 ยท 2019-07-02

Assignee

Inventors

Cpc classification

International classification

Abstract

A thermometer-coded Digital to Analog Converter (DAC) is described, whose output is changed with fast speed, and reduced output overshoot or undershoot. The thermometer-coded DAC has selection switches and an up/down counter, with DAC codes separated into higher and lower bits. The lower bits increase up to a maximum code, then decrease. The configuration of resistors in the DAC reduces output spike, especially at the DAC code changing point.

Claims

1. An n-bit thermometer-coded Digital to Analog Converter (DAC), comprising: m banks of resistors connected together in p strings, wherein an mth resistor of a first of said strings is connected to an mth resistor of a second of said strings, wherein a 1.sup.st resistor of said second of said strings is connected to a 1.sup.st resistor of a third of said strings, and with connections between remaining strings continuing in a similar pattern until a pth string; a set of p switches connected to each of said resistors in each of said banks; and an up/down counter configured to control said set of p switches, with a DAC code separated into lower bits and higher bits.

2. The thermometer-coded DAC of claim 1, configured such that when a voltage from said DAC is to be connected to an output voltage terminal, all banksel switches for a selected bank are switched together.

3. The thermometer-coded DAC of claim 2, configured such that a string from which said voltage is to be read is selected by closing one switch in a muxsel set of switches.

4. The thermometer-coded DAC of claim 3, wherein said DAC code is separated into said lower bits for said banksel switch selection, and into said higher bits for said muxsel switch selection.

5. The thermometer-coded DAC of claim 4, wherein said up/down counter is configured to increase said lower bits of said DAC code up to a maximum code, then decrease.

6. The thermometer-coded DAC of claim 4, configured for a total of 2.sup.n of said banksel switches and said muxsel switches.

7. The thermometer-coded DAC of claim 4, wherein said DAC code is configured to change such that there is elimination of a code jump.

8. The thermometer-coded DAC of claim 2, wherein said banksel switches are connected at a location for a next DAC code, from a previous timing, for both rising and falling voltages.

9. The thermometer-coded DAC of claim 2, wherein said banksel switches are configured to change such that they cancel a charge injection effect of other banksel switches.

10. The thermometer-coded DAC of claim 2, wherein said voltage from said DAC is configured to be close to a target output voltage.

11. The thermometer-coded DAC of claim 2, wherein said n-bits comprise a 7-bit code.

12. A method for a thermometer-coded Digital to Analog Converter (DAC) comprising: providing m banks of resistors connected together in p strings; connecting an mth resistor of a first of said strings to an mth resistor of a second of said strings, connecting a first resistor of said second of said strings to a first resistor of a third of said strings, and connecting remaining strings in a similar pattern until a pth string; connecting a set of p switches to each of said resistors in each of said banks; and controlling said set of p switches with an up/down counter, and a DAC code separated into lower bits and higher bits.

13. The method of claim 12, further comprising switching together all switches in said set of p switches or banksel switches, for a selected bank, when a voltage from said DAC is to be connected to an output voltage terminal.

14. The method of claim 13, further comprising selecting a string for said voltage by closing one switch in a muxsel set of switches.

15. The method of claim 14, further comprising separating said DAC code into said lower bits for said banksel switch selection, and into said higher bits for said muxsel switch selection.

16. The method of claim 12, further comprising increasing said up/down counter to a maximum code, then decreasing said up/down counter.

17. The method of claim 15, wherein changing said DAC code such that there is elimination of a code jump.

18. The method of claim 13, further comprising connecting said banksel switches at a location for a next DAC code, from a previous timing, for both rising and falling voltages.

19. The method of claim 13, wherein changing of said banksel switches cancels a charge injection effect of other banksel switches.

20. The method of claim 13, further comprising configuring said voltage from said DAC close to a target output voltage.

21. The method of claim 13, wherein said n-bits comprise a 7-bit code.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 illustrates a general thermometer-coded Digital to Analog Converter (DAC) of the prior art.

(2) FIG. 2 shows a simplified configuration of a thermometer-coded Digital to Analog Converter (DAC) of the prior art.

(3) FIG. 3 illustrates banksel selection and DAC output voltage, of a simplified configuration of a thermometer-coded DAC, of the prior art.

(4) FIG. 4 shows banksel selection and DAC output voltage, embodying the principles of the disclosure.

(5) FIG. 5a illustrates the configuration of the connections between 6 strings of resistors, embodying the principles of the disclosure.

(6) FIG. 5b illustrates the up/down counter used for bank selection, in the disclosure.

(7) FIG. 6 shows the behavior of the lower 4 bits of a DAC code, embodying the principles of the disclosure.

(8) FIG. 7a illustrates a simulation comparison between the prior art and the present disclosure.

(9) FIG. 7b illustrates the configuration of the connections between p strings of resistors, in the disclosure.

(10) FIG. 8 shows a method for a thermometer-coded Digital to Analog Converter, embodying the principles of the disclosure.

DETAILED DESCRIPTION

(11) A thermometer-coded Digital to Analog Converter (DAC) is described, whose output is changed with fast speed, and reduced output spike (overshoot or undershoot). The thermometer-coded DAC has additional selection switches and an up/down counter, in contrast to previously known designs. The DAC code is separated into higher bits (for muxsel, or string, selection) and lower bits (for banksel, or bank, selection). The lower bits increase up to a maximum code, then decrease. This configuration reduces output spike, especially at the DAC code changing point.

(12) There are advantages of reducing overshoot and undershoot output voltage spikes. If the spikes are large enough, a monotonically increasing or decreasing output cannot be maintained. In addition, the DAC output voltage may be used as a reference voltage, and the block using this reference voltage tracks the spike, resulting in additional current consumption. Furthermore, high frequency noise, created by overshoot and undershoot output voltage spikes, may cause the system within which the DAC is located to malfunction.

(13) For example when the DAC code changes from 0111 to 1000, there is the elimination of a code jump, as the most significant bit changes. Just before the muxsel switch changes, controlling the selection of 1 of 6 strings of resistors, the future banksel switch, controlling the selection of 1 of 16 resistors in the string, has already moved to the closest location for the next DAC code.

(14) In the present disclosure, a new resistor arrangement helps to achieve this. When the DAC code changes, some of the resistor banksel outputs change in a way opposite to the others. The next banksel switch output is set to the closest position as the previous timing, for both rising and falling voltages.

(15) FIG. 4 400 shows the banksel selection and the DAC output voltage, embodying the principles of the disclosure. Now, some non-selected banksel outputs change such that they cancel the charge injection effect of other banksel outputs. The banksel outputs corresponding to Muxsel switch inputs 1, 3 and 5, change in an opposite direction (decrementing rather than incrementing) to the banksel outputs corresponding to Muxsel switch inputs 0, 2 and 4. This causes the banksel output voltage to be closest to the target output voltage Vout 410, just before selection.

(16) There are two key features of the present disclosure. One feature is the connections between the 6 strings of resistors. Another feature is the behavior of the lower 4 bits of the DAC code, controlling the selection of the 16 resistors in each string.

(17) FIG. 5a, configuration 500 of the connections between the 6 strings of resistors is shown. Similar to FIG. 2, there are 6 strings of resistors, and 16 switches in each string. Each of the 6 strings of resistors is selected with a muxsel switch, using the upper 3 bits of the DAC decoding logic, and each of the 16 resistors in the string is selected with a banksel switch, using the lower 4 bits of the DAC decoding logic, and an up/down counter.

(18) In FIG. 2 of the prior art, the Bank15 resistor of String0 is connected to the Bank0 resistor of String1, whereas in FIG. 5 of the present disclosure, the Bank 15 resistor of String0 is connected to the Bank15 resistor of String1. In the prior art, the Bank15 resistor of String1 is connected to the Bank0 resistor of String2, and in the present disclosure, the Bank0 resistor of String1 is connected the Bank0 resistor of String2. The configuration of the present disclosure reduces any spike on output voltage Vout, because of the connection of the banksel switch being moved to the switch closest to the location of the next DAC code.

(19) FIG. 5b illustrates up/down counter 550 used for bank selection, in the disclosure. The up/down, or bidirectional, counter receives a control signal that determines the direction of the count, as well as a clock signal. The output of the counter is used for the bank of resistors selection in FIG. 5a and FIG. 7b.

(20) In FIG. 6, behavior of the lower 4 bits of the DAC code 600 is shown. In the prior art, the DAC code is a 1-step increment code. In the present disclosure, the lower 4 bits of the DAC code increase from 0 to 15, then decrease from 15 to 0, repeating this pattern, controlling the selection of the 16 resistors in each of the 6 strings of resistors. Even though the lower bits of the DAC code are used differently between the prior art and the present disclosure, the DAC output is still increasing with a 7-bit code.

(21) In FIG. 7a, simulation comparison 700 is shown between the prior art and the present disclosure. In prior art 720, overshoot is due to the lower 4 bits of the DAC code increasing up to code 15, then going back to code 0 again and creating a large charge injection on the DAC output voltage. In present disclosure 710, the connection of the banksel switches are moved to the closest location of the next DAC code. The increasing of the lower 4 bits of the DAC code from 0 to 15, and then the decreasing of the lower 4 bits of the DAC code from 15 to 0, reduces any spike on the output voltage.

(22) The above description shows, for example only, the use of 6 strings of resistors, each controlled by a muxsel switch, and 16 resistors in each string, each controlled by a banksel switch. The number of resistor strings and banks may of course vary. The present disclosure further comprises a DAC code of 3 higher bits for muxsel control, and 4 lower bits for banksel control. Note that any combination of muxsel and banksel switches can be similarly configured for a n-bit DAC code, for up to 2.sup.n switches.

(23) FIG. 7b illustrates configuration 750 of the connections between p strings of resistors, in the disclosure. Here there are m banks, labeled Bank0, Bank1, up to Bank m. Generally, the number of muxsel switches will equal the number of strings. Similarly, the number of banksel switches will equal the number of banks of resistors. Each of the p strings of resistors is selected using the upper bits of the DAC decoding logic, and each of the m resistors in the string is selected using the lower bits of the DAC decoding logic, and an up/down counter.

(24) FIG. 8 is flow chart 800, of a method for a thermometer-coded Digital to Analog Converter (DAC). Step 810 provides for m banks of resistors connected together in p strings. Step 820 connects an mth resistor of a first of the strings to an mth resistor of a second of the strings, connecting a first resistor of the second of the strings to a first resistor of a third of the strings, and connecting remaining strings in a similar pattern until a pth string. Step 830 connects a set of p switches to each of the resistors in each of the banks. Step 840 controls the set of p switches with an up/down counter.

(25) The advantages of one or more embodiments of the present disclosure include providing a thermometer-coded Digital to Analog Converter (DAC), with a smaller sized area and reduced control signals. The configuration improves resistor string based DAC performance, by minimizing the output overshoot/undershoot, when most significant bits change, in the situation where the DAC input code is continuously ramping up or down.

(26) While this invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.