1. Field of the Invention
Embodiments of the present invention generally relate to generating a zero-temperature coefficient (ZTC) current, and more specifically, to generating a ZTC current using on-chip resistors.
2. Description of the Related Art
Exposing electronic systems to varying temperatures may alter the physical and electrical characteristics of the devices. For example, the resistivity of some types of resistors changes as the temperature of the resistor changes. Thus, the current flowing through the resistor may change as the resistivity changes. For electronic systems that include circuit elements whose electrical properties change with temperature, in some embodiments, the electronic systems may be designed to minimize the impact of temperature changes on the system's function.
Embodiments described herein generally provide a method for generating a ZTC current. The method includes generating a first temperature dependent current by applying a temperature independent voltage to a first resistor, wherein the first resistor is included within an integrated circuit. The method includes generating, based on a control parameter, a second temperature dependent current where the first and second temperature dependent currents change at a rate that is substantially the same in response to temperature changes in the integrated circuit. The method includes generating the ZTC current by subtracting the first and second temperature dependent currents.
Embodiments described herein may further provide a circuit that generates a ZTC current. The circuit includes a first resistor included within an integrated circuit and a buffer configured to apply a temperature independent voltage to the first resistor to generate a first temperature dependent current. The circuit also includes a compensation current generator configured to generate, based on a control parameter, a second temperature dependent current where the first and second temperature dependent currents change at a rate that is substantially the same in response to temperature changes in the integrated circuit. Moreover, the circuit is configured to generate the ZTC current by subtracting the first and second temperature dependent currents.
Embodiments described herein may further provide an integrated circuit that generates a ZTC current. The integrated circuit includes a first resistor and a buffer configured to apply a temperature independent voltage to the first resistor to generate a first temperature dependent current. The integrated circuit also includes a compensation current generator configured to generate, based on a control parameter, a second temperature dependent current, wherein the first and second temperature dependent currents change at a rate that is substantially the same in response to temperature changes in the integrated circuit. Further, the integrated circuit is configured to generate the ZTC current by subtracting the first and second temperature dependent currents.
So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements disclosed in one embodiment may be beneficially utilized on other embodiments without specific recitation. The drawings referred to here should not be understood as being drawn to scale unless specifically noted. Also, the drawings are often simplified and details or components omitted for clarity of presentation and explanation. The drawings and discussion serve to explain principles discussed below, where like designations denote like elements.
The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description.
Various embodiments of the present technology provide mixed-signal systems and methods for improving usability. Many circuit components in mixed-signal systems require a bias current for performing different applications such as amplification, analog-to-digital conversion, input detection, and the like. In some instances, designers prefer to use a bias current that does not vary with temperatures. For example, if a mixed-signal system is exposed to varying temperatures, the designer may prefer to bias the different circuit modules with a zero-temperature coefficient (ZTC) current which is substantially constant as the temperature of the circuit elements used to generate the ZTC current changes. Thus, as the temperature of the underlying circuit elements changes, the ZTC current, and thus, the bias currents, remain the same.
In one embodiment, a mixed-signal system may include a bandgap voltage generator that produces a temperature-independent voltage (referred to herein as a bandgap voltage) which is then used to produce a current across a resistor. If the material of the resistor is selected such that its resistivity does not change relative to temperature (i.e., a ZTC resistor), then current flowing through the resistor also does not vary with temperature—i.e., the current is a ZTC current. However, fabricating ZTC resistors into semiconductor integrated circuits (ICs) is either difficult or expensive. Accordingly, to bias circuit elements in an IC with a ZTC current produced from an external ZTC resistor, the IC must include a pin that couples to the ZTC resistor. This structure increases costs and requires more space than a design which is able to generate a ZTC current using circuit elements that are integrated into an IC.
Instead of using a ZTC resistor, a ZTC current may be generated by using resistors integrated into an IC even if these resistors vary with temperature. Specifically, instead of applying the temperature-independent bandgap voltage to a ZTC resistor, the bandgap voltage may be applied to a temperature-dependent resistor to generate a first current that varies (either proportionally or complementary) with temperature. Additionally, the mixed-signal system may generate a second current for compensating for the temperature variance of the first current. If the two currents change in the same manner relative to temperature (i.e., the respective slopes or rates of change of the currents are the same when the underlying circuit elements are exposed to the same temperature variations), the difference between the currents remains constant. Thus, if the currents are subtracted, regardless of the temperature change, the resulting current is a constant value. Taking advantage of this relationship, a mixed-signal system, for example, may subtract the first and second currents to yield a ZTC current. This current may then be used to bias the various components in an IC without requiring an additional pin or an external resistor.
ZTC resistor 110 may be any resistor whose resistivity does not vary as the temperature of the material of the resistor 110 changes—i.e., resistor 110 has a temperature coefficient near zero. In one embodiment, the material or structure of the ZTC resistor 110 may be such that the ZTC resistor 110 cannot be incorporated into the IC 105 thereby requiring resistor 110 to be located externally to IC 105. However, this may increase the cost and complexity of the system 100 relative to a system that generates a ZTC current without using an external resistor.
IC 105 includes a bandgap voltage generator 120, a buffer 125, a ZTC current generator 130, current mirrors 135, and circuit modules 140. Specifically, the bandgap voltage generator 120 may be any circuit that generates a voltage that does not vary with temperature. Historically, the output of the bandgap voltage generator 120 is related to the bandgap of silicon (1.22 eV). Although the output of the generator 120 is referred to herein as a bandgap voltage (VBG), the value of bandgap voltage is not limited to the bandgap of silicon. In one embodiment, VBG may be greater than 1 V (e.g., from 1.15 to 1.3 V) while in other embodiments VBG may be less than 1 V. Regardless of the value of the bandgap voltage, bandgap voltage generator 120 may be configured such that bandgap voltage's value does not vary as the temperature of the components in the generator 120 changes.
As shown, the bandgap voltage is applied to the inverting terminal of the buffer 125 which copies the voltage from its inverting terminal to the non-inverting terminal, thereby applying VBG on one end of the ZTC resistor 110. Because the other end of the ZTC resistor 110 may be coupled to a reference voltage (e.g., ground), the bandgap voltage causes the ZTC current generator 130 to source a current equal to VBG/RZTC. Assuming that both VBG and RZTC 110 do not vary with temperature, ZTC current generator 130 sources a ZTC current (IZTC).
ZTC current generator 130 may also be coupled to one or more current mirrors 135 for reproducing the ZTC current throughout the IC 105. Each current mirror 135 may add a gain (A1, A2 . . . AN) when mirroring the ZTC current. In this manner, the ZTC current may be mirrored as many times as needed to provide temperature-independent bias currents. Although
Chart 205 of
IC 305 includes a bandgap voltage generator 320 which produces a bandgap voltage VBG that does not vary with temperature. Using a buffer 325, IC 305 reproduces VBG at one end of resistor 310. Although the voltage across resistor 310 does not change with varying temperature, the resistivity of resistor 310 does; accordingly, the current IR2 changes proportionally to the changing resistivity of resistor 310.
In addition to providing the bandgap voltage, the bandgap voltage generator 320 may provide a compensation voltage (VCOMP). In one embodiment, the compensation voltage is an internal voltage used by the generator 320 when generating the bandgap voltage. In one embodiment, unlike the bandgap voltage, the compensation voltage does vary with temperature. IC 305 uses the compensation voltage as a control parameter for controlling a compensation current generator 345 (i.e., the compensation voltage is applied to the gate of the transistor). Based on the control parameter, the compensation current generator 345 may generate the compensation current (K*IR1) where K is a scaling factor or gain of the transistor in the compensation current generator 345.
At node A, the compensation current and the current flowing through the resistor 110 are subtracted to yield the ZTC current IZTC. As shown by
Although not shown, the biasing currents (or the output of the ZTC current generator 330) may be transmitted to other ICs in system 300 in addition to being used by circuit modules 140 internal to IC 305. Additionally, in other embodiments, the different circuit or modules shown as being included within IC 305 may be included in other ICs. For example, system 300 may include a printed circuit board on which multiple ICs are mounted. The ICs may be interconnected such that the varying voltages and currents shown in system 300 may be shared by the ICs. For example, the bandgap voltage generator 300 may be located on a separate IC which transmits the compensation and bandgap voltages to IC 305.
Based on Kirchhoff's current law, the currents at node A may be expressed as:
IZTC=IR2−K*IR1 (1)
Using Ohm's law, equation 1 may further be expressed as:
Further, IR1 is approximately equal to the difference in base-to-emitter voltages of Q1 and Q2 (ΔVBE=VBE
Assuming that the physical design of R1 is already set based on the design of the bandgap voltage generator 420, Equation 3 may be used to identify the value of R2 that leads to a ZTC current. Stated differently, Equation 3 may be used to identify a value of R2 where the slope of IZTC is zero (i.e., the value of R2 such that IZTC does not change with respect to temperature). Accordingly, after differentiating Equation 3 with respect to temperature and setting ∂IZTC/∂T equal to zero, the equation may be solved for R2 to yield:
Equation 4 shows that R2 is a function of ∂R1/∂T and ∂R2/∂T. If, however, R1 in the bandgap voltage generator 420 is made of the same material as R2, then the following equation relating the change of resistivity according to temperature (i.e., R(T)) will be the same for both resistors R1 and R2 (and assuming the resistors have an approximately linear temperature coefficient):
In Equation 5, rho(T0) is the material resistivity at the reference temperature T0, l is the length of the resistor, t is the thickness of the resistor, w is the width of the resistor, and α is the temperature coefficient of the material. Equation 5 can be further simplified to:
In Equation 6, MR (ohm/° C.) defines how the resistivities of the resistors R1 and R2 change relative to temperature. Thus, MR can be substituted in place of ∂R1/∂T and ∂R2/∂T in Equation 4. Doing so results in the following:
In addition to being made of the same material, if resistor R1 and R2 have the same thickness (t) and width (w), then the resistivity of the resistors may be expressed as a ratio by using equation 5. Because the only difference between the resistors R1 and R2 is the their respective lengths, all of the terms in Equation 5 cancel out, thereby yielding:
In many IC manufacturing processes, the designer controls only the length (l) of the various resistive elements in the IC. That is, to change the resistance value of the resistors, the designer increases or decreases the length of the resistor while the thickness and width remain fixed. Notably, Equation 8 illustrates that the ratio of the resistivity of the resistors R1 and R2 is not dependent on temperature, but length. Following a similar process, the ratio of MR1 to MR2 may be expressed as a ratio:
Combining Equation 9 with Equation 8 and solving for MR2 yields:
Equation 10 is then substituted in replace of MR2 in Equation 7 to yield:
Further, because ΔVBE is approximately equivalent to Vt*ln(N) where Vt is the thermal voltage and N is the ratio of emitter areas between the transistors Q2 and Q1, substituting this approximation of bandgap voltage references into Equation 11 yields:
The term
in the denominator of Equation 12 may be changed by substituting Equation 6 in for R1 which, after simplifying, yields:
Equation 13 may then be used to replace the
term in Equation 12 to result in:
In Equation 14, k is Boltzmann's constant and q is the elementary unit of charge. Accounting for a finite β in transistors Q1 and Q2, Equation 14 may be expressed as:
Equation 15 can be reduced to the form where R2 is equal to C*R1 as shown by the following expression:
Equation 16 illustrates that C is a constant and independent of process, temperature, and voltage variations. Because C is independent of temperature, the resistance of resistor R2 is a constant multiple of R1, and thus, R2 can be chosen to yield a ZTC current. This relationship is further explained by substituting the relationship MR1=R1(T0)*α of Equation 6 into Equation 16 to yield:
Equation 17 illustrates that C is a function of parameters that are, to a first-order, constant over process, voltage, and temperature variations. Therefore, once C is chosen, this constant does not have to be tuned or calibrated.
To solve for the ZTC current IZTC, Equation 2 may be manipulated (and accounting for β) to yield:
Equation 18 has a dependence on β because some BJTs have a low β but we assume here that β is not a strong function of temperature. If β is large then it does not matter if β is a function of temperature. Setting Equation 18 equal to Equation 15 and solving for IZTC yields:
Equation 19 illustrates that the ZTC current IZTC is independent of temperature. That is, none of the parameters shown in Equation 19 that set the value of the ZTC current change as temperature varies.
The value MR1 may vary according to the variation of the fabrication processes used to manufacture resistor R1. For example, the actual value of MR1 may change slightly as each IC 305 is manufactured because of the variations of the semiconductor fabrication techniques. This variation in MR1, however, changes the absolute value of IZTC—i.e., the constant difference Δ between K*IR1 and IR2—but not the temperature coefficient. The change in absolute value of IZTC may corrected or adjusted, for example, by adding digital calibration bits to the compensation current generator 345 that scales IR1 by K or to a diode connected transistor 330. The calibration bits may then be used to tune IZTC to the desired value.
Referring to Equation 19, if MR1 is negative, the numerator and denominator are both negative, and thus, ZTC current IZTC is positive. This implies that VBG/R2 and K*IR1 are both PTAT. If, however, MR1 is positive, then the ZTC current IZTC is negative. To account for the situation where MR1 is positive, the transistor in the compensation current generator 345 would be a NMOS device instead of PMOS device so that the ZTC current IZTC is positive and sunk by the NMOS device instead of being sourced by the PMOS device as shown in
Although the compensation voltage circuit 630 is distinct from the bandgap voltage generator 620, circuit 630 may nonetheless use a different control parameter (transmitted on path 640) from the bandgap voltage generator 620 to generate the compensation voltage VCOMP. That is, even though the bandgap voltage generator 620 does not produce the compensation voltage directly, other control parameters in the generator 620 may be used by the compensation voltage circuit 630 to generate the compensation voltage. In other embodiments, however, the compensation voltage circuit 630 may generate the compensation voltage without receiving any control parameter from the bandgap voltage generator 620—i.e., the conductive path 640 is not needed. Thus, even if the bandgap voltage generator 620 does not directly provide a suitable control parameter for generating the compensation current, the compensation current may still be generated by the compensation voltage circuit 630.
Although not shown, the various circuits and modules shown in
In circuit 700, the bandgap voltage generator 720 does not directly provide the compensation voltage for generating the compensation current. Instead, one of the voltages generated by the bandgap voltage generator 720 (i.e., voltage VP) is introduced at the buffer 735 of the compensation voltage generator 730 as a control parameter. The compensation voltage generator 730 then derives the compensation voltage using this voltage (e.g., voltage VP). In turn, generator 730 then provides the compensation voltage to the compensation current generator 345.
Like in
Like in circuit 700, the bandgap voltage generator 820 in circuit 800 directly controls the bandgap voltage. That is, the bandgap voltage VBG generated by generator 820 is provided to buffer 325 which generates the current IR2. In contrast to circuit 700, however, the bandgap voltage generator 820 does not indirectly (or directly) control the compensation voltage. Instead, the compensation voltage circuit 830, independent of the bandgap voltage generator 820, controls the value of the compensation voltage VCOMP. Accordingly, the compensation voltage, and thus, the compensation current, may be generated without receiving any control parameter from the bandgap voltage generator 820. Thus, separate, independent circuit modules may be used to generate two currents (IR1 and IR2) that, when subtracted, result in the ZTC current IZTC.
Moreover, the techniques discussed herein may be used with bandgap voltage generators that produce bandgap voltages that are either above 1V or below 1V. For example, the bandgap voltage generators in
For example in one embodiment, the one or more ICs 915 may be configured to control a mutual capacitance sensor device, and may thus comprise transmitter circuitry configured to transmit signals with transmitter sensor electrodes, and/or receiver circuitry configured to receive signals with receiver sensor electrodes. In another embodiment, the one or more ICs 915 may be configured to control a transcapacitance sensor device, and may thus a comprise circuitry configured for detecting the capacitive coupling between one or more transmitter sensor electrodes (also “transmitter electrodes”) and one or more receiver sensor electrodes (also “receiver electrodes”). The one or more ICs 915 configured as a transcapacitance sensor device may be configured to modulated transmitter sensor electrodes relative to a reference voltage (e.g., system ground) to transmit transmitter signals while the receiver sensor electrodes are held substantially constant relative to the reference voltage to facilitate receipt of resulting signals. The one or more ICs 915 may be configured receive and analyze the resulting signal that may comprise effect(s) corresponding to one or more transmitter signals, and/or to one or more sources of environmental interference (e.g. other electromagnetic signals).
Furthermore, IC 915 may include mixed-signal circuitry 930 such as amplifiers, analog-to-digital convertors, user input detection modules and other circuit elements that may use a bias current. Accordingly, IC 915 includes a ZTC current module 920 for generating a ZTC current for biasing these circuit elements. In one embodiment, the ZTC current module 920 may use an internal resistor (i.e., the ZTC current module 920 is not coupled to an external ZTC resistor) for generating the ZTC current by subtracting temperature-dependent currents as shown in
Input device 900 is shown as a proximity sensor device (also often referred to as a “touchpad” or a “touch sensor device”) configured to sense input provided by one or more input objects 955 in a sensing region 950 of the capacitive sensing device 940. Example input objects include fingers and styli, as shown in
Although embodiments of the present disclosure may be utilized in an input device 100 including a display device integrated with a sensing device, it is contemplated that the invention may be embodied in display devices without integrated sensing devices. The input device 900 may be configured to provide input to an electronic system (not shown). As used in this document, the term “electronic system” (or “electronic device”) broadly refers to any system capable of electronically processing information. Some non-limiting examples of electronic systems include personal computers of all sizes and shapes, such as desktop computers, laptop computers, netbook computers, tablets, web browsers, e-book readers, and personal digital assistants (PDAs).
Instead of using a ZTC resistor when generating a ZTC current for a mixed-signal system, a temperature independent current IZTC is generated by using resistors that may be integrated into an IC, even if these resistors vary with temperature. Specifically, instead of applying the bandgap voltage to a ZTC resistor, the bandgap voltage may be applied to a temperature-dependent resistor to generate a first current that varies (either proportionally or complementary) with temperature. Additionally, the mixed-signal system may generate a second current for compensating for the temperature variance of the first current. For example, if the two currents change in the same manner relative to temperature (i.e., the respective slopes of the currents are the same when the underlying circuit elements are exposed to the same temperature variations), the difference between the currents remains constant. Thus, if the currents are subtracted, regardless of the current temperature, the resulting current is a constant value. Taking advantage of this relationship, the mixed-signal system may subtract the first and second currents to yield a ZTC current. This current may then be used to bias the various components in an IC without requiring an additional pin or an external resistor.
Thus, the embodiments and examples set forth herein were presented in order to best explain the embodiments in accordance with the present technology and its particular application and to thereby enable those skilled in the art to make and use the invention. However, those skilled in the art will recognize that the foregoing description and examples have been presented for the purposes of illustration and example only. The description as set forth is not intended to be exhaustive or to limit the invention to the precise form disclosed.
In view of the foregoing, the scope of the present disclosure is determined by the claims that follow.
Number | Name | Date | Kind |
---|---|---|---|
5783936 | Girard et al. | Jul 1998 | A |
6087820 | Houghton et al. | Jul 2000 | A |
6222470 | Schuelke | Apr 2001 | B1 |
6297685 | Ewen et al. | Oct 2001 | B1 |
6600304 | Kim | Jul 2003 | B2 |
6847254 | Pai | Jan 2005 | B2 |
6870418 | Tang et al. | Mar 2005 | B1 |
6911861 | Deng | Jun 2005 | B2 |
6940338 | Kizaki et al. | Sep 2005 | B2 |
7233195 | Oh | Jun 2007 | B2 |
7372316 | Chatterjee et al. | May 2008 | B2 |
7411443 | Ivanov et al. | Aug 2008 | B2 |
7486065 | Lin et al. | Feb 2009 | B2 |
7852144 | Zonte et al. | Dec 2010 | B1 |
8217713 | Raghavan et al. | Jul 2012 | B1 |
8358119 | Kim | Jan 2013 | B2 |
8373496 | Cusinato | Feb 2013 | B2 |
8509008 | Lee | Aug 2013 | B2 |
20080111565 | Ausserlechner et al. | May 2008 | A1 |
20120126616 | Hu et al. | May 2012 | A1 |