Various electronic applications exist that involve sending varying currents through a circuit and then reading and recording the output voltage that corresponds to each current. In many cases, this output voltage is the base-emitter voltage, a p-n junction, of a bipolar junction transistor (BJT). One such circuit is an electronic temperature sensor circuit that is configured to measure the temperature on a remote (separate) silicon chip by providing two target collector currents (IC1, IC2) to a p-n junction located on the remote chip. This circuit measures two diode voltages (VBE1, VBE2) of this p-n junction and processes the diode voltages to determine the actual temperature at the remote location. Most p-n junctions employed for this purpose are parasitic vertical p-n-p silicon based transistors. Also, the temperature sensor circuit is usually arranged to control the emitter currents of the transistor.
The classic diode equation determines a change in the base emitter voltage (ΔVBE) for a p-n-p transistor as follows:
where η is a non-ideality constant substantially equivalent to 1.00 or slightly more/less, κ is the well known Boltzmann's constant, q is the electron charge, T is the temperature in Kelvin, IC1 is a first collector current, and IC2 is a second collector current that are present at the measurement of a first base-emitter voltage and a second base-emitter voltage.
The classic diode equation is often employed to determine the actual temperature at a remotely located p-n-p transistor based on a ratio of approximated collector currents. In the past, since a ratio of collector currents tended to be relatively equivalent to a ratio of known emitter currents (IE), the diode equation could be accurately approximated in a rewritten form that follows:
However, due in part to process variations for integrated circuits with smaller process geometries, the assumption regarding relatively equivalent ratios may no longer be valid. The beta (ratio of collector current over base current) has been shown to vary as much as ten percent or more between two known emitter currents for p-n-p transistors in integrated circuits manufactured from relatively smaller process geometries. Thus, the diode equation approximation (Equation 2) regarding the ratios of collector and emitter currents for a transistor can cause relatively inaccurate temperature measurements in an integrated circuit based on smaller process geometries. Relatively significant inaccurate temperature measurements can occur in integrated circuits that have process geometries of 90 nanometers or less. It should be appreciated that these measurements represent examples of problems experienced, and different manufacturers may start showing these effects at different process geometries.
Subsequent art provided for a more accurate temperature measurement for a transistor with a rewritten form of the diode equation (Equation 3) that provides for actually measuring or controlling the ratio of collector currents instead of the ratio of emitter currents.
The disadvantage of this method, however, was that it required measuring IC and converting it to a digital form in real-time, which, when done accurately, is extremely expensive.
Yet another alternative has been to drive the collector currents to a predetermined ratio, thus eliminating the need to measure the collector currents independently. Consequently, Equation 3 can be rewritten as:
Previously, this has been accomplished by using a simple multiplexer that switches between a first current source and a second current source. The disadvantage to this method is that switching between two independent currents sources introduces transistor mismatch. In other words, the threshold voltage (Vt) associated with each current source may be mismatched. Furthermore, the circuit must account for two different overdrives. Thus, the variations in threshold voltage and overdrive cause deviations from the desired ratio.
An embodiment of the present invention is directed to a method of matching currents to a known ratio, including generating a control signal from a control circuit, which includes a value that defines a configuration. The method also includes receiving the control signal at a switching circuit, detecting whether the value of the control signal has changed, and, provided the value has changed, switching a plurality of transistors from a first configuration to a second configuration. The first configuration produces a first current in a first circuit and a second circuit, and the second configuration produces a second current in a first circuit and a second circuit. The ratio of the first current and the second current are the aforementioned known ratio.
Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings. In the drawings, like reference numerals refer to like parts throughout the various figures unless otherwise specified.
For a better understanding of the present invention, reference will be made to the following Detailed Description of the Invention, which is to be read in association with the accompanying drawings, wherein:
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, which form a part hereof, and which show, by way of illustration, specific exemplary embodiments by which the invention may be practiced. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Among other things, the present invention may be embodied as methods or devices. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. The following detailed description is, therefore, not to be taken in a limiting sense.
Briefly stated, an embodiment is directed to an apparatus and method for improved matching for time-multiplexed transistors.
The switching circuit 120 is also coupled to a first circuit 105 and a second circuit 140. The first circuit 105 and second circuit 140 can be any combination of wires, sources, and/or components. It is appreciated that the first circuit 105 and the second circuit 140 could therefore simply be a voltage potential. The first configuration of the transistors 115 produces a first current 110 and 135 in both the first circuit 105 and the second circuit 140. The second configuration of the transistors 115 produces a second current 111 and 136 in both the first circuit 105 and the second circuit 140.
The switching circuit 120 is also coupled to a control circuit 130. The control circuit 130 generates a control signal 125, which is received by the switching circuit 120. In one embodiment, the control circuit 130 includes a processor. In another embodiment, the control circuit 130 includes a programmable integrated circuit. The control signal 125 comprises a value that defines a configuration of the transistors 115. In one embodiment, the control signal is simple 1-bit logic, thus changing the transistors 115 between two possible configurations. It is appreciated that the control signal could have more bits in order to accommodate more configurations.
Each transistor 311 and 312 is coupled to four switches, 321-324 and 325-328 respectively. The first switch 321 is coupled between a first node 351 and the source of the first transistor 311. The second switch 322 is coupled between the drain of the first transistor and a second node 352. The third switch 323 is coupled between a third node 353 and the source of the first transistor 311. The fourth switch 324 is coupled between the drain of the first transistor 311 and the seventh switch 327. The fifth switch 325 is coupled between the first node 351 and to the source of the second transistor 312. The sixth switch 326 is coupled between the drain of the second transistor 312 and the second node 352. The seventh switch 327 is coupled between the fourth switch 324 and the source of the second transistor 312. The eighth switch 328 is coupled between the drain of the second transistor 312 and a fourth node 354. The first node 351 serves as the attachment point for the first circuit 105. The second node 352 serves as the attachment point for the second circuit 140. The third node 353 either attaches to the first node 351 or to an additional switch (not shown), similar to the manner in which switches 324 and 327 are coupled, for the purpose of coupling an additional transistor (not shown) to the array. The fourth node either attaches to the second node or to an additional switch (not shown), similar to the manner in which switches 324 and 327 are coupled, for the purpose of coupling an additional transistor (not shown) to the array. In one embodiment, the preferred connection for the bulk terminal of each transistor is to the transistor's source.
The first switching signal 341 controls switches 321-322 and 325-326. The second switching signal 342, which is the inverse of the first switching signal 341, controls switches 323-324 and 327-328. Thus at any given moment, either switches 323-324 and 327-328 are closed and switches 321-322 and 325-326 are open or vise versa. When the first switching signal is active, switches 321-322 and 325-326 are closed and the transistors 311-312 will effectively be in parallel configuration. When the second switching signal is active, switches 323-324 and 327-328 are closed and the transistors 311-312 will effectively be in series configuration. Thus, for an appropriate forward bias voltage 360, the series and parallel configurations will produce a small and a large current respectively, the currents having a predicable ratio to each other based on the number of transistors in the array.
In determining the desired current ratio, for reasons that will become apparent below it is preferred to select a ratio that is a square number. If the ratio is a square number, N, the number of transistors needed in the array is √{square root over (N)}. For example, if four transistors are used, and the first configuration and the second configuration are parallel and series respectively, the ratio of the first current to the second current would be 16:1.
Determining the transistor configuration to achieve a non-square ratio is slightly more complicated. To do so requires factoring the desired ratio into two factors. These factors will then represent the number of transistors that must be used in the series and parallel configurations. For example, if the desired ratio is 20:1, the configuration options would be either 5×4 or 10×2. The 5×4 configuration would be preferred since 5 and 4 are the closest factors to a square. Thus, to achieve a 20:1 ratio would require placing five transistors in series and four in parallel or, alternatively, four in series and five in parallel.
Re-configuring multiple transistors in this manner, rather than simply using one high-current transistor and one low-current transistor, significantly improves the transistor matching, and thus the current matching. By using the exact same transistors to generate the large current that are used to generate the smaller current, the circuit will account for the variations in the threshold voltages and overdrives of the transistors. The overall overdrive will be the same under either configuration. Furthermore, even though non-idealities in the threshold voltages will produce an error factor to appear in the currents, the ratio of the error currents will also be N:1. Thus, the desired ratio is still preserved.
It is appreciated that in a situation where a non-square ratio is desired, the effects of the variation in one or more of the transistors does not appear in both the large and the small currents. Hence, using an equal number of transistors in both series and parallel configurations to achieve a square ratio is preferred.
An exemplary embodiment could be used to accurately measure the temperature of a remotely located transistor based at least in part on a ratio of two target collector currents (IC1,IC2) and two measurements of the base-emitter voltage (VBE1, VBE2) of the transistor. By employing an embodiment in this application, IC1 and IC2 can be driven to a pre-determined ratio more accurately than previously, thus leading to more accurate temperature readings.
IEREP=IE (5)
Voltage source 570 sets an offset voltage, which is maintained over R2 542 by op-amp 531. It should be appreciated that adding an offset voltage, while not necessary, improves the accuracy of the circuit. Op-amp 530 drives arrays 511 and 512 in order to equalize the voltage across resistors 541 and 542. Thus, the currents through resistors 541 and 542 are equal. The current through resistor 542 is the base current (IB) of the BJT 550. The current through resistor 541 can be expressed as IEREP−ICT, where ICT is a target collector current generated by programmable current source 560. Thus:
IEREP−ICT=IB (6)
Substituting for IB:
IEREP−ICT=IE−IC (7)
Substituting Equation 5:
ICT=IC (8)
Arrays 511 and 512, in conjunction with current source 560, may then drive two collector currents 524. In one embodiment, programmable current source 560 maintains a higher ICT when the circuit is in the high-current mode, and it maintains a lower ICT when the circuit is in the low-current mode. Because arrays of four transistors are used, the ratio of the collector currents can be approximated as 16:1 with a high degree of accuracy. Thus, ΔVBE is the only measurement necessary to accurately determine the temperature of the chip containing BJT 550 (see Equation 4).
Thus, the above embodiments are able to generate two or more currents in a known ratio. As discussed, the embodiments generate the ratio with a high degree of accuracy because the variations in the transistors have been accounted for. Furthermore, in some applications that involve sending varying currents through a circuit and then reading and recording the output voltage that corresponds to each current, it is no longer necessary to measure the currents because their ratio can be predicted with accuracy.
This application claims priority to provisional patent application Ser. No. 60/719,836, entitled “Improved Matching for Time Multiplexed Transistors,” with filing date Sep. 23, 2005, and assigned to the assignee of the present invention, the disclosure of which is hereby incorporated by reference. This application is related to co-pending patent application Ser. No. 11/315,527, entitled “Improved Matching For Time Multiplexed Resistors,” with filing date Dec. 21, 2005, and assigned to the assignee of the present invention, the disclosure of which is hereby incorporated by reference. This application is also related to co-pending patent application Ser. No. 11/314,066, entitled “Systems and Methods for Adjusting Parameters of a Temperature Sensor for Settling Time Reduction,” with filing date Dec. 20, 2005, and assigned to the assignee of the present invention, the disclosure of which is hereby incorporated by reference.
| Number | Name | Date | Kind |
|---|---|---|---|
| 6456513 | Saito | Sep 2002 | B2 |
| 6789939 | Schrodinger et al. | Sep 2004 | B2 |
| 20040264223 | Pihlstrom et al. | Dec 2004 | A1 |
| Number | Date | Country | |
|---|---|---|---|
| 60719836 | Sep 2005 | US |