[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2013019738A - Temperature measuring circuit - Google Patents

Temperature measuring circuit Download PDF

Info

Publication number
JP2013019738A
JP2013019738A JP2011152592A JP2011152592A JP2013019738A JP 2013019738 A JP2013019738 A JP 2013019738A JP 2011152592 A JP2011152592 A JP 2011152592A JP 2011152592 A JP2011152592 A JP 2011152592A JP 2013019738 A JP2013019738 A JP 2013019738A
Authority
JP
Japan
Prior art keywords
constant current
voltage
power supply
value
supply voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011152592A
Other languages
Japanese (ja)
Other versions
JP5315386B2 (en
Inventor
Shuhei Sato
周平 佐藤
Shota Kubo
勝太 久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2011152592A priority Critical patent/JP5315386B2/en
Publication of JP2013019738A publication Critical patent/JP2013019738A/en
Application granted granted Critical
Publication of JP5315386B2 publication Critical patent/JP5315386B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Temperature Or Quantity Of Heat (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a temperature measuring circuit which enables accurate detection of temperature by using a semiconductor diode.SOLUTION: A temperature measuring circuit 1, which calculates a temperature T on the basis of a semiconductor diode 5 for temperature measurement, a power supply voltage HVcc, a constant current circuit 7, an AD converter 13 and a digital conversion value, comprises a reference power supply 9 for outputting a reference voltage Vref to the AD converter 13. The temperature measuring circuit 1 is configured to calculate a voltage value [HVcc+ΔHVcc] containing a variation component ΔHVcc, of the power supply voltage HVcc, on the basis of a digital conversion value X(Vref)real of the reference voltage Vref outputted from the AD converter 13, and a digital conversion value X(Vref)ideal of the reference voltage Vref outputted from the AD converter 13 when the power supply voltage HVcc does not contain the variation component ΔHVcc, and to revise a digital conversion value of a both-end voltage VF and a constant current value I of constant current according to the voltage value [HVcc+ΔHVcc] to calculate the temperature T.

Description

本発明は、温度測定用の半導体ダイオードを用いて温度を測定する技術に係り、特に、精度良く温度を測定するための技術に関する。   The present invention relates to a technique for measuring temperature using a semiconductor diode for temperature measurement, and more particularly to a technique for measuring temperature with high accuracy.

IGBT等の半導体装置では、動作中の過熱から半導体装置を保護するために温度を精度良く検出する必要がある。半導体装置の温度検出には、温度検出用のpn接合型の半導体ダイオードや抵抗が用いられており、特に半導体ダイオードは、IGBT等の半導体装置のチップ内に作製できるため広く使用されている。
半導体ダイオードを用いた温度測定回路について概説すると、一般に、温度測定回路は、半導体装置と同一基板に設けられた半導体ダイオードと、この半導体ダイオードの順方向に定電流を印加する定電流回路と、定電流印加時のアノード−カソード間電圧(以下、両端電圧Vと言う)を検出する検出回路と、この検出回路のアナログ出力を読み込みデジタル信号に変換して出力するAD変換器と、を備え、AD変換器のデジタル信号出力で示される両端電圧VFと、定電流値Iとの次式に示す温度依存性の関係式に基づいて温度(絶対温度)Tを算出している。
In a semiconductor device such as an IGBT, it is necessary to accurately detect the temperature in order to protect the semiconductor device from overheating during operation. For temperature detection of semiconductor devices, pn junction type semiconductor diodes and resistors for temperature detection are used. In particular, semiconductor diodes are widely used because they can be manufactured in a chip of a semiconductor device such as an IGBT.
An outline of a temperature measurement circuit using a semiconductor diode is generally as follows. The temperature measurement circuit generally includes a semiconductor diode provided on the same substrate as the semiconductor device, a constant current circuit that applies a constant current in the forward direction of the semiconductor diode, and a constant current circuit. current applying time of the anode - cathode voltage comprises a detection circuit for detecting a (hereinafter, both ends referred to as the voltage V F), and AD converter for converting a digital signal read an analog output of the detection circuit, and The temperature (absolute temperature) T is calculated based on the relational expression of the temperature dependence shown in the following equation between the both-end voltage VF indicated by the digital signal output of the AD converter and the constant current value I.




ただし、kはボルツマン定数、qは電子の電荷、Iは定電流値、Iはダイオード飽和電流密度である。



Here, k is Boltzmann's constant, q is the electron charge, I is a constant current value, I s is the diode saturation current density.

従来の温度測定回路においては、温度検出精度が悪化する要因として次の4つの要因が挙げられる。すなわち、半導体ダイオードの特性バラツキ(個体差)、及び値の小さな温度係数(第1要因)、検出回路及び定電流回路に供給される電源電圧の変動(第2要因)、定電流回路の定電流値のバラツキ(個体差)(第3要因)、AD変換の際に生じるAD変換誤差(第4要因)である。   In the conventional temperature measurement circuit, the following four factors can be cited as factors that deteriorate the temperature detection accuracy. That is, characteristic variations (individual differences) of semiconductor diodes, small temperature coefficients (first factor), fluctuations in power supply voltage supplied to the detection circuit and constant current circuit (second factor), constant current of the constant current circuit This is a variation in values (individual difference) (third factor) and an AD conversion error (fourth factor) that occurs during AD conversion.

第1要因の半導体ダイオードの特性バラツキは、主にダイオード飽和電流密度Iの個体差に起因する。そこで、定電流値Iが異なる2つの定電流回路と、各定電流を選択的に切り替えて半導体ダイオードに印加する切替回路とを温度測定回路に設け、それぞれの定電流を印加したときに得られた各両端電圧の差に基づいて温度を算出することで、ダイオード飽和電流密度Isの影響を無くして温度を算出する技術が提案されている(例えば、特許文献1参照)。 Variations in characteristics of a semiconductor diode of the first factor is mainly due to the individual difference of the diode saturation current density I s. Therefore, two constant current circuits having different constant current values I and a switching circuit for selectively switching each constant current to apply to the semiconductor diode are provided in the temperature measurement circuit, and obtained when each constant current is applied. In addition, a technique has been proposed in which the temperature is calculated based on the difference between the voltages at both ends, thereby eliminating the influence of the diode saturation current density Is (see, for example, Patent Document 1).

具体的には、2つの定電流回路の定電流値をI、Iとし、それぞれの定電流値I、Iでの両端電圧をVF1、VF2とすると、これら両端電圧VF1、VF2は次式のように表される。 Specifically, the constant current value of the two constant current circuit and I 1, I 2, the voltage across at each constant current value I 1, I 2 V F1, when the V F2, these voltage across V F1 , V F2 is expressed as the following equation.









そして両端電圧VF1、VF2の差を求めると、



となり、温度Tで展開すると



が得られる。この式ではダイオード飽和電流密度Iの項が消去されているため、第1要因の影響を抑えて、精度良く温度Tが求められる。
And when the difference between both-end voltages V F1 and V F2 is obtained,



And when it develops at temperature T



Is obtained. In this equation since the term of the diode saturation current density I s is erased, by suppressing the influence of the first factor, precisely the temperature T is determined.

特開2004−134472号公報JP 2004-134472 A

しかしながら、従来の温度測定回路では、少なくとも2つの定電流回路と、それらを切り替えて半導体ダイオードに印加する切替回路が必要となるため、部品点数増加、実装面積の増大、及びコストアップが問題となる。
また、2つの定電流値I、Iのうちの大きい方の定電流値は、その値が大きいと、半導体ダイオードの抵抗成分が影響し、理想的な半導体ダイオードの上記温度特性の式からのズレが大きくなるため、あまり大きな値を用いることができない。一方、小さい方の電流値については、半導体ダイオードを用いた温度検出ではノイズ電流の影響を受け易いことから、あまり小さな電流値を用いることもできない。すなわち、2つの定電流値I、Iの下限、及び上限には制限があるため、これらの定電流値I、Iの差を大きくするには限度があり、両者が近い値だと、これらの定電流値I、Iの印加によって生じた両端電圧をVF1、VF2の差が非常に小さくなりAD変換器で認識できない、という問題もある。
However, since the conventional temperature measurement circuit requires at least two constant current circuits and a switching circuit that switches them and applies them to the semiconductor diode, the number of components, the mounting area, and the cost increase are problems. .
Further, the larger constant current value of the two constant current values I 1 and I 2 is affected by the resistance component of the semiconductor diode if the value is large. From the above temperature characteristic equation of the ideal semiconductor diode, Therefore, a large value cannot be used. On the other hand, the smaller current value cannot be used because the temperature detection using the semiconductor diode is easily affected by the noise current. That is, the two constant current values I 1, I 2 of lower, and since the upper limit is limited, these constant current value I 1, there is a limit to increase the difference in I 2, I both close values There is also a problem that the voltage between both ends generated by applying these constant current values I 1 and I 2 is so small that the difference between V F1 and V F2 becomes so small that it cannot be recognized by the AD converter.

本発明は、上述した事情に鑑みてなされたものであり、半導体ダイオードを用いて精度良く温度を検出することができる温度測定回路を提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and an object of the present invention is to provide a temperature measurement circuit that can accurately detect a temperature using a semiconductor diode.

上記目的を達成するために、本発明は、温度測定用の半導体ダイオードと、前記半導体ダイオードに印加する定電流を電源電圧に基づいて生成する定電流回路と、前記定電流の印加によって前記半導体ダイオードのアノード−カソード間に生じる両端電圧を、前記電源電圧をフルスケール電圧として所定ビット数のデジタル値に変換して出力するAD変換器と、前記定電流回路によって印加された定電流の定電流値、及び前記AD変換器から出力された前記両端電圧のデジタル変換値に基づいて温度を算出する温度測定回路において、基準電圧を前記AD変換器に出力する基準電源を備え、前記基準電圧の入力によって前記AD変換器から出力された前記基準電圧のデジタル変換値と、前記電源電圧に変動成分が含まれない場合に前記AD変換器から出力される前記基準電圧のデジタル変換値とに基づいて、前記変動成分を含む前記電源電圧の電圧値を算出し、当該電圧値により前記両端電圧のデジタル変換値、及び前記定電流の定電流値を補正して前記温度を算出する、ことを特徴とする。   To achieve the above object, the present invention provides a semiconductor diode for temperature measurement, a constant current circuit for generating a constant current to be applied to the semiconductor diode based on a power supply voltage, and the semiconductor diode by applying the constant current. An AD converter that outputs a voltage between both ends of the anode and cathode of the power source voltage converted to a digital value having a predetermined number of bits using the power supply voltage as a full-scale voltage, and a constant current value of a constant current applied by the constant current circuit And a temperature measurement circuit for calculating a temperature based on a digital conversion value of the both-ends voltage output from the AD converter, comprising a reference power source for outputting a reference voltage to the AD converter, and by inputting the reference voltage When the digital conversion value of the reference voltage output from the AD converter and the power supply voltage do not include a fluctuation component, the AD conversion is performed. A voltage value of the power supply voltage including the fluctuation component is calculated based on a digital conversion value of the reference voltage output from a voltage generator, and the digital conversion value of the both-ends voltage and the constant current constant are calculated based on the voltage value. The temperature is calculated by correcting the current value.

本発明によれば、基準電圧の入力によってAD変換器から出力された基準電圧のデジタル変換値と、電源電圧に変動成分が含まれない場合にAD変換器から出力される基準電圧のデジタル変換値とに基づいて、変動成分を含む電源電圧の電圧値を算出し、この変動成分を含む電源電圧の電圧値により、AD変換器から出力される両端電圧のデジタル変換値、及び定電流回路が出力する定電流の定電流値のそれぞれが補正されることから、電源電圧の変動に起因して生じるAD変換誤差、及び定電流値のバラツキを補正した温度が正確に算出される。
さらに、2つの定電流値を用いて温度を測定する従来の技術に比べ、定電流値として1つの値だけを用いれば良いので、2つの定電流値の差が大きくなるように各定電流値を設定するという制限が無いため、当該定電流値の設定が容易となる。
According to the present invention, the digital conversion value of the reference voltage output from the AD converter by the input of the reference voltage and the digital conversion value of the reference voltage output from the AD converter when the fluctuation component is not included in the power supply voltage. Based on the above, the voltage value of the power supply voltage including the fluctuation component is calculated, and the digital conversion value of the both-end voltage output from the AD converter and the constant current circuit are output based on the voltage value of the power supply voltage including the fluctuation component. Since each of the constant current values of the constant current to be corrected is corrected, the AD conversion error caused by the fluctuation of the power supply voltage and the temperature corrected for the variation of the constant current value are accurately calculated.
Furthermore, compared to the conventional technique of measuring temperature using two constant current values, only one value needs to be used as the constant current value, so that each constant current value is increased so that the difference between the two constant current values is increased. Since there is no restriction of setting, the constant current value can be easily set.

また本発明は、上記温度測定回路において、前記電源電圧の変動成分の有無にかかわらずに前記定電流回路に起因して前記定電流値に含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記定電流値を補正する、ことを特徴とする。   The present invention further includes an error component included in the constant current value due to the constant current circuit and the fluctuation component of the power supply voltage regardless of the presence or absence of the fluctuation component of the power supply voltage in the temperature measurement circuit. The constant current value is corrected based on the voltage value.

本発明によれば、定電流値については、電源電圧の変動成分の有無にかかわらずに定電流回路に起因して定電流値に含まれる誤差成分も補正されることから、より正確な温度が求められる。   According to the present invention, for the constant current value, the error component included in the constant current value due to the constant current circuit is also corrected regardless of the presence or absence of the fluctuation component of the power supply voltage. Desired.

また本発明は、上記温度測定回路において、前記電源電圧の変動成分の有無にかかわらずに前記AD変換器に起因して含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記両端電圧のデジタル変換値を補正する、ことを特徴とする。   The present invention is also based on the error component included in the AD converter regardless of the presence or absence of the fluctuation component of the power supply voltage and the voltage value including the fluctuation component of the power supply voltage in the temperature measurement circuit. Then, the digital conversion value of the voltage between both ends is corrected.

本発明によれば、両端電圧のデジタル変換値については、電源電圧の変動成分の有無にかかわらずにAD変換器に起因して含まれる誤差成分も補正されることから、より正確な温度が求められる。   According to the present invention, for the digital conversion value of the both-end voltage, the error component included due to the AD converter is also corrected regardless of the presence / absence of the fluctuation component of the power supply voltage. It is done.

本発明によれば、基準電圧の入力によってAD変換器から出力された基準電圧のデジタル変換値と、電源電圧に変動成分が含まれない場合にAD変換器から出力される基準電圧のデジタル変換値とに基づいて、変動成分を含む電源電圧の電圧値を算出し、この変動成分を含む電源電圧の電圧値により、AD変換器から出力される両端電圧のデジタル変換値、及び定電流回路が出力する定電流の定電流値のそれぞれが補正されることから、電源電圧の変動に起因して生じるAD変換誤差、及び定電流値のバラツキを補正した温度が正確に算出される。
また本発明において、前記電源電圧の変動成分の有無にかかわらずに前記定電流回路に起因して前記定電流値に含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記定電流値を補正することで、定電流値については、電源電圧の変動成分の有無にかかわらずに定電流回路に起因して定電流値に含まれる誤差成分も補正されることから、より正確な温度が求められる。
また本発明において、前記電源電圧の変動成分の有無にかかわらずに前記AD変換器に起因して含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記両端電圧のデジタル変換値を補正することで、両端電圧のデジタル変換値については、電源電圧の変動成分の有無にかかわらずにAD変換器に起因して含まれる誤差成分も補正されることから、より正確な温度が求められる。
According to the present invention, the digital conversion value of the reference voltage output from the AD converter by the input of the reference voltage and the digital conversion value of the reference voltage output from the AD converter when the fluctuation component is not included in the power supply voltage. Based on the above, the voltage value of the power supply voltage including the fluctuation component is calculated, and the digital conversion value of the both-end voltage output from the AD converter and the constant current circuit are output based on the voltage value of the power supply voltage including the fluctuation component. Since each of the constant current values of the constant current to be corrected is corrected, the AD conversion error caused by the fluctuation of the power supply voltage and the temperature corrected for the variation of the constant current value are accurately calculated.
In the present invention, based on the error component included in the constant current value due to the constant current circuit regardless of the presence or absence of the fluctuation component of the power supply voltage and the voltage value including the fluctuation component of the power supply voltage. By correcting the constant current value, the error component included in the constant current value due to the constant current circuit is also corrected for the constant current value regardless of the presence or absence of the power supply voltage fluctuation component. Accurate temperature is required.
Further, in the present invention, the digital voltage of the both-end voltage is based on the error component included due to the AD converter regardless of the presence or absence of the fluctuation component of the power supply voltage and the voltage value including the fluctuation component of the power supply voltage. By correcting the conversion value, for the digital conversion value of the voltage at both ends, the error component included due to the AD converter is also corrected regardless of the presence or absence of the fluctuation component of the power supply voltage. Is required.

本発明の実施形態に係る温度測定回路の構成を示す図である。It is a figure which shows the structure of the temperature measurement circuit which concerns on embodiment of this invention. 基準電源の回路図である。It is a circuit diagram of a reference power supply. 定電流回路の回路図である。It is a circuit diagram of a constant current circuit. 温度測定回路の温度測定結果を示す図であり、(A)は補正無しの場合、(B)は補正ありの場合を示す。It is a figure which shows the temperature measurement result of a temperature measurement circuit, (A) shows the case without correction | amendment, (B) shows the case with correction | amendment. 定電流回路の変形例に係る回路図である。It is a circuit diagram concerning the modification of a constant current circuit. 定電流回路の変形例に係る回路図である。It is a circuit diagram concerning the modification of a constant current circuit. 定電流回路の変形例に係る回路図である。It is a circuit diagram concerning the modification of a constant current circuit. 定電流回路の変形例に係る回路図である。It is a circuit diagram concerning the modification of a constant current circuit.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る温度測定回路1の構成を示す図である。
温度測定回路1は、温度測定対象のIGBT等の半導体装置の回路基板3に設けられ、当該回路基板3の温度Tを測定する回路である。すなわち、温度測定回路1は、図1に示すように、半導体ダイオード5と、定電流回路7と、基準電源9と、マイコン11とを備え、定電流回路7、基準電源9、及びマイコン11が電源電圧HVccを電源として動作する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a temperature measurement circuit 1 according to the present embodiment.
The temperature measurement circuit 1 is a circuit that is provided on a circuit board 3 of a semiconductor device such as an IGBT to be measured for temperature and measures a temperature T of the circuit board 3. That is, as shown in FIG. 1, the temperature measurement circuit 1 includes a semiconductor diode 5, a constant current circuit 7, a reference power supply 9, and a microcomputer 11. The constant current circuit 7, the reference power supply 9, and the microcomputer 11 include The power supply voltage HVcc is used as a power source.

半導体ダイオード5は、回路基板3に実装された温度測定用のpn接合ダイオードであり、アノード5Aには定電流回路7が接続され、カソード5Bには基準電位(グランド)に接続されている。定電流回路7によって定電流が印加されたときには、アノード−カソード間電圧(以下、両端電圧V)がマイコン11に出力される。
定電流回路7は、温度測定時に、半導体ダイオード5の順方向に定電流値Iの定電流を印加する回路であり、その回路構成については後述する。
The semiconductor diode 5 is a pn junction diode for temperature measurement mounted on the circuit board 3. The constant current circuit 7 is connected to the anode 5A, and the reference potential (ground) is connected to the cathode 5B. When a constant current is applied by the constant current circuit 7, an anode-cathode voltage (hereinafter, both-end voltage V F ) is output to the microcomputer 11.
The constant current circuit 7 is a circuit that applies a constant current having a constant current value I in the forward direction of the semiconductor diode 5 during temperature measurement, and the circuit configuration thereof will be described later.

基準電源9は、電源電圧HVccの変動の影響を受けずに所定の基準電圧Vrefを生成してマイコン11に入力するものである。
具体的には、図2に示すように、基準電源9は、定電圧回路として構成されている。すなわち、電力をチャージして基準電圧Vrefを出力する容量20と、この容量20の蓄電量を制御するトランジスタ21と、電源電圧HVccを抵抗Ra、Rbで分圧した電圧Vsと、容量20が出力する基準電圧Vrefとを比較し、両者が常に等しくなるようにトランジスタ21に制御信号を出力する誤差増幅器としてのオペアンプ22とを備えている。
この基準電源9では、電源電圧HVccに変動成分ΔHVccが含まれた場合でも、オペアンプ22の制御によって出力電圧が基準電圧Vrefに維持される。
The reference power supply 9 generates a predetermined reference voltage V ref without being affected by fluctuations in the power supply voltage HVcc and inputs it to the microcomputer 11.
Specifically, as shown in FIG. 2, the reference power supply 9 is configured as a constant voltage circuit. That is, the capacitor 20 that charges power and outputs the reference voltage V ref , the transistor 21 that controls the amount of electricity stored in the capacitor 20, the voltage Vs obtained by dividing the power supply voltage HVcc by the resistors Ra and Rb, and the capacitor 20 An operational amplifier 22 is provided as an error amplifier that compares a reference voltage V ref to be output and outputs a control signal to the transistor 21 so that they are always equal.
In the reference power supply 9, the output voltage is maintained at the reference voltage V ref under the control of the operational amplifier 22 even when the fluctuation component ΔHVcc is included in the power supply voltage HVcc.

ただし、基準電源9では、電源電圧HVccを分圧する抵抗Ra、Rbの製造誤差や抵抗素子の温度特性等に起因して、抵抗Ra、Rbの抵抗値に誤差ΔRa、ΔRbが含まれる。このため、基準電源9が出力する基準電圧Vrefの実際の値には、設計値からの多少の誤差成分ΔVrefが含まれる。この基準電圧Vrefの誤差成分ΔVrefについては、予め実測されて後述するメモリ17に格納されている。 However, in the reference power supply 9, due to manufacturing errors of the resistors Ra and Rb that divide the power supply voltage HVcc, temperature characteristics of the resistor elements, and the like, errors ΔRa and ΔRb are included in the resistance values of the resistors Ra and Rb. For this reason, the actual value of the reference voltage V ref output from the reference power supply 9 includes a slight error component ΔV ref from the design value. The error component ΔV ref of the reference voltage V ref is measured in advance and stored in the memory 17 described later.

前掲図1に戻り、マイコン11は、両端電圧V、及び基準電圧Vrefの入力ごとに設けられたAD変換器13と、CPU15と、メモリ17とを備え、CPU15、及びAD変換器13は、電源電圧HVccにより動作する。AD変換器13は、電源電圧HVccをフルスケールとして入力電圧を所定ビット数のデジタル信号に変換するAD変換を行うものであり、本実施形態では、両端電圧V、及び基準電圧Vrefのデジタル変換値X(V)、及びデジタル変換値X(Vref)をCPU15に出力する。
なお、以下の説明においては、あくまで一例として、AD変換器13の分解能を10ビットとして説明する。
Returning to FIG. 1, the microcomputer 11 includes an AD converter 13 provided for each input of the both-end voltage V F and the reference voltage V ref , a CPU 15, and a memory 17. The CPU 15 and the AD converter 13 are The power supply voltage HVcc operates. The AD converter 13 performs AD conversion for converting the input voltage into a digital signal having a predetermined number of bits with the power supply voltage HVcc as a full scale. In this embodiment, the AD converter 13 converts the input voltage V F and the reference voltage V ref to digital. The conversion value X (V F ) and the digital conversion value X (V ref ) are output to the CPU 15.
In the following description, the resolution of the AD converter 13 is assumed to be 10 bits as an example.

CPU15は、両端電圧Vのデジタル変換値X(V)について、AD変換器13の特性による誤差、及び電源電圧HVccの変動による誤差を補正する処理を行うとともに、電源電圧HVccの変動に基づき定電流値Iを補正する処理を行い、これら補正後のデジタル変換値X(V)、及び定電流値Iに基づいて温度Tを算出し、半導体装置に実装された他のマイコン、或いは上位のコンピュータ等に出力する。この温度Tの算出については後に詳述する。メモリ17は、当該温度Tの算出に要する各種パラメータを予め記憶する。 CPU15 is the digital conversion value of the voltage across V F X (V F), errors due to characteristics of the AD converter 13, and performs a process of correcting an error due to variations in the power supply voltage HVcc, based on the fluctuation of the power supply voltage HVcc A process for correcting the constant current value I is performed, and the temperature T is calculated based on the digital conversion value X (V F ) and the constant current value I after the correction, and another microcomputer mounted on the semiconductor device or a higher order Output to a computer. The calculation of the temperature T will be described in detail later. The memory 17 stores various parameters required for calculating the temperature T in advance.

ここで、上記電源電圧HVccは、入力電力を電力変換する図示せぬ電源回路から供給されるが、当該電源回路への入電力が変動すると、これに応じて電源電圧HVccも変動する。
例えば、温度測定回路1が電気自動車のモータを制御するインバータ回路等の半導体装置に設けられている場合、上記電源電圧HVccは、車両が搭載するバッテリの電力をDC/DCコンバータによって直流電圧に変換し、平滑・変圧して生成される。
しかしながら、バッテリが出力する電圧は、バッテリの残容量、バッテリの経時変化、負荷変動、及びバッテリの温度等により変動する。特に、車載のバッテリにあっては、バッテリが放電する電圧は車両という使用条件の特性から変動しやすく、DC/DCコンバータを通じて生成される電源電圧HVccも、上記の要因により変動する。
Here, the power supply voltage HVcc is supplied from a power supply circuit (not shown) for converting the input power, but when the power input to the power supply circuit varies, the power supply voltage HVcc also varies accordingly.
For example, when the temperature measuring circuit 1 is provided in a semiconductor device such as an inverter circuit that controls a motor of an electric vehicle, the power supply voltage HVcc is obtained by converting the power of a battery mounted on the vehicle into a DC voltage by a DC / DC converter. It is generated by smoothing and transforming.
However, the voltage output by the battery varies depending on the remaining battery capacity, battery aging, load variation, battery temperature, and the like. In particular, in an in-vehicle battery, the voltage discharged from the battery is likely to fluctuate due to the characteristics of the use condition of the vehicle, and the power supply voltage HVcc generated through the DC / DC converter also fluctuates due to the above factors.

上記AD変換器13、及び定電流回路7は、電源電圧HVccに基づいて動作しているため、電源電圧HVccが変動すると、デジタル変換値、及び定電流値に誤差が生じる。
そこで本実施形態では、AD変換器13が出力するデジタル変換値Xについて、AD変換器13の電源電圧HVccの変動に起因する誤差をCPU15によって効率よく補正して両端電圧Vについて高精度のデジタル変換値X(V)を得るとともに、電源電圧HVccの変動分を補正した定電流値Iを求め、これらの値を用いて、電源電圧HVccの変動に起因した誤差の影響無く温度を算出することとしている。
以下、係る構成について詳述する。
Since the AD converter 13 and the constant current circuit 7 operate based on the power supply voltage HVcc, when the power supply voltage HVcc varies, an error occurs in the digital conversion value and the constant current value.
Therefore, in this embodiment, the digital conversion value X by the AD converter 13 outputs, errors caused by fluctuations in the power supply voltage HVcc the AD converter 13 is corrected effectively by CPU15 for the voltage across V F of the high-precision digital A conversion value X (V F ) is obtained, a constant current value I obtained by correcting the fluctuation of the power supply voltage HVcc is obtained, and the temperature is calculated using these values without being affected by errors caused by fluctuations in the power supply voltage HVcc. I am going to do that.
Hereinafter, the configuration will be described in detail.

AD変換器13の分解能は上記の通り10bitとする。AD変換器13に入力電圧として基準電圧Vrefが入力された場合、AD変換器13は、電源電圧HVccをフルスケールとして10bitで基準電圧Vrefをデジタルデータに変換し、デジタル変換値X(Vref)を出力する。このデジタル変換値X(Vref)は、次式(1)により表される。
ただし、後述のように、実際には、AD変換器13でのAD変換時には電源電圧HVccの電圧変動△HVccに起因する誤差を生じることから、この誤差に起因してデジタル変換値X(ref)の値も変わる。式(1)では、デジタル変換値X(Vref)に「ideal」という添字を付すことで、かかる誤差を考慮しない理想的なAD変換であることを明示している。
The resolution of the AD converter 13 is 10 bits as described above. When the reference voltage V ref is input to the AD converter 13 as an input voltage, the AD converter 13 converts the reference voltage V ref to digital data in 10 bits with the power supply voltage HVcc as a full scale, and the digital conversion value X (V ref ) is output. This digital conversion value X (V ref ) is expressed by the following equation (1).
However, as will be described later, in actuality, an error caused by the voltage fluctuation ΔHVcc of the power supply voltage HVcc occurs at the time of AD conversion by the AD converter 13, and therefore the digital conversion value X (ref) is caused by this error. The value of also changes. In the expression (1), by adding a subscript “ideal” to the digital conversion value X (V ref ), it is clearly shown that the AD conversion is ideal without considering such an error.

AD変換に含まれる誤差としては、電源電圧HVccの変動に起因する誤差の他に、AD変換器13の回路が持つ特性に起因する量子化誤差といった、電源電圧HVccの変動にかかわらずに生じる誤差が挙げられる。
すなわち、電源電圧HVccが通常動作用に供給される電源である場合、変動成分ΔHVccを含むので、電源電圧HVccの正味の値はHVcc+ΔHVccと表され、またAD変換器13の回路が持つ特性に起因する誤差は、大凡±1〜3LSB(LSB:Least Significant Bit)程度であることが一般的であることから、通常動作時のデジタル変換値X(Vref)は、次式(2)で表される。ただし、(2)式では、AD変換器13の回路の特性に起因する誤差を±3LSBと設定した。
Errors included in the AD conversion include errors caused regardless of fluctuations in the power supply voltage HVcc, such as quantization errors caused by characteristics of the circuit of the AD converter 13 in addition to errors caused by fluctuations in the power supply voltage HVcc. Is mentioned.
That is, when the power supply voltage HVcc is a power supply that is supplied for normal operation, the fluctuation component ΔHVcc is included, so the net value of the power supply voltage HVcc is expressed as HVcc + ΔHVcc, and also due to the characteristics of the circuit of the AD converter 13 Since the error to be performed is generally about ± 1 to 3 LSB (LSB: Least Significant Bit), the digital conversion value X (V ref ) during normal operation is expressed by the following equation (2). The However, in equation (2), the error due to the circuit characteristics of the AD converter 13 is set to ± 3LSB.

なお、変動成分ΔHVccは正の値と負の値のどちらでも取り得る値であり、通常動作用の電源電圧HVccが降下する方向に変動して「HVcc+ΔHVcc」がHVccより低電圧になることも勿論あり得る。   Note that the fluctuation component ΔHVcc is a value that can be either a positive value or a negative value, and of course, the power supply voltage HVcc for normal operation fluctuates in the decreasing direction, and “HVcc + ΔHVcc” becomes lower than HVcc. possible.

また、基準電源9の回路定数の誤差等に起因して基準電圧Vrefには、図2を参照して説明した誤差成分ΔVrefが含まれることを考慮すると、式(2)は次式(3)のように表される。 Further, considering that the error component ΔV ref described with reference to FIG. 2 is included in the reference voltage V ref due to an error in the circuit constant of the reference power supply 9, the expression (2) is expressed by the following expression ( It is expressed as 3).

これら式(1)、及び式(3)を用いると、変動成分ΔHVccを含む正味の電源電圧HVcc+ΔHVccは、次式(4)のように表される。   Using these formulas (1) and (3), the net power supply voltage HVcc + ΔHVcc including the fluctuation component ΔHVcc is expressed by the following formula (4).

この式(4)においては、電源電圧HVcc、基準電圧Vref、基準電圧Vrefは設計値であり、かかる設計値に基づいてAD変換したときの理想的なデジタル変換値X(Vref)idealが一義的に求められ、またLSBについても、AD変換のビット数等で一義的に決定される値であり、これらの値がマイコン11のメモリ17に予め格納されている。また、基準電圧Vrefの誤差成分ΔVrefは、基準電源9の出力電圧を実測し基準電圧Vrefの設計値との差分を計算することで予め求められ、この誤差成分ΔVrefも上記メモリ17に予め格納されている。
したがって、基準電圧Vrefを実測したデジタル変換値X(Vref)realが得られれば、上記式(4)に基づいて、電源電圧HVccについて、そのときの変動成分ΔHVccを含んだ正味の値(HVcc+ΔHVcc)が求められることとなる。
In this equation (4), the power supply voltage HVcc, the reference voltage V ref , and the reference voltage V ref are design values, and an ideal digital conversion value X (V ref ) ideal when AD conversion is performed based on the design value. Is uniquely determined by the number of bits of AD conversion and the like, and these values are stored in the memory 17 of the microcomputer 11 in advance. Moreover, the error component of the reference voltage V ref [Delta] V ref is previously sought by calculating the difference between the design value of the actually measured reference voltage V ref the output voltage of the reference power source 9, the memory 17 is also the error component [Delta] V ref Stored in advance.
Therefore, if the digital conversion value X (V ref ) real obtained by actually measuring the reference voltage Vref is obtained, the net value (HVcc + ΔHVcc) including the fluctuation component ΔHVcc at that time is calculated for the power supply voltage HVcc based on the above equation (4). ) Will be required.

なお、基準電圧Vrefのデジタル変換値X(Vref)idealについては、設計値から値を求めるのではなく、変動成分ΔHVccが含まれていない理想的な電源電圧Vccとみなせる程度の高精度の定電圧源をAD変換器13に接続するとともに、同様に高精度の基準電圧VrefをAD変換器13に接続して実測することで求めても良い。 It should be noted that the digital conversion value X (V ref ) ideal of the reference voltage V ref is not obtained from a design value, but is accurate enough to be regarded as an ideal power supply voltage Vcc that does not include the fluctuation component ΔHVcc. The constant voltage source may be connected to the AD converter 13, and similarly, a high-precision reference voltage V ref may be connected to the AD converter 13 and actually measured.

さて、温度測定時には、半導体ダイオード5の両端電圧VがAD変換器13に入力されてデジタル変換値X(VF)にAD変換される。このとき、上記(3)式に示す通り、AD変換時には、電源電圧HVccの変動の影響を受けてAD変換誤差が生じることとなり、両端電圧Vのデジタル変換値X(V)realは次式(5)のようになる。 Now, at the time of temperature measurement, the voltage across V F of the semiconductor diode 5 is AD converted is inputted to the AD converter 13 into a digital conversion value X (VF). At this time, as shown in equation (3), at the time of AD conversion, it becomes possible to AD conversion error occurs under the influence of the variation in power supply voltage HVcc, the digital conversion value X (V F) real voltage across V F Next Equation (5) is obtained.

一方、AD変換器13が出力するデジタル変換値Xを、誤差の無い値に変換する補正係数Kは、式(1)、及び式(3)に基づいて、次式(6)のように表される。この式(6)において、「HVcc+ΔHVcc」を除く他のパラメータについてはメモリ17に予め格納されており、また「HVcc+ΔHVcc」については、基準電圧Vrefを実測したデジタル変換値X(Vref)realに基づき上記(4)式から求められることから、そのときの電源電圧HVccの変動を加味した補正係数Kが正確に求められる。 On the other hand, the correction coefficient K for converting the digitally converted value X output from the AD converter 13 into a value having no error is expressed by the following equation (6) based on the equations (1) and (3). Is done. In this equation (6), the parameters other than “HVcc + ΔHVcc” are stored in the memory 17 in advance, and “HVcc + ΔHVcc” is based on the digital conversion value X (V ref ) real obtained by actually measuring the reference voltage Vref. Since it is calculated | required from said Formula (4), the correction coefficient K which considered the fluctuation | variation of the power supply voltage HVcc at that time is calculated | required correctly.

したがって、両端電圧Vのデジタル変換値X(V)realは、次式(7)に示すように、補正係数Kを用いて、電源電圧HVccの変動成分ΔHVcc、及びAD変換器13の特性に起因して含まれる誤差を補正したデジタル変換値X(V)correctに変換し、両端電圧Vについて正確な値が得られることとなる。 Therefore, the digital conversion value X (V F ) real of the both-end voltage V F is obtained by using the correction coefficient K as shown in the following equation (7), the fluctuation component ΔHVcc of the power supply voltage HVcc, and the characteristics of the AD converter 13. Thus, the error included due to this is converted into a digital conversion value X (V F ) correct corrected, and an accurate value is obtained for the both-end voltage V F.

次いで、定電流回路7の定電流値Iの補正について説明する。
図3は定電流回路7の一例を示す回路図である。
定電流回路7は、エミッタに流れ込む電流をコレクタに出力するPNPトランジスタ31と、このPNPトランジスタ31を制御するオペアンプ30と、抵抗Rc、Rd、Re、Rf、Rgを備えている。オペアンプ30には、電源電圧HVcc+ΔHVccを抵抗Rc、Rdで分圧した電圧Vtが設定電圧として入力され、またPNPトランジスタ31のエミッタの電圧が帰還電圧として入力され、これらの電圧差である入力オフセット電圧Vosがゼロになるように、PNPトランジスタ31を制御することで、当該PNPトランジスタ31のコレクタから出力される電流を一定の定電流値Iに維持する。
Next, correction of the constant current value I of the constant current circuit 7 will be described.
FIG. 3 is a circuit diagram showing an example of the constant current circuit 7.
The constant current circuit 7 includes a PNP transistor 31 that outputs a current flowing into the emitter to the collector, an operational amplifier 30 that controls the PNP transistor 31, and resistors Rc, Rd, Re, Rf, and Rg. A voltage Vt obtained by dividing the power supply voltage HVcc + ΔHVcc by the resistors Rc and Rd is input to the operational amplifier 30 as a set voltage, and the voltage at the emitter of the PNP transistor 31 is input as a feedback voltage. By controlling the PNP transistor 31 so that Vos becomes zero, the current output from the collector of the PNP transistor 31 is maintained at a constant constant current value I.

この定電流値Iは、エミッタと電源電圧HVcc+ΔHVcc間の抵抗Reと、エミッタの設定電圧である上記電圧Vtとに基づいて規定される。すなわち、電圧Vtは、次式(8)によって表されることから、この電圧Vtを抵抗Reで除することで定電流値Iが求められる。   The constant current value I is defined based on the resistance Re between the emitter and the power supply voltage HVcc + ΔHVcc and the voltage Vt which is the set voltage of the emitter. That is, since the voltage Vt is expressed by the following equation (8), the constant current value I is obtained by dividing the voltage Vt by the resistor Re.

しかしながら、実際には、定電流値Iは、電源電圧HVccの変動成分ΔHVccの有無にかかわらず、オペアンプ30への入力バイアス電流Ibに起因する誤差、入力オフセット電圧Vosの温度特性に起因する誤差、及びPNPトランジスタ31のベース電流IBに起因する誤差といったように、定電流回路7に起因する各種の誤差の影響を受ける。これらの誤差を考慮すると、定電流値Iは、次式(9)のように表される。   However, in practice, the constant current value I is an error caused by the input bias current Ib to the operational amplifier 30 and an error caused by the temperature characteristic of the input offset voltage Vos regardless of the presence or absence of the fluctuation component ΔHVcc of the power supply voltage HVcc. And, it is affected by various errors caused by the constant current circuit 7 such as an error caused by the base current IB of the PNP transistor 31. Considering these errors, the constant current value I is expressed as the following equation (9).

なお、式(9)において、項(A)〜項(C)が定電流回路7に起因する誤差を補正するものであり、入力バイアス電流Ibをパラメータに含む項(A)が入力バイアス電流Ibに起因する誤差を示し、入力オフセット電圧Vosをパラメータに含む項(B)が入力オフセット電圧Vosの温度特性に起因する誤差を示す。またPNPトランジスタ31のhfeパラメータを含む項(C)がベース電流IBに起因する誤差を示している。 In Equation (9), the terms (A) to (C) correct errors caused by the constant current circuit 7, and the term (A) including the input bias current Ib as a parameter is the input bias current Ib. The term (B) including the input offset voltage Vos as a parameter indicates the error due to the temperature characteristic of the input offset voltage Vos. Further, the term (C) including the h fe parameter of the PNP transistor 31 indicates an error caused by the base current IB.

この式(9)において、抵抗Rc、Rd、Re、及び項(A)〜項(C)を予め実測しておき、その値をメモリ17に格納しておくことで、上述の式(4)から求まる「HVcc+ΔHVcc」を用いて、電源電圧HVccの変動成分ΔHVccを反映した実際の(実際にバラツキのある)定電流値Iを算出することができる。   In this equation (9), the resistances Rc, Rd, Re, and the terms (A) to (C) are measured in advance, and the values are stored in the memory 17, whereby the above equation (4). Using the “HVcc + ΔHVcc” obtained from the above, it is possible to calculate the actual (actually varied) constant current value I reflecting the fluctuation component ΔHVcc of the power supply voltage HVcc.

マイコン11は、温度測定時には、基準電源9の基準電圧Vrefを取り込みAD変換してデジタル変換値X(Vref)realを取得し上記式(4)に基づいて、変動分を加味した正味の電源電圧HVcc+ΔHVccを求め、この電源電圧HVcc+ΔHVccを用いて上記式(7)、及び式(9)に基づいて、補正後の正確な両端電圧V、及び定電流値Iを算出し、これらの値を用いて温度Tを算出する。 At the time of temperature measurement, the microcomputer 11 takes in the reference voltage V ref of the reference power supply 9 and performs AD conversion to obtain a digital conversion value X (V ref ) real. The power supply voltage HVcc + ΔHVcc is obtained, and the corrected both-end voltage V F and constant current value I are calculated based on the above formulas (7) and (9) using the power supply voltage HVcc + ΔHVcc, and these values are calculated. Is used to calculate the temperature T.

温度Tの算出について具体的には、半導体ダイオード5の特性式は、Isをダイオード飽和電流密度、Aを固定定数、Egをバンドギャップエネルギーとすると、アノード−カソード間の電流値Ia、及びダイオード飽和電流密度Isは、それぞれ式(10)、(11)のように表され、これら式(10)、(11)から式(12)が得られる。   Regarding the calculation of the temperature T, specifically, the characteristic equation of the semiconductor diode 5 is as follows: Is is a diode saturation current density, A is a fixed constant, and Eg is a band gap energy. The current density Is is expressed as Expressions (10) and (11), respectively, and Expression (12) is obtained from these Expressions (10) and (11).

そして、この式(12)を温度Tについて展開し、電流値Ia=定電流値Iとすると、式(13)が得られる。   Then, when the equation (12) is developed for the temperature T and the current value Ia = the constant current value I, the equation (13) is obtained.

マイコン11は、この式(13)に、上記補正後の両端電圧V、及び定電流値Iを代入することで温度Tを算出する。上述の通り、両端電圧V、及び定電流値Iのそれぞれの値には、電源電圧HVccの変動に基づく誤差に加え、AD変換器13、及び定電流回路7に起因して生じる誤差を補正した値が用いられるため、AD変換時の誤差、及び定電流値Iのバラツキを補正した正確な温度Tが求められる。 The microcomputer 11 calculates the temperature T by substituting the corrected both-ends voltage V F and the constant current value I into the equation (13). As described above, the both-end voltage V f and the constant current value I are corrected for errors caused by the AD converter 13 and the constant current circuit 7 in addition to errors based on fluctuations in the power supply voltage HVcc. Therefore, an accurate temperature T in which an error during AD conversion and variations in the constant current value I are corrected is obtained.

図4は温度測定回路1の温度測定結果を示す図であり、図4(A)は両端電圧V、及び定電流値Iを補正せずに温度Tを算出した場合を示し、図4(B)は両端電圧V、及び定電流値Iを補正して温度Tを算出した場合を示す。なお、同図において、「最大温度」は温度測定時の正の誤差値を示し、「最小温度」は負の誤差値を示す。すなわち「最大温度」と「最小温度」の間が正負の検出誤差の誤差範囲を示す。
図4(A)及び図4(B)の対比から明らかなように、両端電圧V、及び定電流値Iを補正して温度Tを算出することで、補正せずに算出した場合に比べて、全体的に検出誤差の誤差範囲を小さくし、温度Tの精度が高められている。
FIG. 4 is a diagram showing the temperature measurement result of the temperature measurement circuit 1. FIG. 4A shows the case where the temperature T is calculated without correcting the both-end voltage V f and the constant current value I, and FIG. B) shows a case where the temperature T is calculated by correcting the both-end voltage V f and the constant current value I. In the figure, “maximum temperature” indicates a positive error value during temperature measurement, and “minimum temperature” indicates a negative error value. That is, an error range between positive and negative detection errors is between “maximum temperature” and “minimum temperature”.
As is apparent from the comparison between FIG. 4A and FIG. 4B, the temperature T is calculated by correcting the voltage V f at both ends and the constant current value I, compared with the case where the temperature T is calculated without correction. Thus, the error range of the detection error is reduced as a whole, and the accuracy of the temperature T is improved.

このように、本実施形態によれば、基準電圧Vrefの入力によってAD変換器13から出力された基準電圧Vrefのデジタル変換値X(Vref)realと、電源電圧HVccに変動成分ΔHVccが含まれない場合にAD変換器13から出力される基準電圧Vrefのデジタル変換値X(Vref)idealとに基づいて、変動成分ΔHVccを含む電源電圧HVccの電圧値「HVcc+ΔHVcc」を算出し、この電圧値「HVcc+ΔHVcc」により、AD変換器13から出力される両端電圧Vのデジタル変換値X(V)real、及び定電流回路7が出力する定電流の定電流値Iのそれぞれを補正する構成としたため、電源電圧HVccの変動に起因して生じるAD変換誤差、及び定電流値Iのバラツキを補正した温度Tが正確に算出される。
さらに、従来の温度測定回路のように、互いに異なる定電流値の定電流を半導体ダイオードに印加する複数の定電流回路や、印加する定電流を切り替えるための切替回路を必要としないため、部品点数、実装面積の削減が可能となる。また、互いに異なる2つの定電流値を用いて温度を測定する場合には、2つの定電流値の差が大きくなるように各定電流値を設定するという制限が生じるが、本実施形態では、定電流値Iとして1つの値だけを用いれば良いので、当該定電流値Iの設定が容易となる。
Thus, according to this embodiment, the digital conversion value X (V ref) real reference voltage V ref output from the AD converter 13 by the input of the reference voltage V ref, the fluctuation component ΔHVcc to the supply voltage HVcc If not included, based on the digital conversion value X (V ref ) ideal of the reference voltage V ref output from the AD converter 13, the voltage value “HVcc + ΔHVcc” of the power supply voltage HVcc including the fluctuation component ΔHVcc is calculated, this voltage value "HVcc + ΔHVcc" digital conversion value X (V F) across the voltage V F which is output from the AD converter 13 real, and corrects the respective constant current value I of the constant current constant current circuit 7 outputs Because of this configuration, AD conversion errors caused by fluctuations in the power supply voltage HVcc and variations in the constant current value I are corrected. Temperature T is calculated accurately.
Furthermore, unlike the conventional temperature measurement circuit, there is no need for multiple constant current circuits that apply constant currents with different constant current values to the semiconductor diode, and no switching circuit for switching the applied constant current. The mounting area can be reduced. Further, when measuring the temperature using two different constant current values, there is a restriction that each constant current value is set so that the difference between the two constant current values becomes large. Since only one value needs to be used as the constant current value I, the constant current value I can be easily set.

また本実施形態によれば、定電流値Iについては、電源電圧HVccの変動成分ΔHVccの有無にかかわらずに定電流回路7に起因して定電流値Iに含まれる誤差成分(例えば式(9)の項(A)〜(C))も補正する構成としたため、より正確な温度が求められる。   Further, according to the present embodiment, the constant current value I is an error component (for example, the expression (9) included in the constant current value I caused by the constant current circuit 7 regardless of the presence or absence of the fluctuation component ΔHVcc of the power supply voltage HVcc. ) (A) to (C)) are also corrected, so that a more accurate temperature is required.

さらに本実施形態によれば、両端電圧Vのデジタル変換値X(V)realについては、電源電圧HVccの変動成分ΔHVccの有無にかかわらずにAD変換器13に起因して含まれる誤差成分(例えば、式(3)の±3LSB)も補正されることから、より正確な温度が求められる。 Further, according to the present embodiment, error component for the digital conversion value X (V F) real voltage across V F, contained due to the AD converter 13 regardless of the presence or absence of fluctuation component ΔHVcc supply voltage HVcc Since (for example, ± 3LSB of Equation (3)) is also corrected, a more accurate temperature is obtained.

なお、上述した各実施形態は、あくまでも本発明の一態様を示すものであり、本発明の趣旨を逸脱しない範囲で任意に変形、及び応用が可能である。   Each embodiment described above shows only one aspect of the present invention, and can be arbitrarily modified and applied without departing from the spirit of the present invention.

例えば上述した実施形態において、定電流回路7には、電源電圧HVccを電源として一定電流を生成して出力する回路であれば任意の回路を用いることができ、例えば以下のような回路を用いることができる。   For example, in the above-described embodiment, the constant current circuit 7 may be any circuit as long as it generates and outputs a constant current using the power supply voltage HVcc as a power supply. For example, the following circuit is used. Can do.

図5に示す定電流回路107は、NPNトランジスタ40、及び抵抗Rm1、Rm2、及びRm3を備え、電源電圧HVcc+ΔHVccを抵抗Rm1、Rm2で分圧した電圧を、抵抗Rm3で除した値の定電流値IをNPNトランジスタ40のエミッタに出力する回路であり、NPNトランジスタ40のコレクタに半導体ダイオード5が接続される。
ただし、NPNトランジスタ40のベース電流IBに起因する誤差、及びNPNトランジスタ40のベース−エミッタ間電圧Vbeを考慮すると、実際の定電流値Iは、式(14)のように表され、この式(14)を用いて、バラツキを反映した実際の定電流値Iが算出される。
A constant current circuit 107 shown in FIG. 5 includes an NPN transistor 40 and resistors Rm1, Rm2, and Rm3, and a constant current value that is a value obtained by dividing a voltage obtained by dividing the power supply voltage HVcc + ΔHVcc by the resistors Rm1 and Rm2 by the resistor Rm3. I is a circuit that outputs I to the emitter of the NPN transistor 40, and the semiconductor diode 5 is connected to the collector of the NPN transistor 40.
However, in consideration of an error caused by the base current IB of the NPN transistor 40 and the base-emitter voltage Vbe of the NPN transistor 40, the actual constant current value I is expressed as shown in Expression (14). 14) is used to calculate the actual constant current value I reflecting the variation.

図6に示す定電流回路207は、図5に示す定電流回路107のNPNトランジスタ40を、PNPトランジスタ41に代えることで、定電流を半導体ダイオード5(負荷)にはき出す、いわゆる吐き出し型の回路として構成したものである。すなわち、定電流回路207は、PNPトランジスタ41、及び抵抗Rm1、Rm2、及びRm3を備え、電源電圧HVcc+ΔHVccを抵抗Rm1、Rm2で分圧した電圧を、抵抗Rm3で除した値の定電流値IをPNPトランジスタ41のコレクタに出力し、PNPトランジスタ41のエミッタに半導体ダイオード5が接続される。
この定電流回路207においても、PNPトランジスタ41のベース電流IBに起因する誤差、及びPNPトランジスタ41のベース−エミッタ間電圧Vbeを考慮すると、実際の定電流値Iは、上記定電流回路107の式(14)と同一の式(15)のように表され、この式(15)を用いて、バラツキを反映した実際の定電流値Iが算出される。
The constant current circuit 207 shown in FIG. 6 is a so-called discharge type circuit that discharges a constant current to the semiconductor diode 5 (load) by replacing the NPN transistor 40 of the constant current circuit 107 shown in FIG. It is composed. That is, the constant current circuit 207 includes a PNP transistor 41 and resistors Rm1, Rm2, and Rm3, and a constant current value I obtained by dividing a voltage obtained by dividing the power supply voltage HVcc + ΔHVcc by the resistors Rm1 and Rm2 by the resistor Rm3. Output to the collector of the PNP transistor 41, and the semiconductor diode 5 is connected to the emitter of the PNP transistor 41.
Also in this constant current circuit 207, in consideration of an error caused by the base current IB of the PNP transistor 41 and the base-emitter voltage Vbe of the PNP transistor 41, the actual constant current value I is expressed by the equation of the constant current circuit 107. It is expressed as the same equation (15) as (14), and the actual constant current value I reflecting the variation is calculated using this equation (15).

図7に示す定電流回路307は、バイポーラトランジスタを使用せずに構成した定電流回路であり、オペアンプ50と、抵抗Rm1、Rm2、Rm3、Rとを備えている。オペアンプ50には、電源電圧HVcc+ΔHVccを抵抗Rm1、Rm2で分圧した電圧が設定電圧として入力されるとともに、出力電流を抵抗Rmsに流したときの電圧Viが帰還され、これらの電圧の差を無くすよう動作することで、出力電流が一定の定電流値Iに維持される。この定電流回路307の定電流値Iは、式(16)のように表され、この式(16)を用いて、バラツキを反映した実際の定電流値Iが算出される。   A constant current circuit 307 illustrated in FIG. 7 is a constant current circuit configured without using a bipolar transistor, and includes an operational amplifier 50 and resistors Rm1, Rm2, Rm3, and R. A voltage obtained by dividing the power supply voltage HVcc + ΔHVcc by the resistors Rm1 and Rm2 is input to the operational amplifier 50 as a set voltage, and a voltage Vi when an output current is passed through the resistor Rms is fed back to eliminate the difference between these voltages. By operating as described above, the output current is maintained at a constant constant current value I. The constant current value I of the constant current circuit 307 is expressed as in Expression (16), and an actual constant current value I reflecting the variation is calculated using Expression (16).

図8に示す定電流回路407は、上述した実施形態で説明した定電流回路7のPNPトランジスタ31をNPNトランジスタ43に代えることで、定電流を半導体ダイオード5(負荷)から吸い込む、いわゆる吸い込み型の回路として構成したものである。すなわち、定電流回路407は、NPNトランジスタ43、オペアンプ51、及び抵抗Rm1、Rm2、及びRmsを備え、電源電圧HVcc+ΔHVccを抵抗Rm1、Rm2で分圧した電圧を、抵抗Rmsで除した値の定電流値IがNPNトランジスタ43のコレクタに接続された半導体ダイオード5から吸い出されエミッタに出力される。
この定電流回路407においては、オペアンプ51への入力バイアス電流Ibに起因する誤差、入力オフセット電圧Vosの温度特性に起因する誤差、及びNPNトランジスタ43のベース−エミッタ電流Ibeに起因する誤差といったように、定電流回路407に起因する各種の誤差を考慮すると、実際の定電流値Iは式(17)のように表され、この式(17)を用いて、バラツキを反映した実際の定電流値Iが算出される。
A constant current circuit 407 shown in FIG. 8 replaces the PNP transistor 31 of the constant current circuit 7 described in the above-described embodiment with an NPN transistor 43, thereby sucking a constant current from the semiconductor diode 5 (load). It is configured as a circuit. That is, the constant current circuit 407 includes an NPN transistor 43, an operational amplifier 51, and resistors Rm1, Rm2, and Rms. A constant current having a value obtained by dividing a voltage obtained by dividing the power supply voltage HVcc + ΔHVcc by the resistors Rm1 and Rm2 by the resistor Rms. The value I is extracted from the semiconductor diode 5 connected to the collector of the NPN transistor 43 and output to the emitter.
In this constant current circuit 407, an error caused by the input bias current Ib to the operational amplifier 51, an error caused by the temperature characteristic of the input offset voltage Vos, and an error caused by the base-emitter current Ibe of the NPN transistor 43, etc. In consideration of various errors caused by the constant current circuit 407, the actual constant current value I is expressed as shown in Expression (17). Using this Expression (17), the actual constant current value reflecting the variation is expressed. I is calculated.

また例えば、上述した実施形態において、基準電源9の基準電圧Vref、及び半導体ダイオード5の両端電圧VごとにAD変換器13を設ける構成としたが、これに限らず、1つのAD変換器13に基準電源9の基準電圧Vref、及び半導体ダイオード5の両端電圧Vを切り替えて入力する構成としても良い。 Further, for example, in the above embodiment, the reference voltage V ref of the reference power source 9, and it is configured to provide the AD converter 13 for each voltage across V F of the semiconductor diode 5 is not limited to this, one AD converter The reference voltage V ref of the reference power source 9 and the voltage V F across the semiconductor diode 5 may be switched and input to 13.

1 温度測定回路
5 半導体ダイオード
7、107、207、307、407 定電流回路
9 基準電源
11 マイコン
13 AD変換器
15 CPU
17 メモリ
HVcc 電源電圧
I 定電流値
K 補正係数
T 温度
両端電圧
ref 基準電圧
X デジタル変換値
ΔHVcc 変動成分
ΔVref 誤差成分
1 Temperature Measurement Circuit 5 Semiconductor Diode 7, 107, 207, 307, 407 Constant Current Circuit 9 Reference Power Supply 11 Microcomputer 13 AD Converter 15 CPU
17 Memory HVcc Power supply voltage I Constant current value K Correction factor T Temperature V F Both-ends voltage V ref Reference voltage X Digital conversion value ΔHVcc Fluctuation component ΔV ref Error component

Claims (3)

温度測定用の半導体ダイオードと、
前記半導体ダイオードに印加する定電流を電源電圧に基づいて生成する定電流回路と、
前記定電流の印加によって前記半導体ダイオードのアノード−カソード間に生じる両端電圧を、前記電源電圧をフルスケール電圧として所定ビット数のデジタル値に変換して出力するAD変換器と、
前記定電流回路によって印加された定電流の定電流値、及び前記AD変換器から出力された前記両端電圧のデジタル変換値に基づいて温度を算出する温度測定回路において、
基準電圧を前記AD変換器に出力する基準電源を備え、
前記基準電圧の入力によって前記AD変換器から出力された前記基準電圧のデジタル変換値と、前記電源電圧に変動成分が含まれない場合に前記AD変換器から出力される前記基準電圧のデジタル変換値とに基づいて、前記変動成分を含む前記電源電圧の電圧値を算出し、当該電圧値により前記両端電圧のデジタル変換値、及び前記定電流の定電流値を補正して前記温度を算出する、ことを特徴とする温度測定回路。
A semiconductor diode for temperature measurement;
A constant current circuit for generating a constant current applied to the semiconductor diode based on a power supply voltage;
An AD converter that converts a voltage across the anode and cathode of the semiconductor diode by applying the constant current into a digital value of a predetermined number of bits by using the power supply voltage as a full-scale voltage; and
In a temperature measurement circuit that calculates a temperature based on a constant current value of a constant current applied by the constant current circuit and a digital conversion value of the both-end voltage output from the AD converter,
A reference power supply for outputting a reference voltage to the AD converter;
The digital conversion value of the reference voltage output from the AD converter by the input of the reference voltage and the digital conversion value of the reference voltage output from the AD converter when the power supply voltage does not include a fluctuation component And calculating the voltage value of the power supply voltage including the fluctuation component, correcting the digital conversion value of the both-end voltage and the constant current value of the constant current by the voltage value, and calculating the temperature. A temperature measurement circuit characterized by that.
前記電源電圧の変動成分の有無にかかわらずに前記定電流回路に起因して前記定電流値に含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記定電流値を補正する、ことを特徴とする請求項1に記載の温度測定回路。   Regardless of the presence or absence of the fluctuation component of the power supply voltage, the constant current value is determined based on the error component included in the constant current value due to the constant current circuit and the voltage value including the fluctuation component of the power supply voltage. The temperature measurement circuit according to claim 1, wherein correction is performed. 前記電源電圧の変動成分の有無にかかわらずに前記AD変換器に起因して含まれる誤差成分と、前記電源電圧の変動成分を含む電圧値とに基づいて前記両端電圧のデジタル変換値を補正する、ことを特徴とする請求項1又は2に記載の温度測定回路。   Regardless of the presence or absence of the fluctuation component of the power supply voltage, the digital conversion value of the both-ends voltage is corrected based on the error component included due to the AD converter and the voltage value including the fluctuation component of the power supply voltage. The temperature measuring circuit according to claim 1 or 2, wherein
JP2011152592A 2011-07-11 2011-07-11 Temperature measurement circuit Expired - Fee Related JP5315386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011152592A JP5315386B2 (en) 2011-07-11 2011-07-11 Temperature measurement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011152592A JP5315386B2 (en) 2011-07-11 2011-07-11 Temperature measurement circuit

Publications (2)

Publication Number Publication Date
JP2013019738A true JP2013019738A (en) 2013-01-31
JP5315386B2 JP5315386B2 (en) 2013-10-16

Family

ID=47691320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011152592A Expired - Fee Related JP5315386B2 (en) 2011-07-11 2011-07-11 Temperature measurement circuit

Country Status (1)

Country Link
JP (1) JP5315386B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016191652A (en) * 2015-03-31 2016-11-10 京セラドキュメントソリューションズ株式会社 Electronic equipment, control method of electronic equipment, and control program
US9897490B2 (en) 2014-03-27 2018-02-20 Socionext Inc. Temperature measurement device, integrated circuit, and temperature measurement method
CN108917968A (en) * 2018-07-24 2018-11-30 成都意科科技有限责任公司 A kind of High Precision Temperature Acquiring System
JP2021087039A (en) * 2019-11-25 2021-06-03 株式会社エヌエフホールディングス Charge amplifier circuit and measurement circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04186115A (en) * 1990-11-21 1992-07-02 Fujitsu Ltd Voltage detecting circuit
JP2001013011A (en) * 1999-06-30 2001-01-19 Toshiba Corp Temperature detecting circuit
JP2005147816A (en) * 2003-11-14 2005-06-09 Mitsubishi Electric Corp Temperature measuring apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04186115A (en) * 1990-11-21 1992-07-02 Fujitsu Ltd Voltage detecting circuit
JP2001013011A (en) * 1999-06-30 2001-01-19 Toshiba Corp Temperature detecting circuit
JP2005147816A (en) * 2003-11-14 2005-06-09 Mitsubishi Electric Corp Temperature measuring apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9897490B2 (en) 2014-03-27 2018-02-20 Socionext Inc. Temperature measurement device, integrated circuit, and temperature measurement method
JP2016191652A (en) * 2015-03-31 2016-11-10 京セラドキュメントソリューションズ株式会社 Electronic equipment, control method of electronic equipment, and control program
CN108917968A (en) * 2018-07-24 2018-11-30 成都意科科技有限责任公司 A kind of High Precision Temperature Acquiring System
JP2021087039A (en) * 2019-11-25 2021-06-03 株式会社エヌエフホールディングス Charge amplifier circuit and measurement circuit
JP7408129B2 (en) 2019-11-25 2024-01-05 株式会社エヌエフホールディングス Charge amplification circuit and measurement circuit

Also Published As

Publication number Publication date
JP5315386B2 (en) 2013-10-16

Similar Documents

Publication Publication Date Title
US8222955B2 (en) Compensated bandgap
US9599520B2 (en) Method for determining and operating temperature of an electronic component
JP5477261B2 (en) MOSFET current determination device
JP5464204B2 (en) Light emission drive device
JP5757772B2 (en) Semiconductor device and data generation method
JP2019132618A (en) Semiconductor device, load driving system, and current detection method for inductor current
JP5315386B2 (en) Temperature measurement circuit
CN110907807B (en) Chip circuit power consumption measuring circuit and method and chip
JP5596200B2 (en) Temperature compensation power supply voltage output circuit and method for variable power supply
JP5880493B2 (en) Temperature detection device
US20120133353A1 (en) Power-supply-voltage detecting circuit
US20050258995A1 (en) A/D converter, D/A converter and voltage source
WO2020003842A1 (en) Current detection device
CN110114638B (en) Analog input unit and reference voltage stabilizing circuit
EP4372342A1 (en) Temperature sensor calibration for electronic devices
JP3360814B2 (en) A / D converter
US10650946B1 (en) Trimming method of DCR sensing circuits
KR102694941B1 (en) Error compensation device for temperature sensor
JP4481983B2 (en) Power supply current measuring device and test device
JP5608328B2 (en) Constant current circuit and test device
US20240272011A1 (en) Temperature Sensor
US20220368288A1 (en) Amplifying Circuit and Voltage Generating Circuit
JP5904129B2 (en) Correction circuit and manufacturing method thereof
JPH11258278A (en) Voltage detection circuit
US11831326B2 (en) Analog-to-digital conversion system and analog-to-digital conversion method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130606

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130702

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130708

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5315386

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees