JP2016223994A - Current sensor - Google Patents

Current sensor Download PDF

Info

Publication number
JP2016223994A
JP2016223994A JP2015112937A JP2015112937A JP2016223994A JP 2016223994 A JP2016223994 A JP 2016223994A JP 2015112937 A JP2015112937 A JP 2015112937A JP 2015112937 A JP2015112937 A JP 2015112937A JP 2016223994 A JP2016223994 A JP 2016223994A
Authority
JP
Japan
Prior art keywords
component
magnetic field
current
signal
sin
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.)
Pending
Application number
JP2015112937A
Other languages
Japanese (ja)
Inventor
江介 野村
Kosuke Nomura
江介 野村
亮輔 酒井
Ryosuke Sakai
亮輔 酒井
卓馬 江坂
Takuma Esaka
卓馬 江坂
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2015112937A priority Critical patent/JP2016223994A/en
Publication of JP2016223994A publication Critical patent/JP2016223994A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a current sensor equipped with a configuration with which it is possible to reduce the circuit scale and current consumption of an arithmetic circuit.SOLUTION: A magnetic field generation unit 120 generates a bias magnetic field Bb in the vertical direction to a current magnetic field Bi that occurs due to that a current I under measurement flows to a bus bar 200. A sensor element 130 outputs a sinusoidal signal that includes a sinθ component with regard to an angle θ that is formed by the bias magnetic field Bb and a composite magnetic field Bs composed by the current magnetic field Bi and the bias magnetic field Bb. Meanwhile, a signal processing unit 180, having a memory 186 in which a conversion map for converting the sinθ component into a tanθ component that corresponds to the sinθ component is stored, converts the sinusoidal signal into a digital signal and inputs it, as well as converts the sinθ component into a tanθ component on the basis of the conversion map and acquires a signal that includes the tanθ component as a sensor signal.SELECTED DRAWING: Figure 3

Description

本発明は、被測定電流経路に流れる電流を検出する電流センサに関する。   The present invention relates to a current sensor that detects a current flowing in a current path to be measured.

従来より、被測定電流経路に流れる電流を検出するように構成された電流センサが、例えば特許文献1で提案されている。具体的に、電流センサは、バイアス磁石、磁気センサ、及び演算回路を有して構成されている。   Conventionally, for example, Patent Document 1 proposes a current sensor configured to detect a current flowing in a current path to be measured. Specifically, the current sensor is configured to include a bias magnet, a magnetic sensor, and an arithmetic circuit.

バイアス磁石は、被測定電流経路に被測定電流が流れることによって生じる電流磁界と垂直方向にバイアス磁界を生成する。磁気センサは、バイアス磁界と、第1、バイアス磁界で構成される合成磁界と、の成す角度θに応じたsinθを含む信号及びcosθを含む信号を出力する。演算回路は、磁気センサからsinθを含む信号及びcosθを含む信号を入力し、sinθ/cosθを演算することにより電流に比例したtanθに対応する信号をセンサ信号として出力する。   The bias magnet generates a bias magnetic field in a direction perpendicular to a current magnetic field generated when the current to be measured flows through the current path to be measured. The magnetic sensor outputs a signal including sin θ and a signal including cos θ according to an angle θ formed by a bias magnetic field and a first magnetic field composed of a first bias magnetic field. The arithmetic circuit inputs a signal including sin θ and a signal including cos θ from the magnetic sensor, and calculates sin θ / cos θ to output a signal corresponding to tan θ proportional to the current as a sensor signal.

特開2013−64663号公報JP 2013-64663 A

しかしながら、上記従来の技術では、演算回路は磁気センサからsinθを含む信号及びcosθを含む信号の両方をデジタル信号処理するため、各信号に対応したA/D変換回路が必要になる。また、電流に対する応答性を高めるためにはA/D変換速度を上げる必要がある。これに伴ってA/D変換回路の規模が大きくなり、ひいては消費電流も大きくなってしまうという問題がある。   However, in the above conventional technique, since the arithmetic circuit performs digital signal processing on both the signal including sin θ and the signal including cos θ from the magnetic sensor, an A / D conversion circuit corresponding to each signal is required. Further, it is necessary to increase the A / D conversion speed in order to increase the response to current. Along with this, there is a problem that the scale of the A / D conversion circuit is increased and the current consumption is also increased.

本発明は上記点に鑑み、演算回路の回路規模及び消費電流を小さくすることができる構成を備えた電流センサを提供することを目的とする。   In view of the above points, an object of the present invention is to provide a current sensor having a configuration capable of reducing the circuit scale and current consumption of an arithmetic circuit.

上記目的を達成するため、請求項1に記載の発明では、被測定電流経路(200)に被測定電流が流れることによって生じる電流磁界(Bi)に対して垂直方向にバイアス磁界(Bb)を発生させる磁界発生部(120)を備えている。   In order to achieve the above object, according to the first aspect of the present invention, a bias magnetic field (Bb) is generated in a direction perpendicular to the current magnetic field (Bi) generated when the current to be measured flows through the current path to be measured (200) The magnetic field generation part (120) to be made is provided.

また、複数の磁気抵抗素子(131〜134)を有し、複数の磁気抵抗素子(131〜134)が外部の磁場の影響を受けたときの複数の磁気抵抗素子(131〜134)の抵抗値の変化に基づいて、バイアス磁界(Bb)と、電流磁界(Bi)及びバイアス磁界(Bb)で構成される合成磁界(Bs)と、の成す角度θについてsinθの成分を含む正弦波信号を出力するセンサ素子(130)を備えている。   Moreover, it has several magnetoresistive elements (131-134), and the resistance value of several magnetoresistive elements (131-134) when several magnetoresistive elements (131-134) receive the influence of an external magnetic field. Output a sinusoidal signal including a sin θ component for an angle θ formed by a bias magnetic field (Bb) and a combined magnetic field (Bs) composed of a current magnetic field (Bi) and a bias magnetic field (Bb). The sensor element (130) to be provided is provided.

さらに、sinθの成分を当該sinθの成分に対応したtanθの成分に変換する変換マップが記憶されたメモリ(186)を有し、正弦波信号をデジタル信号に変換して入力すると共に変換マップに基づいてsinθの成分をtanθの成分に変換し、tanθの成分を含んだ信号をセンサ信号として取得する信号処理部(180)を備えていることを特徴とする。   Furthermore, a memory (186) storing a conversion map for converting the sin θ component into a tan θ component corresponding to the sin θ component is input, and the sine wave signal is converted into a digital signal and inputted, and based on the conversion map. And a signal processing unit (180) for converting a sin θ component into a tan θ component and acquiring a signal including the tan θ component as a sensor signal.

これによると、信号処理部(180)はsinθの成分をtanθの成分に変換する変換マップを予め有しているので、信号処理部(180)はセンサ素子(130)からcosθを含む余弦波信号を入力する必要がない。すなわち、信号処理部(180)において余弦波信号をデジタル信号に変換するA/D変換回路を不要にすることができる。したがって、信号処理部(180)においてA/D変換回路が占める回路規模及び消費電流を小さくすることができる。   According to this, since the signal processing unit (180) has a conversion map for converting the sin θ component into the tan θ component in advance, the signal processing unit (180) receives a cosine wave signal including cos θ from the sensor element (130). There is no need to enter. That is, an A / D conversion circuit that converts the cosine wave signal into a digital signal in the signal processing unit (180) can be eliminated. Therefore, the circuit scale and current consumption occupied by the A / D conversion circuit in the signal processing unit (180) can be reduced.

なお、この欄及び特許請求の範囲で記載した各手段の括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。   In addition, the code | symbol in the bracket | parenthesis of each means described in this column and the claim shows the correspondence with the specific means as described in embodiment mentioned later.

本発明の一実施形態に係る電流センサをバスバーに取り付けたときの模式図である。It is a mimetic diagram when the current sensor concerning one embodiment of the present invention is attached to a bus bar. 図1に示す電流センサの断面図である。It is sectional drawing of the current sensor shown in FIG. 図1に示す電流センサの回路図である。It is a circuit diagram of the current sensor shown in FIG. 変換マップを示した図である。It is the figure which showed the conversion map. 変換マップの作り方を示した図である。It is the figure which showed how to make the conversion map. tanθの成分の誤差が所定の誤差許容範囲内に含まれていない場合を説明するための図である。It is a figure for demonstrating the case where the error of the component of tan (theta) is not contained in the predetermined | prescribed error tolerance | permissible_range. tanθの成分の誤差が所定の誤差許容範囲内に含まれている場合を説明するための図である。It is a figure for demonstrating the case where the error of the component of tan (theta) is contained in the predetermined | prescribed error tolerance | permissible_range.

以下、本発明の一実施形態について図を参照して説明する。本実施形態に係る電流センサは、例えば、車載バッテリ等に接続されるバスバーに流れる被測定電流を検出するものである。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The current sensor according to the present embodiment detects, for example, a current to be measured flowing in a bus bar connected to an in-vehicle battery or the like.

図1及び図2に示されるように、電流センサ100は、基板110、磁界発生部120、センサ素子130、回路チップ140、リード150、及びモールド樹脂160を備えて構成されている。   As shown in FIGS. 1 and 2, the current sensor 100 includes a substrate 110, a magnetic field generation unit 120, a sensor element 130, a circuit chip 140, leads 150, and a mold resin 160.

磁界発生部120は、検出対象であるバスバー200に被測定電流Iが流れることによって生じる電流磁界Biに対して垂直方向にバイアス磁界Bbを発生させるものである。磁界発生部120は、基板110の一面111に設置されている。磁界発生部120は、バイアス磁界Bbをセンサ素子130に印加する役割を果たす。なお、磁界発生部120は、例えば板状のバイアス磁石として構成されている。   The magnetic field generator 120 generates a bias magnetic field Bb in a direction perpendicular to the current magnetic field Bi generated by the current I to be measured flowing through the bus bar 200 that is the detection target. The magnetic field generator 120 is installed on the one surface 111 of the substrate 110. The magnetic field generator 120 serves to apply the bias magnetic field Bb to the sensor element 130. The magnetic field generator 120 is configured as a plate-like bias magnet, for example.

センサ素子130は、外部の磁場の影響を受けたときに抵抗値が変化する複数の磁気抵抗素子を有する板状のチップ部品である。図2に示されるように、センサ素子130は磁界発生部120の上に配置されている。   The sensor element 130 is a plate-shaped chip component having a plurality of magnetoresistive elements whose resistance values change when affected by an external magnetic field. As shown in FIG. 2, the sensor element 130 is disposed on the magnetic field generator 120.

回路チップ140は、センサ素子130から入力した信号に対して予め設定された演算を行うための信号処理回路を備えている。回路チップ140は、基板110の一面111に設置されている。   The circuit chip 140 includes a signal processing circuit for performing a preset operation on the signal input from the sensor element 130. The circuit chip 140 is installed on the one surface 111 of the substrate 110.

リード150は、外部と電流センサ100とを電気的に接続するための接続部品である。本実施形態では、複数のリード150が当該リード150の長手方向に垂直な方向に並べられている。そして、各リード150が図示しないワイヤを介して回路チップ140と電気的に接続されている。   The lead 150 is a connection component for electrically connecting the outside and the current sensor 100. In the present embodiment, the plurality of leads 150 are arranged in a direction perpendicular to the longitudinal direction of the leads 150. Each lead 150 is electrically connected to the circuit chip 140 via a wire (not shown).

モールド樹脂160は、基板110、磁界発生部120、センサ素子130、回路チップ140、及びリード150の一部を封止した封止部材である。具体的には、モールド樹脂160は、リード150のうち基板110側とは反対側の部分すなわちアウターリードの部分が露出するように、各部品を封止している。これにより、電流センサ100はモールドIC化されている。モールド樹脂160の材料として、例えばエポキシ樹脂等が採用される。   The mold resin 160 is a sealing member that seals a part of the substrate 110, the magnetic field generation unit 120, the sensor element 130, the circuit chip 140, and the lead 150. Specifically, the mold resin 160 seals each component so that a portion of the lead 150 opposite to the substrate 110, that is, a portion of the outer lead is exposed. Thereby, the current sensor 100 is formed as a mold IC. As a material of the mold resin 160, for example, an epoxy resin is employed.

上記の構成を有する電流センサ100は、図1に示されるように、バスバー200に組み付けられる。具体的には、電流センサ100は、バスバー200に流れる電流方向すなわちバスバー200の長手方向とバイアス磁界Bbとが平行になるように、バスバー200に組み付けられる。言い換えると、電流センサ100は、バスバー200に流れる被測定電流Iによって生成される電流磁界Biとバイアス磁界Bbとが垂直となるように、バスバー200に組み付けられる。そして、センサ素子130には、バイアス磁界Bb及び電流磁界Biで構成される合成磁界Bsが印加されるようになっている。   The current sensor 100 having the above configuration is assembled to the bus bar 200 as shown in FIG. Specifically, the current sensor 100 is assembled to the bus bar 200 so that the direction of current flowing through the bus bar 200, that is, the longitudinal direction of the bus bar 200 and the bias magnetic field Bb are parallel to each other. In other words, the current sensor 100 is assembled to the bus bar 200 so that the current magnetic field Bi generated by the measured current I flowing in the bus bar 200 and the bias magnetic field Bb are perpendicular to each other. A combined magnetic field Bs composed of a bias magnetic field Bb and a current magnetic field Bi is applied to the sensor element 130.

次に、電流センサ100におけるセンサ素子130と回路チップ140の回路構成について説明する。図3に示されるように、センサ素子130は、4つの磁気抵抗素子131〜134がブリッジ回路を形成するように構成されている。   Next, the circuit configuration of the sensor element 130 and the circuit chip 140 in the current sensor 100 will be described. As shown in FIG. 3, the sensor element 130 is configured such that the four magnetoresistive elements 131 to 134 form a bridge circuit.

各磁気抵抗素子131〜134は、図示しないが、下部電極の上にピン磁性層、非磁性層、フリー磁性層、及び上部電極が順に形成されたGMR素子として構成されている。ピン磁性層は磁化の向きが固定された強磁性金属層である。非磁性層はフリー磁性層からピン磁性層に電流を流すための層である。フリー磁性層は、外部の磁場の影響を受けて磁化の向きが変化する強磁性金属層である。なお、各磁気抵抗素子131〜134はそれぞれピン磁性層の磁化方向が互いに平行とされている。   Although not shown, each of the magnetoresistive elements 131 to 134 is configured as a GMR element in which a pin magnetic layer, a nonmagnetic layer, a free magnetic layer, and an upper electrode are sequentially formed on the lower electrode. The pinned magnetic layer is a ferromagnetic metal layer whose magnetization direction is fixed. The nonmagnetic layer is a layer for allowing a current to flow from the free magnetic layer to the pinned magnetic layer. The free magnetic layer is a ferromagnetic metal layer whose magnetization direction changes under the influence of an external magnetic field. In each of the magnetoresistive elements 131 to 134, the magnetization directions of the pinned magnetic layers are parallel to each other.

そして、センサ素子130は、各磁気抵抗素子131〜134の磁化方向がバイアス磁界Bbと垂直となるように磁界発生部120の上に設置される。このため、図1に示されるように、バイアス磁界Bbと合成磁界Bsとの成す角度をθとすると、センサ素子130から出力される各ハーフブリッジの各中点の電圧は、正弦値すなわちsinθを含む正弦波信号となる。したがって、センサ素子130は、各磁気抵抗素子131〜134が外部の磁場の影響を受けたときの各磁気抵抗素子131〜134の抵抗値の変化に基づいて、バイアス磁界Bbと合成磁界Bsとの成す角度θについてsinθの成分を含む正弦波信号を出力する。   The sensor element 130 is installed on the magnetic field generator 120 so that the magnetization directions of the magnetoresistive elements 131 to 134 are perpendicular to the bias magnetic field Bb. Therefore, as shown in FIG. 1, when the angle formed by the bias magnetic field Bb and the combined magnetic field Bs is θ, the voltage at each midpoint of each half bridge output from the sensor element 130 is a sine value, that is, sin θ. Including sine wave signal. Therefore, the sensor element 130 determines whether the bias magnetic field Bb and the combined magnetic field Bs are based on a change in the resistance value of the magnetoresistive elements 131 to 134 when the magnetoresistive elements 131 to 134 are affected by an external magnetic field. A sine wave signal including a sin θ component is output for the formed angle θ.

ここで、正弦波信号をVsinとすると、正弦波信号はVsin=A(t)・sinθ+Voff(t)で表される。バスバー200に被測定電流Iが流れることによってバスバー200に熱が発生するので、sinθの成分には温度に依存した振幅成分(A(t))及びオフセット成分(Voff(t))の各成分が含まれている。なお、振幅成分はセンサ素子130の感度に対応している。   Here, when the sine wave signal is Vsin, the sine wave signal is expressed by Vsin = A (t) · sin θ + Voff (t). Since heat is generated in the bus bar 200 when the current I to be measured flows through the bus bar 200, the sin θ component includes an amplitude component (A (t)) and an offset component (Voff (t)) depending on temperature. include. The amplitude component corresponds to the sensitivity of the sensor element 130.

回路チップ140は、温度センサ170及び信号処理部180を備えている。温度センサ170は、バスバー200に被測定電流Iが流れることによって生じる熱に起因した温度を検出する。つまり、温度センサ170は信号処理部180の温度を検出する。そして、温度センサ170は、温度情報を含んだ温度信号を第2A/D変換部182に出力する。温度センサ170は、例えば、回路チップ140を構成する基板に形成されたサーミスタや、ダイオード等の温度検出回路や、センサ素子130の出力から温度を推定する推定回路等で構成されている。   The circuit chip 140 includes a temperature sensor 170 and a signal processing unit 180. The temperature sensor 170 detects a temperature caused by heat generated by the current I to be measured flowing through the bus bar 200. That is, the temperature sensor 170 detects the temperature of the signal processing unit 180. Then, the temperature sensor 170 outputs a temperature signal including temperature information to the second A / D conversion unit 182. The temperature sensor 170 includes, for example, a thermistor formed on a substrate constituting the circuit chip 140, a temperature detection circuit such as a diode, an estimation circuit that estimates the temperature from the output of the sensor element 130, and the like.

信号処理部180は、正弦波信号に含まれるsinθの成分を当該sinθの成分に対応したtanθの成分に変換する機能を有するデジタル回路である。このような信号処理部180は、第1A/D変換部181、第2A/D変換部182、振幅演算部183、オフセット演算部184、温度補正部185、メモリ186、演算部187、及びD/A変換部188を有している。   The signal processing unit 180 is a digital circuit having a function of converting a sin θ component included in a sine wave signal into a tan θ component corresponding to the sin θ component. The signal processing unit 180 includes a first A / D conversion unit 181, a second A / D conversion unit 182, an amplitude calculation unit 183, an offset calculation unit 184, a temperature correction unit 185, a memory 186, a calculation unit 187, and a D / D A conversion unit 188 is included.

第1A/D変換部181は、センサ素子130から正弦波信号を入力してデジタル信号に変換する回路部である。第2A/D変換部182は、温度センサ170から温度信号を入力してデジタル信号に変換する回路部である。   The first A / D conversion unit 181 is a circuit unit that receives a sine wave signal from the sensor element 130 and converts it into a digital signal. The second A / D conversion unit 182 is a circuit unit that receives a temperature signal from the temperature sensor 170 and converts it into a digital signal.

振幅演算部183は、乗算回路183a及び加減算回路183bを有している。乗算回路183aは、温度信号の温度情報が示す温度とメモリ186に記憶されたデータ(1TAMP)とを乗算する。加減算回路183bは、乗算回路183aの演算結果とメモリ186に記憶されたデータ(AMP)とを加減算する。これにより、振幅演算部183は、温度に依存した振幅を打ち消すためのパラメータ(A_T)を取得する。   The amplitude calculation unit 183 includes a multiplication circuit 183a and an addition / subtraction circuit 183b. The multiplication circuit 183a multiplies the temperature indicated by the temperature information of the temperature signal by the data (1TAMP) stored in the memory 186. The addition / subtraction circuit 183b adds / subtracts the calculation result of the multiplication circuit 183a and the data (AMP) stored in the memory 186. Thereby, the amplitude calculation unit 183 acquires a parameter (A_T) for canceling the temperature-dependent amplitude.

オフセット演算部184は、乗算回路184a及び加減算回路184bを有している。乗算回路184aは、温度信号の温度情報が示す温度とメモリ186に記憶されたデータ(TOF)とを乗算する。加減算回路184bは、乗算回路184aの演算結果とメモリ186に記憶されたデータ(OFF)とを加減算する。これにより、オフセット演算部184は、温度に依存したオフセットを打ち消すためのパラメータ(Voff_T)を取得する。   The offset calculation unit 184 includes a multiplication circuit 184a and an addition / subtraction circuit 184b. The multiplication circuit 184a multiplies the temperature indicated by the temperature information of the temperature signal by the data (TOF) stored in the memory 186. The addition / subtraction circuit 184b adds / subtracts the calculation result of the multiplication circuit 184a and the data (OFF) stored in the memory 186. Thereby, the offset calculation unit 184 acquires a parameter (Voff_T) for canceling the temperature-dependent offset.

温度補正部185は、加減算回路185a及び乗算回路185bを有している。加減算回路185aは、デジタル信号に変換された正弦波信号に対してオフセット演算部184で得られたパラメータを加算または減算することにより、正弦波信号に含まれる温度に依存するオフセット成分を消去する。また、乗算回路185bは、振幅演算部183で得られたパラメータを乗算することにより、正弦波信号に含まれる温度に依存する振幅成分を消去する。これにより、温度補正部185は、温度に依存しないsinθの成分を含んだ正弦波信号を取得する。すなわち、温度補正部185は、Vsin=sinθを得る。   The temperature correction unit 185 includes an addition / subtraction circuit 185a and a multiplication circuit 185b. The addition / subtraction circuit 185a eliminates the offset component depending on the temperature included in the sine wave signal by adding or subtracting the parameter obtained by the offset calculation unit 184 to the sine wave signal converted into the digital signal. Further, the multiplication circuit 185b multiplies the parameter obtained by the amplitude calculator 183, thereby eliminating the amplitude component depending on the temperature included in the sine wave signal. Accordingly, the temperature correction unit 185 acquires a sine wave signal including a sin θ component that does not depend on the temperature. That is, the temperature correction unit 185 obtains Vsin = sin θ.

なお、第1A/D変換部181に乗算回路185bが接続されることにより、正弦波信号に対して先に振幅成分が補正されるように回路構成されていても良い。   Note that the circuit configuration may be such that the amplitude component is corrected first with respect to the sine wave signal by connecting the multiplication circuit 185 b to the first A / D conversion unit 181.

メモリ186は、振幅演算部183及びオフセット演算部184で用いられる各データと、演算部187で用いられる変換マップと、を記憶した記憶部である。   The memory 186 is a storage unit that stores data used by the amplitude calculation unit 183 and the offset calculation unit 184 and a conversion map used by the calculation unit 187.

変換マップは、sinθの成分を当該sinθの成分に対応したtanθの成分に変換するためのデータである。図4に示されるように、変換マップは、横軸がsinθの成分に対応し、縦軸がtanθの成分に対応している。この変換マップに基づいてsinθの成分がtanθの成分に変換される。   The conversion map is data for converting a sin θ component into a tan θ component corresponding to the sin θ component. As shown in FIG. 4, in the conversion map, the horizontal axis corresponds to the component of sin θ, and the vertical axis corresponds to the component of tan θ. Based on this conversion map, the sin θ component is converted into a tan θ component.

具体的に、変換マップは、複数の分割点、1つもしくは複数の関数、及び複数の定数で構成されている。複数の分割点は、sinθの成分の最大値と最小値との間を複数の区間に分割するためのパラメータである。図4では、sinθの成分の最大値と最小値との間を9個の区間に分割するため、分割点は8個設定されている。   Specifically, the conversion map includes a plurality of division points, one or a plurality of functions, and a plurality of constants. The plurality of division points are parameters for dividing the maximum value and the minimum value of the sin θ component into a plurality of sections. In FIG. 4, since the interval between the maximum value and the minimum value of the sin θ component is divided into nine sections, eight division points are set.

なお、sinθの成分の最大値と最小値との間を2つの区間に分割する場合、分割点はsinθの成分の最大値に該当する分割点と、sinθの成分の最小値に該当する分割点と、sinθの成分の最大値と最小値との間の分割点と、の3個となる。   In addition, when dividing between the maximum value and the minimum value of the component of sin θ into two sections, the dividing point is a dividing point corresponding to the maximum value of the component of sin θ and a dividing point corresponding to the minimum value of the component of sin θ. And a dividing point between the maximum value and the minimum value of the component of sin θ.

関数は、複数の分割点のうち隣同士の分割点を結ぶN次の関数である。例えば2次関数の場合、当該関数はy=a・x2+b・x+cとして表される。yはtanθの成分に対応し、xはsinθの成分に対応する。関数は、全ての区間で共通していても良いし、区間毎に異なっていても良い。 The function is an Nth order function that connects adjacent dividing points among a plurality of dividing points. For example, in the case of a quadratic function, the function is expressed as y = a · x 2 + b · x + c. y corresponds to the component of tan θ, and x corresponds to the component of sin θ. The function may be common to all the sections, or may be different for each section.

定数は、複数の区間のうち隣同士の区間で関数が滑らかに繋がるように複数の区間毎に関数に対して設定されている。上記の2次関数の場合では、aは各区間に対応してa1からa9まで設定されている。また、bは各区間に対応してb1からb9まで設定されている。同様に、cは各区間に対応してc1からc9まで設定されている。関数が3次関数になれば、3次関数に応じた定数が用意される。   The constant is set for the function for each of the plurality of sections so that the functions are smoothly connected in adjacent sections among the plurality of sections. In the case of the above quadratic function, a is set from a1 to a9 corresponding to each section. Also, b is set from b1 to b9 corresponding to each section. Similarly, c is set from c1 to c9 corresponding to each section. If the function becomes a cubic function, a constant corresponding to the cubic function is prepared.

ここで、メモリ186は書き換え可能に構成されている。このため、複数の分割点は、メモリ186において書き換え可能に記憶されている。例えば、電流センサ100の製造時に初期値が記憶された状態で電流センサ100の設置状況等で後から各分割点の微調整が可能になっている。   Here, the memory 186 is configured to be rewritable. For this reason, the plurality of division points are stored in the memory 186 so as to be rewritable. For example, each division point can be finely adjusted later according to the installation state of the current sensor 100 in a state where the initial value is stored at the time of manufacturing the current sensor 100.

これは、電流センサ100がバスバー200に組み付けられた際に電流センサ100とバスバー200との位置関係等に応じて変換マップに微少なずれが生じる可能性がある。このため、この微少なずれを修正するために分割点の書き換えが可能になっている。このように、分割点が微調整された状態で電流センサ100が出荷されることが好ましい。   This is because when the current sensor 100 is assembled to the bus bar 200, a slight shift may occur in the conversion map depending on the positional relationship between the current sensor 100 and the bus bar 200, and the like. For this reason, the division point can be rewritten to correct this slight shift. Thus, it is preferable that the current sensor 100 is shipped in a state where the dividing points are finely adjusted.

演算部187は、温度情報に基づいて温度特性の補正が行われた正弦波信号に対して変換マップに基づいてsinθの成分をtanθの成分に変換する回路部である。すなわち、演算部187は、複数の区間のうちsinθの成分に対応する区間の定数を関数に用いることによりsinθの成分からtanθの成分に変換する。これにより、演算部187は、tanθの成分を含んだ信号をセンサ信号として取得する。また、演算部187は当該センサ信号をD/A変換部188に出力する。   The calculation unit 187 is a circuit unit that converts a sin θ component into a tan θ component based on a conversion map for a sine wave signal that has been corrected for temperature characteristics based on temperature information. That is, the calculation unit 187 converts the sin θ component into the tan θ component by using, as a function, the constant of the interval corresponding to the sin θ component among the plurality of intervals. Thereby, the calculating part 187 acquires the signal containing the component of tan (theta) as a sensor signal. In addition, the calculation unit 187 outputs the sensor signal to the D / A conversion unit 188.

D/A変換部188は、演算部187で演算処理されたデジタル信号としてのセンサ信号をアナログ信号に変換する回路部である。D/A変換部188の出力が電流センサ100のセンサ出力として外部装置に出力される。以上が、本実施形態に係る電流センサ100の構成である。   The D / A conversion unit 188 is a circuit unit that converts a sensor signal as a digital signal that has been subjected to arithmetic processing by the arithmetic unit 187 into an analog signal. The output of the D / A converter 188 is output to the external device as the sensor output of the current sensor 100. The above is the configuration of the current sensor 100 according to the present embodiment.

次に、変換マップの作り方について説明する。図5に示されるように、はじめに、センサ素子130を用意して被測定電流Iを最小値から最大値までスイープさせる。これにより、sinθのデータを取得する。そして、取得したsinθのデータに対して8個の分割点を設定してメモリ186に書き込む。これにより、sinθの成分を9個の区分に分割する。   Next, how to create a conversion map will be described. As shown in FIG. 5, first, the sensor element 130 is prepared and the measured current I is swept from the minimum value to the maximum value. Thereby, the data of sin θ is acquired. Then, eight division points are set for the acquired sin θ data and written to the memory 186. Thereby, the component of sin θ is divided into nine sections.

続いて、最小二乗法を用いて各区間でN次の関数及び定数を導き出す(補間関数算出)。また、当該関数及び定数をメモリ186に書き込み、仮の変換マップを作る。そして、被測定電流Iを最小値から最大値までスイープさせる。これにより、仮の変換マップを用いてtanθのデータを取得する。   Subsequently, an Nth order function and a constant are derived in each section using the least square method (interpolation function calculation). In addition, the function and constant are written into the memory 186 to create a temporary conversion map. Then, the measured current I is swept from the minimum value to the maximum value. As a result, tan θ data is acquired using a temporary conversion map.

この後、仮の変換マップで得られたtanθの成分の誤差が均一か否かを判定する。すなわち、tanθの成分の誤差が所定の誤差許容範囲内に含まれているか否かを判定する。例えば、図6に示されるように、ある区間ではtanθの成分の誤差が所定の誤差許容範囲内に含まれる一方、別の区間では誤差が誤差許容範囲を超える。このようにtanθの成分の誤差が均一でない場合はメモリ186に分割点を書き込む工程に戻る。   Thereafter, it is determined whether or not the error of the tan θ component obtained by the temporary conversion map is uniform. That is, it is determined whether or not the error of the component of tan θ is included within a predetermined error allowable range. For example, as shown in FIG. 6, the error of the tan θ component is included in a predetermined error allowable range in a certain section, while the error exceeds the error allowable range in another section. As described above, when the error of the component of tan θ is not uniform, the process returns to the step of writing the dividing point in the memory 186.

そして、先に書き込んだ分割点とは異なる分割点をメモリ186に書き込む。続いて、被測定電流Iを最小値から最大値までスイープさせて、仮の変換マップを用いてtanθのデータを取得する。再び、仮の変換マップで得られたtanθの成分の誤差が均一か否かを判定し、図7に示されるように全ての区間で誤差が所定の誤差許容範囲内に含まれる場合は変換マップが完成する。   Then, a dividing point different from the previously written dividing point is written in the memory 186. Subsequently, the current to be measured I is swept from the minimum value to the maximum value, and tan θ data is acquired using a temporary conversion map. Again, it is determined whether or not the error of the tan θ component obtained by the provisional conversion map is uniform. If the error is included in the predetermined error allowable range in all the sections as shown in FIG. Is completed.

tanθの成分の誤差が所定の誤差許容範囲内に含まれない場合、tanθの成分の誤差が所定の誤差許容範囲内に含まれるまで、分割点の書き込み、補間関数算出、電流スイープ、tanθのデータ取得、及び誤差の判定を繰り返す。なお、図6及び図7では被測定電流Iのレンジ及び誤差のレンジは同じである。   When the error of the tan θ component is not included in the predetermined error allowable range, the division point is written, the interpolation function is calculated, the current sweep, and the tan θ data until the error of the tan θ component is included in the predetermined error allowable range. Repeat acquisition and error determination. 6 and 7, the range of the current I to be measured and the error range are the same.

上記のように作られた変換マップは、複数製造される電流センサ100に共通の変換マップとして各電流センサ100のメモリ186に書き込まれる。そして、各電流センサ100は出荷される。   The conversion map created as described above is written in the memory 186 of each current sensor 100 as a conversion map common to a plurality of current sensors 100 manufactured. Each current sensor 100 is shipped.

電流センサ100は、次のように動作する。まず、バスバー200に被測定電流Iが流れると、センサ素子130がsinθの成分を含んだ正弦波信号を出力する。また、温度センサ170が温度信号を出力する。   The current sensor 100 operates as follows. First, when the current I to be measured flows through the bus bar 200, the sensor element 130 outputs a sine wave signal including a sin θ component. Further, the temperature sensor 170 outputs a temperature signal.

信号処理部180は、温度信号に含まれる温度情報とメモリ186のデータとを用いて振幅演算部183及びオフセット演算部184によって温度に依存した振幅及びオフセットを打ち消すためのパラメータ(A_T、Voff_T)を取得する。   The signal processing unit 180 uses the temperature information included in the temperature signal and the data in the memory 186 to set parameters (A_T, Voff_T) for canceling the temperature-dependent amplitude and offset by the amplitude calculation unit 183 and the offset calculation unit 184. get.

そして、信号処理部180は、振幅及びオフセットを打ち消すためのパラメータ(A_T、Voff_T)を用いて温度補正部185によって正弦波信号の温度特性を補正する。これにより、信号処理部180は、温度に依存しないsinθの成分を取得する。また、信号処理部180は、演算部187において変換マップを用いてsinθの成分をtanθの成分に変換する。tanθの成分が被測定電流Iの大きさに比例している。信号処理部180はこのtanθの成分を含んだセンサ信号を出力する。   Then, the signal processing unit 180 corrects the temperature characteristic of the sine wave signal by the temperature correction unit 185 using the parameters (A_T, Voff_T) for canceling the amplitude and the offset. As a result, the signal processing unit 180 acquires a sin θ component that does not depend on the temperature. In addition, the signal processing unit 180 converts the sin θ component into the tan θ component using the conversion map in the calculation unit 187. The component of tan θ is proportional to the magnitude of the current I to be measured. The signal processing unit 180 outputs a sensor signal including the tan θ component.

D/A変換部188はセンサ信号をデジタル信号に変換してセンサ出力として外部装置に出力する。外部装置はセンサ信号に基づいてバスバー200に流れる被測定電流Iを制御する。   The D / A converter 188 converts the sensor signal into a digital signal and outputs it as a sensor output to an external device. The external device controls the measured current I flowing through the bus bar 200 based on the sensor signal.

以上説明したように、本実施形態の電流センサ100では、センサ素子130においてsinθの成分を含んだ正弦波信号のみを取得し、信号処理部180において変換マップを用いてsinθの成分からtanθの成分を取得することが特徴となっている。このように、信号処理部180は予め記憶された変換マップによってsinθの成分のみからtanθの成分が得られるので、電流センサ100はcosθを含む余弦波信号に関するA/D変換部が不要になる。したがって、信号処理部180においてA/D変換回路が占める回路規模及び消費電流を小さくすることができる。   As described above, in the current sensor 100 of the present embodiment, only the sine wave signal including the sin θ component is acquired in the sensor element 130, and the signal processor 180 uses the conversion map to convert the tan θ component from the sin θ component. It is characterized by acquiring. As described above, since the signal processing unit 180 obtains the tan θ component only from the sin θ component using the conversion map stored in advance, the current sensor 100 does not need an A / D conversion unit related to the cosine wave signal including cos θ. Therefore, the circuit scale and current consumption occupied by the A / D conversion circuit in the signal processing unit 180 can be reduced.

また、信号処理部180は、変換マップに基づいてsinθの成分をtanθの成分に変換する前に、温度補正部185によって正弦波信号の温度補正を行っているので、変換マップに温度特性を考慮する必要がない。すなわち、温度毎に複数のバリエーションの変換マップが不要になるので、信号処理部180は温度に依存しない1つの変換マップを持つだけで済むというメリットがある。   Further, since the signal processing unit 180 performs temperature correction of the sine wave signal by the temperature correction unit 185 before converting the sin θ component into the tan θ component based on the conversion map, the temperature characteristics are considered in the conversion map. There is no need to do. That is, since a plurality of variations of conversion maps are not required for each temperature, there is an advantage that the signal processing unit 180 only needs to have one conversion map that does not depend on temperature.

なお、本実施形態の記載と特許請求の範囲の記載との対応関係については、バスバー200が特許請求の範囲の「被測定電流経路」に対応する。   As for the correspondence between the description of the present embodiment and the description of the claims, the bus bar 200 corresponds to the “current path to be measured” in the claims.

(他の実施形態)
上記各実施形態で示された電流センサ100の構成は一例であり、上記で示した構成に限定されることなく、本発明を実現できる他の構成とすることもできる。磁界発生部120とセンサ素子130との配置関係については、上述のように各磁気抵抗素子131〜134のピン磁性層の磁化方向とバイアス磁界Bbの方向との関係が維持できれば、どのような配置関係でも良い。また、センサ素子130の各磁気抵抗素子131〜134はGMR素子として構成されていたが、TMR素子として構成されていても良い。
(Other embodiments)
The configuration of the current sensor 100 shown in each of the above embodiments is an example, and the present invention is not limited to the configuration shown above, and other configurations that can realize the present invention can be used. As for the arrangement relationship between the magnetic field generator 120 and the sensor element 130, as long as the relationship between the magnetization direction of the pinned magnetic layer of each of the magnetoresistive elements 131 to 134 and the direction of the bias magnetic field Bb can be maintained as described above, any arrangement is possible. The relationship may be good. Moreover, although each magnetoresistive element 131-134 of the sensor element 130 was comprised as a GMR element, you may be comprised as a TMR element.

上記の実施形態では、温度補正部185によって正弦波信号の温度補正を行っていたが、これは信号処理の一例である。したがって、電流センサ100は正弦波信号の温度補正を行わない構成でも良い。   In the above embodiment, the temperature correction unit 185 performs temperature correction of the sine wave signal, but this is an example of signal processing. Therefore, the current sensor 100 may be configured not to perform temperature correction of the sine wave signal.

上記の実施形態では、sinθの成分の最大値と最小値との間を分割点によって複数の区間に分割していたが、可能であればsinθの成分の最大値と最小値との間を1つの関数で近似しても良い。   In the above embodiment, the interval between the maximum value and the minimum value of the sin θ component is divided into a plurality of sections by dividing points. However, if possible, the interval between the maximum value and the minimum value of the sin θ component is 1. You may approximate with two functions.

上記の実施形態では、メモリ186に記憶された分割点のデータは書き換え可能になっていたが、これは一例である。例えば、メモリ186に記憶された分割点のデータは書き換え不可能になっていても良い。   In the above embodiment, the data of the division points stored in the memory 186 can be rewritten, but this is an example. For example, the data of the dividing points stored in the memory 186 may not be rewritable.

さらに、上記の実施形態では、電流センサ100は車載バッテリ等に接続されるバスバー200に流れる被測定電流Iを測定するように構成されていたが、これは電流センサ100の用途の一例である。したがって、測定対象は車両用のバスバー200に限られず、他の用途に用いられる配線に電流センサ100を適用しても良い。   Furthermore, in the above-described embodiment, the current sensor 100 is configured to measure the current I to be measured flowing through the bus bar 200 connected to the vehicle battery or the like, but this is an example of the application of the current sensor 100. Therefore, the measurement target is not limited to the vehicle bus bar 200, and the current sensor 100 may be applied to wiring used for other purposes.

120 磁界発生部
130 センサ素子
131〜134 磁気抵抗素子
180 信号処理部
186 メモリ
200 バスバー(被測定電流経路)
Bi 電流磁界
Bb バイアス磁界
Bs 合成磁界
DESCRIPTION OF SYMBOLS 120 Magnetic field generation part 130 Sensor element 131-134 Magnetoresistive element 180 Signal processing part 186 Memory 200 Bus bar (measurement current path)
Bi current magnetic field Bb bias magnetic field Bs synthetic magnetic field

Claims (4)

被測定電流経路(200)に被測定電流が流れることによって生じる電流磁界(Bi)に対して垂直方向にバイアス磁界(Bb)を発生させる磁界発生部(120)と、
複数の磁気抵抗素子(131〜134)を有し、前記複数の磁気抵抗素子(131〜134)が外部の磁場の影響を受けたときの前記複数の磁気抵抗素子(131〜134)の抵抗値の変化に基づいて、前記バイアス磁界(Bb)と、前記電流磁界(Bi)及び前記バイアス磁界(Bb)で構成される合成磁界(Bs)と、の成す角度θについてsinθの成分を含む正弦波信号を出力するセンサ素子(130)と、
前記sinθの成分を当該sinθの成分に対応したtanθの成分に変換する変換マップが記憶されたメモリ(186)を有し、前記正弦波信号をデジタル信号に変換して入力すると共に前記変換マップに基づいて前記sinθの成分を前記tanθの成分に変換し、前記tanθの成分を含んだ信号をセンサ信号として取得する信号処理部(180)と、
を備えていることを特徴とする電流センサ。
A magnetic field generator (120) for generating a bias magnetic field (Bb) in a direction perpendicular to a current magnetic field (Bi) generated by the current to be measured flowing through the current to be measured (200);
Resistance values of the plurality of magnetoresistive elements (131 to 134) when the plurality of magnetoresistive elements (131 to 134) are affected by an external magnetic field. A sinusoidal wave including a sin θ component with respect to an angle θ formed by the bias magnetic field (Bb) and a combined magnetic field (Bs) composed of the current magnetic field (Bi) and the bias magnetic field (Bb). A sensor element (130) for outputting a signal;
A memory (186) that stores a conversion map for converting the sin θ component into a tan θ component corresponding to the sin θ component, converts the sine wave signal into a digital signal, and inputs the digital signal to the conversion map. A signal processor (180) that converts the sin θ component into the tan θ component based on the signal and acquires a signal including the tan θ component as a sensor signal;
A current sensor comprising:
前記信号処理部(180)は、前記被測定電流経路(200)に前記被測定電流が流れることによって生じる熱に起因した温度情報を取得し、前記変換マップに基づいて前記sinθの成分を前記tanθの成分に変換する前に、前記温度情報に基づいて前記正弦波信号に対して温度特性の補正を行うことを特徴とする請求項1に記載の電流センサ。   The signal processing unit (180) acquires temperature information caused by heat generated by the current to be measured flowing through the current to be measured (200), and based on the conversion map, the component of the sin θ is obtained as the tan θ. 2. The current sensor according to claim 1, wherein a temperature characteristic is corrected for the sine wave signal based on the temperature information before conversion into the component. 前記変換マップは、前記sinθの成分の最大値と最小値との間を複数の区間に分割する複数の分割点と、前記複数の分割点のうち隣同士の分割点を結ぶための関数と、前記複数の区間のうち隣同士の区間で前記関数が滑らかに繋がるように前記複数の区間毎に前記関数に対して設定された定数と、を有して構成されており、
前記信号処理部(180)は、前記複数の区間のうち前記sinθの成分に対応する区間の定数を前記関数に用いることにより前記sinθの成分から前記tanθの成分に変換することを特徴とする請求項1または2に記載の電流センサ。
The transformation map includes a plurality of division points that divide between a maximum value and a minimum value of the sin θ component into a plurality of sections, and a function for connecting adjacent division points among the plurality of division points, A constant set for the function for each of the plurality of sections so that the functions are smoothly connected in adjacent sections among the plurality of sections,
The signal processing unit (180) converts the sin θ component to the tan θ component by using a constant of the interval corresponding to the sin θ component of the plurality of intervals for the function. Item 3. The current sensor according to Item 1 or 2.
前記複数の分割点は、前記メモリ(186)において書き換え可能に記憶されていることを特徴とする請求項3に記載の電流センサ。   The current sensor according to claim 3, wherein the plurality of division points are stored in the memory (186) so as to be rewritable.
JP2015112937A 2015-06-03 2015-06-03 Current sensor Pending JP2016223994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015112937A JP2016223994A (en) 2015-06-03 2015-06-03 Current sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015112937A JP2016223994A (en) 2015-06-03 2015-06-03 Current sensor

Publications (1)

Publication Number Publication Date
JP2016223994A true JP2016223994A (en) 2016-12-28

Family

ID=57745649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015112937A Pending JP2016223994A (en) 2015-06-03 2015-06-03 Current sensor

Country Status (1)

Country Link
JP (1) JP2016223994A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594153A (en) * 2018-04-08 2018-09-28 哈尔滨工业大学 A kind of optical fiber current mutual inductor temperature and scale factory non-linearity by stages comprehensive compensation method
CN109870602A (en) * 2017-12-05 2019-06-11 日立金属株式会社 Current sensor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109870602A (en) * 2017-12-05 2019-06-11 日立金属株式会社 Current sensor
CN108594153A (en) * 2018-04-08 2018-09-28 哈尔滨工业大学 A kind of optical fiber current mutual inductor temperature and scale factory non-linearity by stages comprehensive compensation method

Similar Documents

Publication Publication Date Title
US11022468B2 (en) Magnetoresistive angle sensor and corresponding strong magnetic field error correction and calibration methods
KR20180089314A (en) Magnetic sensor position measurement with phase compensation
US9389060B2 (en) Magnetic field sensor and related techniques that provide an angle error correction module
JP5533826B2 (en) Current sensor and current sensor assembly structure
US20190120659A1 (en) Differential hall magnet polarity detection for amr 360 degree sensor
CA2797574A1 (en) Calibratable magnetic field sensor and method for calibrating same and usage of an exciter conductor structure and method for determining an exciter conductor spacing from a magnetic field sensor
JP2002296072A (en) Angle measuring device
JP6536632B2 (en) Angle sensor and angle sensor system
JP6939754B2 (en) Angle sensor and angle sensor system
US11500038B2 (en) Sensor, control device and method for determining the direction of a magnetic field
JP2016223994A (en) Current sensor
JP6897106B2 (en) Signal correction method for current sensor and current sensor
JP6477718B2 (en) Current detection method, current detection device, current detection device signal correction method, and current detection device signal correction device
JP6897107B2 (en) Signal correction method for current sensor and current sensor
US20210063135A1 (en) Angle sensor and angle sensor system
JP4805784B2 (en) Position sensor
JP2006047004A (en) Temperature sensor and sensor using magnetoresistive element
EP1704388B1 (en) Amr sensor element for angle measurement
US20120133357A1 (en) Hybrid sensor arrangement
WO2014147996A1 (en) Current sensor
JP4510887B2 (en) Adaptive control device, use thereof, sensor having this type of control device, and adaptive method for automatically compensating for disturbance signals of sensors
JP6619974B2 (en) Encoder
Nagy et al. Practical Analysis of an AMR Wheel Speed Sensor and CAN Bus System for the Communication’s Failures and its Implications to the EV’s Control System
CN108469595B (en) Magnetic field sensing device and sensing method
Xie et al. Giant magnetoresistive based galvanically isolated voltage measurement