JP2015099089A - Magnetic sensor - Google Patents
Magnetic sensor Download PDFInfo
- Publication number
- JP2015099089A JP2015099089A JP2013239017A JP2013239017A JP2015099089A JP 2015099089 A JP2015099089 A JP 2015099089A JP 2013239017 A JP2013239017 A JP 2013239017A JP 2013239017 A JP2013239017 A JP 2013239017A JP 2015099089 A JP2015099089 A JP 2015099089A
- Authority
- JP
- Japan
- Prior art keywords
- hall element
- reference voltage
- voltage
- current
- converter
- 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
Links
Images
Landscapes
- Hall/Mr Elements (AREA)
- Measuring Magnetic Variables (AREA)
Abstract
Description
本発明は、ホール素子を用いた磁気センサに関し、より詳細には、ホール素子とその周辺回路が1つのシリコンチップ上に形成されているモノリシックICセンサに好適な磁気センサに関する。 The present invention relates to a magnetic sensor using a Hall element, and more particularly to a magnetic sensor suitable for a monolithic IC sensor in which a Hall element and its peripheral circuit are formed on one silicon chip.
従来から各種測定器や制御系におけるセンサとして、磁気・電気変換特性を有するホール素子が広く利用されている。磁気・電気変換特性の一つであるSN比(信号SとノイズNとの比)は、磁気センサの性能を示す重要な指標の1つである。ホール素子の磁気感度は、ホール素子に印加する電流に比例して大きくなるため、一定磁場条件下においてホール素子にて検出される電気信号(ホール電圧)は、ホール素子に供給する電流量に比例して大きくなる。一方、ホール素子で発生するノイズは、ホール素子の抵抗の熱雑音であらわされる。そのため、一定磁場条件及び測定帯域条件下におけるホール素子のSN比は、ホール素子に供給する電流量で決定されることとなる。 Conventionally, Hall elements having magnetic / electrical conversion characteristics have been widely used as sensors in various measuring instruments and control systems. The SN ratio (ratio between the signal S and the noise N), which is one of the magnetic / electrical conversion characteristics, is one of the important indexes indicating the performance of the magnetic sensor. Since the magnetic sensitivity of the Hall element increases in proportion to the current applied to the Hall element, the electrical signal (Hall voltage) detected by the Hall element under a constant magnetic field condition is proportional to the amount of current supplied to the Hall element. And get bigger. On the other hand, noise generated in the Hall element is expressed as thermal noise of the resistance of the Hall element. Therefore, the S / N ratio of the Hall element under a constant magnetic field condition and a measurement band condition is determined by the amount of current supplied to the Hall element.
そのため与えられた電圧ルームにおいて、効率よくホール素子に電流を供給する方式として定電圧駆動がよく使用される。例えば、電源電圧をVDDとし、グランドをVSSとしたとき、ホール素子の1つの端子をVDD電位、対向する端子をグランドVSS電位となるように一定電圧で駆動(以下、定電圧駆動)することにより、ホール素子に供給する電流を最大とすることができ、ホール素子のSN比を最大とすることができる。 Therefore, constant voltage driving is often used as a method for efficiently supplying current to the Hall element in a given voltage room. For example, when the power supply voltage is set to VDD and the ground is set to VSS, one terminal of the Hall element is driven at a constant voltage (hereinafter referred to as constant voltage driving) so as to be set to the VDD potential and the opposite terminal is set to the ground VSS potential. The current supplied to the Hall element can be maximized, and the SN ratio of the Hall element can be maximized.
しかし、シリコンホール素子を定電圧で駆動する場合、ホール素子の抵抗値が温度特性を有することにより、ホール素子で検出されるホール起電力が温度特性を有する。この点について以下で説明する。
シリコンホール素子の抵抗の温度特性は、以下の(1)式に示す温度に対する2次の式で近似することができる。
However, when the silicon Hall element is driven at a constant voltage, the Hall electromotive force detected by the Hall element has temperature characteristics because the resistance value of the Hall element has temperature characteristics. This will be described below.
The temperature characteristic of the resistance of the silicon Hall element can be approximated by a quadratic expression with respect to the temperature shown in the following expression (1).
RHA=R0+b・T+c・T2・・・(1)
ここで、Tは絶対温度、RHAはシリコンホール素子の抵抗値、R0はT=0での抵抗値、bは1次の温度係数、cは温度2次係数である。
このホール素子を定電圧駆動したとき、駆動電流IBは、ホール素子の対向する2端子において、1つの端子をVRH電位、対向する端子をVRL電位とした場合、以下の式(2)であらわされる。
RHA = R0 + b · T + c · T 2 (1)
Here, T is an absolute temperature, RHA is a resistance value of the silicon Hall element, R0 is a resistance value at T = 0, b is a primary temperature coefficient, and c is a temperature secondary coefficient.
When the Hall element is driven at a constant voltage, the drive current IB is expressed by the following equation (2) when one terminal is set to the VRH potential and the opposite terminal is set to the VRL potential in the two facing terminals of the Hall element. .
IB=(VRH―VRL)/RHA・・・(2)
このとき、ホール起電力VHは、以下の式(3)のように表される。
VH=B×IB×SI・・・(3)
ここで、Bは印加磁場、IBは駆動電流、SIは定電流感度である。
上述した式(3)は、式(1)と式(2)を用いて以下の式(4)であらわされる。
IB = (VRH−VRL) / RHA (2)
At this time, the Hall electromotive force VH is expressed as the following Expression (3).
VH = B × IB × SI (3)
Here, B is an applied magnetic field, IB is a drive current, and SI is a constant current sensitivity.
Expression (3) described above is expressed by Expression (4) below using Expression (1) and Expression (2).
VH=B×(VRH―VRL)/(R0+b・T+c・T2)×SI
・・・(4)
定電流感度SIは、温度に対して1次の温度特性を有しており、以下の式(5)で与えられる。
SI=S0×(1+d・T)・・・(5)
ここで、S0はT=0での電流感度、dは電流感度の1次温度の係数である。
VH = B × (VRH−VRL) / (R0 + b · T + c · T 2 ) × SI
... (4)
The constant current sensitivity SI has a first-order temperature characteristic with respect to temperature, and is given by the following equation (5).
SI = S0 × (1 + d · T) (5)
Here, S0 is the current sensitivity at T = 0, and d is the coefficient of the primary temperature of the current sensitivity.
このとき、式(4)は、式(5)を用いて以下の式(6)であらわされる。
VH=B×(VRH―VRL)/(R0+b・T+c・T2)×S0(1+d・T)・・・(6)
ホール素子の抵抗と定電流感度との温度特性の積は、1次と2次の係数で近似することができるため、式(6)は、以下の式(7)であらわされる。
At this time, Expression (4) is expressed by Expression (6) below using Expression (5).
VH = B × (VRH−VRL) / (R0 + b · T + c · T 2 ) × S0 (1 + d · T) (6)
Since the product of the temperature characteristics of the Hall element resistance and the constant current sensitivity can be approximated by a first-order coefficient and a second-order coefficient, Expression (6) is expressed by the following Expression (7).
VH=B×R0×S0×(VRH―VRL)×(1+e・T+f・T2)
・・・(7)
この式(7)より、シリコンホール素子を定電圧駆動することにより、検出される起電力は、2次の温度特性を有することがわかる。
ホール素子を用いた磁気センサは、比較的温度変化の大きな環境にて使用されることがあるため、上述したように、ホール起電力は2次の温度依存性を有している。ホール素子の磁気・電気変換特性の温度変動に対して、安定した出力が得られるようにするため種々の温度補償回路が提案されている。
VH = B × R0 × S0 × (VRH−VRL) × (1 + e · T + f · T 2 )
... (7)
From this equation (7), it can be seen that the electromotive force detected by driving the silicon Hall element at a constant voltage has a secondary temperature characteristic.
Since a magnetic sensor using a Hall element may be used in an environment with a relatively large temperature change, as described above, the Hall electromotive force has a secondary temperature dependency. Various temperature compensation circuits have been proposed in order to obtain a stable output against temperature fluctuations in the magnetic / electrical conversion characteristics of the Hall element.
例えば、特許文献1は、ホール素子とその周辺回路を一つの半導体チップ上に有するモノリシックIC化された磁気センサにおいて、製造ばらつきにかかわらずホール素子の磁気−電気変換特性の温度依存性を有効に補償することが可能な磁気検出回路に関するもので、ホール素子を定電圧で駆動するとともに、Y=aT2+b又はY=aT2+bT(a、bは定数、Tは絶対温度)で表わされる温度依存性を持つ電圧をホール素子に駆動電圧として印加する、又は、増幅器のゲインに温度依存性を持たせることで、ホール素子の磁気−電気変換特性の温度依存性を補償することが記載されている。
また、例えば、特許文献2には、集積回路内においてホール素子を定電圧で駆動し、磁気−電気変換された電気信号を増幅するトランスコンダクタンス型増幅器の負荷にホール素子と同種の構造の抵抗を用いることで温度補償をすることが記載されている。
For example, in
Further, for example, in Patent Document 2, a Hall element is driven at a constant voltage in an integrated circuit, and a resistance of the same type as that of the Hall element is applied to a load of a transconductance amplifier that amplifies an electric signal that has been converted into a magnetic signal. It is described that temperature compensation is performed by using it.
しかしながら、上述した特許文献1では、2次の温度特性を有する温度補償電圧を、バンドキャップ回路を用いて、1次の温度特性をもつ電圧で2次の温度特性をもつ電圧を生成しており、演算回路の構成が複雑となるという問題がある。また、製造プロセスにおいて、ホール素子とバンドキャップ回路の製造パラメータに相関がほとんどないため、磁気感度の温度補償の観点で、製造ばらつきに有感な回路構成となっている。
However, in
また、上述した特許文献2では、定電流感度SIの温度特性を補償する機能は有しておらず、ホール素子の磁気感度をほぼ完全に温度補償することができないという問題がある。
本発明は、このような問題に鑑みてなされたもので、その目的とするところは、定電圧駆動のホール素子にて検出されたホール起電力信号を簡易な構成で温度補償が可能な磁気センサを提供することにある。
Further, the above-described Patent Document 2 has a problem that it does not have a function of compensating the temperature characteristic of the constant current sensitivity SI, and the magnetic sensitivity of the Hall element cannot be compensated for temperature almost completely.
The present invention has been made in view of such problems, and an object of the present invention is to provide a magnetic sensor capable of temperature compensation with a simple configuration for a Hall electromotive force signal detected by a Hall element driven by a constant voltage. Is to provide.
本発明は、このような目的を達成するためになされたもので、請求項1に記載の発明は、周囲の磁場変動に応じて磁場検出を行う検出用ホール素子(1a)と、該検出用ホール素子(1a)によるホール起電力信号のアナログ信号をデジタル信号にAD変換するAD変換器(3)と、該AD変換器(3)へ出力する参照電圧(ADVR)を生成する参照電圧生成回路(4)とを備え、該参照電圧生成回路(4)が、レプリカホール素子(41a)で生成した前記参照電圧(ADVR)を生成し、前記AD変換器(3)が、前記レプリカホール素子(41a)で生成された前記参照電圧(ADVR)を用いてAD変換することを特徴とする磁気センサである。(図1乃至図7;実施形態及び全実施例)
The present invention has been made to achieve such an object, and the invention according to
また、請求項2に記載の発明は、請求項1に記載の発明において、前記参照電圧生成回路(4)が、所定電圧(Vs)と前記レプリカホール素子(41a)とにより参照電流(IR1,IR2)を生成し、該参照電流(IR1,IR2)を電流・電圧変換して前記参照電圧(ADVR)を生成することを特徴とする。(図3乃至図6;実施例1,2)
また、請求項3に記載の発明は、請求項2に記載の発明において、前記参照電流(IR1,IR2)を生成する参照電流生成回路(41)と、前記参照電圧(ADVR)を生成するI−V変換器(42)とを備えていることを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, the reference voltage generation circuit (4) includes a reference current (IR1, IR1) generated by a predetermined voltage (Vs) and the replica Hall element (41a). IR2) is generated, and the reference voltage (ADVR) is generated by converting the reference current (IR1, IR2) into current and voltage. (FIGS. 3 to 6; Examples 1 and 2)
According to a third aspect of the present invention, in the second aspect of the present invention, a reference current generation circuit (41) that generates the reference currents (IR1, IR2) and an I that generates the reference voltage (ADVR). -V converter (42).
また、請求項4に記載の発明は、請求項2又は3に記載の発明において、前記所定電圧(Vs)が、1次の温度依存性を有する電圧であることを特徴とする。(図6;実施例2)
また、請求項5に記載の発明は、請求項4に記載の発明において、前記1次の温度依存性を有する前記所定電圧(Vs=VRT)を生成する温度1次係数発生回路(5)を備え、前記参照電圧生成回路(4)が、前記所定電圧(VRT)/前記レプリカホール素子(41a)の抵抗(RDHA)に比例する前記参照電流(IR1,IR2)を生成し、前記電流・電圧変換して前記参照電圧(ADVR)を生成することを特徴とする。
The invention according to claim 4 is the invention according to
According to a fifth aspect of the present invention, there is provided the first-order temperature coefficient generation circuit (5) for generating the predetermined voltage (Vs = VRT) having the first-order temperature dependency in the fourth aspect of the invention. The reference voltage generation circuit (4) generates the reference current (IR1, IR2) proportional to the predetermined voltage (VRT) / the resistance (RDHA) of the replica Hall element (41a), and the current / voltage The reference voltage (ADVR) is generated by conversion.
また、請求項6に記載の発明は、請求項1乃至5のいずれかに記載の発明において、前記AD変換器(3)が、入力信号(VIN)に対して前記参照電圧(ADVR)を、正転又は反転して積分しながら加算する入力加算器(31)と、該入力加算器(31)からの加算入力信号を増幅して所定の振幅を有するアナログ出力信号を生成し、該アナログ出力信号の振幅の大きさを所定電圧と比較して判定するアナログ出力信号判定部(32)と、該アナログ出力信号判定部(32)からのアナログ出力信号の大きさの判定結果を示す信号に基づいて計数値を算出し、該計数値をデジタル信号(DT)として出力するデジタル信号出力部(33)とを備え、該デジタル信号出力部(33)からの出力により、前記入力加算部(31)において、前記入力信号(VIN)に対する前記参照電圧(ADVR)の極性を切り替えて加算することを特徴とする。(図2,図6;実施例1,2) According to a sixth aspect of the present invention, in the invention according to any one of the first to fifth aspects, the AD converter (3) may provide the reference voltage (ADVR) to the input signal (VIN). An input adder (31) that performs normal addition or inversion and addition while integrating, an addition input signal from the input adder (31) is amplified to generate an analog output signal having a predetermined amplitude, and the analog output Based on an analog output signal determination unit (32) that determines the amplitude of the signal by comparing it with a predetermined voltage, and a signal that indicates the determination result of the magnitude of the analog output signal from the analog output signal determination unit (32) A digital signal output unit (33) for calculating a count value and outputting the count value as a digital signal (DT), and the input adder unit (31) by an output from the digital signal output unit (33) Before Characterized by adding to switch the polarity of the reference voltage to the input signal (VIN) (ADVR). (FIGS. 2 and 6; Examples 1 and 2)
また、請求項7に記載の発明は、請求項1乃至6のいずれかに記載の発明において、前記AD変換器(3)が、前記入力加算部(31)として積分器(31a;図2)を備えた積分型AD変換器で、前記参照電圧生成回路(4)は、コモン電圧(VCOM)に対して、前記参照電圧(ADVR)として正側の参照電圧(ADVRH)と負側の参照電圧(ADVRL)を生成することを特徴とする。(図4,図5;実施例1)
The invention according to claim 7 is the invention according to any one of
また、請求項8に記載の発明は、請求項1乃至7のいずれかに記載の発明において、前記I−V変換器(42)が、前記参照電流生成回路(41)で生成された一方の前記参照電流(IR1)に基づいた電流(IRP)が流れる第1の抵抗(R1)と、前記参照電流生成回路(41)で生成された他方の前記参照電流(IR2)に基づいた電流(IRN)が流れる第2の抵抗(R2)とを備え、前記第1の抵抗(R1)と前記第2の抵抗(R2)のタップからコモン電圧(VCOM)に対して、前記参照電圧(ADVR)として正側の参照電圧(ADVRH)と負側の参照電圧(ADVRL)を生成することを特徴とする。(図4,図5;実施例1)
The invention according to claim 8 is the invention according to any one of
また、請求項9に記載の発明は、請求項8に記載の発明において、前記第1の抵抗(R1)と前記第2の抵抗(R2)の抵抗を調整する制御回路(43)を備えていることを特徴とする。(図5;実施例1)
また、請求項10に記載の発明は、請求項1乃至9のいずれかに記載の発明において、前記検出用ホール素子(1a)と前記レプリカホール素子(41a)とが、同一ICチップ上に形成されていることを特徴とする。
The invention according to claim 9 is the invention according to claim 8, further comprising a control circuit (43) for adjusting the resistances of the first resistor (R1) and the second resistor (R2). It is characterized by being. (FIG. 5; Example 1)
The invention according to claim 10 is the invention according to any one of
また、請求項11に記載の発明は、請求項1乃至10のいずれかに記載の発明において、前記レプリカホール素子(41a)が、複数個直列に接続されていることを特徴とする。
また、請求項12に記載の発明は、請求項1乃至11のいずれかに記載の発明において、前記検出用ホール素子が、複数個設けられていることを特徴とする。
The invention according to claim 11 is the invention according to any one of
The invention according to claim 12 is the invention according to any one of
本発明によれば、参照電圧生成回路が、レプリカホール素子で生成した参照電圧を生成し、AD変換器が、レプリカホール素子で生成された参照電圧を用いてAD変換するようにしたので、定電圧駆動のホール素子にて検出されたホール起電力信号を簡易な構成で温度補償が可能な磁気センサを実現することができる。 According to the present invention, the reference voltage generation circuit generates the reference voltage generated by the replica Hall element, and the AD converter performs AD conversion using the reference voltage generated by the replica Hall element. It is possible to realize a magnetic sensor capable of compensating the temperature of the Hall electromotive force signal detected by the voltage-driven Hall element with a simple configuration.
以下、図面を参照して本発明の実施の形態について説明する。
[実施形態]
図1は、本発明に係る磁気センサの実施形態を説明するための回路構成図である。図中符号1はホール素子駆動回路、1aは検出用ホール素子、2は増幅器、3はAD変換器、4は参照電圧生成回路、41aはレプリカホール素子を示している。
Embodiments of the present invention will be described below with reference to the drawings.
[Embodiment]
FIG. 1 is a circuit configuration diagram for explaining an embodiment of a magnetic sensor according to the present invention. In the figure,
本発明の磁気センサは、ホール素子駆動回路1と増幅器2とAD変換器3と参照電圧生成回路4とを備えており、ホール素子駆動回路1は検出用ホール素子1aを備え、参照電圧生成回路4はレプリカホール素子14aを備えている。なお、レプリカホール素子とは、検出用ホール素子と同じ半導体基板上に形成され、検出用ホール素子によるホール起電力信号をAD変換する際の参照電圧を生成するためのホール素子である。
The magnetic sensor of the present invention includes a hall
また、ホール素子駆動回路1は、検出用ホール素子1aと、この検出用ホール素子1aの上部電圧源と、検出用ホール素子1aの下部電圧源(図示せず)で構成されており、印加された磁場Bを電圧に変換して次段の増幅器に出力するものである。
また、検出用ホール素子1aは、周囲の磁場変動に応じて磁場検出を行うもので、抵抗ブリッジ回路としてあらわすことができ、この抵抗ブリッジ回路の対角の2端子間が検出用ホール素子1aの上部電圧源(VRH)と検出用ホール素子1aの下部電圧源(VRL)に接続されることとなり、印加電圧(VRH−VRL)と検出用ホール素子1aの抵抗値(RHA)に基づいた電流が検出用ホール素子1aに流れる。この電流が流れた状態で周囲の磁場が変動すると、他の対角の2端子間(VHP,VHN)に磁場の変動に応じたホール起電力(VHP−VHN)が生ずる。これにより磁場の変動を検出することができる。
The Hall
The
また、増幅器2では、ホール素子駆動回路1から出力されたホール起電力信号を、後段のAD変換器(ADC)にてAD変換が可能な振幅となるように信号増幅をおこなうもので、差動出力であってもシングルエンドの出力であってもよい。
また、AD変換器3は、検出用ホール素子1aによるホール起電力信号のアナログ信号をデジタル信号にAD変換し、増幅器2から出力されるホール起電力信号を、参照電圧ADVRを用いてデジタル信号へと変換を行う。このAD変換器3としては、入力信号VINと参照電圧ADVRの電圧の比に応じてAD変換値が決まるものであればタイプの指定はなく、積分型AD変換器やΔΣAD変換器などが挙げられる。
The amplifier 2 performs signal amplification so that the Hall electromotive force signal output from the Hall
The
また、参照電圧生成回路4は、AD変換器3へ出力する参照電圧ADVRを生成するもので、例えば、基準電圧生成回路(図示せず)などから出力された所定電圧Vsを用いて、AD変換器用の参照電圧ADVRを生成する。または、参照電圧生成回路4の内部に、基準電圧生成回路を含む構成であってもよい。また、参照電圧生成回路4は、差動出力であってもシングルエンドの出力であってもよい。
The reference voltage generation circuit 4 generates a reference voltage ADVR to be output to the
このように、参照電圧生成回路4は、レプリカホール素子41aで生成した参照電圧ADVRを生成し、AD変換器3は、レプリカホール素子41aで生成された参照電圧ADVRを用いてAD変換するように構成されている。
つまり、参照電圧生成回路4は、レプリカホール素子41aで生成した参照電圧ADVRを生成する。具体的には、所定電圧Vsとレプリカホール素子41aの抵抗値RHAとにより参照電流IRを生成し、I−V変換して参照電圧AVDRを生成する。また、レプリカホール素子41aも、検出用ホール素子1aと同様に、抵抗値が温度依存性を有している。
Thus, the reference voltage generation circuit 4 generates the reference voltage ADVR generated by the
That is, the reference voltage generation circuit 4 generates the reference voltage ADVR generated by the
また、検出用ホール素子1aとレプリカホール素子41aとは、同一ICチップ上に形成されていることが好ましい。また、レプリカホール素子41aは、複数個直列に接続されていてもよい。また、検出用ホール素子は、複数個設けられていてもよい。
次に、レプリカホール素子41aを用いて参照電圧ADVRを生成し、AD変換器3でAD変換することで、ホール起電力の温度依存を補償することができることについて説明する。
Further, it is preferable that the
Next, it will be described that the reference voltage ADVR is generated using the
AD変換器3の出力コードDTは、ホール起電力VHと参照電圧ADVRを用いて、以下の関係式(8)であらわされる。
DT∝VH/ADVR・・・(8)
本実施形態において、参照電圧ADVRは参照電流IRに比例し、この参照電流IRは、所定電圧Vs/レプリカホール素子抵抗値RDHAに比例するため、参照電圧ADVRは、Vs/RHALに比例する。
The output code DT of the
DT∝VH / ADVR (8)
In the present embodiment, the reference voltage ADVR is proportional to the reference current IR, and the reference current IR is proportional to the predetermined voltage Vs / replica Hall element resistance value RDHA. Therefore, the reference voltage ADVR is proportional to Vs / RHAL.
よって、温度依存の項だけ取り出せば、VH∝SI/RHA(式(4)より)、ADVR∝1/RHALであるため、レプリカホール素子41aも検出用ホール素子1aと同様の温度依存性を有しているならば、AD変換器3の出力コードDTは、以下の式(9)となる。
DT∝VH/ADVR
∝(SI/RHA)/(1/RHAL)
∝SI・・・(9)
定電流感度SIも、上述したように(式(5))、1次の温度特性を有するが、検出用ホール素子1aの抵抗値の温度依存に関する2次の項の方が、影響が大きい。そのため、本実施形態において、十分に温度補償を行うことができるのである。
Therefore, if only the temperature-dependent term is taken out, VH∝SI / RHA (from Equation (4)) and ADVR∝1 / RHAL, so that the
DT∝VH / ADVR
∝ (SI / RHA) / (1 / RHAL)
∝SI ... (9)
As described above (Expression (5)), the constant current sensitivity SI also has a first-order temperature characteristic, but the second-order term relating to the temperature dependence of the resistance value of the
さらに、参照電圧ADVRにおいて、所定電圧Vsに1次の温度特性を持たせれば、出力コードDTの温度依存性をより正確に補償することができる。1次の温度特性を有する所定電圧をVs’とすると、出力コードDTは、以下の式(10)となる。
DT∝VH/ADVR
∝(SI/RHA)/(Vs’/RHAL)
∝SI/Vs’・・・(10)
Vs’にSIと同じ温度依存性を持たせれば、正確な温度補償を行うことが可能となる。
Further, in the reference voltage ADVR, if the predetermined voltage Vs has a primary temperature characteristic, the temperature dependence of the output code DT can be compensated more accurately. When the predetermined voltage having the primary temperature characteristic is Vs ′, the output code DT is expressed by the following equation (10).
DT∝VH / ADVR
∝ (SI / RHA) / (Vs' / RHAL)
∝SI / Vs' (10)
If Vs ′ has the same temperature dependency as SI, accurate temperature compensation can be performed.
また、AD変換器3で温度補償を行うため、広い温度範囲において定電圧駆動を用いて検出用ホール素子1aに十分な電流量を供給することができ、この検出用ホール素子1aのSN比を高めることができる。比較的簡素な回路構成にて検出した電圧信号をほぼ完全に温度補償することが可能となる。
次に、図1で説明した本実施形態に基づいた各実施例について詳細に説明する。
In addition, since the
Next, each example based on the present embodiment described in FIG. 1 will be described in detail.
図2は、本発明に係る磁気センサの実施例1を説明するための回路構成図である。図中符号31は入力加算部、31aは積分器、32はアナログ出力信号判定部、32aはコンパレータ、33はデジタル信号出力部、33aはフリップフロップ(FF)、33bはカウンタを示している。なお、図1と同じ機能を有する構成要素には同一の符号を付してある。
FIG. 2 is a circuit configuration diagram for explaining Example 1 of the magnetic sensor according to the present invention. In the figure,
AD変換器3は、入力信号VINに対して参照電圧ADVRを、正転又は反転して積分しながら加算する入力加算器31と、この入力加算器31からの加算入力信号を増幅して所定の振幅を有するアナログ出力信号を生成し、このアナログ出力信号の振幅の大きさを所定電圧と比較して判定するアナログ出力信号判定部32と、このアナログ出力信号判定部32からのアナログ出力信号の大きさの判定結果を示す信号に基づいて計数値を算出し、この計数値をデジタル信号DTとして出力するデジタル信号出力部33とを備えている。
The
そして、デジタル信号出力部33からの出力により、入力加算部31において、入力信号VINに対する参照電圧ADVRの極性を切り替えて加算するように構成されている。
つまり、本実施例1の磁気センサは、ホール素子駆動回路1と増幅器2とAD変換器3と参照電圧生成回路4とを備えている。本実施例1では、AD変換器3として、積分型AD変換器の例を示している。また、AD変換器3は、入力加算部31とアナログ出力信号判定部32とデジタル信号出力部33とを備えている。
The
That is, the magnetic sensor of the first embodiment includes the Hall
入力加算部31は、積分器31aを備え、入力信号VINに対して参照電圧ADVRを、正転又は反転して積分しながら加算することにより、加算入力信号を生成する機能を有している。
また、アナログ出力信号判定部32は、コンパレータ32aを備え、まず、積分器31aにおいて加算入力信号を増幅して所定の振幅を有するアナログ出力信号を生成し、次に、コンパレータ32aにおいて、この生成されたアナログ出力信号の振幅の大きさを所定電圧と比較して判定する機能を有している。
The
The analog output
また、デジタル信号出力部33は、FF33aとカウンタ33bとを備え、アナログ出力信号の大きさの判定結果を示す信号に基づいて計数処理を実行し、これにより算出された所定の計数値をデジタル信号DTとして出力する機能を有している。また、FF33aの出力により、入力加算部31において、入力信号VINに対する参照電圧ADVRの極性を切り替えて加算する。
The digital
AD変換器3について、この例では、入力信号VINと参照電圧ADVRを同じタイミングで積分する例を説明するが、入力信号VINと参照電圧ADVRが別々のタイミングで積分される2重積分タイプでもよい。
次に、本実施例1の磁気センサの動作の概要について説明する。
ホール素子駆動回路1において、検出用ホール素子1aの2端子(VRH,VRL)それぞれに基準電圧発生回路から生成された電圧VRH、VRLが印加されたとき、以下の式(11)に示すように、検出用ホール素子1aには、この検出用ホール素子1aの2端子間の電位差VR(=VRH−VRL)と検出用ホール素子1aの抵抗値(RHA)に基づいた電流ICが流れる。
In this example, the
Next, an outline of the operation of the magnetic sensor of the first embodiment will be described.
In the Hall
IC=VR/RHA・・・(11)
このとき、他の対角の2端子間(VHP、VHN)で生じるホール電圧VH(VHP−VHN)は、印加磁束密度Bと、定電流磁気感度SIと検出用ホール素子1aに流れる電流ICを用いて、以下の式(12)であらわされる。
VH=SI×IC×B=SI×VR/RHA×B・・・(12)
次に、増幅器2において、電圧信号VHを、増幅器2の電圧利得に応じて増幅する。増幅器2のDCゲインをAとすると、増幅器2に出力される入力信号VINは、以下の式(13)であらわされる。
IC = VR / RHA (11)
At this time, the Hall voltage VH (VHP−VHN) generated between the other two diagonal terminals (VHP, VHN) includes the applied magnetic flux density B, the constant current magnetic sensitivity SI, and the current IC flowing through the
VH = SI × IC × B = SI × VR / RHA × B (12)
Next, in the amplifier 2, the voltage signal VH is amplified according to the voltage gain of the amplifier 2. When the DC gain of the amplifier 2 is A, the input signal VIN output to the amplifier 2 is expressed by the following equation (13).
VIN=VH×A=SI×VR/RHA×B×A・・・(13)
続いて、AD変換器3での動作について説明する。まず、AD変換器3において、入力値を積分する機能について説明する。
例えば、8.192MegHzのサンプリングクロックで、0.5mSec、212=4096回積分した場合、DC信号の積分動作にだけ着目すれば、入力信号VINを積分した出力Vsoutは、以下の式(14)であらわされる。
VIN = VH × A = SI × VR / RHA × B × A (13)
Next, the operation in the
For example, in the case of integrating 0.5 mSec, 2 12 = 4096 times with a sampling clock of 8.192 MegHz, focusing only on the integration operation of the DC signal, the output Vsout obtained by integrating the input signal VIN is expressed by the following equation (14): It is expressed.
Vsout=VIN×4096×(Ci/Co)・・・(14)
ここで、Ciは入力側のサンプリングコンデンサの容量値であり、Coは積分コンデンサの容量値である。
次に、AD変換処理を行うための参照電圧ADVRの加減算動作について説明する。
AD変換処理を行うためには、積分された入力信号VINと同じ量の電荷を加減算する。仮に、Nuは、デジタル信号出力部33で、参照電圧ADVRを減算した回数とする。Ndは、デジタル信号出力部33で、参照電圧ADVRを加算した回数とする。そのとき、以下の式(15)のように、アナログ出力信号判定部32のアナログ出力信号が、ほぼ0となっているときの加減算した回数が、デジタル信号出力部のAD変換値となる。
Vsout = VIN × 4096 × (Ci / Co) (14)
Here, Ci is the capacitance value of the sampling capacitor on the input side, and Co is the capacitance value of the integration capacitor.
Next, the addition / subtraction operation of the reference voltage ADVR for performing AD conversion processing will be described.
In order to perform AD conversion processing, the same amount of charge as the integrated input signal VIN is added or subtracted. Temporarily, Nu is the number of times that the digital
Vsout+ADVR(Nd−Nu)≒0
AD変換値NOUT=Nu−Nd・・・(15)
ここで、Vsout=0とすると、入力を4096回積分した結果と、参照電圧ADVRを加減算しながら積分した結果とは同じ値になるので、以下の式(16)が成り立つ。
4096×(Ci/Co)×VIN
=(Cr/Co)×ADVR×(Nu―Nd)
=(Cr/Co)×ADVR×NOUT・・・(16)
ここで、CrはADVR側のサンプリングコンデンサの容量値であり、Ciは入力側のサンプリングコンデンサの容量値であり、Coは積分コンデンサの容量値である。
Vsout + ADVR (Nd−Nu) ≈0
AD conversion value NOUT = Nu−Nd (15)
Here, if Vsout = 0, the result obtained by integrating the input 4096 times and the result obtained by integrating the reference voltage ADVR while adding / subtracting have the same value, the following equation (16) holds.
4096 x (Ci / Co) x VIN
= (Cr / Co) x ADVR x (Nu-Nd)
= (Cr / Co) x ADVR x NOUT (16)
Here, Cr is the capacitance value of the sampling capacitor on the ADVR side, Ci is the capacitance value of the sampling capacitor on the input side, and Co is the capacitance value of the integration capacitor.
AD変換値NOUTは、上述したように、アップのカウント数Nuからダウンのカウント数Ndを引いた値となり、以下の式(17)であらわされる。
NOUT=4096×(Ci/Cr)×VIN/ADVR・・・(17)
AD変換値NOUTは、ADVRに対するVINの比を用いて求められる。よって、NOUT∝VH/ADVRであり、叙述したように、温度変動しても、ADVRで温度補償することができる。
As described above, the AD conversion value NOUT is a value obtained by subtracting the down count number Nd from the up count number Nu, and is expressed by the following equation (17).
NOUT = 4096 × (Ci / Cr) × VIN / ADVR (17)
The AD conversion value NOUT is obtained using the ratio of VIN to ADVR. Therefore, NOUT∝VH / ADVR. As described above, even if the temperature fluctuates, the temperature can be compensated by ADVR.
ここで、Ci=Crとすると、AD変換値NOUT=−4096〜+4095ならば、正常に13ビットのAD変換ができる。なお、AD変換値NOUT>+4095ならば、オーバーフローであり、AD変換値NOUT<−4096ならば、アンダーフローとなる。
図3は、図2に示した実施例1おける参照電圧生成回路の具体的な回路構成図である。図中符号41は参照電流生成回路、41bは第1の増幅器、41cは参照用PMOS、41dは参照電流源、42はI−V変換器を示している。なお、図2と同じ機能を有する構成要素には同一の符号を付してある。
Here, assuming that Ci = Cr, if AD conversion value NOUT = −4096 to +4095, 13-bit AD conversion can be normally performed. If the AD conversion value NOUT> +4095, an overflow occurs, and if the AD conversion value NOUT <−4096, an underflow occurs.
FIG. 3 is a specific circuit configuration diagram of the reference voltage generation circuit in the first embodiment shown in FIG. In the figure,
参照電圧生成回路4は、所定電圧Vsとレプリカホール素子41aとにより参照電流IR1,IR2を生成し、この参照電流IR1,IR2を電流・電圧変換して参照電圧ADVRを生成する。
つまり、参照電圧生成回路4は、参照電流IR1,IR2を生成する参照電流生成回路41と、参照電圧ADVRを生成するI−V変換器42とを備えている。
The reference voltage generation circuit 4 generates reference currents IR1 and IR2 by using the predetermined voltage Vs and the
That is, the reference voltage generation circuit 4 includes a reference
また、参照電流生成回路41は、レプリカホール素子41aと、第1の増幅器41bと、この第1の増幅器41bに接続された参照用PMOS41cと、この参照用PMOS41cに接続された参照用電流源41dとを備え、所定電圧Vsとレプリカホール素子41aの抵抗値RHALとにより基準電流IR1,IR2を生成する。検出用ホール素子(図2の1a)の電圧VRH及びVRLと所定電圧Vsとは、同一の基準電圧源によりそれぞれ生成されるように構成されていることがマッチングの観点から好ましい。
The reference
また、レプリカホール素子41aは、2個直列に接続した形態であってもよく、複数個でもよく、並列接続、直列接続又はそれらの組み合わせであってもよい。レプリカのホール素子41aの抵抗値は、検出用ホール素子1aの抵抗値と略同一の温度特性を有している。例えば、レプリカホール素子41aと検出用ホール素子1aとが、同一のICチップ上に形成されている場合などは、両者の抵抗値の温度特性はほぼ同一となる。さらに、両者のホール素子をなるべく近づけて配置することによって、抵抗値の温度特性はより同一に近づくため好ましい。
Further, two
また、第1の増幅器41bの正入力端子IN1は、IN1に入力される所定電圧Vsを生成する基準電圧生成回路(図示せず)に接続され、負入力端子は、レプリカホール素子41aの第1端子が接続され、出力端子は、参照用PMOS41cのゲート端子及び参照用電流源41dのゲート端子に接続されている。
また、レプリカホール素子41aの第1端子は、第1の増幅器41bの負入力端子と、参照用PMOS41cのドレイン端子に接続されて、第2端子は接地端子に接続されている。
The positive input terminal IN1 of the
The first terminal of the
また、参照用PMOS41cのドレイン端子は、第1の増幅器41bの負入力端子と、レプリカホール素子41aの第1端子に接続され、ゲート端子は、第1の増幅器41bの出力端子に接続され、ソース端子は、電源端子(VDD)に接続されている。
また、参照用電流源41dのドレイン端子は、I−V変換器42に接続され、ゲート端子は、第1の増幅器41bの出力端子に接続され、ソース端子は、電源端子(VDD)に接続されている。
The drain terminal of the
The drain terminal of the reference
また、I−V変換器42は、図示するように抵抗素子であり、電流値を電圧に変換してADVRとして出力する。
次に、図3における参照電圧生成回路4の動作について以下に説明する。
まず、参照電流生成回路41で出力される電流IR2について説明する。
第1の増幅器41bの正入力端子IN1に、所定電圧Vsが印加される。仮想接地により、レプリカホール素子41aの第1端子の電圧VDRは、第1の増幅器41bの正入力端子と同電位となる。
Further, the
Next, the operation of the reference voltage generation circuit 4 in FIG. 3 will be described below.
First, the current IR2 output from the reference
A predetermined voltage Vs is applied to the positive input terminal IN1 of the
また、レプリカホール素子41aの第2端子は、接地端子に接続されるため、レプリカホール素子41aの第1端子と第2端子間には、所定電圧Vsが印加される。レプリカホール素子41aの抵抗値をRHALとすると、オームの法則により、以下の式(18)に示す電流IR1が、レプリカホール素子に流れる。
IR1=Vs/RHAL・・・(18)
このとき、正入力端子IN1には、温度に対してほぼ一定となる電圧Vsが与えられる。
Further, since the second terminal of the
IR1 = Vs / RHAL (18)
At this time, a voltage Vs that is substantially constant with respect to temperature is applied to the positive input terminal IN1.
また、参照用PMOS41cにおいて、電流IR1を、ドレイン端子−ソース端子間に流し、ゲート端子を出力することにより、電流−電圧変換をおこなう。
また、参照用電流源41dでは、電流IR1の複製がおこなわれ、参照用PMOS41cとのアスペクト比に基づいた電流IR2が流れる。ここで、参照用電流源41dと参照用PMOS41cとのアスペクト比をNとすると、参照用電流源41dに流れる電流IR2は、以下の式(19)で与えられる。
In the
In the reference
IR2=IR1×N=Vs/RHAL×N・・・(19)
また、I−V変換器42で、電流IR2が電圧に変換されて、以下の式(20)で示す参照電圧ADVRが生成される。
ADVR=IR2×R=Vs×N×R/RHAL・・・(20)
生成されたADVRの温度依存の項は、上述したように、ADVR∝1/RHALとなり、検出用ホール素子1aの温度変動をAD変換器3において補償することが可能となる。
IR2 = IR1 × N = Vs / RHAL × N (19)
Further, the current IR2 is converted into a voltage by the
ADVR = IR2 × R = Vs × N × R / RHAL (20)
As described above, the temperature-dependent term of the generated ADVR is ADVR よ う 1 / RHAL, and the
図4は、図2に示した実施例1おける参照電圧生成回路の他の具体的な回路構成図である。図中符号41a1,41a2は複数のレプリカホール素子、42aは第2の増幅器、42bは駆動PMOS電流源、42cは参照用NMOS、42dは駆動NMOS電流源を示している。なお、図3と同じ機能を有する構成要素には同一の符号を付してある。
図2に示すAD変換器3は、入力加算部31として積分器31aを備えた積分型AD変換器で、参照電圧生成回路4は、コモン電圧VCOMに対して、参照電圧ADVRとして正側の参照電圧ADVRHと負側の参照電圧ADVRLを生成する。
FIG. 4 is another specific circuit configuration diagram of the reference voltage generation circuit in the first embodiment shown in FIG. In the figure, reference numerals 41a1 and 41a2 denote a plurality of replica Hall elements, 42a denotes a second amplifier, 42b denotes a driving PMOS current source, 42c denotes a reference NMOS, and 42d denotes a driving NMOS current source. In addition, the same code | symbol is attached | subjected to the component which has the same function as FIG.
The
また、I−V変換器42は、参照電流生成回路41で生成された一方の参照電流IR1に基づいた電流IRPが流れる第1の抵抗R1と、参照電流生成回路41で生成された他方の参照電流IR2に基づいた電流IRNが流れる第2の抵抗R2とを備え、第1の抵抗R1と第2の抵抗R2のタップからコモン電圧VCOMに対して、参照電圧ADVRとして正側の参照電圧ADVRHと負側の参照電圧ADVRLを生成する。
The
図4に示した参照電圧発生回路4は、参照電流発生回路41とI−V変換器42とを備え、このI−V変換器42は、参照用NMOS42cと、駆動NMOS電流源42dと、駆動PMOS電流源42bと、参照抵抗R1,R2と、第2の増幅器42aとを備えている。
つまり、抵抗に供給するための基準電流IR1,IR2を生成するホール素子を備えた参照電流発生回路41と、この参照電流発生回路41で生成された参照電流IR1,IR2に基づいて、参照抵抗R1及び参照抵抗R2の駆動電流IRP,IRNを決定する駆動用PMOS電流源42bと駆動用NMOS電流源42dとを備えている。また、参照抵抗R1と参照抵抗R2との接続点の電位を供給するための第2の増幅器42aを備えている。
The reference voltage generation circuit 4 shown in FIG. 4 includes a reference
That is, the reference
また、参照電流発生回路41は、所定電圧Vsとレプリカホール素子41aの抵抗値とにより参照電流IR1,IR2を生成する。また、レプリカホール素子41aは、2個以上直列に接続されたレプリカホール素子41a1,41a2から構成されている。
図4に示した参照電流発生回路41は、図3の場合と異なり、レプリカホール素子を2個直列に繋げていること以外は、図3の場合と同様である。
The reference
Unlike the case of FIG. 3, the reference
また、参照電圧発生回路4では、参照電流発生回路41で生成された参照電流IR1に基づいた電流IRPが、参照用NMOS42cと駆動PMOS電流源42bによって、参照抵抗(第1の抵抗)R1に流れ、また、基準電流発生回路41で生成された参照電流IR2に基づいた電流IRNが、参照用NMOS42cと駆動NMOS電流源42dによって、参照抵抗(第2の抵抗)R2に流れる。また、参照抵抗R1と参照抵抗R2の接続点VCOMに第2の増幅器42aを用いて電圧を供給する。
In the reference voltage generating circuit 4, a current IRP based on the reference current IR1 generated by the reference
それにより、参照抵抗R1と参照抵抗R2のそれぞれのタップから、VCOMに対して正側と負側の参照電圧ADVRH,ADVRLが出力される。
参照用NMOS42cのドレイン端子は、自身のゲート端子と、参照用電流源41dのドレイン端子(参照電流生成回路41の出力)と接続され、ソース端子は、接地端子に接続されている。
As a result, positive and negative reference voltages ADVRH and ADVRL are output with respect to VCOM from the taps of the reference resistor R1 and the reference resistor R2.
The drain terminal of the
また、駆動用NMOS42dのドレイン端子は、参照抵抗R2の第2端子に接続され、ゲート端子は、参照用NMOS42cのドレイン端子とゲート端子と参照用電流源41dのドレイン端子とに接続されている。また、第2の増幅器42aは、正の入力端子がIN2に入力される電圧を生成する基準電圧生成回路(図示せず)に接続され、負の入力端子は、自身の出力端子と参照抵抗R1の第2端子と参照抵抗R2の第1端子に接続されている。また、参照抵抗R2の第1端子は、第2の増幅器42aの出力端子及び負の入力端子と参照抵抗R1の第2の端子に接続され、第2の端子は、駆動用NMOS42dのドレイン端子(ADVRL)に接続されている。
The drain terminal of the driving
また、駆動用PMOS電流源42bのドレイン端子は、参照抵抗R1の第1端子に接続され、ゲート端子は、参照用PMOS41cのゲート端子と参照用電流源41dのケート端子と第1の増幅器41bの出力端子に接続されている。また、参照抵抗R1の第1端子は、駆動用PMOS電流源42bのドレイン端子ADVRHに接続され、第2の端子は、第2の増幅器42aの出力端子及び負の入力端子と参照抵抗R2の第1端子に接続されている。
The drain terminal of the driving PMOS
図5は、図2に示した実施例1おける参照電圧生成回路のさらに他の具体的な回路構成図である。図中符号43は制御回路を示している。なお、図4と同じ機能を有する構成要素には同一の符号を付してある。
つまり、図5においては、第1の抵抗R1と第2の抵抗R2の抵抗を調整する制御回路43を備えている。なお、この制御回路は、記憶装置(図示せず)に接続され、この記憶装置の出力値に基づいて、参照抵抗R1と参照抵抗R2の抵抗値を調整することが可能である。
FIG. 5 is still another specific circuit configuration diagram of the reference voltage generation circuit according to the first embodiment shown in FIG.
That is, in FIG. 5, a
次に、図5における参照電圧生成回路4の動作について以下に説明する。
参照電流生成回路41で出力される電流については、図3とほぼ同様であり、レプリカホール素子41aの抵抗値が、合成抵抗値となる点のみ異なる。
レプリカホール素子41aの合成抵抗値をRHDAとすると、オームの法則により、以下の式(21)に示す電流IR1が、レプリカホール素子41aに流れる。
Next, the operation of the reference voltage generation circuit 4 in FIG. 5 will be described below.
The current output from the reference
When the combined resistance value of the
IR1=Vs/RDHA・・・(21)
参照用電流源41dでは、電流IR1の複製がおこなわれ、参照用PMOS41cとのアスペクト比に基づいた電流IR2が流れる。ここで、参照用電流源41dと参照用PMOS41cとのアスペクト比をNとすると、参照用電流源41dに流れる電流IR2は、以下の式(22)で与えられる。
IR1 = Vs / RDHA (21)
In the reference
IR2=IR1×N・・・(22)
参照用NMOS42cにおいて、電流IR2をドレイン端子−ソース端子間に流し、ゲート端子を出力することにより、電流−電圧変換をおこなう。
また、駆動NMOS電流源42dは、電流IR2の複製がおこなわれ、参照用NMOS42cとのアスペクト比に基づいた電流IRNが流れる。
IR2 = IR1 × N (22)
In the
The drive NMOS
ここで、駆動NMOS電流源42dと参照用NMOS42cとのアスペクト比をMとすると、駆動NMOS電流源42dに流れるIRNは、以下の式(23)で与えられる。
IRN=IR2×M=IR1×N×M・・・(23)
さらに式(23)の電流IRNは、式(21)を用いて、以下の式(24)で与えられる。
Here, if the aspect ratio of the driving NMOS
IRN = IR2 × M = IR1 × N × M (23)
Furthermore, the current IRN of the equation (23) is given by the following equation (24) using the equation (21).
IRN=Vs/RDHA×N×M・・・(24)
駆動PMOS電流源42bは、電流IR1の複製がおこなわれ、参照用NMOS42cとのアスペクト比に基づいた電流IRPが流れる。
ここで、駆動PMOS電流源42bと参照用NMOS42cとのアスペクト比をSとすると、駆動PMOS電流源42bに流れるIRPは、以下の式(25)で与えられる。
IRN = Vs / RDHA × N × M (24)
In the driving PMOS
Here, when the aspect ratio between the driving PMOS
IRP=IR1×S=Vs/RDHA×S・・・(25)
第2の増幅器42aの正入力端子にはIN2には、温度に対してほぼ一定となる電圧Vcが与えられる。仮想接地により第2の増幅器42aの出力端子VCOMには、第2の増幅器42aの正入力端子と同電位となり、VCOMはVcとなる。
また、参照抵抗R1の抵抗値をRPとすると、ADVRHは、以下の式(26)で与えられる。
IRP = IR1 × S = Vs / RDHA × S (25)
A voltage Vc that is substantially constant with respect to temperature is applied to IN2 at the positive input terminal of the
If the resistance value of the reference resistor R1 is RP, ADVRH is given by the following equation (26).
ADVRH=Vc+IRP×RP・・・(26)
さらに、式(26)は、式(25)を用いて、以下の式(27)で与えられる。
ADVRH=Vc+Vs/RDHA×S×RP・・・(27)
参照抵抗R2の抵抗値をRNとすると、ADVRLは、以下の式(28)で与えられる。
ADVRH = Vc + IRP × RP (26)
Further, the expression (26) is given by the following expression (27) using the expression (25).
ADVRH = Vc + Vs / RDHA × S × RP (27)
When the resistance value of the reference resistor R2 is RN, ADVRL is given by the following equation (28).
ADVRL=Vc−IRN×RN・・・(28)
さらに、式(28)は、式(24)を用いて、以下の式(29)で与えられる。
ADVRL=Vc−Vs/RDHA×N×M×RN・・・(29)
以上より、ADVRHとADVRLの差分電圧ADVRは、以下の式(30)で与えられる。
ADVRL = Vc−IRN × RN (28)
Further, Expression (28) is given by Expression (29) below using Expression (24).
ADVRL = Vc−Vs / RDHA × N × M × RN (29)
From the above, the differential voltage ADVR between ADVRH and ADVRL is given by the following equation (30).
ADVR=ADVRH―ADVRL
=Vc+Vs/RDHA ×S×RP−(Vc−Vs/RDHA×N×M×RN)
=Vs/RDHA×(S×RP+N×M×RN)・・・(30)
電流削減のため、レプリカホール素子41aを検出用ホール素子1aと同じホール素子を2個縦列接続により構成したため、RDHAは、以下の式(31)であらわされる。
ADVR = ADVRH−ADVRL
= Vc + Vs / RDHA × S × RP− (Vc−Vs / RDHA × N × M × RN)
= Vs / RDHA × (S × RP + N × M × RN) (30)
In order to reduce the current, the
RDHA=2×RHAL・・・(31)
参照抵抗R1と参照抵抗R2の抵抗値を同じとし、RP=RN=RAとすると、ADVRは、以下の式(32)であらわされる。
ADVR=Vs×(RA/RHAL)×(1/2×S+N×M)・・(32)
Vsは温度に対してほぼ一定である。また、S+N×Mは定数のため、ADVRはRA/RHALに比例した温度特性を示す。
RDHA = 2 × RHAL (31)
When the resistance values of the reference resistor R1 and the reference resistor R2 are the same, and RP = RN = RA, ADVR is expressed by the following equation (32).
ADVR = Vs × (RA / RHAL) × (1/2 × S + N × M) (32)
Vs is almost constant with respect to temperature. Since S + N × M is a constant, ADVR shows a temperature characteristic proportional to RA / RHAL.
続いて、ADVRを用いたAD変換を説明する。
式(17)に示したように、AD変換値NOUTは、以下のようにあらわされる。
NOUT=4096×(Ci/Cr)×VIN/ADVR・・・(17)
ここで、式(32)を用いて表すと、NOUTは、以下の式(33)で与えられる。
NOUT=(SI×VR/RHA×B×A)/((Vs×(RA/RHAL)×(1/2×S+N×M))×4096×(Ci/Cr)・・・(33)
ここで、上述したように、VsはVRと同じ基準電圧発生回路から生成されており、温度に対してほぼ一定である。これより、式(33)は、以下の式(34)の関係を有する。
Next, AD conversion using ADVR will be described.
As shown in Expression (17), the AD conversion value NOUT is expressed as follows.
NOUT = 4096 × (Ci / Cr) × VIN / ADVR (17)
Here, when expressed using the equation (32), NOUT is given by the following equation (33).
NOUT = (SI × VR / RHA × B × A) / ((Vs × (RA / RHAL) × (1/2 × S + N × M)) × 4096 × (Ci / Cr) (33)
Here, as described above, Vs is generated from the same reference voltage generation circuit as VR, and is substantially constant with respect to temperature. Thus, the equation (33) has the relationship of the following equation (34).
NOUT ∝(SI/RHA)/(RA/RHAL)・・・(34)
式(34)において、ホール素子の抵抗の項は、略同一の温度依存性であると仮定するとキャンセルされるため、式(35)の関係式であらわされる。
NOUT ∝SI/RA・・・(35)
式(35)より、AD変換値NOUTは、定電流磁気感度SIとRAとの比に比例した値となる。
NOUT ∝ (SI / RHA) / (RA / RHAL) (34)
In Expression (34), the resistance term of the Hall element is canceled if it is assumed that they have substantially the same temperature dependence, and therefore is expressed by the relational expression of Expression (35).
NOUT ∝ SI / RA (35)
From the equation (35), the AD conversion value NOUT is a value proportional to the ratio between the constant current magnetic sensitivity SI and RA.
定電流磁気感度SIは、上述の式(5)であわらわされる。
抵抗RAは、Poly抵抗を使用した場合、温度特性は、以下の式(36)であらわされる。
RA=R0×(1+g×T)・・・(36)
ここで、R0は、T=0での抵抗値、gは1次の温度係数である。
The constant current magnetic sensitivity SI is expressed by the above equation (5).
When the resistor RA is a poly resistor, the temperature characteristic is expressed by the following equation (36).
RA = R0 × (1 + g × T) (36)
Here, R0 is a resistance value at T = 0, and g is a primary temperature coefficient.
このとき、式(35)は、以下の式(37)であわされる。
NOUT∝(S0/R0)×(1+d×T)/(1+g×T)・・・(35)
さらに式(37)は式(38)に近似できる。
NOUT≒(S0/R0)(1+(d−g)×T)・・・(38)
よって、d=gとなるように設計することで、温度依存性を補償することができる。また、具体的に(d−g)がとり得る値は無視できるほどに小さいことを以下に説明する。
At this time, the equation (35) is expressed by the following equation (37).
NOUT∝ (S0 / R0) × (1 + d × T) / (1 + g × T) (35)
Furthermore, Expression (37) can be approximated to Expression (38).
NOUT≈ (S0 / R0) (1+ (d−g) × T) (38)
Therefore, the temperature dependence can be compensated by designing so that d = g. Further, it will be described below that the value that (d−g) can take is small enough to be ignored.
定電流磁気感度SIの温度係数dは、ホール素子のNWELL濃度によって異なるが、以下のような値をとる。
d= −600(ppm/℃)〜+600(ppm/℃)
Poly抵抗RAは、g=−800ppm/℃程度の1次の温度係数を持つ抵抗で与えられる。
The temperature coefficient d of the constant current magnetic sensitivity SI varies depending on the NWELL concentration of the Hall element, but takes the following values.
d = −600 (ppm / ° C.) to +600 (ppm / ° C.)
The poly resistance RA is given by a resistance having a first-order temperature coefficient of about g = −800 ppm / ° C.
これより、SI/RAの1次の温度係数(d−g)の取りうる範囲は、以下の式(39)で与えられる。
SI/RAの1次温度係数の取りうる範囲
≒−600−(−800)〜+600−(−800)
≒+200〜+1400ppm/℃・・・(39)
したがって、(d−g)は1に対して極めて小さな値であり、十分温度補償できることがわかる。
Thus, the possible range of the primary temperature coefficient (dg) of SI / RA is given by the following equation (39).
Possible range of primary temperature coefficient of SI / RA ≈−600 − (− 800) to +600 − (− 800)
≒ + 200 ~ + 1400ppm / ℃ ・ ・ ・ (39)
Therefore, (d−g) is an extremely small value with respect to 1, and it is understood that sufficient temperature compensation can be performed.
ホール素子の定電圧駆動による磁気センサ回路において、本実施例1における参照電圧生成回路4で、磁場検出を行うホール素子と同様の温度特性を有するレプリカホール素子を用いてAD変換器3の参照電圧を生成し、AD変換器3をおこなうことにより、広い温度測定範囲において、ホール素子の抵抗値の温度特性による起電力の温度特性を補償し、AD変換値の温度特性の変動を抑えることが可能となる。
In the magnetic sensor circuit by the constant voltage drive of the Hall element, the reference voltage of the
図6は、本発明に係る磁気センサの実施例2を説明するための回路構成図である。図中符号5は温度1次係数発生回路を示している。なお、図2と同じ機能を有する構成要素には同一の符号を付してある。図2に示した実施例1との相違は、参照電圧生成回路4に温度1次係数発生回路5が接続されている点である。
参照電圧生成回路4は、所定電圧Vsとレプリカホール素子41aの抵抗値RHAとにより参照電流IRを生成し、I−V変換して参照電圧AVDRを生成する。所定電圧Vsは、1次の温度依存性を有する電圧である。
FIG. 6 is a circuit configuration diagram for explaining a magnetic sensor according to a second embodiment of the present invention. Reference numeral 5 in the figure denotes a temperature primary coefficient generation circuit. In addition, the same code | symbol is attached | subjected to the component which has the same function as FIG. The difference from the first embodiment shown in FIG. 2 is that a temperature first-order coefficient generation circuit 5 is connected to the reference voltage generation circuit 4.
The reference voltage generation circuit 4 generates a reference current IR based on the predetermined voltage Vs and the resistance value RHA of the
また、本実施例2の磁気センサは、1次の温度依存性を有する所定電圧Vs=VRTを生成する温度1次係数発生回路5を備え、参照電圧生成回路4は、所定電圧VRT/レプリカホール素子41aの抵抗RDHAに比例する参照電流IR1,IR2を生成し、電流・電圧変換して参照電圧ADVRを生成する。
つまり、本実施例2の磁気センサは、ホール素子駆動回路1と、増幅器2と、AD変換器用の参照電圧生成回路4と、AD変換器3と、温度1次係数発生回路5とを備えている。
Further, the magnetic sensor of the second embodiment includes a temperature first-order coefficient generation circuit 5 that generates a predetermined voltage Vs = VRT having a first-order temperature dependency, and the reference voltage generation circuit 4 includes a predetermined voltage VRT / replica hall. Reference currents IR1 and IR2 proportional to the resistance RDHA of the
That is, the magnetic sensor of the second embodiment includes the Hall
以下に、温度1次係数発生回路について説明する。
図7は、図6に示した実施例2における温度1次係数発生回路の具体的な回路構成図である。図中符号51は第3の増幅器、52は第4の増幅器を示している。
本実施例2の温度1次係数発生回路5は、IN3の電圧を増幅するための第3の増幅器51と第1の抵抗R11と第2の抵抗R12とを備え、IN4の電圧を増幅するための第4の増幅器52と第3の抵抗R13と第4の抵抗R14とを備えている。さらに、第3の抵抗R13と第4の抵抗R14の抵抗分割比を調整するための制御回路(図示せず)を備えている。
The temperature first order coefficient generation circuit will be described below.
FIG. 7 is a specific circuit configuration diagram of the temperature primary coefficient generation circuit in the second embodiment shown in FIG. In the figure,
The temperature first-order coefficient generation circuit 5 of the second embodiment includes a
第3の増幅器51の正入力端子IN3は、IN3に入力される電圧を生成する基準電圧生成回路(図示せず)に接続され、負入力端子は、第1の抵抗R11の第2の端子と第2の抵抗R12の第1の端子が接続され、出力端子は、第1の抵抗R11の第1の端子に接続されている。
また、第4の増幅器52の正入力端子IN4は、IN4に入力される電圧を生成するバイポーラ電圧生成回路(図示せず)に接続され、負入力端子は、第3の抵抗R13の第2の端子と第4の抵抗R14の第1の端子が接続され、出力端子は、第2の抵抗R12の第2の端子との第3の抵抗R13の第1の端子に接続されている。
The positive input terminal IN3 of the
The positive input terminal IN4 of the
また、第1の抵抗R11の第1の端子は、第3の増幅器51の出力端子に接続され、第2の端子は、第3の増幅器51の負入力端子に接続されている。
また、第2の抵抗R12の第1の端子は、第3の増幅器51の負入力端子と第1の抵抗R11の第2の端子に接続されて、第2の端子は、第4の増幅器52の出力端子に接続されている。
The first terminal of the first resistor R 11 is connected to the output terminal of the
The first terminal of the second resistor R12 is connected to the negative input terminal of the
また、第3の抵抗R13の第1の端子は、第4の増幅器52の出力端子と第3の抵抗R13の第1の端子に接続され、第2の端子は、第4の増幅器52の負入力端子と第4の抵抗R14の第1の端子に接続されている。
また、第4の抵抗R14の第1の端子は、第4の増幅器52の負入力端子と第3の抵抗R13の第2の端子に接続され、第2の端子は、グランド端子に接続されている。
The first terminal of the third resistor R13 is connected to the output terminal of the
The first terminal of the fourth resistor R14 is connected to the negative input terminal of the
なお、温度1次係数発生回路5は、制御回路を有していてもよい。制御回路は記憶装置に接続され、該記憶装置の出力値に基づいて、第1の抵抗R11と第2の抵抗R12の抵抗比などを調整することが可能である。
続いて、温度1次係数発生回路5の動作について以下に説明する。
まず、第4の増幅器52で生成される電圧について説明する。
The temperature first-order coefficient generation circuit 5 may have a control circuit. The control circuit is connected to the memory device and can adjust the resistance ratio of the first resistor R11 and the second resistor R12 based on the output value of the memory device.
Next, the operation of the temperature primary coefficient generation circuit 5 will be described below.
First, the voltage generated by the
第4の増幅器52の正入力端子IN4には、PNPバイポーラのベースエミッタ間電圧Vbeが印加される。仮想接地により第4の増幅器52の負入力端子の電圧V4は、第4の増幅器52の正入力端子と同電位となる。第4の抵抗R14の第2端子は、接地端子に接続されているため、第4の抵抗R14の第1端子と第2端子間には、PNPバイポーラのベースエミッタ間電圧Vbeが印加される。第4の抵抗R14の抵抗値をR4とすると、オームの法則により、式(40)に示す電流IR4が、第4の抵抗R14に流れる。
A PNP bipolar base-emitter voltage Vbe is applied to the positive input terminal IN4 of the
IR4=Vbe/R4・・・(40)
このとき、第3の抵抗R13にはIR4が流れる。第3の抵抗R13の抵抗値をR3とすると、第4の増幅器52の出力電圧VBEOは、式(41)であらわされる。
VBEO=Vbe+IR4×R3・・・(41)
さらに式(40)を用いると、以下の式(42)であらわされる。
IR4 = Vbe / R4 (40)
At this time, IR4 flows through the third resistor R13. Assuming that the resistance value of the third resistor R13 is R3, the output voltage VBEO of the
VBEO = Vbe + IR4 × R3 (41)
Further, when Expression (40) is used, it is represented by the following Expression (42).
VBEO=Vbe×(1+R3/R4)・・・(41)
続いて、第3の増幅器51で生成される電圧について説明する。
第3の増幅器51の正入力端子IN3には、基準電圧生成回路で生成された基準電圧に比例した電圧Vs2が印加される。Vs2は温度に依らず一定である。
仮想接地により、第3の増幅器51の負入力端子の電圧V3は、第3の増幅器51の正入力端子と同電位となる。第2の抵抗R12の第2端子は、VBEOに接続されているため、第2の抵抗R12の第1端子と第2端子間には、Vs2−VBEOの電圧が印加される。第2の抵抗R12の抵抗値をR2とすると、オームの法則により、式(43)に示す電流IR3が、第4の抵抗R14に流れる。
VBEO = Vbe × (1 + R3 / R4) (41)
Next, the voltage generated by the
A voltage Vs2 proportional to the reference voltage generated by the reference voltage generation circuit is applied to the positive input terminal IN3 of the
Due to the virtual ground, the voltage V3 of the negative input terminal of the
IR3=(Vs2−VBEO)/R2・・・(43)
このとき、第1の抵抗R11には、IR3が流れる。第1の抵抗R11の抵抗値をR1とすると、第3の増幅器51の出力電圧VRTは、以下の式(44)であらわされる。
VRT=Vs2+IR3×R1・・・(44)
さらに式(43)を用いると、以下の式(45)であらわされる。
IR3 = (Vs2-VBEO) / R2 (43)
At this time, IR3 flows through the first resistor R11. When the resistance value of the first resistor R11 is R1, the output voltage VRT of the
VRT = Vs2 + IR3 × R1 (44)
Further, when Expression (43) is used, it is represented by the following Expression (45).
VRT=Vs2+(Vs2−VBEO)×(R1/R2)
=(1+R1/R2)×Vs2−VBEO×(R1/R2)・・・(45)
さらに式(42)を用いてVRTを表すと、以下の式(46)であらわされる。
VRT=(1+R1/R2)×Vs2―Vbe×(1+R3/R4)×(R1/R2)・・・(46)
ここでVbeを、25℃のベースエミッタ間電圧Vberと1次の温度係数aとすると、Vbeは以下の式(47)であらわされる。
VRT = Vs2 + (Vs2-VBEO) × (R1 / R2)
= (1 + R1 / R2) × Vs2−VBEO × (R1 / R2) (45)
Furthermore, when VRT is expressed using the equation (42), it is expressed by the following equation (46).
VRT = (1 + R1 / R2) × Vs2−Vbe × (1 + R3 / R4) × (R1 / R2) (46)
Here, when Vbe is a base-emitter voltage Vber of 25 ° C. and a primary temperature coefficient a, Vbe is expressed by the following equation (47).
Vbe=Vber(1+a・(T−25))・・・(47)
さらに式(47)を用いて、式(46)を表すと、
VRT=(1+R1/R2)×Vs2−(Vber+a・(T−25))×(1+R3/R4)×(R1/R2)=(1+R1/R2)×Vs2−(1+R3/R4)×Vber×(R1/R2)−a・Vber×(T−25)×(1+R3/R4)×(R1/R2)・・・(48)
ここで、VRTの定数項と、温度の1次(T−25)の項は、それぞれ式(49)と式(50)であらわされる。
Vbe = Vber (1 + a · (T−25)) (47)
Furthermore, when Expression (46) is expressed using Expression (47),
VRT = (1 + R1 / R2) × Vs2− (Vber + a · (T−25)) × (1 + R3 / R4) × (R1 / R2) = (1 + R1 / R2) × Vs2− (1 + R3 / R4) × Vber × (R1 / R2) −a · Vber × (T−25) × (1 + R3 / R4) × (R1 / R2) (48)
Here, the constant term of VRT and the first-order (T-25) term of temperature are expressed by Expression (49) and Expression (50), respectively.
(定数項)=Vs2−(Vs2−(1+R3/R4)×Vber)×(R1/R2)・・・(49)
(温度の1次(T−25)の項)=−a・Vber×(1+R3/R4)×(R1/R2)・・・(50)
ここで、式(51)を満たすようなR3、R4を選択することを考える。
(Constant term) = Vs2- (Vs2- (1 + R3 / R4) * Vber) * (R1 / R2) (49)
(Term of temperature first order (T-25)) = − a · Vber × (1 + R3 / R4) × (R1 / R2) (50)
Here, it is considered to select R3 and R4 that satisfy the formula (51).
Vs2−(1+R3/R4)×Vber=0・・・(51)
このとき、定数項の式(49)は式(52)であわされる。
(定数項)=Vs2・・・(52)
これより、定数項は、R1、R2によらず一定となる。このとき、温度の1次の温度係数は、R1とR2の比を調整することで調整が可能である。
Vs2- (1 + R3 / R4) × Vber = 0 (51)
At this time, the constant term equation (49) is expressed by equation (52).
(Constant term) = Vs2 (52)
As a result, the constant term is constant regardless of R1 and R2. At this time, the primary temperature coefficient of the temperature can be adjusted by adjusting the ratio of R1 and R2.
次に、具体的な数値を用いて説明する。
Vber、a、Vs2を以下の値に設定する。
Vber=695(mV)
a=−2400(ppm/℃)
Vs2=800(mV)
このとき、式(51)の関係式から、R3/R4=0.15となる。ここで、定数項と温度の1次の項はそれぞれ式(53)と式(54)であらわされる。
Next, description will be made using specific numerical values.
Vber, a, and Vs2 are set to the following values.
Vber = 695 (mV)
a = -2400 (ppm / ° C.)
Vs2 = 800 (mV)
At this time, R3 / R4 = 0.15 from the relational expression of Expression (51). Here, the constant term and the first-order term of temperature are expressed by Equation (53) and Equation (54), respectively.
(定数項)=800・・・(53)
(温度の1次(T−25)の項)=2400×800×(R1/R2)
・・・(54)
式(54)より、R1とR2との比を調整することで、1次の温度係数を調整することが可能である。また、R1/R2は正の値をとるため、1次の温度係数は正の範囲で有効である。
(Constant term) = 800 (53)
(Temperature (T-25) term) = 2400 × 800 × (R1 / R2)
... (54)
From the equation (54), it is possible to adjust the primary temperature coefficient by adjusting the ratio of R1 and R2. Further, since R1 / R2 takes a positive value, the first-order temperature coefficient is effective in the positive range.
例えば、温度1次係数発生回路のVRT出力の1次の温度係数を+1200ppm/℃に設定すると、式(55)を満たすようなR1/R2を選択することで可能である。
2400×(R1/R2)=1200・・・(55)
これより、R1/R2=0.50となる。
以上より、VRTは、1次の正の温度係数もつ温度特性をもち、T=0のときをVRT0、1次の温度係数をiとすると、以下の式であらわすことができる。
For example, when the primary temperature coefficient of the VRT output of the temperature primary coefficient generation circuit is set to +1200 ppm / ° C., it is possible to select R1 / R2 that satisfies the equation (55).
2400 × (R1 / R2) = 1200 (55)
As a result, R1 / R2 = 0.50.
From the above, VRT has a temperature characteristic with a first-order positive temperature coefficient, and when T = 0, VRT0 and the first-order temperature coefficient i can be expressed by the following equations.
VRT=VRT0×(1+i×T)・・・(56)
続いて、温度1次係数発生回路を用いて、AD変換をおこなうときの実施例を示す。このときのAD変換値NOUTは、式(33)において、VsをVRTに置きかえた式(57)で与えられる。
NOUT=(SI×VR/RHA×B×A)/((VRT×(RA/RHA)×(1/2×S+N×M))×4096×(Ci/Cr)・・・(57)
これより、AD変換値NOUTは式(58)の関係を有する。
VRT = VRT0 × (1 + i × T) (56)
Subsequently, an embodiment in which AD conversion is performed using a temperature primary coefficient generation circuit will be described. The AD conversion value NOUT at this time is given by Expression (57) in which Vs is replaced with VRT in Expression (33).
NOUT = (SI × VR / RHA × B × A) / ((VRT × (RA / RHA) × (1/2 × S + N × M)) × 4096 × (Ci / Cr) (57)
Thus, the AD conversion value NOUT has the relationship of the equation (58).
NOUT ∝(SI/RHA)/(VRT×RA/RHA)
∝(SI/RA)/VRT・・・(58)
式(58)より、AD変換値NOUTは、定電流磁気感度SIと抵抗RAの比をとったものとVRTとの比に比例した値となる。
ここで、定電流磁気感度SIおよび抵抗RAは、それぞれ上述の式(5)、(36)であわらわされる。
NOUT ∝ (SI / RHA) / (VRT × RA / RHA)
∝ (SI / RA) / VRT (58)
From the equation (58), the AD conversion value NOUT is a value proportional to the ratio of the constant current magnetic sensitivity SI and the resistance RA to the ratio of VRT.
Here, the constant current magnetic sensitivity SI and the resistance RA are expressed by the above-described equations (5) and (36), respectively.
SI=S0×(1+d×T)・・・(5)
RA=R0×(1+g×T)・・・(36)
このとき、式(58)は、式(56)を用いて、次の式(59)であわされる。
NOUT ∝(S0/R0)/VRT0×(1+d×T)/(1+g×T)/(1+i×T)・・・(37)
さらに式(59)は式(60)で近似できる。
SI = S0 × (1 + d × T) (5)
RA = R0 × (1 + g × T) (36)
At this time, the equation (58) is expressed by the following equation (59) using the equation (56).
NOUT ∝ (S0 / R0) / VRT0 × (1 + d × T) / (1 + g × T) / (1 + i × T) (37)
Furthermore, equation (59) can be approximated by equation (60).
NOUT∝(S0/R0)/VRT0×(1+(d−g−i)×T)
・・・(60)
このとき、SI/RAの1次の温度係数(d−g)の取りうる範囲は、上述の式(39)で与えられる。
SI/RAの1次の温度係数の取りうる範囲
≒−600−(−800)〜+600−(−800)
≒+200〜+1400ppm/℃ ・・・(39)
NOUT∝ (S0 / R0) / VRT0 × (1+ (d−g−i) × T)
... (60)
At this time, the possible range of the primary temperature coefficient (d−g) of SI / RA is given by the above-described equation (39).
Possible range of SI / RA first-order temperature coefficient ≈−600 − (− 800) to +600 − (− 800)
≒ + 200 ~ + 1400ppm / ℃ (39)
VRTの1次の温度係数iは正の範囲を選択可能であるため、SI/RAの取りうる範囲の大部分(d−g)において、VRTの1次の温度係数をSI/RAの1次の温度係数と同じに設定することにより、(SI/RA)/VRTの1次の温度係数(d−g−i)を0にすることができる。すなわち、温度1次係数発生回路を付加されたAD変換器用参照電圧生成回路を用いることにより、AD変換値NOUTの1次の温度特性を補償することが可能である。 Since the positive range of the primary temperature coefficient i of the VRT can be selected, the primary temperature coefficient of the VRT is changed to the primary order of the SI / RA in most of the possible range (d−g) of the SI / RA. By setting it to be the same as the temperature coefficient of (SI / RA) / VRT, the first-order temperature coefficient (dgi) can be made zero. That is, by using the AD converter reference voltage generation circuit to which the temperature primary coefficient generation circuit is added, it is possible to compensate the primary temperature characteristic of the AD conversion value NOUT.
ホール素子の定電圧駆動による本実施例2の磁気センサにおいて、温度1次係数発生回路5と参照電圧生成回路4とで、磁場検出を行う検出用ホール素子と同様の温度特性を有するレプリカホール素子を用いてAD変換器の参照電圧を生成し、AD変換器をおこなうことにより、広い温度測定範囲において、ホール素子の抵抗値の温度特性に加えてホール素子の定電流感度の温度特性によるAD変換値の温度特性の変動を抑えることが可能となる。 In the magnetic sensor of the second embodiment by constant voltage driving of the Hall element, a replica Hall element having a temperature characteristic similar to that of a detection Hall element that performs magnetic field detection by the temperature primary coefficient generation circuit 5 and the reference voltage generation circuit 4 The AD converter generates a reference voltage for the AD converter using the AD converter, and performs AD conversion based on the temperature characteristic of the constant current sensitivity of the Hall element in addition to the temperature characteristic of the Hall element resistance value in a wide temperature measurement range. It becomes possible to suppress the fluctuation of the temperature characteristic of the value.
以上のように本実施例1及び2について説明したが、図5で示したように、参照抵抗R1,R2の抵抗値を適宜調整できるように構成してもよい。
また、参照電流生成回路41として、レプリカホール素子41aの上部電圧に所定電圧を印加する形態としたが、下部電圧に所定電圧を与えて、上部電圧を電源電圧とする構成でもよく、上部電圧も下部電圧もそれぞれ所定電圧を印加する形態であってもよい。また、検出用ホール素子1aとして、1個の形態で説明したが、複数個であってもよい。
As described above, the first and second embodiments have been described. However, as illustrated in FIG. 5, the resistance values of the reference resistors R1 and R2 may be appropriately adjusted.
Further, the reference
1 ホール素子駆動回路
1a 検出用ホール素子
2 増幅器
3 AD変換器
4 参照電圧生成回路
41a レプリカホール素子
31 入力加算部
31a 積分器
32 アナログ出力信号判定部
32a コンパレータ
33 デジタル信号出力部
33a フリップフロップ(FF)
33b カウンタ
41 参照電流生成回路
41b 第1の増幅器
41c 参照用PMOS
41d 参照電流源
42 I−V変換器
41a1,41a2 複数のレプリカホール素子
42a 第2の増幅器
42b 駆動PMOS電流源
42c 参照用NMOS
42d 駆動NMOS電流源
43 制御回路
5 温度1次係数発生回路
51 第3の増幅器
52 第4の増幅器
VRH ホール素子上部電圧源
VRL ホール素子下部電圧源
VHP ホール正側電圧
VHN ホール負側電圧
VIN 入力電圧
DT デジタル信号
ADVR 参照信号
VDR1 レプリカホール素子の第1端子の電圧
IR1,IR2 参照電流
IRP,IRN 駆動電流
VCOM コモン電圧
ADVRH 正側参照電圧
ADVRL 負側参照電圧
IR3,IR4 参照電流
VBEO ベースエミッタ出力電圧
VRT 温度1次電圧
DESCRIPTION OF
41d Reference
42d Driving NMOS
Claims (12)
該検出用ホール素子によるホール起電力信号のアナログ信号をデジタル信号にAD変換するAD変換器と、
該AD変換器へ出力する参照電圧を生成する参照電圧生成回路とを備え、
該参照電圧生成回路が、レプリカホール素子で生成した前記参照電圧を生成し、前記AD変換器が、前記レプリカホール素子で生成された前記参照電圧を用いてAD変換することを特徴とする磁気センサ。 A Hall element for detection that detects a magnetic field in accordance with a surrounding magnetic field fluctuation;
An AD converter that AD converts an analog signal of the Hall electromotive force signal by the Hall element for detection into a digital signal;
A reference voltage generation circuit that generates a reference voltage to be output to the AD converter,
The reference voltage generation circuit generates the reference voltage generated by a replica Hall element, and the AD converter performs AD conversion using the reference voltage generated by the replica Hall element. .
前記参照電圧生成回路が、前記所定電圧/前記レプリカホール素子の抵抗に比例する前記参照電流を生成し、前記電流・電圧変換して前記参照電圧を生成することを特徴とする請求項4に記載の磁気センサ。 A temperature first-order coefficient generating circuit for generating the predetermined voltage having the first-order temperature dependency;
The reference voltage generation circuit generates the reference current proportional to the predetermined voltage / resistance of the replica Hall element, and generates the reference voltage by performing the current-voltage conversion. Magnetic sensor.
入力信号に対して前記参照電圧を、正転又は反転して積分しながら加算する入力加算器と、
該入力加算器からの加算入力信号を増幅して所定の振幅を有するアナログ出力信号を生成し、該アナログ出力信号の振幅の大きさを所定電圧と比較して判定するアナログ出力信号判定部と、
該アナログ出力信号判定部からのアナログ出力信号の大きさの判定結果を示す信号に基づいて計数値を算出し、該計数値をデジタル信号として出力するデジタル信号出力部とを備え、
該デジタル信号出力部からの出力により、前記入力加算部において、前記入力信号に対する前記参照電圧の極性を切り替えて加算することを特徴とする請求項1乃至5のいずれかに記載の磁気センサ。 The AD converter is
An input adder for adding the reference voltage to the input signal while integrating it by normal rotation or inversion;
An analog output signal determination unit that amplifies the addition input signal from the input adder to generate an analog output signal having a predetermined amplitude, and compares the amplitude of the analog output signal with a predetermined voltage; and
A digital signal output unit that calculates a count value based on a signal indicating a determination result of the magnitude of the analog output signal from the analog output signal determination unit, and outputs the count value as a digital signal;
6. The magnetic sensor according to claim 1, wherein the input adder switches and adds the polarity of the reference voltage with respect to the input signal based on an output from the digital signal output unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013239017A JP6291224B2 (en) | 2013-11-19 | 2013-11-19 | Magnetic sensor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013239017A JP6291224B2 (en) | 2013-11-19 | 2013-11-19 | Magnetic sensor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015099089A true JP2015099089A (en) | 2015-05-28 |
| JP6291224B2 JP6291224B2 (en) | 2018-03-14 |
Family
ID=53375785
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013239017A Active JP6291224B2 (en) | 2013-11-19 | 2013-11-19 | Magnetic sensor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6291224B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017037066A (en) * | 2015-08-13 | 2017-02-16 | 旭化成エレクトロニクス株式会社 | apparatus |
| CN106643955A (en) * | 2017-02-20 | 2017-05-10 | 重庆机床(集团)有限责任公司 | Flow monitoring controller |
| CN114111846A (en) * | 2022-01-26 | 2022-03-01 | 南京中旭电子科技有限公司 | Compensation method and device suitable for Hall sensor and storage medium |
| JP2022520820A (en) * | 2019-02-20 | 2022-04-01 | クロッカス テクノロジー インコーポレイテッド | Devices and methods for magnetic sensor output compensation based on ambient temperature |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0237386U (en) * | 1988-09-02 | 1990-03-12 | ||
| JPH02172324A (en) * | 1988-11-02 | 1990-07-03 | Hewlett Packard Co <Hp> | A/d converter |
| JPH08114659A (en) * | 1994-10-17 | 1996-05-07 | Mitsubishi Electric Corp | Semiconductor magnetoelectric converter |
| JPH10253728A (en) * | 1997-03-14 | 1998-09-25 | Hitachi Ltd | Temperature compensation circuit for magnetic detection circuit |
| US20030128490A1 (en) * | 2000-07-05 | 2003-07-10 | Mario Motz | Temperature compensation circuit for a hall element |
| JP2005265751A (en) * | 2004-03-22 | 2005-09-29 | Renesas Technology Corp | Magnetic detection circuit |
-
2013
- 2013-11-19 JP JP2013239017A patent/JP6291224B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0237386U (en) * | 1988-09-02 | 1990-03-12 | ||
| JPH02172324A (en) * | 1988-11-02 | 1990-07-03 | Hewlett Packard Co <Hp> | A/d converter |
| JPH08114659A (en) * | 1994-10-17 | 1996-05-07 | Mitsubishi Electric Corp | Semiconductor magnetoelectric converter |
| JPH10253728A (en) * | 1997-03-14 | 1998-09-25 | Hitachi Ltd | Temperature compensation circuit for magnetic detection circuit |
| US20030128490A1 (en) * | 2000-07-05 | 2003-07-10 | Mario Motz | Temperature compensation circuit for a hall element |
| JP2005265751A (en) * | 2004-03-22 | 2005-09-29 | Renesas Technology Corp | Magnetic detection circuit |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017037066A (en) * | 2015-08-13 | 2017-02-16 | 旭化成エレクトロニクス株式会社 | apparatus |
| CN106643955A (en) * | 2017-02-20 | 2017-05-10 | 重庆机床(集团)有限责任公司 | Flow monitoring controller |
| JP2022520820A (en) * | 2019-02-20 | 2022-04-01 | クロッカス テクノロジー インコーポレイテッド | Devices and methods for magnetic sensor output compensation based on ambient temperature |
| JP7578599B2 (en) | 2019-02-20 | 2024-11-06 | アレグロ・マイクロシステムズ・リミテッド・ライアビリティ・カンパニー | Apparatus and method for magnetic sensor output compensation based on ambient temperature - Patents.com |
| CN114111846A (en) * | 2022-01-26 | 2022-03-01 | 南京中旭电子科技有限公司 | Compensation method and device suitable for Hall sensor and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6291224B2 (en) | 2018-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7281846B2 (en) | Integrated resistance cancellation in temperature measurement systems | |
| JP6180752B2 (en) | Sensor device | |
| JP5926081B2 (en) | Sensor device | |
| US9389126B2 (en) | Method and apparatus for low cost, high accuracy temperature sensor | |
| US20060193370A1 (en) | Integrated resistance cancellation in temperature measurement systems | |
| US6433615B2 (en) | Semiconductor device having a sensor with the temperature compensation function | |
| US10088532B2 (en) | Temperature compensation circuit and sensor device | |
| CN102077067A (en) | System and method for n'th order digital piece-wise linear compensation of non-linearities temperature variations for high accuracy digital temperature sensors in extended temperature range | |
| US10914618B2 (en) | Readout circuit for sensor and readout method thereof | |
| US9267818B2 (en) | Magnetic sensor device | |
| US8044702B2 (en) | Arrangement and method for providing a temperature-dependent signal | |
| US20040081224A1 (en) | Device for measuring temperature of semiconductor integrated circuit | |
| JP6291224B2 (en) | Magnetic sensor | |
| CN108106747B (en) | A temperature sensor based on capacitance-to-digital converter | |
| KR20080090005A (en) | Thermometer using thermocouple and its method | |
| US10712210B2 (en) | Self-referenced, high-accuracy temperature sensors | |
| KR102898859B1 (en) | Temperature-compensated MTJ-based sensing circuit for external magnetic field measurement | |
| De Marcellis et al. | A novel current-based approach for very low variation detection of resistive sensors in wheatstone bridge configuration | |
| JP5126536B2 (en) | Magnetic proportional current sensor gain adjustment method | |
| US20160109396A1 (en) | Ratiometric device | |
| Lopez-Martin et al. | Versatile automotive sensor interface asic | |
| RU2666582C2 (en) | Digital current meter | |
| CN115752549A (en) | Compensation circuit of magnetic sensor and vehicle system | |
| JP2010011294A (en) | Amplifier, and load signal amplification device | |
| Mancini | Instrumentation: Sensors to A/D Converters |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160804 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170526 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170606 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170802 |
|
| 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: 20180206 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180209 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6291224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |