1. Field of the Invention
This invention relates to electronic circuits and, more particularly, to circuits for accessing a plurality of pn-juctions with a limited number of pins.
2. Description of the Related Art
As computer systems and other electronics become more complex, more compact, and run faster, it is critical to monitor temperatures associated with particular devices within the computer systems. Traditional temperature sensing techniques, such as thermocouples and thermistors, are now being displaced by semiconductor temperature sensors due to their ease of integration and use.
Diodes are often used as temperature sensors due to a substantially linear relationship (≈2.2 mV/° C.) between the voltage across a pn-junction and the temperature of the junction. Therefore, by providing a constant current and measuring the forward-biased voltage across the pn-junction, the temperature associated with a particular device having the pn-junction may be determined from the temperature-voltage relationship. Diodes are one of the cheapest temperature sensors available. However, one disadvantage of using diodes as temperature sensors may be that the initial forward-biased voltage of diodes varies with process and device features; therefore, diodes may have to be individually calibrated to avoid introducing an error into the temperature measurement. Individual device calibration may be possible but it may not practical.
Transistors (e.g., bipolar junction transistor or BJT) are also regularly used as temperature sensors to determine the temperature associated with a particular device. If two different current are provided to a respective transistor, the difference in base-emitter voltage (ΔVBE=VBE1−VBE2) at the two different currents is proportional to the absolute temperature of the transistor. Since ΔVBE is a difference or change in base-emitter voltage and not a measured voltage, ΔVBE is independent of the pn-junction's forward-biased voltage or other differences due to manufacturing variations. Therefore, temperature measurements obtained by calculating ΔVBE are usually more accurate than temperature measurements obtained by measuring the forward-biased voltage of a pn-junction and using the junction voltage-temperature relationship (≈2.2 mV/° C.).
The relationship between temperature and ΔVBE of a transistor may be given by:
T=q*(VBE1−VBE2)/(k*ln(I1/I2))
where k≈1.38×10−23, Boltzmann's constant
Using the equation shown above, the difference in base-emitter voltage at a pn-junction of the transistor may be measured to determine the temperature associated with the pn-junction. Therefore, a diode or a transistor that is being used as a temperature sensor may be useful for determining the temperature of the particular device or integrated circuit (IC) where the temperature sensor is located. It is possible to approximate the temperature of circuits near the location of the temperature sensors but the temperature measurements may not be accurate. Ideally, the temperature sensors should be located within the circuit needing the temperature monitoring. Therefore, the circuit having the temperature sensors may need to dedicate a plurality of pins specifically for the temperature sensors.
An IC may have 2 dedicated pins to measure the base-emitter voltage across the pn-junction of the transistor that is being used as a temperature sensor, for example, one pin to receive the current and the other to serve as the return. In this case, an IC having 2 temperature sensors may have 4 pins dedicated for temperature sensing, an IC having 3 temperature sensors may have 6 dedicated pins, and so on. This technique for incorporating temperature sensors into ICs may not be practical because the temperature sensors may use too many pins. One method to overcome this problem is to connect 2 diodes to 3 pins. For example, 2 diodes could be connected to 2 pins and use the ground pin (the 3rd pin) as a common return. However, using the ground pin as a return pin may lead to inaccurate voltage measurements because it may involve sampling the VBE voltages relative to a noisy ground.
Various embodiments of circuits for accessing a plurality of pn-juctions with a limited number of pins are disclosed. In one embodiment, a plurality of pn-junctions are grouped into n(n-1)/2 pairs (where n is an integer greater than 1) and each pn-junction pair includes a first pn-junction coupled antiparallel to a second pn-junction. In addition, n access points are coupled to the plurality of pn-junctions, and through the n access points n-1 pn-junctions are simultaneously accessible.
In one embodiment, a method for arranging the plurality of pn-junctions comprises grouping n(n-1) pn-junctions into n(n-1)/2 pairs and coupling the n(n-1) pn-junctions to n access points. In this embodiment, each pn-junction pair comprises a first pn-junction coupled antiparallel to a second pn-junction.
In another embodiment, a system comprises a plurality of pn-junctions grouped into n(n-1)/2 pairs, where each pn-junction pair includes a first pn-junction coupled antiparallel to a second pn-junction, and an integrated circuit coupled to the plurality of pn-junctions via n access points. In this embodiment, the integrated circuit is configured to access the first pn-junction and the second pn-junction independently. Furthermore, the integrated circuit is configured to access n-1 pn-junctions simultaneously via the n access points.
In one embodiment, the integrated circuit may be configured as a temperature measurement IC and the plurality of pn-junctions may be used as temperature sensors. In this embodiment, the temperature measurement IC may be coupled via n access points or n pins to an arrangements of the pn-junctions having n(n-1)/2 pairs. Each pair of pn-junctions includes a first pn-junction coupled antiparallel to a second pn-junction. The temperature measurement IC may be further configured to access the n(n-1) pn-junctions to perform temperature measurements. In this embodiment, the temperature measurement IC may be configured to access the first pn-junction independently from the second pn-junction to determine the temperature associated with each of the pn-junctions. Also, the temperature measurement IC may be configured to access n-1 pn-junctions simultaneously via the n access points to determine the temperature associated with the n-1 pn-junctions simultaneously.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
As illustrated in
In one embodiment, a temperature measurement IC may be coupled to one of the arrangements of pn-junctions having n(n-1)/2 pairs via n pins or n access points. Each pair of pn-junctions includes a first pn-junction coupled antiparallel to a second pn-junction. The temperature measurement IC may access the n(n-1) pn-junctions via the n pins or n access points to determine the temperature associated with each of the pn-junctions. In this embodiment, the first pn-junction may be accessed independently from the second pn-junction. Furthermore, n-1 pn-junctions may be accessed simultaneously.
Referring to
In the illustrated embodiment, pn-junctions 114 and 116 may be used as temperature sensors. Accordingly, temperature measurement IC 200 may access pn-junctions 114 and 116 of arrangement 110 to determine the temperature associated with each of the pn-junctions. In one embodiment, pn-junctions 114 and 116 may each be included in a respective transistor. In this embodiment, the base and the collector of each of the transistors may be connected together so each of the transistors operates similarly to a diode. In the illustrated embodiment of
In one embodiment, by closing switches 251 and 254 and opening switches 252 and 253, the current Io will be driven in one direction and the VBE of the transistor having pn-junction 114 may be seen across the two pins and measured by temperature measurement IC 200. In this embodiment, pn-junction 116 will be reversed-biased and will not influence the measurements. On the other hand, by closing switches 252 and 253 and opening switches 251 and 254, the direction of the current Io is reversed and VBE of the transistor including pn-junction 116 may be seen across the two pins and measured by temperature measurement IC 200. In one embodiment, temperature measurement IC 200 may include a multiplexer (not shown) to control the switching of the direction of the current Io.
In this embodiment, the temperature associated with the transistor including pn-junction 114 may be determined by providing a first current (I1) from current source 260 and measuring the first base-emitter voltage (VBE1) at the first current and then providing a second current (I2) and measuring the second base emitter voltage (VBE2) at the second current. In one embodiment, second current (I2) may constitute an integer multiple of first current (I1), for example, I2 may be 10 times the magnitude of I1. As described above, VBE1 and VBE2 of the transistor including pn-junction 114 may be measured by closing switches 251 and 254 and opening switches 252 and 253. The temperature associated with the transistor having pn-junction 114 may be computed using the following relationship:
T=q*(VBE1−VBE2)/(k*ln(I1/I2))
where k≈1.38×10−23, Boltzmann's constant
Similarly, the temperature associated with the transistor including pn-junction 116 may be determined from the same equation by providing I1 and I2 to measure VBE1 and VBE2 of the transistor. In this case, switches 252 and 253 are closed and switches 251 and 254 are opened.
In one embodiment, temperature measurement IC 200 may include circuitry (not shown) to compute the temperature according to the above relationship between temperature and ΔVBE. It is noted that the temperature derived from the above equation is absolute temperature in Kelvins, which may be readily converted into any desired unit of temperature.
Referring to
In one embodiment, a temperature measurement IC may access the first pn-junction of a pair of pn-junctions independently from the second pn-junction. For example, in the illustrated embodiment, temperature measurement IC 300 may access pn-junction 126 independently from pn-junction 127 and may access pn-junction 128 independently from pn-junction 129. Furthermore, in one embodiment, a temperature measurement IC may access n-1 pn-junctions simultaneously as long as the n-1 current sources of the temperature measurement IC have a common return pin (a negative pin). For example, in the illustrated embodiment having 3 pins (i.e., pins 121-123), temperature measurement IC 300 may access 2 pn-junctions simultaneously as long as the 2 current sources (i.e. current sources 360 and 365) have a common return pin.
In one embodiment, temperature measurement IC 300 may access 2 pn-junctions simultaneously to determine the temperature associated with each of the 2 pn-junctions simultaneously. For example, in the illustrated embodiment, to access pn-junctions 126 and 128 simultaneously, switches 351, 355, and 359 are closed and switches 352-354 and 356-358 are opened. By closing switches 351 and 355, current Io1 will be driven via pin 121 (positive pin) to pn-junction 128 and current Io2 will be driven via pin 122 (positive pin) to pn-junction 126. By closing switch 359, pin 123 (negative pin) will be the common return pin for current sources 360 and 365.
In the above example, the temperatures associated with pn-junction 126 and pn-junction 128 may be determined simultaneously by providing a first current from current source 360 and current source 365 to pn-junction 126 and pn-junction 128, respectively, and measuring the first base-emitter voltage (VBE1) at the first current of both pn-junction 126 and pn-junction 128. Then, providing a second current from current source 360 and current source 365 to pn-junction 126 and pn-junction 128, respectively, and measuring the second base emitter voltage (VBE2) at the second current of both pn-junction 126 and pn-junction 128. Accordingly, by calculating the difference in base-emitter voltage (ΔVBE) due to I1 and I2, the temperature associated with each of pn-junctions 126 and 128 may be determined from the relationship between ΔVBE and temperature described above.
Turning now to
Furthermore, in one embodiment, if temperature measurement IC 300 measures the difference in base-emitter voltage (ΔVBE) of a transistor having pn-junction 128, any error that may be introduced into the measurements of base-emitter voltages will be included in both the measurements of VBE1 and VBE2. Therefore, ΔVBE may not be significantly affected by the error and the calculated temperature may be an accurate measurement of the temperature associated with pn-junction 128.
Referring to
The simplified representation of a circuit having 5 pins and 20 pn-junctions shown in
In an alternative embodiment, the pn-junctions of
In one embodiment, one or more of the pn-junctions in the arrangements of pn-junctions shown in the circuits of
It is noted that each of the temperature measurement ICs of
In an alternative embodiment, the plurality of pn-junctions shown in the circuits of
Although the embodiments above have been described in considerable detail, numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.