Temperature sensor
11274976 · 2022-03-15
Assignee
Inventors
Cpc classification
H03B5/00
ELECTRICITY
H03B5/04
ELECTRICITY
International classification
H03B5/04
ELECTRICITY
Abstract
A temperature sensor supplying a measurement signal varying linearly to within 10% as a function of the temperature at least over a temperature range, including an oscillator supplied by a supply voltage and supplying a first oscillating signal, said oscillator including first MOS transistors, the voltage at each internal node of the oscillator having a dynamic range equal to the supply voltage, the measuring signal corresponding to the supply voltage.
Claims
1. A temperature sensor supplying a measurement signal of the temperature, comprising a controllable current source, an oscillator and a circuit controlling the controllable current source configured to control the equivalent resistance of the oscillator to be equal to a reference resistance, the oscillator being supplied by the controllable current source at a first node having a supply voltage, the oscillator supplying a first oscillating voltage having a dynamic range equal to the supply voltage, the measuring signal corresponding to the supply voltage.
2. The temperature sensor according to claim 1, wherein the controllable current source comprises a first MOS transistor whose source is configured to be coupled to a source of a high reference potential, whose drain supplies the supply voltage to the first node, and whose gate is controlled by the control circuit.
3. The temperature sensor according to claim 1, comprising an analog-digital converter receiving the supply voltage and supplying a converted digital signal to the control circuit, the control circuit being configured to select a resistance among several resistances from the converted digital signal, said resistances being substantially equal to the reference resistance in different temperature subranges of a temperature range.
4. The temperature sensor according to claim 3, comprising a follower circuit receiving the supply voltage and outputting a copy of the supply voltage and wherein the analog-digital converter is coupled to the output of the follower circuit.
5. The temperature sensor according to claim 2, wherein the control circuit and the controllable current source comprise a current mirror comprising the first MOS transistor and a second MOS transistor, the control circuit further comprising an operational amplifier whose output is coupled to the gates of the first and second MOS transistors, and wherein the first node is coupled to a first input of the operational amplifier and wherein the control circuit comprises a circuit supplying a reference voltage to a second input of the operational amplifier, a current passing through the second MOS transistor, the supply circuit being configured to supply the reference voltage equal to the product of said current and the reference resistance.
6. The temperature sensor according to claim 5, wherein the circuit supplying the reference voltage is configured to couple the second input to one of said resistances from a selection signal.
7. The temperature sensor according to claim 6, wherein the control circuit comprises a digital circuit receiving the converted digital signal and determining the selection signal from the converted digital signal in order to select the resistance, among the resistances, substantially equal to the reference resistance.
8. The temperature sensor according to claim 6, wherein the circuit supplying the reference voltage comprises first resistors, the first resistors having resistances substantially equal to the reference resistance in different temperature subranges of a temperature range, and a demultiplexer configured to couple one of the first resistors to the second input from the selection signal.
9. The temperature sensor according to claim 6, wherein the circuit supplying the reference voltage comprises a second resistor having a resistance with a positive temperature coefficient coupled to a third resistor having a resistance with a negative temperature coefficient and a circuit configured to modify the ratio between the current circulating in the second resistor and the current circulating in the third resistor.
10. The temperature sensor according to claim 2, wherein the oscillator comprises third MOS transistors.
11. The temperature sensor according to claim 1, wherein the first oscillating signal oscillates at a first oscillation frequency, the temperature sensor comprising a frequency divider circuit receiving the first oscillating signal or a second signal oscillating at the first oscillation frequency and supplying a third signal oscillating at a second oscillation frequency that is a sub-multiple of the first oscillation frequency.
12. The temperature sensor according to claim 11, wherein the analog-digital converter is paced by the third oscillating signal.
13. The temperature sensor according to claim 1, wherein the oscillator is a ring oscillator.
14. The temperature sensor according to claim 13, wherein the voltage at each internal node of the oscillator has a dynamic equal to the supply voltage of the oscillator.
15. The temperature sensor according to claim 10, wherein the third MOS transistors are configured to have a current passing through them varying linearly to within 10% as a function of the temperature over a temperature range, the sensor being configured to supply the measuring signal varying linearly to within 10% as a function of the temperature at least over the temperature range.
16. The temperature sensor according to claim 14, wherein the temperature range varies from −40° C. to 250° C.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) The foregoing features and advantages, as well as others, will be described in detail in the following description of specific embodiments given by way of illustration and not limitation with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DESCRIPTION OF EMBODIMENTS
(10) Like features have been designated by like references in the various figures. In particular, the structural and/or functional features that are common among the various embodiments may have the same references and may dispose identical structural, dimensional and material properties. For the sake of clarity, only the elements that are useful for an understanding of the embodiments described herein have been illustrated and described in detail. Unless specified otherwise, the expressions “around”, “approximately”, “substantially” and “in the order of” signify within 10%, and preferably within 5%. Unless indicated otherwise, when reference is made to two elements connected together, this signifies a direct connection without any intermediate elements other than conductors, and when reference is made to two elements coupled together, this signifies that these two elements can be connected or they can be coupled via one or more other elements. Additionally, in the remainder of the description, the voltages are referenced with respect to a low reference potential, for example the ground potential, taken as being equal to 0 V. Furthermore, in the remainder of the description, the same reference is used to designate a resistor and the resistance of said resistor. Additionally, a “binary signal” refers to a signal that alternates between a first constant state, for example a low state, denoted “0”, and a second constant state level, for example a high state, denoted “1”. The high and low states of different binary signals of a same electronic circuit can be different. In practice, the binary signals can correspond to voltages or currents that may not be perfectly constant in the high or low state.
(11)
(12) The oscillator 12 is configured to supply the oscillating signal V.sub.osc with a dynamic range equal to the supply voltage V.sub.ddosc. In an embodiment, the circuit 16 controlling the controllable current source is configured to control the equivalent resistance of the oscillator 12 to be equal to a reference resistance. The oscillator 12 is therefore controlled so that the oscillation frequency f remains substantially constant. With such an architecture, the inventors have shown that the variations of the supply voltage V.sub.ddosc are representative of the variations of the temperature.
(13) The oscillator 12 is an oscillator comprising MOS transistors, in particular P-channel MOS transistors and/or N-channel MOS transistors. The oscillator 12 is for example a ring oscillator. The oscillator 12 can further comprise other electronic components, for example capacitors. The electronic components of the oscillator 12 are connected to one another such that, for each internal node of the oscillator 12, that is to say, each node between two electronic components of the oscillator 12, the voltage at the node varies during operation over a voltage range substantially equal to the supply voltage V.sub.ddosc. For such an oscillator 12, the inventors have shown that the supply voltage V.sub.ddosc varies substantially linearly with the temperature over a wide temperature range, in particular at least over the range varying from −40° C. to 250° C.
(14) The signal ST, supplied by the adaptation circuit 18 and obtained from the supply voltage V.sub.ddosc, is an analog or digital signal that varies substantially linearly as a function of the temperature. According to one embodiment, the adaptation circuit 18 comprises an analog-digital converter. According to one embodiment, the adaptation circuit 18 comprises a follower circuit. The adaptation circuit 18 may not be present, the signal ST then being equal to the supply voltage V.sub.ddosc. The signal ST can be used by another electronic circuit and/or can be used by the temperature sensor 10 itself. The temperature sensor 10 therefore supplies both the signal ST, which varies substantially linearly with the temperature, and the signal V.sub.osc, which oscillates at the oscillation frequency f.
(15)
(16) The circuit 20 supplying the reference signal REF comprises temperature-compensated resistors R.sub.1 to R.sub.N, where N is an integer, for example between 1 and 6. The circuit 20 further comprises a demultiplexer 28 (DEMUX), each resistor R.sub.1 to R.sub.N comprising a first terminal coupled, preferably connected, to the source GND of the low reference potential and a second terminal coupled, preferably connected, to an input of the demultiplexer 28. The demultiplexer 28 is configured to connect one of the resistors R.sub.1 to R.sub.N to the node N.sub.2 as a function of a selection signal SEL.
(17) The adaptation circuit 18 comprises, in the present embodiment, a follower circuit 30 coupled to an analog-digital converter 32 (ADC), the input of the follower circuit 30 being coupled, preferably connected, to the node N1, the output of the follower circuit 30 being coupled, preferably connected, to the input of the analog-digital converter 32, and the analog-digital converter 32 supplying the signal ST.
(18) The control circuit 16 further comprises a digital selection circuit 34 for one of the resistances R.sub.1 to R.sub.N, receiving the signal ST and supplying a control signal SEL to the demultiplexer 28. The digital selection circuit 34 can be supplied by a source for supplying a high reference potential, not shown, different from the source V.sub.dd.
(19) Each resistor R.sub.1 to R.sub.N is a resistor whose resistance varies as a function of the temperature, for example successively having a growth phase as a function of the temperature, passing through a maximum and a decrease phase as a function of the temperature. According to one embodiment, the maximum resistances of the resistors R.sub.1 to R.sub.N are obtained for increasing temperatures, that is to say, for any pair i and j varying from 1 to N with i strictly less than j, the temperature at which the maximum resistance of the resistor R.sub.i is obtained is strictly less than the temperature at which the maximum resistance of the resistor R.sub.j is obtained. According to one embodiment, each resistor R.sub.1 to R.sub.N comprises a resistor with a negative temperature coefficient in series with a resistor with a positive temperature coefficient.
(20)
(21) E.sub.k, where k is greater than or equal to 1 and strictly less than j and j is less than or equal to N. The input of the inverter INV.sub.1 of the stage E.sub.1 is coupled, preferably connected, to the output of the inverter INV.sub.M of the stage E.sub.M. The capacitor C.sub.j of the stage E.sub.j comprises a first electrode coupled, preferably connected, to the output of the inverter INV.sub.j and a second electrode coupled, preferably connected, to the source BND of the low reference potential. According to one embodiment, the inverter INV.sub.j comprises a MOS transistor TUP.sub.j, for example P-channel, whose source is coupled, preferably connected, to the node N.sub.1, whose drain is coupled, preferably connected, to the output of the inverter INV.sub.j and whose gate is coupled, preferably connected, to the input of the inverter INV.sub.j. According to one embodiment, the inverter INV.sub.j comprises a MOS transistor TDOWN.sub.j, for example N-channel, whose source is coupled, preferably connected, to the source GND of the low reference potential, whose drain is coupled, preferably connected, to the output of the inverter INV.sub.j and whose gate is coupled, preferably connected, to the input of the inverter INV.sub.j. The capacitors C.sub.j can correspond to internal capacitances of the MOS transistors or to separate electronic components. The capacitances of the capacitors C.sub.j can be identical.
(22)
(23) The operation of the device 10 shown in
(24) The equivalent resistance R.sub.dcosc of the oscillator 12 is given by the following relationship 1):
R.sub.dcosc=V.sub.ddoscI.sub.ddosc [Math 1]
(25) The voltage at each internal node of the oscillator 12 varying during operation over a voltage range substantially equal to the supply voltage V.sub.ddosc, the power consumed by the oscillator 12 follows the following relationship 2), calling C.sub.osc the equivalent capacity of the oscillator 12:
P=C.sub.oscfV.sub.ddosc.sup.2 [Math 2]
(26) As an example, for the oscillator 12 shown in
(27)
(28) The operational amplifier 24 tends to keep the voltage REF at the node N.sub.2 and the voltage V.sub.ddosc at the node N.sub.1 equal, and therefore to keep the current I.sub.ddosc and the current at the node N.sub.2 equal. Everything happens as if the current mirror at the active input 26 forces the resistance R.sub.dcosc to be equal to the resistance R.sub.i coupled to the node N.sub.2, selected among the resistances R.sub.1 to R.sub.N. As a result, since the resistance coupled to the node N.sub.2 is substantially constant irrespective of the temperature over an extended temperature range, in particular from −40° C. to 250° C., the resistance R.sub.ddosc and therefore the frequency f of the oscillator 12 remains substantially constant irrespective of the temperature over the extended temperature range, in particular from −40° C. to 250° C. This allows the use of the signal V.sub.osc at a stable frequency in applications in which the temperature can vary significantly, in particular in the fields of drilling, monitoring industrial processes or monitoring operating parameters of engines in aeronautic or automotive applications.
(29) Another advantage is that the number of calibration points necessary to calibrate the oscillator 12 is reduced. Indeed, a calibration with two points is sufficient to calibrate the oscillator 12. The duration of the tests of the oscillator 12 is therefore reduced. The production cost of the oscillator 12 is therefore reduced.
(30)
(31) In the present embodiment, the mirror current circuit 26 further makes it possible to calibrate the oscillation frequency of the oscillator 12. The mirror current circuit 26 comprises a number H of branches A, i varying form 1 to H, mounted in parallel between the inverter input (−) of the operational amplifier 24 and the source V.sub.dd of the high reference potential and H branches A′.sub.i, i varying from 1 to H, mounted in parallel between the node N.sub.2 and the source V.sub.dd of the high reference potential. The number H can vary from 1 to 2.sup.N with N being able to vary from 1 to 10, for example. Each branch A.sub.i can comprise a current source made for example by a MOS transistor T.sub.1,i, for example P-channel, still on, whose voltage value on the gate sets the value of the current passing through it in series with a MOS transistor T.sub.3,i, for example P-channel. Each branch A′.sub.i can comprise a current source for example made by a MOS transistor T.sub.2,i, for example P-channel, still on, whose voltage value on the gate sets the value of the current passing through it in series with a MOS transistor T.sub.4,i, for example P-channel. The output of the operational amplifier 24 is coupled, preferably connected, to the gates of the transistors T.sub.1,1 to T.sub.1,H and T.sub.2,1 to T.sub.2,H. The gates of the transistors T.sub.3,1 to T.sub.3,H are respectively controlled by binary controls a1 to a.sub.O and the gates of the transistors T.sub.4,1 to T.sub.4,H are respectively controlled by binary controls b.sub.1 to b.sub.O. The binary commands a.sub.1 to a.sub.O and b.sub.1 to b.sub.O make it possible to select some of the current sources among the transistors T.sub.1,1 to T.sub.1,H and some of the current sources among the transistors T.sub.2,1 to T.sub.2,H, which makes it possible to adjust the current ratio passing through the selected resistor R.sub.i and the oscillator 12. This makes it possible to calibrate the frequency of the oscillator. The control circuit 16 further comprises a capacitor C.sub.comp, one electrode of which is coupled, preferably connected, to the gates of the transistors T.sub.1,i and T.sub.2,i and the other electrode of which is coupled, preferably connected, to the inverting input (−) of the operational amplifier 24.
(32) Furthermore,
(33) According to one embodiment, the supply circuit 18 further comprises a level conversion circuit 38 coupled, for its power source, to the source V.sub.dd of the high reference potential, or to another source of a high reference potential, and to the source GND of the low reference potential, comprising an input receiving the oscillating signal V.sub.osc supplied by the oscillator 12 and an output supplying an oscillating signal V′.sub.osc. The level conversion circuit 38 further comprises an input coupled, preferably connected, to the output of the follower circuit 30 and receiving the signal V′.sub.ddosc. The level conversion circuit 38 supplies the signal V′.sub.osc at the same frequency f as the oscillating signal V.sub.osc but with a different dynamic range, which in particular depends on the signal V′.sub.ddosc. In particular, when the signal V.sub.osc is a binary signal, the signal V′.sub.osc is a binary signal follows [sic] the signal V.sub.osc with different levels “0” and “1”.
(34) The adaptation circuit 18 further comprises a frequency divider circuit 40 adapted to the case where the signal V′.sub.osc is binary. The circuit 18 comprises two inverters 42, 44 and three D flip-flops 46, 48, 50. The input of the first inverter 42 receives the signal V′.sub.osc. The output of the first inverter 42 is coupled, preferably connected, to the input of the second inverter 44. The output of the second inverter 44 is coupled, preferably connected, to the clock input of the first D flip-flop 46. The noninverted output of the first D flip-flop 46 is coupled, preferably connected, to the clock input of the second D flip-flop 48. The inverted output of the first D flip-flop 46 is coupled, preferably connected, to the data input of the first D flip-flop 46. The noninverted output of the second D flip-flop 48 is coupled, preferably connected, to the clock input of the third D flip-flop 50. The inverted output of the second D flip-flop 48 is coupled, preferably connected, to the data input of the second D flip-flop 48. The inverted output of the third D flip-flop 50 is coupled, preferably connected, to the data input of the third D flip-flop 50. The noninverted output of the third D flip-flop 50 supplies a signal Clk. The signal Clk is a binary signal that oscillates at a frequency equal to f divided by 2.sup.Q, where Q is the number of D flip-flops (Q being equal to three in
(35) The analog-digital converter 32 receives the voltage V′.sub.ddosc on an input and is paced by the signal Clk. In the present embodiment, the analog-digital converter 32 supplies the digital signal ST, corresponding to the analog/digital conversion of the voltage V′.sub.ddosc, encoded for example on 5 bits ST<0>, ST<1>, ST<2>, ST<3> and ST<4>.
(36) According to one embodiment, the selection circuit 34 comprises a circuit 52 receiving the digital signal ST and supplying an update signal encoded on one bit. The circuit 52 is configured to supply a pulse of the update signal when the range of temperatures designated by the digital signal ST changes and optionally when one or several additional conditions is(are) met. To that end, the circuit 52 can compare the digital signal ST to thresholds. According to one embodiment, for each bound of a range of temperatures, two comparison thresholds can be used, a first comparison threshold when the digital signal ST is increasing and a second comparison threshold when the digital signal ST is decreasing. This makes it possible to obtain a hysteresis effect in order to avoid the unwanted emission of successive pulses of the update signal for small oscillations of the signal ST around a threshold. As a variant, the circuit 52 only supplies a pulse of the update signal when the digital signal continuously designates a new temperature range during a given duration.
(37) The selection circuit 34 further comprises a control circuit 54 receiving the digital signal ST and the update signal and supplying the selection signal SEL. According to one embodiment, the control circuit 52 is configured to determine a new value of the selection signal SEL from the last value of the signal ST received upon receiving a pulse from the update signal.
(38) According to the embodiment shown in
(39)
(40)
(41)
R.sub.EQ=R.sub.TCNΣa.sub.i+R.sub.TCP(Σa.sub.i+Σb.sub.k) [Math 4]
(42) The value of the resistance R.sub.EQ coupled to the node N.sub.2 can therefore be controlled by modifying the number of transistors T.sub.6,i that are in the on state among the P transistors T.sub.6,1 to T.sub.6,P and/or the number of transistors T.sub.8,k that are in the on state among the Q transistors T.sub.8,1 to T.sub.8,Q. The circuit 20 of
(43) Various embodiments and variants have been described. Those skilled in the art will understand that certain features of these embodiments can be combined and other variants will readily occur to those skilled in the art. In particular, architectures of the circuit 16 controlling the controllable current source, controlling the equivalent resistance of the oscillator 12 to be equal to a reference resistance, other than the one shown in