The present invention is related to temperature measurement, and more particularly to temperature measurements using a transistor or diode as a sensor.
Temperature measurement using a transistor as a sensor is a common application in the semiconductor area. Such a temperature measurement is done by applying two different currents to the transistor each resulting in a respective base-emitter voltage. The difference between the two base-emitter voltages is proportional the absolute temperature of the transistor. To assure an accurate base-emitter voltage measurement, a settling period after application of an excitation current is required before sampling the corresponding base-emitter voltage. This settling time depends upon the magnitude of the applied excitation current and any filter capacitance and series resistance in the circuit. Thus, the settling time will typically be different for each applied excitation current.
Turning to
ΔVbe=Vbe2−Vbe1=n*kT/q*ln(I2/I1).
The ‘n’ term is known as the non-ideality factor or emission coefficient is assumed to be a constant (n=1.008) for diodes and transistors.
Temperature measurement system 100 is clocked by an oscillator 110 which has its output divided by a divider circuit 120. The output of divider circuit 120 is a clock 190 that is used to synchronize the operation of temperature measurement system 100 and in some cases other circuitry associated therewith. Various periods such as, for examples sampling periods required to sample and/or process base-emitter voltages from transistor 144 are governed by one or more period counters 130 as are known in the art.
As shown in a timing diagram 155 of
Thus, for at least the aforementioned reasons, there exists a need in the art for advanced systems and devices for temperature measurement.
The present invention is related to temperature measurement, and more particularly to temperature measurements using a transistor or diode as a sensor.
Various embodiments of the present invention provide temperature measurement systems. Such temperature measurement systems include a variable current source, a transistor, and a pulse width modulation circuit. The variable current source is operable to provide a first current and a second current that are applied to the transistor. A first base-emitter voltage is exhibited by the transistor when the first current is applied, and a second base-emitter voltage is exhibited by the transistor when the second current is applied. The first base emitter voltage is associated with a first sample period, and a second base-emitter voltage is associated with a second sample period. The pulse width modulation circuit provides a pulse width modulated clock including a combination of periods corresponding to the aforementioned first sample period and second sample period.
In some instances of the aforementioned embodiments, the pulse width modulated clock includes a repeating pattern of a first clock cycle succeeded by a second clock cycle, and the second clock cycle succeeded by the first clock cycle. In such cases, the first clock cycle may exhibit the first period and the second clock cycle may exhibit the second period. In various instances of the aforementioned embodiments, the variable current source is further operable to provide a third current and a fourth current. A third base-emitter voltage occurs when the third current is applied to the transistor and a fourth base-emitter voltage occurs when the fourth current is applied to the transistor. A third sample period is associated with the third base-emitter voltage, and a fourth sample period is associated with the fourth base-emitter voltage. In such instances, the pulse width modulation circuit provides the pulse width modulated clock with a first period associated with the first sample period, a second period associated with the second sample period, a third period associated with the third sample period, and a fourth period associated with the fourth sample period. In some cases, the pulse width modulated clock includes a repeating pattern of a first clock cycle succeeded by a second clock cycle, the second clock cycle succeeded by a third clock cycle, the third clock cycle succeeded by a fourth clock cycle, and the fourth clock cycle succeeded by the first clock cycle. In such cases, the first clock cycle exhibits the first period, the second clock cycle exhibits the second period, the third clock cycle exhibits the third period, and the fourth clock cycle exhibits the fourth period. In one or more instances of the aforementioned embodiments, the sampling periods correspond to a settling time of a respective base-emitter voltage after application of the corresponding excitation current by the variable current source.
In some instances of the aforementioned embodiments, the temperature measurement system further includes an analog to digital converter. In such instances, the analog to digital converter is operable to receive the first base-emitter voltage and the second base-emitter voltage, and to provide a delta base-emitter voltage based at least in part on the first base-emitter voltage and the second base-emitter voltage. The analog to digital converter may include a result counter that is operable to tabulate a delta base-emitter voltage value, and is synchronized to the pulse width modulated clock. In some cases, the analog to digital converter includes a sample counter that governs the number of samples processed by the analog to digital converter, and is synchronized to the pulse width modulated clock. In various cases, the temperature measurement system includes a temperature calculation circuit that is synchronized to the pulse width modulated clock, and provides a temperature output based at least in part on the delta base-emitter voltage. In some instances of the aforementioned embodiments, the temperature measurement system is associated with other digital circuitry performing a number of different functions. In such instances, some or all of the other digital circuitry is synchronized to the pulse width modulated clock.
Other embodiments of the present invention provide methods for temperature measurement. Such methods include providing a temperature circuit that has, among other things, a variable current source, a transistor, and an analog to digital converter. The variable current source is electrically coupled to the transistor, and the analog to digital converter is operable to sample a base-emitter voltage associated with the transistor. The methods further include applying a first current to the transistor via the variable current source such that a first base-emitter voltage occurs on the transistor, and subsequently applying a second current to the transistor via the variable current source such that a second base-emitter voltage occurs on the transistor. A pulse width modulated clock is provided. The pulse width modulated clock includes a first period corresponding to a sampling period of the first base-emitter voltage, and a second period corresponding to a sampling period of the second base-emitter voltage.
Yet other embodiments of the present invention provide analog to digital converter circuits. Such analog to digital converter circuits include a first sampling input and a second sampling input. Each of the aforementioned sampling inputs are associated with a respective sampling period. The analog to digital converter circuits further include a sample and integration circuit that receives the first sample input and the second sample input in an alternating pattern, and provides a converted output. The analog to digital circuits further include a pulse width modulation circuit that provides a pulse width modulated clock with a first period associated with the first sample period and a second period associated with the second sample period. In some instances of the aforementioned embodiments, the analog to digital converter further includes a transistor and a variable current source that is operable to provide a first current and a second current. In such instances, the first sample input is a first base emitter voltage associated with the first current, and the second sample input is a second base-emitter voltage associated with the second current.
This summary provides only a general outline of some embodiments according to the present invention. Many other objects, features, advantages and other embodiments of the present invention will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings.
A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals are used throughout several drawings to refer to similar components. In some instances, a sub-label consisting of a lower case letter is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.
a depicts a simplified temperature measurement system including a prior art oscillator based clocking scheme;
b shows a timing diagram associated with the temperature measurement system of
The present invention is related to temperature measurement, and more particularly to temperature measurements using a transistor or diode as a sensor.
Various embodiments of the present invention provide temperature measurement methods and systems. Such temperature measurement systems may include a variable current source, a transistor, and a pulse width modulation circuit. The variable current source is operable to apply two or more excitation currents to the transistor. A first base-emitter voltage is exhibited by the transistor when the one of the excitation currents is applied, and a second base-emitter voltage is exhibited by the transistor when another excitation current is applied. The first base emitter voltage is associated with a first sample period, and a second base-emitter voltage is associated with a second sample period. The pulse width modulation circuit provides a pulse width modulated clock including a combination of periods corresponding to the aforementioned first sample period and second sample period. In some such cases, the aforementioned “sampling periods” correspond to a settling time associated with a particular base-emitter voltage excitation. As used herein, the phrase “settling time” is used in its broadest sense to mean any period of sufficient duration to allow a base-emitter voltage to stabilize to the extent that a sample of desired accuracy may be achieved.
In some instances of the aforementioned embodiments, the pulse width modulated clock includes a repeating pattern of a first clock cycle succeeded by a second clock cycle, and the second clock cycle succeeded by the first clock cycle. In such cases, the first clock cycle may exhibit the first period and the second clock cycle may exhibit the second period. In other cases, the repeating pattern includes more than the first and second clock cycles. Thus, while pulse width modulated clocks including two and four distinct clock cycles are explicitly discussed herein, based on the disclosure provided herein, one of ordinary skill in the art will recognize approaches and implementations of embodiments of the present invention where two or more distinct clock cycles are repeated to create a desired pulse width modulated clock.
Turning to
The difference between the measured base-emitter voltages is proportional to the absolute temperature of transistor 260. The following equation defines the relationship between the difference between base-emitter voltage measurements and absolute temperature:
ΔVbe=Vbe2−Vbe1=n*kT/q*ln(I2/I1).
The ‘n’ term is known as the non-ideality factor or emission coefficient is assumed to be a constant (n=1.008) for diodes and transistors. The calculated temperature is provided as a temperature output 270 from temperature calculation system 250. As used herein, the phrase “delta base-emitter voltage” is used in its broadest sense to mean a difference between two or more base-emitter voltages.
In contrast to prior temperature measurement systems, temperature calculation system 250 is clocked using a pulse width modulated clock 240 with a series of repeating periods that each may be tailored to the length of sampling period required for various different excitation currents. In this way, the clock used to synchronize temperature calculation system 250 and other surrounding circuitry is not burdened with unnecessary clock cycles. This results in a reduction of power dissipated by temperature measurement system 200 relative to prior temperature measurement systems. Further, this results in an overall reduction in the time spent sampling. This time savings can be very significant in situations where a number of samples are taken before a temperature result is provided. Yet further, the reduced clocking frequency may limit system noise making sensitive measurements less susceptible to errors due to interference or noise.
Pulse width modulated clock 240 is generated by pulse width clock modulator 230 based on a clock 220 from an oscillator 210. Turning to
As shown, during each sampling period represented by sample 361, transistor 260 is excited using four distinct excitation currents: I1, I2, I3 and I4. Thus, as shown, there are four distinct sample periods each tailored to the settling time required when the aforementioned excitation currents are respectively applied to the transistor. The first sample period (T1) includes excitation at a current I1, the second sample period (T2) includes excitation at a current I2, the third sample period (T3) includes excitation at a current 13, and the fourth sample period (T4) includes excitation at a current I4. In one particular embodiment of the present invention, current I1 is one hundred microamps and period T1 is twenty-three microseconds; current I2 is fifty microamps and period T2 is thirty microseconds; current I3 is five microamps and period T3 is sixty microseconds; and current I4 is ten microamps and period T4 is forty microseconds.
It should be noted that while four distinct periods are shown, various embodiments of the present invention may provide two or three distinct periods. Other embodiments of the present invention may provide five or more distinct periods. Based on the disclosure provided herein, one of ordinary skill in the art will recognize an appropriate number of periods for a particular design, and an appropriate duration for each of the periods. Further, it should be noted that while the depicted example shows four distinct periods, one or more of the periods may be the same duration as one or more of the other periods depending upon the particular implementation.
Pulse width modulated clock 240 is tailored to the distinct periods (i.e., T1, T2, T3 and T4) selected to obtain samples 360. In particular, pulse width modulated clock 240 makes one transition causing a sample of the base-emitter voltage of transistor 260 to be taken, and another transition causing an integration of the sampled charge. In particular, during period T1 a negative transition 242 causes a sample of the base-emitter voltage corresponding to I1 to be taken and positive transition 243 causes an integration of the sampled charge. During period T2 a negative transition 244 causes a sample of the base-emitter voltage corresponding to I2 to be taken and positive transition 245 causes an integration of the sampled charge. During period T3 a negative transition 246 causes a sample of the base-emitter voltage corresponding to I3 to be taken and positive transition 247 causes an integration of the sampled charge. During period T4 a negative transition 248 causes a sample of the base-emitter voltage corresponding to I4 to be taken and positive transition 249 causes an integration of the sampled charge. This process is repeated a number of times until a desired temperature resolution is achieved. The result of the sampling is a differential base-emitter voltage that may be used to calculate temperature in accordance with the equations set forth above in relation to
Turning to
In addition, once the output of loadable counter 420 is zero, the state of an output pulse width modulated clock 480 is toggled. In particular, an inverted version of pulse width modulated clock 480 (i.e., pulse width modulated clock 480 passing through an inverter 460) is selected via a multiplexer 450. The inverted version of pulse width modulated clock 480 is loaded into a register 470 that drives pulse width modulated clock 480 upon a positive edge of oscillator clock 440. As discussed above, on the next cycle of oscillator clock 440 a non-zero value is loaded into loadable counter 420. Because of this, the non-inverted version of pulse width modulated clock 480 is selected via multiplexer 450 and continually loaded into register 470 upon assertion of oscillator clock 440.
Using pulse width modulated clock circuit 400, pulse width modulated clock 240 may be created such that it is tailored to sampling periods needed to sample base-emitter voltages of transistor 260 for different excitation currents and/or sampling gains. As an example, assume oscillator clock 440 is a two megahertz clock and the following four sampling periods are desired: twenty-three microseconds (T1), thirty microseconds (T2), sixty microseconds (T3), and forty microseconds (T4). In this case, the following four period counts are utilized: twenty-three, thirty, sixty, and forty. In operation, start input 412 is asserted high causing state machine 410 to assume an initial state which results in loading period count 432 (a count of twenty-three) into loadable counter 420. After twenty-three cycles of oscillator clock 440 (i.e., 11.5 microseconds) the output of loadable counter 420 is a zero causing pulse width modulated clock 480 to switch to an assertion level opposite that of its previous assertion. Where it is assumed that pulse width modulated clock is initially at a logic ‘1’ assertion state, the aforementioned switch corresponds to transition 242 of
At the same time, the state of state machine 410 is incremented resulting in the next period count 433 (i.e., thirty) to load into loadable counter 420. After thirty cycles of oscillator clock 440 (i.e., 15 microseconds), the output of loadable counter 420 is again zero causing pulse width modulated clock 480 to switch to an assertion level opposite that of its previous assertion. Again, where it is assumed that pulse width modulated clock is initially at a logic ‘1’ assertion state, the aforementioned switch corresponds to transition 244 of
It should be noted that pulse width modulated clock circuit 400 is exemplary of various circuits that may be implemented in accordance with one or more embodiments of the present invention for creating a synchronizing clock that is tailored to a number of desired sampling periods. Based on the disclosure provided herein, one of ordinary skill in the art will recognize a variety of other circuits that may be used in relation to one or more embodiments of the present invention for creating a synchronizing clock tailored to a desired length of two or more sampling periods.
Turning to
Pulse width clock circuit 575 provides pulse width modulated clock 592 that is synchronized by an oscillator clock 593 and sequenced based on a start input 594. Pulse width modulated clock 592 includes a variable period that is tailored to periods used to sample base-emitter voltages of transistor 570. In particular, transistor 570 may be excited by different currents provided via variable current source 560. The desired sampling period may be different for each excitation current. In such a case, pulse width clock circuit 575 provides pulse width modulated clock 592 with a period tailored to one excitation current followed by another period tailored to another excitation current. Pulse width modulated clock 592 may used to drive circuitry of analog to digital converter 505 and other digital circuitry associated with temperature measurement circuit 500. Such other circuitry may include, but is not limited to, registers, I/O buffers, calculation circuitry and control circuitry. Based on the disclosure provided herein, one of ordinary skill in the art will recognize a myriad of other circuitry that may be used in relation to analog to digital converter 505 and/or temperature measurement circuit 500. As such, the aforementioned circuitry uses a variable period clock tailored to bandwidth limiting operations (i.e., base-emitter voltage sampling). This results in elimination of a number of unnecessary clock cycles, and the corresponding power savings and noise reduction. Pulse width clock circuit 575 may be implemented, for example, consistent with pulse width modulated clock circuit 400 discussed above in relation to
Analog to digital converter 505 includes a loadable counter 571 that is synchronized to pulse width modulated clock 592; a result counter 560 that is synchronized to pulse width modulated clock 592; an operational amplifier 540; a comparator 550; switches 535, 536, 537, 538, 544 and 545 that are synchronized to pulse width modulated clock 592; capacitors 532, 534 and 546; a voltage reference 549 and an inverted version of the aforementioned voltage reference 548; and result register 580. It should be noted that the inverted version of the voltage reference may be generated in any number of ways including, but limited to, applying a negative reference voltage, using a positive reference voltage and a defined sampling sequence, or the like. In particular, inverted voltage reference 535 is electrically coupled to a reference sample capacitor 534 via a switch 535. Reference sample capacitor 534 is also electrically coupled to ground via a switch 536, and to negative input 542 of operational amplifier 540. The base and collector of transistor 570 are electrically coupled to negative input 542 of operational amplifier 540 via a switch 537 and an input sample capacitor 532. Negative input 542 of operational amplifier 540 is also electrically coupled to ground via a switch 538. A positive input 543 of operational amplifier 540 is electrically coupled to ground. A switch 544 electrically couples the output of operational amplifier 540 to negative input 542, and a switch 545 and a feedback capacitor 546 electrically couples the output of operational amplifier 540 to negative input 542.
The output of operational amplifier 540 is also electrically coupled to an input of comparator 550. The other input of comparator 550 is electrically coupled to voltage reference 549. The output of comparator 550 is provided to result counter 560, and as a feedback to control switch 535 and switch 536. Result counter 560 counts up synchronously each time the output of comparator 550 is a logic ‘1’ (i.e., each time the sample value is greater than reference voltage 549). The number of samples that are counted is equivalent to static n-factor value 510 as indicated by the value at the output of loadable counter 571. Once the output value of loadable counter 571 is a logic ‘0’, the output value of result counter 560 is stored to result register 580 and result counter 560 is reset. The output (i.e., Delta Vbe 565) of result register 580 is provided to a temperature calculation circuit 595. The value of Delta Vbe 565 represents the difference between two or more different base-emitter voltages of transistor 570. The number of samples taken before a result is produced corresponds to static n-factor value 510. In some embodiments of the present invention, the gain of analog to digital converter 505 coupled with static n-factor value 510 corresponds to an n-factor value of 1.008. In some embodiments of the present invention, static n-factor value 510 is replaced with a programmable register. In such cases, the n-factor value is programmable (i.e., the number of samples taken before producing a result is programmable in such a way that it effectively results in use of a different n-factor value).
In operation, variable current source 560 is set to apply a first current to transistor 570 after which the base-emitter voltage (Vbe) is detected. In particular, after applying the first current from variable current source 560, switch 537 and switch 544 are closed allowing input sample capacitor 532 to charge to the value on the base of transistor 570. This may be done on one edge (either positive or negative edge) of pulse width modulated clock 592. The charge from input sample capacitor 532 is then transferred to feedback capacitor 546 by opening switch 537 and switch 544, and closing switch 545 and switch 538. This is done on the next edge (either negative or positive) of pulse width modulated clock 592. It should be noted that in other embodiments of the present invention that the aforementioned processes of sampling and charge transfer may be done on successive positive edges of pulse width modulated clock 592 or successive negative edges. In such a case, the clock rate may be approximately double what it would be where both positive and negative clock edges are used.
Transferring the charge from input sample capacitor to feedback capacitor 546 results in an output from operational amplifier 540 at the input of comparator 550. Where the gain of operational amplifier 540 is unity, the output is approximately equal to the voltage at the base of transistor 570. The output of operational amplifier 550 is compared with voltage reference 549. Where the result is a logic ‘0’, result counter 560 is not incremented. In the next pass, the voltage at the base of transistor 570 is again sampled by closing switch 537 and switch 544. Once charging is complete, charge is transferred from input sample capacitor 532 to feedback capacitor 546 by closing switch 538 and switch 545. This results in a value of approximately double the voltage at the base of transistor 570 at the output of operational amplifier 540. Again, where the result is a logic ‘0’, result counter 560 is not incremented and substantially the same process is repeated until the result of a logic ‘1’ is achieved.
Alternatively, on any pass where the result of the comparison is a logic ‘1’, result counter 560 is incremented. Further, where the result is a logic ‘1’, the negative version of the voltage reference 548 is sampled along with the voltage at the base of transistor 570 on the next pass. This is done by closing switch 535, switch 537 and switch 544. This causes charge to build up on reference sample capacitor 534 representing the negative reference voltage, and charge to build up on input sample capacitor 532 representing the voltage at the base of transistor 570. The charge from both of the aforementioned capacitors is transferred to feedback capacitor 546 by closing switch 536, switch 538 and switch 545. By continually re-sampling the voltage at the base of transistor 570 and sampling the negative voltage reference any time a logic ‘1’ is noted, the following residue will remain for a counter value of X and a number of iterations N:
Residue=NVin−XVref,
where Vin is the difference between two or more base-emitter voltages. The digital value representing the voltage at the base of transistor 570 is that maintained on result counter 560 at the end of the process. The process is continued for the number of samples loaded into loadable counter 571 (i.e., corrected n-factor 323).
During the sampling period, variable current source 560 is initially set to apply a first current to transistor 570 and subsequently to apply a second current. The first and second currents result in respective base-emitter voltages. By repeatedly applying two different currents to transistor 570, an integration of the difference between the respective base-emitter voltages is achieved in result counter 560. The output of result counter 560 is ultimately registered in result register 580 as Delta Vbe 565. This output is used to calculate temperature based on the following equation:
ΔVbe, adjusted=n*kT/q*ln(I2/I1).
It should be noted that analog to digital converter 505 may be implemented as another type of analog to digital converter. For example, analog to digital converter 505 may be implemented as a fully differential analog to digital converter where the base of transistor is electrically coupled to one differential input of the differential analog to digital converter, and the emitter of transistor 570 is electrically coupled to the other differential input of the differential analog to digital converter. Based on the disclosure provided herein, one of ordinary skill in the art will recognize other types of analog to digital converters that may be used in relation to various embodiments of the present invention.
Further, it should be noted that while the aforementioned embodiments are described with particular reference to remote junction temperature sensing, the approaches, methods and circuits described herein can be applied to producing and utilizing a PWM clocking scheme in a number of different circumstances. For example, various embodiments of the present invention may be applicable to other excitation scenarios where different settling times are incurred after an initial excitation.
In conclusion, the present invention provides novel systems, devices, methods for temperature measurement. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4165642 | Lipp | Aug 1979 | A |
5195827 | Audy | Mar 1993 | A |
5867012 | Tuthill | Feb 1999 | A |
5982221 | Tuthill | Nov 1999 | A |
6097239 | Miranda, Jr. et al. | Aug 2000 | A |
6133753 | Thomson et al. | Oct 2000 | A |
6169442 | Meehan et al. | Jan 2001 | B1 |
6407618 | Taft et al. | Jun 2002 | B1 |
7193543 | McLeod et al. | Mar 2007 | B1 |
20070091979 | Chiu | Apr 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080259997 A1 | Oct 2008 | US |