JP2010025730A - Magnetic sensor device - Google Patents

Magnetic sensor device Download PDF

Info

Publication number
JP2010025730A
JP2010025730A JP2008186949A JP2008186949A JP2010025730A JP 2010025730 A JP2010025730 A JP 2010025730A JP 2008186949 A JP2008186949 A JP 2008186949A JP 2008186949 A JP2008186949 A JP 2008186949A JP 2010025730 A JP2010025730 A JP 2010025730A
Authority
JP
Japan
Prior art keywords
circuit
sensor device
magnetic sensor
terminal
diagnosis
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
JP2008186949A
Other languages
Japanese (ja)
Other versions
JP5128399B2 (en
Inventor
Yuki Narita
友樹 成田
Yoshihiko Sato
嘉彦 佐藤
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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika 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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2008186949A priority Critical patent/JP5128399B2/en
Publication of JP2010025730A publication Critical patent/JP2010025730A/en
Application granted granted Critical
Publication of JP5128399B2 publication Critical patent/JP5128399B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hall/Mr Elements (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a magnetic sensor device surely performing a failure diagnosis even at the start of a system in which an object to be detected does not operate. <P>SOLUTION: This magnetic sensor device 1 includes a detection circuit 10 that includes a plurality of MR elements connected with each other in a bridge circuit having resistance values varied in accordance with an orientation of a magnetic field applied thereto, and outputs a detection signal in accordance with the variation of the resistance values. The magnetic sensor device 1 further includes an amplifier circuit 20 that amplifies the detection signal so as to output it, and a diagnosing circuit having a diagnosing terminal which is used in such a manner that a predetermined voltage is applied to an input terminal of the amplifier circuit 20 from the outside and the output of the amplifier circuit 20 is detected so as to diagnose whether the amplifier circuit 20 adequately operates. By applying a predetermined voltage to the diagnosing terminals (DIAG1, DIAG2), determination whether a failure occurs is made on the basis of output signals Vout1, Vout2 of the magnetic sensor device 1. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、磁気センサデバイスに関し、特に、ダイアグ機能を有する磁気センサデバイスに関する。   The present invention relates to a magnetic sensor device, and more particularly to a magnetic sensor device having a diagnosis function.

ステアリングシャフトと一体に回転するロータ歯車の回転を遊星歯車機構によって構成された減速機構によって減速し、減速後の回転を減速側検出用ギアに伝達するものとした回転角度検出装置がある(例えば、特許文献1)。この回転角度検出装置は、減速機構を構成する各ギアの軸が同一方向であるため、ステアリングシャフトの回転を少ないガタによって減速側検出用ギアに伝達することができる。したがって、減速機構でのガタつきが少ないのでステアリングシャフトの回転角をより正確に検出することができるとされている。   There is a rotation angle detection device in which the rotation of the rotor gear that rotates integrally with the steering shaft is decelerated by a reduction mechanism configured by a planetary gear mechanism, and the rotation after deceleration is transmitted to the reduction-side detection gear (for example, Patent Document 1). In this rotation angle detection device, since the shafts of the respective gears constituting the speed reduction mechanism are in the same direction, the rotation of the steering shaft can be transmitted to the speed reduction side detection gear with less play. Therefore, it is said that the rotation angle of the steering shaft can be detected more accurately because there is little backlash in the speed reduction mechanism.

さらに、故障診断部を有し、減速機構側演算部のステアリング角変換部より出力された概略絶対角と、増速機構側演算部のステアリング角変換部から出力された詳細絶対角とを比較し、絶対角度の差が一定値以上となった場合には、MRセンサに故障が発生したものとして、外部装置へ故障診断結果を出力する。ステアリングの回転角度を検出する上で必要な減速機構、減速側検出用ギア、減速機構側演算部と、増速側検出用ギア、増速機構側演算部のみを利用することによってMRセンサに故障が発生しているかどうかを判断するようにしたものであり、故障診断用に別部材を設けていないため、コストアップ、大型化せずに故障診断できるとされている。
特開2008−51668号公報
In addition, it has a fault diagnosis unit that compares the approximate absolute angle output from the steering angle conversion unit of the deceleration mechanism side calculation unit with the detailed absolute angle output from the steering angle conversion unit of the speed increase mechanism side calculation unit. If the difference in absolute angle exceeds a certain value, it is assumed that a failure has occurred in the MR sensor, and a failure diagnosis result is output to the external device. MR sensor malfunctions by using only the speed reduction mechanism, the speed reduction detection gear, the speed reduction mechanism side arithmetic unit, the speed increase side detection gear, and the speed increase mechanism side arithmetic unit necessary to detect the steering rotation angle. Therefore, it is said that failure diagnosis can be performed without increasing costs and increasing the size because no separate member is provided for failure diagnosis.
JP 2008-51668 A

しかし、特許文献1の回転角度検出装置によれば、ステアリングシャフトが回転し、ロータ歯車や遊星歯車機構等が回転運動をしているときはMRセンサの故障診断ができるが、車両が走行していないとき、例えば、システムスタート時には、ロータ歯車や遊星歯車機構等が回転運動をしていないので、MRセンサの故障診断を行なうことができないという問題がある。   However, according to the rotation angle detection device of Patent Document 1, when the steering shaft rotates and the rotor gear, the planetary gear mechanism, and the like are rotating, the MR sensor can be diagnosed for failure, but the vehicle is running. If there is not, for example, at the time of starting the system, there is a problem that failure diagnosis of the MR sensor cannot be performed because the rotor gear or the planetary gear mechanism does not rotate.

従って、本発明の目的は、検出対象が動作していないシステムスタート時でも確実に故障診断を行なうことができる磁気センサデバイスを提供することにある。   Accordingly, an object of the present invention is to provide a magnetic sensor device capable of reliably performing a failure diagnosis even when the system is started when the detection target is not operating.

[1]本発明は、上記目的を達成するため、印加される磁界の方向に応じて抵抗値が変化する複数の磁気抵抗素子(MR素子)をブリッジ状に接続し、前記抵抗値の変化に応じた検出信号を出力する検出回路と、前記検出信号を増幅して出力する増幅回路と、前記増幅回路の入力端子に外部から所定の電圧を印加し、前記増幅回路の出力を検出することにより故障検出を行なうダイアグ端子を備えたダイアグ回路と、を有することを特徴とする磁気センサデバイスを提供する。 [1] In order to achieve the above object, according to the present invention, a plurality of magnetoresistive elements (MR elements) whose resistance values change according to the direction of the applied magnetic field are connected in a bridge shape so that the resistance value changes. A detection circuit for outputting a corresponding detection signal; an amplification circuit for amplifying and outputting the detection signal; and applying a predetermined voltage from the outside to the input terminal of the amplification circuit to detect the output of the amplification circuit There is provided a magnetic sensor device comprising a diagnostic circuit having a diagnostic terminal for detecting a failure.

[2]前記増幅回路は、オペアンプで構成され、前記ダイアグ回路は、スイッチング回路で構成され、前記ダイアグ回路の前記ダイアグ端子に所定の電圧を印加することにより、前記スイッチング回路を動作させて前記オペアンプのプラス入力端子又はマイナス入力端子を略グランドレベルにすることで故障診断を行なうことを特徴とする上記[1]に記載の磁気センサデバイスであってもよい。 [2] The amplifier circuit is composed of an operational amplifier, the diagnosis circuit is composed of a switching circuit, and the operational circuit is operated by applying a predetermined voltage to the diagnosis terminal of the diagnosis circuit. The magnetic sensor device according to the above [1], wherein failure diagnosis is performed by setting the plus input terminal or minus input terminal to a substantially ground level.

[3]また、前記スイッチング回路を動作させないレベルの信号を前記ダイアグ回路の前記ダイアグ端子に入力しておくことで、前記増幅回路から検出信号を出力する定常時の動作を行なうことを特徴とする上記[1]又は[2]に記載の磁気センサデバイスであってもよい。 [3] Further, by inputting a signal at a level that does not operate the switching circuit to the diagnosis terminal of the diagnosis circuit, a normal operation of outputting a detection signal from the amplification circuit is performed. The magnetic sensor device according to [1] or [2] may be used.

本発明によれば、検出対象が動作していないシステムスタート時でも確実に故障診断を行なうことができる磁気センサデバイスを提供することができる。   According to the present invention, it is possible to provide a magnetic sensor device capable of reliably performing a failure diagnosis even at the time of system start when the detection target is not operating.

[本発明の実施の形態]
図1は、本発明の実施の形態に係る磁気センサデバイス1の回路図である。図2は、本発明の実施の形態に係る磁気センサデバイス1をステアリング回転角センサに適用した例の構成ブロック図である。図3は、本発明の実施の形態に係る磁気センサデバイス1のダイアグ機能を車両のステアリング回転角検出に適用した場合における故障診断のフローチャートである。
[Embodiments of the present invention]
FIG. 1 is a circuit diagram of a magnetic sensor device 1 according to an embodiment of the present invention. FIG. 2 is a configuration block diagram of an example in which the magnetic sensor device 1 according to the embodiment of the present invention is applied to a steering rotation angle sensor. FIG. 3 is a flowchart of failure diagnosis when the diagnostic function of the magnetic sensor device 1 according to the embodiment of the present invention is applied to the detection of the steering rotation angle of the vehicle.

(磁気センサデバイス1の構成)
図1に示すように、本発明の実施の形態に係る磁気センサデバイス1は、検出回路10、増幅回路20、及び、ダイアグ回路30を有して構成されている。
(Configuration of magnetic sensor device 1)
As shown in FIG. 1, the magnetic sensor device 1 according to the embodiment of the present invention includes a detection circuit 10, an amplification circuit 20, and a diagnosis circuit 30.

検出回路10は、第1〜第4の磁気抵抗素子(以下、MR素子という)Ra,Rb,Rc,Rdがブリッジ状に接続された第1のMRブリッジ11と、第5〜第8のMR素子Re,Rf,Rg,Rhがブリッジ状に接続された第2のMRブリッジ12から構成されている。上記の第1のMRブリッジ11と第2のMRブリッジ12は互いに45°傾斜した配置とされており、出力信号の位相がπ/2異なっている。   The detection circuit 10 includes a first MR bridge 11 in which first to fourth magnetoresistive elements (hereinafter referred to as MR elements) Ra, Rb, Rc, Rd are connected in a bridge shape, and fifth to eighth MR. The device includes a second MR bridge 12 in which elements Re, Rf, Rg, and Rh are connected in a bridge shape. The first MR bridge 11 and the second MR bridge 12 are inclined by 45 ° from each other, and the phases of the output signals are different by π / 2.

第1のMRブリッジ11において、第1のMR素子Ra及び第3のMR素子Rcには電源電圧Vccが供給され、第2のMR素子Rb及び第4のMR素子Rdはグランドに接続されている。第1のMR素子Raと第2のMR素子Rbの接続点は第1の中点電圧V1として出力され、第3のMR素子Rcと第4のMR素子Rdの接続点は第2の中点電圧V2として出力される。   In the first MR bridge 11, the power supply voltage Vcc is supplied to the first MR element Ra and the third MR element Rc, and the second MR element Rb and the fourth MR element Rd are connected to the ground. . The connection point between the first MR element Ra and the second MR element Rb is outputted as the first midpoint voltage V1, and the connection point between the third MR element Rc and the fourth MR element Rd is the second midpoint. It is output as voltage V2.

また、第2のMRブリッジ12においても同様に、第5のMR素子Re及び第7のMR素子Rgには電源電圧Vccが供給され、第6のMR素子Rf及び第8のMR素子Rhはグランドに接続されている。第5のMR素子Reと第6のMR素子Rfの接続点は第3の中点電圧V3として出力され、第7のMR素子Rgと第8のMR素子Rhの接続点は第4の中点電圧V4として出力される。   Similarly, in the second MR bridge 12, the power supply voltage Vcc is supplied to the fifth MR element Re and the seventh MR element Rg, and the sixth MR element Rf and the eighth MR element Rh are grounded. It is connected to the. The connection point between the fifth MR element Re and the sixth MR element Rf is output as the third midpoint voltage V3, and the connection point between the seventh MR element Rg and the eighth MR element Rh is the fourth midpoint voltage. Output as voltage V4.

増幅回路20は、オペアンプ21,22を有している。オペアンプ21のプラス入力端子に接続される抵抗R、マイナス入力端子に接続される抵抗Ri1、マイナス入力端子と出力端子OUT1間に接続される抵抗Rf1で反転増幅器が構成されている。同様に、オペアンプ22のプラス入力端子に接続される抵抗R、マイナス入力端子に接続される抵抗Ri2、マイナス入力端子と出力端子OUT2間に接続される抵抗Rf2で反転増幅器が構成されている。 The amplifier circuit 20 includes operational amplifiers 21 and 22. An inverting amplifier is configured by the resistor R 1 connected to the plus input terminal of the operational amplifier 21, the resistor R i1 connected to the minus input terminal, and the resistor R f1 connected between the minus input terminal and the output terminal OUT 1. Likewise, the resistance R 2 is connected to the positive input terminal of the operational amplifier 22, resistor R i2 is connected to the negative input terminal and the inverting amplifier by a resistor R f2 is connected between the negative input terminal and the output terminal OUT2 is configured Yes.

出力端子OUT1での出力信号Vout1は、プラス端子の基準電圧にオペアンプ21の入力(V1−V2)がゲイン(−Rf1/Ri1)で反転増幅されて重畳された信号となり、Vout1=(V2−V1)・Rf1/Ri1+Vcc・R/(R+R)である。同様に、出力端子OUT2での出力信号Vout2は、プラス端子の基準電圧にオペアンプ22の入力(V3−V4)がゲイン(−Rf2/Ri2)で反転増幅されて重畳された信号となり、Vout2=(V4−V3)・Rf2/Ri2+Vcc・R/(R+R)である。Vout1とVout2は、π/2の位相差を有する。 The output signal Vout1 at the output terminal OUT1 is a signal in which the input (V1−V2) of the operational amplifier 21 is inverted and amplified by the gain (−R f1 / R i1 ) and superimposed on the reference voltage of the plus terminal, and Vout1 = (V2 −V1) · R f1 / R i1 + Vcc · R 4 / (R 3 + R 4 ). Similarly, the output signal Vout2 at the output terminal OUT2 becomes a signal in which the input (V3-V4) of the operational amplifier 22 is inverted and amplified by the gain ( -Rf2 / Ri2 ) and superimposed on the reference voltage of the plus terminal, and Vout2 a = (V4-V3) · R f2 / R i2 + Vcc · R 4 / (R 3 + R 4). Vout1 and Vout2 have a phase difference of π / 2.

ダイアグ回路30は、オペアンプ21,22のマイナス入力端子及びプラス入力端子をそれぞれ独立にHiレベル(以下Hという)又はLoレベル(以下Lという)に設定するためのスイッチング回路で構成されている。DIAG1の端子をHにすることで、ゲートG1、G2がHとなりFETが導通し、オペアンプ21のマイナス入力端子及びオペアンプ22のプラス入力端子がそれぞれグランドレベルになる。また、DIAG2の端子をHにすることで、ゲートG3、G4がHとなりFETが導通し、オペアンプ21のプラス入力端子及びオペアンプ22のマイナス入力端子がそれぞれグランドレベルになる。尚、それぞれのゲートG1〜G4を、スイッチング回路を動作させないレベルの信号としてLレベルにした場合は、FETが導通せず、それぞれのマイナス入力端子及びプラス入力端子には、第1の中点電圧V1〜第4の中点電圧V4がそのまま入力される。   The diagnosis circuit 30 includes a switching circuit for independently setting the negative input terminal and the positive input terminal of the operational amplifiers 21 and 22 to the Hi level (hereinafter referred to as H) or the Lo level (hereinafter referred to as L). By setting the terminal of DIAG1 to H, the gates G1 and G2 become H and the FET becomes conductive, and the negative input terminal of the operational amplifier 21 and the positive input terminal of the operational amplifier 22 are each set to the ground level. Further, by setting the terminal of DIAG2 to H, the gates G3 and G4 become H and the FET becomes conductive, and the positive input terminal of the operational amplifier 21 and the negative input terminal of the operational amplifier 22 are each set to the ground level. When each of the gates G1 to G4 is set to L level as a signal that does not operate the switching circuit, the FET does not conduct, and the first midpoint voltage is applied to each of the negative input terminal and the positive input terminal. V1 to the fourth midpoint voltage V4 are input as they are.

上記の検出回路10、増幅回路20、及び、ダイアグ回路30は、1つの磁気センサデバイス1としてパッケージされた状態で形成されている。磁気センサデバイス1は、外部から電源電圧が供給され、ダイアグ端子(DIAG1、DIAG2)へ電圧が印加されると共に、ダイアグ端子をすべてLレベルにした場合は、増幅回路20から検出信号を出力する定常時の動作を行なう。   The detection circuit 10, the amplification circuit 20, and the diagnosis circuit 30 are formed as a single magnetic sensor device 1. The magnetic sensor device 1 is supplied with a power supply voltage from the outside, is applied with a voltage to the diagnosis terminals (DIAG1, DIAG2), and outputs a detection signal from the amplifier circuit 20 when all the diagnosis terminals are set to L level. Performs normal operation.

本発明の実施の形態に係る磁気センサデバイス1のダイアグ機能を、車両のステアリング回転角検出に適用した場合で説明する。   The case where the diagnostic function of the magnetic sensor device 1 according to the embodiment of the present invention is applied to detection of a steering rotation angle of a vehicle will be described.

図2の構成ブロック図において、S及びN極に着磁されたマグネット102が車両のステアリング装置(一部のみ図示)100の回転部材101に装着され、このマグネット102に近接して磁気センサデバイス1が載置されている。図示しないステアリングの回転操作により回転部材101と共にマグネット102が回転し、磁気センサデバイス1に磁界の変化が印加される。   In the configuration block diagram of FIG. 2, a magnet 102 magnetized with S and N poles is mounted on a rotating member 101 of a vehicle steering device (only a part of which is shown) 100, and close to the magnet 102, the magnetic sensor device 1. Is placed. A magnet 102 rotates together with the rotating member 101 by a steering operation (not shown), and a change in the magnetic field is applied to the magnetic sensor device 1.

センサECU200は、処理部201、判断部202、及び、記憶部203を有して構成されている。   The sensor ECU 200 includes a processing unit 201, a determination unit 202, and a storage unit 203.

処理部201は、磁気センサデバイス1からの出力信号Vout1、Vout2を受け、また、回転角出力として制御対象機器へ出力するためのインターフェース部、波形信号処理部、A/DあるいはD/A変換部等から構成される。位相がπ/2ずれた出力信号Vout1、Vout2から、Arctan(Vout2/Vout1)を演算することで、ステアリング装置のステアリングアングル(操舵角)が検出できる。検出されたステアリングアングルは、必要に応じて、アナログ信号またはデジタル信号として各種車載機器ECUへ出力される。   The processing unit 201 receives the output signals Vout1 and Vout2 from the magnetic sensor device 1, and also outputs an interface unit, a waveform signal processing unit, an A / D or a D / A conversion unit to output to the control target device as a rotation angle output. Etc. By calculating Arctan (Vout2 / Vout1) from the output signals Vout1 and Vout2 whose phases are shifted by π / 2, the steering angle (steering angle) of the steering device can be detected. The detected steering angle is output to various on-vehicle equipment ECUs as an analog signal or a digital signal as necessary.

判断部202は、後述するダイアグ機能によるフローチャートに基づいて、故障診断を行なうため、磁気センサデバイス1に対してダイアグ端子(DIAG1、DIAG2)へ電圧印加を行なう。磁気センサデバイス1の出力信号Vout1、Vout2に基づいて故障しているかどうかの判断を行なう。また、故障と判断された場合は、制御対象機器へ警告等の信号を出力する。   The determination unit 202 applies a voltage to the diagnosis terminals (DIAG1, DIAG2) with respect to the magnetic sensor device 1 in order to perform failure diagnosis based on a flowchart based on a diagnosis function described later. Based on the output signals Vout1 and Vout2 of the magnetic sensor device 1, it is determined whether or not a failure has occurred. When it is determined that there is a failure, a warning signal or the like is output to the control target device.

記憶部203は、ROMで構成され、ダイアグ機能を実行するための診断プログラム、及び、磁気センサデバイス1からの出力信号Vout1、Vout2等が正常範囲内かどうかの判断基準値等のパラメータが記憶されており、必要に応じて判断部202から参照される。   The storage unit 203 is composed of a ROM, and stores parameters such as a diagnostic program for executing the diagnosis function and a judgment reference value for determining whether the output signals Vout1, Vout2, etc. from the magnetic sensor device 1 are within the normal range. And is referred to by the determination unit 202 as necessary.

本発明の実施の形態に係る磁気センサデバイス1のダイアグ機能を車両のステアリング回転角検出に適用した場合における故障診断は、図3のようなフローチャートで示される。   The failure diagnosis in the case where the diagnosis function of the magnetic sensor device 1 according to the embodiment of the present invention is applied to the detection of the steering rotation angle of the vehicle is shown by a flowchart as shown in FIG.

(ステップ01(S01))
車両のイグニッションスイッチがONされてステアリング回転角検出のシステムがスタートすると、ステップ01において、システムスタート時かどうかがセンサECU200の判断部202で判断される。システムスタート時においては、車両が走行していない場合が多くステアリング回転角の変化がないのでダイアグ機能による故障診断を行なう。システムスタート時かどうかは、システムスタート時から所定時間経過したかどうか、又は、磁気センサデバイス1からの出力信号が変化したかどうか、等種々の設定にすることが可能である。システムスタート時と判断された場合は、ステップ02へ進み、システムスタート時でないと判断された場合は、ステップ11へ進み定常時の故障診断を行なう。
(Step 01 (S01))
When the ignition switch of the vehicle is turned on and the system for detecting the steering rotation angle starts, in step 01, it is determined by the determination unit 202 of the sensor ECU 200 whether the system is starting. When the system is started, the vehicle is often not running and there is no change in the steering rotation angle. Whether or not the system is started can be set to various settings such as whether or not a predetermined time has elapsed since the system was started, or whether or not the output signal from the magnetic sensor device 1 has changed. If it is determined that the system has been started, the process proceeds to step 02. If it is determined that the system has not been started, the process proceeds to step 11 where failure diagnosis is performed at normal times.

(ステップ02(S02))
センサECU200の判断部202から磁気センサデバイス1のDIAG1の端子をH、DIAG2の端子をLにする。このとき、磁気センサデバイス1からの出力信号Vout1、Vout2がH、Lになれば正常と判断する。出力信号に異常があれば故障と判断(S21)し、必要に応じて警告(S22)等を行なう。
(Step 02 (S02))
From the determination unit 202 of the sensor ECU 200, the terminal of DIAG1 of the magnetic sensor device 1 is set to H, and the terminal of DIAG2 is set to L. At this time, if the output signals Vout1 and Vout2 from the magnetic sensor device 1 become H and L, it is determined as normal. If the output signal is abnormal, it is determined that there is a failure (S21), and a warning (S22) or the like is given if necessary.

(ステップ03(S03))
ステップ02と逆に、DIAG1の端子をL、DIAG2の端子をHにする。磁気センサデバイス1からの出力信号Vout1、Vout2がL、Hになれば正常と判断する。出力信号に異常があれば故障と判断(S21)し、必要に応じて警告(S22)等を行なう。正常動作と判断された場合は、ステップ01に戻り、所定の時間間隔で繰り返してダイアグ機能による故障診断が行なわれる。
(Step 03 (S03))
Contrary to step 02, the terminal of DIAG1 is set to L and the terminal of DIAG2 is set to H. If the output signals Vout1 and Vout2 from the magnetic sensor device 1 are L and H, it is determined that the signal is normal. If the output signal is abnormal, it is determined that there is a failure (S21), and a warning (S22) or the like is given if necessary. If it is determined that the operation is normal, the process returns to step 01, and failure diagnosis is performed by the diagnosis function repeatedly at predetermined time intervals.

(ステップ11(S11))
定常時においては、センサECU200の判断部202から磁気センサデバイス1のDIAG1の端子をL、DIAG2の端子をLに設定しておく。このように設定すれば、ステアリング回転角検出信号がそのまま出力信号Vout1、Vout2としてセンサECU200の処理部201へ出力される。
(Step 11 (S11))
In the normal state, the terminal of DIAG1 of the magnetic sensor device 1 is set to L and the terminal of DIAG2 is set to L from the determination unit 202 of the sensor ECU 200. With this setting, the steering rotation angle detection signals are output to the processing unit 201 of the sensor ECU 200 as they are as the output signals Vout1 and Vout2.

(ステップ12(S12))
出力信号Vout1、Vout2は、記憶部203のパラメータを参照して正常範囲内かどうか判断される。正常範囲内の場合は、再びステップ12へ戻り、所定の時間間隔で繰り返して定常時の故障診断が行なわれる。故障と判断(S21)された場合は、必要に応じて警告(S22)等を行なう。尚、出力信号Vout1、Vout2に基づいて、処理部201においてステアリングアングルとして算出され、必要とする車載機器へアナログ信号またはデジタル信号として出力される。
(Step 12 (S12))
It is determined whether the output signals Vout1 and Vout2 are within the normal range with reference to the parameters of the storage unit 203. If it is within the normal range, the process returns to step 12 again, and the failure diagnosis at the normal time is performed repeatedly at predetermined time intervals. If it is determined that there is a failure (S21), a warning (S22) or the like is given if necessary. Note that the processing unit 201 calculates the steering angle based on the output signals Vout1 and Vout2, and outputs the calculated steering angle to the on-vehicle equipment that is required as an analog signal or a digital signal.

車両のイグニッションスイッチがOFFされた場合や、ステップ21で故障とされた場合は、上記示したフローは終了する。   When the ignition switch of the vehicle is turned off or when a failure is detected in step 21, the above-described flow ends.

[本発明の実施の形態の効果]
上記示した本発明の実施の形態によれば以下のような効果を有する。
(1)オペアンプ21,22のマイナス入力端子及びプラス入力端子をそれぞれ独立にH、又は、Lレベルに設定するためのスイッチング回路、及び、このスイッチング回路を動作させるためのダイアグ端子(DIAG1、DIAG2)を備えたダイアグ回路30を有しているので、検出対象が動作していないシステムスタート時でも確実に故障診断、故障検出を行なうことができる。
(2)上記示したように、磁気センサデバイス1内にダイアグ回路30を有しているので、外付け部品の追加をすることなく、故障検出ができ、磁気センサデバイスの品質向上に繋がる。
[Effect of the embodiment of the present invention]
The above-described embodiment of the present invention has the following effects.
(1) A switching circuit for setting the negative input terminal and the positive input terminal of the operational amplifiers 21 and 22 to H or L level independently, and a diagnosis terminal (DIAG1, DIAG2) for operating the switching circuit Therefore, even when the system is not operating, the failure diagnosis and failure detection can be performed reliably.
(2) Since the diagnostic circuit 30 is included in the magnetic sensor device 1 as described above, failure detection can be performed without adding external components, leading to quality improvement of the magnetic sensor device.

なお、本発明は、上記した実施の形態に限定されず、本発明の技術思想を逸脱あるいは変更しない範囲内で種々の変形が可能である。   The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from or changing the technical idea of the present invention.

図1は、本発明の実施の形態に係る磁気センサデバイス1の回路図である。FIG. 1 is a circuit diagram of a magnetic sensor device 1 according to an embodiment of the present invention. 図2は、本発明の実施の形態に係る磁気センサデバイス1をステアリング回転角センサに適用した例の構成ブロック図である。FIG. 2 is a configuration block diagram of an example in which the magnetic sensor device 1 according to the embodiment of the present invention is applied to a steering rotation angle sensor. 図3は、本発明の実施の形態に係る磁気センサデバイス1のダイアグ機能を車両のステアリング回転角検出に適用した場合における故障診断のフローチャートである。FIG. 3 is a flowchart of failure diagnosis when the diagnostic function of the magnetic sensor device 1 according to the embodiment of the present invention is applied to the detection of the steering rotation angle of the vehicle.

符号の説明Explanation of symbols

1…磁気センサデバイス、10…検出回路、11…第1のMRブリッジ、12…第2のMRブリッジ、20…増幅回路、21,22…オペアンプ、30…ダイアグ回路、100…ステアリング装置、101…回転部材、102…マグネット、200…センサECU、201…処理部、202…判断部、203…記憶部





DESCRIPTION OF SYMBOLS 1 ... Magnetic sensor device, 10 ... Detection circuit, 11 ... 1st MR bridge, 12 ... 2nd MR bridge, 20 ... Amplification circuit, 21, 22 ... Operational amplifier, 30 ... Diag circuit, 100 ... Steering device, 101 ... Rotating member 102 ... Magnet 200 ... Sensor ECU 201 ... Processing unit 202 ... Judgment unit 203 ... Storage unit





Claims (3)

印加される磁界の方向に応じて抵抗値が変化する複数の磁気抵抗素子(MR素子)をブリッジ状に接続し、前記抵抗値の変化に応じた検出信号を出力する検出回路と、
前記検出信号を増幅して出力する増幅回路と、
前記増幅回路の入力端子に外部から所定の電圧を印加し、前記増幅回路の出力を検出することにより故障検出を行なうダイアグ端子を備えたダイアグ回路と、
を有することを特徴とする磁気センサデバイス。
A detection circuit that connects a plurality of magnetoresistive elements (MR elements) whose resistance values change according to the direction of the applied magnetic field in a bridge shape and outputs a detection signal according to the change in the resistance value;
An amplification circuit that amplifies and outputs the detection signal;
A diagnosis circuit comprising a diagnosis terminal for detecting a failure by applying a predetermined voltage to the input terminal of the amplification circuit from the outside and detecting the output of the amplification circuit;
A magnetic sensor device comprising:
前記増幅回路は、オペアンプで構成され、
前記ダイアグ回路は、スイッチング回路で構成され、
前記ダイアグ回路の前記ダイアグ端子に所定の電圧を印加することにより、前記スイッチング回路を動作させて前記オペアンプのプラス入力端子又はマイナス入力端子を略グランドレベルにすることで故障診断を行なうことを特徴とする請求項1に記載の磁気センサデバイス。
The amplifier circuit is composed of an operational amplifier,
The diagnostic circuit is composed of a switching circuit,
A failure diagnosis is performed by applying a predetermined voltage to the diagnostic terminal of the diagnostic circuit to operate the switching circuit to bring the positive input terminal or the negative input terminal of the operational amplifier to a substantially ground level. The magnetic sensor device according to claim 1.
前記スイッチング回路を動作させないレベルの信号を前記ダイアグ回路の前記ダイアグ端子に入力しておくことで、前記増幅回路から検出信号を出力する定常時の動作を行なうことを特徴とする請求項1または2に記載の磁気センサデバイス。
3. A steady state operation of outputting a detection signal from the amplifier circuit is performed by inputting a signal at a level that does not operate the switching circuit to the diagnostic terminal of the diagnostic circuit. The magnetic sensor device according to 1.
JP2008186949A 2008-07-18 2008-07-18 Magnetic sensor device Active JP5128399B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008186949A JP5128399B2 (en) 2008-07-18 2008-07-18 Magnetic sensor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008186949A JP5128399B2 (en) 2008-07-18 2008-07-18 Magnetic sensor device

Publications (2)

Publication Number Publication Date
JP2010025730A true JP2010025730A (en) 2010-02-04
JP5128399B2 JP5128399B2 (en) 2013-01-23

Family

ID=41731708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008186949A Active JP5128399B2 (en) 2008-07-18 2008-07-18 Magnetic sensor device

Country Status (1)

Country Link
JP (1) JP5128399B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012149999A (en) * 2011-01-19 2012-08-09 Alps Electric Co Ltd Self-diagnosable electronic circuit and magnetic field detection device
JP2015197390A (en) * 2014-04-02 2015-11-09 株式会社東海理化電機製作所 magnetic detection device
CN109001653A (en) * 2014-01-23 2018-12-14 三菱电机株式会社 Magnetic detection device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05107262A (en) * 1991-10-14 1993-04-27 Nissan Motor Co Ltd Semiconductor acceleration sensor
JP2001021419A (en) * 1999-07-07 2001-01-26 Rb Controls Co Temperature sensing circuit
JP2008134215A (en) * 2006-10-30 2008-06-12 Hitachi Ltd Displacement sensor using gmr element, angle detecting sensor using gmr element, and semiconductor device used therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05107262A (en) * 1991-10-14 1993-04-27 Nissan Motor Co Ltd Semiconductor acceleration sensor
JP2001021419A (en) * 1999-07-07 2001-01-26 Rb Controls Co Temperature sensing circuit
JP2008134215A (en) * 2006-10-30 2008-06-12 Hitachi Ltd Displacement sensor using gmr element, angle detecting sensor using gmr element, and semiconductor device used therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012149999A (en) * 2011-01-19 2012-08-09 Alps Electric Co Ltd Self-diagnosable electronic circuit and magnetic field detection device
CN109001653A (en) * 2014-01-23 2018-12-14 三菱电机株式会社 Magnetic detection device
CN109001653B (en) * 2014-01-23 2021-09-14 三菱电机株式会社 Magnetic detection device
JP2015197390A (en) * 2014-04-02 2015-11-09 株式会社東海理化電機製作所 magnetic detection device

Also Published As

Publication number Publication date
JP5128399B2 (en) 2013-01-23

Similar Documents

Publication Publication Date Title
US6615152B2 (en) Abnormality detecting method and device for position detecting device, and electric power steering device
JP4929189B2 (en) Resolver abnormality detection circuit
WO2017163966A1 (en) Rotation detecting device
JP2010048717A (en) Position detector
WO2013145400A1 (en) Relative angle detection device and electric power steering device
JP2007298291A (en) Rotation angle detection device
JP2009080020A (en) Torque detector
JP6174610B2 (en) Failure detection sensor circuit, relative angle detection device, and electric power steering device
US7876092B2 (en) Multiple-rotation absolute encoder
JP2005049097A (en) Fault detection circuit
JP5128399B2 (en) Magnetic sensor device
US9250068B2 (en) Rotation angle detecting device
JP2006023164A (en) Fault of resolver diagnostic circuit
US7559260B2 (en) Rotational angle detecting device
CN110869776B (en) Voltage sensor diagnostic device and voltage sensor diagnostic method
JP5472761B2 (en) Position detection device
JP4486917B2 (en) Rotation angle detection sensor and failure detection circuit thereof
JP2015197390A (en) magnetic detection device
JP2002340515A (en) Rotation angle detector
JP4675993B2 (en) Abnormality detection circuit
JP3697610B2 (en) Encoder
JP2004184326A (en) Rotation angle detection device
JP2016527855A (en) How to determine the angle error status of an electric motor
JP2009225545A (en) Brushless motor controller, brushless motor, and setting method of brushless motor controller
JP5266913B2 (en) Control device for electric power steering device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120510

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5128399

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3