The present disclosure relates to a digitally-controlled resistor, which is a variable resistor that is controlled by digital bits.
It is beneficial for digitally-controlled resistors to be linear while providing high resolution. This, however, can be difficult to achieve with low power due to the impact of leakage currents. For instance, in ultra-low power circuit designs, switch leakages can degrade the performance of the high resolution digitally-controlled resistor.
That is, the change in digital bits leads to change in the intermediate node voltages, which in turn impacts the leakages of the switches. This leakage change due to digital code change reflects as an error in a step size (e.g., 0001 from 0010) of the digitally-controlled resistor, thereby degrading its linearity.
This technical issue is highlighted most at the mid-code change (e.g., 1000 from 0111 or vice versa) in the digitally-controlled resistor.
Some embodiments of the present disclosure includes an electronic device. The electronic device includes a first node and a second node. The electronic device includes a first switch-resistor segment between the first node and the second node. The first switch-resistor segment includes: a first resistor having a first resistance value; a first complement switch coupled in series with the first resistor; and a first switch coupled parallel to the first resistor and the first complement switch. The first switch is switched ON when the first complement switch is OFF and the first switch is switched OFF when the first complement switch is ON.
Some embodiments of the present disclosure includes a method of operating an N-bit digitally controlled resistor. The method includes operating a first switch of a first switch-resistor segment coupled in parallel with a first resistor and a first complement switch. Operating the first switch of the first switch-resistor segment includes: turning on the first switch and turning off the first complement switch coupled in series with the first resistor having a first resistance value; or turning off the first switch and turning on the first complement switch. An operation of the first switch is indicative of a least significant bit (LSB) of the N-bit digitally controlled resistor, a ‘0’ logic value indicative of the first switch being OFF, and a ‘1’ logic value indicative of the first switch being ON,
The first resistor, the first complement switch, and the first switch defines the first switch-resistor segment between a first node and a second node opposite the first node.
Some embodiments of the present disclosure includes an electronic device. The electronic device includes an N-bit digitally controlled resistor. The N-bit digitally controlled resistor includes a first node and a second node; and a central switch-resistor segment between the first node and the second node. The central switch-resistor segment includes: a first resistor having a first resistance value; and a first switch coupled parallel to the first resistor.
The N-bit digitally controlled resistor includes a plurality of switch-resistor segments arranged symmetrically with respect to the central switch-resistor segment. A number of switch-resistor segments among the plurality of switch-resistor segments in a first section between the first node and the central switch-resistor segment and a number of switch-resistor segments among the plurality of switch-resistor segments in a second section between the second node and the central switch-resistor segment are equal to each other.
Some embodiments of the present disclosure includes a method of operating an N-bit digitally controlled resistor. The method includes controlling a first switch of a central switch-resistor segment coupled in parallel with a first resistor having a first resistance value based on a digital bit between a ‘0’ logic value and a ‘1’ logic value. Controlling the first switch of the central switch-resistor segment includes: turning on the first switch based on a digital bit of ‘1’ logic value; and turning off the first switch based on a digital bit of ‘0’ logic value.
Controlling the first switch of the central switch-resistor segment is indicative of a least significant bit (LSB) of the N-bit digitally controlled resistor.
The central switch-resistor segment is coupled between a first node and a second node.
Some embodiments of the present disclosure includes an electronic device. The electronic device includes an N-bit digitally controlled resistor. The N-bit digitally controlled resistor includes a first node and a second node; a central switch-resistor segment between the first node and the second node; and a plurality of switch-resistor segments arranged symmetrically with respect to the central switch-resistor segment.
The central switch-resistor segment includes a first resistor having a first resistance value; a first complement switch coupled in series with the first resistor; and a first switch coupled parallel to the first resistor and the first complement switch, the first switch being switched ON when the first complement switch is OFF and the first switch being switched OFF when the first complement switch is ON.
A number of switch-resistor segments among the plurality of switch-resistor segments in a first section between the first node and the central switch-resistor segment and a number of switch-resistor segments among the plurality of switch-resistor segments in a second section between the second node and the central switch-resistor segment are equal to each other.
Some embodiments of the present disclosure includes a method of operating an N-bit digitally controlled resistor. The method includes controlling a first switch of a central switch-resistor segment based on a digital bit between a ‘0’ logic value and a ‘1’ logic value. The first switch is coupled in parallel with a first resistor of the central switch-resistor segment having a first resistance value and a first complement switch of the central switch-resistor segment coupled in series with the first resistor.
The method includes controlling the first complement switch in response to the digital bit provided to the first switch. Controlling the first switch and the first complement switch of the central switch-resistor segment includes: turning on the first switch based on a digital bit of ‘1’ logic value and turning off the first complement switch; and turning off the first switch based on a digital bit of ‘0’ logic value and turning on the first complement switch.
Controlling the first switch of the central switch-resistor segment is indicative of a LSB of the N-bit digitally controlled resistor.
The central switch-resistor segment is coupled between a first node and a second node.
Reference will now be made by way of example to the accompanying drawings. In the drawings, identical reference numbers identify similar elements or acts. In some drawings, however, different reference numbers may be used to indicate the same or similar elements. The shapes of various elements and angles are not necessarily drawn to scale, and some of these elements may be enlarged and positioned to improve drawing legibility:
Technical advantages and features of the present disclosure, and implementation methods thereof will be clarified through the following example embodiments described with reference to the accompanying drawings. The present disclosure may, however, be embodied in different forms and should not be construed as limited to the example embodiments set forth herein. Rather, these example embodiments are provided so that this disclosure may be sufficiently thorough and complete to assist those skilled in the art to fully understand the scope of the present disclosure.
A shape, a size, a ratio, an angle, and a number disclosed in the drawings for describing embodiments of the present disclosure are merely an example. Thus, the present disclosure is not limited to the illustrated details. Like reference numerals refer to like elements throughout. In the following description, when the detailed description of the relevant known function or configuration is determined to unnecessarily obscure an important point of the present disclosure, the detailed description of such known function or configuration may be omitted.
In describing a position relationship, when a position relation between two parts is described as, for example, “on,” “over,” “under,” “adjacent,” or “next,” one or more other parts may be disposed between the two parts unless a more limiting term, such as “just” or “direct(ly),” is used.
It will be understood that, although the terms “first,” “second,” etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments as mentioned above.
As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” include plural referents unless the content clearly dictates otherwise. It should also be noted that the term “or” is generally employed in its broadest sense, that is, as meaning “and/or” unless the content clearly dictates otherwise.
Digitally controlled resistor (or simply a digital resistor) is a variable resistor which is controlled by digital bits. One of the applications for these circuits is RC oscillators where the resistor value is used for trimming the output frequency. It is beneficial for digitally controlled resistors to be linear while providing high resolution which can be difficult to achieve with low power due to the impact of leakage currents. The various embodiments described herein address this technical problem.
The embodiments of the present disclosure may be applied to various technical fields including oscillators, DACs, series resistor DACs, digitally controlled resistors, circuit designs, digital potentiometers, etc.
An N-bit digitally controlled resistor 100 is shown in
Similarly, a second switch-resistor segment 120 includes a second resistor 122 having two times the resistance value of the first resistance value R (i.e., 21R), a second switch S1, and a second complement switch S1′. The second switch S1 is coupled in parallel with the second resistor 122 and the second complement switch S1′. The second complement switch S1′ is coupled in series with the second resistor 122. The second complement switch S1′ is switched ON when the second switch S1 is switched OFF. On the other hand, the second complement switch S1′ is switched OFF when the second switch S1 is switched ON.
The second switch-resistor segment 120 is coupled in series with the switch-resistor segment 110. The switch-resistor segment 110 may also be referred to as a first switch-resistor segment 110. For example, the first resistor 112 of the first switch-resistor segment 110 is coupled in series with the second complement switch S1′ of the second switch-resistor segment 120.
A third switch-resistor segment 130 includes a third resistor 132 having 4 times the resistance value of the first resistance value R (i.e., 22R), a third switch S2, and a third complement switch S2′. The third switch S2 is coupled in parallel with the third resistor 132 and a third complement switch S2′. The third complement switch S2′ is coupled in series with the third resistor 132. The third complement switch S2′ is switched ON when the third switch S2 is switched OFF. On the other hand, the third complement switch S2′ is switched OFF when the third switch S2 is switched ON.
The third switch-resistor segment 130 is coupled in series with the second switch-resistor segment 120. For example, the second resistor 122 of the second switch-resistor segment 120 is coupled in series with the third complement switch S2′ of the third switch-resistor segment 130.
As shown, a plurality of switch-resistor segments may be coupled between the first node V1 and the second node V2. Similar configuration and arrangement may be repeated based on the number of the bit.
An Nth switch-resistor segment 140 includes a Nth resistor 142 having a resistance value corresponding to the first resistance value R multiplied by 2N−1(i.e., 2′R), a Nth switch S(N−1), and a Nth complement switch S(N−1)′. The Nth switch S(N−1) is coupled in parallel with the Nth resistor 142 and the Nth complement switch S(N−1)′. The Nth complement switch S(N−1)′ is coupled in series with the Nth resistor 142. The Nth complement switch S(N−1)′ is switched ON when the Nth switch S(N−1) is switched OFF. On the other hand, the Nth complement switch S(N−1)′ is switched OFF when the Nth switch S(N−1) is switched ON.
In the example configuration of
On the other hand, the Nth switch S(N−1) of the Nth switch-resistor segment 140 is indicative of a most significant bit (MSB) of the N-bit digitally controlled resistor.
The second switch S1 of the second switch-resistor segment 120 is indicative of the next bit adjacent to the LSB of the N-bit digitally controlled resistor and the third switch S2 of the third switch-resistor segment 130 is indicative of the next bit adjacent to that of the second switch S1 of the second switch-resistor segment 120.
A method of operating an N-bit digitally controlled resistor 100 according to
The operation of the first switch S0 is indicative of a least significant bit (LSB) of the N-bit digitally controlled resistor 100. That is, a ‘0’ logic value is indicative of the first switch being OFF, and a ‘1’ logic value is indicative of the first switch being ON.
In one embodiment, the first resistor 112, the first complement switch S0′, and the first switch S0 defines the first switch-resistor segment 110.
The method also includes operating a second switch S1 of a second switch-resistor segment 120 coupled in series with the first switch-resistor segment 110. The second switch S1 is coupled parallel with a second resistor 122 and a second complement switch S1′. Operating the second switch S1 of the second switch-resistor segment 120 includes turning on the second switch S1 and turning off the second complement switch S1′ and/or turning off the second switch S1 and turning on the second complement switch S1′.
The operation of the second switch is indicative of a next highest bit adjacent to the LSB of the N-bit digitally controlled resistor 100.
When there are more than 2 switch-resistor segments (that is, if N is greater than 2), more switch-resistor segments may be coupled in series to the existing switch-resistor segment.
For example, if there are N number of switch-resistor segments, for the Nth switch-resistor segment, the method includes operating a Nth switch S(n−1) of a Nth switch-resistor segment 140 coupled in series with the (N−1)th switch-resistor segment. The Nth switch S(N−1) is coupled parallel with a Nth resistor 142 and a Nth complement switch S(N−1)′. Operating the Nth switch S(N−1) of the Nth switch-resistor segment 140 includes turning on the Nth switch S(N−1) and turning off the Nth complement switch S(N−1)′ coupled in series with the Nth resistor 142 having a resistance value 2N−1 R and/or turning off the Nth switch S(N−1) and turning on the Nth complement switch S(N−1)′.
In this example of an N-bit digitally controlled resistor 100 shown in
The example embodiment of an N-bit digitally controlled resistor 100 uses a differential architecture to achieve linearity in a digital resistor. The example N-bit digitally controlled resistor overcomes the need for the switch scaling to make the system incorporating the digital resistor linear. In addition, the number of switches needed in the example architecture is smaller than the number of switches needed in some other approaches (see
Accordingly, as the number of bits get larger, the benefit of the example embodiment becomes greater. For instance, the example N-bit digitally controlled resistor can save the number of switches thereby saving the area. Moreover, lower area also leads to lower switch leakages (e.g., gate leakage). Finally, lesser number of switches also reduces the layout complexity. A person of ordinary skill in the art would readily appreciate other technical benefits besides the ones listed above.
Further benefit includes that the switches in each stage (or each switch-resistor segment) can be designed independent of the switches used in other stages. This provides great flexibility in circuit design.
Switch resistance (e.g., an ON resistance for each switch; Ron) appears as an offset in the system incorporating the digitally-controlled resistor and no longer impacts the step size and linearity of the digitally-controlled resistor. Thus, there is no need to increase the switch size to lower switch resistance Ron, thereby saving area. This is another benefit of the example N-bit digitally controlled resistor.
3 bit may be expressed as (S2,S1,S0) where this can include (000), (001), (010), (011), (100), (101), and (111). That is, (100) means that S2 is 1, 51 is 0, and S0 is 0. As previously mentioned, the logic value ‘0’ is indicative of an OFF of a switch and logic value ‘1’ is indicative of an ON of a switch. For (100) which is equal to code 4 in
Referring to
A step size is defined as 1 code change, and the resistance value change for 1 code change is calculated as —R. That is, the resistance value change for 1 code change is maintained constant. Here, 1 code change or the step size is independent of Ron0 (ON resistance for switch S0), Ron1 (ON resistance for switch S1), and Ron2 (ON resistance for switch S2). According to the example 3-bit digitally controlled resistor, a switch resistance Ron appears as an offset.
On the other hand,
In
Further, while switch S1 is illustrated as being a single switch for simplicity, in an actual implementation, switch S1 has two times the number of switch S0 in series. Similarly, switch S2 has 4 times the number of switch S0 in series, and S(N−1) has 2′ times the number of switch S0 in series. As can be appreciated, according to the example digital resistor shown in
Referring to
Referring to
Digitally-Controlled Resistors like the example shown in
As shown, each switch-resistor segment has been split into equal halves and have been placed in a symmetric way around the center to get cancellation of impacts of voltage (e.g., VGS) changes across the switches (e.g., S0, S1, S2, . . . ). See, for example, switch-resistor segment 340 which is split into switch-resistor segment 340A and switch-resistor segment 340B with respect to a center axis (which may also be referred to as “imaginary central axis”). As illustrated, the center axis runs in the middle of switch-resistor segment 310.
The example configuration of the N-bit digitally controlled resistor improves the linearity of a system including the N-bit digitally controlled resistor in circumstances dealing with low currents and high resolutions.
The example embodiment of the N-bit digitally controlled resistor cancels or decreases the changes in VGS of the switches and any further impact due to this change such as change in gate leakage due to the change in the digital code (e.g., code change from 0111 to 1000). As the number of bits increase, the advantage of the example configuration becomes more significant.
Referring back to
With this example architecture as shown in
Referring back to
In some embodiments, the N-bit digitally controlled resistor 300 includes a symmetrical portion or a substantially symmetrical portion between the first node V1 and the second node V2.
A person of ordinary skill in the art would readily appreciate that the N-bit digitally controlled resistor 300 does not necessarily have to be mirror symmetrical with respect to the imaginary central axis in order to achieve the technical benefits previously explained.
For instance, in some embodiments, the resistance value of the resistor included in each switch-resistor segment may be arranged in a symmetrical manner. That is, if an R resistance value resistor is arranged within switch-resistor segment 340A, a same resistor having the R resistance value may be arranged within switch-resistor segment 340B. Similarly, if a 2R resistance value resistor is arranged within switch-resistor segment 350A, a same resistor having the 2R resistance value may be arranged within switch-resistor segment 350B, and so forth. The same type of switch may be utilized. That is, if switch S1 is used in switch-resistor segment 340A, the same switch S1 is used in switch-resistor segment 340B. Similarly, if switch S2 is used in switch-resistor segment 350A, the same switch S2 is used in switch-resistor segment 350B. However, in some embodiments, the location and position of the switch and resistor does not necessarily have to be strictly symmetrical with respect to the imaginary central axis. Namely, for some embodiments, mirror symmetry is not required.
In the central switch-resistor segment 310, switch S0 is coupled in parallel with resistor 312. Adjacent to the central switch-resistor segment 310 is a lower switch-resistor segment 340A and an upper switch-resistor segment 340B. The term “lower” and “upper” were merely used to indicate that the switch-resistor segment 340A is located below the imaginary central axis and to indicate that the switch-resistor segment 340B is located above the imaginary central axis. The lower switch-resistor segment 340A includes resistor 342A having resistor value R and a switch S1 coupled parallel to the resistor 342A. The upper switch-resistor segment 340B includes resistor 342B having resistor value R and a switch S1 coupled parallel to the resistor 342B. In one embodiment, the resistance value of resistor 312 in the central switch-resistor segment 310 is identical or substantially identical to the resistance value of resistor 342A, 342B.
The central switch-resistor segment 310 is coupled in series and is between the lower switch-resistor segment 340A and the upper switch-resistor segment 340B. A sixth node V6 is between the central switch-resistor segment 310 and the lower switch-resistor segment 340A. To be specific, the sixth node V6 is between resistor 312 and resistor 342A. As shown, a fifth node V5 is between the central switch-resistor segment 310 and the upper switch-resistor segment 340B. To be specific, the fifth node V5 is between resistor 312 and resistor 342B.
Adjacent to the lower switch-resistor segment 340A is a lower switch-resistor segment 350A. On the other side, the upper switch-resistor segment 340B is adjacent to an upper switch-resistor segment 350B. The lower switch-resistor segment 350A includes resistor 352A having resistor value 2R and a switch S2 coupled parallel to the resistor 352A. The upper switch-resistor segment 350B includes resistor 352B having resistor value 2R and a switch S2 coupled parallel to the resistor 352B. A seventh node V7 is between the lower switch-resistor segment 350A and the lower switch-resistor segment 340A. In particular, the seventh node V7 is between resistor 352A and resistor 342A. As shown, a fourth node V4 is between the upper switch-resistor segment 350B and the upper switch-resistor segment 340B. In particular, the fourth node V4 is between resistor 352B and resistor 342B.
Depending on the number of N bits, there may be (N−1) number of switch-resistor segments on a lower section 320 and (N−1) number segments on an upper section 330. The lower section 320 and the upper section 330 do not include the central switch-resistor segment 310.
A lower switch-resistor segment 360A includes resistor 362A having resistor value 2N−2R and a switch S(N−1) coupled parallel to the resistor 362A. An upper switch-resistor segment 360B includes resistor 362B having resistor value 2N−2R and a switch S(N−1) coupled parallel to the resistor 362B.
A method of operating an N-bit digitally controlled resistor 300 according to
The method also includes controlling a second switch S1 of a second switch-resistor segment coupled 340A, 340B based on the digital bit between a ‘0’ logic value and a ‘1’ logic value. Controlling the second switch S1 of the second switch-resistor segment 340A, 340B includes turning on the second switch S1 based on the digital bit of ‘1’ logic value and/or turning off the second switch S1 based on the digital bit of ‘0’ logic value.
In one embodiment, controlling the second switch S1 of the second switch-resistor segment 340A is done simultaneously with controlling the second switch S1 of the second switch-resistor segment 340B.
Controlling the second switch S1 is indicative of a next highest bit adjacent to the LSB of the N-bit digitally controlled resistor 300.
When the digitally controller resistor is an N-bit digital resistor 300 as shown in
A current IR flows between the first node V1 and the second node V2. The structural benefit of the configuration shown in
The 4-bit digitally controlled resistor 400 includes various switch-resistor segments 440A, 440B, 450A, 450B, 460A, 460B and central switch-resistor segment 410. A person of ordinary skill in the art would appreciate the 4-bit digitally controlled resistor 400 shown in
As shown, switch-resistor segment 440 has been split into equal halves and have been placed in a symmetric way with respect to a central switch-resistor segment 410. That is, switch-resistor segment 440A is placed on a first side 420 adjacent to the central switch-resistor segment 410 and switch-resistor segment 440B is placed on a second side 420 adjacent to the central switch-resistor segment 410. Similarly, switch-resistor segment 450 has been split into equal halves and have been placed in a symmetric way with respect to a central switch-resistor segment 410. That is, switch-resistor segment 450A is placed on the first side 420 adjacent to the switch-resistor segment 440A and switch-resistor segment 450B is placed on the second side 420 adjacent to the switch-resistor segment 440B. In addition, switch-resistor segment 460 has been split into equal halves and have been placed in a symmetric way with respect to a central switch-resistor segment 410. That is, switch-resistor segment 460A is placed on the first side 420 adjacent to the switch-resistor segment 450A and switch-resistor segment 460B is placed on the second side 420 adjacent to the switch-resistor segment 450B.
The switch-resistor segments have been split into equal halves and have been placed in a symmetric way around the center to get cancellation of impacts of voltage (e.g., VGS) changes across the switches (e.g., S0, S1, S2, . . . ). The example configuration of the 4-bit digitally controlled resistor improves the linearity of a system including the 4-bit digitally controlled resistor in circumstances dealing with low currents and high resolutions. The example embodiment of the 4-bit digitally controlled resistor cancels or decreases the changes in VGS of the switches and any further impact due to this change such as change in gate leakage due to the change in the digital code (e.g., code change from 0111 to 1000). As the number of bits increase, the advantage of the example configuration becomes more significant.
Referring to
Here, voltage of the first node V1 is equal to VS and current IR flows into the second node V2. Also, for the purpose of illustration, switch resistance Ron is assumed to be negligible. Based on this, the calculation is provided as shown in the table of
From the table, the VGS for the switches change in both direction, thereby cancelling the errors to significant extent. The sum of the error can be calculated based on adding the difference of ‘voltage at code 1000’ (column 2) with ‘voltage at code 0111’ (column 3) as shown in column 4: 0+4*IRR+2*IRR+1*IRR+0*IRR+(−1)*IRR+(−3)*IRR. That is, error for the present example is 3*IRR (this is smaller than the error created based on the approaches shown in
The N-bit digitally controlled resistor 500 is same or similar to the N-bit digitally controlled resistor 300 of
As shown, each switch-resistor segments (except for the central switch-resistor segment 510) have been split into equal halves and have been placed in a symmetric way around the central switch-resistor segment 510 to get cancellation of impacts of voltage (e.g., VGS) changes across the switches (e.g., S0, S1, S2, . . . ). See, for example, switch-resistor segment 540 which is split into switch-resistor segment 540A and switch-resistor segment 540B with respect to a center axis (which may also be referred to as “imaginary central axis”) or with respect to the central switch-resistor segment 510. As illustrated, the center axis runs in the middle of the central switch-resistor segment 510.
The example configuration of the N-bit digitally controlled resistor 500 improves the linearity of a system including the N-bit digitally controlled resistor in circumstances dealing with low currents and high resolutions.
The example embodiment of the N-bit digitally controlled resistor cancels or decreases the changes in VGS of the switches and any further impact due to this change such as change in gate leakage due to the change in the digital code (e.g., code change from 0111 to 1000 or from 1000 to 0111). As the number of bits increase, the advantage of the example configuration becomes more significant.
Referring back to
The example architecture as shown in
As shown in
In some embodiments, the N-bit digitally controlled resistor 500 includes a symmetrical portion or a substantially symmetrical portion between the first node V1 and the second node V2.
A person of ordinary skill in the art would readily appreciate that the N-bit digitally controlled resistor 500 does not necessarily have to be mirror symmetrical with respect to the imaginary central axis in order to achieve the technical benefits previously explained and thus the digital resistor 500 may only require substantial symmetry to achieve the aforementioned technical benefits.
For instance, in some embodiments, the resistance value of the resistor included in each switch-resistor segment may be arranged in a symmetrical manner. That is, if an R resistance value resistor is arranged within switch-resistor segment 540A, a same resistor having the R resistance value may be arranged within switch-resistor segment 540B. Similarly, if a 2R resistance value resistor is arranged within switch-resistor segment 550A, a same resistor having the 2R resistance value may be arranged within switch-resistor segment 550B, and so forth. The same type of switch may be utilized and arranged in a symmetrical manner. That is, if switch S1 is used in switch-resistor segment 540A, the same switch S1 is used in switch-resistor segment 540B. Similarly, if switch S2 is used in switch-resistor segment 550A, the same switch S2 is used in switch-resistor segment 550B. However, in some embodiments, the location and position of the switch and resistor does not necessarily have to be strictly symmetrical with respect to the imaginary central axis. Namely, for some embodiments, mirror symmetry is not required. That is, even if the location of switch S1 in switch-resistor segment 540A slightly deviates from the exact opposite location of switch S1 in switch-resistor segment 540B with respect to the imaginary central axis, the example embodiment of the digital resistor 500 would still be able to achieve the aforementioned technical benefits.
In the central switch-resistor segment 510, switch S0 is coupled in parallel with resistor 512. Adjacent to the central switch-resistor segment 510 is a lower switch-resistor segment 540A and an upper switch-resistor segment 540B. As mentioned previously, the term “lower” and “upper” were merely used to indicate that the switch-resistor segment 540A is located below the imaginary central axis and to indicate that the switch-resistor segment 540B is located above the imaginary central axis. The lower switch-resistor segment 540A includes resistor 542A having resistor value R, a complement switch S1′ coupled in series with resistor 542A, and a switch S1 coupled parallel to the resistor 542A and the complement switch S1′. The upper switch-resistor segment 540B includes resistor 542B having resistor value R, a complement switch S1′ coupled in series with resistor 542B, and a switch S1 coupled parallel to the resistor 542B and the complement switch S1′. In one embodiment, the resistance value of resistor 512 in the central switch-resistor segment 510 is identical or substantially identical to the resistance value of resistor 542A, 542B.
The central switch-resistor segment 510 is coupled in series and is between the lower switch-resistor segment 540A and the upper switch-resistor segment 540B. A sixth node V6 is between the central switch-resistor segment 510 and the lower switch-resistor segment 540A. To be specific, the sixth node V6 is between complement switch S0′ and resistor 542A. As shown, a fifth node V5 is between the central switch-resistor segment 510 and the upper switch-resistor segment 540B. To be specific, the fifth node V5 is between resistor 512 and complement switch S1′.
Adjacent to the lower switch-resistor segment 540A is a lower switch-resistor segment 550A. On the other side, the upper switch-resistor segment 540B is adjacent to an upper switch-resistor segment 550B. The lower switch-resistor segment 550A includes resistor 552A having resistor value 2R, a complement switch S2′ coupled in series with resistor 552A, and a switch S2 coupled parallel to the resistor 552A and the complement switch S2′. The upper switch-resistor segment 550B includes resistor 552B having resistor value 2R, a complement switch S2′ coupled in series with resistor 552B, and a switch S2 coupled parallel to the resistor 552B and the complement switch S2′. A seventh node V7 is between the lower switch-resistor segment 350A and the lower switch-resistor segment 540A. To be specific, the seventh node V7 is between resistor 552A and complement switch S1′. As shown, a fourth node V4 is between the upper switch-resistor segment 550B and the upper switch-resistor segment 540B. To be specific, the fourth node V4 is between complement switch S2′ and resistor 542B.
Depending on the number of N bits, there may be (N−1) number of switch-resistor segments on a lower section 520 and (N−1) number segments on an upper section 530. The lower section 520 and the upper section 530 does not include the central switch-resistor segment 510.
A lower switch-resistor segment 560A includes resistor 562A having resistor value 2N−2R, a complement switch S(N−1)′ coupled in series with resistor 562A, a switch S(N−1) coupled parallel to the resistor 562A and the complement switch S(N−1)′. An upper switch-resistor segment 560B includes resistor 562B having resistor value 2N−2R, a complement switch S(N−1)′ coupled in series with resistor 562B, and a switch S(N−1) coupled parallel to the resistor 562B and the complement switch S(N−1)′. Here, N may be a natural number greater than or equal to 2. For example, when the bit number is 2 bits (when N equals to 2), there will be a switch-resistor segment 540 (including both switch-resistor segment 540A and switch-resistor segment 540B) and a central switch-resistor segment 510 between the first node V1 and the second node V2. When the bit number is 3 bits (when N equals to 3), there will be a switch-resistor segment 540 (including both switch-resistor segment 540A and switch-resistor segment 540B), a switch-resistor segment 550 (including both switch-resistor segment 550A and switch-resistor segment 550B), and a central switch-resistor segment 510 between the first node V1 and the second node V2.
A method of operating an N-bit digitally controlled resistor 500 according to
The method includes controlling the first complement switch S0′ in response to the digital bit provided to the first switch S0. Controlling the first switch S0 and the first complement switch S0′ of the central switch-resistor segment 510 includes turning on the first switch based on a digital bit of ‘1’ logic value and turning off the first complement switch and/or turning off the first switch based on a digital bit of ‘0’ logic value and turning on the first complement switch.
Controlling the first switch of the central switch-resistor segment is indicative of a LSB of the N-bit digitally controlled resistor 500.
As shown a second switch-resistor segment 540A and 540B is coupled adjacent to the central switch-resistor segment 510 to have symmetry with respect to the imaginary central axis (see dotted line).
Here, the method includes controlling a second switch S1 of a second switch-resistor segment 540A, 540B based on the digital bit between a ‘0’ logic value and a ‘1’ logic value. The second switch S1 is coupled in parallel with a second resistor 542A, 542B a second complement switch S1′ of the second switch-resistor segment 540A, 540B. The second resistor 542A, 542B has the first resistance value R.
The method includes controlling the second complement switch in response to the digital bit provided to the second switch. Controlling the second switch and the second complement switch of the second switch-resistor segment includes turning on the second switch based on the digital bit of ‘1’ logic value and turning off the second complement switch and/or turning off the second switch based on the digital bit of ‘0’ logic value and turning on the second complement switch.
In one embodiment, controlling the second switch S1 of the second switch-resistor segment 540A is done simultaneously with controlling the second switch S1 of the second switch-resistor segment 540B.
Controlling the second switch is indicative of a next highest bit adjacent to the LSB of the N-bit digitally controlled resistor 500.
When the digitally controller resistor is an N-bit digital resistor 500 as shown in
The method includes controlling the Nth complement switch in response to the digital bit provided to the Nth switch. Controlling the Nth switch and the Nth complement switch of the Nth switch-resistor segment includes turning on the Nth switch based on the digital bit of ‘1’ logic value and turning off the Nth complement switch and/or turning off the Nth switch based on the digital bit of ‘0’ logic value and turning on the Nth complement switch. A current IR flows between the first node V1 and the second node V2. The structural benefit of the configuration shown in
The 4-bit digitally controlled resistor 600 includes various switch-resistor segments 640A, 640B, 650A, 650B, 660A, 660B and central switch-resistor segment 610. A person of ordinary skill in the art would appreciate the 4-bit digitally controlled resistor 600 shown in
Referring to
Here, voltage of the first node V1 is equal to VS and current IR flows into the second node V2. Also, for the purpose of illustration, switch resistance Ron is assumed to be negligible. Based on this, the calculation is provided as shown in the table of
From the table, the VGS for the switches change in both directions, thereby cancelling the errors to significant extent. The sum of the error can be calculated based on adding the difference of ‘voltage at code 1000’ (column 2) with ‘voltage at code 0111’ (column 3) as shown in column 4: 0+4*IRR+2*IRR+1*IRR+0*IRR+(−1)*IRR+(−3)*IRR. That is, error for the present example is 3*IRR (this is smaller than the error created based on the approaches shown in
To further elaborate the technical benefit of the example structures discussed in conjunction with
In
Further, while switch S1 is illustrated as being a single switch for simplicity, in an actual implementation, switch S1 has 2 times the number of switch S0 (that is, two switch S0 switches connected in series). Similarly, switch S2 has 4 times the number of switch S0 (that is, four switch S0 switches connected in series), and S3 has 8 times the number of switch S0 (that is, eight switch S0 switches connected in series). As can be appreciated, according to the example digital resistor shown in
Referring to
For example, the voltage read at a first voltage node V1 equals to VS when code is (S3,S2,S1,S0)=(1000) and when code is (0111). The voltage read at a fifth voltage node V5 equals to VS when code is (1000) and VS+8*IRR when code is (0111). The voltage read at a fourth voltage node V4 equals to VS+4*IRR when code is (1000) and VS+8*IRR when code is (0111). The voltage read at a third voltage node V3 equals to VS+6*IRR when code is (1000) and VS+8*IRR when code is (0111).
From the table, the sum of the error can be calculated based on adding the difference of ‘voltage at code 1000’ (column 2) with ‘voltage at code 0111’ (column 3) as shown in column 4: 0+8*IRR+4*IRR+2*IRR. That is, the error for the present example is 14*IRR (this is greater than the error created based on the approaches shown in
The digitally controlled resistor as described herein may be incorporated within a circuit according to various circuit designs and may also be incorporated within a larger device such as an electronic device.
The various embodiments described above can be combined to provide further embodiments. Aspects of the embodiments can be modified, if necessary to employ concepts of the various patents, applications and publications to provide yet further embodiments.
These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.
Number | Date | Country | |
---|---|---|---|
63327646 | Apr 2022 | US |