Temperature characteristic compensating circuit and semiconductor integrated circuit having the same

Information

  • Patent Grant
  • 6417656
  • Patent Number
    6,417,656
  • Date Filed
    Friday, August 31, 2001
    23 years ago
  • Date Issued
    Tuesday, July 9, 2002
    22 years ago
Abstract
A temperature characteristic compensating circuit is capable of carrying out temperature compensation of a signal that varies in proportion to absolute temperature by analog processing and without using a thermistor, to thereby enable use of a smaller IC. A first current source supplies a first current that is proportional to the absolute temperature and inversely proportional to the resistance value of a first resistor. A second current source supplies a second current that is inversely proportional to the resistance value of a second resistor. A first circuit carries out logarithmic compression of an input voltage using the first current as a bias current, and a second circuit carries out logarithmic expansion of the logarithmically compressed voltage using the second current as a bias current. The gain of the logarithmically expanded voltage relative to the input voltage is proportional to the ratio of the second current to the first current. As a result, a temperature characteristic compensating circuit that does not use an external thermistor but nevertheless gives a gain inversely proportional to absolute temperature can be formed.
Description




BACKGROUND OF THE INVENTION




1. Field of the Invention




The present invention relates to an improved temperature characteristic compensating circuit that uses analog processing to compensate for a temperature characteristic of a signal processing circuit of a photosensor used in a camera or a camera flash or the like, and an improved semiconductor integrated circuit that contains the temperature characteristic compensating circuit.




2. Description of Related Art




In an analog circuit, when logarithmically compressing the output of a photosensor using a diode and carrying out signal processing on the resulting output, due to the temperature dependence of the I-V (current-voltage) characteristic of the diode, the output voltage is proportional to the absolute temperature. The temperature characteristic of the output of the photosensor is thus compensated for using an external thermistor and an external resistor as shown in

FIG. 3

, and then the signal processing is carried out after that.




In

FIG. 3

, reference numeral


21


designates the photosensor, and


22


designates a diode that carries out logarithmic compression of the output current from the photosensor


21


and converts the current into a logarithmically compressed voltage in cooperation with an operational amplifier


23


. Reference numeral


24


designates a diode,


25


an operational amplifier, and


26


a constant current source. The diode


24


, the operational amplifier


25


and the constant current source


26


are for compensating for the dark current of the diode


22


.




When the dark currents of the diodes


22


and


24


are equal, the output voltage after the dark current compensation is (kT/q)ln(Ip/Iref), wherein k represents Boltzmann's constant, T the absolute temperature, q a unit charge, Ip the photocurrent, and Iref the above-mentioned constant current.




Because the output is proportional to the absolute temperature T, before carrying out the signal processing, a gain that is inversely proportional to the absolute temperature T is applied using an external thermistor


27


and an external resistor


28


, thus producing an output that does not vary with temperature.




Because the temperature compensation is carried out using the external thermistor


27


and the external resistor


28


, external terminals


30


and


31


that are connected to an operational amplifier


29


of an IC (semiconductor integrated circuit) containing the photosensor


21


etc. are required, as shown in FIG.


3


.




The IC is generally composed of transistors (including field effect transistors and diodes), resistors and capacitors. Incorporating a thermistor having a negative temperature characteristic into the IC is problematic, and hence an external thermistor has to be used.




If temperature characteristic compensation could be carried out without using an external thermistor, then the component mounting area could be reduced accordingly and external terminals would become unnecessary, resulting in a smaller IC.




SUMMARY OF THE INVENTION




It is an object of the present invention to provide a temperature characteristic compensating circuit that is capable of carrying out temperature compensation of a signal that varies in proportion to absolute temperature by analog processing and without using a thermistor, to thereby enable use of a smaller IC, and a semiconductor integrated circuit that contains the temperature characteristic compensating circuit.




In one aspect of the present invention, the temperature characteristic compensating circuit comprises a first current source that supplies a first current that is proportional to the absolute temperature and inversely proportional to the resistance value of a first resistor, a second current source that supplies a second current that is inversely proportional to the resistance value of a second resistor, a first circuit that carries out logarithmic compression of an input voltage using the first current as a bias current, and a second circuit that carries out logarithmic expansion of the logarithmically compressed voltage using the second current as a bias current. The gain of the logarithmically expanded voltage relative to the input voltage is proportional to the ratio of the second current to the first current. As a result of the above, a temperature characteristic compensating circuit that does not use an external thermistor but nevertheless gives a gain inversely proportional to absolute temperature can be formed.




In the above constitution, the ratio of the resistance value of the first resistor to the resistance value of the second resistor is constant regardless of temperature changes.




In a typical preferred form, the first circuit and the second circuit each comprise transistors, diodes and resistors.




In another aspect of the present invention, the temperature characteristic compensating circuit comprises a first current source that supplies a first current that is proportional to absolute temperature and inversely proportional to a resistance value of a first resistor, a second current source that supplies a second current that is inversely proportional to a resistance value of a second resistor, a voltage-current converting circuit that converts an input voltage into a current, using a third resistor, and using the first current as a bias current, a logarithmic compression circuit that passes an output current from the voltage-current converting circuit through a diode, thus obtaining a logarithmically compressed voltage, a logarithmic expansion circuit that comprises a differential transistor using the second current as a bias current, and a current-voltage converting circuit that passes, through a fourth resistor, an output current obtained from the logarithmic expansion circuit by inputting an output from the logarithmic compression circuit into the logarithmic expansion circuit, thus obtaining an output voltage.




Preferably, the first, second, third and fourth resistors each have the same temperature characteristic.




Further, according to the present invention, there is provided a semiconductor integrated circuit having the temperature characteristic compensating circuit according to either of the aspects of the present invention.











The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings.




BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

is a circuit diagram showing the constitution of a temperature characteristic compensating circuit according to an embodiment of the present invention;





FIG. 2

is a graph showing the temperature characteristic of the base-emitter voltage V


BE


of a transistor Q


1


appearing in

FIG. 1

; and





FIG. 3

is a circuit diagram showing an example of the constitution of a conventional temperature characteristic compensating circuit.











DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS





FIG. 1

is a circuit diagram showing the constitution of a temperature characteristic compensating circuit according to an embodiment of the present invention. The circuit shown in

FIG. 1

is incorporated into an IC (semiconductor integrated circuit). In

FIG. 1

, reference numeral


1


designates a known bandgap voltage reference circuit, which outputs a constant voltage regardless of changes in temperature. Reference numeral


2


designates an operational amplifier,


3


and


4


current sources that supply, via a current mirror circuit not shown in

FIG. 1

, a current the same as the collector current I


1


of a transistor Q


1


. Reference numeral


5


designates a current source that supplies, via a current mirror not shown in

FIG. 1

, a current the same as the collector current I


2


of a transistor Q


2


. Reference numeral


6


designates an input terminal, through which is inputted a voltage that changes in proportion to the absolute temperature, for example an output from a photosensor after dark current compensation has been carried out (corresponding to the output from the operational amplifier


25


in FIG.


3


). Reference numeral


7


designates an output terminal.




As shown in

FIG. 2

, the base-emitter voltage V


BE


of the transistor Q


1


is equal to the bandgap voltage V


BG


when the absolute temperature T=0(K), and then falls approximately linearly with increasing temperature. Thus, the emitter voltage of the transistor Q


1


, i.e. the voltage V


R1


across a resistor R


1


(which has a temperature characteristic), is proportional to the absolute temperature T.




Representing the coefficient of proportionality between the voltage V


R1


across the resistor R


1


and the absolute temperature T by A, the collector current I


1


flowing through the transistor Q


1


can be approximated as follows:






I


1


=


A×T


/R


1


  (1)






(Note that throughout this specification, ‘R


1


’ is used to refer both to the resistor and to the resistance value of the resistor; likewise for ‘R


2


’, ‘R


3


’ and ‘R


4


’ described below.)




Next, the voltage across a resistor R


2


(which has a temperature characteristic) is equal to the bandgap voltage V


BG


because of an operational amplifier


2


, and hence the collector current I


2


flowing through the transistor Q


2


is:






I


2


=


V




BG


/R


2


  (2)






Let the input voltage inputted to the input terminal


6


be represented by V


in


relative to a reference voltage V


ref


. A current of V


in


/R


3


thus flows through a voltage-current converting resistor R


3


(which has a temperature characteristic) which is connected between the emitter of a transistor Q


3


and the emitter of a transistor Q


4


. As a result, the input voltage V


in


is converted into a current. The currents flowing through the transistors Q


5


and Q


6


, which are each shorted between the collector and base thereof and are thus each used as a logarithmically compressing diode, are therefore I


1


+V


in


/R


3


and I


1


−V


in


/R


3


respectively. The current V


in


/R


3


produced by converting the input voltage is thus added to the bias current I


1


, which is proportional to the absolute temperature T divided by the resistance R


1


as shown in equation (1), in the transistor Q


3


, and the current V


in


/R


3


is subtracted from the bias current I


1


in the transistor Q


4


. The currents with the current V


in


/R


3


added and subtracted flow through the transistors Q


5


and Q


6


respectively, and thus logarithmically compressed voltages are obtained. The logarithmically compressed voltage from the transistor Q


5


is applied to the base of a transistor Q


7


, and the logarithmically compressed voltage from the transistor Q


6


is applied to the base of a transistor Q


8


. Incidentally, a transistor Q


9


is used as a diode to reduce the voltage applied to the transistors Q


5


and Q


6


by one diode's worth.




The transistors Q


7


and Q


8


constitute an emitter-coupled differential transistor that is driven by the bias current I


2


, which is inversely proportional to the resistance R


2


as shown in equation (2). Letting the currents flowing through the transistors Q


7


and Q


8


be represented by I


7


and I


8


respectively, I


7


+I


8


=I


2


, and I


7


:I


8


=(I


1


−V


in


/R


3


):(I


1


+V


in


/R


3


). This is because, as the current through the transistor Q


5


increases, the voltage drop of the transistor Q


5


increases, resulting in the base potential of the transistor Q


7


falling and the current I


7


falling, and at this time, the current through the transistor Q


6


falls, and hence the voltage drop of the transistor Q


6


falls, resulting in the base potential of the transistor Q


8


rising and the current I


8


rising. The logarithmically compressed voltages are thus converted by the transistors Q


7


and Q


8


into logarithmically expanded currents.




The current I


7


flows through the collector of a transistor Q


13


on account of a current mirror circuit composed primarily of transistors Q


10


and Q


11


and a current mirror circuit composed primarily of transistors Q


12


and Q


13


. The current I


8


flows through the collector of a transistor Q


15


on account of a current mirror circuit composed primarily of transistors Q


14


and Q


15


.




Letting the current flowing through a resistor R


4


(which has a temperature characteristic) be represented by i


out


, then because a current does not flow out from an output terminal


7


:








i




out


=I


8


−I


7








Because I


7


+I


8


=I


2


as described earlier:






I


7


=(I


2




−i




out


)/2








I


8


=(I


2




+i




out


)/2






Because I


7


:I


8


=(I


1


−V


in


/R


3


):(I


1


+V


in


/R


3


) as described earlier:






(I


1




−V




in


/R


3


):(I


1




+V




in


/R


3


)=(I


2




−i




out


)/2:(I


2




+i




out


)/2






Solving this equation for i


out


gives as the output voltage V


out


:







V




out


=R


4




×i




out


={(R


4


×I


2


)/(R


3


×I


1


)}


×V




in






From above-mentioned equations (1) and (2):








V




out


=(


V




BG




/A


)×{(R


1


×R


4


)/(R


2


×R


3


)}×(1


/T


)


×V




in








If the types of the resistors R


1


to R


4


are selected such that (R


1


×R


4


)/(R


2


×R


3


) is a temperature-independent constant, i.e. if resistors having the same temperature characteristic are selected as the resistors R


1


to R


4


, then a temperature characteristic compensating circuit having a gain inversely proportional to the absolute temperature T can be realized.




Moreover, if this circuit is used downstream of a logarithmic compression circuit, then a temperature characteristic compensating circuit using an external thermistor and resistor becomes unnecessary, and hence the number of external terminals can be reduced.




It should be noted that, although the temperature characteristic compensating circuit of the present embodiment contains a bandgap voltage reference circuit, it is also possible to make a circuit having the same kind of properties by using current sources


3


to


5


having properties as described with reference to the present embodiment and inputting a constant voltage that does not vary with external temperature changes.




As described above, according to the circuit of the present embodiment, temperature compensation of a signal that varies in proportion to absolute temperature can be carried out by analog processing and without using a thermistor.




While the present invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.



Claims
  • 1. A temperature characteristic compensating circuit comprising:a first current source that supplies a first current that is proportional to absolute temperature and inversely proportional to a resistance value of a first resistor; a second current source that supplies a second current that is inversely proportional to a resistance value of a second resistor; a first circuit that carries out logarithmic compression of an input voltage, using the first current as a bias current; and a second circuit that carries out logarithmic expansion of the logarithmically compressed voltage, using the second current as a bias current; wherein a gain of the logarithmically expanded voltage relative to the input voltage is proportional to a ratio of the second current to the first current.
  • 2. A temperature characteristic compensating circuit as claimed in claim 1, wherein a ratio of the resistance value of the first resistor to the resistance value of the second resistor is constant regardless of temperature changes.
  • 3. A temperature characteristic compensating circuit as claimed in claim 1, wherein said first circuit and said second circuit each comprise transistors, diodes and resistors.
  • 4. A temperature characteristic compensating circuit comprising:a first current source that supplies a first current that is proportional to absolute temperature and inversely proportional to a resistance value of a first resistor; a second current source that supplies a second current that is inversely proportional to a resistance value of a second resistor; a voltage-current converting circuit that converts an input voltage into a current, using a third resistor, and using the first current as a bias current; a logarithmic compression circuit that passes an output current from said voltage-current converting circuit through a diode, thus obtaining a logarithmically compressed voltage; a logarithmic expansion circuit that comprises a differential transistor using the second current as a bias current; and a current-voltage converting circuit that passes, through a fourth resistor, an output current obtained from said logarithmic expansion circuit by inputting an output from said logarithmic compression circuit into said logarithmic expansion circuit, thus obtaining an output voltage.
  • 5. A temperature characteristic compensating circuit as claimed in claim 4, wherein said first, second, third and fourth resistors each have the same temperature characteristic.
  • 6. A semiconductor integrated circuit comprising:a first current source that supplies a first current that is proportional to absolute temperature and inversely proportional to a resistance value of a first resistor; a second current source that supplies a second current that is inversely proportional to a resistance value of a second resistor; a first circuit that carries out logarithmic compression of an input voltage, using the first current as a bias current; and a second circuit that carries out logarithmic expansion of the logarithmically compressed voltage, using the second current as a bias current; wherein a gain of the logarithmically expanded voltage relative to the input voltage is proportional to a ratio of the second current to the first current.
  • 7. A semiconductor integrated circuit, having:a first current source that supplies a first current that is proportional to absolute temperature and inversely proportional to a resistance value of a first resistor; a second current source that supplies a second current that is inversely proportional to a resistance value of a second resistor; a voltage-current converting circuit that converts an input voltage into a current, using a third resistor, and using the first current as a bias current; a logarithmic compression circuit that passes an output current from said voltage-current converting circuit through a diode, thus obtaining a logarithmically compressed voltage; a logarithmic expansion circuit that comprises a differential transistor using the second current as a bias current; and a current-voltage converting circuit that passes, through a fourth resistor, an output current obtained from said logarithmic expansion circuit by inputting an output from said logarithmic compression circuit into said logarithmic expansion circuit, thus obtaining an output voltage.
Priority Claims (1)
Number Date Country Kind
2000-276091 Sep 2000 JP
US Referenced Citations (3)
Number Name Date Kind
4479708 Tokuda Jan 1984 A
4633165 Pietkiewicz et al. Dec 1986 A
5886515 Kelly Mar 1999 A