JP2018204973A - Liquid level detection device - Google Patents

Liquid level detection device Download PDF

Info

Publication number
JP2018204973A
JP2018204973A JP2017106771A JP2017106771A JP2018204973A JP 2018204973 A JP2018204973 A JP 2018204973A JP 2017106771 A JP2017106771 A JP 2017106771A JP 2017106771 A JP2017106771 A JP 2017106771A JP 2018204973 A JP2018204973 A JP 2018204973A
Authority
JP
Japan
Prior art keywords
magnetic
float
liquid level
magnetic field
magnetic sensors
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
JP2017106771A
Other languages
Japanese (ja)
Inventor
英楠 張
Yingnan Zhang
英楠 張
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.)
Murata Manufacturing Co Ltd
Original Assignee
Murata Manufacturing 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 Murata Manufacturing Co Ltd filed Critical Murata Manufacturing Co Ltd
Priority to JP2017106771A priority Critical patent/JP2018204973A/en
Publication of JP2018204973A publication Critical patent/JP2018204973A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a liquid level detection device capable of detecting an efficient liquid level.SOLUTION: A liquid level detection device comprises: a float which moves up and down following a liquid level; a float magnet attached to the float; a guidance member for guiding the up and down movement of the float, a plurality of magnetic sensors attached to the guidance member and for outputting an electric signal corresponding to a lifting position of the float magnet; and a detection circuit for detecting a float position on the basis of the electric signal. The plurality of magnetic sensors include a first magnetic sensor arranged per first interval, and a second magnetic sensor arranged per second interval shorter than the first interval. The detection circuit detects a float position on the basis of a correction electric signal obtained by correcting the electric signals output from two adjacent magnetic sensors among the plurality of magnetic sensors by a correction unit and on the basis of electric signals output from two adjacent second magnetic sensors among the plurality of magnetic sensors.SELECTED DRAWING: Figure 7

Description

本発明は、液面検出装置に関し、具体的には、自動車等のガソリンやエンジンオイルや尿素水などの液体を貯蔵するタンクに搭載され、磁石を利用して液面の位置を検出する液面検出装置に関する。   The present invention relates to a liquid level detection device, and more specifically, a liquid level that is mounted on a tank that stores a liquid such as gasoline, engine oil, or urea water in an automobile and that detects the position of the liquid level using a magnet. The present invention relates to a detection device.

従来より、磁石と磁気センサとを備える液面検出装置が知られている。例えば、液面の位置の変化に対応して昇降し、磁石を有する浮きと、磁石の磁束密度を検知する磁気センサとを備え、磁気センサの出力信号から液面の位置を検出する液面検出装置が知られている。   Conventionally, a liquid level detection apparatus including a magnet and a magnetic sensor is known. For example, liquid level detection that includes a float having a magnet that moves up and down in response to a change in the position of the liquid level and a magnetic sensor that detects the magnetic flux density of the magnet, and detects the position of the liquid level from the output signal of the magnetic sensor The device is known.

この点で、特許文献1には、液面感得体21と、液面感得体21が内部に配置されている液タンク18と、検出ロッド23の上端に設けられた変位磁石24と、検出部ハウジング20に取り付けられており、複数のホール素子5、5を含む検出器本体25とを備える、液面検出装置が開示されている(図1〜図4,図12〜図13参照)。   In this regard, Patent Document 1 discloses a liquid level sensor 21, a liquid tank 18 in which the liquid level sensor 21 is disposed, a displacement magnet 24 provided at the upper end of the detection rod 23, and a detection unit. There is disclosed a liquid level detection device that is attached to a housing 20 and includes a detector body 25 including a plurality of Hall elements 5 and 5 (see FIGS. 1 to 4 and FIGS. 12 to 13).

検出器本体25は、変位磁石24の移動方向と平行となるように複数のホール素子5を同一直線上に所要の配設間隔でプリント基板6上に設けた構造を有する。各ホール素子は感磁面5aが変位磁石24の着磁方向と平行になるよう設けられている。液面感得体21は、検出部ハウジング20の下面に上端を取り付けた引張ばね22により検出ロッド23を介してタンク内に吊り下げられていて、検出ロッド23の上端は検出部ハウジング20内に臨んでいる。液面検出装置は、検出部ハウジング20内における検出ロッド23の上端部の変位を変位磁石24の変位として検出器本体25にて検出して液位を測定する。検出器本体25は制御回路7を介して、各ホール素子の出力電圧から磁石の位置を演算してさらに液位値に換算する演算回路8と、同演算回路からの液位値を画面等に出力する出力装置9に接続されている。   The detector body 25 has a structure in which a plurality of Hall elements 5 are provided on the printed circuit board 6 on the same straight line at a required arrangement interval so as to be parallel to the moving direction of the displacement magnet 24. Each Hall element is provided such that the magnetosensitive surface 5 a is parallel to the magnetization direction of the displacement magnet 24. The liquid level sensor 21 is suspended in the tank via a detection rod 23 by a tension spring 22 having an upper end attached to the lower surface of the detection unit housing 20, and the upper end of the detection rod 23 faces the detection unit housing 20. It is out. The liquid level detection device detects the displacement of the upper end portion of the detection rod 23 in the detection unit housing 20 by the detector main body 25 as the displacement of the displacement magnet 24 and measures the liquid level. The detector main body 25 calculates the position of the magnet from the output voltage of each Hall element via the control circuit 7 and further converts it into a liquid level value, and the liquid level value from the calculation circuit is displayed on the screen or the like. It is connected to an output device 9 for outputting.

特許文献1に記載の液面検出装置では、検出ロッド23及び変位磁石24は、液タンク18の天面に設けられた貫通孔から液タンク18の外部に突出している。このため、特許文献1に記載の液面検出装置と同様に、小型化が困難であるとともに、機器によっては搭載が困難となる可能性がある。   In the liquid level detection device described in Patent Document 1, the detection rod 23 and the displacement magnet 24 protrude outside the liquid tank 18 from a through hole provided on the top surface of the liquid tank 18. For this reason, similarly to the liquid level detection device described in Patent Document 1, it is difficult to reduce the size, and it may be difficult to mount depending on the device.

一方で、タンク内に磁石を配置してなる液面検出装置も考案されている。
特許文献2には、マグネット3と、マグネット3が内部に配置されているタンク2と、ロッド4と、複数の磁気強度センサS[1]〜S[4]と、制御部10とを備え、マグネット3の位置により液面の位置を検出する、液面検出装置が開示されている(図1、図4、図5参照)。
On the other hand, a liquid level detection device in which a magnet is arranged in a tank has been devised.
Patent Document 2 includes a magnet 3, a tank 2 in which the magnet 3 is disposed, a rod 4, a plurality of magnetic intensity sensors S [1] to S [4], and a control unit 10. A liquid level detecting device that detects the position of the liquid level based on the position of the magnet 3 is disclosed (see FIGS. 1, 4, and 5).

ロッド4は、長尺の円柱状であり、軸方向が上下方向(鉛直方向)と平行になるようにタンク2内に配置されている。マグネット3は、円環状であり、タンク2内に貯蔵された液体の液面に浮かぶように構成されている。ロッド4はマグネット3に挿通されており、マグネット3はタンク2に貯蔵された液体の液面に浮かべられた状態において、ロッド4によって移動がガイドされて上下方向に移動する。複数の磁気強度センサS[1]〜S[4]は、それぞれがロッド4に埋め込まれており、上方から下方に向けて互いに間隔をあけて順次並ぶように配置されている。   The rod 4 has a long cylindrical shape and is disposed in the tank 2 so that the axial direction is parallel to the vertical direction (vertical direction). The magnet 3 has an annular shape and is configured to float on the liquid level of the liquid stored in the tank 2. The rod 4 is inserted through the magnet 3, and the magnet 3 is guided by the rod 4 in the state where it floats on the liquid surface of the liquid stored in the tank 2 and moves in the vertical direction. Each of the plurality of magnetic intensity sensors S [1] to S [4] is embedded in the rod 4, and is arranged so as to be sequentially arranged at intervals from above to below.

制御部10は、切替スイッチ12及び減算器13を有する差分値算出部11と、マイクロコンピュータ20とを有する。切替スイッチ12は、入力端子I11、I12、I13、I21、I22、I23、出力端子O1、O2を有する。マイクロコンピュータ20からの制御信号によるスイッチ切替により入力端子I11、I12、I13のいずれかが出力端子O1に接続される。入力端子I21、I22、I23のいずれかがスイッチ切替により出力端子O2に接続される。入力端子I11は磁気強度センサS[1]と接続されている。入力端子I12は磁気強度センサS[2]と接続されている。入力端子I13は磁気強度センサS[3]と接続されている。入力端子I21は磁気強度センサS[2]と接続されている。入力端子I22は磁気強度センサS[3]と接続されている。入力端子I23は磁気強度センサS[4]と接続されている。これにより、切替スイッチ12は、(1)出力端子O1から磁気強度センサS[1]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[2]の電圧信号が出力され、(2)出力端子O1から磁気強度センサS[2]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[3]の電圧信号が出力され、(3)出力端子O1から磁気強度センサS[3]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[4]の電圧信号が出力される。減算器13は、出力端子O1が接続される一方の入力端子と、出力端子O2が接続される他方の入力端子と、差分電圧信号を出力する出力端子とを備える。   The control unit 10 includes a difference value calculation unit 11 having a changeover switch 12 and a subtracter 13, and a microcomputer 20. The changeover switch 12 has input terminals I11, I12, I13, I21, I22, I23, and output terminals O1, O2. Any one of the input terminals I11, I12, and I13 is connected to the output terminal O1 by switching the switch according to a control signal from the microcomputer 20. Any one of the input terminals I21, I22, and I23 is connected to the output terminal O2 by switch switching. The input terminal I11 is connected to the magnetic intensity sensor S [1]. The input terminal I12 is connected to the magnetic intensity sensor S [2]. The input terminal I13 is connected to the magnetic intensity sensor S [3]. The input terminal I21 is connected to the magnetic intensity sensor S [2]. The input terminal I22 is connected to the magnetic intensity sensor S [3]. The input terminal I23 is connected to the magnetic intensity sensor S [4]. Thereby, the changeover switch 12 (1) when the voltage signal of the magnetic intensity sensor S [1] is output from the output terminal O1, the voltage signal of the magnetic intensity sensor S [2] is output from the output terminal O2. (2) When the voltage signal of the magnetic intensity sensor S [2] is output from the output terminal O1, the voltage signal of the magnetic intensity sensor S [3] is output from the output terminal O2, and (3) the magnetism is output from the output terminal O1. When the voltage signal of the intensity sensor S [3] is output, the voltage signal of the magnetic intensity sensor S [4] is output from the output terminal O2. The subtractor 13 includes one input terminal to which the output terminal O1 is connected, the other input terminal to which the output terminal O2 is connected, and an output terminal that outputs a differential voltage signal.

マイクロコンピュータ20は、切替スイッチ12及び減算器13と接続されている。マイクロコンピュータ20は、隣接して配置された磁気強度センサの電圧信号(出力値)の差分値とマグネット3の位置(即ち、タンク2に貯蔵された液体の液面レベル)との関係を示す高精度液面レベル検出基準情報G[1]〜G[3]と、標準精度液面レベル検出基準情報H[1]〜H[3]、液面レベルの検出において高精度液面レベル検出基準情報G[1]〜G[3]及び標準精度液面レベル検出基準情報H[1]〜H[3]のいずれを用いるかを判定するための高精度検出条件が予め記憶されているROMを備えている。   The microcomputer 20 is connected to the changeover switch 12 and the subtractor 13. The microcomputer 20 is a high level indicating the relationship between the difference value of the voltage signal (output value) of the magnetic strength sensor arranged adjacent to the position of the magnet 3 (that is, the liquid level of the liquid stored in the tank 2). Precision liquid level detection reference information G [1] to G [3], standard precision liquid level detection reference information H [1] to H [3], high precision liquid level detection reference information in detecting the liquid level A ROM in which high-precision detection conditions for determining which one of G [1] to G [3] and standard precision liquid level detection reference information H [1] to H [3] is used is stored in advance. ing.

マイクロコンピュータ20はCPUをさらに備え、CPUは、減算器13の差分電圧信号と、高精度液面レベル検出基準情報G[1]〜G[3]と、標準精度液面レベル検出基準情報H[1]〜H[3]と、高精度検出条件を用いた信号処理を行い、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。   The microcomputer 20 further includes a CPU. The CPU includes a differential voltage signal from the subtractor 13, high-precision liquid level detection reference information G [1] to G [3], and standard precision liquid level detection reference information H [ 1] to H [3] and signal processing using high-precision detection conditions are performed, and the position of the magnet 3, that is, the liquid level of the liquid stored in the tank 2 is detected.

特開2002−22403号公報JP 2002-22403 A 特開2014−145714号公報JP 2014-145714 A

しかしながら、上記に記載の液面検出装置では、磁気強度センサは一律に一定間隔置きに設けられた構成が開示されているが、液面検出装置の用途によっては常に高精度の液面検出を必要としない状況がある。具体的には、ある所定領域においては、高精度での液面検出が期待される状況と、それ以外の領域においては、高精度ではない精度での液面検出が許容される状況とが混在する場合がある。   However, the liquid level detection device described above discloses a configuration in which the magnetic intensity sensors are uniformly provided at regular intervals. However, depending on the use of the liquid level detection device, it is always necessary to detect the liquid level with high accuracy. There is a situation that does not. Specifically, there is a mix of situations where high-precision liquid level detection is expected in a given area and situations where liquid level detection with non-high-precision is allowed in other areas. There is a case.

当該場合に、液面検出装置の構成として、常に高精度の液面検出が可能な磁気センサの配置とすることは効率的ではない。   In this case, it is not efficient to arrange a magnetic sensor that can always detect the liquid level with high accuracy as the configuration of the liquid level detection device.

したがって、本発明は、上記の課題を解決するためになされたものであって、効率的な液面検出が可能な液面検出装置を提供することを目的とする。   Accordingly, the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a liquid level detection device capable of efficient liquid level detection.

ある局面に従う液面検出装置は、液面に追従して昇降するフロートと、フロートに取り付けられるフロート磁石と、フロートの昇降を案内する案内部材と、案内部材に取り付けられ、フロート磁石の昇降位置に応じて変化する磁束密度を検知して、その磁束密度に対応する電気信号を出力する複数の磁気センサと、複数の磁気センサからそれぞれ出力される電気信号に基づいてフロートの位置を検出する検出回路とを備える。検出回路は、電気信号を補正する補正部を含む。複数の磁気センサは、案内部材の第1領域において第1の間隔毎に配置される第1磁気センサと、案内部材の第2領域において第1の間隔よりも短い第2の間隔毎に配置される第2磁気センサとを含む。検出回路は、案内部材の第1領域における複数の磁気センサのうち隣接する2つの第1磁気センサから出力される電気信号を補正部により補正した補正電気信号に基づいてフロートの位置を検出し、案内部材の第2領域における複数の磁気センサのうち隣接する2つの第2磁気センサから出力される電気信号に基づいてフロートの位置を検出する。   A liquid level detection device according to a certain aspect includes a float that moves up and down following the liquid level, a float magnet that is attached to the float, a guide member that guides the lift of the float, and a guide member that is attached to the lift magnet. A plurality of magnetic sensors that detect the magnetic flux density that changes according to the magnetic flux density and output an electrical signal corresponding to the magnetic flux density, and a detection circuit that detects the position of the float based on the electrical signals output from the plurality of magnetic sensors, respectively. With. The detection circuit includes a correction unit that corrects the electrical signal. The plurality of magnetic sensors are arranged at first intervals in the first region of the guide member at every first interval and at second intervals shorter than the first interval in the second region of the guide member. And a second magnetic sensor. The detection circuit detects the position of the float based on the corrected electric signal obtained by correcting the electric signal output from two adjacent first magnetic sensors among the plurality of magnetic sensors in the first region of the guide member by the correction unit, The position of the float is detected based on electrical signals output from two adjacent second magnetic sensors among the plurality of magnetic sensors in the second region of the guide member.

好ましくは、フロートに取り付けられる複数のフロート磁石を設ける。複数のフロート磁石は、同極が互いに対向して設けられる。   Preferably, a plurality of float magnets attached to the float are provided. The plurality of float magnets are provided with the same poles facing each other.

好ましくは、第1および第2磁気センサの各々は、水平方向にバイアス磁界を印加するバイアス磁石を有する。   Preferably, each of the first and second magnetic sensors has a bias magnet that applies a bias magnetic field in the horizontal direction.

好ましくは、第1および第2磁気センサの各々は、フロート磁石により生じる磁力線の磁気ベクトルに基づく電気信号を出力する。   Preferably, each of the first and second magnetic sensors outputs an electric signal based on a magnetic vector of a magnetic field line generated by the float magnet.

好ましくは、検出回路は、複数の磁気センサからそれぞれ出力される電気信号のうち所定電圧との比較に基づいて隣接する2つの磁気センサから出力される電気信号を抽出する。   Preferably, the detection circuit extracts an electrical signal output from two adjacent magnetic sensors based on a comparison with a predetermined voltage among electrical signals output from the plurality of magnetic sensors.

好ましくは、検出回路は、抽出した2つの電気信号の一方を正弦波、他方を余弦波とした場合の角度情報を算出し、算出した角度情報に基づいてフロートの位置を検出する。   Preferably, the detection circuit calculates angle information when one of the two extracted electric signals is a sine wave and the other is a cosine wave, and detects the position of the float based on the calculated angle information.

好ましくは、各磁気センサは、バイアス磁石により生じるバイアス磁界ベクトルが印加される第1〜第4の磁気抵抗素子と、バイアス磁界ベクトルの変化に基づく第1〜第4の磁気抵抗素子の抵抗値の変化に応じた電気信号を出力する出力回路とを含む。   Preferably, each magnetic sensor includes first to fourth magnetoresistive elements to which a bias magnetic field vector generated by a bias magnet is applied, and resistance values of the first to fourth magnetoresistive elements based on changes in the bias magnetic field vector. And an output circuit that outputs an electrical signal corresponding to the change.

好ましくは、補正部は、出力された電気信号に対して所定の係数で累乗あるいは累乗根する補正手段を有する。   Preferably, the correction unit includes a correction unit that powers or roots the output electric signal with a predetermined coefficient.

好ましくは、第1の間隔は、第2の間隔の2倍に設定される。
好ましくは、各磁気センサは、磁界強度に対して線形に出力し、極性を判別可能に設けられる。
Preferably, the first interval is set to be twice the second interval.
Preferably, each magnetic sensor outputs linearly with respect to the magnetic field intensity, and is provided so that the polarity can be discriminated.

本発明の液面検出装置は、効率的な液面検出が可能である。   The liquid level detection device of the present invention is capable of efficient liquid level detection.

実施形態に基づく液面検出装置の外観構成を説明する図である。It is a figure explaining the external appearance structure of the liquid level detection apparatus based on embodiment. 実施形態に基づくガイド10に取り付けられた複数の磁気センサ5を説明する図である。It is a figure explaining the some magnetic sensor 5 attached to the guide 10 based on embodiment. 実施形態に基づく液面検出装置1の回路構成図である。It is a circuit block diagram of the liquid level detection apparatus 1 based on embodiment. 実施形態に基づく磁気センサ5の磁気抵抗素子のパターンを説明する図である。It is a figure explaining the pattern of the magnetoresistive element of the magnetic sensor 5 based on embodiment. 実施形態に基づく磁気センサ5の検出原理を説明する図である。It is a figure explaining the detection principle of the magnetic sensor 5 based on embodiment. 実施形態に基づくフロート20に取り付けられた磁石2の配置を説明する図である。It is a figure explaining arrangement of magnet 2 attached to float 20 based on an embodiment. 実施形態に基づくフロート20に取り付けられた磁石2A,2Bと、複数の磁気センサ5とのレイアウトを説明する図である。It is a figure explaining the layout of magnet 2A, 2B attached to the float 20 based on embodiment, and the some magnetic sensor 5. FIG. 実施形態に基づくフロート20が昇降動作によりその位置が変化した場合の磁気センサとの関係を説明する図である。It is a figure explaining the relationship with the magnetic sensor when the float 20 based on embodiment changes the position by raising / lowering operation | movement. 実施形態に基づくフロート20の昇降動作に従う複数の磁気センサの出力信号波形(その1)を説明する図である。It is a figure explaining the output signal waveform (the 1) of a plurality of magnetic sensors according to the raising / lowering operation of float 20 based on an embodiment. 図9の所定領域を拡大したイメージ図である。FIG. 10 is an enlarged image view of a predetermined area in FIG. 9. 実施形態に基づく磁気センサ5と磁気ベクトルPとの関係を模式的に説明する図(その1)である。It is the figure (the 1) which illustrates typically the relationship between the magnetic sensor 5 and magnetic vector P based on embodiment. 実施形態に基づく磁気センサからの出力信号に基づく角度情報θの精度を説明する図である。It is a figure explaining the precision of angle information theta based on the output signal from the magnetic sensor based on an embodiment. 実施形態に基づく磁気センサ5PAおよび5PBの補正前および補正後の信号を説明する図である。It is a figure explaining the signal before correction | amendment of the magnetic sensors 5PA and 5PB based on embodiment, and after correction | amendment. 実施形態に基づく磁気センサからの補正した出力信号に基づく角度情報θの精度を説明する図である。It is a figure explaining the precision of angle information theta based on the corrected output signal from the magnetic sensor based on an embodiment. 実施形態に基づく第1領域における液面検出装置1の検出方式を説明するフロー図である。It is a flowchart explaining the detection system of the liquid level detection apparatus 1 in the 1st area | region based on embodiment. 実施形態に基づくフロート20の昇降動作に従う複数の磁気センサの出力信号波形(その2)を説明する図である。It is a figure explaining the output signal waveform (the 2) of a plurality of magnetic sensors according to the raising / lowering operation of float 20 based on an embodiment. 図16の所定領域を拡大したイメージ図である。It is the image figure which expanded the predetermined area | region of FIG. 実施形態に基づく磁気センサ5と磁気ベクトルPとの関係を模式的に説明する図(その2)である。It is the figure (the 2) which illustrates typically the relationship between the magnetic sensor 5 and magnetic vector P based on embodiment. 実施形態に基づく角度情報θの精度を説明する図である。It is a figure explaining the precision of angle information theta based on an embodiment. 実施形態に基づく第2領域における液面検出装置1の検出方式を説明するフロー図である。It is a flowchart explaining the detection system of the liquid level detection apparatus 1 in the 2nd area | region based on embodiment. 磁気センサ5PBおよび5PCの補正前および補正後の信号を説明する図である。It is a figure explaining the signal before correction | amendment of the magnetic sensors 5PB and 5PC, and after correction | amendment. 実施形態の変形例に基づく角度情報θの精度を説明する図である。It is a figure explaining the precision of angle information theta based on the modification of an embodiment.

この実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰返さない。   This embodiment will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are denoted by the same reference numerals and description thereof will not be repeated.

図1は、実施形態に基づく液面検出装置の外観構成を説明する図である。
図1を参照して、液面検出装置1は、液面に追従して昇降するフロート20と、ガイド(案内部材)10と、検出回路50とを含む。
FIG. 1 is a diagram illustrating an external configuration of a liquid level detection device based on the embodiment.
Referring to FIG. 1, liquid level detection device 1 includes a float 20 that moves up and down following the liquid level, a guide (guide member) 10, and a detection circuit 50.

検出回路50は、案内部材10に取り付けられた複数の磁気センサ(AMR(Anisotropic Magneto Resistance)素子)から検出される出力信号(AMR出力とも称する)に基づいてフロート20の位置を検出する。   The detection circuit 50 detects the position of the float 20 based on output signals (also referred to as AMR outputs) detected from a plurality of magnetic sensors (AMR (Anisotropic Magneto Resistance) elements) attached to the guide member 10.

図2は、実施形態に基づくガイド10に取り付けられた複数の磁気センサ5を説明する図である。   FIG. 2 is a diagram illustrating a plurality of magnetic sensors 5 attached to the guide 10 based on the embodiment.

図2を参照して、複数の磁気センサ5は、昇降方向に沿って配置されている。
具体的には、複数の磁気センサ5は、ガイド10の第1領域において第1の間隔毎に配置される第1磁気センサと、ガイド10の第2領域において第1の間隔よりも短い第2間隔毎に配置される第2磁気センサとを含む。
Referring to FIG. 2, the plurality of magnetic sensors 5 are arranged along the ascending / descending direction.
Specifically, the plurality of magnetic sensors 5 include a first magnetic sensor arranged at each first interval in the first region of the guide 10 and a second shorter than the first interval in the second region of the guide 10. And a second magnetic sensor disposed at every interval.

本例においては、ガイド10の上端から所定位置までが第1領域、所定位置からガイド10の下端までが第2領域に設定されている場合が示されている。   In this example, the case where the first area from the upper end of the guide 10 to the predetermined position is set as the first area and the second area from the predetermined position to the lower end of the guide 10 is shown.

なお、本例においては、当該構成の場合について説明するが、特にこれに限られず、ガイド10の上端から所定位置までが第2領域、所定位置からガイド10の下端までが第1領域に設定してもよい。あるいは、ガイド10の中間領域が第1領域、それ以外の上端および下端の領域が第2領域に設定してもよい。あるいは、ガイド10の中間領域が第2領域、それ以外の上端および下端の領域が第1領域に設定してもよい。   In this example, the case of the configuration will be described. However, the present invention is not limited to this. The second region is set from the upper end of the guide 10 to the predetermined position, and the first region is set from the predetermined position to the lower end of the guide 10. May be. Alternatively, the intermediate region of the guide 10 may be set as the first region, and the other upper and lower regions may be set as the second region. Alternatively, the middle region of the guide 10 may be set as the second region, and the other upper and lower regions may be set as the first region.

また、本例においては、一例として第1の間隔が距離2a、第2の間隔が距離aの場合について説明する。   In this example, a case where the first interval is the distance 2a and the second interval is the distance a will be described as an example.

フロート20には、フロート磁石2(以下、単に磁石2とも称する)が設けられている。具体的には、磁石ユニットとして磁石2A,2Bが取り付けられている。磁石2A,2Bで磁石ユニットを構成する。   The float 20 is provided with a float magnet 2 (hereinafter also simply referred to as a magnet 2). Specifically, magnets 2A and 2B are attached as magnet units. A magnet unit is composed of the magnets 2A and 2B.

複数の磁気センサ5は、フロート20に取り付けられた磁石2の昇降動作に従う磁束密度を検知して、その磁束密度に対応する電気信号を出力する。なお、本例においては、4ピンの磁気センサ5の構成について一例として説明するが、特にピン数はこれに限られず当業者であるならば適宜設計変更することが可能である。   The plurality of magnetic sensors 5 detect the magnetic flux density according to the lifting / lowering operation of the magnet 2 attached to the float 20 and output an electrical signal corresponding to the magnetic flux density. In this example, the configuration of the 4-pin magnetic sensor 5 will be described as an example. However, the number of pins is not particularly limited to this, and those skilled in the art can appropriately change the design.

図3は、実施形態に基づく液面検出装置1の回路構成図である。
図3を参照して、実施形態に基づく液面検出装置1は、複数の磁気センサ(AMR素子)5と、検出回路50とを含む。本例においては、n個の磁気センサが設けられている場合が示されている。
FIG. 3 is a circuit configuration diagram of the liquid level detection device 1 based on the embodiment.
With reference to FIG. 3, the liquid level detection apparatus 1 according to the embodiment includes a plurality of magnetic sensors (AMR elements) 5 and a detection circuit 50. In this example, a case where n magnetic sensors are provided is shown.

検出回路50は、アナログ/デジタル変換回路であるA/D回路60と、パラレル/シリアル変換回路であるP/S変換回路30と、演算処理を実行するMPU(Micro-processing unit)40とを含む。   The detection circuit 50 includes an A / D circuit 60 that is an analog / digital conversion circuit, a P / S conversion circuit 30 that is a parallel / serial conversion circuit, and an MPU (Micro-processing unit) 40 that executes arithmetic processing. .

A/D回路60は、複数(n個)の磁気センサ5と接続されて、入力されたアナログ信号をデジタル信号に変換する。   The A / D circuit 60 is connected to a plurality (n) of magnetic sensors 5 and converts an input analog signal into a digital signal.

P/S変換回路30は、MPU40から入力されるクロックCLKに同期して並列的に入力されるA/D回路60から入力されたデジタル信号を直列的に信号変換してMPU40に出力する。   The P / S conversion circuit 30 serially converts the digital signal input from the A / D circuit 60 input in parallel in synchronization with the clock CLK input from the MPU 40 and outputs the digital signal to the MPU 40.

MPU40は、P/S変換回路30から入力される複数(n個)の磁気センサ5からの信号を演算処理してフロート20の位置を検出する。   The MPU 40 detects the position of the float 20 by performing arithmetic processing on signals from a plurality (n) of magnetic sensors 5 input from the P / S conversion circuit 30.

また、MPU40は、補正部45を含む。補正部45は、磁気センサ5からの信号を必要に応じて補正処理する。   The MPU 40 includes a correction unit 45. The correction unit 45 corrects the signal from the magnetic sensor 5 as necessary.

なお、本例においては、第1領域におけるフロート20の位置検出においては補正処理を実行し、第2領域におけるフロート20の位置検出においては補正処理を実行しない。   In this example, correction processing is executed in position detection of the float 20 in the first region, and correction processing is not executed in position detection of the float 20 in the second region.

なお、本例におけるMPU40は、A/D回路60からの信号に関して、クロックCLKに同期したP/S変換回路30の出力を受ける構成について説明するが、特に当該構成に限られずマルチプレクサを介してA/D回路60からデジタル信号の入力を受ける構成に変更することも可能である。   Note that the MPU 40 in this example will be described with respect to the signal from the A / D circuit 60 that receives the output of the P / S conversion circuit 30 synchronized with the clock CLK. It is also possible to change to a configuration that receives a digital signal input from the / D circuit 60.

図4は、実施形態に基づく磁気センサ5の磁気抵抗素子のパターンを説明する図である。   FIG. 4 is a diagram illustrating the pattern of the magnetoresistive element of the magnetic sensor 5 based on the embodiment.

図4を参照して、ここでは、磁気センサ5は、4つの磁気抵抗素子MR1〜MR4(総称して磁気抵抗素子MRとも称する)からなるブリッジ構造からなる。   Referring to FIG. 4, here, magnetic sensor 5 has a bridge structure including four magnetoresistive elements MR1 to MR4 (also collectively referred to as magnetoresistive elements MR).

磁気センサ5は、磁界が印加されると、磁気抵抗素子MR1〜MR4の抵抗値変化により抵抗値変化に応じた信号V+,V−を出力する。磁気センサ5は、信号V+,V−の差分ΔVを出力する。   When a magnetic field is applied, the magnetic sensor 5 outputs signals V + and V− according to the resistance value change due to the resistance value changes of the magnetoresistive elements MR1 to MR4. The magnetic sensor 5 outputs a difference ΔV between the signals V + and V−.

磁気センサ5の磁気抵抗素子MRは異方性磁気抵抗素子であり、折り返し形状のパターン構造である。   The magnetoresistive element MR of the magnetic sensor 5 is an anisotropic magnetoresistive element and has a folded pattern structure.

磁気抵抗素子MRの磁界印加時の抵抗値は、素子の長さ方向(電流方向)に対して垂直の飽和磁界(90°)が印加された時に最小となり、平行な飽和磁界(0°)が印加されたときに最大となる特性を有する。   The resistance value of the magnetoresistive element MR when a magnetic field is applied is minimized when a saturation magnetic field (90 °) perpendicular to the length direction (current direction) of the element is applied, and a parallel saturation magnetic field (0 °) is generated. It has the maximum characteristics when applied.

また、磁気センサ5には、バイアス磁石3A,3Bが設けられている。バイアス磁石3A,3Bは、磁気抵抗素子MR1〜MR4に対して左上から右下の方向にバイアス磁界がかかるように配置されている。   The magnetic sensor 5 is provided with bias magnets 3A and 3B. The bias magnets 3A and 3B are arranged so that a bias magnetic field is applied from the upper left to the lower right with respect to the magnetoresistive elements MR1 to MR4.

なお、本例の磁気センサ5の磁気抵抗素子MRは、一例として折り返し形状のパターン構造として説明するが、特に折り返し形状に限られずそのパターン構造は、磁気センサ5の検出特性を高めるように当業者であるならば適宜設計変更することが可能である。また、バイアス磁石3A,3Bの配置(向き)に関しても本例においては一例として左上から右下の方向に45°の角度のバイアス磁界ベクトルがかかるように配置した構成が示されているが、当該配置あるいは角度も磁気センサ5の検出特性を高めるように当業者であるならば適宜設計変更することが可能である。   The magnetoresistive element MR of the magnetic sensor 5 of this example will be described as a folded pattern structure as an example. However, the pattern structure is not limited to a folded shape, and those skilled in the art can improve the detection characteristics of the magnetic sensor 5. If so, the design can be changed as appropriate. In addition, regarding the arrangement (orientation) of the bias magnets 3A and 3B, in this example, a configuration in which a bias magnetic field vector having an angle of 45 ° is applied from the upper left to the lower right is shown as an example. A person skilled in the art can appropriately change the design of the arrangement or angle so as to enhance the detection characteristics of the magnetic sensor 5.

また、本例においては、2つのバイアス磁石3A,3Bに基づいてバイアス磁界ベクトルをかける構成について説明するが、2つのバイアス磁石ではなく1つのバイアス磁石を用いてバイアス磁界ベクトルをかけることも可能である。たとえば、磁気抵抗素子MR1〜MR4が設けられている基板上にバイアス磁石を配置しても良いし、基盤の裏面にバイアス磁石を配置する構成とするようにしても良い。   In this example, a configuration in which the bias magnetic field vector is applied based on the two bias magnets 3A and 3B will be described, but it is also possible to apply the bias magnetic field vector using one bias magnet instead of the two bias magnets. is there. For example, a bias magnet may be arranged on a substrate on which the magnetoresistive elements MR1 to MR4 are provided, or a bias magnet may be arranged on the back surface of the base.

図5は、実施形態に基づく磁気センサ5の検出原理を説明する図である。
図5(A)は、外部磁界に従って変化するバイアス磁界ベクトルを説明する図である。
FIG. 5 is a diagram illustrating the detection principle of the magnetic sensor 5 based on the embodiment.
FIG. 5A is a diagram for explaining a bias magnetic field vector that changes in accordance with an external magnetic field.

図5(A)に示されるように、磁気センサ5のバイアス磁界ベクトルは、昇降方向に対する外部磁界に従ってそのベクトル方向を変化させる。本例においては、外部磁界が無い状態のバイアス磁界ベクトルV0が実線で示されている。なお、バイアス磁石は、磁気センサ5が飽和感度領域に達する磁界強度となるように設定する。   As shown in FIG. 5A, the bias magnetic field vector of the magnetic sensor 5 changes its vector direction according to the external magnetic field with respect to the ascending / descending direction. In this example, the bias magnetic field vector V0 in the absence of an external magnetic field is indicated by a solid line. The bias magnet is set so that the magnetic sensor 5 has a magnetic field intensity that reaches the saturation sensitivity region.

バイアス磁界ベクトルV0は、外部磁界(右から左方向)に従ってバイアス磁界ベクトルV1に変化する。   The bias magnetic field vector V0 changes to the bias magnetic field vector V1 according to the external magnetic field (from right to left).

一方で、バイアス磁界ベクトルV0は、外部磁界(左から右方向)に従ってバイアス磁界ベクトルV2に変化する。   On the other hand, the bias magnetic field vector V0 changes to the bias magnetic field vector V2 according to the external magnetic field (from left to right).

外部磁界の磁束密度の変化に従いバイアス磁界ベクトルが変化する。磁気センサ5は、バイアス磁界ベクトルの変化を検出して、当該検出結果に応じた出力信号(電位差ΔV)を出力する。   The bias magnetic field vector changes according to the change in the magnetic flux density of the external magnetic field. The magnetic sensor 5 detects a change in the bias magnetic field vector and outputs an output signal (potential difference ΔV) corresponding to the detection result.

図5(B)には、外部磁界の磁束密度の変化に従う磁気センサ5の出力信号の変化特性が示されている。   FIG. 5B shows the change characteristic of the output signal of the magnetic sensor 5 according to the change of the magnetic flux density of the external magnetic field.

図5(B)に示されるように、バイアス磁石3A,3Bに従うバイアス磁界に基づいて所定の磁束密度STがかかっている。この場合の出力は中間値に設定されており、磁気センサ5に印加される磁界の方向の変化に従い電位差ΔVが変化する。   As shown in FIG. 5B, a predetermined magnetic flux density ST is applied based on the bias magnetic field according to the bias magnets 3A and 3B. The output in this case is set to an intermediate value, and the potential difference ΔV changes according to the change in the direction of the magnetic field applied to the magnetic sensor 5.

外部磁界として、右から左方向の外部磁界の磁束密度の変化に従い電位差ΔVは、ΔV1側にシフトする。   As an external magnetic field, the potential difference ΔV shifts to the ΔV1 side in accordance with the change in the magnetic flux density of the external magnetic field from right to left.

一方、外部磁界として、左から右方向の外部磁界の磁束密度の変化に従い電位差ΔVは、ΔV2側にシフトする。   On the other hand, as the external magnetic field, the potential difference ΔV shifts to the ΔV2 side in accordance with the change in the magnetic flux density of the external magnetic field from the left to the right.

中間値からの電位差ΔVの増減に従って磁気センサ5に印加される磁界の極性(どの向きからの磁界か)を検知することが可能である。また、バイアス磁石3A,3Bの磁力強度を変更することにより飽和磁界強度も高めることが可能である。   It is possible to detect the polarity (from which direction) of the magnetic field applied to the magnetic sensor 5 according to the increase or decrease of the potential difference ΔV from the intermediate value. Also, the saturation magnetic field strength can be increased by changing the magnetic strength of the bias magnets 3A and 3B.

後述するが外部磁界の磁束密度の変化に応じた信号波形(電位差ΔV)に基づいてフロート20の位置を検出することが可能である。   As will be described later, the position of the float 20 can be detected based on a signal waveform (potential difference ΔV) corresponding to a change in the magnetic flux density of the external magnetic field.

図6は、実施形態に基づくフロート20に取り付けられたフロート磁石2の配置を説明する図である。   FIG. 6 is a diagram for explaining the arrangement of the float magnets 2 attached to the float 20 according to the embodiment.

図6を参照して、ここでは、フロート20を上視した場合の図が示されている。また、磁石2A,2Bで形成される磁石ユニットは、ガイド10を介して互いに向き合うように対向して設けられている。本例においては、磁石2A,2BのN極が互いに向き合うように対向して設けられている。なお、磁石2A,2BのS極を互いに向き合うように対向して配置することも可能である。   Referring to FIG. 6, here, a view when the float 20 is viewed from above is shown. The magnet units formed of the magnets 2A and 2B are provided to face each other with the guide 10 therebetween. In this example, the N poles of the magnets 2A and 2B are provided so as to face each other. It is also possible to arrange the south poles of the magnets 2A and 2B so as to face each other.

当該配置により、磁力方向は、ガイド10に沿う方向となり、ガイド10に沿う方向と垂直な方向の磁力成分は打ち消される。また、フロート20が回転した場合であっても磁力方向や磁束密度にほとんど変化はなく、磁気センサ5は磁束密度の変位量を精度よく測定することが可能である。   With this arrangement, the magnetic force direction becomes a direction along the guide 10, and the magnetic force component in the direction perpendicular to the direction along the guide 10 is canceled. Further, even when the float 20 rotates, there is almost no change in the direction of magnetic force or the magnetic flux density, and the magnetic sensor 5 can accurately measure the amount of displacement of the magnetic flux density.

なお、磁気センサ5が配列された線上に平行な磁界が印加できれば、磁石2A,2Bは、同極を対向する配置としなくても良い。   In addition, as long as a parallel magnetic field can be applied to the line on which the magnetic sensors 5 are arranged, the magnets 2A and 2B do not have to be arranged to face the same pole.

図7は、実施形態に基づくフロート20に取り付けられたフロート磁石2A,2Bと、複数の磁気センサ5とのレイアウトを説明する図である。   FIG. 7 is a diagram illustrating the layout of the float magnets 2A and 2B attached to the float 20 and the plurality of magnetic sensors 5 based on the embodiment.

図7に示されるように、磁石2A,2Bは、1組の磁石ユニットを形成する。
磁石2A,2Bで形成される磁石ユニットは、互いにN極が向き合うように配置されている。
As shown in FIG. 7, magnets 2A and 2B form a set of magnet units.
The magnet units formed by the magnets 2A and 2B are arranged so that the N poles face each other.

本例においては、複数の磁気センサ5として、3つの磁気センサ5PA〜5PC(総称して磁気センサ5と称する)が設けられる場合が示されている。   In this example, a case where three magnetic sensors 5PA to 5PC (collectively referred to as magnetic sensors 5) are provided as the plurality of magnetic sensors 5 is shown.

本例においては、磁気センサ5PAは、第1領域の磁気センサであり、昇降方向における磁気センサ5PBとの間の距離は距離2aに設定される。磁気センサ5PB,5PCは、第2領域の磁気センサであり、昇降方向における磁気センサ5PBとの間の距離は距離aに設定される。   In this example, the magnetic sensor 5PA is a magnetic sensor in the first region, and the distance between the magnetic sensor 5PB and the magnetic sensor 5PB in the ascending / descending direction is set to the distance 2a. The magnetic sensors 5PB and 5PC are magnetic sensors in the second region, and the distance between the magnetic sensor 5PB and the magnetic sensor 5PB in the ascending / descending direction is set to a distance a.

また、磁石2A,2Bの昇降方向に沿う長さを、昇降方向における隣接する磁気センサ5PBと磁気センサ5PCとの間の距離を距離aとした場合に、距離2aに設定する。   Moreover, the length along the raising / lowering direction of the magnets 2A and 2B is set to the distance 2a when the distance between the adjacent magnetic sensor 5PB and the magnetic sensor 5PC in the raising / lowering direction is the distance a.

磁気センサ5は、昇降方向に沿ってガイド10に取り付けられる。
なお、本例においては、3つの磁気センサ5PA〜5PCが配置されて、フロート20の位置を検出する場合について説明するが、さらに複数の磁気センサが配置される場合についても同様である。
The magnetic sensor 5 is attached to the guide 10 along the raising / lowering direction.
In this example, the case where three magnetic sensors 5PA to 5PC are arranged and the position of the float 20 is detected will be described, but the same applies to the case where a plurality of magnetic sensors are arranged.

なお、本例において、例えば、フロート20の位置として、一例として磁石2Aと磁石2Bの昇降方向における中心を基準位置(中心点)とする。この場合、基準位置(中心点)の位置に磁気センサ5PBが位置している場合が示されている。   In this example, for example, as the position of the float 20, the center in the ascending / descending direction of the magnet 2A and the magnet 2B is set as a reference position (center point). In this case, the case where the magnetic sensor 5PB is located at the position of the reference position (center point) is shown.

また、3つの磁気センサ5PA〜5PCは、各磁気センサのバイアス磁界ベクトルが水平方向と平行となるように配置されている。なお、本例においては、バイアス磁界ベクトルの向きは、磁石2Bから磁石2Aに向かう水平方向と同じ方向となる場合について説明するが、特にこれに限られず磁石2Aから磁石2Bに向かう水平方向と同じ方向となるようにしても良い。   The three magnetic sensors 5PA to 5PC are arranged so that the bias magnetic field vectors of the magnetic sensors are parallel to the horizontal direction. In this example, the case where the direction of the bias magnetic field vector is the same as the horizontal direction from the magnet 2B to the magnet 2A will be described. However, the present invention is not limited to this and is the same as the horizontal direction from the magnet 2A to the magnet 2B. You may make it become a direction.

磁気センサ5PA〜5PCの各々に示される、昇降方向の紙面左右方向の白抜き矢印は、この方向が磁気センサの最大感磁方向を示す。また、磁気センサ5PA〜5PCの各々に示される、水平方向の紙面下向きの矢印は、バイアス磁石による磁界を示す。但し、フロート磁石の磁界によるバイアス磁界の回転までの記載は省略する。   The white arrows in the left and right directions in the up and down direction shown in each of the magnetic sensors 5PA to 5PC indicate the maximum magnetic sensing direction of the magnetic sensor. In addition, the horizontal arrow pointing downward in each of the magnetic sensors 5PA to 5PC indicates a magnetic field generated by a bias magnet. However, description up to rotation of the bias magnetic field by the magnetic field of the float magnet is omitted.

図8は、実施形態に基づくフロート20が昇降動作によりその位置が変化した場合の磁気センサとの関係を説明する図である。   FIG. 8 is a diagram illustrating the relationship with the magnetic sensor when the position of the float 20 based on the embodiment changes due to the lifting / lowering operation.

本例においては、フロート20が右から左方向(一例として下降方向)に変化した場合について説明する。   In this example, a case will be described in which the float 20 changes from the right to the left (for example, the downward direction).

図8(A)においては、フロート20が下降して磁気センサ5PAに近づいてきた場合(状態S0)が示されている。   FIG. 8A shows the case where the float 20 descends and approaches the magnetic sensor 5PA (state S0).

磁気センサ5PAは、フロート20の磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PAは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。したがって、磁気センサ5PAのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV1側に変化する。当該バイアス磁界ベクトルの変化に従い電位差ΔVは減少する。他の磁気センサ5PB,5PCについても、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。当該バイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。   The magnetic sensor 5PA is affected by the magnetic field (lines of magnetic force) generated by the magnets 2A and 2B of the float 20. Specifically, the magnetic sensor 5PA is affected by a magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PA changes to the bias magnetic field vector V1 side. The potential difference ΔV decreases as the bias magnetic field vector changes. The other magnetic sensors 5PB and 5PC are also affected by the magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. The potential difference ΔV decreases as the bias magnetic field vector V1 changes.

図8(B)においては、図8(A)からフロート20がさらに距離a上昇した場合(状態S1)が示されている。   FIG. 8B shows a case (state S1) where the float 20 has further increased by a distance a from FIG. 8A.

磁気センサ5PAは、フロート20の磁石2A,2Bとの間の中心線上に位置する状態である。本例においては、当該状態を初期状態とする。   The magnetic sensor 5PA is in a state of being located on the center line between the float 2 and the magnets 2A and 2B. In this example, this state is the initial state.

磁気センサ5PBは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。したがって、磁気センサ5PBのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV1側に変化する。当該バイアス磁界ベクトルの変化に従い電位差ΔVは減少する。他の磁気センサ5PCについても、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。当該バイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。   The magnetic sensor 5PB is affected by the magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PB changes to the bias magnetic field vector V1 side. The potential difference ΔV decreases as the bias magnetic field vector changes. The other magnetic sensor 5PC is also affected by the magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. The potential difference ΔV decreases as the bias magnetic field vector V1 changes.

図8(C)においては、図8(B)からフロート20がさらに距離a上昇した場合(状態S2)が示されている。   FIG. 8C shows a case (state S2) where the float 20 has further increased by a distance a from FIG. 8B.

磁気センサ5PAは、磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PAは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。したがって、磁気センサ5PAのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV2側に変化する。当該バイアス磁界ベクトルV2側への変化に従い電位差ΔVは増加する。   The magnetic sensor 5PA is affected by a magnetic field (lines of magnetic force) generated by the magnets 2A and 2B. Specifically, the magnetic sensor 5PA is affected by a magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PA changes toward the bias magnetic field vector V2. The potential difference ΔV increases as the bias magnetic field vector V2 changes.

磁気センサ5PBは、フロート20の磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PBは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。したがって、磁気センサ5PBのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV1側に変化する。当該バイアス磁界ベクトルの変化に従い電位差ΔVは減少する。   The magnetic sensor 5PB is affected by the magnetic field (lines of magnetic force) generated by the magnets 2A and 2B of the float 20. Specifically, the magnetic sensor 5PB is affected by a magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PB changes to the bias magnetic field vector V1 side. The potential difference ΔV decreases as the bias magnetic field vector changes.

磁気センサ5PCは、磁石2A,2Bにより生じる磁界の影響を受ける。具体的には、磁気センサ5PCは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。当該バイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。   The magnetic sensor 5PC is affected by the magnetic field generated by the magnets 2A and 2B. Specifically, the magnetic sensor 5PC is affected by a magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. The potential difference ΔV decreases as the bias magnetic field vector V1 changes.

図8(D)においては、図8(C)からフロート20がさらに距離a上昇した場合(状態S3)が示されている。   FIG. 8D shows the case where the float 20 has further increased the distance a from FIG. 8C (state S3).

磁気センサ5PAは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。磁界の影響は小さくなるため当該バイアス磁界ベクトルV2側への変化は小さくなる。   The magnetic sensor 5PA is affected by a magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Since the influence of the magnetic field is small, the change toward the bias magnetic field vector V2 is small.

磁気センサ5PBは、磁石2A,2Bとの間の中心線上に位置する状態である。したがって、初期状態である。   The magnetic sensor 5PB is in a state located on the center line between the magnets 2A and 2B. Therefore, it is an initial state.

磁気センサ5PCは、磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PCは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。したがって、磁気センサ5PCのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV1側に変化する。当該バイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。   The magnetic sensor 5PC is affected by a magnetic field (lines of magnetic force) generated by the magnets 2A and 2B. Specifically, the magnetic sensor 5PC is affected by a magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PC changes to the bias magnetic field vector V1 side. The potential difference ΔV decreases as the bias magnetic field vector V1 changes.

図8(E)においては、図8(D)からフロート20がさらに距離a上昇した場合(状態S4)が示されている。   FIG. 8E shows a case (state S4) in which the float 20 further increases the distance a from FIG. 8D.

磁気センサ5PAは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。磁界の影響は小さくなるため当該バイアス磁界ベクトルV2側への変化は小さくなる。   The magnetic sensor 5PA is affected by a magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Since the influence of the magnetic field is small, the change toward the bias magnetic field vector V2 is small.

磁気センサ5PBは、磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PBは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。したがって、磁気センサ5PBのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV2側に変化する。当該バイアス磁界ベクトルV2側への変化に従い電位差ΔVは増加する。   The magnetic sensor 5PB is affected by the magnetic field (lines of magnetic force) generated by the magnets 2A and 2B. Specifically, the magnetic sensor 5PB is affected by a magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PB changes to the bias magnetic field vector V2. The potential difference ΔV increases as the bias magnetic field vector V2 changes.

磁気センサ5PCは、磁石2A,2Bとの間の中心線上に位置する状態である。したがって、初期状態である。   The magnetic sensor 5PC is located on the center line between the magnets 2A and 2B. Therefore, it is an initial state.

図8(F)においては、図8(E)からフロート20がさらに距離a上昇した場合(状態S5)が示されている。   FIG. 8F shows a case where the float 20 has further increased the distance a (state S5) from FIG. 8E.

磁気センサ5PA,5PBは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。磁界の影響は小さくなるため当該バイアス磁界ベクトルV2側への変化は小さくなる。   The magnetic sensors 5PA and 5PB are affected by the magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Since the influence of the magnetic field is small, the change toward the bias magnetic field vector V2 is small.

磁気センサ5PCは、磁石2A,2Bにより生じる磁界(磁力線)の影響を受ける。具体的には、磁気センサ5PCは、磁石2A,2Bの磁力線として左から右への磁界の影響を受ける。したがって、磁気センサ5PBのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV2側に変化する。当該バイアス磁界ベクトルV2側への変化に従い電位差ΔVは増加する。   The magnetic sensor 5PC is affected by a magnetic field (lines of magnetic force) generated by the magnets 2A and 2B. Specifically, the magnetic sensor 5PC is affected by a magnetic field from left to right as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PB changes to the bias magnetic field vector V2. The potential difference ΔV increases as the bias magnetic field vector V2 changes.

図8(G)においては、図8(F)からフロート20がさらに距離a上昇した場合(状態S6)が示されている。   FIG. 8G shows the case where the float 20 has further increased the distance a from the state shown in FIG. 8F (state S6).

磁気センサ5PA,5PB,5PCは、磁石2A,2Bにより生じる磁界により昇降方向に磁界がかかる場合が示されている。具体的には、磁気センサ5PA,5PB,5PCは、磁石2A,2Bにより生じる磁界(磁力線)として左から右への磁界の影響を受ける。距離に従って磁界の影響は小さくなるため当該バイアス磁界ベクトルV2側への変化は小さくなる。以降同様である。   In the magnetic sensors 5PA, 5PB, and 5PC, a case where a magnetic field is applied in the up and down direction by the magnetic field generated by the magnets 2A and 2B is shown. Specifically, the magnetic sensors 5PA, 5PB, and 5PC are affected by a magnetic field from left to right as a magnetic field (lines of magnetic force) generated by the magnets 2A and 2B. Since the influence of the magnetic field is reduced according to the distance, the change to the bias magnetic field vector V2 side is reduced. The same applies thereafter.

<第1領域における位置検出>
図9は、実施形態に基づくフロート20の昇降動作に従う複数の磁気センサの出力信号波形(その1)を説明する図である。
<Position detection in the first region>
FIG. 9 is a diagram illustrating output signal waveforms (part 1) of a plurality of magnetic sensors according to the lifting / lowering operation of the float 20 according to the embodiment.

図9に示されるように、状態S0〜S6の位置関係と出力信号関係とが示されている。
例えば、磁気センサ5PAに着目すると、磁気センサ5PAで受けた外部磁界の磁束密度に応じた信号が出力されている。
As shown in FIG. 9, the positional relationship and output signal relationship of states S0 to S6 are shown.
For example, focusing on the magnetic sensor 5PA, a signal corresponding to the magnetic flux density of the external magnetic field received by the magnetic sensor 5PA is output.

フロート20が磁気センサ5PAに近づくに従って磁気センサ5PAは、磁石2A,2Bの磁力線として右から左への磁界の影響を受ける。したがって、磁気センサ5PAのバイアス磁界ベクトルV0は、バイアス磁界ベクトルV1側に変化する。当該バイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。他の磁気センサ5PB,5PCについても、磁石2A,2Bの磁力線として右から左への磁界の影響を受けるためバイアス磁界ベクトルV1側への変化に従い電位差ΔVは減少する。   As the float 20 approaches the magnetic sensor 5PA, the magnetic sensor 5PA is affected by the magnetic field from right to left as the magnetic lines of force of the magnets 2A and 2B. Therefore, the bias magnetic field vector V0 of the magnetic sensor 5PA changes to the bias magnetic field vector V1 side. The potential difference ΔV decreases as the bias magnetic field vector V1 changes. The other magnetic sensors 5PB and 5PC are also affected by the magnetic field from the right to the left as the magnetic lines of force of the magnets 2A and 2B, so that the potential difference ΔV decreases as the bias magnetic field vector V1 changes.

状態S0においては、磁気センサ5PAで受けた外部磁界に従ってバイアス磁界ベクトルが変化して出力信号(電位差ΔV)として低下している場合が示されている。   In the state S0, the case where the bias magnetic field vector changes in accordance with the external magnetic field received by the magnetic sensor 5PA and decreases as the output signal (potential difference ΔV) is shown.

状態S1においては、磁気センサ5PAは、磁石2A,2Bとの間の中心線上に位置する初期状態であり、本例においては、初期状態である場合の出力信号(電位差ΔV)の電圧を中間値(中間電圧)とする。   In the state S1, the magnetic sensor 5PA is in an initial state located on the center line between the magnets 2A and 2B. In this example, the voltage of the output signal (potential difference ΔV) in the initial state is an intermediate value. (Intermediate voltage).

状態S2においては、磁気センサ5PAのバイアス磁界ベクトルがバイアス磁界ベクトルV2側に変化した場合に出力信号が最大となった場合が示されている。   In the state S2, the case where the output signal becomes maximum when the bias magnetic field vector of the magnetic sensor 5PA changes to the bias magnetic field vector V2 side is shown.

状態S3においては、磁気センサ5PAは、出力信号(電位差ΔV)が低下する場合が示されている。   In the state S3, the magnetic sensor 5PA shows a case where the output signal (potential difference ΔV) decreases.

状態S4以降においては、距離に応じて変化する外部磁界に基づいて磁気センサ5PAの出力信号が変化する場合が示されている。   In the state S4 and after, the case where the output signal of the magnetic sensor 5PA changes based on the external magnetic field that changes according to the distance is shown.

また、磁気センサ5PBに着目すると、磁気センサ5PAの出力信号を距離2aずらした波形が示されている。磁気センサ5PCに着目すると、磁気センサ5PBの出力信号を距離aずらした波形が示されている。   Focusing on the magnetic sensor 5PB, a waveform is shown in which the output signal of the magnetic sensor 5PA is shifted by a distance 2a. Focusing on the magnetic sensor 5PC, a waveform obtained by shifting the output signal of the magnetic sensor 5PB by a distance a is shown.

本例においては、状態S1〜S3の磁気センサ5PA,5PBの出力信号に基づく第1領域におけるフロート20の位置検出について説明する。   In this example, the position detection of the float 20 in the first region based on the output signals of the magnetic sensors 5PA and 5PB in the states S1 to S3 will be described.

図10は、図9の所定領域を拡大したイメージ図である。
図10を参照して、ここでは、所定領域として図9のハッチング領域の複数の磁気センサ5PA,5PBの出力信号波形が示されている。
FIG. 10 is an image view in which the predetermined area of FIG. 9 is enlarged.
Referring to FIG. 10, here, the output signal waveforms of a plurality of magnetic sensors 5PA and 5PB in the hatching area of FIG. 9 are shown as the predetermined area.

磁気センサ5PA,5PBの出力信号波形について、中間電圧を基準とした場合、後述する円状に沿って変化する外部磁界の磁気ベクトルPの水平成分(昇降方向の成分)に模式化(近似)する。   The output signal waveforms of the magnetic sensors 5PA and 5PB are modeled (approximated) to the horizontal component (the component in the up-and-down direction) of the magnetic vector P of the external magnetic field that changes along a circular shape, which will be described later, when the intermediate voltage is used as a reference. .

具体的には、隣接する2つの磁気センサから出力される電気信号として位相が90°ずれた信号波形として検出する。   Specifically, it is detected as a signal waveform whose phase is shifted by 90 ° as an electrical signal output from two adjacent magnetic sensors.

本例においては、位相が90°ずれた一方の出力信号(電気信号)を正弦波(sinθ)、他方の出力信号(電気信号)を余弦波(cosθ)で表わす。そして、2つの出力信号(電気信号)に基づいて外部磁界の磁気ベクトルPの角度θを算出する。   In this example, one output signal (electric signal) whose phase is shifted by 90 ° is represented by a sine wave (sin θ), and the other output signal (electric signal) is represented by a cosine wave (cos θ). Then, the angle θ of the magnetic vector P of the external magnetic field is calculated based on the two output signals (electric signals).

具体的には、磁気センサ5PAの出力信号をPsinθ、磁気センサ5PBの出力信号を−Pcosθと表し、角度θを次式から算出する。   Specifically, the output signal of the magnetic sensor 5PA is represented as Psinθ, the output signal of the magnetic sensor 5PB is represented as −Pcosθ, and the angle θ is calculated from the following equation.

θ=arctan(Psinθ/|−Pcosθ|)
本実施形態においては、複数の磁気センサの出力信号のうち隣接する2つの磁気センサから出力される電気信号を検出して外部磁界の磁気ベクトルの角度を算出し、当該算出された磁気ベクトルの角度に基づいてフロートの位置を検出する。
θ = arctan (Psinθ / | −Pcosθ |)
In the present embodiment, an electrical signal output from two adjacent magnetic sensors among the output signals of a plurality of magnetic sensors is detected to calculate the angle of the magnetic vector of the external magnetic field, and the calculated angle of the magnetic vector The position of the float is detected based on the above.

図11は、実施形態に基づく磁気センサ5と磁気ベクトルPとの関係を模式的に説明する図(その1)である。   FIG. 11 is a diagram (part 1) schematically illustrating the relationship between the magnetic sensor 5 and the magnetic vector P based on the embodiment.

図11には、状態S1〜状態S3に移行する場合において磁気センサ5PA,5PBに対するフロート20の昇降方向に対する磁気ベクトルが示されている。ここでは、昇降方向はX軸に沿う方向である。磁気ベクトルPは、一例として磁石2AのN極により生じる磁界の磁力線の方向を指す。   FIG. 11 shows magnetic vectors with respect to the lifting / lowering direction of the float 20 with respect to the magnetic sensors 5PA and 5PB in the case of transition from the state S1 to the state S3. Here, the raising / lowering direction is a direction along the X-axis. As an example, the magnetic vector P indicates the direction of the magnetic field lines of the magnetic field generated by the N pole of the magnet 2A.

なお、説明を簡易にするために磁石2BのN極により生じる磁界の磁力線については省略しているが、磁気ベクトルPの昇降方向と垂直な成分については、当該磁石2BのN極により生じる磁界の磁力線の磁気ベクトルにより打ち消される。したがって、磁気センサ5PA,5PBに対する外部磁界としては、昇降方向成分のみとなる。上記したように当該外部磁界に従って各磁気センサ5におけるバイアス磁界ベクトルが変化する。   In order to simplify the explanation, the magnetic field lines of the magnetic field generated by the N pole of the magnet 2B are omitted, but the component perpendicular to the ascending / descending direction of the magnetic vector P is the magnetic field generated by the N pole of the magnet 2B. It is canceled out by the magnetic vector of the magnetic field lines. Therefore, the external magnetic field for the magnetic sensors 5PA and 5PB has only the up-down direction component. As described above, the bias magnetic field vector in each magnetic sensor 5 changes according to the external magnetic field.

一例として、外部磁界である磁気ベクトルの大きさとAMR出力とは相関関係にあるため、昇降方向に対する磁気センサ5PAで検出される出力信号はPsinθ、磁気センサ5PBで検出される出力信号は−Pcosθで表わすことが可能である。そして、2つの出力信号(電気信号)に基づいて磁気ベクトルPの角度θとして算出する。   As an example, since the magnitude of the magnetic vector, which is an external magnetic field, is correlated with the AMR output, the output signal detected by the magnetic sensor 5PA in the up and down direction is Psinθ, and the output signal detected by the magnetic sensor 5PB is -Pcosθ. Can be represented. And it calculates as angle (theta) of the magnetic vector P based on two output signals (electrical signal).

具体的には、2つの出力信号(電気信号)に基づいてtanθ(Psinθ/|−Pcosθ|)を算出し、arctanθを計算することにより角度情報θを算出する。   Specifically, tan θ (Psin θ / | −P cos θ |) is calculated based on two output signals (electrical signals), and angle information θ is calculated by calculating arctan θ.

なお、正弦波Psinθ、余弦波Pcosθの振幅値はtanθを算出することにより打ち消される。   Note that the amplitude values of the sine wave Psinθ and the cosine wave Pcosθ are canceled by calculating tanθ.

上記処理は、検出回路50で実行される処理である。具体的には、MPU40において上記算出処理が実行される。   The above process is a process executed by the detection circuit 50. Specifically, the calculation process is executed in the MPU 40.

磁気ベクトルの角度情報θとして0°〜90°の変化に対応してフロート20の位置は距離2a変化する。   The position of the float 20 changes by a distance 2a corresponding to a change of 0 ° to 90 ° as the angle information θ of the magnetic vector.

例えば、フロート20の位置として、一例として磁石2A,2Bの昇降方向における中心を基準位置(中心点)とする。この場合、図8(B)の状態S1に示されるフロート20の基準位置(中心点)は、磁気センサ5PAの位置と同じ位置である。   For example, as a position of the float 20, the center in the raising / lowering direction of the magnets 2A and 2B is set as a reference position (center point) as an example. In this case, the reference position (center point) of the float 20 shown in the state S1 in FIG. 8B is the same position as the position of the magnetic sensor 5PA.

本例においては、磁気センサ5PAと、磁気センサ5PBとの電気信号を利用して、磁気ベクトルの角度情報θを算出して、その位置関係を決定する。例えば、角度情報θが45°として算出された場合には、フロートの基準位置(中心点)は、磁気センサ5PAの位置から磁気センサ5PBの側にaの距離移動した位置にあると検出することが可能である。   In this example, the angle information θ of the magnetic vector is calculated using the electrical signals of the magnetic sensor 5PA and the magnetic sensor 5PB, and the positional relationship is determined. For example, when the angle information θ is calculated as 45 °, it is detected that the reference position (center point) of the float is at a position moved a distance a from the position of the magnetic sensor 5PA to the magnetic sensor 5PB side. Is possible.

図12は、実施形態に基づく磁気センサからの出力信号に基づく角度情報θの精度を説明する図である。   FIG. 12 is a diagram for explaining the accuracy of the angle information θ based on the output signal from the magnetic sensor according to the embodiment.

図12(A)には、角度θを0°〜90°まで変化させた場合における、一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定した場合におけるarctanθと基準値との比較が示されている。   FIG. 12A shows arctan θ when one output signal (electrical signal) is set to Pcosθ and the other output signal (electrical signal) is set to Psinθ when the angle θ is changed from 0 ° to 90 °. And a comparison with the reference value is shown.

シミュレーション結果として、基準値に対して少しずれた状態が示されている。
角度の精度としては図12(B)に示されるように基準値に対して±15°の範囲程度のずれであり、フロート20の位置検出としては精度が少し悪い状態である。
As a simulation result, a state slightly deviated from the reference value is shown.
As shown in FIG. 12B, the accuracy of the angle is a deviation of about ± 15 ° with respect to the reference value, and the accuracy of the position detection of the float 20 is slightly worse.

図10に示されるように、磁気センサ5PA,5PBの出力信号波形は、理想的なsin波およびcos波からずれた信号波形である。これによりフロート20の位置の検出精度が悪化した状態となっている。   As shown in FIG. 10, the output signal waveforms of the magnetic sensors 5PA and 5PB are signal waveforms that deviate from ideal sine waves and cos waves. Thereby, the detection accuracy of the position of the float 20 is in a deteriorated state.

本実施形態においては、当該信号波形を補正することにより、精度の高いフロート20の位置を検出する。   In the present embodiment, the position of the float 20 with high accuracy is detected by correcting the signal waveform.

具体的には、補正部45により検出した磁気センサ5からの信号の補正処理を実行する。   Specifically, the correction process of the signal from the magnetic sensor 5 detected by the correction unit 45 is executed.

図13は、実施形態に基づく磁気センサ5PAおよび5PBの補正前および補正後の信号を説明する図である。   FIG. 13 is a diagram illustrating signals before and after correction of the magnetic sensors 5PA and 5PB based on the embodiment.

図13(A)には、補正前の磁気センサ5PA,5PBでそれぞれ検出された出力信号が示されている。上記で説明したように磁気センサ(AMR)5PAの出力信号はPsinθ、磁気センサ(AMR)5PBの出力信号は−Pcosθで表わされる。ここでは、磁気センサ5PBの出力信号を反転させた信号が示されている。   FIG. 13A shows output signals detected by the magnetic sensors 5PA and 5PB before correction. As described above, the output signal of the magnetic sensor (AMR) 5PA is represented by Psinθ, and the output signal of the magnetic sensor (AMR) 5PB is represented by -Pcosθ. Here, a signal obtained by inverting the output signal of the magnetic sensor 5PB is shown.

出力信号の信号波形の比が理想的なsin波とcos波の比とが同じである場合には誤差が少なく位置検出が可能であるが、上記したように実際の出力信号の信号波形の比と理想的なsin波とcos波の比との間にずれが生じているため角度精度にばらつきが生じることになる。   When the ratio of the signal waveform of the output signal is the same as the ratio of the ideal sine wave and cos wave, the position can be detected with little error, but as described above, the ratio of the signal waveform of the actual output signal And the ideal sine wave to cos wave ratio causes a deviation in angular accuracy.

本例においては、磁気センサ(AMR)5PA,5PBの出力信号に対して所定の係数で累乗する補正処理を実行することによりずれを抑制して角度精度を高めることが可能である。   In this example, it is possible to suppress the deviation and increase the angular accuracy by executing a correction process of raising the output signals of the magnetic sensors (AMR) 5PA and 5PB by a predetermined coefficient.

すなわち、各角度に対するAMR出力の値を、所定の係数で累乗することにより、信号波形を理想的なsin波形およびcos波形に近づけることができる。そして、上述した角度θの式を用いることにより、精度を高めた角度を導出することが可能となる。   That is, the signal waveform can be approximated to the ideal sin waveform and cos waveform by raising the value of the AMR output for each angle by a predetermined coefficient. Then, by using the above-described equation for the angle θ, it is possible to derive an angle with improved accuracy.

図14は、実施形態に基づく磁気センサからの補正した出力信号に基づく角度情報θの精度を説明する図である。   FIG. 14 is a diagram illustrating the accuracy of the angle information θ based on the corrected output signal from the magnetic sensor according to the embodiment.

図14(A)には、角度θを0°〜90°まで変化させた場合における、一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定した場合におけるarctanθと基準値との比較が示されている。   FIG. 14A shows arctanθ when one output signal (electrical signal) is set to Pcosθ and the other output signal (electrical signal) is set to Psinθ when the angle θ is changed from 0 ° to 90 °. And a comparison with the reference value is shown.

シミュレーション結果として、図12に示されるシミュレーション結果と比較して基準値により近似した結果となっている。   The simulation result is a result approximated by the reference value compared with the simulation result shown in FIG.

角度の精度としても図14(B)に示されるように±6°未満のずれであり、精度を高めたフロート20の位置検出が可能である。   The accuracy of the angle is also less than ± 6 ° as shown in FIG. 14B, and the position of the float 20 can be detected with improved accuracy.

図15は、実施形態に基づく第1領域における液面検出装置1の検出方式を説明するフロー図である。   FIG. 15 is a flowchart illustrating a detection method of the liquid level detection device 1 in the first region based on the embodiment.

図15に示されるように、所定の信号関係の組み合わせに基づく2本の信号を抽出する(ステップSP2)。本例においては、中間電圧を超えた磁気センサの出力信号と、当該磁気センサと隣接する中間電圧以下の磁気センサの信号との2つの出力信号を抽出する。なお、中間電圧は、本例においては、一例として初期状態である場合の出力信号の電圧に設定する。具体的には、図8で説明したように例えば、磁気センサ5PAが磁石2A,2Bとの間の中心線上に位置する状態であり、予め電圧を測定することにより中間電圧を設定することが可能である。なお、当該中間電圧の設定の方式としては種々の方式があり、当該方式に限られず、例えば、ピーク値の最大値と最小値との間の中間値に設定するようにしても良い。   As shown in FIG. 15, two signals based on a predetermined combination of signal relationships are extracted (step SP2). In this example, two output signals are extracted: an output signal from a magnetic sensor that exceeds the intermediate voltage, and a signal from a magnetic sensor that is adjacent to the magnetic sensor and that is equal to or lower than the intermediate voltage. In this example, the intermediate voltage is set to the voltage of the output signal in the initial state as an example. Specifically, as described with reference to FIG. 8, for example, the magnetic sensor 5PA is located on the center line between the magnets 2A and 2B, and the intermediate voltage can be set by measuring the voltage in advance. It is. There are various methods for setting the intermediate voltage, and the method is not limited to the method. For example, the intermediate voltage may be set to an intermediate value between the maximum value and the minimum value of the peak value.

そして、図9で説明した点線で囲まれた領域における2本の出力信号(電気信号)を抽出する。   Then, two output signals (electrical signals) in the region surrounded by the dotted line described in FIG. 9 are extracted.

次に、抽出した2本の信号について、補正部45により補正する(ステップSP3)。
補正部45は、抽出した2本の信号のそれぞれについて、所定の係数で累乗する補正処理を実行する。
Next, the two extracted signals are corrected by the correction unit 45 (step SP3).
The correction unit 45 executes a correction process for raising each of the extracted two signals by a predetermined coefficient.

次に、補正した2本の信号に基づいて磁気ベクトルの角度θを計算する(ステップSP4)。具体的には、2本の電気信号のうちの一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定し、2つの出力信号(電気信号)に基づいて磁気ベクトルの角度θを算出する。そして、2つの出力信号(電気信号)に基づいてtanθを算出し、arctanθを計算することにより角度情報θを算出する。   Next, the magnetic vector angle θ is calculated based on the two corrected signals (step SP4). Specifically, one output signal (electric signal) of the two electric signals is set to Pcosθ, and the other output signal (electric signal) is set to Psinθ, and magnetism is performed based on the two output signals (electric signals). The angle θ of the vector is calculated. Then, tan θ is calculated based on the two output signals (electrical signals), and the angle information θ is calculated by calculating arctan θ.

次に、磁気ベクトルの角度θに基づいてフロート20の位置を算出する(ステップSP6)。算出された角度情報θに基づいてフロート20の基準位置(中心点)を磁気センサの位置から算出する。例えば、上記で説明したように角度情報θが45°として算出された場合には、フロートの基準位置(中心点)は、磁気センサ5PAの位置よりもaの距離、磁気センサ5PB側に移動した位置にあると検出することが可能である。   Next, the position of the float 20 is calculated based on the magnetic vector angle θ (step SP6). Based on the calculated angle information θ, the reference position (center point) of the float 20 is calculated from the position of the magnetic sensor. For example, when the angle information θ is calculated as 45 ° as described above, the reference position (center point) of the float has moved to the magnetic sensor 5PB side by a distance a from the position of the magnetic sensor 5PA. It is possible to detect that it is in position.

そして、処理を終了する(エンド)。
<第2領域における位置検出>
図16は、実施形態に基づくフロート20の昇降動作に従う複数の磁気センサの出力信号波形(その2)を説明する図である。
Then, the process ends (END).
<Position detection in the second area>
FIG. 16 is a diagram illustrating output signal waveforms (No. 2) of a plurality of magnetic sensors according to the lifting / lowering operation of the float 20 according to the embodiment.

図16に示されるように、図9に示される複数の磁気センサの出力信号波形と同様であり、ここでは、ハッチング領域が異なる。   As shown in FIG. 16, the output signal waveforms of the plurality of magnetic sensors shown in FIG. 9 are the same, and the hatching areas are different here.

本例においては、状態S3〜S4の磁気センサ5PB,5PCの出力信号に基づくフロート20の位置検出について説明する。   In this example, the position detection of the float 20 based on the output signals of the magnetic sensors 5PB and 5PC in the states S3 to S4 will be described.

図17は、図16の所定領域を拡大したイメージ図である。
図17を参照して、ここでは、所定領域として図16のハッチング領域の複数の磁気センサ5PB,5PCの出力信号波形が示されている。
FIG. 17 is an enlarged image view of the predetermined area of FIG.
Referring to FIG. 17, here, output signal waveforms of a plurality of magnetic sensors 5PB and 5PC in the hatching area of FIG. 16 as a predetermined area are shown.

磁気センサ5PB,5PCの出力信号波形は、中間電圧を基準とした場合、後述する円状に沿って変化する外部磁界の磁気ベクトルPの水平成分(昇降方向の成分)に模式化(近似)する。   The output signal waveforms of the magnetic sensors 5PB and 5PC are modeled (approximated) to a horizontal component (component in the ascending / descending direction) of the magnetic vector P of an external magnetic field that changes along a circular shape, which will be described later, when the intermediate voltage is used as a reference. .

具体的には、隣接する2つの磁気センサから出力される電気信号として位相が90°ずれた信号波形を検出する。   Specifically, a signal waveform whose phase is shifted by 90 ° is detected as an electrical signal output from two adjacent magnetic sensors.

本例においては、位相が90°ずれた一方の出力信号(電気信号)を正弦波(sinθ)、他方の出力信号(電気信号)を余弦波(cosθ)で表わす。そして、2つの出力信号(電気信号)に基づいて外部磁界の磁気ベクトルPの角度θを算出する。   In this example, one output signal (electric signal) whose phase is shifted by 90 ° is represented by a sine wave (sin θ), and the other output signal (electric signal) is represented by a cosine wave (cos θ). Then, the angle θ of the magnetic vector P of the external magnetic field is calculated based on the two output signals (electric signals).

具体的には、磁気センサ5PBの出力信号をPsinθ、磁気センサ5PCの出力信号を−Pcosθと表し、角度θを次式から算出する。   Specifically, the output signal of the magnetic sensor 5PB is represented as Psinθ, the output signal of the magnetic sensor 5PC is represented as −Pcosθ, and the angle θ is calculated from the following equation.

θ=arctan(Psinθ/|−Pcosθ|)
本実施形態においては、複数の磁気センサの出力信号のうち隣接する2つの磁気センサから出力される電気信号を検出して外部磁界の磁気ベクトルの角度を算出し、当該算出された磁気ベクトルの角度に基づいてフロートの位置を検出する。
θ = arctan (Psinθ / | −Pcosθ |)
In the present embodiment, an electrical signal output from two adjacent magnetic sensors among the output signals of a plurality of magnetic sensors is detected to calculate the angle of the magnetic vector of the external magnetic field, and the calculated angle of the magnetic vector The position of the float is detected based on the above.

図18は、実施形態に基づく磁気センサ5と磁気ベクトルPとの関係を模式的に説明する図(その2)である。   FIG. 18 is a diagram (part 2) schematically illustrating the relationship between the magnetic sensor 5 and the magnetic vector P based on the embodiment.

図18には、状態S3〜状態S4に移行する場合において磁気センサ5PB,5PCに対するフロート20の昇降方向に対する磁気ベクトルが示されている。ここでは、昇降方向はX軸に沿う方向である。磁気ベクトルPは、一例として磁石2AのN極により生じる磁界の磁力線の方向を指す。   FIG. 18 shows magnetic vectors with respect to the lifting / lowering direction of the float 20 with respect to the magnetic sensors 5PB and 5PC in the case of transition from the state S3 to the state S4. Here, the raising / lowering direction is a direction along the X-axis. As an example, the magnetic vector P indicates the direction of the magnetic field lines of the magnetic field generated by the N pole of the magnet 2A.

なお、説明を簡易にするために磁石2BのN極により生じる磁界の磁力線については省略しているが、磁気ベクトルPの昇降方向と垂直な成分については、当該磁石2BのN極により生じる磁界の磁力線の磁気ベクトルにより打ち消される。したがって、磁気センサ5PA,5PBに対する外部磁界としては、昇降方向成分のみとなる。上記したように当該外部磁界に従って各磁気センサ5におけるバイアス磁界ベクトルが変化する。   In order to simplify the explanation, the magnetic field lines of the magnetic field generated by the N pole of the magnet 2B are omitted, but the component perpendicular to the ascending / descending direction of the magnetic vector P is the magnetic field generated by the N pole of the magnet 2B. Counteracted by the magnetic vector of the magnetic field lines Therefore, the external magnetic field for the magnetic sensors 5PA and 5PB has only the up-down direction component. As described above, the bias magnetic field vector in each magnetic sensor 5 changes according to the external magnetic field.

一例として、外部磁界である磁気ベクトルの大きさとAMR出力とは相関関係にあるため、昇降方向に対する磁気センサ5PBで検出される出力信号はPsinθ、磁気センサ5PCで検出される出力信号は−Pcosθで表わすことが可能である。そして、2つの出力信号(電気信号)に基づいて磁気ベクトルPの角度θとして算出する。   As an example, since the magnitude of the magnetic vector, which is an external magnetic field, and the AMR output are correlated, the output signal detected by the magnetic sensor 5PB in the up-and-down direction is Psinθ, and the output signal detected by the magnetic sensor 5PC is −Pcosθ. Can be represented. And it calculates as angle (theta) of the magnetic vector P based on two output signals (electrical signal).

具体的には、2つの出力信号(電気信号)に基づいてtanθ(Psinθ/|−Pcosθ|)を算出し、arctanθを計算することにより角度情報θを算出する。   Specifically, tan θ (Psin θ / | −P cos θ |) is calculated based on two output signals (electrical signals), and angle information θ is calculated by calculating arctan θ.

なお、正弦波Psinθ、余弦波Pcosθの振幅値はtanθを算出することにより打ち消される。   Note that the amplitude values of the sine wave Psinθ and the cosine wave Pcosθ are canceled by calculating tanθ.

上記処理は、検出回路50で実行される処理である。具体的には、MPU40において上記算出処理が実行される。   The above process is a process executed by the detection circuit 50. Specifically, the calculation process is executed in the MPU 40.

磁気ベクトルの角度情報θとして0°〜90°の変化に対応してフロート20の位置は距離a変化する。   The position of the float 20 changes by a distance a corresponding to a change of 0 ° to 90 ° as the angle information θ of the magnetic vector.

例えば、フロート20の位置として、一例として磁石2A,2Bの昇降方向における中心を基準位置(中心点)とする。この場合、図8(D)の状態S3に示されるフロート20の基準位置(中心点)は、磁気センサ5PBの位置と同じ位置である。   For example, as a position of the float 20, the center in the raising / lowering direction of the magnets 2A and 2B is set as a reference position (center point) as an example. In this case, the reference position (center point) of the float 20 shown in the state S3 in FIG. 8D is the same position as the position of the magnetic sensor 5PB.

本例においては、磁気センサ5PBと、磁気センサ5PCとの電気信号を利用して、磁気ベクトルの角度情報θを算出して、その位置関係を決定する。例えば、角度情報θが45°として算出された場合には、フロートの基準位置(中心点)は、磁気センサ5PBの位置から磁気センサ5PCの側にa/2の距離移動した位置にあると検出することが可能である。   In this example, the angle information θ of the magnetic vector is calculated using electrical signals from the magnetic sensor 5PB and the magnetic sensor 5PC, and the positional relationship is determined. For example, when the angle information θ is calculated as 45 °, it is detected that the reference position (center point) of the float is a position moved by a / 2 distance from the position of the magnetic sensor 5PB to the magnetic sensor 5PC side. Is possible.

図19は、実施形態に基づく角度情報θの精度を説明する図である。
図19(A)には、角度θを0°〜90°まで変化させた場合における、一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定した場合におけるarctanθと基準値との比較が示されている。
FIG. 19 is a diagram for explaining the accuracy of the angle information θ based on the embodiment.
FIG. 19A shows arctanθ when one output signal (electrical signal) is set to Pcosθ and the other output signal (electrical signal) is set to Psinθ when the angle θ is changed from 0 ° to 90 °. And a comparison with the reference value is shown.

シミュレーション結果として、基準値に対して近似した状態が示されている。
角度の精度としては図19(B)に示されるように基準値に対して±2°未満のずれであり、フロート20の精度の高い位置検出が可能である。
As a simulation result, a state approximate to a reference value is shown.
As shown in FIG. 19B, the angle accuracy is less than ± 2 ° from the reference value, and the float 20 can be detected with high accuracy.

図20は、実施形態に基づく第2領域における液面検出装置1の検出方式を説明するフロー図である。   FIG. 20 is a flowchart illustrating a detection method of the liquid level detection device 1 in the second region based on the embodiment.

図20に示されるように、図15のフロー図と比較してステップSP3が削除されている点が異なる。具体的には、所定の信号関係の組み合わせに基づく2本の信号を抽出する(ステップSP2)。本例においては、中間電圧を超えた磁気センサの出力信号と、当該磁気センサと隣接する中間電圧以下の磁気センサの信号との2つの出力信号を抽出する。なお、中間電圧は、本例においては、一例として初期状態である場合の出力信号の電圧に設定する。具体的には、図8で説明したように例えば、磁気センサ5PBが磁石2A,2Bとの間の中心線上に位置する状態であり、予め電圧を測定することにより中間電圧を設定することが可能である。なお、当該中間電圧の設定の方式としては種々の方式があり、当該方式に限られず、例えば、ピーク値の最大値と最小値との間の中間値に設定するようにしても良い。   As shown in FIG. 20, the difference from the flowchart of FIG. 15 is that step SP3 is deleted. Specifically, two signals based on a predetermined combination of signal relationships are extracted (step SP2). In this example, two output signals are extracted: an output signal from a magnetic sensor that exceeds the intermediate voltage, and a signal from a magnetic sensor that is adjacent to the magnetic sensor and that is equal to or lower than the intermediate voltage. In this example, the intermediate voltage is set to the voltage of the output signal in the initial state as an example. Specifically, as described with reference to FIG. 8, for example, the magnetic sensor 5PB is positioned on the center line between the magnets 2A and 2B, and the intermediate voltage can be set by measuring the voltage in advance. It is. There are various methods for setting the intermediate voltage, and the method is not limited to the method. For example, the intermediate voltage may be set to an intermediate value between the maximum value and the minimum value of the peak value.

そして、図16で説明した点線で囲まれた領域における2本の出力信号(電気信号)を抽出する。   Then, two output signals (electrical signals) in the region surrounded by the dotted line described in FIG. 16 are extracted.

次に、抽出した2本の信号に基づいて磁気ベクトルの角度θを計算する(ステップSP4)。具体的には、2本の電気信号のうちの一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定し、2つの出力信号(電気信号)に基づいて磁気ベクトルの角度θを算出する。そして、2つの出力信号(電気信号)に基づいてtanθを算出し、arctanθを計算することにより角度情報θを算出する。   Next, the angle θ of the magnetic vector is calculated based on the two extracted signals (step SP4). Specifically, one output signal (electric signal) of the two electric signals is set to Pcosθ, and the other output signal (electric signal) is set to Psinθ, and magnetism is performed based on the two output signals (electric signals). The angle θ of the vector is calculated. Then, tan θ is calculated based on the two output signals (electrical signals), and the angle information θ is calculated by calculating arctan θ.

次に、磁気ベクトルの角度θに基づいてフロート20の位置を算出する(ステップSP6)。算出された角度情報θに基づいてフロート20の基準位置(中心点)を磁気センサの位置から算出する。例えば、上記で説明したように角度情報θが45°として算出された場合には、フロートの基準位置(中心点)は、磁気センサ5PBの位置よりもa/2の距離、磁気センサ5PC側に移動した位置にあると検出することが可能である。   Next, the position of the float 20 is calculated based on the magnetic vector angle θ (step SP6). Based on the calculated angle information θ, the reference position (center point) of the float 20 is calculated from the position of the magnetic sensor. For example, when the angle information θ is calculated as 45 ° as described above, the reference position (center point) of the float is a distance of a / 2 from the position of the magnetic sensor 5PB, on the magnetic sensor 5PC side. It is possible to detect that it is in the moved position.

そして、処理を終了する(エンド)。
実施形態においては、磁気センサ5間の距離が長い第1領域における位置検出においては、フロート20の昇降動作に従う複数の磁気センサの2つの出力信号(電気信号)を補正した補正電気信号に基づいてフロート20の精度の高い位置検出が可能である。
Then, the process ends (END).
In the embodiment, in the position detection in the first region where the distance between the magnetic sensors 5 is long, based on the corrected electric signal obtained by correcting the two output signals (electric signals) of the plurality of magnetic sensors following the lifting / lowering operation of the float 20 The position of the float 20 can be detected with high accuracy.

また、磁気センサ5間の距離が短い第2領域における位置検出においては、フロート20の昇降動作に従う複数の磁気センサの2つの出力信号(電気信号)に基づいてフロート20の精度の高い位置検出が可能である。   Further, in the position detection in the second region where the distance between the magnetic sensors 5 is short, the position detection with high accuracy of the float 20 is performed based on two output signals (electrical signals) of a plurality of magnetic sensors according to the lifting / lowering operation of the float 20. Is possible.

当該方式により、液面検出装置1の位置検出において、高精度の液面検出が要求される領域においては、磁気センサ5間の間隔を短くし、高精度の液面検出が要求されない領域においては、磁気センサ5間の間隔を長くすることが可能となる。したがって、ガイド10に磁気センサ5を効率的に配置することが可能となる。また、ガイド10に取り付ける磁気センサ5の個数を抑えることが可能となり、部品点数を抑えてコストを低下させる点でも効果がある。   With this method, in the area where the liquid level detection device 1 is required to detect the position of the liquid level, the interval between the magnetic sensors 5 is shortened in the area where the detection of the liquid level is not required. The interval between the magnetic sensors 5 can be increased. Therefore, the magnetic sensor 5 can be efficiently arranged on the guide 10. In addition, the number of magnetic sensors 5 attached to the guide 10 can be suppressed, which is effective in reducing the number of parts and reducing the cost.

また、環境温度の変化に追従して、磁石や磁気センサの特性が変化して出力信号が変化する可能性があるが、角度計算において2つの出力信号のtanθ(Psinθ/Pcosθ)を算出しているため環境温度に従う変動量が相殺されるため環境温度の影響による誤差を縮小し、精度の高い位置検出が可能である。   In addition, the output signal may change due to changes in the characteristics of the magnet or the magnetic sensor following the change in the environmental temperature. In the angle calculation, tanθ (Psinθ / Pcosθ) of the two output signals is calculated. Therefore, the fluctuation amount according to the environmental temperature is canceled out, so that the error due to the influence of the environmental temperature is reduced, and the position detection with high accuracy is possible.

(変形例)
上記の実施形態においては、第2領域におけるフロート20の位置検出においては、出力信号を補正しない方式について説明したが、当該第2領域においても補正部45により磁気センサ5からの信号を補正処理するようにしても良い。
(Modification)
In the above embodiment, the method of not correcting the output signal in the position detection of the float 20 in the second region has been described. However, the correction unit 45 also corrects the signal from the magnetic sensor 5 in the second region. You may do it.

図21は、磁気センサ5PBおよび5PCの補正前および補正後の信号を説明する図である。   FIG. 21 is a diagram illustrating signals before and after correction of the magnetic sensors 5PB and 5PC.

図21(A)には、補正前の磁気センサ5PB,5PCでそれぞれ検出された出力信号が示されている。上記で説明したように磁気センサ(AMR)5PBの出力信号はPsinθ、磁気センサ(AMR)5PCの出力信号はPcosθで表わされる。   FIG. 21A shows output signals detected by the magnetic sensors 5PB and 5PC before correction. As described above, the output signal of the magnetic sensor (AMR) 5PB is represented by Psinθ, and the output signal of the magnetic sensor (AMR) 5PC is represented by Pcosθ.

出力信号の信号波形が理想的なsin波およびcos波である場合には誤差なく位置検出することが可能であるが、実際の出力信号の信号波形と理想的なsin波およびcos波との間にずれが生じているため角度精度にばらつきが生じることになる。   If the signal waveform of the output signal is an ideal sine wave and cos wave, it is possible to detect the position without error, but it is between the signal waveform of the actual output signal and the ideal sin wave and cos wave. As a result, the angular accuracy varies.

本例においては、出力信号に対して所定の係数で累乗根する補正処理を実行することによりずれを抑制して角度精度を高めることが可能である。   In this example, it is possible to suppress the deviation and improve the angle accuracy by executing a correction process that powers the output signal with a predetermined coefficient.

図21(B)には、補正後の磁気センサ(AMR)5PB,5PCの出力信号が示されている。   FIG. 21B shows output signals of the corrected magnetic sensors (AMR) 5PB and 5PC.

当該補正した信号に基づいて外部磁界の磁気ベクトルの角度を算出し、当該算出された磁気ベクトルの角度に基づいてフロートの位置を検出する。   The angle of the magnetic vector of the external magnetic field is calculated based on the corrected signal, and the position of the float is detected based on the calculated angle of the magnetic vector.

図22は、実施形態の変形例に基づく角度情報θの精度を説明する図である。
図22(A)には、角度θを0°〜90°まで変化させた場合における、一方の出力信号(電気信号)をPcosθ、他方の出力信号(電気信号)をPsinθに設定した場合におけるarctanθと基準値との比較が示されている。
FIG. 22 is a diagram illustrating the accuracy of the angle information θ based on the modification of the embodiment.
FIG. 22A shows arctanθ when one output signal (electrical signal) is set to Pcosθ and the other output signal (electrical signal) is set to Psinθ when the angle θ is changed from 0 ° to 90 °. And a comparison with the reference value is shown.

シミュレーション結果として、基準値とはほとんど相違しない。
また、角度の精度としても図22(B)に示されるように基準値に対して±1°未満のずれであり、フロート20のさらに精度の高い位置検出が可能である。
As a result of simulation, there is almost no difference from the reference value.
Further, as shown in FIG. 22B, the accuracy of the angle is also less than ± 1 ° from the reference value, so that the position of the float 20 can be detected with higher accuracy.

実施形態の変形例に基づく液面検出装置1により、磁気センサ5から出力された出力信号を補正することによりフロート20の位置についてさらに精度の高い検出が可能であり、磁気センサ5を効率的に配置して回路構成を簡易にすることが可能であるとともに、小型化を図ることが可能である。   By correcting the output signal output from the magnetic sensor 5 by the liquid level detection device 1 based on the modification of the embodiment, the position of the float 20 can be detected with higher accuracy, and the magnetic sensor 5 can be efficiently used. It is possible to simplify the circuit configuration by arranging them and to reduce the size.

本実施例ではAMR素子で開示しているが、これに限らない。磁界強度に対して線形に出力し、極性を判別できる磁気センサであれば適用可能である。   In this embodiment, the AMR element is disclosed, but the present invention is not limited to this. Any magnetic sensor that outputs linearly with respect to the magnetic field intensity and can determine the polarity is applicable.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present disclosure is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 液面検出装置、2 磁石、5,5PA〜5PC 磁気センサ、10 ガイド、20 フロート、30 P/S変換回路、40 MPU、45 補正部、50 検出回路、60 A/D回路。   DESCRIPTION OF SYMBOLS 1 Liquid level detection apparatus, 2 magnet, 5,5PA-5PC Magnetic sensor, 10 guide, 20 float, 30 P / S conversion circuit, 40 MPU, 45 correction | amendment part, 50 detection circuit, 60 A / D circuit.

Claims (10)

液面に追従して昇降するフロートと、
前記フロートに取り付けられるフロート磁石と、
前記フロートの昇降を案内する案内部材と、
前記案内部材に取り付けられ、前記フロート磁石の昇降位置に応じて変化する磁束密度を検知して、その磁束密度に対応する電気信号を出力する複数の磁気センサと、
前記複数の磁気センサからそれぞれ出力される電気信号に基づいて前記フロートの位置を検出する検出回路とを備え、
前記検出回路は、前記電気信号を補正する補正部を含み、
前記複数の磁気センサは、前記案内部材の第1領域において第1の間隔毎に配置される第1磁気センサと、前記案内部材の第2領域において前記第1の間隔よりも短い第2の間隔毎に配置される第2磁気センサとを含み、
前記検出回路は、
前記案内部材の前記第1領域における前記複数の磁気センサのうち隣接する2つの第1磁気センサから出力される電気信号を前記補正部により補正した補正電気信号に基づいて前記フロートの位置を検出し、
前記案内部材の前記第2領域における前記複数の磁気センサのうち隣接する2つの第2磁気センサから出力される電気信号に基づいて前記フロートの位置を検出する、液面検出装置。
A float that moves up and down following the liquid level;
A float magnet attached to the float;
A guide member that guides the raising and lowering of the float;
A plurality of magnetic sensors that are attached to the guide member, detect a magnetic flux density that changes according to the lift position of the float magnet, and output an electrical signal corresponding to the magnetic flux density;
A detection circuit that detects the position of the float based on electrical signals output from the plurality of magnetic sensors,
The detection circuit includes a correction unit that corrects the electrical signal;
The plurality of magnetic sensors include a first magnetic sensor disposed at each first interval in the first region of the guide member, and a second interval shorter than the first interval in the second region of the guide member. A second magnetic sensor arranged for each,
The detection circuit includes:
The position of the float is detected based on a corrected electric signal obtained by correcting the electric signal output from two adjacent first magnetic sensors among the plurality of magnetic sensors in the first region of the guide member by the correcting unit. ,
The liquid level detection apparatus which detects the position of the said float based on the electrical signal output from two adjacent 2nd magnetic sensors among the said several magnetic sensors in the said 2nd area | region of the said guide member.
前記フロートに取り付けられる複数のフロート磁石を設け、
前記複数のフロート磁石は、同極が互いに対向して設けられる、請求項1記載の液面検出装置。
Providing a plurality of float magnets attached to the float;
The liquid level detection device according to claim 1, wherein the plurality of float magnets are provided with the same poles facing each other.
前記第1および第2磁気センサの各々は、前記水平方向にバイアス磁界を印加するバイアス磁石を有する、請求項1記載の液面検出装置。   The liquid level detection device according to claim 1, wherein each of the first and second magnetic sensors includes a bias magnet that applies a bias magnetic field in the horizontal direction. 前記第1および第2磁気センサの各々は、前記フロート磁石により生じる磁力線の磁気ベクトルに基づく電気信号を出力する、請求項1記載の液面検出装置。   2. The liquid level detection device according to claim 1, wherein each of the first and second magnetic sensors outputs an electric signal based on a magnetic vector of magnetic lines of force generated by the float magnet. 前記検出回路は、前記複数の磁気センサからそれぞれ出力される電気信号のうち所定電圧との比較に基づいて隣接する2つの磁気センサから出力される電気信号を抽出する、請求項1記載の液面検出装置。   2. The liquid level according to claim 1, wherein the detection circuit extracts an electrical signal output from two adjacent magnetic sensors based on a comparison with a predetermined voltage from electrical signals output from the plurality of magnetic sensors. Detection device. 前記検出回路は、
前記抽出した2つの電気信号の一方を正弦波、他方を余弦波とした場合の角度情報を算出し、
算出した角度情報に基づいて前記フロートの位置を検出する、請求項5記載の液面検出装置。
The detection circuit includes:
Calculate angle information when one of the two extracted electrical signals is a sine wave and the other is a cosine wave,
The liquid level detection device according to claim 5, wherein the position of the float is detected based on the calculated angle information.
各磁気センサは、
前記バイアス磁石により生じるバイアス磁界ベクトルが印加される第1〜第4の磁気抵抗素子と、
前記バイアス磁界ベクトルの変化に基づく前記第1〜第4の磁気抵抗素子の抵抗値の変化に応じた電気信号を出力する出力回路とを含む、請求項3記載の液面検出装置。
Each magnetic sensor
First to fourth magnetoresistive elements to which a bias magnetic field vector generated by the bias magnet is applied;
The liquid level detection apparatus of Claim 3 including the output circuit which outputs the electrical signal according to the change of the resistance value of the said 1st-4th magnetoresistive element based on the change of the said bias magnetic field vector.
前記補正部は、前記出力された電気信号に対して所定の係数で累乗あるいは累乗根する補正手段を有する、請求項1記載の液面検出装置。   The liquid level detection apparatus according to claim 1, wherein the correction unit includes a correction unit that powers or roots the output electric signal with a predetermined coefficient. 前記第1の間隔は、前記第2の間隔の2倍に設定される、請求項1記載の液面検出装置。   The liquid level detection device according to claim 1, wherein the first interval is set to be twice the second interval. 各前記磁気センサは、磁界強度に対して線形に出力し、極性を判別可能に設けられる、請求項1〜9のいずれか1項に記載の液面検出装置。   10. The liquid level detection device according to claim 1, wherein each of the magnetic sensors is provided so as to output linearly with respect to a magnetic field intensity and to be able to determine a polarity.
JP2017106771A 2017-05-30 2017-05-30 Liquid level detection device Pending JP2018204973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017106771A JP2018204973A (en) 2017-05-30 2017-05-30 Liquid level detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017106771A JP2018204973A (en) 2017-05-30 2017-05-30 Liquid level detection device

Publications (1)

Publication Number Publication Date
JP2018204973A true JP2018204973A (en) 2018-12-27

Family

ID=64955633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017106771A Pending JP2018204973A (en) 2017-05-30 2017-05-30 Liquid level detection device

Country Status (1)

Country Link
JP (1) JP2018204973A (en)

Similar Documents

Publication Publication Date Title
JP6508332B2 (en) Liquid level detection device
US6831456B2 (en) Angle sensor and method of increasing the anisotropic field strength of a sensor unit of an angle sensor
EP2790030B1 (en) Magnetic field sensing device
US10508897B2 (en) Magnet device and position sensing system
US20130278250A1 (en) Magnetic field sensor
JP4529783B2 (en) Magnet impedance sensor element
WO2015172530A1 (en) Interference elimination method for electronic compass
JP2016170166A (en) Magnetic sensor
JP5014968B2 (en) Position sensor
US11693067B2 (en) Magnetic sensor system
WO2017209170A1 (en) Liquid level detecting device
JP6460372B2 (en) Magnetic sensor, method for manufacturing the same, and measuring instrument using the same
CN110987032B (en) Magnetic encoder, absolute electric angle detection method, system and readable storage medium
WO2018043118A1 (en) Liquid-surface detection device
WO2017094828A1 (en) Position detection device
US20210063135A1 (en) Angle sensor and angle sensor system
JP2018204973A (en) Liquid level detection device
JP2012098190A (en) Rectilinear displacement detector
KR20060013761A (en) Geomagnetic sensor for auto-calibration of deviation and method of using the same
WO2015019534A1 (en) Magnetic sensor and electrical current sensor using said magnetic sensor
JP2009139253A (en) Position sensor
JP6374129B1 (en) Position detection device
JP2005043103A (en) Magnetic compass
JP2015190900A (en) Magnetic field detection element and magnetic field detection method
JPH1049286A (en) Effective area expanding method for sensor board detection plane