JP2009281772A - Current sensor - Google Patents

Current sensor Download PDF

Info

Publication number
JP2009281772A
JP2009281772A JP2008132010A JP2008132010A JP2009281772A JP 2009281772 A JP2009281772 A JP 2009281772A JP 2008132010 A JP2008132010 A JP 2008132010A JP 2008132010 A JP2008132010 A JP 2008132010A JP 2009281772 A JP2009281772 A JP 2009281772A
Authority
JP
Japan
Prior art keywords
offset
sensor signal
signal
hall element
gain
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
JP2008132010A
Other languages
Japanese (ja)
Other versions
JP5000585B2 (en
Inventor
Noriyuki Shinozuka
典之 篠塚
Osamu Sasaki
修 佐々木
Masaya Takahashi
雅也 高橋
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 JP2008132010A priority Critical patent/JP5000585B2/en
Publication of JP2009281772A publication Critical patent/JP2009281772A/en
Application granted granted Critical
Publication of JP5000585B2 publication Critical patent/JP5000585B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Hall/Mr Elements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a current sensor that dynamically removes offset and has high responsiveness. <P>SOLUTION: The current sensor 1 includes a correction value operation circuit 33 and a waveform correction circuit 34 which adjust a gain of a signal Sig (HE2) output from a second Hall element 21 so that the gain of the signal Sig (HE2) may agree with a gain of a signal Sig (HE1) output from a first Hall element 11, a second sensor signal offset detecting circuit 35 which detects an offset amount, based on the signal Sig (HE2) having the gain adjusted and a signal dSig (HE2) having the polarity reversed and the gain adjusted, a subtracter 37 which removes the offset amount from the signal Sig (HE2), a first sensor signal offset detecting circuit 38 which detects the offset amount of the signal Sig (HE1), based on the signal Sig (HE2) wherefrom the offset amount is removed, and a subtracter 40 which removes the offset amount from the signal Sig (HE1). <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、第1ホール素子および第2ホール素子を用いた電流センサに関する。   The present invention relates to a current sensor using a first Hall element and a second Hall element.

従来より、ホール素子を利用した電流センサを用いて、各種電気機器のライン電流の電流値を検出することが行われている。
この電流センサでは、具体的には、ギャップを有するコアを用意し、測定対象となるライン電流がコアの中心軸上を通過するように配置する。そして、ギャップの間にホール素子を配置し、このホール素子に制御電流を流す。
この電流センサによれば、ライン電流に比例して発生する磁力は、コアで収束されて、ホール素子を通過する。すると、このホール素子は、磁力を電圧に変換して、検出信号として出力する。
Conventionally, current values of line currents of various electric devices are detected using a current sensor using a Hall element.
In this current sensor, specifically, a core having a gap is prepared and arranged so that the line current to be measured passes on the central axis of the core. A Hall element is disposed between the gaps, and a control current is passed through the Hall element.
According to this current sensor, the magnetic force generated in proportion to the line current is converged by the core and passes through the Hall element. Then, this Hall element converts the magnetic force into a voltage and outputs it as a detection signal.

ところで、以上の電流センサを構成するホール素子には、部品較差、固体差等に伴う固有のオフセット電圧が存在する。   By the way, the Hall element constituting the above current sensor has a unique offset voltage due to component difference, individual difference, and the like.

そこで、ホール素子のオフセット電圧を予め測定しておき、この測定結果に基づいてオフセット電圧を除去する手法がある。この手法によれば、応答性を維持しつつオフセット電圧を除去できるが、このオフセット電圧は、周囲温度の変化や時間の経過に伴って変化するという特性があるため、一度設定したオフセット電圧のレベルが変化する場合があった。   Therefore, there is a method of measuring the offset voltage of the Hall element in advance and removing the offset voltage based on the measurement result. According to this method, the offset voltage can be removed while maintaining the responsiveness, but this offset voltage has a characteristic that it changes with changes in ambient temperature or the passage of time. Sometimes changed.

この問題を解決するため、ホール素子に流す制御電流の極性を切り換えるチョッピング制御を行って、出力された電流検出信号の差分値を求めることにより、ホール素子のオフセット電圧を除去する手法が提案されている(例えば、特許文献1参照)。
この手法によれば、周囲温度の変化や時間の経過などによりオフセット電圧のレベルが変化しても、このオフセット電圧を動的に除去できる。
特開2005−300303号公報
In order to solve this problem, there has been proposed a method for removing the offset voltage of the Hall element by performing chopping control for switching the polarity of the control current flowing through the Hall element and obtaining the difference value of the output current detection signal. (For example, refer to Patent Document 1).
According to this method, even if the level of the offset voltage changes due to a change in ambient temperature or the passage of time, the offset voltage can be removed dynamically.
JP 2005-300303 A

しかしながら、特許文献1に示された手法では、電流の極性を切り換えるための時間や出力信号が安定するまでの時間、演算に必要な時間等が制約となり、チョッピング周波数を上げることに限界があった。よって、応答性が低くなる、という問題があった。   However, the method disclosed in Patent Document 1 has limitations in increasing the chopping frequency due to restrictions on the time for switching the polarity of the current, the time until the output signal is stabilized, the time required for the calculation, and the like. . Therefore, there is a problem that the responsiveness is lowered.

本発明は、オフセットを動的に除去できかつ応答性が高い電流センサを提供することを目的とする。   An object of the present invention is to provide a current sensor that can dynamically remove an offset and has high response.

本発明の電流センサ(例えば、後述の電流センサ1)は、第1ホール素子(例えば、後述の第1ホール素子11)および第2ホール素子(例えば、後述の第2ホール素子21)を用いた電流センサであって、前記第1ホール素子から出力される第1センサ信号のゲインに、前記第2ホール素子から出力される第2センサ信号のゲインが一致するように、前記第2センサ信号のゲインを調整するゲイン調整手段(例えば、後述の補正値演算回路33および波形修正回路34)と、前記第2ホール素子に供給する電源の極性を切り換えるチョッピング制御を行い、前記ゲインを調整した第2センサ信号および極性が反転されてかつゲインを調整した反転第2センサ信号に基づいて、第2センサ信号のオフセット量を検出する第2センサ信号オフセット検出手段(例えば、後述の第2センサ信号オフセット検出回路35およびシーケンス制御回路41)と、前記第2センサ信号から前記オフセット量を除去する第2センサ信号オフセット除去手段(例えば、後述の減算器37)と、前記オフセット量が除去された第2センサ信号に基づいて、前記第1センサ信号のオフセット量を検出する第1センサ信号オフセット検出手段(例えば、後述の第1センサ信号オフセット検出回路38)と、前記第1センサ信号から前記オフセット量を除去する第1センサ信号オフセット除去手段(例えば、後述の減算器40)と、を備えることを特徴とする。   A current sensor (for example, a current sensor 1 described later) of the present invention uses a first Hall element (for example, a first Hall element 11 described later) and a second Hall element (for example, a second Hall element 21 described later). A current sensor, wherein the gain of the second sensor signal is such that the gain of the second sensor signal output from the second Hall element matches the gain of the first sensor signal output from the first Hall element; A gain adjusting means (for example, a correction value calculating circuit 33 and a waveform correcting circuit 34, which will be described later) for adjusting the gain, and chopping control for switching the polarity of the power supply to be supplied to the second Hall element are performed to adjust the gain. A second sensor signal offset for detecting an offset amount of the second sensor signal based on the sensor signal and the inverted second sensor signal whose polarity is inverted and the gain is adjusted. Detection means (for example, a second sensor signal offset detection circuit 35 and a sequence control circuit 41 described later) and second sensor signal offset removal means (for example, a subtractor described later) for removing the offset amount from the second sensor signal. 37) and first sensor signal offset detection means (for example, a first sensor signal offset detection circuit 38 to be described later) for detecting the offset amount of the first sensor signal based on the second sensor signal from which the offset amount has been removed. ) And first sensor signal offset removing means (for example, a subtractor 40 described later) for removing the offset amount from the first sensor signal.

この場合、前記第1センサ信号および前記第2センサ信号のそれぞれの最大値および最小値を検出するピーク検出手段(例えば、後述の第1ピーク検出回路31および第2ピーク検出回路32)を備え、前記ゲイン調整手段は、前記ピーク検出手段で検出した最大値および最小値に基づいて、それぞれのゲインを求めることが好ましい。   In this case, there is provided peak detection means (for example, a first peak detection circuit 31 and a second peak detection circuit 32 described later) for detecting the maximum value and the minimum value of the first sensor signal and the second sensor signal, It is preferable that the gain adjusting means obtains respective gains based on the maximum value and the minimum value detected by the peak detecting means.

この場合、前記各オフセット検出手段と前記各オフセット除去手段との間に設けられ、前記各オフセット検出手段で検出したオフセット量をラッチするサンプルアンドホールド回路(例えば、後述のサンプルアンドホールド回路36、39)を備えることが好ましい。   In this case, a sample-and-hold circuit (for example, sample-and-hold circuits 36 and 39 described later) provided between the respective offset detection means and the respective offset removal means and latches the offset amount detected by the respective offset detection means. ).

この発明によれば、以下の手順で、第1ホール素子の出力信号のオフセットを除去する。
まず、ゲイン調整手段により、第1ホール素子から出力される第1センサ信号のゲインに、第2ホール素子から出力される第2センサ信号のゲインが一致するように、第2センサ信号のゲインを調整する。
次に、第2センサ信号オフセット検出手段により、第2ホール素子をチョッピング制御して、ゲインを調整した第2センサ信号および極性が反転されてかつゲインを調整した反転第2センサ信号に基づいて、第2センサ信号のオフセット量を検出する。
次に、第2センサ信号オフセット除去手段により、第2センサ信号からオフセット量を除去する。
次に、第1センサ信号オフセット検出手段により、オフセット量が除去された第2センサ信号に基づいて、第1センサ信号のオフセット量を検出する。
次に、第1センサ信号オフセット除去手段により、第1センサ信号からオフセット量を除去する。
According to the present invention, the offset of the output signal of the first Hall element is removed by the following procedure.
First, the gain adjustment means adjusts the gain of the second sensor signal so that the gain of the second sensor signal output from the second Hall element matches the gain of the first sensor signal output from the first Hall element. adjust.
Next, the second sensor signal offset detecting means performs chopping control of the second Hall element, and based on the second sensor signal whose gain is adjusted and the inverted second sensor signal whose polarity is inverted and whose gain is adjusted, An offset amount of the second sensor signal is detected.
Next, the second sensor signal offset removing means removes the offset amount from the second sensor signal.
Next, the first sensor signal offset detection means detects the offset amount of the first sensor signal based on the second sensor signal from which the offset amount has been removed.
Next, the first sensor signal offset removing means removes the offset amount from the first sensor signal.

これにより、電流値を検出する第1ホール素子をチョッピング制御しないため、応答性が高くなる。また、オフセット量が変化しても、このオフセット量の変化に追従して、動的にオフセットを除去できる。
さらに、修正値を用いるので、第1ホール素子の特性と第2ホール素子の特性とが異なっても、精度良くオフセットを除去できる。
Thereby, since the 1st Hall element which detects an electric current value is not chopped, responsiveness becomes high. Even if the offset amount changes, the offset can be dynamically removed following the change in the offset amount.
Furthermore, since the correction value is used, the offset can be accurately removed even if the characteristics of the first Hall element and the characteristics of the second Hall element are different.

また、オフセット量を検出している期間、第2ホール素子からの出力信号の極性を反転させるため、オフセット量の出力が途切れてしまう。
そこで、この発明によれば、オフセット検出手段とオフセット除去手段との間にサンプルアンドホールド回路を設けた。これにより、オフセット量を途切れることなく連続して出力できる。
Further, since the polarity of the output signal from the second Hall element is inverted during the period of detecting the offset amount, the output of the offset amount is interrupted.
Therefore, according to the present invention, the sample and hold circuit is provided between the offset detecting means and the offset removing means. As a result, the offset amount can be output continuously without interruption.

本発明によれば、電流値を検出する第1ホール素子をチョッピング制御しないため、応答性が高くなる。また、オフセット量が変化しても、このオフセット量の変化に追従して、動的にオフセットを除去できる。さらに、修正値を用いるので、第1ホール素子の特性と第2ホール素子の特性とが異なっても、精度良くオフセットを除去できる。   According to the present invention, since the first Hall element that detects the current value is not chopped, the responsiveness is improved. Even if the offset amount changes, the offset can be dynamically removed following the change in the offset amount. Furthermore, since the correction value is used, the offset can be accurately removed even if the characteristics of the first Hall element and the characteristics of the second Hall element are different.

以下、本発明の一実施形態について説明する。
図1は、本発明の一実施形態に係る電流センサ1の信号処理回路の構成を示す図である。
電流センサ1は、第1ホール素子回路10、第2ホール素子回路20、ピーク検出手段としての第1ピーク検出回路31、ピーク検出手段としての第2ピーク検出回路32、ゲイン調整手段としての補正値演算回路33、ゲイン調整手段としての波形修正回路34、第2センサ信号オフセット検出手段としての第2センサ信号オフセット検出回路35、サンプルアンドホールド回路36、第2センサ信号オフセット除去手段としての減算器37、第1センサ信号オフセット検出手段としての第1センサ信号オフセット検出回路38、サンプルアンドホールド回路39、第1センサ信号オフセット除去手段としての減算器40、および、これらを制御する第2センサ信号オフセット検出手段としてのシーケンス制御回路41を備える。
Hereinafter, an embodiment of the present invention will be described.
FIG. 1 is a diagram showing a configuration of a signal processing circuit of a current sensor 1 according to an embodiment of the present invention.
The current sensor 1 includes a first Hall element circuit 10, a second Hall element circuit 20, a first peak detection circuit 31 as a peak detection means, a second peak detection circuit 32 as a peak detection means, and a correction value as a gain adjustment means. Arithmetic circuit 33, waveform correction circuit 34 as gain adjusting means, second sensor signal offset detection circuit 35 as second sensor signal offset detection means, sample and hold circuit 36, and subtractor 37 as second sensor signal offset removal means. A first sensor signal offset detection circuit 38 as a first sensor signal offset detection means, a sample and hold circuit 39, a subtracter 40 as a first sensor signal offset removal means, and a second sensor signal offset detection for controlling them A sequence control circuit 41 is provided as means.

第1ホール素子回路10は、磁気を電気信号に変換して出力する回路である。この出力信号には、オフセットが含まれる。
この第1ホール素子回路10は、第1ホール素子11および差動増幅器12を備える。
The first Hall element circuit 10 is a circuit that converts magnetism into an electric signal and outputs the electric signal. This output signal includes an offset.
The first Hall element circuit 10 includes a first Hall element 11 and a differential amplifier 12.

差動増幅器12は、入力される2つの信号の差分を増幅して出力するものである。ここで、この差動増幅器12のゲインは、適切な値に設定されているものとする。   The differential amplifier 12 amplifies and outputs a difference between two input signals. Here, it is assumed that the gain of the differential amplifier 12 is set to an appropriate value.

第1ホール素子11は、磁気を電気信号に変換する略十字形状の素子であり、相対向して設けられたホール端子11a、11bと、これら11a、11bの配置方向とは交差する方向に相対向して設けられたホール端子11c、11dと、を備える。
ホール端子11aは、定電流源13に接続され、ホール端子11bは、グランドに接続され、ホール端子11cは、差動増幅器12の正端子に接続され、ホール端子11dは、差動増幅器12の負端子に接続される。
The first Hall element 11 is a substantially cross-shaped element that converts magnetism into an electric signal, and is relative to the direction in which the Hall terminals 11a and 11b provided opposite to each other and the arrangement direction of these 11a and 11b intersect. Hall terminals 11c and 11d provided in the direction.
The hall terminal 11a is connected to the constant current source 13, the hall terminal 11b is connected to the ground, the hall terminal 11c is connected to the positive terminal of the differential amplifier 12, and the hall terminal 11d is the negative terminal of the differential amplifier 12. Connected to the terminal.

第2ホール素子回路20は、磁気を電気信号に変換して出力する回路である。この出力信号には、オフセットが含まれている。
この第2ホール素子回路20は、第2ホール素子21、スイッチ回路網22、および差動増幅器23を備える。
The second Hall element circuit 20 is a circuit that converts magnetism into an electric signal and outputs the electric signal. This output signal includes an offset.
The second Hall element circuit 20 includes a second Hall element 21, a switch network 22, and a differential amplifier 23.

差動増幅器23は、入力される2つの信号の差分を増幅して出力するものである。ここで、この差動増幅器23のゲインは、適切な値に設定されているものとする。   The differential amplifier 23 amplifies and outputs a difference between two input signals. Here, it is assumed that the gain of the differential amplifier 23 is set to an appropriate value.

第2ホール素子21は、磁気を電気信号に変換する略十字形状の素子であり、相対向して設けられたホール端子21a、21bと、これら21a、21bの配置方向とは交差する方向に相対向して設けられたホール端子21c、21dと、を備える。   The second Hall element 21 is a substantially cross-shaped element that converts magnetism into an electrical signal, and is relative to the direction in which the Hall terminals 21a and 21b provided opposite to each other and the arrangement direction of these 21a and 21b intersect. Hall terminals 21c and 21d provided in the direction.

スイッチ回路網22は、4つの切り換えスイッチSa、Sb、Sc、Sdからなる。スイッチSaは、ホール端子21aを、定電流源24または差動増幅器23の正端子に接続する。スイッチSbは、ホール端子21bを、グランドまたは差動増幅器23の負端子に接続する。スイッチScは、ホール端子21cを、定電流源24または差動増幅器23の正端子に接続する。スイッチSdは、ホール端子21dを、グランドまたは差動増幅器23の負端子に接続する。   The switch network 22 includes four changeover switches Sa, Sb, Sc, and Sd. The switch Sa connects the hall terminal 21 a to the constant current source 24 or the positive terminal of the differential amplifier 23. The switch Sb connects the hall terminal 21 b to the ground or the negative terminal of the differential amplifier 23. The switch Sc connects the hall terminal 21 c to the constant current source 24 or the positive terminal of the differential amplifier 23. The switch Sd connects the hall terminal 21 d to the ground or the negative terminal of the differential amplifier 23.

スイッチ回路網22では、スイッチSa、Sd、Sb、Scを制御して、ホール端子21aを定電流源24に接続し、ホール端子21bをグランドに接続し、ホール端子21cを差動増幅器23の正端子に接続し、ホール端子21dを差動増幅器23の負端子に接続した状態と、ホール端子21aを差動増幅器23の正端子に接続し、ホール端子21bを差動増幅器23の負端子に接続し、ホール端子21cを定電流源24に接続し、ホール端子21dをグランドに接続した状態と、を切り換え可能となっている。   In the switch network 22, the switches Sa, Sd, Sb, and Sc are controlled so that the hall terminal 21 a is connected to the constant current source 24, the hall terminal 21 b is connected to the ground, and the hall terminal 21 c is connected to the positive amplifier 23. Connected to the terminal, the Hall terminal 21d is connected to the negative terminal of the differential amplifier 23, the Hall terminal 21a is connected to the positive terminal of the differential amplifier 23, and the Hall terminal 21b is connected to the negative terminal of the differential amplifier 23. The hall terminal 21c is connected to the constant current source 24 and the hall terminal 21d is connected to the ground.

以上の第2ホール素子回路20によれば、スイッチ回路網22を制御することにより、定電流源24から第2ホール素子21に供給する電流の極性を切り換えて、出力信号の極性を反転できる。   According to the second Hall element circuit 20 described above, the polarity of the output signal can be reversed by switching the polarity of the current supplied from the constant current source 24 to the second Hall element 21 by controlling the switch network 22.

第1ピーク検出回路31は、シーケンス制御回路41から初期化信号が入力されると、その後の一定期間に亘って、第1ホール素子回路10の出力信号の最大値および最小値を検出する。
第2ピーク検出回路32は、シーケンス制御回路41から初期化信号が入力されると、その後の一定期間に亘って、第2ホール素子回路20の出力信号の最大値および最小値を検出する。
When the initialization signal is input from the sequence control circuit 41, the first peak detection circuit 31 detects the maximum value and the minimum value of the output signal of the first Hall element circuit 10 over a certain period thereafter.
When the initialization signal is input from the sequence control circuit 41, the second peak detection circuit 32 detects the maximum value and the minimum value of the output signal of the second Hall element circuit 20 over a certain period thereafter.

補正値演算回路33は、第1ピーク検出回路31および第2ピーク検出回路32で検出した出力信号の最大値および最小値に基づいて、第1ホール素子回路10の第1センサ信号としての出力信号のゲインおよび第2ホール素子回路20の第2センサ信号としての出力信号のゲインを求める。そして、第1ホール素子回路10の出力信号のゲインに、第2ホール素子回路20の出力信号のゲインが一致するように、第2ホール素子回路20の出力信号のゲインを修正するための修正値を求める。   The correction value calculation circuit 33 outputs the output signal as the first sensor signal of the first Hall element circuit 10 based on the maximum value and the minimum value of the output signal detected by the first peak detection circuit 31 and the second peak detection circuit 32. And the gain of the output signal as the second sensor signal of the second Hall element circuit 20 are obtained. A correction value for correcting the gain of the output signal of the second Hall element circuit 20 so that the gain of the output signal of the second Hall element circuit 20 matches the gain of the output signal of the first Hall element circuit 10. Ask for.

波形修正回路34は、第2ホール素子回路20からの出力信号を修正値に基づいて修正する。   The waveform correction circuit 34 corrects the output signal from the second Hall element circuit 20 based on the correction value.

第2センサ信号オフセット検出回路35は、入力される2つの信号に基づいて、オフセット量を求める。具体的には、修正した信号と、極性が反転されてかつ修正した反転第2センサ信号と、の平均値を求めることで、第2センサ信号のオフセット量を検出する。
サンプルアンドホールド回路36は、入力信号を所定のサンプリング周波数でサンプリングし、サンプリングした値を一時的に保持する回路である。具体的には、オフセット検出回路35で検出したオフセットをラッチする。
減算器37は、第2ホール素子回路20から出力されてゲインを修正した信号から、オフセットを除去する。
The second sensor signal offset detection circuit 35 obtains an offset amount based on the two input signals. Specifically, the offset amount of the second sensor signal is detected by obtaining an average value of the corrected signal and the inverted second sensor signal whose polarity is inverted and corrected.
The sample and hold circuit 36 is a circuit that samples an input signal at a predetermined sampling frequency and temporarily holds the sampled value. Specifically, the offset detected by the offset detection circuit 35 is latched.
The subtractor 37 removes the offset from the signal output from the second Hall element circuit 20 and having the gain corrected.

第1センサ信号オフセット検出回路38は、入力される2つの信号に基づいて、オフセット量を求める。具体的には、入力される2つの信号の差分を求めて、オフセット量とする。
サンプルアンドホールド回路39は、入力信号を所定のサンプリング周波数でサンプリングし、サンプリングした値を一時的に保持する回路である。具体的には、第1センサ信号オフセット検出回路38で検出したオフセットをラッチする。
減算器40は、第1ホール素子回路10の出力信号からオフセットを除去する。
The first sensor signal offset detection circuit 38 obtains an offset amount based on the two input signals. Specifically, a difference between two input signals is obtained and set as an offset amount.
The sample and hold circuit 39 is a circuit that samples an input signal at a predetermined sampling frequency and temporarily holds the sampled value. Specifically, the offset detected by the first sensor signal offset detection circuit 38 is latched.
The subtracter 40 removes an offset from the output signal of the first Hall element circuit 10.

以上の電流センサ1の動作を、図2のフローチャートを参照しながら説明する。
まず、第1ホール素子回路10から信号Sig(HE1)が出力され、第2ホール素子回路20から信号Sig(HE2)が出力されているものとする。これら信号Sig(HE1)および信号Sig(HE2)は、同時に得られる信号であるため、印加磁界に対する位相の変化が同じになっている。
The operation of the current sensor 1 will be described with reference to the flowchart of FIG.
First, it is assumed that the signal Sig (HE1) is output from the first Hall element circuit 10 and the signal Sig (HE2) is output from the second Hall element circuit 20. Since these signal Sig (HE1) and signal Sig (HE2) are signals obtained at the same time, the phase changes with respect to the applied magnetic field are the same.

ステップS1では、シーケンス制御回路41により第1ピーク検出回路31を初期化し、その後、この第1ピーク検出回路31により、図3に示すように、第1ホール素子回路10から出力される信号Sig(HE1)の最大値および最小値を検出し、次回更新されるまでこれらの値を保持する。
ステップS2では、シーケンス制御回路41により第2ピーク検出回路32を初期化し、その後、この第2ピーク検出回路32により、図3に示すように、第2ホール素子回路20から出力される信号Sig(HE2)の最大値および最小値を検出し、次回更新されるまでこれらの値を保持する。
In step S1, the first peak detection circuit 31 is initialized by the sequence control circuit 41, and then, as shown in FIG. 3, the first peak detection circuit 31 outputs a signal Sig ( The maximum value and the minimum value of HE1) are detected, and these values are held until the next update.
In step S2, the second peak detection circuit 32 is initialized by the sequence control circuit 41, and then the signal Sig (2) output from the second Hall element circuit 20 by the second peak detection circuit 32 as shown in FIG. The maximum and minimum values of HE2) are detected, and these values are held until the next update.

ステップS3では、補正値演算回路33により、信号Sig(HE1)と信号Sig(HE2)とのゲインのずれ量を修正値として求める。
具体的には、第1ピーク検出回路31および第2ピーク検出回路32から出力される最大値および最小値に基づいて、図4に示すように、ゲインのずれ量を修正値として求めて、次回更新されるまでこれらの値を保持する。
In step S3, the correction value calculation circuit 33 obtains a gain deviation amount between the signal Sig (HE1) and the signal Sig (HE2) as a correction value.
Specifically, based on the maximum value and the minimum value output from the first peak detection circuit 31 and the second peak detection circuit 32, as shown in FIG. Keep these values until updated.

ステップS4では、波形修正回路34により、修正値に基づいて、信号Sig(HE2)の波形を修正する。すると、この信号Sig(HE2)のゲインは信号Sig(HE1)のゲインに近似することになる。
ステップS5では、シーケンス制御回路41により、第2ホール素子回路20のスイッチ回路網22を所定の周波数で切り換えて、第2ホール素子21に供給する電源の極性を切り換えるチョッピング制御を開始し、信号Sig(HE2)と、波形の極性が反転した反転信号dSig(HE2)と、を第2ホール素子回路20から出力させる。すると、波形修正回路34により、これら信号Sig(HE2)および反転信号dSig(HE2)の波形が修正値に基づいて修正される。
In step S4, the waveform correction circuit 34 corrects the waveform of the signal Sig (HE2) based on the correction value. Then, the gain of the signal Sig (HE2) approximates the gain of the signal Sig (HE1).
In step S5, the sequence control circuit 41 starts the chopping control for switching the polarity of the power supplied to the second Hall element 21 by switching the switch network 22 of the second Hall element circuit 20 at a predetermined frequency. The second Hall element circuit 20 outputs (HE2) and the inverted signal dSig (HE2) whose waveform polarity is inverted. Then, the waveform correction circuit 34 corrects the waveforms of the signal Sig (HE2) and the inverted signal dSig (HE2) based on the correction value.

ステップS6では、第2センサ信号オフセット検出回路35により、修正した信号Sig(HE2)と修正した反転信号dSig(HE2)とに基づいて、信号Sig(HE2)のオフセット量として求めて、サンプルアンドホールド回路36により、このオフセット量を保持する。
具体的には、図5に示すように、修正した信号Sig(HE2)と修正した反転信号dSig(HE2)との平均値を、信号Sig(HE2)のオフセット量として求める。
In step S6, the second sensor signal offset detection circuit 35 obtains an offset amount of the signal Sig (HE2) based on the corrected signal Sig (HE2) and the corrected inverted signal dSig (HE2), and performs sample and hold. The circuit 36 holds this offset amount.
Specifically, as shown in FIG. 5, an average value of the corrected signal Sig (HE2) and the corrected inverted signal dSig (HE2) is obtained as an offset amount of the signal Sig (HE2).

ステップS7では、シーケンス制御回路41により、第2ホール素子回路20のチョッピング制御を終了する。
ステップS8では、減算器37により、図6に示すように、ゲインを修正した信号Sig(HE2)からオフセットを除去する。
In step S7, the sequence control circuit 41 ends the chopping control of the second Hall element circuit 20.
In step S8, the subtractor 37 removes the offset from the signal Sig (HE2) whose gain has been corrected, as shown in FIG.

ステップS9では、第1センサ信号オフセット検出回路38により、信号Sig(HE1)と、ゲインを修正しかつオフセットを除去した信号Sig(HE2)と、を用いて、信号Sig(HE1)のオフセット量を求めて、サンプルアンドホールド回路39により、このオフセット量を次回更新されるまで保持する。
具体的には、図7に示すように、信号Sig(HE1)から、ゲインを修正しかつオフセットを除去した信号Sig(HE2)を減算して、信号Sig(HE1)のオフセット量とする。
ステップS10では、減算器40により、図8に示すように、信号Sig(HE1)からこのオフセットを除去する。
In step S9, the first sensor signal offset detection circuit 38 uses the signal Sig (HE1) and the signal Sig (HE2) whose gain is corrected and the offset is removed to calculate the offset amount of the signal Sig (HE1). Then, the offset amount is held by the sample and hold circuit 39 until the next update.
Specifically, as shown in FIG. 7, the signal Sig (HE2) with the gain corrected and the offset removed is subtracted from the signal Sig (HE1) to obtain the offset amount of the signal Sig (HE1).
In step S10, the subtractor 40 removes this offset from the signal Sig (HE1) as shown in FIG.

本実施形態によれば、以下のような効果がある。
(1)電流値を検出する第1ホール素子11をチョッピング制御しないため、応答性が高くなる。また、オフセット量が変化しても、このオフセット量の変化に追従して、動的にオフセットを除去できる。
さらに、ゲインを修正したので、第1ホール素子11の特性と第2ホール素子21の特性とが異なっても、精度良くオフセットを除去できる。
According to this embodiment, there are the following effects.
(1) Since the first Hall element 11 that detects the current value is not subjected to chopping control, the responsiveness is improved. Even if the offset amount changes, the offset can be dynamically removed following the change in the offset amount.
Furthermore, since the gain is corrected, even if the characteristics of the first Hall element 11 and the characteristics of the second Hall element 21 are different, the offset can be accurately removed.

(2)オフセット検出回路35、38と減算器37、40との間にサンプルアンドホールド回路36、39を設けた。これにより、オフセット値を途切れることなく連続して出力できる。   (2) Sample and hold circuits 36 and 39 are provided between the offset detection circuits 35 and 38 and the subtractors 37 and 40. As a result, the offset value can be output continuously without interruption.

(3)第1ホール素子回路10の出力信号を主信号として、この主信号の極性を反転させずにオフセット量を調整したので、第1ホール素子回路10から主信号を常時出力できる。   (3) Since the output signal of the first Hall element circuit 10 is used as a main signal and the offset amount is adjusted without inverting the polarity of the main signal, the main signal can be always output from the first Hall element circuit 10.

(4)オフセット量のドリフトは緩やかであるため、第2ホール素子回路20を頻繁にチョッピング制御せずに間欠的にオフセット量を補正することにより、電力消費を抑えることができる。   (4) Since the drift of the offset amount is moderate, the power consumption can be suppressed by correcting the offset amount intermittently without frequently chopping control the second Hall element circuit 20.

(5)シーケンス制御回路41によりチョッピング制御を行っていない期間中に、信号Sig(HE1)と、ゲインを修正しかつオフセットを除去した信号Sig(HE2)と、を用いて、信号Sig(HE1)のオフセット量を求めた。よって、応答遅れが生じるのを抑制できるので、信号Sig(HE1)と、ゲインを修正しかつオフセットを除去した信号Sig(HE2)との一致率が高まるので、精度を向上できる。   (5) During the period when the chopping control is not performed by the sequence control circuit 41, the signal Sig (HE1) is obtained by using the signal Sig (HE1) and the signal Sig (HE2) whose gain is corrected and offset is removed. The amount of offset was determined. Therefore, since it is possible to suppress the occurrence of response delay, the coincidence ratio between the signal Sig (HE1) and the signal Sig (HE2) whose gain has been corrected and offset has been increased increases, so that the accuracy can be improved.

なお、本発明は前記実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。   It should be noted that the present invention is not limited to the above-described embodiment, and modifications, improvements, etc. within a scope that can achieve the object of the present invention are included in the present invention.

本発明の一実施形態に係る電流センサの信号処理回路の構成を示す図である。It is a figure which shows the structure of the signal processing circuit of the current sensor which concerns on one Embodiment of this invention. 前記実施形態に係る電流センサの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、出力信号の最大値よび最小値を検出する手順を説明するための図である。It is a figure for demonstrating the procedure which detects the maximum value and minimum value of an output signal about the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、出力信号のゲインのずれ量を検出する手順を説明するための図である。It is a figure for demonstrating the procedure which detects the deviation | shift amount of the gain of an output signal about the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、第2センサ信号のオフセット量を求める手順を説明するための図である。It is a figure for demonstrating the procedure which calculates | requires the offset amount of a 2nd sensor signal about the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、第2センサ信号からオフセットを除去する手順を説明するための図である。It is a figure for demonstrating the procedure which removes offset from the 2nd sensor signal about the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、第1センサ信号のオフセット量を求める手順を説明するための図である。It is a figure for demonstrating the procedure which calculates | requires the offset amount of a 1st sensor signal about the current sensor which concerns on the said embodiment. 前記実施形態に係る電流センサについて、第1センサ信号からオフセットを除去する手順を説明するための図である。It is a figure for demonstrating the procedure which removes offset from a 1st sensor signal about the current sensor which concerns on the said embodiment.

符号の説明Explanation of symbols

1 電流センサ
11 第1ホール素子
21 第2ホール素子
31 第1ピーク検出回路(ピーク検出手段)
32 第2ピーク検出回路(ピーク検出手段)
33 補正値演算回路(ゲイン調整手段)
34 波形修正回路(ゲイン調整手段)
35 第2センサ信号オフセット検出回路(第2センサ信号オフセット検出手段)
36 サンプルアンドホールド回路
37 減算器(第2センサ信号オフセット除去手段)
38 第1センサ信号オフセット検出回路(第1センサ信号オフセット検出手段)
39 サンプルアンドホールド回路
40 減算器(第1センサ信号オフセット除去手段)
41 シーケンス制御回路(第2センサ信号オフセット検出手段)
DESCRIPTION OF SYMBOLS 1 Current sensor 11 1st Hall element 21 2nd Hall element 31 1st peak detection circuit (peak detection means)
32 Second peak detection circuit (peak detection means)
33 Correction value calculation circuit (gain adjustment means)
34 Waveform correction circuit (gain adjustment means)
35 Second sensor signal offset detection circuit (second sensor signal offset detection means)
36 Sample and hold circuit 37 Subtracter (second sensor signal offset removing means)
38 First sensor signal offset detection circuit (first sensor signal offset detection means)
39 Sample and hold circuit 40 Subtracter (first sensor signal offset removing means)
41 Sequence control circuit (second sensor signal offset detecting means)

Claims (3)

第1ホール素子および第2ホール素子を用いた電流センサであって、
前記第1ホール素子から出力される第1センサ信号のゲインに、前記第2ホール素子から出力される第2センサ信号のゲインが一致するように、前記第2センサ信号のゲインを調整するゲイン調整手段と、
前記第2ホール素子に供給する電源の極性を切り換えるチョッピング制御を行い、前記ゲインを調整した第2センサ信号および極性が反転されてかつゲインを調整した反転第2センサ信号に基づいて、第2センサ信号のオフセット量を検出する第2センサ信号オフセット検出手段と、
前記第2センサ信号から前記オフセット量を除去する第2センサ信号オフセット除去手段と、
前記オフセット量が除去された第2センサ信号に基づいて、前記第1センサ信号のオフセット量を検出する第1センサ信号オフセット検出手段と、
前記第1センサ信号から前記オフセット量を除去する第1センサ信号オフセット除去手段と、を備えることを特徴とする電流センサ。
A current sensor using a first Hall element and a second Hall element,
Gain adjustment for adjusting the gain of the second sensor signal so that the gain of the second sensor signal output from the second Hall element matches the gain of the first sensor signal output from the first Hall element. Means,
A chopping control for switching the polarity of the power supplied to the second Hall element is performed, and a second sensor signal based on the second sensor signal with the gain adjusted and the inverted second sensor signal with the polarity inverted and the gain adjusted. Second sensor signal offset detecting means for detecting a signal offset amount;
Second sensor signal offset removing means for removing the offset amount from the second sensor signal;
First sensor signal offset detection means for detecting an offset amount of the first sensor signal based on the second sensor signal from which the offset amount has been removed;
And a first sensor signal offset removing means for removing the offset amount from the first sensor signal.
請求項1に記載の電流センサにおいて、
前記第1センサ信号および前記第2センサ信号のそれぞれの最大値および最小値を検出するピーク検出手段を備え、
前記ゲイン調整手段は、前記ピーク検出手段で検出した最大値および最小値に基づいて、それぞれのゲインを求めることを特徴とする電流センサ。
The current sensor according to claim 1.
Peak detecting means for detecting a maximum value and a minimum value of each of the first sensor signal and the second sensor signal;
The gain adjusting means obtains respective gains based on the maximum value and the minimum value detected by the peak detecting means.
請求項1に記載の電流センサにおいて、
前記各オフセット検出手段と前記各オフセット除去手段との間に設けられ、前記各オフセット検出手段で検出したオフセット量をラッチするサンプルアンドホールド回路を備えることを特徴とする電流センサ。
The current sensor according to claim 1.
A current sensor comprising a sample-and-hold circuit provided between each of the offset detecting means and each of the offset removing means and latching an offset amount detected by each of the offset detecting means.
JP2008132010A 2008-05-20 2008-05-20 Current sensor Expired - Fee Related JP5000585B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008132010A JP5000585B2 (en) 2008-05-20 2008-05-20 Current sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008132010A JP5000585B2 (en) 2008-05-20 2008-05-20 Current sensor

Publications (2)

Publication Number Publication Date
JP2009281772A true JP2009281772A (en) 2009-12-03
JP5000585B2 JP5000585B2 (en) 2012-08-15

Family

ID=41452388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008132010A Expired - Fee Related JP5000585B2 (en) 2008-05-20 2008-05-20 Current sensor

Country Status (1)

Country Link
JP (1) JP5000585B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126029A3 (en) * 2011-03-21 2013-06-06 Kristl, Seibt & Co. Gesellschaft M.B.H. Method and apparatus for correcting phase currents of a three-phase machine
JP2014115114A (en) * 2012-12-06 2014-06-26 Denso Corp Current sensor mechanism
US9310398B2 (en) 2011-11-29 2016-04-12 Infineon Technologies Ag Current sensor package, arrangement and system
JP2018013454A (en) * 2016-07-22 2018-01-25 旭化成エレクトロニクス株式会社 Current sensor and method for controlling current sensor
WO2019069499A1 (en) * 2017-10-04 2019-04-11 株式会社村田製作所 Current sensor and method for manufacturing current sensor

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239965A (en) * 1990-02-17 1991-10-25 Yaskawa Electric Mfg Co Ltd Current detector
JPH0627150A (en) * 1992-07-07 1994-02-04 Honda Motor Co Ltd Hall element type current sensor
JPH07294561A (en) * 1994-04-28 1995-11-10 Nippon Soken Inc Current measuring apparatus
JPH09196699A (en) * 1995-12-08 1997-07-31 Allegro Microsyst Inc Chopping sample-and-hold circuit
JP2004020455A (en) * 2002-06-19 2004-01-22 Toshiba Corp Current detector
JP2005300303A (en) * 2004-04-09 2005-10-27 Toko Inc Sensor circuit
JP2006158126A (en) * 2004-11-30 2006-06-15 Denso Corp Motor controller and steering device
JP2007078374A (en) * 2005-09-12 2007-03-29 Meidensha Corp Dc current measurement device and method therefor
JP2007213722A (en) * 2006-02-10 2007-08-23 Nec Corp Objective lens position detection method and objective lens position detection circuit
JP2007263944A (en) * 2005-11-30 2007-10-11 Fuji Electric Device Technology Co Ltd Input/output characteristic measuring device and method of analog circuit including operational amplifier
JP2008069714A (en) * 2006-09-14 2008-03-27 Toyota Motor Corp Control device of internal combustion engine

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239965A (en) * 1990-02-17 1991-10-25 Yaskawa Electric Mfg Co Ltd Current detector
JPH0627150A (en) * 1992-07-07 1994-02-04 Honda Motor Co Ltd Hall element type current sensor
JPH07294561A (en) * 1994-04-28 1995-11-10 Nippon Soken Inc Current measuring apparatus
JPH09196699A (en) * 1995-12-08 1997-07-31 Allegro Microsyst Inc Chopping sample-and-hold circuit
JP2004020455A (en) * 2002-06-19 2004-01-22 Toshiba Corp Current detector
JP2005300303A (en) * 2004-04-09 2005-10-27 Toko Inc Sensor circuit
JP2006158126A (en) * 2004-11-30 2006-06-15 Denso Corp Motor controller and steering device
JP2007078374A (en) * 2005-09-12 2007-03-29 Meidensha Corp Dc current measurement device and method therefor
JP2007263944A (en) * 2005-11-30 2007-10-11 Fuji Electric Device Technology Co Ltd Input/output characteristic measuring device and method of analog circuit including operational amplifier
JP2007213722A (en) * 2006-02-10 2007-08-23 Nec Corp Objective lens position detection method and objective lens position detection circuit
JP2008069714A (en) * 2006-09-14 2008-03-27 Toyota Motor Corp Control device of internal combustion engine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126029A3 (en) * 2011-03-21 2013-06-06 Kristl, Seibt & Co. Gesellschaft M.B.H. Method and apparatus for correcting phase currents of a three-phase machine
US9310398B2 (en) 2011-11-29 2016-04-12 Infineon Technologies Ag Current sensor package, arrangement and system
JP2014115114A (en) * 2012-12-06 2014-06-26 Denso Corp Current sensor mechanism
JP2018013454A (en) * 2016-07-22 2018-01-25 旭化成エレクトロニクス株式会社 Current sensor and method for controlling current sensor
WO2019069499A1 (en) * 2017-10-04 2019-04-11 株式会社村田製作所 Current sensor and method for manufacturing current sensor

Also Published As

Publication number Publication date
JP5000585B2 (en) 2012-08-15

Similar Documents

Publication Publication Date Title
JP5000585B2 (en) Current sensor
US10386392B2 (en) Hall element driving circuit, sensor circuit, and current measuring apparatus
US11041886B2 (en) Current sensor
KR101542679B1 (en) Magnetic detection device and magnetic detection method
US9182453B2 (en) Hall sensor excitation system
US20090315549A1 (en) Method for processing sensor signals subject to an offset and sensor arrangement designed to carry out the method
US9128127B2 (en) Sensor device
US8674690B2 (en) Feedback control circuit for a hall effect device
JP2017527807A (en) Hall effect sensor circuit with offset compensation
JP2009281774A (en) Current sensor
JP5000584B2 (en) Current sensor
JP4590394B2 (en) Current sensor and current sensor offset removal method
JP6445360B2 (en) Current measuring device
Kayal et al. Automatic calibration of Hall sensor microsystems
JP6320770B2 (en) Zero magnetic flux control type current sensor and zero adjustment method for zero magnetic flux control type current sensor
JP2008164299A (en) Current sensor, and offset removal method for current sensor
JP6229243B2 (en) Current detector
JP7239308B2 (en) Semiconductor device and adjustment method thereof
JP6389161B2 (en) Sensor interface calibration device
JP4590391B2 (en) Current sensor and current sensor offset removal method
JP2018013454A (en) Current sensor and method for controlling current sensor
US11016151B2 (en) Semiconductor device and method of adjusting the same
US20110169340A1 (en) 2-phase threshold detector based circuits
JP4523934B2 (en) Current sensor
JP2022138447A (en) Air-fuel ratio sensor controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120423

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: 20120508

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120516

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees