Thermometer digital to analog converter
10340935 ยท 2019-07-02
Assignee
Inventors
Cpc classification
H03M1/68
ELECTRICITY
H03M1/765
ELECTRICITY
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)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
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)
(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)
(18) In
(19)
(20) In
(21) In
(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)
(24)
(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.