This patent application claims priority on convention based on Japanese Patent Application No. 2008-104006. The disclosure thereof is incorporated herein by reference.
1. Field of the Invention
The present invention relates to a temperature sensor circuit, and more particularly, to a temperature sensor circuit in which influence of nonlinear characteristics is eliminated.
2. Description of Related Art
There is known a temperature sensor circuit that includes a temperature sensor to measure a temperature. For example, Japanese Patent Application Publication (JP-A-Showa 56-135963: related art 1) discloses a semiconductor integrated circuit for a temperature sensor.
In the semiconductor integrated circuit of the related art 1 illustrated in
where q is an elementary charge, k is a Boltzmann constant, T is absolute temperature, Is is a saturation current, b is a proportional constant, m is a saturation current temperature coefficient, and Eg is a bandgap energy.
As expressed by the equation, there exists a nonlinear term “−m×ln (T)” of a voltage with respect to the temperature T.
In an aspect of the present invention, a temperature sensor circuit includes a temperature sensor configured to output a first voltage corresponding to temperature; a voltage source configured to output a second voltage having the same nonlinear dependence on the temperature as a nonlinear dependence of the first voltage on the temperature; an amplifier configured to amplify the second voltage with a first amplification factor to output a third voltage; and an inversion amplifier configured to perform inversion amplification on a difference between the first voltage and the third voltage with a second amplification factor to output a fourth voltage.
The present invention can provide a temperature sensor circuit that enables a temperature to be detected with higher accuracy.
The above and other objects, advantages and features of the present invention will be more apparent from the following description of certain embodiments taken in conjunction with the accompanying drawings, in which:
Hereinafter, a temperature sensor circuit according to the present invention will be described with reference to the attached drawings.
The current source 2 supplies a current to the temperature sensor 3 and the nonlinear voltage source 4. That is, the temperature sensor 3 and the nonlinear voltage source 4 use the current having the same dependency on temperature T. Preferably, the current source 2 supplies a current IPTAT (Proportional To Absolute Temperature) that varies in proportion to the temperature T.
The temperature sensor 3 outputs an output voltage VF corresponding to the temperature T. The temperature sensor 3 is exemplified by one or more diodes D1, or a bipolar transistor B1 in which a base and a collector are short-circuited.
The nonlinear voltage source 4 outputs a reference voltage Vbgr. Nonlinear dependency of the reference voltage Vbgr on the temperature T is the same as nonlinear dependency of the output voltage VF on the temperature T in the temperature sensor 3. The nonlinear voltage source 4 is exemplified by a bandgap reference circuit.
The amplifier 5 amplifies the reference voltage Vbgr with a first gain Y to output as a reference voltage VREF. It should be noted that the first gain Y is not equal to one (Y≠1).
The inversion amplifier 6 inversion-amplifies a difference between the output voltage VF and the reference voltage VREF with a second gain G to output as a fourth voltage V0.
Next, referring to
where q is an elementary charge, k is the Boltzmann constant, T is absolute temperature, Is is a saturation current, A is a proportional constant, b is a proportional constant, m is a saturation current temperature coefficient, and Eg is a bandgap energy.
Regarding the nonlinear voltage source 4, the nonlinear dependency of the reference voltage Vbgr on the temperature T is the same as the nonlinear dependency of the temperature sensor 3, and have a nonlinear term [(k/q)×T×(1−m)×ln(T)] with respect to the temperature T. The reference voltage Vbgr of the nonlinear voltage source 4 is expressed by the following equation (2):
where Vz represents a voltage that is constant with or proportional to the temperature.
The amplifier 5 outputs the reference voltage VREF obtained by multiplying the reference voltage Vbgr of the nonlinear voltage source 4 by Y. The reference voltage VREF is expressed by the following equation (3):
The inversion amplifier 6 uses the output voltage VF as an input voltage and the reference voltage VREF as a reference voltage to inversion-amplify (G times) a difference between the input voltage VF and the reference voltage VREF, and outputs the output voltage V0 that is shifted for the reference voltage VREF. From the above equations (1) and (3), the output voltage Vo is expressed by the following equation (4):
In the above equation (4), a nonlinear term of the output voltage Vo is expressed as “−(k/q)×G×T×[(1−m)×{1−Y×(1+1/G)}×ln(T)]”. Accordingly, by adjusting the gains Y and G determined on the basis of circuit constants of the amplifier 5 and the inversion amplifier 6, a value of “{1−Y×(1+1/G)}” in the above nonlinear term can be made zero. Based on this, a value of the above entire nonlinear term can also be made zero. As a result, a voltage proportional to the temperature T can be obtained as the output voltage Vo.
As described, the gains Y and G determined on the basis of the circuit constants of the amplifier 5 and the inversion amplifier 6 can be set so as to eliminate a nonlinear component in the dependency of the output voltage Vo on the temperature T. The circuit constants determining the gains Y and G of the amplifier 5 and the inversion amplifier 6 may be determined upon design of the temperature sensor circuit. Alternatively, well-known adjustment circuits may be provided inside the amplifier 5 and the inversion amplifier 6 to adjust the corresponding circuit constants after manufacturing or upon use of the temperature sensor circuit.
In the present invention, the nonlinear voltage source 4 and the temperature sensor 3 having the same nonlinear characteristic on the dependencies of an output voltage on the temperature T are used. For this reason, by inversion-amplifying the difference between the reference voltage VREF obtained by amplifying the reference voltage Vbgr of the nonlinear voltage source 4 and the output voltage VF of the temperature sensor 3, the nonlinear component of the output voltage Vo can be eliminated. Based on this, as the temperature sensor circuit, the voltage proportional to the temperature can be obtained, regardless of a manufacturing process. As a result, a temperature detecting accuracy of the temperature sensor circuit can be improved.
As described, only by adjusting the circuit constants (Y and G) of the amplifier 5 and the inversion amplifier 6, the nonlinearity of the voltage with respect to the temperature T can be made zero, and the temperature sensor circuit capable of obtaining the output voltage Vo proportional to the temperature T can be provided, regardless of the manufacturing process for the temperature sensor circuit.
Next, the temperature sensor circuit according to the present embodiment will be described in more detail.
Regarding the nonlinear voltage source 4, the reference voltage Vbgr thereof has a nonlinear term with respect to the temperature. The nonlinear voltage source 4 is a bandgap reference circuit of an operational amplifier type including an operational amplifier (Opamp1), transistors M1 and M2, resistors xR1, xR2, and R, and diodes BD1 and BD2. The single diode BD1 is grounded at a cathode, and connected to a node N1 at an anode. The diode BD1 may be replaced by a bipolar transistor in which a base and a collector are short-circuited. The resistor xR1 is connected to the node N1 at one end, and to a node N3 at the other end. The N diodes BD2 (N is a natural number, and connected to in parallel) are grounded at a cathode, and connected to one end of the resistor R at an anode. The diode BD2 may be replaced by a bipolar transistor in which a base and a collector are short-circuited. The resistor R is connected to the anode side of the diode BD2 at the one end thereof, and to a node N2 at the other end thereof. The resistor xR2 is connected to the node N2 at one end thereof, and to the node N3 at the other end thereof. The operational amplifier (Opamp1) is connected to the node N1 at a minus side input terminal thereof, and to the node N2 at a plus side input terminal thereof. The transistor M1 is a PMOS transistor in which a source and a body are connected to a power supply AVDD, and a gate to an output terminal of the operational amplifier (Opamp1) and a drain to a source of the transistor M2. The transistor M2 is a PMOS transistor in which a source and a body are connected to the drain of the transistor M1, and a gate and a drain to the node N3, respectively.
The serially connected transistors M1 and M2 constitute a load of the bandgap reference circuit. They simultaneously constitute an input side of a current mirror circuit of the current source 2, as will be described later. A current Ib flowing to the input side flows from the power supply AVDD to the node N3 through the transistors M1 and M2. At the node N3, the current Ib is divided into currents I1 and I2. The current I1 flows to the ground through the resistor xR1 and a diode BD1. The current 12 flows to the ground through the resistors xR2 and R, and a diode BD2. The bandgap reference circuit of an operational amplifier type outputs a voltage generated at the node N3 to the amplifier 5 as the reference voltage Vbgr.
The current source 2 is formed of a current mirror circuit that mirrors, with use of the transistors M1, M2, M3, and M4, the current Ib flowing through a load of the above-described bandgap reference circuit. The transistors M1 and M2 are as has been described. That is, the transistors M1 and M2 are shared by the nonlinear voltage source 4 and the current source 2. For this reason, an area of a circuit section including the nonlinear voltage source 4 and the current source 2 can be made small. The transistor M3 is a PMOS transistor in which a source and a body are connected to the power supply AVDD, a gate to an output terminal of the operational amplifier (Opamp1), and a drain to a source of the transistor M4. The transistor M4 is a PMOS transistor in which the source and a body are connected to the drain of the transistor M3, a gate to the node N3, and a drain to a node N5 (temperature sensor 3).
A same current as the current Ib flowing through a current path (transistors M1 and M2) on an input side of the current mirror circuit flows through a current path (transistors M3 and M4) on an output side as the current IPTAT. Accordingly, the current IPTAT is supplied to the temperature sensor 3 connected to an output side current path.
The amplifier 5 is connected with an output side of the bandgap reference circuit on an input side thereof, and with a non-inversion input terminal of the inversion amplifier 6 on an output side thereof. The amplifier 5 is a resistance voltage dividing circuit having resistors Rk1 and Rk2. The resistor Rk1 is connected to the node N3 at one end thereof, and to a node N4 at the other end thereof. The resistor Rk2 is connected to the node N4 at one end thereof, and to the ground at the other end thereof. The gain Y is [Rk2/(Rk1+Rk2)]. The amplifier 5 amplifies with the gain Y the reference voltage Vbgr supplied from the bandgap reference circuit to output the reference voltage VREF.
The temperature sensor 3 is supplied with the current IPTAT from the current source 2, and includes DN diode SD (DN is a natural number, connected in parallel) that generates the output voltage VF corresponding to the temperature T. The diode SD is grounded on a cathode side thereof, and connected to the node N5 on an anode side thereof. The diode SD may be replaced by a bipolar transistor in which a base and a collector are short-circuited. The node N5 is connected to an inversion input terminal of the inversion amplifier 6, and an output voltage V5 generated at the node N5 is supplied to the inversion input terminal.
The inversion amplifier 6 includes resistors R1 and R2, and an operational amplifier (Opamp2). The resistor R1 is connected to the inversion input terminal at one end thereof, and to one end of the resistor R2 and an inversion input terminal of the operational amplifier (Opamp2) at the other end thereof. The resistor R2 is connected to the one end of the resistor R1 and the inversion input terminal of the operational amplifier (Opamp2) at the one terminal thereof, and to an output terminal of the operational amplifier (Opamp2) at the other end thereof. The non-inversion input terminal of the operational amplifier (Opamp2) is connected with the output side of the amplifier 5 (node N4). The gain G is R2/R1. The inversion amplifier 6 is supplied with the output voltage VF at the inversion input terminal thereof and with the reference voltage VREF at the non-inversion input terminal thereof, and performs inversion-amplification with the gain G to output the output voltage V0.
Next, referring to
where VF1 is a voltage at the node N1, VBD2 is a voltage on the anode side of the diode BD2, N is the number of diodes BD2 in the bandgap reference circuit, R is a resistance value of the resistor R in the bandgap reference circuit, Ik is a current flowing through the amplifier 5, Vbgr is an output voltage of the bandgap reference circuit, and Rk1 and Rk2 are resistance values of the resistance voltage dividing circuit of the amplifier 5.
Supposing that a mirror ratio of the current mirror circuit of the current source 2 is denoted by P, the bias current IPTAT flowed through the diode SD of the temperature sensor 3 is expressed by the following equation (6):
I
PTAT
=P·Ib (6)
Accordingly, from the expression (6) and a forward voltage drop characteristic of a diode, the voltage VF of the diode SD is expressed by the following equation (7):
where DN is the number of diodes SD of the temperature sensor 3.
On the other hand, the reference voltage Vbgr (voltage at the node N3) of the bandgap reference circuit of the nonlinear voltage source 4 is expressed by the following equation (8):
where resistance values of the resistors xR1 and xR2 are assumed to be xR (=x×R).
The reference voltage VREF outputted from the amplifier 5 is obtained by dividing the reference voltage Vbgr with the resistors Rk1 and Rk2, and expressed by the following equation (9):
The output voltage Vo of the inversion amplifier 6 is obtained by performing inversion amplification of a difference between the output voltage VF and the reference voltage VREF with the gain G=R2/R1 to shift it for the reference voltage VREF, and expressed by the following equation (10):
In the above equation (10), a nonlinear term is the following term (11):
It should be noted that the factor (12) in the term (11) can be made zero by adjusting the circuit constants R1 and R2 of the inversion amplifier 6 and those Rk1 and Rk2 of the amplifier 5. In this case, the term (11) also becomes zero as a whole. That is, the nonlinear term (11) in the above expression (10) can be made zero by adjusting the circuit constants R1, R2, Rk1, and Rk2.
In such a case, the equation (10) can be expressed by the following equation (13):
Based on the above respective assumptions, a factor C1 in the equation (13) is a constant. That is, the output voltage V0 of the inversion amplifier 6 takes a voltage proportional to the temperature T. As described above, by appropriately adjusting the respective circuit constants R1, R2, Rk1, and Rk2, the output voltage V0 of the inversion amplifier 6 can be made equal to a voltage proportional to the temperature T.
Thus, only by adjusting the circuit constants (e.g., Rk1 and Rk2) corresponding to the gain of the amplifier 5, and those (e.g., R1 and R2) corresponding to the gain of the inversion amplifier 6, the nonlinearity of the voltage with respect to the temperature T can be made zero, regardless of a manufacturing process of the temperature sensor circuit. Accordingly, the temperature sensor circuit 1 capable of obtaining the output voltage V0 proportional to the temperature T can be provided.
As is well known, a voltage source is preferably resistant to external noise. That is, as the voltage source, one capable of feeding a constant voltage without depending on a power supply voltage or a temperature is required. As such a voltage source, a bandgap reference circuit is generally widely used. The bandgap reference circuit functions as a voltage source independent of temperature characteristics by using elements respectively having positive and negative temperature characteristics to cancel both of the temperature characteristics. In the present invention, the bandgap reference circuit is used as the nonlinear voltage source 4. In this case, the diodes BD1 and BD2 have negative temperature characteristics. Accordingly, in order to give positive temperature characteristics to the resistors xR1, xR2, and R, it is performed to give positive temperature characteristics to the currents I1 and I2 (=Ib/2) flowed through the resistors xR1, xR2, and R. That is, the current Ib is made substantially directly proportional to the temperature T. As a result, the bandgap reference circuit can supply the voltage independent of temperature characteristics, because the voltages at the diodes BD1 and BD2 have the negative temperature characteristics whereas those at the resistors xR1, xR2, and R have the positive temperature characteristics, and therefore the both types of voltages cancel each other.
In the present invention, the bandgap reference circuit is used as the nonlinear voltage source 4. For this reason, in the reference voltage of the nonlinear voltage source 4 or the amplifier 5, the term [1×ln(T)] of the term [(1−m)×ln(T)] in the above equation (8) or (9) appears. A term corresponding to the term [1×ln(T)] is generated by the output voltage of the temperature sensor 3, and therefore, as the current source 2, the current source for flowing the current IPTAT having positive temperature characteristics is used. Based on this, in the output voltage of the temperature sensor 3, [(1−m)×ln(T)] in the above equation (7) can be generated. The term [1×ln(T)] of this term is generated on the basis of the current IPTAT having the positive temperature characteristics. As a result, by taking the difference between the reference voltage VREF in the equation (9) and the output voltage VF in the equation (7), the nonlinear terms [(1−m)×ln(T)] can be cancelled. Accordingly, the temperature sensor circuit 1 capable of obtaining the output voltage Vo proportional to the temperature can be provided.
It should be noted that, even when the currents I1 and I2 (=Ib/2) do not have the positive temperature characteristics, if the resistors xR1, xR2, and R have the positive temperature characteristics, the currents I1 and I2 (=Ib/2) may be constant currents independent of the temperature. In this case, the current flowed through the temperature sensor 3 is also made to be a constant current independent of the temperature. Based on this, the term [(1−m)×ln(T)] in the above equation (8) or (9) simply becomes [m×ln(T)]. Similarly, the term [(1−m)×ln(T)] in the above equation (7) simply becomes [m×ln(T)]. As a result, by taking the difference between the reference voltage VREF in the equation (9) and the output voltage VF in the equation (7), the nonlinear terms [m×ln(T)] can be cancelled. Accordingly, even in this case, the temperature sensor 1 capable of obtaining the output voltage V0 proportional to the temperature can be provided.
Although the present invention has been described above in connection with several embodiments thereof, it would be apparent to those skilled in the art that those embodiments are provided solely for illustrating the present invention, and should not be relied upon to construe the appended claims in a limiting sense.
Number | Date | Country | Kind |
---|---|---|---|
2008-104006 | Apr 2008 | JP | national |