JP5646946B2 - POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME - Google Patents

POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME Download PDF

Info

Publication number
JP5646946B2
JP5646946B2 JP2010231886A JP2010231886A JP5646946B2 JP 5646946 B2 JP5646946 B2 JP 5646946B2 JP 2010231886 A JP2010231886 A JP 2010231886A JP 2010231886 A JP2010231886 A JP 2010231886A JP 5646946 B2 JP5646946 B2 JP 5646946B2
Authority
JP
Japan
Prior art keywords
magnet
magnetic flux
position detection
magnetic
value
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.)
Expired - Fee Related
Application number
JP2010231886A
Other languages
Japanese (ja)
Other versions
JP2012083313A (en
Inventor
新 笠松
新 笠松
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.)
Asahi Kasei EMD Corp
Original Assignee
Asahi Kasei EMD Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asahi Kasei EMD Corp filed Critical Asahi Kasei EMD Corp
Priority to JP2010231886A priority Critical patent/JP5646946B2/en
Publication of JP2012083313A publication Critical patent/JP2012083313A/en
Application granted granted Critical
Publication of JP5646946B2 publication Critical patent/JP5646946B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、位置検出装置及びそれを備えた電子機器に関し、より詳細には、磁石とホールセンサを用いた位置検出装置及びそれを備えた電子機器に関する。   The present invention relates to a position detection apparatus and an electronic apparatus including the position detection apparatus, and more particularly to a position detection apparatus using a magnet and a hall sensor and an electronic apparatus including the position detection apparatus.

近年、デジタルビデオカメラ及びデジタルスチルカメラ、一眼レフカメラ等の高性能化、高画質化が進んでいるが、これに伴い撮影レンズユニットに対する要求性能も高くなってきている。特に、AF(オートフォーカス)やZoomの高速化、さらにはAF及びZoomレンズの位置制御の高精度化等を図るため、AF及びZoomレンズ等の移動レンズ群の駆動には、マグネットとコイルによるリニアアクチュエータが用いられるようになってきている。また、移動レンズ群の位置検出には、磁気センサであるホールセンサもしくはMRセンサと磁石を組み合わせた位置検出方法が知られている。   In recent years, digital video cameras, digital still cameras, single-lens reflex cameras, and the like have been improved in performance and image quality. With this, the required performance for the photographic lens unit has also increased. In particular, in order to increase the speed of AF (autofocus) and zoom, and to increase the precision of position control of AF and zoom lenses, etc., a moving lens group such as AF and zoom lenses is driven linearly by a magnet and a coil. Actuators have come to be used. For detecting the position of the moving lens group, a position detection method combining a Hall sensor or MR sensor, which is a magnetic sensor, and a magnet is known.

ここで、位置検出方法を大きく分類すると2種類に分けられる。1つは絶対位置検出法、もう1つは相対位置検出法である。まず、前者の絶対位置検出法とは、移動レンズが移動する範囲内においてどの位置に存在するかを検出する方法であり、後者の相対位置検出法とは、移動レンズが移動開始位置から移動した位置までの位置を検出する方法である。この絶対位置検出法としては、例えば、特許文献1に記載されている方法を変更・修正して行うことができる。この特許文献1に記載のものは、磁電変換素子型ポインティングデバイスの外形寸法を、操作部の操作性を損なうことなく、携帯型情報機器への搭載が実現可能な水準まで削減するにしたもので、このポインティングデバイスは、基部と、この基部に対して任意の水平方向へ移動可能に基部上に支持される操作部と、この操作部に設置される磁石と、この磁石の近傍で基部に設置される磁電変換素子とを備え、操作部は、磁石を保持して基部上に水平移動可能に支持される保持部と、基部上での保持部の水平移動に伴い、保持部を水平移動範囲の原点位置に復帰させる弾性力を発揮する弾性部とを備えている。すなわち、この特許文献1の図3で示されているように、可動部に磁石を内包させ、その移動を複数個のホールセンサを用いて検出する方法である。   Here, the position detection methods are roughly classified into two types. One is an absolute position detection method, and the other is a relative position detection method. First, the former absolute position detection method is a method of detecting the position where the moving lens exists within the moving range, and the latter relative position detection method is that the moving lens has moved from the movement start position. This is a method for detecting a position up to a position. As this absolute position detection method, for example, the method described in Patent Document 1 can be changed or modified. The device described in Patent Document 1 reduces the outer dimensions of the magnetoelectric conversion element type pointing device to a level that can be mounted on a portable information device without impairing the operability of the operation unit. The pointing device includes a base, an operation unit supported on the base so as to be movable in an arbitrary horizontal direction with respect to the base, a magnet installed on the operation unit, and a base installed in the vicinity of the magnet. The operation unit includes a holding unit that holds the magnet and is supported so as to be horizontally movable on the base, and a horizontal movement range of the holding unit along the horizontal movement of the holding unit on the base. And an elastic portion that exerts an elastic force to return to the origin position. That is, as shown in FIG. 3 of Patent Document 1, a magnet is included in a movable part, and the movement is detected using a plurality of Hall sensors.

次に、相対位置検出法としては、例えば、特許文献2乃至4に記載されている方法を変更・修正して行うことができる。この特許文献2に記載のものは、可動レンズの位置検出に用いる位置検出用磁気ヘッドを用いたセンサのゲインやオフセットを調整することで、製造時における位置検出用磁気ヘッドやマグネットの取付位置のばらつきに依存することなく略等しい位置検出用磁気ヘッドの出力を得ることができるカメラ装置に関するもので、鏡筒部に所定のピッチで磁気信号が記録されたエンコーダマグネットを内包させ、可動部に取り付けられたMRセンサを用いて検出する方法である。   Next, as the relative position detection method, for example, the methods described in Patent Documents 2 to 4 can be changed and corrected. The device described in Patent Document 2 adjusts the gain and offset of a sensor using a position detection magnetic head used for detecting the position of a movable lens, so that the position detection magnetic head and magnet mounting position at the time of manufacture can be adjusted. It relates to a camera device that can obtain the output of a magnetic head for position detection that is substantially equal without depending on variations, and includes an encoder magnet in which a magnetic signal is recorded at a predetermined pitch in a lens barrel and is attached to a movable part This is a method of detecting using the MR sensor.

特開2002−287891号公報Japanese Patent Laid-Open No. 2002-287991 特開2000−356733号公報JP 2000-356733 A 特開2004−061459号公報JP 2004-061459 A 特開2004−037121号公報Japanese Patent Laid-Open No. 2004-037121

近年、非接触式で長寿命であり、埃やチリなどの影響を受けない磁気センサを用いて、広範囲で絶対位置検出を実現したいという要求が増えている。さらには一眼レフカメラ等の交換レンズを取り替えた際に、即座にフォーカシングを実現したいという要求が増えている。   In recent years, there has been an increasing demand for realizing absolute position detection over a wide range using a magnetic sensor that is non-contact and has a long life and is not affected by dust or dust. Furthermore, when an interchangeable lens such as a single-lens reflex camera is replaced, there is an increasing demand for realizing instant focusing.

しかしながら、上述した特許文献1に記載の方法を用いて広範囲で位置検出を行う場合、磁石のサイズや、2個のホールセンサの間隔、及びホールセンサと磁石との間隔が大きくなり、位置検出装置の小型化が困難であるという問題がある。   However, when position detection is performed over a wide range using the method described in Patent Document 1 described above, the size of the magnet, the interval between the two Hall sensors, and the interval between the Hall sensor and the magnet increase, and the position detection device There is a problem that it is difficult to reduce the size.

また、上述した特許文献2及び3に記載されている方法は、広範囲での位置検出は可能ではあるが、相対位置検出法であり、絶対位置検出するためには、基準点を検出するために、一度基準点まで移動させなくてはならないという問題がある。   In addition, the methods described in Patent Documents 2 and 3 described above are capable of position detection over a wide range, but are relative position detection methods. In order to detect an absolute position, a method for detecting a reference point is necessary. There is a problem that it must be moved to the reference point once.

なお、上述した特許文献4に記載されている方法は、擬似正弦波の波数をカウントすることで、絶対位置検出が可能ではあるが、例えば、上述したように交換レンズを取り替えた直後は、波数をカウントできず絶対位置検出が出来ないという問題がある。   The method described in Patent Document 4 described above can detect the absolute position by counting the number of pseudo sine waves. For example, immediately after replacing the interchangeable lens as described above, the wave number There is a problem that the absolute position cannot be detected because of being unable to count.

このような理由により、現在までのところ、小型で位置検出範囲の0.数%程度という高精度で、絶対位置検出が即座に可能で、磁石を用いた位置検出装置は、移動体の移動距離が数mm以内のものしか実用化されていない。   For these reasons, up to now, the position detection range is 0. Absolute position detection is possible immediately with high accuracy of about several percent, and position detection devices using magnets have only been put to practical use within a moving distance of a moving body within several millimeters.

本発明は、このような問題に鑑みてなされたもので、その目的とするところは、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で、かつ小型で広範囲な距離を高精度にかつ絶対位置検出が即座に可能な位置検出装置及びそれを備えた電子機器を提供することにある。   The present invention has been made in view of such a problem, and the object of the present invention is to use a hall sensor as a magnetic sensor, and even when a component is configured by a general-purpose product or an easily available component, It is an object of the present invention to provide a position detection device with a simple configuration, a small size, a wide range of distances with high accuracy, and capable of instantaneously detecting an absolute position, and an electronic apparatus including the position detection device.

本発明は、このような目的を達成するためになされたもので、本発明の一態様は、基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、該磁束検出手段に磁場を印加するための磁束発生手段と、前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように着磁されていることを特徴とする位置検出装置である。(全実施例、図95,図96) The present invention has been made to achieve such an object, and one aspect of the present invention includes a magnetic flux detection means arranged along a moving direction with a plurality of magnetic sensors as a set on a substrate, and A magnetic flux generating means for applying a magnetic field to the magnetic flux detecting means; and a signal processing means for detecting a position based on an output signal from the magnetic flux detecting means, the magnetic flux detecting means or the magnetic flux generating means being set at a predetermined distance. when moved by the output signal from the plurality of magnetic sensors, each damped oscillation wave or amplification vibration wave of the output signal der is, generates an output signal of the damped oscillation wave or amplified vibration wave from said magnetic flux detection means to the magnetic flux generating means is a position detection device the intensity of the magnetic field generated along the movement direction, characterized that you have been magnetized to attenuate or amplify. (All examples, FIG. 95, FIG. 96)

また、本発明の他の態様は、基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、該磁束検出手段に磁場を印加するための磁束発生手段と、前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように、前記基板に対して所定の傾きを持って支持されていることを特徴とする。
また、本発明の他の態様は、基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、該磁束検出手段に磁場を印加するための磁束発生手段と、前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、前記磁束発生手段が、長尺状磁石であることを特徴とする。
また、本発明の他の態様は、基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、該磁束検出手段に磁場を印加するための磁束発生手段と、前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、前記磁束発生手段が、環状磁石で、前記環状磁石のN極とS極が交互に繰り返し着磁されていることを特徴とする。
また、本発明の他の態様は、基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、該磁束検出手段に磁場を印加するための磁束発生手段と、前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、前記磁束発生手段が、円柱状磁石であり、記移動方向は、前記磁束検出手段又は前記磁束発生手段が、任意の軸を中心に回転する方向であることを特徴とする。
また、本発明の他の態様は、さらに、前記磁束発生手段が、長尺状磁石であることに加えて、該磁石のN極とS極が交互に繰り返し着磁されており、前記移動方向は、前記磁束検出手段の感磁部の中心間を結ぶ直線に対して平行方向であることを特徴とする。
また、本発明の他の態様は、さらに、前記磁束発生手段が、環状磁石で、前記環状磁石のN極とS極が交互に繰り返し着磁されていることに加えて、前記移動方向は、前記磁束検出手段又は前記磁束発生手段が、任意の軸を中心に回転する方向であることを特徴とする。
また、本発明の他の態様は、さらに、前記磁束発生手段が、円柱状磁石であることに加えて、該磁石のN極とS極が1極ずつ着磁されていることを特徴とする。
また、本発明の他の態様は、さらに、前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように着磁されていることを特徴とする。(実施例1乃至6,10)
According to another aspect of the present invention, there is provided a magnetic flux detection means arranged along a moving direction as a set of a plurality of magnetic sensors on a substrate, a magnetic flux generation means for applying a magnetic field to the magnetic flux detection means, Signal processing means for detecting a position based on an output signal from the magnetic flux detection means, and output signals from the plurality of magnetic sensors when the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance. Are each an output signal of a damped vibration wave or an amplified vibration wave, and the magnetic flux generation means is generated along the moving direction in order to generate the output signal of the damped vibration wave or the amplified vibration wave from the magnetic flux detection means. The magnetic field is supported with a predetermined inclination with respect to the substrate so that the strength of the magnetic field to be attenuated or amplified.
According to another aspect of the present invention, there is provided a magnetic flux detection means arranged along a moving direction as a set of a plurality of magnetic sensors on a substrate, a magnetic flux generation means for applying a magnetic field to the magnetic flux detection means, Signal processing means for detecting a position based on an output signal from the magnetic flux detection means, and output signals from the plurality of magnetic sensors when the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance. Are output signals in the form of damped vibration waves or amplified vibration waves, and the magnetic flux generating means is a long magnet.
According to another aspect of the present invention, there is provided a magnetic flux detection means arranged along a moving direction as a set of a plurality of magnetic sensors on a substrate, a magnetic flux generation means for applying a magnetic field to the magnetic flux detection means, Signal processing means for detecting a position based on an output signal from the magnetic flux detection means, and output signals from the plurality of magnetic sensors when the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance. Are output signals in the form of damped vibration waves or amplified vibration waves, and the magnetic flux generating means is an annular magnet, and the N and S poles of the annular magnet are alternately and repeatedly magnetized.
According to another aspect of the present invention, there is provided a magnetic flux detection means arranged along a moving direction as a set of a plurality of magnetic sensors on a substrate, a magnetic flux generation means for applying a magnetic field to the magnetic flux detection means, Signal processing means for detecting a position based on an output signal from the magnetic flux detection means, and output signals from the plurality of magnetic sensors when the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance. Are each an output signal of a damped vibration wave or an amplified vibration wave, the magnetic flux generating means is a cylindrical magnet, and the moving direction of the magnetic flux detecting means or the magnetic flux generating means is centered on an arbitrary axis. It is the direction of rotation.
Further, according to another aspect of the present invention, in addition to the magnetic flux generating means being a long magnet, the N pole and S pole of the magnet are alternately and repeatedly magnetized, and the moving direction Is parallel to a straight line connecting the centers of the magnetic sensing parts of the magnetic flux detection means.
In addition, according to another aspect of the present invention, in addition to the magnetic flux generation means being an annular magnet, the N pole and the S pole of the annular magnet are alternately and repeatedly magnetized, The magnetic flux detecting means or the magnetic flux generating means is in a direction rotating around an arbitrary axis.
Another aspect of the present invention is characterized in that the magnetic flux generating means is a cylindrical magnet, and the N pole and S pole of the magnet are magnetized one by one. .
Another aspect of the present invention, furthermore, in order to generate an output signal of the damped oscillation wave or amplified vibration wave from said magnetic flux detection means, said magnetic flux generating means, the strength of the magnetic field generated along the direction of movement It is magnetized so as to be attenuated or amplified. (Examples 1 to 6, 10)

また、本発明の他の態様は、さらに、前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するような形状を有していることを特徴とする。(実施例7) Another aspect of the present invention, furthermore, in order to generate an output signal of the damped oscillation wave or amplified vibration wave from said magnetic flux detection means, said magnetic flux generating means, the strength of the magnetic field generated along the direction of movement It is characterized by having a shape that attenuates or amplifies. (Example 7)

また、本発明の他の態様は、さらに、前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように、前記基板に対して所定の傾きを持って支持されていることを特徴とする。(実施例8及び9) Another aspect of the present invention, furthermore, in order to generate an output signal of the damped oscillation wave or amplified vibration wave from said magnetic flux detection means, said magnetic flux generating means, the strength of the magnetic field generated along the direction of movement The substrate is supported with a predetermined inclination with respect to the substrate so as to attenuate or amplify. (Examples 8 and 9)

また、本発明の他の態様は、さらに、前記磁束検出手段からの前記減衰振動波状の出力信号は、減衰正弦波状及び減衰余弦波状の出力信号であることを特徴とする。(実施例1,3乃至11) Another aspect of the present invention, further, the damped oscillation wave of the output signal from said magnetic flux detection means, characterized in that it is a damping sinusoidal and damped cosine-wave output signal. (Examples 1, 3 to 11)

また、本発明の他の態様は、さらに、前記磁束検出手段からの前記増幅振動波状の出力信号は、増幅正弦波状及び増幅余弦波状の出力信号であることを特徴とする。(実施例2) Another aspect of the present invention, further, the amplification vibration wave of the output signal from said magnetic flux detection means may amplify a sine wave and the output signal of the amplifier cosine wave. (Example 2)

また、本発明の他の態様は、さらに、前記磁束検出手段の前記磁気センサは2個であり、前記減衰振動波状の出力信号又は前記増幅振動波状の出力信号が、各々減衰正弦波状の出力信号及び減衰余弦波状の出力信号、もしくは増幅正弦波状の出力信号及び増幅余弦波状の出力信号となるように、90度の電気角を有して配置されていることを特徴とする。(全実施例) Further , according to another aspect of the present invention, there are two magnetic sensors of the magnetic flux detection means, and the attenuated vibration wave output signal or the amplified vibration wave output signal is an attenuated sine wave output signal, respectively. And an output signal in the form of an attenuated cosine wave or an output signal in the form of an amplified sine wave and an output signal in the form of an amplified cosine wave. (All examples)

また、本発明の他の態様は、さらに、前記信号処理手段が、前記磁束検出手段からの一方の出力値V11をa倍した出力値及び他方の出力値V21をb倍した出力値をVo1=√((a×V11)2+(b×V21)2)(ただしa及びbは実数)の関係式から求められる算出値Vo1を用いて位置検出を行うことを特徴とする。(実施例1及び2) According to another aspect of the present invention, the signal processing means further sets an output value obtained by multiplying one output value V11 from the magnetic flux detecting means by a and an output value obtained by multiplying the other output value V21 by b by Vo1 = The position detection is performed using a calculated value Vo1 obtained from a relational expression of √ ((a × V11) 2 + (b × V21) 2 ) (where a and b are real numbers). (Examples 1 and 2)

また、本発明の他の態様は、さらに、前記信号処理手段が、前記磁束検出手段からの前記減衰正弦波状の出力信号及び前記減衰余弦波状の出力信号の組、もしくは前記増幅正弦波状の出力信号及び前記増幅余弦波状の出力信号の組をあらかじめテーブルに記憶しておき、前記磁束検出手段又は前記磁束発生手段が移動した際の前記磁束検出手段からの出力値を前記テーブルの記憶値と比較して位置検出を行うことを特徴とする。(実施例6) According to another aspect of the present invention, the signal processing means further includes a set of the attenuated sine wave output signal and the attenuated cosine wave output signal from the magnetic flux detection means, or the amplified sine wave output signal. And a set of output signals in the form of the amplified cosine wave are stored in a table in advance, and the output value from the magnetic flux detection means when the magnetic flux detection means or the magnetic flux generation means moves is compared with the stored value of the table. And position detection. (Example 6)

また、本発明の他の態様は、さらに、前記信号処理手段は、1周期内の電気角Aに対する正弦波の値Vs1及び余弦波の値Vc1の組をあらかじめテーブルに記憶しておき、前記磁束検出手段からの前記減衰正弦波状の出力値又は増幅正弦波状の出力値V12をc倍した出力値及び前記減衰余弦波状の出力値又は増幅余弦波状の出力値V22をd倍した出力値をc×V12×Vc1−d×V22×Vs1=0(ただしc及びdは実数)の関係式が成り立つ電気角Aを求め、Vo2=√((c×V12)2+(d×V22)2)の関係式から求められる算出値Vo2及び前記電気角Aにより、前記減衰振動波状の出力信号又は増幅振動波状の出力信号においてB番目の周期に位置することを見極め、前記減衰振動波状の出力信号又は増幅振動波状の出力信号の1周期の距離をCとした場合に、D=C×(B−1)+(A×C÷360)の関係式から求められる位置Dが求めたい検出位置であることを特徴とする。(実施例3乃至5,7乃至11) Further , according to another aspect of the present invention, the signal processing means stores a set of a sine wave value Vs1 and a cosine wave value Vc1 for an electrical angle A within one period in a table in advance, and the magnetic flux An output value obtained by multiplying the attenuated sine wave output value V12 or the amplified sine wave output value V12 from the detection means and an output value obtained by multiplying the attenuated cosine wave output value or the amplified cosine wave output value V22 by d is expressed as c ×. An electrical angle A that satisfies the relational expression of V12 × Vc1−d × V22 × Vs1 = 0 (where c and d are real numbers) is obtained, and a relationship of Vo2 = √ ((c × V12) 2 + (d × V22) 2 ) Based on the calculated value Vo2 obtained from the equation and the electrical angle A, it is determined that the output signal of the damped vibration wave or the output signal of the amplified vibration wave is positioned in the Bth period, and the output signal or the amplified vibration of the damped vibration wave Wavy When the distance of one cycle of the force signal is C, the position D obtained from the relational expression D = C × (B−1) + (A × C ÷ 360) is the detection position to be obtained. To do. (Examples 3 to 5, 7 to 11)

また、本発明の他の態様は、さらに、前記磁束検出手段を、1つのパッケージに一体に封入したことを特徴とする。(全実施例) Another aspect of the present invention, further, the magnetic flux detecting means, and wherein the encapsulated integrated in one package. (All examples)

また、本発明の他の態様は、さらに、前記磁束検出手段が、磁気増幅を行うための磁性体チップを含まないことを特徴とする。(全実施例) Another aspect of the present invention, further, the magnetic flux detection means, characterized in that it does not contain a magnetic material chip for performing magnetic amplification. (All examples)

また、本発明の他の態様は、さらに、前記磁束検出手段が、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むホールセンサであることを特徴とする。(全実施例) Another aspect of the present invention, further, the magnetic flux detection means, GaAs, InAs, and wherein the InSb is a Hall sensor that includes III-V compound semiconductor such as. (All examples)

また、本発明の他の態様は、さらに、前記磁束検出手段が、Si、GeなどのIV族半導体を含むホールセンサであることを特徴とする。(全実施例) Another aspect of the present invention, further, the magnetic flux detection means, Si, and wherein the Ge is a Hall sensor comprising a group IV semiconductor such as. (All examples)

また、本発明の他の態様は、上記の位置検出装置と、該位置検出装置からの出力信号が入力される、オートフォーカス(AF)機構及びズーム(Zoom)機構とを備えたことを特徴とする電子機器である。(全実施例) According to another aspect of the present invention, there is provided the position detection device described above , and an autofocus (AF) mechanism and a zoom (Zoom) mechanism to which an output signal from the position detection device is input. Electronic equipment. (All examples)

また、本発明の他の態様は、さらに、前記AF機構及びZoom機構は、デジタルカメラ、又は携帯電話のオートフォーカス及びズームを行うことを特徴とする。(全実施例) In another aspect of the present invention, the AF mechanism and the Zoom mechanism further perform auto focus and zoom of a digital camera or a mobile phone. (All examples)

本発明によれば、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で、かつ小型で広範囲な距離を高精度にかつ絶対位置検出が即座に可能な位置検出装置及びそれを備えた電子機器を作製することが可能となる。   According to the present invention, even when the hall sensor is used as a magnetic sensor and the component parts are constituted by general-purpose products or parts that are easily available, the simple configuration, the small size, and the wide range of distances with high accuracy and absolute It is possible to manufacture a position detection device capable of instantaneously detecting a position and an electronic apparatus including the position detection apparatus.

本発明に係る位置検出装置の実施例1を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。BRIEF DESCRIPTION OF THE DRAWINGS It is a schematic block diagram for demonstrating Example 1 of the position detection apparatus based on this invention, and shows the position detection apparatus at the time of using two Hall sensors aligned on one axis, (a) is sectional drawing, ( b) shows a top view. 図1に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 2 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 1. 図1(a),(b)に示した位置検出装置内の位置検出回路の回路図である。2 is a circuit diagram of a position detection circuit in the position detection device shown in FIGS. 図1(a),(b)に示した位置検出装置に対応する構成図で、図5の従来の位置検出装置の構成と比較用の等倍図として示す説明図で、(a)は断面図、(b)は上面図である。FIG. 6 is a configuration diagram corresponding to the position detection device shown in FIGS. 1A and 1B, and is an explanatory view shown as an equivalent view for comparison with the configuration of the conventional position detection device of FIG. 5, and FIG. FIG. 4B is a top view. 従来の位置検出装置の構成を、図4の本発明の位置検出装置の構成と比較用の等倍図として示す説明図で、(a)は断面図、(b)は上面図である。4A and 4B are explanatory views showing a configuration of a conventional position detection device as an equivalent view for comparison with the configuration of the position detection device of the present invention in FIG. 4, where FIG. 5A is a cross-sectional view, and FIG. 比較例として従来の磁石とホールセンサを用いた位置検出装置の概略構成を示す説明図で、(a)は断面図、(b)は上面図である。It is explanatory drawing which shows schematic structure of the position detection apparatus using the conventional magnet and Hall sensor as a comparative example, (a) is sectional drawing, (b) is a top view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2.02倍した値の変化を示す図である。It is a figure which shows the change of the value which multiplied the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet by 2.02. 磁石の移動距離に対する変化及び理想直線を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet, and an ideal straight line. 本発明に係る位置検出装置の実施例2を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。BRIEF DESCRIPTION OF THE DRAWINGS It is a schematic block diagram for demonstrating Example 2 of the position detection apparatus which concerns on this invention, and shows the position detection apparatus at the time of using the two hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図10に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 11 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 10. 図10(a),(b)に示した位置検出装置内の位置検出回路の回路図である。It is a circuit diagram of the position detection circuit in the position detection apparatus shown to Fig.10 (a), (b). 図10(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。FIGS. 10A and 10B are configuration diagrams corresponding to the position detection device illustrated in FIGS. 10A and 10B, in which FIG. 10A is a cross-sectional view and FIG. 磁石の移動距離に対する第1のホールセンサの出力電圧を2.02倍した値の変化を示す図である。It is a figure which shows the change of the value which multiplied the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet by 2.02. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化及び理想直線を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet, and an ideal straight line. ホールセンサの出力が単調減少した場合の、ホールセンサの出力ピークを結んだものの代表的な一例である。This is a typical example of the Hall sensor output peak connected when the Hall sensor output monotonously decreases. 本発明に係る位置検出装置の実施例3を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 3 of the position detection apparatus which concerns on this invention, and shows a position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図18に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 19 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular magnet or two hall sensors are moved in the position detection device shown in FIG. 18. 図18(a),(b)に示した位置検出装置内の位置検出回路の回路図である。It is a circuit diagram of the position detection circuit in the position detection apparatus shown to Fig.18 (a), (b). 図18(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。FIGS. 18A and 18B are configuration diagrams corresponding to the position detection device illustrated in FIGS. 18A and 18B, in which FIG. 18A is a cross-sectional view and FIG. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例4を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 4 of the position detection apparatus which concerns on this invention, and shows the position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図27に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 28 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 27. 図27(a),(b)に示した位置検出装置内の位置検出回路の回路図である。FIG. 28 is a circuit diagram of a position detection circuit in the position detection device shown in FIGS. 図27(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。27A and 27B are configuration diagrams corresponding to the position detection device illustrated in FIGS. 27A and 27B, in which FIG. 27A is a cross-sectional view and FIG. 27B is a top view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例5を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 5 of the position detection apparatus which concerns on this invention, and shows the position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図36に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 37 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 36. 図36(a),(b)に示した位置検出装置内の位置検出回路の回路図である。It is a circuit diagram of the position detection circuit in the position detection apparatus shown to Fig.36 (a), (b). 図36(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。FIGS. 36A and 36B are configuration diagrams corresponding to the position detection device shown in FIGS. 36A and 36B, in which FIG. 36A is a cross-sectional view and FIG. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例6を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 6 of the position detection apparatus which concerns on this invention, and shows a position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図45(a),(b)に示した位置検出装置内の位置検出回路の回路図である。It is a circuit diagram of the position detection circuit in the position detection apparatus shown to Fig.45 (a), (b). 図45(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。45A and 45B are configuration diagrams corresponding to the position detection device shown in FIGS. 45A and 45B, where FIG. 45A is a cross-sectional view and FIG. 45B is a top view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例7を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 7 of the position detection apparatus which concerns on this invention, and shows a position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図50に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。In the position detection apparatus shown in FIG. 50, it is a wave form diagram which shows the output signal of two Hall sensors obtained when a rectangular parallelepiped magnet or two Hall sensors are moved. 図50(a),(b)に示した位置検出装置内の位置検出回路の回路図である。It is a circuit diagram of the position detection circuit in the position detection apparatus shown to Fig.50 (a), (b). 図50(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。50A and 50B are configuration diagrams corresponding to the position detection device illustrated in FIGS. 50A and 50B, in which FIG. 50A is a cross-sectional view and FIG. 50B is a top view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例8を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 8 of the position detection apparatus which concerns on this invention, and shows the position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図59に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 60 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 59. 図59(a),(b)に示した位置検出装置内の位置検出回路の回路図である。FIG. 60 is a circuit diagram of a position detection circuit in the position detection device shown in FIGS. 59 (a) and (b). 図59(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。59A is a configuration diagram corresponding to the position detection device shown in FIGS. 59A and 59B, FIG. 59A is a cross-sectional view, and FIG. 59B is a top view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例9を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、(a)は断面図、(b)は上面図を示している。It is a schematic block diagram for demonstrating Example 9 of the position detection apparatus which concerns on this invention, and shows the position detection apparatus at the time of using two Hall sensors aligned on one axis | shaft, (a) is sectional drawing, ( b) shows a top view. 図68に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 69 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIG. 68. 図68(a),(b)に示した位置検出装置内の位置検出回路の回路図である。69 is a circuit diagram of a position detection circuit in the position detection apparatus shown in FIGS. 68 (a) and 68 (b). FIG. 図68(a),(b)に示した位置検出装置に対応する構成図で、(a)は断面図、(b)は上面図である。68A is a configuration diagram corresponding to the position detection device shown in FIGS. 68A and 68B, FIG. 68A is a cross-sectional view, and FIG. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る回転位置検出装置の実施例10を説明するための概略構成図で、回転軌道上に整列した2個のホールセンサを使用した場合の回転位置検出装置を示し、(a)は上面図、(b)は断面図を示している。It is a schematic block diagram for demonstrating Example 10 of the rotational position detection apparatus based on this invention, and shows the rotational position detection apparatus at the time of using two Hall sensors aligned on the rotation track | orbit, (a) is an upper surface. The figure and (b) have shown sectional drawing. 図77(a),(b)に示した回転位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 78 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular magnet or two hall sensors are moved in the rotational position detection device shown in FIGS. 77 (a) and (b). 図77(a),(b)に示した回転位置検出装置内の位置検出回路の回路図である。FIG. 78 is a circuit diagram of a position detection circuit in the rotational position detection device shown in FIGS. 77 (a) and (b). 図77(a),(b)に示した位置検出装置に対応する構成図で、(a)は上面図、(b)は断面図である。77A is a configuration diagram corresponding to the position detection device shown in FIGS. 77A and 77B, FIG. 77A is a top view, and FIG. 77B is a cross-sectional view. 磁石の移動距離に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する変化を示す図である。It is a figure which shows the change with respect to the moving distance of a magnet. 磁石の移動距離に対する、実際の位置と誤差の変化を示す図である。It is a figure which shows the change of an actual position and an error with respect to the moving distance of a magnet. 本発明に係る位置検出装置の実施例11を説明するための概略構成図で、回転軌道上に整列した2個のホールセンサを使用した場合の回転角度検出装置を示し、(a)は上面図、(b)は断面図を示している。It is a schematic block diagram for demonstrating Example 11 of the position detection apparatus which concerns on this invention, and shows the rotation angle detection apparatus at the time of using two Hall sensors aligned on the rotation track | orbit, (a) is a top view. , (B) shows a cross-sectional view. 図86(a),(b)に示した回転角度検出装置において、直方体磁石又は2個のホールセンサを回転させた際に得られる2個のホールセンサの出力信号を示す波形図である。FIG. 87 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular magnet or two hall sensors are rotated in the rotation angle detection device shown in FIGS. 86 (a) and 86 (b). 図86(a),(b)に示した回転角度検出装置内の回転角度検出回路の回路図である。FIG. 87 is a circuit diagram of a rotation angle detection circuit in the rotation angle detection device shown in FIGS. 86 (a) and 86 (b). 図86(a),(b)に示した回転角度検出装置に対応する構成図で、図89(a)は上面図、図89(b)は断面図である。FIG. 89A is a configuration diagram corresponding to the rotation angle detection device shown in FIGS. 86A and 86B, FIG. 89A is a top view, and FIG. 89B is a cross-sectional view. 磁石の回転角度に対する第1のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 1st Hall sensor with respect to the rotation angle of a magnet. 磁石の回転角度に対する第2のホールセンサの出力電圧を2倍した値の変化を示す図である。It is a figure which shows the change of the value which doubled the output voltage of the 2nd Hall sensor with respect to the rotation angle of a magnet. 磁石の回転角度に対する変化を示す図である。It is a figure which shows the change with respect to the rotation angle of a magnet. 磁石の回転角度に対する変化を示す図である。It is a figure which shows the change with respect to the rotation angle of a magnet. 磁石の移動距離に対する、実際の角度と誤差の変化を示す図である。It is a figure which shows the change of an actual angle and an error with respect to the moving distance of a magnet. 減衰振動波形の出力信号を示す図である。It is a figure which shows the output signal of a damped vibration waveform. 増幅振動波形の出力信号を示す図である。It is a figure which shows the output signal of an amplified vibration waveform.

以下、図面を参照して本発明の各実施例について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

本発明に係る位置検出装置の実施例1を図1(a),(b)乃至図9に基づいて以下に説明する。本実施例1においては、ホールセンサの出力信号は、図95に示すように、減衰振動波形の出力信号である。   A first embodiment of the position detecting device according to the present invention will be described below with reference to FIGS. 1 (a) and 1 (b) to FIG. In the first embodiment, the output signal of the hall sensor is an output signal of a damped vibration waveform as shown in FIG.

<実施例1の構成>
図1(a),(b)は、本発明に係る位置検出装置の実施例1を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図1(a)は断面図、図1(b)は上面図を示している。
<Configuration of Example 1>
FIGS. 1A and 1B are schematic configuration diagrams for explaining a first embodiment of a position detection device according to the present invention, and a position detection device using two Hall sensors aligned on one axis. 1A is a cross-sectional view, and FIG. 1B is a top view.

位置検出装置100は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)101と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)102a,102bと、ホールセンサ102a(第1のホールセンサ)と、ホールセンサ102b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板103とを備えている。なお、本発明に係る位置検出装置100は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detecting device 100 includes a rectangular parallelepiped magnet (magnetic flux generating means) 101 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two sets. 102a and 102b, a hall sensor 102a (first hall sensor), a hall sensor 102b (second hall sensor), and a substrate 103 on which these two hall sensors are mounted. In addition, the position detection apparatus 100 according to the present invention can be configured using variously shaped magnets and various Hall sensors.

ホールセンサ102a,102bは、基板103上に所定の間隔で配置され、感磁方向が基板103に対して垂直である。直方体磁石101は、ホールセンサ102a,102bからの信号を所定の演算を行った際に、図2に示される出力信号となるよう着磁された構成となっており、基板103と対向する一平面109内で、X方向に沿って移動可能に配置されている。   The hall sensors 102 a and 102 b are arranged on the substrate 103 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 103. The rectangular parallelepiped magnet 101 is configured to be magnetized so as to be an output signal shown in FIG. 2 when a predetermined calculation is performed on signals from the hall sensors 102 a and 102 b, and is a flat surface facing the substrate 103. 109 is disposed so as to be movable along the X direction.

つまり、基板103上に2個を1組としたホールセンサ102a,102bが、移動方向(X方向)に沿って配置され、直方体磁石101が、ホールセンサ102a,102bに磁場を印加するように設けられていて、位置検出は、ホールセンサ102a,102bからの出力信号に基づいて、後述する信号処理回路106によって行われる。   In other words, two hall sensors 102a and 102b, one set on the substrate 103, are arranged along the moving direction (X direction), and the rectangular parallelepiped magnet 101 applies a magnetic field to the hall sensors 102a and 102b. Thus, the position detection is performed by a signal processing circuit 106 described later based on output signals from the hall sensors 102a and 102b.

図2は、図1に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 2 is a waveform diagram showing output signals of the two hall sensors obtained when the rectangular parallelepiped magnet or the two hall sensors are moved in the position detection apparatus shown in FIG.

ホールセンサ102a,102b(固定)に対して直方体磁石101を基準位置からX方向に沿って移動された場合には、一方のホールセンサ102aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ102bの出力信号は、図中の黒丸のように、一方のホールセンサ102aの出力信号と位相のずれた減衰振動波形の出力信号を示す。また、同様に、直方体磁石101(固定)に対してホールセンサ102a,102bを所定の距離だけ移動した場合にも、ホールセンサ102a,102bからの出力信号が、図95に示すように、減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 101 is moved from the reference position along the X direction with respect to the Hall sensors 102a and 102b (fixed), the output signal of one Hall sensor 102a is damped as shown by the white square in the figure. The waveform output signal is shown, and the output signal of the other hall sensor 102b is an output signal of a damped oscillation waveform out of phase with the output signal of one hall sensor 102a, as indicated by a black circle in the figure. Similarly, when the hall sensors 102a and 102b are moved by a predetermined distance with respect to the rectangular parallelepiped magnet 101 (fixed), the output signals from the hall sensors 102a and 102b are damped as shown in FIG. The waveform output signal is shown.

また、ホールセンサ102a,102bから減衰振動波状の出力信号を発生させるために、直方体磁石101は、移動方向に沿って発生する磁界の強さが減衰するように着磁されている。   Further, in order to generate the damped vibration wave output signal from the Hall sensors 102a and 102b, the rectangular parallelepiped magnet 101 is magnetized so that the strength of the magnetic field generated along the moving direction is attenuated.

また、ホールセンサ102a,102bからの減衰振動波状の出力信号は、減衰正弦波状及び減衰余弦波状の出力信号であることもできる。また、減衰振動波状の出力信号が、各々減衰正弦波状の出力信号及び減衰余弦波状の出力信号となるように、90度の電気角を有して配置されている。   Further, the damped oscillation wave-like output signals from the Hall sensors 102a and 102b can be damped sine wave and damped cosine wave output signals. Further, the oscillating wave-like output signals are arranged with an electrical angle of 90 degrees so that the sine wave-like output signal and the damped cosine wave-like output signal respectively.

ここで電気角について説明する。60枚の歯を持つ歯車に電磁式検出器を取り付け、歯車が1回転すると、電磁式検出器からの信号は、正弦波60サイクル分が出力される。ここで信号正弦波の1周期を2πrad(360度)にとって表現した位相を=電気角という、また、歯車の1回転を2πradにとった位相を=機械角という。   Here, the electrical angle will be described. When an electromagnetic detector is attached to a gear having 60 teeth and the gear rotates once, 60 cycles of a sine wave are output from the electromagnetic detector. Here, the phase expressed as one cycle of the signal sine wave is 2π rad (360 degrees) is referred to as “electric angle”, and the phase obtained when one rotation of the gear is 2π rad is referred to as “mechanical angle”.

直方体磁石101は、ホールセンサ102a,102bの感磁部の中心間を結ぶ直線に対して平行方向で、かつ基板103に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ102a,102bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。つまり、長尺状磁石は、その長尺状磁石のN極とS極が交互に繰り返し着磁されており、移動方向は、ホールセンサ102a,102bの感磁部の中心間を結ぶ直線に対して平行方向である。   The rectangular parallelepiped magnet 101 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 102a and 102b and parallel to the substrate 103. A plurality of sets are magnetized so that one set has a distance four times as long as the distance between the centers of the magnetic sensing parts of the Hall sensors 102a and 102b. In other words, the long magnet is repeatedly magnetized with the N and S poles of the long magnet alternately, and the moving direction is relative to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 102a and 102b. Parallel direction.

ここで、ホールセンサ102a,102bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板103に平行な平面内を移動可能という意味は、ホールセンサ102a,102bの感磁部の中心間を結ぶ直線と直方体磁石101の移動方向を示す直線とを、基板103に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being able to move in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 102a and 102b and parallel to the substrate 103 is the center of the magnetic sensing parts of the Hall sensors 102a and 102b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 101 are projected on an arbitrary same plane parallel to the substrate 103, the respective extension lines are parallel.

直方体磁石101は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板103に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 101, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the substrate 103.

1組のホールセンサとして構成された、第1のホールセンサ102aの感磁部中心と、第2のホールセンサ102bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ102aと102bは、直方体磁石101の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 102a and the center of the magnetic sensing part of the second hall sensor 102b, which is configured as a set of hall sensors, is also in the X direction. The hall sensors 102 a and 102 b are disposed at positions facing the surface of the rectangular parallelepiped magnet 101.

図1(a),(b)において、A101は直方体磁石101の長辺方向Xの長さ、A102は直方体磁石101の短辺方向Yの長さ、A103は直方体磁石101の厚み(着磁)方向Zの長さ、A104は着磁された磁石の1周期分の長さをそれぞれ示す。また、B101は、直方体磁石101のホールセンサ102a,102bの基板103に対向する平面109から、ホールセンサ102aと102bの感磁部の中心までの距離を示す。B102は、第1のホールセンサ102aの感磁部の中心と、第2のホールセンサ102bの感磁部の中心とを結ぶ距離を示す。   1A and 1B, A101 is the length in the long side direction X of the cuboid magnet 101, A102 is the length in the short side direction Y of the cuboid magnet 101, and A103 is the thickness (magnetization) of the cuboid magnet 101. The length in the direction Z, A104, indicates the length of one period of the magnetized magnet. B101 indicates the distance from the plane 109 facing the substrate 103 of the Hall sensors 102a and 102b of the rectangular parallelepiped magnet 101 to the centers of the magnetic sensing portions of the Hall sensors 102a and 102b. B102 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 102a and the center of the magnetic sensing part of the second Hall sensor 102b.

ホールセンサ102a,102bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。また、ホールセンサ102a,102bは、磁気増幅を行うための磁性体チップを含まない。   The hall sensors 102a and 102b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge. Further, the Hall sensors 102a and 102b do not include a magnetic chip for performing magnetic amplification.

図3は、図1(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置100は、2個のホールセンサ102a,102bを有する駆動回路105と、このホールセンサ102a,102bからのそれぞれの出力に基づいて位置検出を行う信号処理回路106とを備えている。   FIG. 3 is a circuit diagram of the position detection circuit of the position detection apparatus shown in FIGS. 1 (a) and 1 (b). The position detection apparatus 100 includes a drive circuit 105 having two hall sensors 102a and 102b, and a signal processing circuit 106 that performs position detection based on outputs from the hall sensors 102a and 102b.

駆動回路105は、1組のホールセンサ102a,102bと、これらのホールセンサ102a,102bに電圧を供給する電源部Vddとから構成される。   The drive circuit 105 includes a pair of hall sensors 102a and 102b and a power supply unit Vdd that supplies a voltage to the hall sensors 102a and 102b.

第1のホールセンサ102aは、正極入力端子102a(A)と、正極出力端子102a(B)と、負極入力端子102a(C)と、負極出力端子102a(D)とから構成される。   The first hall sensor 102a includes a positive input terminal 102a (A), a positive output terminal 102a (B), a negative input terminal 102a (C), and a negative output terminal 102a (D).

第2のホールセンサ102bは、正極入力端子102b(E)と、正極出力端子102b(F)と、負極入力端子102b(G)と、負極出力端子102b(H)とから構成される。   The second hall sensor 102b includes a positive input terminal 102b (E), a positive output terminal 102b (F), a negative input terminal 102b (G), and a negative output terminal 102b (H).

正極出力端子102a(B)と負極出力端子102a(D)とは、差動増幅器107aの入力信号となり、差動増幅器107aからはV1011が出力される。正極出力端子102b(F)と負極出力端子102b(H)とは、差動増幅器107bの入力信号となり、差動増幅器107bからはV1021が出力される。   The positive output terminal 102a (B) and the negative output terminal 102a (D) serve as input signals of the differential amplifier 107a, and V1011 is output from the differential amplifier 107a. The positive output terminal 102b (F) and the negative output terminal 102b (H) serve as input signals to the differential amplifier 107b, and V1021 is output from the differential amplifier 107b.

信号処理部106は、差動増幅器107a,107bと、計算処理部108とにより構成される。この信号処理部106では、ホールセンサ102a,102bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 106 includes differential amplifiers 107 a and 107 b and a calculation processing unit 108. The signal processing unit 106 performs position detection based on respective outputs from the hall sensors 102a and 102b.

<実施例1の回路動作>
以下に、本発明における位置検出装置100の実施例1の動作について説明する。
図3に示す信号処理部106は、2個のホールセンサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個のホールセンサの出力の所定の相関関係を用いることで位置検出を行うことができる。
<Circuit Operation of Example 1>
The operation of the first embodiment of the position detection device 100 according to the present invention will be described below.
The signal processing unit 106 shown in FIG. 3 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two Hall sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two Hall sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個のホールセンサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position may be detected by using a predetermined correlation between the calculated values obtained from the output values of the two Hall sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個のホールセンサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two Hall sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

信号処理部106は、基板103上に配置された2個のホールセンサ102a,102bにおいて、ホールセンサ102a及び102bからのそれぞれの出力をV1011,V1021とした場合、出力V1011,V1021をそれぞれ実数倍した値を用いて、
Vo1=√((a×V1011)2+(b×V1021)2)・・・(1)
の関係式から求められる値Vo1を用いて位置検出を行う。ただし、a≠0かつb≠0である実数である。
In the two hall sensors 102a and 102b arranged on the substrate 103, the signal processing unit 106 multiplies the outputs V1011 and V1021 by real numbers when the outputs from the hall sensors 102a and 102b are V1011 and V1021, respectively. Using the value
Vo1 = √ ((a × V1011) 2 + (b × V1021) 2 ) (1)
Position detection is performed using a value Vo1 obtained from the relational expression. However, it is a real number in which a ≠ 0 and b ≠ 0.

駆動回路105において、第1のホールセンサ102aの正極入力端子102a(A)と、第2のホールセンサ102bの正極入力端子102b(E)とが接続されることによって入力端子とされ、第1のホールセンサ102aの負極入力端子102a(C)と、第2のホールセンサ102bの負極入力端子102b(G)とが接続されることによって入力端子とされる。   In the drive circuit 105, the positive input terminal 102a (A) of the first hall sensor 102a and the positive input terminal 102b (E) of the second hall sensor 102b are connected to form an input terminal. The negative input terminal 102a (C) of the hall sensor 102a and the negative input terminal 102b (G) of the second hall sensor 102b are connected to form an input terminal.

第1のホールセンサ102aの正極出力端子102a(B)と負極出力端子102a(D)は、信号処理回路106の第1の差動増幅器107aに接続され、第2のホールセンサ102bの正極出力端子102b(F)と負極出力端子102b(H)は、信号処理回路106の第2の差動増幅器107bに接続される。   The positive output terminal 102a (B) and the negative output terminal 102a (D) of the first hall sensor 102a are connected to the first differential amplifier 107a of the signal processing circuit 106, and the positive output terminal of the second hall sensor 102b. 102 b (F) and the negative output terminal 102 b (H) are connected to the second differential amplifier 107 b of the signal processing circuit 106.

第1の差動増幅器107aの出力端子と第2の差動増幅器107bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部108に伝達される。   The output terminal of the first differential amplifier 107a and the output terminal of the second differential amplifier 107b are input to the AD converter and transmitted to the calculation processing unit 108 that appropriately calculates the output.

このような駆動回路105と信号処理部106とによって、第1のホールセンサ102aのホール出力V1011と、第2のホールセンサ102bのホール出力V1021とを用いて、√((a×V1011)2+(b×V1021)2)の値(ただし、a≠0かつb≠0の実数)である出力値Vo1が、直方体磁石101の位置に対応したものになる。 By using the hall output V1011 of the first hall sensor 102a and the hall output V1021 of the second hall sensor 102b by such a driving circuit 105 and the signal processing unit 106, √ ((a × V1011) 2 + The output value Vo1 that is a value of (b × V1021) 2 ) (where a ≠ 0 and b ≠ 0 is a real number) corresponds to the position of the rectangular magnet 101.

なお、本実施例1では、第1のホールセンサ102aと第2のホールセンサ102bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器107a,107bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the first embodiment, the input terminals of the first hall sensor 102a and the second hall sensor 102b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, more accurate instrumentation amplifiers may be used for the differential amplifiers 107a and 107b.

また、差動増幅器107a,107bの信号をAD変換して、√((a×V1011)2+(b×V1021)2)の値(ただし、a≠0かつb≠0の実数)を計算処理部108で計算して求めたが、別途差動増幅器を設けて、アナログ信号のままで、√((a×V1011)2+(b×V1021)2)の値(ただし、a≠0かつb≠0の実数)を求めることもできる。 Further, AD conversion is performed on the signals of the differential amplifiers 107a and 107b, and a value of √ ((a × V1011) 2 + (b × V1021) 2 ) (however, a real number where a ≠ 0 and b ≠ 0) is calculated. Although calculated by the unit 108, a differential amplifier is provided separately, and the value of √ ((a × V1011) 2 + (b × V1021) 2 ) (where a ≠ 0 and b ≠ 0 real number) can also be obtained.

<実施例1の比較例>
位置検出装置100の構成を、従来の構成と比較して説明する。
<Comparative example of Example 1>
The configuration of the position detection device 100 will be described in comparison with a conventional configuration.

図4(a),(b)は、図1(a),(b)に示した位置検出装置に対応する構成例を示す図で、図5の従来の位置検出装置の構成と比較用の等倍図として示す説明図で、図4(a)は断面図、図4(b)は上面図である。なお、図4(a),(b)におけるホールセンサ102a,102bは、1つのパッケージに一体に封入されたセンサを示している。   FIGS. 4A and 4B are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 1A and 1B, and are for comparison with the configuration of the conventional position detection device of FIG. FIG. 4A is a sectional view, and FIG. 4B is a top view. Note that Hall sensors 102a and 102b in FIGS. 4A and 4B are sensors that are integrally enclosed in one package.

図5(a),(b)は、従来の位置検出装置の構成を、図4(a),(b)の本発明の位置検出装置の構成と比較用の等倍図として示す説明図で、図5(a)は断面図、図5(b)は上面図である。従来の位置検出装置200を示している。   5 (a) and 5 (b) are explanatory diagrams showing the configuration of the conventional position detection device as an equivalent view for comparison with the configuration of the position detection device of the present invention of FIGS. 4 (a) and 4 (b). 5A is a cross-sectional view, and FIG. 5B is a top view. A conventional position detection apparatus 200 is shown.

位置検出範囲の0.1%以内の位置検出精度で絶対位置検出を行うには、図5に示すように、直方体磁石201の長辺方向Xの長さC201=15.4mm、直方体磁石201の短辺方向Yの長さC202=15.3mm、直方体磁石201の厚み方向Zの長さC203=4.3mm、直方体磁石201のホールセンサ202a,202bに対向する面からホールセンサ202a,202bの感磁部までの距離D201=6.3mm、基板203上に設けられたホールセンサ202aの感磁部の中心とホールセンサ202bの感磁部の中心との距離D202=11.6mmとなる。   In order to perform absolute position detection with position detection accuracy within 0.1% of the position detection range, the length C201 of the rectangular parallelepiped magnet 201 in the long side direction X = 15.4 mm, and the rectangular magnet 201 The length C202 of the short side direction Y = 15.3 mm, the length C203 of the cuboid magnet 201 in the thickness direction Z = 4.3 mm, and the sense of the Hall sensors 202a and 202b from the surface of the cuboid magnet 201 facing the Hall sensors 202a and 202b. The distance D201 to the magnetic part is 6.3 mm, and the distance D202 is 11.6 mm between the center of the magnetic sensing part of the hall sensor 202a provided on the substrate 203 and the center of the magnetic sensing part of the hall sensor 202b.

図6(a),(b)は、比較例として従来の磁石とホールセンサを用いた位置検出装置の概略構成を示す説明図で、図6(a)は断面図、図6(b)は上面図で、比較用として示した従来の磁石とホールセンサを用いた図5の位置検出装置200の概略構成を拡大して示している。   6 (a) and 6 (b) are explanatory views showing a schematic configuration of a position detecting device using a conventional magnet and a hall sensor as a comparative example. FIG. 6 (a) is a sectional view and FIG. In the top view, the schematic configuration of the position detection device 200 of FIG. 5 using the conventional magnet and Hall sensor shown for comparison is shown in an enlarged manner.

以下に、この図6(a),(b)を用いて、7mmの位置検出範囲を、絶対位置検出する場合について説明する。符号201は、ホールセンサに対向する平面209に垂直に単極着磁された直方体磁石である。202a,202bは、ホールセンサである。203は、ホールセンサ202a,202bを実装した基板である。   The case where the absolute position is detected in the position detection range of 7 mm will be described below with reference to FIGS. 6 (a) and 6 (b). Reference numeral 201 denotes a rectangular parallelepiped magnet that is monopolarly magnetized perpendicularly to the plane 209 facing the Hall sensor. 202a and 202b are hall sensors. Reference numeral 203 denotes a substrate on which Hall sensors 202a and 202b are mounted.

C201は、直方体磁石201の長辺方向Xの長さ、C202は、直方体磁石201の短辺方向Yの長さ、C203は、直方体磁石201の厚み方向Zの長さ(磁石の着磁方向の長さ)を示す。D201は、直方体磁石201のホールセンサ202a,202bに対向する平面209からホールセンサ202a,202bの感磁部の中心までの距離、D202はホールセンサ202aの感磁部の中心とホールセンサ202bの感磁部の中心との距離を示す。   C201 is the length in the long side direction X of the cuboid magnet 201, C202 is the length in the short side direction Y of the cuboid magnet 201, and C203 is the length in the thickness direction Z of the cuboid magnet 201 (in the magnetizing direction of the magnet). Length). D201 is the distance from the plane 209 facing the hall sensors 202a and 202b of the rectangular magnet 201 to the center of the magnetic sensing part of the hall sensors 202a and 202b, and D202 is the center of the magnetic sensing part of the hall sensor 202a and the feeling of the hall sensor 202b. Indicates the distance from the center of the magnetic part.

この比較例では、直方体磁石201は、図6(a),(b)中に示すX軸方向にのみ移動する。また、直方体磁石201の移動方向Xに対して水平な平面状にホールセンサ202a,202bを配置する。   In this comparative example, the rectangular parallelepiped magnet 201 moves only in the X-axis direction shown in FIGS. 6 (a) and 6 (b). In addition, the Hall sensors 202a and 202b are arranged in a horizontal plane with respect to the moving direction X of the rectangular parallelepiped magnet 201.

以上より、図4(a),(b)に示す本発明に係る位置検出装置100の構成は、比較用の図5(a),(b)及び図6(a),(b)に示す従来の位置検出装置200の構成に比べて、位置検出装置全体の大きさ及び厚さを著しく小さくすることができるという効果を奏する。   From the above, the configuration of the position detection apparatus 100 according to the present invention shown in FIGS. 4 (a) and 4 (b) is shown in FIGS. 5 (a) and 5 (b) and FIGS. 6 (a) and 6 (b) for comparison. Compared to the configuration of the conventional position detection device 200, the size and thickness of the entire position detection device can be significantly reduced.

<実施例1の位置検出例>
次に、本発明に係る位置検出装置100の具体的な位置検出例について説明する。7mmの絶対位置検出範囲を、位置検出範囲の0.1%以内の位置検出精度で絶対位置検出する場合について示す。図1(a),(b)における各構成部品のパラメータの最適値の設計例を説明する。
<Example of position detection in Example 1>
Next, a specific position detection example of the position detection apparatus 100 according to the present invention will be described. A case where an absolute position detection range of 7 mm is detected with a position detection accuracy within 0.1% of the position detection range will be described. A design example of the optimum value of the parameter of each component in FIGS. 1A and 1B will be described.

図4(a),(b)に示すように、直方体磁石101の長辺方向Xの長さA101=9.0mm、直方体磁石101の短辺方向Yの長さA102=1.0mm、直方体磁石101の厚み方向Zの長さ(磁石の着磁方向の長さ)A103=0.5mm、着磁された磁石の1周期分の長さA104=1.0mmとする。   As shown in FIGS. 4A and 4B, the length A101 of the cuboid magnet 101 in the long side direction X is 9.0 mm, the length A102 of the cuboid magnet 101 in the short side direction Y is 102 mm, and the cuboid magnet is 1.0 mm. The length in the thickness direction Z of 101 (the length in the magnetizing direction of the magnet) A103 = 0.5 mm, and the length of one magnetized period A104 = 1.0 mm.

また、直方体磁石101のホールセンサ102a,102bに対向する平面109からホールセンサ102a,102bの感磁部の中心までの距離B101=0.25mm、第1のホールセンサ102aの感磁部の中心と第2のホールセンサ102bの感磁部の中心との距離B102=0.25mmとする。   Further, the distance B101 = 0.25 mm from the plane 109 facing the Hall sensors 102a, 102b of the rectangular magnet 101 to the center of the magnetic sensitive portion of the Hall sensors 102a, 102b, and the center of the magnetic sensitive portion of the first Hall sensor 102a The distance B102 = 0.25 mm from the center of the magnetic sensitive part of the second hall sensor 102b is set.

上記設計の際、ホールセンサ102a,102bを1つのパッケージ内に搭載する方が、ホールセンサ102a,102bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ102a,102bを設けることも可能である。   In the above design, mounting the Hall sensors 102a and 102b in one package reduces the placement error of the Hall sensors 102a and 102b, and can contribute to higher accuracy of the position detection device. For example, it is possible to provide the Hall sensors 102a and 102b on the Si substrate.

従って、第1のホールセンサ102aと第2のホールセンサ102bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 102a and the second hall sensor 102b in one package.

図7及び図8は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図で、図7は、図1で示した位置検出装置において、直方体磁石の移動距離に対する第1のホールセンサの出力電圧若しくは演算後の値を磁気シミュレーションから求めた結果を示す説明図で、図8は、図1で示した位置検出装置において、直方体磁石の移動距離に対する第2のホールセンサの出力電圧若しくは演算後の値を磁気シミュレーションから求めた結果を示す説明図である。   7 and 8 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet, and FIG. 7 is a diagram illustrating the first Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet in the position detecting device shown in FIG. FIG. 8 is an explanatory diagram showing the result of calculating the output voltage or the calculated value from the magnetic simulation. FIG. 8 is a diagram illustrating the output voltage of the second Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet in the position detection device shown in FIG. It is explanatory drawing which shows the result of having calculated | required the value after a calculation from a magnetic simulation.

図7は、磁石の移動距離に対する第1のホールセンサ102aの出力電圧を2倍した値2×V1011の変化L1011を示す図である。図8は、磁石の移動距離に対する第2のホールセンサ102bの出力電圧を2.02倍した値2.02×V1021の変化L1021を示す図である。   FIG. 7 is a diagram showing a change L1011 of a value 2 × V1011 obtained by doubling the output voltage of the first Hall sensor 102a with respect to the moving distance of the magnet. FIG. 8 is a diagram showing a change L1021 of a value 2.02 × V1021 obtained by multiplying the output voltage of the second Hall sensor 102b by 2.02 with respect to the moving distance of the magnet.

図9は、図1(a),(b)で示した位置検出装置において、直方体磁石の移動距離に対する第1及び第2のホールセンサの出力電圧若しくは演算後の値を磁気シミュレーションから求めた結果を示す説明図で、磁石の移動距離に対する√((2×V1011)2+(2.02×V1021)2)の変化L1031及び理想直線L1041を示す図である。 FIG. 9 is a result of obtaining from the magnetic simulation the output voltage of the first and second Hall sensors with respect to the moving distance of the rectangular parallelepiped magnet or the calculated value in the position detection device shown in FIGS. 1 (a) and 1 (b). FIG. 6 is a diagram illustrating a change L1031 and an ideal straight line L1041 of √ ((2 × V1011) 2 + (2.02 × V1021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ102a,102bの感度を2.2mV/mT(一般的なホールセンサの感度)、直方体磁石101の各極における中央の表面磁束密度の絶対値が、180mT〜110mTまでリニアに減少するよう着磁されているとして行う。   As the premise of the magnetic simulation, the sensitivity of the two Hall sensors 102a and 102b is 2.2 mV / mT (sensitivity of a general Hall sensor), and the absolute value of the central surface magnetic flux density at each pole of the rectangular parallelepiped magnet 101 is 180 mT. This is performed assuming that the magnetic field is linearly reduced to ˜110 mT.

図9に示した磁気シミュレーション結果より、直方体磁石101の移動距離に対して、V1011及びV1021の値を用いて演算した値√((2×V1011)2+(2.02×V1021)2)が、高い線形性を持つことが分かる。 From the magnetic simulation result shown in FIG. 9, the value √ ((2 × V1011) 2 + (2.02 × V1021) 2 ) calculated using the values of V1011 and V1021 with respect to the moving distance of the rectangular parallelepiped magnet 101 is It can be seen that it has high linearity.

ここで、図9に記載した理想直線L1041は、直方体磁石101の移動距離が0mmにおける2個の出力電圧V1011,V1021の値を用いて演算した値√((2×V1011)2+(2.02×V1021)2)と、この直方体磁石101の移動距離が7mmにおける2個の出力電圧V1011,V1021の値を用いて演算した値√((2×V1011)2+(2.02×V1021)2)とを結んだ直線である。 Here, the ideal straight line L1041 shown in FIG. 9 is a value √ ((2 × V1011) 2 + (2....) Calculated using the values of the two output voltages V1011 and V1021 when the moving distance of the rectangular magnet 101 is 0 mm. 02 × V1021) 2 ) and a value √ ((2 × V1011) 2 + (2.02 × V1021) calculated using the values of the two output voltages V1011 and V1021 when the moving distance of the rectangular magnet 101 is 7 mm. 2 ) A straight line connecting

一般的には、この理想直線上の値を用いて位置検出を行うため、磁気シミュレーション結果L1031は理想直線L1041からのズレが大きい場合、位置検出誤差が大きくなる。しかしながら、図9においては、磁気シミュレーション結果L1031が理想直線L1041と一致するように、着磁強度を調整した直方体磁石101を使用してある。なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L1031は理想直線L1041からズレ、位置検出誤差が発生する。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、後述するその他実施例(例えば、実施例6)を適用すると良い。   Generally, since position detection is performed using the value on the ideal straight line, when the magnetic simulation result L1031 has a large deviation from the ideal straight line L1041, the position detection error becomes large. However, in FIG. 9, the rectangular parallelepiped magnet 101 whose magnetization intensity is adjusted so that the magnetic simulation result L1031 coincides with the ideal straight line L1041 is used. When there are various errors such as variations in magnetization intensity and mounting variations, the magnetic simulation result L1031 is naturally shifted from the ideal straight line L1041, and a position detection error occurs. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) described later may be applied to reduce the position detection error.

上述のように演算中の係数a及びbの値をそれぞれ、a=2、b=2.02として演算を行ったが、この数値が異なっても、位置検出装置100において、直方体磁石101の長辺方向Xの長さA101、直方体磁石101の短辺方向Yの長さA102、直方体磁石101の厚み方向Zの長さ(磁石の着磁方向の長さ)A103、着磁された磁石の1周期分の長さA104、直方体磁石101のホールセンサ102a,102bに対向する平面109からホールセンサ102a,102bの感磁部の中心までの距離B101、ホールセンサ102aの感磁部の中心とホールセンサ102bの感磁部の中心との距離B102、直方体磁石101の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the calculation is performed with the values of the coefficients a and b being calculated as a = 2 and b = 2.02, respectively. Length A101 in the side direction X, length A102 in the short side direction Y of the cuboid magnet 101, length in the thickness direction Z of the cuboid magnet 101 (length in the magnetizing direction of the magnet) A103, 1 of the magnetized magnet The length A104 of the period, the distance B101 from the plane 109 facing the Hall sensors 102a and 102b of the rectangular magnet 101 to the center of the magnetic sensing part of the Hall sensors 102a and 102b, the center of the magnetic sensing part of the Hall sensor 102a and the Hall sensor By optimizing the adjustment of the distance B102 from the center of the magnetic sensing portion 102b and the magnetization strength of the rectangular parallelepiped magnet 101, better results than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ102a,102bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 102a and 102b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ102a,102bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ102a,102bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 102a and 102b do not have a magnetic chip for performing magnetic amplification. The Hall sensors 102a and 102b have magnetic chips inside, and a configuration for amplifying the detection magnetic field of the sensor portion is known. However, in the configuration of the present invention, the magnetic saturation of the magnetic chips becomes a problem, and the wide sensor It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV1011,V1021とした場合、√((a×V1011)2+(b×V1021)2)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ連続的に検出することが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. In the case where a magnet in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval is arranged perpendicular to the substrate, and the output obtained by multiplying the outputs of the two Hall sensors by a real number is V1011 and V1021 , √ ((a × V1011) 2 + (b × V1021) 2 ) is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Even when components are made up of general-purpose products or parts that are easily available using the sensor as a magnetic sensor, downsizing can be achieved with a simple configuration, and a wide range of distances can be achieved with high accuracy and continuously. Position detection that can be detected automatically An electronic device using the apparatus and its position detection apparatus can be manufactured.

<実施例1の応用例>
実施例1の応用例として、本実施例1のような位置検出装置100を備えた電子機器として構成することも可能である。例として、位置検出装置100は、デジタルカメラ、カムコーダ、カメラ付き携帯電話などに代表される、カメラ部を有した電子機器に好適である。さらに、オートフォーカスや光学ズーム、光学手ブレ補正など、内部で高精度にレンズやCCDなどの位置検出を行う際にも好適に使用可能である。
<Application example of Example 1>
As an application example of the first embodiment, it can be configured as an electronic apparatus including the position detection device 100 as in the first embodiment. As an example, the position detection device 100 is suitable for an electronic device having a camera unit, typified by a digital camera, a camcorder, a camera-equipped mobile phone, and the like. Furthermore, it can be suitably used when detecting the position of a lens, a CCD, or the like with high accuracy inside, such as autofocus, optical zoom, optical camera shake correction.

電子機器の具体例としては、位置検出装置100と、位置検出装置100からの出力信号が入力される、オートフォーカス(AF)機構及びズーム(Zoom)機構とを備えて構成してもよい。AF機構及びZoom機構は、デジタルカメラ、又は携帯電話のオートフォーカス及びズームを行うことができる。   As a specific example of the electronic device, the electronic apparatus may include a position detection device 100 and an autofocus (AF) mechanism and a zoom mechanism to which an output signal from the position detection device 100 is input. The AF mechanism and the Zoom mechanism can perform autofocus and zoom of a digital camera or a mobile phone.

本発明に係る位置検出装置の実施例2を図10(a),(b)乃至図16に基づいて以下に説明する。   A second embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 10 (a) and 10 (b) to FIG.

本実施例2は、上述した実施例1の変形例であり、位置検出装置100において、直方体磁石101の移動に伴って、ホールセンサ102a,102bの出力がリニアに増加するよう直方体磁石101の着磁を変更した場合の例である。つまり、この実施例2においては、ホールセンサの出力信号は、図96に示すように、増幅振動波形の出力信号である。   The second embodiment is a modification of the first embodiment described above. In the position detection device 100, the rectangular magnet 101 is attached so that the outputs of the hall sensors 102a and 102b increase linearly as the rectangular magnet 101 moves. This is an example when the magnetism is changed. That is, in the second embodiment, the Hall sensor output signal is an output signal of an amplified vibration waveform as shown in FIG.

<実施例2の構成>
図10(a),(b)は、本発明に係る位置検出装置の実施例2を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図10(a)は断面図、図10(b)は上面図を示している。
<Configuration of Example 2>
FIGS. 10A and 10B are schematic configuration diagrams for explaining a second embodiment of the position detection apparatus according to the present invention, and the position detection apparatus in the case of using two hall sensors aligned on one axis. FIG. 10A shows a cross-sectional view, and FIG. 10B shows a top view.

位置検出装置300は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)301と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)302a,302bと、第1のホールセンサ302aと、第2のホールセンサ302bと、これら2つのホールセンサを実装した基板303とを備えている。なお、本発明に係る位置検出装置300は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detection apparatus 300 includes a rectangular parallelepiped magnet (magnetic flux generating means) 301 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two as a set. 302a, 302b, a first hall sensor 302a, a second hall sensor 302b, and a substrate 303 on which these two hall sensors are mounted. In addition, the position detection apparatus 300 according to the present invention can be configured using variously shaped magnets and various Hall sensors.

ホールセンサ302a,302bは、基板303上に所定の間隔で配置され、感磁方向が基板303に対して垂直である。直方体磁石301は、ホールセンサ302a,302bからの信号を所定の演算を行った際に、後述する図11に示される信号となるよう着磁された構成となっており、基板303と対向する一平面309内で、X方向に沿って移動可能に配置されている。   The Hall sensors 302 a and 302 b are arranged on the substrate 303 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 303. The rectangular parallelepiped magnet 301 is configured to be magnetized so as to be a signal shown in FIG. 11 described later when a predetermined calculation is performed on signals from the hall sensors 302a and 302b. In the plane 309, it arrange | positions so that a movement along a X direction is possible.

図11は、図10(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 11 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIGS. 10 (a) and 10 (b). is there.

ホールセンサ302a,302b(固定)に対して直方体磁石301を基準位置からX方向に沿って移動された場合には、一方のホールセンサ302aの出力信号は、図中の白四角のように増幅振動波形の出力信号を示し、他方のホールセンサ302bの出力信号は、図中の黒丸のように、一方のホールセンサ302aの出力信号と位相のずれた増幅振動波形の出力信号を示す。また、同様に、直方体磁石301(固定)に対してホールセンサ302a,302bを所定の距離だけ移動した場合にも、ホールセンサ302a,302bからの出力信号が、図96に示すように、増幅振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 301 is moved from the reference position along the X direction with respect to the hall sensors 302a and 302b (fixed), the output signal of one hall sensor 302a is amplified and oscillated as white squares in the figure. The waveform output signal is shown, and the output signal of the other hall sensor 302b is an output signal of an amplified oscillation waveform that is out of phase with the output signal of one hall sensor 302a, as indicated by a black circle in the figure. Similarly, when the hall sensors 302a and 302b are moved by a predetermined distance with respect to the rectangular parallelepiped magnet 301 (fixed), the output signals from the hall sensors 302a and 302b are amplified and oscillated as shown in FIG. The waveform output signal is shown.

また、ホールセンサ302a,302bから増幅振動波状の出力信号を発生させるために、直方体磁石301は、移動方向に沿って発生する磁界の強さが増幅するように着磁されている。   Further, in order to generate amplified vibration wave-like output signals from the Hall sensors 302a and 302b, the rectangular parallelepiped magnet 301 is magnetized so that the strength of the magnetic field generated along the moving direction is amplified.

また、ホールセンサ302a,302bからの増幅振動波状の出力信号は、増幅正弦波状及び増幅余弦波状の出力信号であることもできる。また、増幅振動波状の出力信号が、各々増幅正弦波状の出力信号及び増幅余弦波状の出力信号となるように、90度の電気角を有して配置されている。   Further, the amplified oscillation wave-like output signals from the Hall sensors 302a and 302b can be amplified sine wave-like and amplified cosine wave-like output signals. In addition, the amplified oscillation wave-like output signals are arranged with an electrical angle of 90 degrees so that each of them becomes an amplified sine wave-like output signal and an amplified cosine-like output signal.

直方体磁石301は、ホールセンサ302a,302bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板303に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ302a,302bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 301 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 302a and 302b and parallel to the substrate 303. A plurality of sets are magnetized so as to have a distance that is four times the distance connecting the centers of the magnetic sensing portions of the Hall sensors 302a and 302b.

ここで、ホールセンサ302a,302bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板303に平行な平面内を移動可能という意味は、ホールセンサ302a,302bの感磁部の中心間を結ぶ直線と直方体磁石301の移動方向を示す直線とを、基板303に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being able to move in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 302a and 302b and parallel to the substrate 303 is the center of the magnetic sensing parts of the Hall sensors 302a and 302b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 301 are projected on an arbitrary same plane parallel to the substrate 303, the respective extension lines are parallel.

直方体磁石301は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板303に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 301, ferrite, neodymium iron boron, samarium cobalt magnet or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnet is magnetized in a direction in which the N and S poles are magnetized in a direction perpendicular to the substrate 303.

1組のホールセンサとして構成された、第1のホールセンサ302aの感磁部中心と、第2のホールセンサ302bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ302aと302bは、直方体磁石301の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 302a and the center of the magnetic sensing part of the second hall sensor 302b, configured as a set of hall sensors, is also in the X direction. Hall sensors 302 a and 302 b are arranged at positions facing the surface of the rectangular parallelepiped magnet 301.

図10(a),(b)において、A301は直方体磁石301の長辺方向Xの長さ、A302は直方体磁石301の短辺方向Yの長さ、A303は直方体磁石301の厚み(着磁)方向Zの長さ、A304は着磁された磁石の1周期分の長さをそれぞれ示す。また、B301は、直方体磁石301のホールセンサ302a,302bの基板303に対向する平面309から、ホールセンサ302aと302bの感磁部の中心までの距離を示す。B302は、第1のホールセンサ302aの感磁部の中心と、第2のホールセンサ302bの感磁部の中心とを結ぶ距離を示す。   10A and 10B, A301 is the length in the long side direction X of the cuboid magnet 301, A302 is the length in the short side direction Y of the cuboid magnet 301, and A303 is the thickness (magnetization) of the cuboid magnet 301. The length in the direction Z, A304, indicates the length of one period of the magnetized magnet. B301 indicates the distance from the plane 309 facing the substrate 303 of the Hall sensors 302a and 302b of the rectangular parallelepiped magnet 301 to the centers of the magnetic sensing parts of the Hall sensors 302a and 302b. B302 indicates a distance connecting the center of the magnetic sensing part of the first hall sensor 302a and the center of the magnetic sensing part of the second hall sensor 302b.

ホールセンサ302a,302bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The hall sensors 302a and 302b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図12は、図10(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置300は、2個のホールセンサ302a,302bを有する駆動回路305と、このホールセンサ302a,302bからのそれぞれの出力に基づいて位置検出を行う信号処理回路306とを備えている。   FIG. 12 is a circuit diagram of the position detection circuit of the position detection device shown in FIGS. 10 (a) and 10 (b). The position detection device 300 includes a drive circuit 305 having two hall sensors 302a and 302b, and a signal processing circuit 306 that performs position detection based on respective outputs from the hall sensors 302a and 302b.

駆動回路305は、1組のホールセンサ302a,302bと、これらのホールセンサ302a,302bに電圧を供給する電源部Vddとから構成される。   The drive circuit 305 includes a pair of hall sensors 302a and 302b and a power supply unit Vdd that supplies voltage to the hall sensors 302a and 302b.

第1のホールセンサ302aは、正極入力端子302a(A)と、正極出力端子302a(B)と、負極入力端子302a(C)と、負極出力端子302a(D)とから構成される。   The first hall sensor 302a includes a positive input terminal 302a (A), a positive output terminal 302a (B), a negative input terminal 302a (C), and a negative output terminal 302a (D).

第2のホールセンサ302bは、正極入力端子302b(E)と、正極出力端子302b(F)と、負極入力端子302b(G)と、負極出力端子302b(H)とから構成される。   The second hall sensor 302b includes a positive input terminal 302b (E), a positive output terminal 302b (F), a negative input terminal 302b (G), and a negative output terminal 302b (H).

正極出力端子302a(B)と負極出力端子302a(D)とは、差動増幅器307aの入力信号となり、差動増幅器307aからはV3011が出力される。正極出力端子302b(F)と負極出力端子302b(H)とは、差動増幅器307bの入力信号となり、差動増幅器307bからはV3021が出力される。   The positive output terminal 302a (B) and the negative output terminal 302a (D) serve as input signals to the differential amplifier 307a, and V3011 is output from the differential amplifier 307a. The positive output terminal 302b (F) and the negative output terminal 302b (H) serve as input signals to the differential amplifier 307b, and V3021 is output from the differential amplifier 307b.

信号処理部306は、差動増幅器307a,307bと、計算処理部308とにより構成される。この信号処理部306では、ホールセンサ302a,302bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 306 includes differential amplifiers 307a and 307b and a calculation processing unit 308. The signal processing unit 306 performs position detection based on respective outputs from the hall sensors 302a and 302b.

<実施例2の回路動作>
以下に、本発明の実施例2における位置検出装置300の動作について説明する。
図12に示す信号処理部306は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。
<Circuit Operation of Example 2>
Hereinafter, the operation of the position detection apparatus 300 according to the second embodiment of the present invention will be described.
The signal processing unit 306 shown in FIG. 12 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

信号処理部306は、基板303上に配置された2個の磁気センサ302a,302bにおいて、磁気センサ302a及び302bからのそれぞれの出力をV3011,V3021とした場合、出力V3011,V3021をそれぞれ実数倍した値を用いて、
Vo3=√((a×V3011)2+(b×V3021)2)・・・(2)
の関係式から求められる値Vo3を用いて位置検出を行う。ただし、a≠0かつb≠0である実数である。
In the two magnetic sensors 302a and 302b arranged on the substrate 303, the signal processing unit 306 multiplies the outputs V3011 and V3021 by real numbers when the outputs from the magnetic sensors 302a and 302b are V3011 and V3021, respectively. Using the value
Vo3 = √ ((a × V3011) 2 + (b × V3021) 2 ) (2)
Position detection is performed using a value Vo3 obtained from the relational expression. However, it is a real number in which a ≠ 0 and b ≠ 0.

駆動回路305において、第1のホールセンサ302aの正極入力端子302a(A)と、第2のホールセンサ302bの正極入力端子302b(E)とが接続されることによって入力端子とされ、第1のホールセンサ302aの負極入力端子302a(C)と、第2のホールセンサ302bの負極入力端子302b(G)とが接続されることによって入力端子とされる。   In the driving circuit 305, the positive input terminal 302a (A) of the first hall sensor 302a and the positive input terminal 302b (E) of the second hall sensor 302b are connected to form an input terminal. The negative input terminal 302a (C) of the hall sensor 302a and the negative input terminal 302b (G) of the second hall sensor 302b are connected to form an input terminal.

第1のホールセンサ302aの正極出力端子302a(B)と負極出力端子302a(D)は、信号処理回路306の第1の差動増幅器307aに接続され、第2のホールセンサ302bの正極出力端子302b(F)と負極出力端子302b(H)は、信号処理回路306の第2の差動増幅器307bに接続される。   The positive output terminal 302a (B) and the negative output terminal 302a (D) of the first hall sensor 302a are connected to the first differential amplifier 307a of the signal processing circuit 306, and the positive output terminal of the second hall sensor 302b. 302 b (F) and the negative output terminal 302 b (H) are connected to the second differential amplifier 307 b of the signal processing circuit 306.

第1の差動増幅器307aの出力端子と第2の差動増幅器307bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部308に伝達される。   The output terminal of the first differential amplifier 307a and the output terminal of the second differential amplifier 307b are input to the AD converter and transmitted to the calculation processing unit 308 that calculates the output as appropriate.

このような駆動回路305と信号処理部306とによって、第1のホールセンサ302aのホール出力V3011と、第2のホールセンサ302bのホール出力V3021とを用いて、√((a×V3011)2+(b×V3021)2)の値(ただし、a≠0かつb≠0の実数)である出力値Vo3が、直方体磁石301の位置に対応したものになる。 By using the hall output V3011 of the first hall sensor 302a and the hall output V3021 of the second hall sensor 302b by such a driving circuit 305 and the signal processing unit 306, √ ((a × V3011) 2 + An output value Vo3 that is a value of (b × V3021) 2 ) (where a ≠ 0 and b ≠ 0 is a real number) corresponds to the position of the rectangular magnet 301.

なお、本実施例2では、第1のホールセンサ302aと第2のホールセンサ302bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器307a,307bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the second embodiment, the input terminals of the first hall sensor 302a and the second hall sensor 302b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 307a and 307b.

また、差動増幅器307a,307bの信号をAD変換して、√((a×V3011)2+(b×V3021)2)の値(ただし、a≠0かつb≠0の実数)を計算処理部308で計算して求めたが、別途差動増幅器を設けて、アナログ信号のままで、√((a×V3011)2+(b×V3021)2)^0.5の値(ただし、a≠0かつb≠0の実数)を求めることもできる。 Further, AD conversion is performed on the signals of the differential amplifiers 307a and 307b, and a value of √ ((a × V3011) 2 + (b × V3021) 2 ) (however, a real number where a ≠ 0 and b ≠ 0) is calculated. Although calculated by the unit 308, a differential amplifier is provided separately, and the analog signal remains as it is (√ ((a × V3011) 2 + (b × V3021) 2 ) ^ 0.5 (where a It is also possible to obtain a real number of ≠ 0 and b ≠ 0).

<実施例2の位置検出例>
次に、本発明に係る位置検出装置300の具体的な位置検出例について説明する。7mmの絶対位置検出範囲を、位置検出範囲の0.1%以内の位置検出精度で絶対位置検出する場合について示す。図10(a),(b)における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 2>
Next, a specific position detection example of the position detection apparatus 300 according to the present invention will be described. A case where an absolute position detection range of 7 mm is detected with a position detection accuracy within 0.1% of the position detection range will be described. A design example of optimum values of parameters of each component in FIGS. 10 (a) and 10 (b) will be described.

図13(a),(b)は、図10(a),(b)に示した位置検出装置に対応する構成図で、図13(a)は断面図、図13(b)は上面図である。   FIGS. 13A and 13B are configuration diagrams corresponding to the position detection apparatus shown in FIGS. 10A and 10B, FIG. 13A is a cross-sectional view, and FIG. 13B is a top view. It is.

図13(a),(b)に示すように、直方体磁石301の長辺方向Xの長さA301=9.0mm、直方体磁石301の短辺方向Yの長さA302=1.0mm、直方体磁石301の厚み方向Zの長さ(磁石の着磁方向の長さ)A303=0.5mm、着磁された磁石の1周期分の長さA304=1.0mmとする。   As shown in FIGS. 13A and 13B, the length A301 of the cuboid magnet 301 in the long side direction X = 9.0 mm, the length A302 of the cuboid magnet 301 in the short side direction Y = 1.0 mm, and a cuboid magnet. The length 301 in the thickness direction Z (the length in the magnetizing direction of the magnet) A303 = 0.5 mm, and the length A304 of one cycle of the magnetized magnet = 1.0 mm.

また、直方体磁石301のホールセンサ302a,302bに対向する平面309からホールセンサ302a,302bの感磁部の中心までの距離B301=0.25mm、第1のホールセンサ302aの感磁部の中心と第2のホールセンサ302bの感磁部の中心との距離B302=0.25mmとする。   Further, the distance B301 = 0.25 mm from the plane 309 facing the hall sensors 302a and 302b of the rectangular magnet 301 to the center of the magnetism sensing part of the hall sensors 302a and 302b, and the center of the magnetism sensing part of the first hall sensor 302a The distance B302 = 0.25 mm from the center of the magnetic sensitive part of the second hall sensor 302b.

上記設計の際、ホールセンサ302a,302bを1つのパッケージ内に搭載する方が、ホールセンサ302a,302bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ302a,302bを設けることも可能である。   In the above design, mounting the Hall sensors 302a and 302b in one package reduces the placement error of the Hall sensors 302a and 302b, and can contribute to higher accuracy of the position detection device. For example, it is also possible to provide Hall sensors 302a and 302b on a Si substrate.

従って、第1のホールセンサ302aと第2のホールセンサ302bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 302a and the second hall sensor 302b in one package.

図14及び図15は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図で、図14は、磁石の移動距離に対する第1のホールセンサ302aの出力電圧を2.02倍した値2.02×V3011の変化L3011を示す図で、図15は、磁石の移動距離に対する第2のホールセンサ302bの出力電圧を2倍した値2×V3021の変化L3021を示す図である。   14 and 15 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular magnet, and FIG. 14 is a value obtained by multiplying the output voltage of the first Hall sensor 302a by 2.02 with respect to the moving distance of the magnet. FIG. 15 is a diagram showing a change L3011 of a value 2 × V3021 obtained by doubling the output voltage of the second Hall sensor 302b with respect to the moving distance of the magnet.

図16は、磁石の移動距離に対する√((2.02×V3011)2+(2×V3021)2)の変化L3031及び理想直線L3041を示す図である。 FIG. 16 is a diagram showing a change L3031 and an ideal straight line L3041 of √ ((2.02 × V3011) 2 + (2 × V3021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ302a,302bの感度を2.2mV/mT(一般的なホールセンサの感度)、直方体磁石301の各極における中央の表面磁束密度の絶対値が、110mT〜180mTまでリニアに増幅するよう着磁されているとして行う。   As the premise of the magnetic simulation, the sensitivity of the two Hall sensors 302a and 302b is 2.2 mV / mT (sensitivity of a general Hall sensor), and the absolute value of the center surface magnetic flux density at each pole of the rectangular parallelepiped magnet 301 is 110 mT. This is performed assuming that the magnetic field is linearly amplified up to 180 mT.

図16に示した磁気シミュレーション結果より、直方体磁石301の移動距離に対して、V3011及びV3021の値を用いて演算した値√((2.02×V3011)2+(2×V3021)2)が、高い線形性を持つことが分かる。 From the magnetic simulation result shown in FIG. 16, the value √ ((2.02 × V3011) 2 + (2 × V3021) 2 ) calculated using the values of V3011 and V3021 with respect to the moving distance of the rectangular magnet 301 is obtained. It can be seen that it has high linearity.

ここで、図16に記載した理想直線L3041は、直方体磁石301の移動距離が0mmにおける2個の出力電圧V3011,V3021の値を用いて演算した値√((2.02×V3011)2+(2×V3021)2)と、この直方体磁石301の移動距離が7mmにおける2個の出力電圧V3011,V3021の値を用いて演算した値√((2.02×V3011)2+(2×V3021)2)とを結んだ直線である。 Here, an ideal straight line L3041 shown in FIG. 16 is a value √ ((2.02 × V3011) 2 + () calculated using values of two output voltages V3011 and V3021 when the moving distance of the rectangular parallelepiped magnet 301 is 0 mm. 2 × V3021) 2 ) and a value √ ((2.02 × V3011) 2 + (2 × V3021) calculated using the values of the two output voltages V3011 and V3021 when the moving distance of the rectangular magnet 301 is 7 mm. 2 ) A straight line connecting

一般的には、この理想直線上の値を用いて位置検出を行うため、磁気シミュレーション結果L3031は理想直線L3041からのズレが大きい場合、位置検出誤差が大きくなる。しかしながら、図16においては、磁気シミュレーション結果L3031が理想直線L3041と一致するように、着磁強度を調整した直方体磁石301を使用してある。なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L3031は理想直線L3041からズレ、位置検出誤差が発生する。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、後述するその他実施例(例えば、実施例6)を適用すると良い。   Generally, since position detection is performed using the value on the ideal straight line, when the magnetic simulation result L3031 has a large deviation from the ideal straight line L3041, the position detection error becomes large. However, in FIG. 16, a rectangular parallelepiped magnet 301 whose magnetization intensity is adjusted so that the magnetic simulation result L3031 coincides with the ideal straight line L3041 is used. When there are various errors such as variations in magnetization intensity and mounting variations, the magnetic simulation result L3031 is naturally deviated from the ideal straight line L3041, and a position detection error occurs. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) described later may be applied to reduce the position detection error.

上述のように演算中の係数a及びbの値をそれぞれ、a=2.02、b=2として演算を行ったが、この数値が異なっても、位置検出装置300において、直方体磁石301の長辺方向Xの長さA301、直方体磁石301の短辺方向Yの長さA302、直方体磁石301の厚み方向Zの長さ(磁石の着磁方向の長さ)A303、着磁された磁石の1周期分の長さA304、直方体磁石301のホールセンサ302a,302bに対向する平面309からホールセンサ302a,302bの感磁部の中心までの距離B301、ホールセンサ302aの感磁部の中心とホールセンサ302bの感磁部の中心との距離B302、直方体磁石301の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the calculation is performed with the values of the coefficients a and b being calculated as a = 2.02 and b = 2, respectively. However, even if these values are different, the position detection device 300 uses the length of the rectangular parallelepiped magnet 301. Length A301 in the side direction X, length A302 in the short side direction Y of the cuboid magnet 301, length in the thickness direction Z of the cuboid magnet 301 (length in the magnetizing direction of the magnet) A303, 1 of the magnetized magnet The length A304 of the period, the distance B301 from the plane 309 facing the Hall sensors 302a and 302b of the rectangular magnet 301 to the center of the magnetic sensing part of the Hall sensors 302a and 302b, the center of the magnetic sensing part of the Hall sensor 302a and the Hall sensor By optimizing the adjustment of the distance B302 from the center of the magnetic sensing portion 302b and the magnetization intensity of the rectangular parallelepiped magnet 301, a better result than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ302a,302bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 302a and 302b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ302a,302bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ302a,302bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 302a and 302b do not have a magnetic chip for performing magnetic amplification. The Hall sensors 302a and 302b have a magnetic chip inside, and a configuration for amplifying the detection magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and a wide range is required. It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV3011,V3021とした場合、√((a×V3011)2+(b×V3021)2)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ連続的に検出することが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. In the case where a magnet in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval is arranged perpendicular to the substrate, and the output obtained by multiplying the outputs of the two Hall sensors by a real number is V3011, V3021 , √ ((a × V3011) 2 + (b × V3021) 2 ) is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Even when components are made up of general-purpose products or parts that are easily available using the sensor as a magnetic sensor, downsizing can be achieved with a simple configuration, and a wide range of distances can be achieved with high accuracy and continuously. Position detection that can be detected automatically An electronic device using the apparatus and its position detection apparatus can be manufactured.

本発明に係る位置検出装置の実施例3を図18(a),(b)乃至図26に基づいて以下に説明する。   A third embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 18 (a) and (b) to FIG.

本実施例3は、実施例1の変形例であり、位置検出装置100において、直方体磁石101の移動に伴って、ホールセンサ102a,102bの出力がリニアではなく、単調減少するよう直方体磁石101の着磁を変更した場合の例である。   The third embodiment is a modification of the first embodiment, and in the position detection device 100, the output of the hall sensors 102a and 102b is not linear and decreases monotonously with the movement of the cuboid magnet 101. This is an example when the magnetization is changed.

ここで、単調減少にも様々な例が存在するが、その代表的な一例を図17に示す。なお、図17で示す直線及び曲線は、1つのホールセンサの出力ピーク値を結んだものである。図17における『1』は第1の実施例で示した直線である。1つのホールセンサの出力ピーク値を結んだ曲線が『2』となる場合の例を実施例3で示す。1つのホールセンサの出力ピーク値を結んだ曲線が『3』となる場合の例を実施例4で示す。1つのホールセンサの出力ピーク値を結んだ曲線が『4』となる場合の例を実施例5で示す。   Here, there are various examples of monotonous decrease, and a typical example is shown in FIG. In addition, the straight line and curve shown in FIG. 17 connect the output peak value of one Hall sensor. “1” in FIG. 17 is the straight line shown in the first embodiment. An example in which the curve connecting the output peak values of one hall sensor is “2” is shown in the third embodiment. An example in which the curve connecting the output peak values of one hall sensor is “3” is shown in the fourth embodiment. Example 5 shows a case where the curve connecting the output peak values of one hall sensor is “4”.

<実施例3の構成>
図18(a),(b)は、本発明に係る位置検出装置の実施例3を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図18(a)は断面図、図18(b)は上面図を示している。
<Configuration of Example 3>
FIGS. 18A and 18B are schematic configuration diagrams for explaining a third embodiment of the position detection apparatus according to the present invention, and a position detection apparatus in the case of using two Hall sensors aligned on one axis. 18A is a cross-sectional view, and FIG. 18B is a top view.

位置検出装置400は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)401と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)402a,402bと、ホールセンサ402a(第1のホールセンサ)と、ホールセンサ402b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板403とを備えている。なお、本発明に係る位置検出装置400は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detection device 400 includes a rectangular parallelepiped magnet (magnetic flux generating means) 401 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) that combines two magnets. 402a, 402b, a hall sensor 402a (first hall sensor), a hall sensor 402b (second hall sensor), and a substrate 403 on which these two hall sensors are mounted. Note that the position detection device 400 according to the present invention can be configured using magnets of various shapes and various Hall sensors.

ホールセンサ402a,402bは、基板403上に所定の間隔で配置され、感磁方向が基板403に対して垂直である。直方体磁石401は、ホールセンサ402a,402bからの信号を所定の演算を行った際に、図19に示される信号となるよう着磁された構成となっており、基板403と対向する1平面409内で、X方向に沿って移動可能に配置されている。   The Hall sensors 402 a and 402 b are arranged on the substrate 403 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 403. The rectangular parallelepiped magnet 401 is configured to be magnetized so as to be a signal shown in FIG. 19 when a predetermined calculation is performed on signals from the hall sensors 402 a and 402 b, and a single plane 409 facing the substrate 403. It is arranged so as to be movable along the X direction.

図19は、図18(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 19 is a waveform diagram showing output signals of two hall sensors obtained when a rectangular parallelepiped magnet or two hall sensors are moved in the position detection device shown in FIGS. 18 (a) and 18 (b). is there.

ホールセンサ402a,402b(固定)に対して直方体磁石401を基準位置からX方向に沿って移動された場合には、一方のホールセンサ402aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ402bの出力信号は、図中の黒丸のように、一方のホールセンサ402aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 401 is moved from the reference position along the X direction with respect to the Hall sensors 402a and 402b (fixed), the output signal of one Hall sensor 402a is damped as shown by the white square in the figure. The output signal of the waveform is shown, and the output signal of the other hall sensor 402b is an output signal of a damped oscillation waveform that is out of phase with the output signal of one hall sensor 402a, as indicated by a black circle in the figure.

直方体磁石401は、ホールセンサ402a,402bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板403に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ402a、402bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 401 is supported so as to be movable in a plane parallel to the substrate 403 in a direction parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 402a and 402b. A plurality of sets are magnetized so as to be a distance that is four times the distance connecting the centers of the magnetic sensing parts of the Hall sensors 402a and 402b.

ここで、ホールセンサ402a,402bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板403に平行な平面内を移動可能という意味は、ホールセンサ402a,402bの感磁部の中心間を結ぶ直線と直方体磁石401の移動方向を示す直線とを、基板403に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being able to move in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 402a and 402b and parallel to the substrate 403 is the center of the magnetic sensing parts of the Hall sensors 402a and 402b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 401 are projected on any same plane parallel to the substrate 403, the respective extension lines are parallel.

直方体磁石401は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板403に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 401, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnet is magnetized in a direction in which N and S poles are magnetized in a direction perpendicular to the substrate 403.

1組のホールセンサとして構成された、第1のホールセンサ402aの感磁部中心と、第2のホールセンサ402bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ402aと402bは、直方体磁石401の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 402a and the center of the magnetic sensing part of the second hall sensor 402b, which is configured as a set of hall sensors, is also in the X direction. Hall sensors 402a and 402b are disposed at positions facing the surface of the rectangular parallelepiped magnet 401.

図18(a),(b)において、A401は直方体磁石401の長辺方向Xの長さ、A402は直方体磁石401の短辺方向Yの長さ、A403は直方体磁石401の厚み(着磁)方向Zの長さ、A404は着磁された磁石の1周期分の長さをそれぞれ示す。また、B401は、直方体磁石401のホールセンサ402a,402bの基板403に対向する平面409から、ホールセンサ402aと402bの感磁部の中心までの距離を示す。B402は、第1のホールセンサ402aの感磁部の中心と、第2のホールセンサ402bの感磁部の中心とを結ぶ距離を示す。   18A and 18B, A401 is the length in the long side direction X of the cuboid magnet 401, A402 is the length in the short side direction Y of the cuboid magnet 401, and A403 is the thickness (magnetization) of the cuboid magnet 401. The length in the direction Z, A404, indicates the length of one period of the magnetized magnet. B401 indicates the distance from the plane 409 facing the substrate 403 of the Hall sensors 402a and 402b of the rectangular parallelepiped magnet 401 to the centers of the magnetic sensing parts of the Hall sensors 402a and 402b. B402 indicates a distance connecting the center of the magnetic sensing part of the first Hall sensor 402a and the center of the magnetic sensing part of the second Hall sensor 402b.

ホールセンサ402a,402bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The Hall sensors 402a and 402b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図20は、図18(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置400は、2個のホールセンサ402a,402bを有する駆動回路405と、このホールセンサ402a,402bからのそれぞれの出力に基づいて位置検出を行う信号処理回路406とを備えている。   FIG. 20 is a circuit diagram of the position detection circuit of the position detection device shown in FIGS. 18 (a) and 18 (b). The position detection device 400 includes a drive circuit 405 having two hall sensors 402a and 402b, and a signal processing circuit 406 that performs position detection based on respective outputs from the hall sensors 402a and 402b.

駆動回路405は、1組のホールセンサ402a,402bと、これらのホールセンサ402a,402bに電圧を供給する電源部Vddとから構成される。   The drive circuit 405 includes a pair of hall sensors 402a and 402b and a power supply unit Vdd that supplies voltage to the hall sensors 402a and 402b.

第1のホールセンサ402aは、正極入力端子402a(A)と、正極出力端子402a(B)と、負極入力端子402a(C)と、負極出力端子402a(D)とから構成される。   The first hall sensor 402a includes a positive input terminal 402a (A), a positive output terminal 402a (B), a negative input terminal 402a (C), and a negative output terminal 402a (D).

第2のホールセンサ402bは、正極入力端子402b(E)と、正極出力端子402b(F)と、負極入力端子402b(G)と、負極出力端子402b(H)とから構成される。   The second hall sensor 402b includes a positive input terminal 402b (E), a positive output terminal 402b (F), a negative input terminal 402b (G), and a negative output terminal 402b (H).

正極出力端子402a(B)と負極出力端子402a(D)とは、差動増幅器407aの入力信号となり、差動増幅器407aからはV4011が出力される。正極出力端子402b(F)と負極出力端子402b(H)とは、差動増幅器407bの入力信号となり、差動増幅器407bからはV4021が出力される。   The positive output terminal 402a (B) and the negative output terminal 402a (D) serve as input signals to the differential amplifier 407a, and V4011 is output from the differential amplifier 407a. The positive output terminal 402b (F) and the negative output terminal 402b (H) serve as input signals to the differential amplifier 407b, and V4021 is output from the differential amplifier 407b.

信号処理部406は、差動増幅器407a,407bと、計算処理部408とにより構成される。この信号処理部406では、ホールセンサ402a,402bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 406 includes differential amplifiers 407 a and 407 b and a calculation processing unit 408. The signal processing unit 406 performs position detection based on respective outputs from the hall sensors 402a and 402b.

<実施例3の回路動作>
以下に、本実施例3の位置検出装置400の動作について説明する。
<Circuit Operation of Example 3>
Hereinafter, the operation of the position detection apparatus 400 according to the third embodiment will be described.

図20に示す信号処理部406は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 406 shown in FIG. 20 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路405において、第1のホールセンサ402aの正極入力端子402a(A)と、第2のホールセンサ402bの正極入力端子402b(E)とが接続されることによって入力端子とされ、第1のホールセンサ402aの負極入力端子402a(C)と、第2のホールセンサ402bの負極入力端子402b(G)とが接続されることによって入力端子とされる。   In the drive circuit 405, the positive input terminal 402a (A) of the first hall sensor 402a and the positive input terminal 402b (E) of the second hall sensor 402b are connected to form an input terminal. The negative input terminal 402a (C) of the hall sensor 402a and the negative input terminal 402b (G) of the second hall sensor 402b are connected to form an input terminal.

第1のホールセンサ402aの正極出力端子402a(B)と負極出力端子402a(D)は、信号処理回路406の第1の差動増幅器407aに接続され、第2のホールセンサ402bの正極出力端子402b(F)と負極出力端子402b(H)は、信号処理回路406の第2の差動増幅器407bに接続される。   The positive output terminal 402a (B) and the negative output terminal 402a (D) of the first hall sensor 402a are connected to the first differential amplifier 407a of the signal processing circuit 406, and the positive output terminal of the second hall sensor 402b. 402 b (F) and the negative output terminal 402 b (H) are connected to the second differential amplifier 407 b of the signal processing circuit 406.

第1の差動増幅器407aの出力端子と第2の差動増幅器407bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部408に伝達される。   The output terminal of the first differential amplifier 407a and the output terminal of the second differential amplifier 407b are input to an AD converter and transmitted to a calculation processing unit 408 that appropriately calculates an output.

計算処理部408は、以下の処理を行って位置検出を行う。   The calculation processing unit 408 performs position detection by performing the following processing.

<実施例3の計算処理部の処理>
計算処理部408では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板403上に配置された2個の磁気センサ402a,402bにおいて、磁気センサ402a及び402bからのそれぞれの出力をV4011,V4021とした場合、出力V4011,V4021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R401における正弦波の値sin(R401)と余弦波の値cos(R401)の組を用いて、
a×V4011×cos(R401)
−b×V4021×sin(R401)・・・(3)
の値が最もゼロに近づく電気角R401をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 3>
In the calculation processing unit 408, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held on a table in advance. In the two magnetic sensors 402a and 402b arranged on the substrate 403, when the respective outputs from the magnetic sensors 402a and 402b are V4011, V4021, the values obtained by multiplying the outputs V4011, V4021 by real numbers, respectively, and on the table Using a set of a sinusoidal value sin (R401) and a cosine wave value cos (R401) at the held electrical angle R401,
a × V4011 × cos (R401)
-B * V4021 * sin (R401) (3)
First, an electrical angle R401 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo4=√((a×V4011)2+(b×V4021)2)・・・(4)
の関係式から求められる値Vo4及び電気角R401を用いて、図19で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『2』で示される曲線であるため、磁石の移動距離に対するVo4の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo4の値のみでは判断できない。そこでVo4及びR401を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo4 = √ ((a × V4011) 2 + (b × V4021) 2 ) (4)
Using the value Vo4 and the electrical angle R401 obtained from the relational expression, the Nth period is obtained in the damped oscillation wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is a curve indicated by “2” in FIG. 17, the value of Vo4 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo4. Therefore, using Vo4 and R401, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo4の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ402aの出力V4011がゼロを示した際のVo4の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo4値をV(N)とし、N−1番目の周期の電気角360度におけるVo4値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo4≧V(N−1)かつR401≦Rs度
または、
V(N−1)>Vo4>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo4≧V(N)かつR401≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置400の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo4 at an electrical angle of 360 degrees per cycle is held in the memory. The value to be held may be, for example, a value obtained by simulation in advance, or when the output V4011 of the Hall sensor 402a indicates zero when performing individual calibration by moving the magnet. The value of Vo4 may be held. Next, when the Vo4 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo4 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo4 ≧ V (N−1) and R401 ≦ Rs degrees, or
V (N-1)>Vo4> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo4 ≧ V (N) and R401 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 400, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R401及び周期N番目の値を用いて、
P400=P×(N−1)+(R401×P÷360)・・・(5)
の関係式から求められる値P400を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R401 and the Nth value of the cycle,
P400 = P × (N−1) + (R401 × P ÷ 360) (5)
Position detection is performed using a value P400 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

つまり、計算処理部408は、1周期内の電気角Aに対する正弦波の値Vs1及び余弦波の値Vc1の組をあらかじめテーブルに記憶しておき、ホールセンサ402a,402bからの減衰正弦波状の出力値又は増幅正弦波状の出力値V12をc倍した出力値及び減衰余弦波状の出力値又は増幅正弦波状の出力値V22をd倍した出力値を
c×V12×Vc1−d×V22×Vs1=0
(ただしc及びdは実数)
の関係式が成り立つ電気角Aを求め、
Vo2=√((c×V12)2+(d×V22)2
の関係式から求められる算出値Vo2及び電気角Aにより、減衰振動波状の出力信号又は増幅正弦波状の出力信号においてB番目の周期に位置することを見極め、減衰振動波状の出力信号又は増幅正弦波状の出力信号の1周期の距離をCとした場合に、
D=C×(B−1)+(A×C÷360)
の関係式から求められる位置Dが求めたい検出位置である。
That is, the calculation processing unit 408 stores in advance a set of a sine wave value Vs1 and a cosine wave value Vc1 for the electrical angle A within one cycle in a table, and outputs attenuated sine waves from the Hall sensors 402a and 402b. The output value obtained by multiplying the value or amplified sine wave-like output value V12 by c and the output value obtained by reducing the attenuation cosine wave-like output value or the amplified sine wave-like output value V22 by d times c × V12 × Vc1−d × V22 × Vs1 = 0
(Where c and d are real numbers)
The electrical angle A for which the relational expression of
Vo2 = √ ((c × V12) 2 + (d × V22) 2 )
From the calculated value Vo2 and the electrical angle A obtained from the relational equation (1), it is determined that the output signal is a damped oscillation wave-like output signal or an amplified sine wave output signal or an amplified sine wave-like output signal. When the distance of one cycle of the output signal is C,
D = C × (B−1) + (A × C ÷ 360)
The position D obtained from the relational expression is a detection position to be obtained.

なお、本実施例3では、第1のホールセンサ402aと第2のホールセンサ402bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器407a,407bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the third embodiment, the input terminals of the first hall sensor 402a and the second hall sensor 402b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 407a and 407b.

<実施例3の位置検出例>
次に、本発明に係る位置検出装置400の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図18(a),(b)における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 3>
Next, a specific position detection example of the position detection device 400 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIGS. 18A and 18B will be described.

図21(a),(b)は、図18(a),(b)に示した位置検出装置に対応する構成図で、図21(a)は断面図、図21(b)は上面図である。   FIGS. 21A and 21B are configuration diagrams corresponding to the position detection device shown in FIGS. 18A and 18B, FIG. 21A being a cross-sectional view, and FIG. 21B being a top view. It is.

図21(a),(b)に示すように、直方体磁石401の長辺方向Xの長さA401=9.0mm、直方体磁石401の短辺方向Yの長さA402=1.0mm、直方体磁石401の厚み方向Zの長さ(磁石の着磁方向の長さ)A403=0.5mm、着磁された磁石の1周期分の長さA404=1.0mmとする。   As shown in FIGS. 21A and 21B, the length A401 of the cuboid magnet 401 in the long side direction X = 9.0 mm, the length A402 of the cuboid magnet 401 in the short side direction Y = 1.0 mm, and the cuboid magnet The length 401 in the thickness direction Z (the length in the magnetizing direction of the magnet) A403 = 0.5 mm, and the length A404 of one period of the magnetized magnet is set to 1.0 mm.

また、直方体磁石401のホールセンサ402a,402bに対向する平面409からホールセンサ402a,402bの感磁部の中心までの距離B401=0.25mm、第1のホールセンサ402aの感磁部の中心と第2のホールセンサ402bの感磁部の中心との距離B402=0.25mmとする。   Further, the distance B401 = 0.25 mm from the plane 409 facing the hall sensors 402a and 402b of the rectangular parallelepiped magnet 401 to the center of the magnetism sensing part of the hall sensors 402a and 402b, and the center of the magnetism sensing part of the first hall sensor 402a The distance B402 = 0.25 mm from the center of the magnetic sensitive part of the second hall sensor 402b.

上記設計の際、ホールセンサ402a,402bを1つのパッケージ内に搭載する方が、ホールセンサ402a,402bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ402a,402bを設けることも可能である。   In the above design, mounting the Hall sensors 402a and 402b in one package reduces the arrangement error of the Hall sensors 402a and 402b, and can contribute to higher accuracy of the position detection device. For example, it is possible to provide Hall sensors 402a and 402b on a Si substrate.

従って、第1のホールセンサ402aと第2のホールセンサ402bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 402a and the second hall sensor 402b in one package.

図22及び図23は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   22 and 23 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet.

図22は、磁石の移動距離に対する第1のホールセンサ402aの出力電圧を2倍した値2×V4011の変化L4011を示す図である。図23は、磁石の移動距離に対する第2のホールセンサ402bの出力電圧を2倍した値2×V4021の変化L4021を示す図である。   FIG. 22 is a diagram illustrating a change L4011 of a value 2 × V4011 obtained by doubling the output voltage of the first Hall sensor 402a with respect to the moving distance of the magnet. FIG. 23 is a diagram showing a change L4021 of a value 2 × V4021 obtained by doubling the output voltage of the second Hall sensor 402b with respect to the moving distance of the magnet.

図24は、磁石の移動距離に対する√((2×V4011)2+(2×V4021)2)の変化L4031を示す図である。 FIG. 24 is a diagram illustrating a change L4031 of √ ((2 × V4011) 2 + (2 × V4021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ402a,402bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『2』で示される曲線になるよう、直方体磁石401の各極における中央の表面磁束密度の絶対値が、190mT〜80mTまで単調減少するよう着磁されているとして行う。   As a premise for the magnetic simulation, the sensitivity of the two Hall sensors 402a and 402b is 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “2” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the rectangular magnet 401 is magnetized so as to monotonously decrease from 190 mT to 80 mT.

図24に示した、磁石の移動距離に対する√((2×V4011)2+(2×V4021)2)の変化L4031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L4031 of √ ((2 × V4011) 2 + (2 × V4021) 2 ) with respect to the moving distance of the magnet shown in FIG. 24 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ402aの出力電圧を2倍した値2×V4011と、磁石の移動距離に対する第2のホールセンサ402bの出力電圧を2倍した値2×V4021の変化L4021と、任意の電気角R401における正弦波の値sin(R401)と余弦波の値cos(R401)の組を用いて、2×V4011×cos(R401)−2×V4021×sin(R401)の値が最もゼロに近づくR401を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V4011 obtained by doubling the output voltage of the first Hall sensor 402a with respect to the moving distance of the magnet, and a change L4021 of a value 2 × V4021 obtained by doubling the output voltage of the second Hall sensor 402b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R401) and a cosine wave value cos (R401) at an arbitrary electrical angle R401, the value of 2 × V4011 × cos (R401) −2 × V4021 × sin (R401) is obtained. Find R401 that is closest to zero.

次に、Vo4=√((2×V4011)2+(2×V4021)2)の関係式からVo4を求める。 Next, Vo4 is obtained from the relational expression of Vo4 = √ ((2 × V4011) 2 + (2 × V4021) 2 ).

次に、周期毎の電気角360度におけるVo4の値をメモリに保持させる。本実施例3では、
1周期目の電気角360度の場合、Vo4=328.22mV
2周期目の電気角360度の場合、Vo4=309.57mV
3周期目の電気角360度の場合、Vo4=285.89mV
4周期目の電気角360度の場合、Vo4=257.75mV
5周期目の電気角360度の場合、Vo4=225.28mV
6周期目の電気角360度の場合、Vo4=188.56mV
7周期目の電気角360度の場合、Vo4=147.61mV
をメモリに保持させることになる。
Next, the value of Vo4 at an electrical angle of 360 degrees per cycle is stored in the memory. In this example 3,
In the case of an electrical angle of 360 degrees in the first cycle, Vo4 = 328.22 mV
In the case of an electrical angle of 360 degrees in the second period, Vo4 = 309.57 mV
In the case of an electrical angle of 360 degrees in the third period, Vo4 = 285.89 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo4 = 257.75 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo4 = 225.28 mV
In the case of an electrical angle of 360 degrees in the sixth cycle, Vo4 = 188.56 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo4 = 147.61 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo4もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo4の値の1.2倍の値をメモリに保持させる。   In order to specify that it is the first period, it is necessary to store Vo4 in the case of 360 degrees in the zero period in the memory. In this case, a value 1.2 times the value of Vo4 at the electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo4=393.86mV
次に、N番目の周期の電気角360度におけるVo4値をV(N)とし、N−1番目の周期の電気角360度におけるVo4値をV(N−1)とした場合、(V(N−1)×1.031)≧Vo4≧V(N−1)かつR401≦300度、または、V(N−1)>Vo4>(V(N)×1.031)、または、(V(N)×1.031)≧Vo4≧V(N)かつR401≧300度であればN番目の周期であると特定する。
In the case of an electrical angle of 360 degrees in the 0th cycle, Vo4 = 393.86 mV
Next, when the Vo4 value at the electrical angle 360 degrees of the Nth cycle is V (N) and the Vo4 value at the electrical angle 360 degrees of the N-1th cycle is V (N-1), (V ( N-1) × 1.031) ≧ Vo4 ≧ V (N−1) and R401 ≦ 300 degrees, or V (N−1)>Vo4> (V (N) × 1.031), or (V If (N) × 1.031) ≧ Vo4 ≧ V (N) and R401 ≧ 300 degrees, the Nth cycle is specified.

次に、求められた電気角R401及び周期N番目の値を用いて、P400=1000×(N−1)+(R401×1000÷360)の関係式から求められる値P400を用いて位置検出を行う。   Next, position detection is performed using a value P400 obtained from a relational expression of P400 = 1000 × (N−1) + (R401 × 1000 ÷ 360) using the obtained electrical angle R401 and the Nth value of the cycle. Do.

図25は、磁石の移動距離に対するP400の変化L4041を示す図である。図25より7mmの位置検出範囲において、P400が高い線形性を持つことがわかる。   FIG. 25 is a diagram showing a change L4041 of P400 with respect to the moving distance of the magnet. FIG. 25 shows that P400 has high linearity in a position detection range of 7 mm.

図26は、磁石の移動距離に対する、実際の位置とP400との誤差の変化L4051を示す図である。図26より7mmの位置検出範囲において、±24μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 26 is a diagram showing a change L4051 in error between the actual position and P400 with respect to the moving distance of the magnet. 26 that the absolute position can be detected with an error within ± 24 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L4051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、後述するその他実施例(例えば、実施例6)を適用すると良い。   When there are various errors such as variations in magnetization intensity and mounting variations, naturally, the magnetic simulation result L4051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) described later may be applied to reduce the position detection error.

上述のように演算中の係数a及びb及びVs及びRsの値をそれぞれ、a=b=2、Vs=103.1%、Rs=300度として演算を行ったが、この数値が異なっても、位置検出装置400において、直方体磁石401の長辺方向Xの長さA401、直方体磁石401の短辺方向Yの長さA402、直方体磁石401の厚み方向Zの長さ(磁石の着磁方向の長さ)A403、着磁された磁石の1周期分の長さA404、直方体磁石401のホールセンサ402a,402bに対向する平面409からホールセンサ402a,402bの感磁部の中心までの距離B401、ホールセンサ402aの感磁部の中心とホールセンサ402bの感磁部の中心との距離B402、直方体磁石401の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the calculation is performed with the coefficients a and b and the values of Vs and Rs being calculated as a = b = 2, Vs = 103.1%, and Rs = 300 degrees. In the position detection device 400, the length A401 of the cuboid magnet 401 in the long side direction X, the length A402 of the cuboid magnet 401 in the short side direction Y, the length of the cuboid magnet 401 in the thickness direction Z (the magnet magnetization direction) Length) A403, length A404 of one period of magnetized magnets, distance B401 from the plane 409 facing the hall sensors 402a and 402b of the rectangular parallelepiped magnet 401 to the center of the magnetic sensing part of the hall sensors 402a and 402b, By optimizing the adjustment of the distance B402 between the center of the magnetic sensing part of the Hall sensor 402a and the center of the magnetic sensing part of the Hall sensor 402b and the magnetization intensity of the rectangular parallelepiped magnet 401, the comparison with the comparative example. There results are obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ402a,402bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 402a and 402b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ402a,402bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ402a,402bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 402a and 402b do not have a magnetic chip for performing magnetic amplification. The Hall sensors 402a and 402b have a magnetic chip inside, and a configuration for amplifying the detection magnetic field of the sensor portion is known. However, in the configuration of the present invention, the magnetic saturation of the magnetic chip becomes a problem, and it is wide. It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV4011,V4021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R401における正弦波の値sin(R401)と余弦波の値cos(R401)とし、1周期の間に磁石が移動する距離をPとした場合、a×V4011×cos(R401)−b×V4021×sin(R401)の値が最もゼロに近づく電気角R401と、Vo4=√((a×V4011)2+(b×V4021)2)の関係式から得られる値Vo4とを用いて得られた周期N番目と、電気角R401とから、P400=P×(N−1)+(R401×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. A magnet in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval with respect to the substrate is arranged, and the output obtained by multiplying the outputs of the two Hall sensors by a real number is designated as V4011, V4021. A set of a sine wave value and a cosine wave value corresponding to the electrical angle is stored on a table in advance, and a sine wave value sin (R401) and a cosine wave value cos (R401) at an arbitrary electrical angle R401 are stored. When the distance that the magnet moves during one cycle is P, the electrical angle R401 where the value of a × V4011 × cos (R401) −b × V4021 × sin (R401) is closest to zero and Vo4 = √ ( (A × V4011) 2 + (B × V4021) 2 ), the value Vo4 obtained from the relational expression V4, and the electrical angle R401, P400 = P × (N−1) + (R401 × P ÷ 360 ) Is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Therefore, the Hall sensor is used as a magnetic sensor, and the components can be easily obtained as general-purpose products. Even when configured with parts, a position detector that can achieve downsizing with a simple configuration and that can perform absolute position detection over a wide range of distances with high accuracy and its position detection. An electronic device using the apparatus can be manufactured.

本発明に係る位置検出装置の実施例4を図27(a),(b)乃至図35に基づいて以下に説明する。   A fourth embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 27 (a) and (b) to FIG.

本実施例4は、実施例1の変形例であり、位置検出装置100において、直方体磁石101の移動に伴って、ホールセンサ102a,102bの出力がリニアではなく、単調減少するよう直方体磁石101の着磁を変更した場合の例である。なお、先の実施例3でも述べたように、本実施例4では、1つのホールセンサの出力ピーク値を結んだ図17において、『3』の曲線となる場合の実施例を示す。   The fourth embodiment is a modification of the first embodiment, and in the position detection device 100, the output of the hall sensors 102a and 102b is not linear and decreases monotonously with the movement of the cuboid magnet 101. This is an example when the magnetization is changed. As described in the third embodiment, the fourth embodiment shows an example in which a curve “3” is obtained in FIG. 17 in which the output peak values of one hall sensor are connected.

<実施例4の構成>
図27(a)、(b)は、本発明に係る位置検出装置の実施例4を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図27(a)は断面図、図27(b)は上面図を示している。
<Configuration of Example 4>
FIGS. 27A and 27B are schematic configuration diagrams for explaining the position detection device according to the fourth embodiment of the present invention. The position detection device uses two Hall sensors aligned on one axis. FIG. 27A is a cross-sectional view, and FIG. 27B is a top view.

位置検出装置500は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)501と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)502a,502bと、ホールセンサ502a(第1のホールセンサ)と、ホールセンサ502b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板503とを備えている。なお、本発明に係る位置検出装置500は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detecting device 500 includes a rectangular parallelepiped magnet (magnetic flux generating means) 501 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two sets. 502a, 502b, a hall sensor 502a (first hall sensor), a hall sensor 502b (second hall sensor), and a substrate 503 on which these two hall sensors are mounted. Note that the position detection device 500 according to the present invention can be configured using magnets of various shapes and various Hall sensors.

ホールセンサ502a,502bは、基板503上に所定の間隔で配置され、感磁方向が基板503に対して垂直である。直方体磁石501は、ホールセンサ502a,502bからの信号を所定の演算を行った際に、図28に示される信号となるよう着磁された構成となっており、基板503と対向する1平面509内で、X方向に沿って移動可能に配置されている。   The Hall sensors 502 a and 502 b are arranged on the substrate 503 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 503. The rectangular parallelepiped magnet 501 is configured to be magnetized so as to be a signal shown in FIG. 28 when a predetermined calculation is performed on signals from the hall sensors 502 a and 502 b, and a single plane 509 facing the substrate 503. It is arranged so as to be movable along the X direction.

図28は、図27(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 28 is a waveform diagram showing output signals of two hall sensors obtained by moving a rectangular magnet or two hall sensors in the position detection device shown in FIGS. 27 (a) and 27 (b). is there.

ホールセンサ502a,502b(固定)に対して直方体磁石501を基準位置からX方向に沿って移動された場合には、一方のホールセンサ502aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ502bの出力信号は、図中の黒丸のように、一方のホールセンサ502aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 501 is moved from the reference position along the X direction with respect to the hall sensors 502a and 502b (fixed), the output signal of one hall sensor 502a is damped as shown by the white square in the figure. The waveform output signal is shown, and the output signal of the other hall sensor 502b is an output signal of a damped oscillation waveform out of phase with the output signal of one hall sensor 502a, as indicated by a black circle in the figure.

直方体磁石501は、ホールセンサ502a,502bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板503に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ502a、502bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 501 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 502a and 502b and parallel to the substrate 503. A plurality of sets are magnetized so as to be a distance that is four times the distance connecting the centers of the magnetic sensing parts of the Hall sensors 502a and 502b.

ここで、ホールセンサ502a,502bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板503に平行な平面内を移動可能という意味は、ホールセンサ502a,502bの感磁部の中心間を結ぶ直線と直方体磁石501の移動方向を示す直線とを、基板503に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being able to move in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 502a and 502b and parallel to the substrate 503 is the center of the magnetic sensing parts of the Hall sensors 502a and 502b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 501 are projected on any same plane parallel to the substrate 503, the respective extension lines are parallel.

直方体磁石501は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板503に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 501, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the substrate 503.

1組のホールセンサとして構成された、第1のホールセンサ502aの感磁部中心と、第2のホールセンサ502bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ502aと502bは、直方体磁石501の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 502a and the center of the magnetic sensing part of the second hall sensor 502b, configured as a set of hall sensors, is also in the X direction. Hall sensors 502a and 502b are arranged at positions facing the surface of the rectangular parallelepiped magnet 501.

図27(a),(b)において、A501は直方体磁石501の長辺方向Xの長さ、A502は直方体磁石501の短辺方向Yの長さ、A503は直方体磁石501の厚み(着磁)方向Zの長さ、A504は着磁された磁石の1周期分の長さをそれぞれ示す。また、B501は、直方体磁石501のホールセンサ502a,502bの基板503に対向する平面509から、ホールセンサ502aと502bの感磁部の中心までの距離を示す。B502は、第1のホールセンサ502aの感磁部の中心と、第2のホールセンサ502bの感磁部の中心とを結ぶ距離を示す。   27A and 27B, A501 is the length in the long side direction X of the cuboid magnet 501, A502 is the length in the short side direction Y of the cuboid magnet 501, and A503 is the thickness (magnetization) of the cuboid magnet 501. The length in the direction Z, A504, indicates the length of one period of the magnetized magnet. B501 indicates the distance from the plane 509 facing the substrate 503 of the hall sensors 502a and 502b of the rectangular parallelepiped magnet 501 to the centers of the magnetic sensing parts of the hall sensors 502a and 502b. B502 indicates a distance connecting the center of the magnetic sensing part of the first hall sensor 502a and the center of the magnetic sensing part of the second hall sensor 502b.

ホールセンサ502a,502bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   Hall sensors 502a and 502b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図29は、図27(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置500は、2個のホールセンサ502a,502bを有する駆動回路505と、このホールセンサ502a,502bからのそれぞれの出力に基づいて位置検出を行う信号処理回路506とを備えている。   FIG. 29 is a circuit diagram of the position detection circuit of the position detection device shown in FIGS. 27 (a) and 27 (b). The position detection device 500 includes a drive circuit 505 having two hall sensors 502a and 502b, and a signal processing circuit 506 that performs position detection based on outputs from the hall sensors 502a and 502b.

駆動回路505は、1組のホールセンサ502a,502bと、これらのホールセンサ502a,502bに電圧を供給する電源部Vddとから構成される。   The drive circuit 505 includes a set of hall sensors 502a and 502b and a power supply unit Vdd that supplies a voltage to the hall sensors 502a and 502b.

第1のホールセンサ502aは、正極入力端子502a(A)と、正極出力端子502a(B)と、負極入力端子502a(C)と、負極出力端子502a(D)とから構成される。   The first hall sensor 502a includes a positive input terminal 502a (A), a positive output terminal 502a (B), a negative input terminal 502a (C), and a negative output terminal 502a (D).

第2のホールセンサ502bは、正極入力端子502b(E)と、正極出力端子502b(F)と、負極入力端子502b(G)と、負極出力端子502b(H)とから構成される。   The second hall sensor 502b includes a positive input terminal 502b (E), a positive output terminal 502b (F), a negative input terminal 502b (G), and a negative output terminal 502b (H).

正極出力端子502a(B)と負極出力端子502a(D)とは、差動増幅器507aの入力信号となり、差動増幅器507aからはV5011が出力される。正極出力端子502b(F)と負極出力端子502b(H)とは、差動増幅器507bの入力信号となり、差動増幅器507bからはV5021が出力される。   The positive output terminal 502a (B) and the negative output terminal 502a (D) serve as input signals to the differential amplifier 507a, and V5011 is output from the differential amplifier 507a. The positive output terminal 502b (F) and the negative output terminal 502b (H) serve as input signals to the differential amplifier 507b, and V5021 is output from the differential amplifier 507b.

信号処理部506は、差動増幅器507a,507bと、計算処理部508とにより構成される。この信号処理部506では、ホールセンサ502a,502bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 506 includes differential amplifiers 507a and 507b and a calculation processing unit 508. The signal processing unit 506 performs position detection based on the respective outputs from the hall sensors 502a and 502b.

<実施例4の回路動作>
以下に、本実施例4の位置検出装置500の動作について説明する。
図29に示す信号処理部506は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。
<Circuit Operation of Example 4>
Hereinafter, the operation of the position detection apparatus 500 according to the fourth embodiment will be described.
The signal processing unit 506 shown in FIG. 29 is on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路505において、第1のホールセンサ502aの正極入力端子502a(A)と、第2のホールセンサ502bの正極入力端子502b(E)とが接続されることによって入力端子とされ、第1のホールセンサ502aの負極入力端子502a(C)と、第2のホールセンサ502bの負極入力端子502b(G)とが接続されることによって入力端子とされる。   In the drive circuit 505, the positive input terminal 502a (A) of the first hall sensor 502a and the positive input terminal 502b (E) of the second hall sensor 502b are connected to form an input terminal. The negative input terminal 502a (C) of the hall sensor 502a and the negative input terminal 502b (G) of the second hall sensor 502b are connected to form an input terminal.

第1のホールセンサ502aの正極出力端子502a(B)と負極出力端子502a(D)は、信号処理回路506の第1の差動増幅器507aに接続され、第2のホールセンサ502bの正極出力端子502b(F)と負極出力端子502b(H)は、信号処理回路506の第2の差動増幅器507bに接続される。   The positive output terminal 502a (B) and the negative output terminal 502a (D) of the first hall sensor 502a are connected to the first differential amplifier 507a of the signal processing circuit 506, and the positive output terminal of the second hall sensor 502b. 502 b (F) and the negative output terminal 502 b (H) are connected to the second differential amplifier 507 b of the signal processing circuit 506.

第1の差動増幅器507aの出力端子と第2の差動増幅器507bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部508に伝達される。   The output terminal of the first differential amplifier 507a and the output terminal of the second differential amplifier 507b are input to an AD converter and transmitted to a calculation processing unit 508 that calculates an output as appropriate.

計算処理部508は、以下の処理を行って位置検出を行う。   The calculation processing unit 508 performs position detection by performing the following processing.

<実施例4の計算処理部の処理>
計算処理部508では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板503上に配置された2個の磁気センサ502a,502bにおいて、磁気センサ502a及び502bからのそれぞれの出力をV5011,V5021とした場合、出力V5011,V5021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R501における正弦波の値sin(R501)と余弦波の値cos(R501)の組を用いて、
a×V5011×cos(R501)
−b×V5021×sin(R501)・・・(6)
の値が最もゼロに近づく電気角R501をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 4>
In the calculation processing unit 508, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held on a table in advance. In the two magnetic sensors 502a and 502b arranged on the substrate 503, when the outputs from the magnetic sensors 502a and 502b are V5011 and V5021, the values obtained by multiplying the outputs V5011 and V5021 by real numbers, respectively, on the table Using a set of a sinusoidal value sin (R501) and a cosine wave value cos (R501) at the held electrical angle R501,
a × V5011 × cos (R501)
-B * V5021 * sin (R501) (6)
First, an electrical angle R501 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo5=√((a×V5011)2+(b×V5021)2)・・・(7)
の関係式から求められる値Vo5及び電気角R501を用いて、図28で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo5の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo5の値のみでは判断できない。そこでVo5及びR501を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo5 = √ ((a × V5011) 2 + (b × V5021) 2 ) (7)
Using the value Vo5 and the electrical angle R501 obtained from the relational expression, the Nth period is obtained in the damped vibration wave output shown in FIG. Since the curve connecting the output peak values of one hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo5 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo5. Therefore, using Vo5 and R501, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo5の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ502aの出力V5011がゼロを示した際のVo5の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo5値をV(N)とし、N−1番目の周期の電気角360度におけるVo5値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo5≧V(N−1)かつR501≦Rs度
または、
V(N−1)>Vo5>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo5≧V(N)かつR501≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置500の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo5 at an electrical angle of 360 degrees per cycle is held in the memory. The value to be held may be, for example, a value obtained in advance by simulation, or when the output V5011 of the Hall sensor 502a indicates zero when performing individual calibration by moving the magnet. The value of Vo5 may be held. Next, when the Vo5 value at the electrical angle 360 degrees of the Nth cycle is V (N) and the Vo5 value at the electrical angle 360 degrees of the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo5 ≧ V (N−1) and R501 ≦ Rs degree or
V (N-1)>Vo5> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo5 ≧ V (N) and R501 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 500, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R501及び周期N番目の値を用いて、
P500=P×(N−1)+(R501×P÷360)・・・(8)
の関係式から求められる値P500を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R501 and the Nth value of the cycle,
P500 = P × (N−1) + (R501 × P ÷ 360) (8)
Position detection is performed using a value P500 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例4では、第1のホールセンサ502aと第2のホールセンサ502bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器507a,507bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the fourth embodiment, the input terminals of the first hall sensor 502a and the second hall sensor 502b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 507a and 507b.

<実施例4の位置検出例>
次に、本発明に係る位置検出装置500の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図27における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 4>
Next, a specific position detection example of the position detection apparatus 500 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 27 will be described.

図30(a),(b)は、図27(a),(b)に示した位置検出装置に対応する構成図で、図30(a)は断面図、図30(b)は上面図である。   30 (a) and 30 (b) are configuration diagrams corresponding to the position detection device shown in FIGS. 27 (a) and 27 (b), FIG. 30 (a) is a cross-sectional view, and FIG. 30 (b) is a top view. It is.

図30(a),(b)に示すように、直方体磁石501の長辺方向Xの長さA501=9.0mm、直方体磁石501の短辺方向Yの長さA502=1.0mm、直方体磁石501の厚み方向Zの長さ(磁石の着磁方向の長さ)A503=0.5mm、着磁された磁石の1周期分の長さA504=1.0mmとする。   As shown in FIGS. 30A and 30B, the length A501 of the rectangular parallelepiped magnet 501 in the long side direction X = 9.0 mm, the length A502 of the rectangular parallelepiped magnet 501 in the short side direction A502 = 1.0 mm, and the rectangular parallelepiped magnet. The length in the thickness direction Z of 501 (the length in the magnetizing direction of the magnet) A503 = 0.5 mm, and the length A504 of one period of the magnetized magnet = 1.0 mm.

また、直方体磁石501のホールセンサ502a,502bに対向する平面509からホールセンサ502a,502bの感磁部の中心までの距離B501=0.25mm、第1のホールセンサ502aの感磁部の中心と第2のホールセンサ502bの感磁部の中心との距離B502=0.25mmとする。   Further, the distance B501 = 0.25 mm from the plane 509 facing the Hall sensors 502a and 502b of the rectangular magnet 501 to the center of the magnetic sensor of the Hall sensors 502a and 502b, and the center of the magnetic sensor of the first Hall sensor 502a The distance B502 = 0.25 mm from the center of the magnetic sensitive part of the second hall sensor 502b is set.

上記設計の際、ホールセンサ502a,502bを1つのパッケージ内に搭載する方が、ホールセンサ502a,502bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ502a,502bを設けることも可能である。   In the above design, mounting the Hall sensors 502a and 502b in one package reduces the arrangement error of the Hall sensors 502a and 502b, and can contribute to higher accuracy of the position detection device. For example, it is also possible to provide Hall sensors 502a and 502b on a Si substrate.

従って、第1のホールセンサ502aと第2のホールセンサ502bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 502a and the second hall sensor 502b in one package.

図31及び図32は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   31 and 32 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet.

図31は、磁石の移動距離に対する第1のホールセンサ502aの出力電圧を2倍した値2×V5011の変化L5011を示す図である。図32は、磁石の移動距離に対する第2のホールセンサ502bの出力電圧を2倍した値2×V5021の変化L5021を示す図である。   FIG. 31 is a diagram showing a change L5011 of a value 2 × V5011 obtained by doubling the output voltage of the first Hall sensor 502a with respect to the moving distance of the magnet. FIG. 32 is a diagram showing a change L5021 of a value 2 × V5021 obtained by doubling the output voltage of the second Hall sensor 502b with respect to the moving distance of the magnet.

図33は、磁石の移動距離に対する√((2×V5011)2+(2×V5021)2)の変化L5031を示す図である。 FIG. 33 is a diagram showing a change L5031 of √ ((2 × V5011) 2 + (2 × V5021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ502a,502bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、直方体磁石501の各極における中央の表面磁束密度の絶対値が、190mT〜80mTまで単調減少するよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two Hall sensors 502a and 502b is set to 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “3” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the rectangular magnet 501 is magnetized so as to monotonously decrease from 190 mT to 80 mT so that the curve indicated by

図33に示した、磁石の移動距離に対する√((2×V5011)2+(2×V5021)2)の変化L5031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L5031 of √ ((2 × V5011) 2 + (2 × V5021) 2 ) with respect to the moving distance of the magnet shown in FIG. 33 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ502aの出力電圧を2倍した値2×V5011と、磁石の移動距離に対する第2のホールセンサ502bの出力電圧を2倍した値2×V5021の変化L5021と、任意の電気角R501における正弦波の値sin(R501)と余弦波の値cos(R501)の組を用いて、2×V5011×cos(R501)−2×V5021×sin(R501)の値が最もゼロに近づくR501を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V5011 obtained by doubling the output voltage of the first Hall sensor 502a with respect to the moving distance of the magnet, and a change L5021 of a value 2 × V5021 obtained by doubling the output voltage of the second Hall sensor 502b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R501) and a cosine wave value cos (R501) at an arbitrary electrical angle R501, the value of 2 × V5011 × cos (R501) −2 × V5021 × sin (R501) is Find R501 closest to zero.

次に、Vo5=√((2×V5011)2+(2×V5021)2)の関係式からVo5を求める。 Next, Vo5 is obtained from a relational expression of Vo5 = √ ((2 × V5011) 2 + (2 × V5021) 2 ).

次に、周期毎の電気角360度におけるVo5の値をメモリに保持させる。本実施例4では、
1周期目の電気角360度の場合、Vo5=260.00mV
2周期目の電気角360度の場合、Vo5=219.84mV
3周期目の電気角360度の場合、Vo5=183.24mV
4周期目の電気角360度の場合、Vo5=150.69mV
5周期目の電気角360度の場合、Vo5=122.33mV
6周期目の電気角360度の場合、Vo5=98.16mV
7周期目の電気角360度の場合、Vo5=78.16mV
をメモリに保持させることになる。
Next, the value of Vo5 at an electrical angle of 360 degrees per cycle is held in the memory. In this example 4,
In the case of an electrical angle of 360 degrees in the first cycle, Vo5 = 260.00 mV
In the case of an electrical angle of 360 degrees in the second period, Vo5 = 219.84 mV
In the case of an electrical angle of 360 degrees in the third period, Vo5 = 183.24 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo5 = 150.69 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo5 = 122.33 mV
In the case of an electrical angle of 360 degrees in the sixth cycle, Vo5 = 98.16 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo5 = 78.16 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo5もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo5の値の1.2倍の値をメモリに保持させる。   In order to specify the first period, it is necessary to store Vo5 in the case of 360 degrees in the zero period in the memory. In this case, a value 1.2 times the value of Vo5 at the electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo5=312.00mV
次に、N番目の周期の電気角360度におけるVo5値をV(N)とし、N−1番目の周期の電気角360度におけるVo5値をV(N−1)とした場合、(V(N−1)×1.05)≧Vo5≧V(N−1)かつR501≦200度、または、V(N−1)>Vo5>(V(N)×1.05)、または、(V(N)×1.05)≧Vo5≧V(N)かつR501≧200度であればN番目の周期であると特定する。
In the case of an electrical angle of 360 degrees in the 0th cycle, Vo5 = 312.00 mV
Next, when the Vo5 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo5 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1), (V ( N-1) × 1.05) ≧ Vo5 ≧ V (N−1) and R501 ≦ 200 degrees, or V (N−1)>Vo5> (V (N) × 1.05), or (V If (N) × 1.05) ≧ Vo5 ≧ V (N) and R501 ≧ 200 degrees, the Nth cycle is specified.

次に、求められた電気角R501及び周期N番目の値を用いて、P500=1000×(N−1)+(R501×1000÷360)の関係式から求められる値P500を用いて位置検出を行う。   Next, position detection is performed using a value P500 obtained from a relational expression of P500 = 1000 × (N−1) + (R501 × 1000 ÷ 360) using the obtained electrical angle R501 and the Nth value of the cycle. Do.

図34は、磁石の移動距離に対するP500の変化L5041を示す図である。図34より7mmの位置検出範囲において、P500が高い線形性を持つことがわかる。   FIG. 34 is a diagram showing a change L5041 in P500 with respect to the moving distance of the magnet. FIG. 34 shows that P500 has high linearity in the position detection range of 7 mm.

図35は、磁石の移動距離に対する、実際の位置とP500との誤差の変化L5051を示す図である。図35より7mmの位置検出範囲において、±21μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 35 is a diagram showing a change L5051 in error between the actual position and P500 with respect to the moving distance of the magnet. FIG. 35 shows that the absolute position can be detected with an error within ± 21 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L5051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、後述するその他実施例(例えば、実施例6)を適用すると良い。   When there are various errors such as variations in magnetization intensity and mounting variations, naturally, the magnetic simulation result L5051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) described later may be applied to reduce the position detection error.

上述のように演算中の係数a及びb、Vs及びRsの値をそれぞれ、a=b=2、Vs=105%、Rs=200度として演算を行ったが、この数値が異なっても、位置検出装置500において、直方体磁石501の長辺方向Xの長さA501、直方体磁石501の短辺方向Yの長さA502、直方体磁石501の厚み方向Zの長さ(磁石の着磁方向の長さ)A503、着磁された磁石の1周期分の長さA504、直方体磁石501のホールセンサ502a,502bに対向する平面509からホールセンサ502a,502bの感磁部の中心までの距離B501、ホールセンサ502aの感磁部の中心とホールセンサ502bの感磁部の中心との距離B502、直方体磁石501の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b, Vs, and Rs being calculated are set as a = b = 2, Vs = 105%, and Rs = 200 degrees. In the detection device 500, the length A501 of the rectangular parallelepiped magnet 501 in the long side direction X, the length A502 of the rectangular parallelepiped magnet 501 in the short side direction Y, the length of the rectangular parallelepiped magnet 501 in the thickness direction Z (the length in the magnetizing direction of the magnet). ) A503, the length A504 of the magnetized magnet for one cycle, the distance B501 from the plane 509 facing the Hall sensors 502a, 502b of the rectangular magnet 501 to the center of the magnetic sensing part of the Hall sensors 502a, 502b, the Hall sensor By optimizing the adjustment of the distance B502 between the center of the magnetic sensing part of 502a and the center of the magnetic sensing part of the Hall sensor 502b and the magnetization strength of the rectangular parallelepiped magnet 501, a better result than the comparative example. It is obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ502a,502bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 502a and 502b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ502a,502bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ502a,502bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 502a and 502b do not have a magnetic chip for performing magnetic amplification. Although the Hall sensors 502a and 502b have a magnetic chip inside, and a configuration for amplifying the detection magnetic field of the sensor portion is known, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and a wide range It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV5011,V5021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R501における正弦波の値sin(R501)と余弦波の値cos(R501)とし、1周期の間に磁石が移動する距離をPとした場合、a×V5011×cos(R501)−b×V5021×sin(R501)の値が最もゼロに近づく電気角R501と、Vo5=√((a×V5011)2+(b×V5021)2)の関係式から得られる値Vo5とを用いて得られた周期N番目と、電気角R501とから、P500=P×(N−1)+(R501×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. Then, magnets in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval are arranged perpendicular to the substrate, and outputs obtained by multiplying the outputs of the two Hall sensors by real numbers are designated as V5011, V5021. A set of a sine wave value and a cosine wave value corresponding to the electrical angle is stored on a table in advance, and a sine wave value sin (R501) and a cosine wave value cos (R501) at an arbitrary electrical angle R501. When the distance that the magnet moves during one cycle is P, the electrical angle R501 where the value of a × V5011 × cos (R501) −b × V5021 × sin (R501) is closest to zero and Vo5 = √ ( (A × V5011) 2 + (B × V5021) 2 ), the value Vo5 obtained from the relational expression Vo5, and the electrical angle R501, P500 = P × (N−1) + (R501 × P ÷ 360) ) Is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Therefore, the Hall sensor is used as a magnetic sensor, and the components can be easily obtained as general-purpose products. Even when configured with parts, a position detector that can achieve downsizing with a simple configuration and that can perform absolute position detection over a wide range of distances with high accuracy and its position detection. An electronic device using the apparatus can be manufactured.

本発明に係る位置検出装置の実施例5を図36(a),(b)乃至図44に基づいて以下に説明する。   A fifth embodiment of the position detecting apparatus according to the present invention will be described below with reference to FIGS. 36 (a), (b) to FIG.

本実施例5は、実施例1変形例であり、位置検出装置100において、直方体磁石101の移動に伴って、ホールセンサ102a,102bの出力がリニアではなく、単調減少するよう直方体磁石101の着磁を変更した場合の例である。なお、先の実施例3でも述べたように、本実施例5では、1つのホールセンサの出力ピーク値を結んだ図17において、『4』の曲線となる場合の実施例を示す。   The fifth embodiment is a modification of the first embodiment. In the position detection device 100, the output of the hall sensors 102a and 102b is not linear but moves monotonously with the movement of the cuboid magnet 101. This is an example when the magnetism is changed. As described in the third embodiment, the fifth embodiment shows an embodiment in which the curve “4” is obtained in FIG. 17 in which the output peak values of one Hall sensor are connected.

<実施例5の構成>
図36(a),(b)は、本発明に係る位置検出装置の実施例5を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図36(a)は断面図、図36(b)は上面図を示している。
<Configuration of Example 5>
36 (a) and 36 (b) are schematic configuration diagrams for explaining the fifth embodiment of the position detecting device according to the present invention, and the position detecting device in the case of using two Hall sensors aligned on one axis. 36 (a) is a cross-sectional view, and FIG. 36 (b) is a top view.

位置検出装置600は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)601と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)602a,602bと、ホールセンサ602a(第1のホールセンサ)と、ホールセンサ602b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板603とを備えている。なお、本発明に係る位置検出装置600は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detecting device 600 includes a rectangular parallelepiped magnet (magnetic flux generating means) 601 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two as a set. 602a, 602b, a hall sensor 602a (first hall sensor), a hall sensor 602b (second hall sensor), and a substrate 603 on which these two hall sensors are mounted. In addition, the position detection apparatus 600 according to the present invention can be configured using variously shaped magnets and various Hall sensors.

ホールセンサ602a,602bは、基板603上に所定の間隔で配置され、感磁方向が基板603に対して垂直である。直方体磁石601は、ホールセンサ602a,602bからの信号を所定の演算を行った際に、図37に示される信号となるよう着磁された構成となっており、基板603と対向する1平面609内で、X方向に沿って移動可能に配置されている。   The hall sensors 602a and 602b are arranged on the substrate 603 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 603. The rectangular parallelepiped magnet 601 is configured to be magnetized so as to become a signal shown in FIG. 37 when a predetermined calculation is performed on signals from the hall sensors 602a and 602b, and a single plane 609 facing the substrate 603. It is arranged so as to be movable along the X direction.

図37は、図36(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 37 is a waveform diagram showing output signals of the two hall sensors obtained when the rectangular parallelepiped magnet or the two hall sensors are moved in the position detection device shown in FIGS. 36 (a) and 36 (b). is there.

ホールセンサ602a,602b(固定)に対して直方体磁石601を基準位置からX方向に沿って移動された場合には、一方のホールセンサ602aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ602bの出力信号は、図中の黒丸のように、一方のホールセンサ602aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 601 is moved from the reference position along the X direction with respect to the hall sensors 602a and 602b (fixed), the output signal of one hall sensor 602a is damped as shown by the white square in the figure. The output signal of the waveform is shown, and the output signal of the other hall sensor 602b is an output signal of a damped oscillation waveform that is out of phase with the output signal of one hall sensor 602a, as indicated by a black circle in the figure.

直方体磁石601は、ホールセンサ602a,602bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板603に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ602a、602bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 601 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 602a and 602b and parallel to the substrate 603. A plurality of sets are magnetized so as to have a distance that is four times the distance connecting the centers of the magnetic sensing portions of the Hall sensors 602a and 602b.

ここで、ホールセンサ602a,602bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板603に平行な平面内を移動可能という意味は、ホールセンサ602a,602bの感磁部の中心間を結ぶ直線と直方体磁石601の移動方向を示す直線とを、基板603に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being movable in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 602a and 602b and parallel to the substrate 603 is the center of the magnetic sensing parts of the Hall sensors 602a and 602b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 601 are projected on any same plane parallel to the substrate 603, the respective extension lines are parallel.

直方体磁石601は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板603に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 601, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the substrate 603.

1組のホールセンサとして構成された、第1のホールセンサ602aの感磁部中心と、第2のホールセンサ602bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ602aと602bは、直方体磁石601の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 602a and the center of the magnetic sensing part of the second hall sensor 602b, configured as a set of hall sensors, is also in the X direction. Hall sensors 602a and 602b are arranged at positions facing the surface of the rectangular parallelepiped magnet 601.

図36(a),(b)において、A601は直方体磁石601の長辺方向Xの長さ、A602は直方体磁石601の短辺方向Yの長さ、A603は直方体磁石601の厚み(着磁)方向Zの長さ、A604は着磁された磁石の1周期分の長さをそれぞれ示す。また、B601は、直方体磁石601のホールセンサ602a,602bの基板603に対向する平面609から、ホールセンサ602aと602bの感磁部の中心までの距離を示す。B602は、第1のホールセンサ602aの感磁部の中心と、第2のホールセンサ602bの感磁部の中心とを結ぶ距離を示す。   36A and 36B, A601 is the length in the long side direction X of the cuboid magnet 601, A602 is the length in the short side direction Y of the cuboid magnet 601, and A603 is the thickness (magnetization) of the cuboid magnet 601. The length in the direction Z, A604, indicates the length of one period of the magnetized magnet. B601 indicates the distance from the plane 609 facing the substrate 603 of the Hall sensors 602a and 602b of the rectangular parallelepiped magnet 601 to the centers of the magnetic sensing parts of the Hall sensors 602a and 602b. B602 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 602a and the center of the magnetic sensing part of the second Hall sensor 602b.

ホールセンサ602a,602bは、GaAs、InAs、InSbなどの III−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   Hall sensors 602a and 602b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図38は、図36(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置600は、2個のホールセンサ602a,602bを有する駆動回路605と、このホールセンサ602a,602bからのそれぞれの出力に基づいて位置検出を行う信号処理回路606とを備えている。   FIG. 38 is a circuit diagram of the position detection circuit of the position detection device shown in FIGS. 36 (a) and 36 (b). The position detection device 600 includes a drive circuit 605 having two hall sensors 602a and 602b, and a signal processing circuit 606 that performs position detection based on respective outputs from the hall sensors 602a and 602b.

駆動回路605は、1組のホールセンサ602a,602bと、これらのホールセンサ602a,602bに電圧を供給する電源部Vddとから構成される。   The drive circuit 605 includes a set of hall sensors 602a and 602b and a power supply unit Vdd that supplies a voltage to the hall sensors 602a and 602b.

第1のホールセンサ602aは、正極入力端子602a(A)と、正極出力端子602a(B)と、負極入力端子602a(C)と、負極出力端子602a(D)とから構成される。   The first hall sensor 602a includes a positive input terminal 602a (A), a positive output terminal 602a (B), a negative input terminal 602a (C), and a negative output terminal 602a (D).

第2のホールセンサ602bは、正極入力端子602b(E)と、正極出力端子602b(F)と、負極入力端子602b(G)と、負極出力端子602b(H)とから構成される。   The second hall sensor 602b includes a positive input terminal 602b (E), a positive output terminal 602b (F), a negative input terminal 602b (G), and a negative output terminal 602b (H).

正極出力端子602a(B)と負極出力端子602a(D)とは、差動増幅器607aの入力信号となり、差動増幅器607aからはV6011が出力される。正極出力端子602b(F)と負極出力端子602b(H)とは、差動増幅器607bの入力信号となり、差動増幅器607bからはV6021が出力される。   The positive output terminal 602a (B) and the negative output terminal 602a (D) serve as input signals of the differential amplifier 607a, and V6011 is output from the differential amplifier 607a. The positive output terminal 602b (F) and the negative output terminal 602b (H) serve as input signals of the differential amplifier 607b, and V6021 is output from the differential amplifier 607b.

信号処理部606は、差動増幅器607a,607bと、計算処理部608とにより構成される。この信号処理部606では、ホールセンサ602a,602bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 606 includes differential amplifiers 607a and 607b and a calculation processing unit 608. The signal processing unit 606 performs position detection based on the outputs from the hall sensors 602a and 602b.

<実施例5の回路動作>
以下に、本実施例5の位置検出装置600の動作について説明する。
<Circuit Operation of Example 5>
Hereinafter, the operation of the position detection apparatus 600 according to the fifth embodiment will be described.

図38に示す信号処理部606は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 606 shown in FIG. 38 is on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路605において、第1のホールセンサ602aの正極入力端子602a(A)と、第2のホールセンサ602bの正極入力端子602b(E)とが接続されることによって入力端子とされ、第1のホールセンサ602aの負極入力端子602a(C)と、第2のホールセンサ602bの負極入力端子602b(G)とが接続されることによって入力端子とされる。   In the drive circuit 605, the positive input terminal 602a (A) of the first hall sensor 602a and the positive input terminal 602b (E) of the second hall sensor 602b are connected to form an input terminal, The negative input terminal 602a (C) of the hall sensor 602a and the negative input terminal 602b (G) of the second hall sensor 602b are connected to form an input terminal.

第1のホールセンサ602aの正極出力端子602a(B)と負極出力端子602a(D)は、信号処理回路606の第1の差動増幅器607aに接続され、第2のホールセンサ602bの正極出力端子602b(F)と負極出力端子602b(H)は、信号処理回路606の第2の差動増幅器607bに接続される。   The positive output terminal 602a (B) and the negative output terminal 602a (D) of the first hall sensor 602a are connected to the first differential amplifier 607a of the signal processing circuit 606, and the positive output terminal of the second hall sensor 602b. 602b (F) and the negative output terminal 602b (H) are connected to the second differential amplifier 607b of the signal processing circuit 606.

第1の差動増幅器607aの出力端子と第2の差動増幅器607bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部608に伝達される。   The output terminal of the first differential amplifier 607a and the output terminal of the second differential amplifier 607b are input to an AD converter and transmitted to a calculation processing unit 608 that appropriately calculates an output.

計算処理部608は、以下の処理を行って位置検出を行う。   The calculation processing unit 608 performs position detection by performing the following processing.

<実施例5の計算処理部の処理>
計算処理部608では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板603上に配置された2個の磁気センサ602a,602bにおいて、磁気センサ602a及び602bからのそれぞれの出力をV6011,V6021とした場合、出力V6011,V6021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R601における正弦波の値sin(R601)と余弦波の値cos(R601)の組を用いて、
a×V6011×cos(R601)
−b×V6021×sin(R601)・・・(9)
の値が最もゼロに近づく電気角R601をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 5>
In the calculation processing unit 608, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held in advance on a table. In the two magnetic sensors 602a and 602b arranged on the substrate 603, when the outputs from the magnetic sensors 602a and 602b are V6011, V6021, the values obtained by multiplying the outputs V6011, V6021, respectively, by real numbers, and on the table Using a set of a sinusoidal value sin (R601) and a cosine wave value cos (R601) at the held electrical angle R601,
a x V6011 x cos (R601)
-B * V6021 * sin (R601) (9)
First, an electrical angle R601 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo6=√((a×V6011)2+(b×V6021)2)・・・(10)
の関係式から求められる値Vo6及び電気角R601を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『4』で示される曲線であるため、磁石の移動距離に対するVo6の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo6の値のみでは判断できない。そこでVo6及びR601を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo6 = √ ((a × V6011) 2 + (b × V6021) 2 ) (10)
Using the value Vo6 and the electrical angle R601 obtained from the relational expression, the Nth cycle is obtained in the damped vibration wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is a curve indicated by “4” in FIG. 17, the value of Vo6 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo6. Therefore, using Vo6 and R601, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo6の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ602aの出力V6011がゼロを示した際のVo6の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo6値をV(N)とし、N−1番目の周期の電気角360度におけるVo6値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo6≧V(N−1)かつR601≦Rs度
または、
V(N−1)>Vo6>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo6≧V(N)かつR601≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置600の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo6 at an electrical angle of 360 degrees per cycle is stored in the memory. As the value to be held, for example, a value obtained in advance by simulation may be held, or when the individual calibration is performed by moving the magnet, when the output V6011 of the Hall sensor 602a indicates zero. The value of Vo6 may be held. Next, when the Vo6 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo6 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo6 ≧ V (N−1) and R601 ≦ Rs degree or
V (N-1)>Vo6> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo6 ≧ V (N) and R601 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 600, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R601及び周期N番目の値を用いて、
P600=P×(N−1)+(R601×P÷360)・・・(11)
の関係式から求められる値P600を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R601 and the Nth value of the cycle,
P600 = P × (N−1) + (R601 × P ÷ 360) (11)
Position detection is performed using a value P600 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例5では、第1のホールセンサ602aと第2のホールセンサ602bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器607a,607bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the fifth embodiment, the input terminals of the first hall sensor 602a and the second hall sensor 602b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 607a and 607b.

<実施例5の位置検出例>
次に、本発明に係る位置検出装置600の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図36における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 5>
Next, a specific position detection example of the position detection apparatus 600 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 36 will be described.

図39(a),(b)は、図36(a),(b)に示した位置検出装置に対応する構成図で、図39(a)は断面図、図39(b)は上面図である。   39 (a) and 39 (b) are configuration diagrams corresponding to the position detection device shown in FIGS. 36 (a) and 36 (b), FIG. 39 (a) is a sectional view, and FIG. 39 (b) is a top view. It is.

図39(a),(b)に示すように、直方体磁石601の長辺方向Xの長さA601=9.0mm、直方体磁石601の短辺方向Yの長さA602=1.0mm、直方体磁石601の厚み方向Zの長さ(磁石の着磁方向の長さ)A603=0.5mm、着磁された磁石の1周期分の長さA604=1.0mmとする。   As shown in FIGS. 39A and 39B, the length A601 of the rectangular parallelepiped magnet 601 in the long side direction X is 9.0 mm, the length of the rectangular parallelepiped magnet 601 in the short side direction Y is A602 = 1.0 mm, and the magnet is a rectangular parallelepiped. The length in the thickness direction Z of 601 (the length in the magnetizing direction of the magnet) A603 = 0.5 mm, and the length of one magnetized period A604 = 1.0 mm.

また、直方体磁石601のホールセンサ602a,602bに対向する平面609からホールセンサ602a,602bの感磁部の中心までの距離B601=0.25mm、第1のホールセンサ602aの感磁部の中心と第2のホールセンサ602bの感磁部の中心との距離B602=0.25mmとする。   Further, a distance B601 = 0.25 mm from the plane 609 facing the Hall sensors 602a and 602b of the rectangular magnet 601 to the center of the magnetic sensors of the Hall sensors 602a and 602b, and the center of the magnetic sensor of the first Hall sensor 602a The distance B602 = 0.25 mm from the center of the magnetic sensitive part of the second Hall sensor 602b.

上記設計の際、ホールセンサ602a,602bを1つのパッケージ内に搭載する方が、ホールセンサ602a,602bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えば、Si基板上にホールセンサ602a,602bを設けることも可能である。   In the above design, mounting the Hall sensors 602a and 602b in one package reduces the placement error of the Hall sensors 602a and 602b, and can contribute to higher accuracy of the position detection device. For example, it is possible to provide Hall sensors 602a and 602b on a Si substrate.

従って、第1のホールセンサ602aと第2のホールセンサ602bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 602a and the second hall sensor 602b in one package.

図40及び図41は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   40 and 41 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet.

図40は、磁石の移動距離に対する第1のホールセンサ602aの出力電圧を2倍した値2×V6011の変化L6011を示す図である。図41は、磁石の移動距離に対する第2のホールセンサ602bの出力電圧を2倍した値2×V6021の変化L6021を示す図である。   FIG. 40 is a diagram illustrating a change L6011 of a value 2 × V6011 obtained by doubling the output voltage of the first Hall sensor 602a with respect to the moving distance of the magnet. FIG. 41 is a diagram showing a change L6021 of a value 2 × V6021 obtained by doubling the output voltage of the second hall sensor 602b with respect to the moving distance of the magnet.

図42は、磁石の移動距離に対する√((2×V6011)2+(2×V6021)2)の変化L6031を示す図である。 FIG. 42 is a diagram showing a change L6031 of √ ((2 × V6011) 2 + (2 × V6021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ602a,602bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『4』で示される曲線になるよう、直方体磁石601の各極における中央の表面磁束密度の絶対値が、190mT〜80mTまで単調減少するよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two Hall sensors 602a and 602b is set to 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “4” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the rectangular magnet 601 is magnetized so as to monotonously decrease from 190 mT to 80 mT so that the curve indicated by

図42に示した、磁石の移動距離に対する√((2×V6011)2+(2×V6021)2)の変化L6031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 Since the change L6031 of √ ((2 × V6011) 2 + (2 × V6021) 2 ) with respect to the moving distance of the magnet shown in FIG. 42 is not monotonously decreasing, position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ602aの出力電圧を2倍した値2×V6011と、磁石の移動距離に対する第2のホールセンサ602bの出力電圧を2倍した値2×V6021の変化L6021と、任意の電気角R601における正弦波の値sin(R601)と余弦波の値cos(R601)の組を用いて、2×V6011×cos(R601)−2×V6021×sin(R601)の値が最もゼロに近づくR601を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V6011 obtained by doubling the output voltage of the first Hall sensor 602a with respect to the moving distance of the magnet, and a change L6021 of a value 2 × V6021 obtained by doubling the output voltage of the second Hall sensor 602b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R601) and a cosine wave value cos (R601) at an arbitrary electrical angle R601, a value of 2 × V6011 × cos (R601) −2 × V6021 × sin (R601) is obtained. Find R601 closest to zero.

次に、Vo6=√((2×V6011)2+(2×V6021)2)の関係式からVo6を求める。 Next, Vo6 is determined from the relational expression Vo6 = √ ((2 × V6011) 2 + (2 × V6021) 2 ).

次に、周期毎の電気角360度におけるVo6の値をメモリに保持させる。本実施例5では、
1周期目の電気角360度の場合、Vo6=241.10mV
2周期目の電気角360度の場合、Vo6=209.62mV
3周期目の電気角360度の場合、Vo6=165.63mV
4周期目の電気角360度の場合、Vo6=143.52mV
5周期目の電気角360度の場合、Vo6=113.28mV
6周期目の電気角360度の場合、Vo6=98.07mV
7周期目の電気角360度の場合、Vo6=77.21mV
をメモリに保持させることになる。
Next, the value of Vo6 at an electrical angle of 360 degrees per cycle is stored in the memory. In this example 5,
In the case of an electrical angle of 360 degrees in the first cycle, Vo6 = 241.10 mV
In the case of an electrical angle of 360 degrees in the second period, Vo6 = 209.62 mV
In the case of an electrical angle of 360 degrees in the third period, Vo6 = 165.63 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo6 = 143.52 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo6 = 113.28 mV
In the case of an electrical angle of 360 degrees in the sixth cycle, Vo6 = 98.07 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo6 = 77.21 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo6もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo6の値の1.2倍の値をメモリに保持させる。   In order to specify that it is the first cycle, it is also necessary to store Vo6 in the case of 360 degrees in the 0th cycle in the memory. In this case, a value 1.2 times the value of Vo6 at the electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo6=289.32mV
次に、N番目の周期の電気角360度におけるVo6値をV(N)とし、N−1番目の周期の電気角360度におけるVo6値をV(N−1)とした場合、(V(N−1)×1.07)≧Vo6≧V(N−1)かつR601≦250度、または、V(N−1)>Vo6>(V(N)×1.07)、または、(V(N)×1.07)≧Vo6≧V(N)かつR601≧250度であればN番目の周期であると特定する。
When the electrical angle at the 0th cycle is 360 degrees, Vo6 = 289.32 mV
Next, when the Vo6 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo6 value at the electrical angle 360 degrees in the N−1th cycle is V (N−1), (V ( N-1) × 1.07) ≧ Vo6 ≧ V (N−1) and R601 ≦ 250 degrees, or V (N−1)>Vo6> (V (N) × 1.07), or (V If (N) × 1.07) ≧ Vo6 ≧ V (N) and R601 ≧ 250 degrees, the Nth cycle is specified.

次に、求められた電気角R601及び周期N番目の値を用いて、P600=1000×(N−1)+(R601×1000÷360)の関係式から求められる値P600を用いて位置検出を行う。   Next, using the obtained electrical angle R601 and the Nth value of the period, position detection is performed using a value P600 obtained from a relational expression of P600 = 1000 × (N−1) + (R601 × 1000 ÷ 360). Do.

図43は、磁石の移動距離に対するP600の変化L6041を示す図である。図43より7mmの位置検出範囲において、P600が高い線形性を持つことがわかる。   FIG. 43 is a diagram showing a change L6041 of P600 with respect to the moving distance of the magnet. FIG. 43 shows that P600 has high linearity in a position detection range of 7 mm.

図44は、磁石の移動距離に対する、実際の位置とP600との誤差の変化L6051を示す図である。図44より7mmの位置検出範囲において、±23μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 44 is a diagram showing a change L6051 in error between the actual position and P600 with respect to the moving distance of the magnet. 44 that the absolute position can be detected with an error within ± 23 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L6051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、後述するその他実施例(例えば、実施例6)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, naturally, the magnetic simulation result L6051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) described later may be applied to reduce the position detection error.

上述のように演算中の係数a及びb及びVs及びRsの値をそれぞれ、a=b=2、Vs=107%、Rs=250度として演算を行ったが、この数値が異なっても、位置検出装置600において、直方体磁石601の長辺方向Xの長さA601、直方体磁石601の短辺方向Yの長さA602、直方体磁石601の厚み方向Zの長さ(磁石の着磁方向の長さ)A603、着磁された磁石の1周期分の長さA604、直方体磁石601のホールセンサ602a,602bに対向する平面609からホールセンサ602a,602bの感磁部の中心までの距離B601、ホールセンサ602aの感磁部の中心とホールセンサ602bの感磁部の中心との距離B602、直方体磁石601の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b and Vs and Rs being calculated are calculated with a = b = 2, Vs = 107%, and Rs = 250 degrees, respectively. In the detection device 600, the length A601 of the rectangular parallelepiped magnet 601 in the long side direction X, the length A602 of the rectangular parallelepiped magnet 601 in the short side direction Y, the length of the rectangular parallelepiped magnet 601 in the thickness direction Z (the length in the magnetizing direction of the magnet). ) A603, the length A604 of the magnetized magnet for one cycle, the distance B601 from the plane 609 facing the Hall sensors 602a, 602b of the rectangular magnet 601 to the center of the magnetic sensing part of the Hall sensors 602a, 602b, the Hall sensor It is better than the comparative example by optimizing the adjustment of the distance B602 between the center of the magnetic sensing part 602a and the center of the magnetic sensing part of the Hall sensor 602b and the magnetization strength of the rectangular parallelepiped magnet 601. Results can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ602a,602bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 602a and 602b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ602a,602bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ602a,602bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 602a and 602b do not have a magnetic chip for performing magnetic amplification. Hall sensors 602a and 602b have a magnetic chip inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, the magnetic saturation of the magnetic chip becomes a problem, and the configuration is wide. It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV6011,V6021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R601における正弦波の値sin(R601)と余弦波の値cos(R601)とし、1周期の間に磁石が移動する距離をPとした場合、a×V6011×cos(R601)−b×V6021×sin(R601)の値が最もゼロに近づく電気角R601と、Vo6=√((a×V6011)2+(b×V6021)2)の関係式から得られる値Vo6とを用いて得られた周期N番目と、電気角R601とから、P600=P×(N−1)+(R601×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. In addition, magnets in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval are arranged perpendicularly to the substrate, and outputs obtained by multiplying the outputs of the two Hall sensors by real numbers are designated as V6011, V6021. A set of a sine wave value and a cosine wave value corresponding to the electrical angle is stored on a table in advance, and a sine wave value sin (R601) and a cosine wave value cos (R601) at an arbitrary electrical angle R601 are stored. When the distance that the magnet moves during one cycle is P, the electrical angle R601 where the value of a × V6011 × cos (R601) −b × V6021 × sin (R601) is closest to zero, and Vo6 = √ ( (A × V6011) 2 + (B × V6021) 2 ) From the value Vo6 obtained from the relational expression Vo6 and the electrical angle R601, P600 = P × (N−1) + (R601 × P ÷ 360 ) Is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Therefore, the Hall sensor is used as a magnetic sensor, and the components can be easily obtained as general-purpose products. Even when configured with parts, a position detector that can achieve downsizing with a simple configuration and that can perform absolute position detection over a wide range of distances with high accuracy and its position detection. An electronic device using the apparatus can be manufactured.

本発明に係る位置検出装置の実施例6を図45(a),(b)乃至図49に基づいて以下に説明する。   A sixth embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 45 (a) and (b) to FIG.

本実施例6は、上述した実施例1の変形例であり、位置検出装置100において、直方体磁石101の移動に伴って、ホールセンサ102a,102bの出力がリニアではなく、単調減少するよう直方体磁石101の着磁を変更した場合の例である。   The sixth embodiment is a modification of the first embodiment described above, and in the position detection device 100, the output of the hall sensors 102a and 102b is not linear but decreases monotonously as the rectangular magnet 101 moves. This is an example when the magnetization of 101 is changed.

<実施例6の構成>
図45(a),(b)は、本発明に係る位置検出装置の実施例6を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図45(a)は断面図、図45(b)は上面図を示している。
<Configuration of Example 6>
FIGS. 45A and 45B are schematic configuration diagrams for explaining a sixth embodiment of the position detection device according to the present invention, and the position detection device in the case of using two Hall sensors aligned on one axis. FIG. 45A shows a cross-sectional view, and FIG. 45B shows a top view.

位置検出装置700は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)701と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)702a,702bと、ホールセンサ702a(第1のホールセンサ)と、ホールセンサ702b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板703とを備えている。なお、本発明に係る位置検出装置700は、様々な形状の磁石と、種々なホールセンサとを用いて構成できる。   The position detecting device 700 includes a rectangular parallelepiped magnet (magnetic flux generating means) 701 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two sets. 702a, 702b, a hall sensor 702a (first hall sensor), a hall sensor 702b (second hall sensor), and a substrate 703 on which these two hall sensors are mounted. In addition, the position detection apparatus 700 according to the present invention can be configured using variously shaped magnets and various Hall sensors.

ホールセンサ702a,702bは、基板703上に所定の間隔で配置され、感磁方向が基板703に対して垂直である。直方体磁石701は、ホールセンサ702a,702bからの信号を所定の演算を行った際に、上述した図37に示される信号となるよう着磁された構成となっており、基板703と対向する1平面709内で、X方向に沿って移動可能に配置されている。   The hall sensors 702a and 702b are arranged on the substrate 703 at a predetermined interval, and the magnetic sensing direction is perpendicular to the substrate 703. The rectangular parallelepiped magnet 701 is configured to be magnetized so as to be the signal shown in FIG. 37 described above when the signals from the hall sensors 702a and 702b are subjected to a predetermined calculation, and is 1 facing the substrate 703. In the plane 709, it arrange | positions so that a movement along a X direction is possible.

直方体磁石701は、ホールセンサ702a,702bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板703に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ702a、702bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 701 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 702a and 702b and parallel to the substrate 703. A plurality of sets are magnetized so as to have a distance that is four times the distance connecting the centers of the magnetic sensing portions of the Hall sensors 702a and 702b.

ここで、ホールセンサ702a,702bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板703に平行な平面内を移動可能という意味は、ホールセンサ702a,702bの感磁部の中心間を結ぶ直線と直方体磁石701の移動方向を示す直線とを、基板703に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being movable in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 702a and 702b and parallel to the substrate 703 is the center of the magnetic sensing parts of the Hall sensors 702a and 702b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the rectangular parallelepiped magnet 701 are projected on an arbitrary same plane parallel to the substrate 703, the respective extension lines are parallel.

直方体磁石701は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板703に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 701, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the substrate 703.

1組のホールセンサとして構成された、第1のホールセンサ702aの感磁部中心と、第2のホールセンサ702bの感磁部中心を結ぶ直線もX方向である。また、ホールセンサ702aと702bは、直方体磁石701の面と対向した位置に配置されている。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 702a and the center of the magnetic sensing part of the second hall sensor 702b, which is configured as a set of hall sensors, is also in the X direction. Hall sensors 702a and 702b are arranged at positions facing the surface of the rectangular parallelepiped magnet 701.

図45(a),(b)において、A701は直方体磁石701の長辺方向Xの長さ、A702は直方体磁石701の短辺方向Yの長さ、A703は直方体磁石701の厚み(着磁)方向Zの長さ、A704は着磁された磁石の1周期分の長さをそれぞれ示す。また、B701は、直方体磁石701のホールセンサ702a,702bの基板703に対向する平面709から、ホールセンサ702aと702bの感磁部の中心までの距離を示す。B702は、第1のホールセンサ702aの感磁部の中心と、第2のホールセンサ702bの感磁部の中心とを結ぶ距離を示す。   45A and 45B, A701 is the length in the long side direction X of the cuboid magnet 701, A702 is the length in the short side direction Y of the cuboid magnet 701, and A703 is the thickness (magnetization) of the cuboid magnet 701. The length in the direction Z, A704, indicates the length of one period of the magnetized magnet. B701 indicates the distance from the plane 709 facing the substrate 703 of the hall sensors 702a and 702b of the cuboid magnet 701 to the centers of the magnetic sensing parts of the hall sensors 702a and 702b. B702 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 702a and the center of the magnetic sensing part of the second Hall sensor 702b.

ホールセンサ702a,702bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The hall sensors 702a and 702b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図46は、図45(a),(b)に示した位置検出装置の位置検出回路の回路図である。位置検出装置700は、2個のホールセンサ702a,702bを有する駆動回路705と、このホールセンサ702a,702bからのそれぞれの出力に基づいて位置検出を行う信号処理回路706とを備えている。   46 is a circuit diagram of the position detection circuit of the position detection device shown in FIGS. 45 (a) and 45 (b). The position detection device 700 includes a drive circuit 705 having two hall sensors 702a and 702b, and a signal processing circuit 706 that performs position detection based on respective outputs from the hall sensors 702a and 702b.

駆動回路705は、1組のホールセンサ702a,702bと、これらのホールセンサ702a,702bに電圧を供給する電源部Vddとから構成される。   The drive circuit 705 includes a pair of hall sensors 702a and 702b and a power supply unit Vdd that supplies voltage to the hall sensors 702a and 702b.

第1のホールセンサ702aは、正極入力端子702a(A)と、正極出力端子702a(B)と、負極入力端子702a(C)と、負極出力端子702a(D)とから構成される。   The first hall sensor 702a includes a positive input terminal 702a (A), a positive output terminal 702a (B), a negative input terminal 702a (C), and a negative output terminal 702a (D).

第2のホールセンサ702bは、正極入力端子702b(E)と、正極出力端子702b(F)と、負極入力端子702b(G)と、負極出力端子702b(H)とから構成される。   The second hall sensor 702b includes a positive input terminal 702b (E), a positive output terminal 702b (F), a negative input terminal 702b (G), and a negative output terminal 702b (H).

正極出力端子702a(B)と負極出力端子702a(D)とは、差動増幅器707aの入力信号となり、差動増幅器707aからはV7011が出力される。正極出力端子702b(F)と負極出力端子702b(H)とは、差動増幅器707bの入力信号となり、差動増幅器707bからはV7021が出力される。   The positive output terminal 702a (B) and the negative output terminal 702a (D) serve as input signals to the differential amplifier 707a, and V7011 is output from the differential amplifier 707a. The positive output terminal 702b (F) and the negative output terminal 702b (H) serve as input signals to the differential amplifier 707b, and V7021 is output from the differential amplifier 707b.

信号処理部706は、差動増幅器707a,707bと、計算処理部708とにより構成される。この信号処理部706では、ホールセンサ702a,702bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 706 includes differential amplifiers 707a and 707b and a calculation processing unit 708. The signal processing unit 706 performs position detection based on the outputs from the hall sensors 702a and 702b.

<実施例6の回路動作>
以下に、本実施例6の位置検出装置700の動作について説明する。
<Circuit Operation of Example 6>
The operation of the position detection device 700 according to the sixth embodiment will be described below.

図46に示す信号処理部706は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 706 shown in FIG. 46 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路705において、第1のホールセンサ702aの正極入力端子702a(A)と、第2のホールセンサ702bの正極入力端子702b(E)とが接続されることによって入力端子とされ、第1のホールセンサ702aの負極入力端子702a(C)と、第2のホールセンサ702bの負極入力端子702b(G)とが接続されることによって入力端子とされる。   In the drive circuit 705, the positive input terminal 702a (A) of the first Hall sensor 702a and the positive input terminal 702b (E) of the second Hall sensor 702b are connected to be an input terminal. The negative input terminal 702a (C) of the hall sensor 702a and the negative input terminal 702b (G) of the second hall sensor 702b are connected to form an input terminal.

第1のホールセンサ702aの正極出力端子702a(B)と負極出力端子702a(D)は、信号処理回路706の第1の差動増幅器707aに接続され、第2のホールセンサ702bの正極出力端子702b(F)と負極出力端子702b(H)は、信号処理回路706の第2の差動増幅器707bに接続される。   The positive output terminal 702a (B) and the negative output terminal 702a (D) of the first hall sensor 702a are connected to the first differential amplifier 707a of the signal processing circuit 706, and the positive output terminal of the second hall sensor 702b. 702b (F) and the negative output terminal 702b (H) are connected to the second differential amplifier 707b of the signal processing circuit 706.

第1の差動増幅器707aの出力端子と第2の差動増幅器707bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部708に伝達される。   The output terminal of the first differential amplifier 707a and the output terminal of the second differential amplifier 707b are input to an AD converter and transmitted to a calculation processing unit 708 that appropriately calculates an output.

計算処理部708では、磁石の全移動範囲における任意の位置に相当する減衰状正弦波出力の値と減衰状余弦波出力の値との組をあらかじめテーブル上に保持している。保持させる値は、例えば、あらかじめシミュレーションにより求められた値等を保持させておけば良い。保持させる減衰状正弦波出力の値と減衰状余弦波出力の値との組を増やすほど、高分解能な位置検出が可能となる。   In the calculation processing unit 708, a set of the value of the attenuated sine wave output and the value of the attenuated cosine wave output corresponding to an arbitrary position in the entire movement range of the magnet is held in advance on the table. As the value to be held, for example, a value obtained in advance by simulation may be held. As the set of the attenuated sine wave output value and the attenuated cosine wave output value to be held increases, position detection with higher resolution becomes possible.

計算処理部708では、磁気センサ702a,702bからのそれぞれの出力をV7011,V7021とした場合、出力V7011,V7021をそれぞれ実数倍した値と、あらかじめ保持してある減衰状正弦波出力の値と減衰状余弦波出力の値との組とを比較し、位置検出を行う。   In the calculation processing unit 708, assuming that the outputs from the magnetic sensors 702a and 702b are V7011, V7021, the values obtained by multiplying the outputs V7011, V7021 by real numbers, the values of the attenuated sine wave output held in advance and the attenuation, respectively. The position is detected by comparing the value with the cosine wave output value.

つまり、計算処理部708が、ホールセンサ702a,702bからの減衰正弦波状の出力信号及び減衰余弦波状の出力信号の組、もしくは増幅正弦波状の出力信号及び増幅余弦波状の出力信号の組をあらかじめテーブルに記憶しておき、ホールセンサ702a,702b又は直方体磁石701が移動した際のホールセンサ702a,702bからの出力値をテーブルの記憶値と比較して位置検出を行う。   In other words, the calculation processing unit 708 previously sets a set of attenuated sine wave output signals and attenuated cosine wave output signals from the hall sensors 702a and 702b, or sets of amplified sine wave output signals and amplified cosine wave output signals. And the output values from the hall sensors 702a and 702b when the hall sensors 702a and 702b or the rectangular parallelepiped magnet 701 are moved are compared with the stored values in the table to perform position detection.

図47(a),(b)は、図45(a),(b)に示した位置検出装置に対応する構成例を示す図で、図47(a)は断面図、図47(b)は上面図である。   47A and 47B are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 45A and 45B. FIG. 47A is a cross-sectional view, and FIG. Is a top view.

図2及び図11及び図19及び図28及び図37に示すように、磁石の移動距離により2つの磁気センサの出力の組は、一意に決まるため、磁気センサ702a及び702bからのそれぞれの出力をV7011,V7021とした場合、出力V7011,V7021をそれぞれ実数倍した値と、あらかじめ保持してある減衰状正弦波出力の値と減衰状余弦波出力の値との組とを比較することで、位置検出が可能であることは明らかである。   As shown in FIGS. 2, 11, 19, 28, and 37, the set of outputs of the two magnetic sensors is uniquely determined by the moving distance of the magnets. Therefore, the respective outputs from the magnetic sensors 702 a and 702 b are determined. In the case of V7011, V7021, by comparing the values obtained by multiplying the outputs V7011, V7021 by real numbers with the previously stored values of the attenuated sine wave output and the attenuated cosine wave output, It is clear that detection is possible.

なお、本実施例6では、第1のホールセンサ702aと第2のホールセンサ702bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器707a,707bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the sixth embodiment, the input terminals of the first hall sensor 702a and the second hall sensor 702b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 707a and 707b.

<実施例6の位置検出例>
次に、本発明に係る位置検出装置700の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図45における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 6>
Next, a specific position detection example of the position detection apparatus 700 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 45 will be described.

図47(a),(b)に示すように、直方体磁石701の長辺方向Xの長さA701=9.0mm、直方体磁石701の短辺方向Yの長さA702=1.0mm、直方体磁石701の厚み方向Zの長さ(磁石の着磁方向の長さ)A703=0.5mm、着磁された磁石の1周期分の長さA704=1.0mmとする。   47 (a) and 47 (b), the length A701 of the rectangular parallelepiped magnet 701 in the long side direction X = 9.0 mm, the length A702 of the rectangular parallelepiped magnet 701 in the short side direction A702 = 1.0 mm, and the rectangular parallelepiped magnet. The length 701 in the thickness direction Z (the length in the magnetizing direction of the magnet) A703 = 0.5 mm, and the length A704 of the magnetized magnet for one cycle is set to 1.0 mm.

また、直方体磁石701のホールセンサ702a,702bに対向する平面709からホールセンサ702a,702bの感磁部の中心までの距離B701=0.25mm、第1のホールセンサ702aの感磁部の中心と第2のホールセンサ702bの感磁部の中心との距離B702=0.25mmとする。   Further, a distance B701 = 0.25 mm from the plane 709 facing the Hall sensors 702a and 702b of the rectangular magnet 701 to the center of the magnetic sensor of the hall sensors 702a and 702b, and the center of the magnetic sensor of the first hall sensor 702a The distance B702 = 0.25 mm from the center of the magnetic sensing part of the second hall sensor 702b is set.

上記設計の際、ホールセンサ702a,702bを1つのパッケージ内に搭載する方が、ホールセンサ702a,702bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ702a,702bを設けることも可能である。   In the above design, mounting the Hall sensors 702a and 702b in one package reduces the placement error of the Hall sensors 702a and 702b, and can contribute to higher accuracy of the position detection device. For example, it is also possible to provide Hall sensors 702a and 702b on a Si substrate.

従って、第1のホールセンサ702aと第2のホールセンサ702bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 702a and the second hall sensor 702b in one package.

図48及び図49は、直方体磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   48 and 49 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the rectangular parallelepiped magnet.

図48は、磁石の移動距離に対する第1のホールセンサ702aの出力電圧を2倍した値2×V7011の変化L7011を示す図である。図49は、磁石の移動距離に対する第2のホールセンサ702bの出力電圧を2倍した値2×V7021の変化L7021を示す図である。   FIG. 48 is a diagram showing a change L7011 of a value 2 × V7011 obtained by doubling the output voltage of the first Hall sensor 702a with respect to the moving distance of the magnet. FIG. 49 is a diagram showing a change L7021 of a value 2 × V7021 obtained by doubling the output voltage of the second Hall sensor 702b with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ702a,702bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『4』で示される曲線になるよう、直方体磁石701の各極における中央の表面磁束密度の絶対値が、190mT〜80mTまで単調減少するよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two Hall sensors 702a and 702b is 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “4” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the rectangular magnet 701 is magnetized so as to monotonously decrease from 190 mT to 80 mT so that a curve indicated by

位置検出は、次のように行う。   Position detection is performed as follows.

あらかじめ磁石の移動10μm毎の、図48におけるL7011と、図49におけるL7021との組をテーブル上に保持しておく。   A set of L7011 in FIG. 48 and L7021 in FIG. 49 is held on a table in advance for every 10 μm of magnet movement.

磁石が移動する度に、テーブル上に保持した値と、磁気センサ702a及び702bからのそれぞれの出力をV7011,V7021とした場合、出力V7011,V7021をそれぞれ2倍した値とを比較し、位置検出を行う。出力V7011,V7021をそれぞれ2倍した値と、テーブル上に保持してある値とを比較し、2値の誤差がより少ない位置が検出したい位置である。本例においては、10μm毎にL7011とL7021との組をテーブル上に保持したため、位置検出誤差は10μmである。位置検出誤差を小さくしたい場合、更に狭い間隔で図48におけるL7011と、図49におけるL7021との組をテーブル上に保持させれば良いことは言うまでもない。   Each time the magnet moves, the value held on the table is compared with the value obtained by doubling the outputs V7011, V7021 when the respective outputs from the magnetic sensors 702a and 702b are V7011, V7021, and the position is detected. I do. A value obtained by doubling each of the outputs V7011 and V7021 and a value held on the table is compared with a position where a binary error is smaller. In this example, since the set of L7011 and L7021 is held on the table every 10 μm, the position detection error is 10 μm. Needless to say, if it is desired to reduce the position detection error, the pair of L7011 in FIG. 48 and L7021 in FIG.

上述のように2個の磁気センサからの出力をそれぞれ2倍して演算を行ったが、この数値が異なっても、位置検出装置700において、直方体磁石701の長辺方向Xの長さA701、直方体磁石701の短辺方向Yの長さA702、直方体磁石701の厚み方向Zの長さ(磁石の着磁方向の長さ)A703、着磁された磁石の1周期分の長さA704、直方体磁石701のホールセンサ702a,702bに対向する平面709からホールセンサ702a,702bの感磁部の中心までの距離B701、ホールセンサ702aの感磁部の中心とホールセンサ702bの感磁部の中心との距離B702、直方体磁石701の着磁強度の調整を最適化することで、比較例よりも良い結果が得られる。   As described above, the calculation is performed by doubling the outputs from the two magnetic sensors. Even if the numerical values are different, the position detection device 700 has a length A701 in the long side direction X of the rectangular parallelepiped magnet 701, The length A702 of the rectangular parallelepiped magnet 701 in the short side direction Y, the length of the rectangular parallelepiped magnet 701 in the thickness direction Z (length in the magnetizing direction of the magnet) A703, the length A704 of the magnetized magnet for one cycle, a rectangular parallelepiped The distance B701 from the plane 709 facing the Hall sensors 702a and 702b of the magnet 701 to the center of the magnetic sensing part of the Hall sensors 702a and 702b, the center of the magnetic sensing part of the Hall sensor 702a, and the center of the magnetic sensing part of the Hall sensor 702b By optimizing the distance B702 and the adjustment of the magnetization strength of the rectangular parallelepiped magnet 701, better results than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ702a,702bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 702a and 702b are integrally sealed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ702a,702bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ702a,702bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 702a and 702b do not have a magnetic chip for performing magnetic amplification. Hall sensors 702a and 702b have a magnetic chip inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and a wide range It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV7011,V7021とし、磁石の全移動範囲における任意の位置に相当する減衰状正弦波出力の値と減衰状余弦波出力の値との組をあらかじめテーブル上に保持し、2個の磁気センサからのそれぞれの出力V7011,V7021をそれぞれ実数倍した値と、あらかじめ保持してある減衰状正弦波出力の値と減衰状余弦波出力の値との組とを比較し、位置検出を行う信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。   As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. A magnet in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval is arranged perpendicularly to the substrate, and outputs obtained by multiplying the outputs of the two Hall sensors by real numbers are denoted as V7011, V7021 and magnets A set of the value of the damped sine wave output and the value of the damped cosine wave output corresponding to any position in the entire movement range is previously stored on the table, and the respective outputs V7011, V7021 from the two magnetic sensors. Is provided with a signal processing circuit that detects the position by comparing the value obtained by multiplying each value by a real number with the previously stored value of the attenuated sine wave output and the value of the attenuated cosine wave output. As a magnetic sensor Even if the component parts are composed of general-purpose products or parts that are easily available, the size can be reduced with a simple configuration, and the absolute position can be detected over a wide range with high accuracy. It is possible to manufacture a position detection device and an electronic device using the position detection device.

本発明に係る位置検出装置の実施例7を図50(a),(b)乃至図58に基づいて以下に説明する。   A seventh embodiment of the position detecting apparatus according to the present invention will be described below with reference to FIGS. 50 (a) and 50 (b) to FIG.

本実施例7は、上述した実施例1の変形例であり、位置検出装置800において、均一な着磁強度により着磁された直方体磁石801の移動に伴って、ホールセンサ802a,802bの出力が、単調減少するよう直方体磁石801の形状を変更した場合の例である。なお、1つのホールセンサの出力ピーク値を結んだ図17において、『3』の曲線となる場合の実施例を示す。   The seventh embodiment is a modification of the first embodiment described above, and in the position detection device 800, the outputs of the hall sensors 802a and 802b are generated in accordance with the movement of the rectangular parallelepiped magnet 801 magnetized with a uniform magnetization intensity. This is an example when the shape of the rectangular parallelepiped magnet 801 is changed so as to monotonously decrease. In addition, in FIG. 17 which connected the output peak value of one Hall sensor, the Example in the case of becoming a curve of "3" is shown.

<実施例7の構成>
図50(a),(b)は、本発明に係る位置検出装置の実施例7を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図50(a)は断面図、図50(b)は上面図を示している。
<Configuration of Example 7>
FIGS. 50A and 50B are schematic configuration diagrams for explaining the seventh embodiment of the position detection apparatus according to the present invention, and the position detection apparatus in the case of using two Hall sensors aligned on one axis is shown. FIG. 50A shows a cross-sectional view, and FIG. 50B shows a top view.

位置検出装置800は、N極S極をそれぞれ交互に所定の間隔毎に着磁された台形柱磁石(磁束発生手段)801と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)802a,802bと、ホールセンサ802a(第1のホールセンサ)と、ホールセンサ802b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板803とを備えている。なお、本発明に係る位置検出装置800は、様々な種類の磁石と、種々なホールセンサとを用いて構成できる。   The position detecting device 800 includes a trapezoidal column magnet (magnetic flux generating means) 801 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two sets. ) 802a, 802b, a hall sensor 802a (first hall sensor), a hall sensor 802b (second hall sensor), and a substrate 803 on which these two hall sensors are mounted. The position detection apparatus 800 according to the present invention can be configured using various types of magnets and various Hall sensors.

ホールセンサ802a,802bは、基板803上に所定の間隔で配置され、感磁方向が基板803に対して垂直である。台形柱磁石801は、ホールセンサ802a,802bからの信号を所定の演算を行った際に、後述する図51に示される信号となるよう着磁された構成となっており、基板803と対向する1平面809内で、X方向に沿って移動可能に配置されている。   The hall sensors 802a and 802b are arranged on the substrate 803 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 803. The trapezoidal column magnet 801 is configured to be magnetized so as to be a signal shown in FIG. 51 described later when a predetermined calculation is performed on signals from the hall sensors 802a and 802b, and faces the substrate 803. In one plane 809, it is arranged to be movable along the X direction.

台形柱磁石801は、ホールセンサ802a,802bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板803に平行な平面内を移動可能に支持されており、N極とS極の1組が、ホールセンサ802a、802bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The trapezoidal column magnet 801 is supported so as to be movable in a plane parallel to the straight line connecting the centers of the magnetic sensing portions of the Hall sensors 802a and 802b and parallel to the substrate 803. A plurality of sets are magnetized so that one set has a distance four times as long as the distance between the centers of the magnetic sensing parts of the Hall sensors 802a and 802b.

ここで、ホールセンサ802a,802bの感磁部の中心間を結ぶ直線に対して平行方向でかつ基板803に平行な平面内を移動可能という意味は、ホールセンサ802a,802bの感磁部の中心間を結ぶ直線と台形柱磁石801の移動方向を示す直線とを、基板803に平行な任意の同一平面上に投影した場合にそれぞれの延長線が平行であることを意味するものである。   Here, the meaning of being movable in a plane parallel to the straight line connecting the centers of the magnetic sensing parts of the Hall sensors 802a and 802b and parallel to the substrate 803 is the center of the magnetic sensing parts of the Hall sensors 802a and 802b. This means that when a straight line connecting the straight lines and a straight line indicating the moving direction of the trapezoidal column magnet 801 are projected on an arbitrary same plane parallel to the substrate 803, the respective extension lines are parallel.

ホールセンサ802a,802bから減衰振動波状又は増幅振動波状の出力信号を発生させるために、台形柱磁石801は、移動方向に沿って発生する磁界の強さが減衰又は増幅するような形状を有している。   In order to generate a damped vibration wave or amplified vibration wave output signal from the hall sensors 802a and 802b, the trapezoidal column magnet 801 has such a shape that the strength of the magnetic field generated along the moving direction is attenuated or amplified. ing.

台形柱磁石801は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板803に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the trapezoidal column magnet 801, ferrite, neodymium iron boron, samarium cobalt magnet or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnet is magnetized in a direction in which N and S poles are magnetized in a direction perpendicular to the substrate 803.

1組のホールセンサとして構成された、第1のホールセンサ802aの感磁部中心と、第2のホールセンサ802bの感磁部中心を結ぶ直線もX方向である。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 802a and the center of the magnetic sensing part of the second hall sensor 802b configured as a set of hall sensors is also in the X direction.

図50(a),(b)において、A801は台形柱磁石801の長辺方向Xの長さ、A802aは台形柱磁石801の短辺方向Yのうち長い側の長さ、A802bは台形柱磁石801の短辺方向Yのうち短い側の長さ、A803は台形柱磁石801の厚み(着磁)方向Zの長さ、A804は着磁された磁石の1周期分の長さをそれぞれ示す。また、B801は、台形柱磁石801のホールセンサ802a,802bの基板803に対向する平面809から、ホールセンサ802aと802bの感磁部の中心までの距離を示す。B802は、第1のホールセンサ802aの感磁部の中心と、第2のホールセンサ802bの感磁部の中心とを結ぶ距離を示す。B803は、第1のホールセンサ802aの感磁部の中心及び、第2のホールセンサ802bの感磁部の中心から、台形柱磁石801の短辺方向Yの中心との距離を示す。   50A and 50B, A801 is the length of the trapezoidal column magnet 801 in the long side direction X, A802a is the length of the long side in the short side direction Y of the trapezoidal column magnet 801, and A802b is the trapezoidal column magnet. A length on the short side of the short side direction Y of 801, A803 indicates a length in the thickness (magnetization) direction Z of the trapezoidal column magnet 801, and A804 indicates a length of one period of the magnetized magnet. B801 indicates the distance from the plane 809 facing the substrate 803 of the hall sensors 802a and 802b of the trapezoidal column magnet 801 to the center of the magnetic sensing parts of the hall sensors 802a and 802b. B802 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 802a and the center of the magnetic sensing part of the second Hall sensor 802b. B803 indicates the distance from the center of the magnetic sensing part of the first Hall sensor 802a and the center of the magnetic sensing part of the second Hall sensor 802b to the center of the trapezoidal column magnet 801 in the short side direction Y.

ホールセンサ802a,802bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The hall sensors 802a and 802b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図51(a),(b)は、図50に示した位置検出装置において、台形柱磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   51 (a) and 51 (b) are waveform diagrams showing output signals of two hall sensors obtained when the trapezoidal column magnet or the two hall sensors are moved in the position detection apparatus shown in FIG. It is.

ホールセンサ802a,802b(固定)に対して台形柱磁石801を基準位置からX方向に沿って移動された場合には、一方のホールセンサ802aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ802bの出力信号は、図中の黒丸のように、一方のホールセンサ802aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the trapezoidal column magnet 801 is moved from the reference position along the X direction with respect to the hall sensors 802a and 802b (fixed), the output signal of one hall sensor 802a is attenuated as a white square in the figure. The output signal of the vibration waveform is shown, and the output signal of the other hall sensor 802b is an output signal of a damped vibration waveform that is out of phase with the output signal of one hall sensor 802a, as indicated by a black circle in the figure.

図52は、図50(a),(b)に示した位置検出装置内の位置検出回路の回路図である。位置検出装置800は、2個のホールセンサ802a,802bを有する駆動回路805と、このホールセンサ802a,802bからのそれぞれの出力に基づいて位置検出を行う信号処理回路806とを備えている。   FIG. 52 is a circuit diagram of the position detection circuit in the position detection device shown in FIGS. 50 (a) and 50 (b). The position detection device 800 includes a drive circuit 805 having two hall sensors 802a and 802b, and a signal processing circuit 806 that performs position detection based on outputs from the hall sensors 802a and 802b.

駆動回路805は、1組のホールセンサ802a,802bと、これらのホールセンサ802a,802bに電圧を供給する電源部Vddとから構成される。   The drive circuit 805 includes a pair of hall sensors 802a and 802b and a power supply unit Vdd that supplies voltage to the hall sensors 802a and 802b.

第1のホールセンサ802aは、正極入力端子802a(A)と、正極出力端子802a(B)と、負極入力端子802a(C)と、負極出力端子802a(D)とから構成される。   The first hall sensor 802a includes a positive input terminal 802a (A), a positive output terminal 802a (B), a negative input terminal 802a (C), and a negative output terminal 802a (D).

第2のホールセンサ802bは、正極入力端子802b(E)と、正極出力端子802b(F)と、負極入力端子802b(G)と、負極出力端子802b(H)とから構成される。   The second hall sensor 802b includes a positive input terminal 802b (E), a positive output terminal 802b (F), a negative input terminal 802b (G), and a negative output terminal 802b (H).

正極出力端子802a(B)と負極出力端子802a(D)とは、差動増幅器807aの入力信号となり、差動増幅器807aからはV8011が出力される。正極出力端子802b(F)と負極出力端子802b(H)とは、差動増幅器807bの入力信号となり、差動増幅器807bからはV8021が出力される。   The positive output terminal 802a (B) and the negative output terminal 802a (D) serve as input signals to the differential amplifier 807a, and V8011 is output from the differential amplifier 807a. The positive output terminal 802b (F) and the negative output terminal 802b (H) serve as input signals to the differential amplifier 807b, and V8021 is output from the differential amplifier 807b.

信号処理部806は、差動増幅器807a,807bと、計算処理部808とにより構成される。この信号処理部806では、ホールセンサ802a,802bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 806 includes differential amplifiers 807a and 807b and a calculation processing unit 808. The signal processing unit 806 performs position detection based on the outputs from the hall sensors 802a and 802b.

<実施例7の回路動作>
以下に、本実施例7の位置検出装置800の動作について説明する。
<Circuit Operation of Example 7>
Hereinafter, the operation of the position detection apparatus 800 according to the seventh embodiment will be described.

図52に示す信号処理部806は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 806 shown in FIG. 52 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路805において、第1のホールセンサ802aの正極入力端子802a(A)と、第2のホールセンサ802bの正極入力端子802b(E)とが接続されることによって入力端子とされ、第1のホールセンサ802aの負極入力端子802a(C)と、第2のホールセンサ802bの負極入力端子802b(G)とが接続されることによって入力端子とされる。   In the drive circuit 805, the positive input terminal 802a (A) of the first hall sensor 802a and the positive input terminal 802b (E) of the second hall sensor 802b are connected to form an input terminal. The negative input terminal 802a (C) of the hall sensor 802a and the negative input terminal 802b (G) of the second hall sensor 802b are connected to form an input terminal.

第1のホールセンサ802aの正極出力端子802a(B)と負極出力端子802a(D)は、信号処理回路806の第1の差動増幅器807aに接続され、第2のホールセンサ802bの正極出力端子802b(F)と負極出力端子802b(H)は、信号処理回路806の第2の差動増幅器807bに接続される。   The positive output terminal 802a (B) and the negative output terminal 802a (D) of the first hall sensor 802a are connected to the first differential amplifier 807a of the signal processing circuit 806, and the positive output terminal of the second hall sensor 802b. 802 b (F) and the negative output terminal 802 b (H) are connected to the second differential amplifier 807 b of the signal processing circuit 806.

第1の差動増幅器807aの出力端子と第2の差動増幅器807bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部808に伝達される。   The output terminal of the first differential amplifier 807a and the output terminal of the second differential amplifier 807b are input to an AD converter and transmitted to a calculation processing unit 808 that appropriately calculates an output.

計算処理部808は、以下の処理を行って位置検出を行う。   The calculation processing unit 808 performs position detection by performing the following processing.

<実施例7の計算処理部の処理>
計算処理部808では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板803上に配置された2個の磁気センサ802a,802bにおいて、磁気センサ802a及び802bからのそれぞれの出力をV8011,V8021とした場合、出力V8011,V8021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R801における正弦波の値sin(R801)と余弦波の値cos(R801)の組を用いて、
a×V8011×cos(R801)
−b×V8021×sin(R801)・・・(12)
の値が最もゼロに近づく電気角R801をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 7>
In the calculation processing unit 808, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one period is held in advance on a table. In the two magnetic sensors 802a and 802b arranged on the substrate 803, when the respective outputs from the magnetic sensors 802a and 802b are V8011, V8021, the values obtained by multiplying the outputs V8011, V8021 by real numbers, respectively, on the table Using a set of a sinusoidal value sin (R801) and a cosine wave value cos (R801) at the held electrical angle R801,
a × V8011 × cos (R801)
-B * V8021 * sin (R801) (12)
First, an electrical angle R801 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo8=√((a×V8011)2+(b×V8021)2)・・・(13)
の関係式から求められる値Vo8及び電気角R801を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo8の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo8の値のみでは判断できない。そこでVo8及びR801を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo8 = √ ((a × V8011) 2 + (b × V8021) 2 ) (13)
Using the value Vo8 and the electrical angle R801 obtained from the relational expression, the Nth period is obtained in the damped vibration wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo8 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo8. Therefore, using Vo8 and R801, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo8の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ802aの出力V8011がゼロを示した際のVo8の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo8値をV(N)とし、N−1番目の周期の電気角360度におけるVo8値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo8≧V(N−1)かつR801≦Rs度
または、
V(N−1)>Vo8>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo8≧V(N)かつR801≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置800の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo8 at an electrical angle of 360 degrees per cycle is stored in the memory. As the value to be held, for example, a value obtained in advance by simulation may be held, or when the individual calibration is performed by moving the magnet, when the output V8011 of the Hall sensor 802a indicates zero. The value of Vo8 may be held. Next, when the Vo8 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo8 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo8 ≧ V (N−1) and R801 ≦ Rs degree or
V (N-1)>Vo8> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo8 ≧ V (N) and R801 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 800, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R801及び周期N番目の値を用いて、
P800=P×(N−1)+(R801×P÷360)・・・(14)
の関係式から求められる値P800を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R801 and the Nth value of the cycle,
P800 = P × (N−1) + (R801 × P ÷ 360) (14)
Position detection is performed using a value P800 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例7では、第1のホールセンサ802aと第2のホールセンサ802bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器807a,807bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the seventh embodiment, the input terminals of the first hall sensor 802a and the second hall sensor 802b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 807a and 807b.

<実施例7の位置検出例>
次に、本発明に係る位置検出装置800の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図50における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 7>
Next, a specific position detection example of the position detection apparatus 800 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 50 will be described.

図53(a),(b)は、図50(a),(b)に示した位置検出装置に対応する構成例を示す図で、(a)は断面図、(b)は上面図である。   53 (a) and 53 (b) are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 50 (a) and 50 (b). FIG. 53 (a) is a sectional view and FIG. 53 (b) is a top view. is there.

図53(a),(b)に示すように、台形柱磁石801の長辺方向Xの長さA801=9.0mm、台形柱磁石801の短辺方向Yのうち長い側の長さA802a=1.1mm、台形柱磁石801の短辺方向Yのうち短い側の長さA802b=0.4mm、台形柱磁石801の厚み方向Zの長さ(磁石の着磁方向の長さ)A803=0.5mm、着磁された磁石の1周期分の長さA804=1.0mmとする。   53 (a) and 53 (b), the length A801 of the trapezoidal column magnet 801 in the long side direction X = 9.0 mm, and the length A802a of the long side of the short side direction Y of the trapezoidal column magnet 801 = 1.1 mm, length A802b = 0.4 mm on the short side in the short side direction Y of the trapezoidal column magnet 801, length in the thickness direction Z of the trapezoidal column magnet 801 (length in the magnetizing direction of the magnet) A803 = 0 0.5 mm, and length A804 = 1.0 mm for one cycle of the magnetized magnet.

また、台形柱磁石801のホールセンサ802a,802bに対向する平面809からホールセンサ802a,802bの感磁部の中心までの距離B801=0.2mm、第1のホールセンサ802aの感磁部の中心と第2のホールセンサ802bの感磁部の中心との距離B802=0.25mm、第1のホールセンサ802aの感磁部の中心及び、第2のホールセンサ802bの感磁部の中心から、台形柱磁石801の短辺方向Yの中心との距離B803=0.4mmとする。   Further, the distance B801 = 0.2 mm from the plane 809 facing the hall sensors 802a and 802b of the trapezoidal column magnet 801 to the center of the magnetism sensing part of the hall sensors 802a and 802b, the center of the magnetism sensing part of the first hall sensor 802a. Distance B802 = 0.25 mm from the center of the magnetic sensing part of the second Hall sensor 802b, the center of the magnetic sensing part of the first Hall sensor 802a, and the center of the magnetic sensing part of the second Hall sensor 802b, The distance B803 = 0.4 mm from the center of the trapezoidal column magnet 801 in the short side direction Y is set.

上記設計の際、ホールセンサ802a,802bを1つのパッケージ内に搭載する方が、ホールセンサ802a,802bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ802a,802bを設けることも可能である。   In the above design, mounting the Hall sensors 802a and 802b in one package reduces the arrangement error of the Hall sensors 802a and 802b, and can contribute to higher accuracy of the position detection device. For example, it is possible to provide Hall sensors 802a and 802b on a Si substrate.

従って、第1のホールセンサ802aと第2のホールセンサ802bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 802a and the second hall sensor 802b in one package.

図54及び図55は、台形柱磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   54 and 55 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the trapezoidal column magnet.

図54は、磁石の移動距離に対する第1のホールセンサ802aの出力電圧を2倍した値2×V8011の変化L8011を示す図である。図55は、磁石の移動距離に対する第2のホールセンサ802bの出力電圧を2倍した値2×V8021の変化L8021を示す図である。   FIG. 54 is a diagram showing a change L8011 of a value 2 × V8011 obtained by doubling the output voltage of the first hall sensor 802a with respect to the moving distance of the magnet. FIG. 55 is a diagram showing a change L8021 of a value 2 × V8021 obtained by doubling the output voltage of the second hall sensor 802b with respect to the moving distance of the magnet.

図56は、磁石の移動距離に対する√((2×V8011)2+(2×V8021)2)の変化L8031を示す図である。 FIG. 56 is a diagram showing a change L8031 of √ ((2 × V8011) 2 + (2 × V8021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ802a,802bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、台形柱磁石801の各極における中央の表面磁束密度の絶対値が、240mTとなるよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two Hall sensors 802a and 802b is 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “3” in FIG. It is assumed that the absolute value of the surface magnetic flux density at the center of each pole of the trapezoidal column magnet 801 is magnetized so as to be 240 mT so that the curve indicated by

図56に示した、磁石の移動距離に対する√((2×V8011)2+(2×V8021)2)の変化L8031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L8031 of √ ((2 × V8011) 2 + (2 × V8021) 2 ) with respect to the moving distance of the magnet shown in FIG. 56 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ802aの出力電圧を2倍した値2×V8011と、磁石の移動距離に対する第2のホールセンサ802bの出力電圧を2倍した値2×V8021の変化L8021と、任意の電気角R801における正弦波の値sin(R801)と余弦波の値cos(R801)の組を用いて、2×V8011×cos(R801)−2×V8021×sin(R801)の値が最もゼロに近づくR801を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V8011 obtained by doubling the output voltage of the first Hall sensor 802a with respect to the moving distance of the magnet, and a change L8021 of a value 2 × V8021 obtained by doubling the output voltage of the second Hall sensor 802b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R801) and a cosine wave value cos (R801) at an arbitrary electrical angle R801, a value of 2 × V8011 × cos (R801) −2 × V8021 × sin (R801) is obtained. R801 closest to zero is obtained.

次に、Vo8=√((2×V8011)2+(2×V8021)2)の関係式からVo8を求める。 Next, Vo8 is obtained from the relational expression of Vo8 = √ ((2 × V8011) 2 + (2 × V8021) 2 ).

次に、周期毎の電気角360度におけるVo8の値をメモリに保持させる。本実施例7では、
1周期目の電気角360度の場合、Vo8=307.49mV
2周期目の電気角360度の場合、Vo8=264.46mV
3周期目の電気角360度の場合、Vo8=217.23mV
4周期目の電気角360度の場合、Vo8=170.85mV
5周期目の電気角360度の場合、Vo8=129.61mV
6周期目の電気角360度の場合、Vo8=96.27mV
7周期目の電気角360度の場合、Vo8=73.59mV
をメモリに保持させることになる。
Next, the value of Vo8 at an electrical angle of 360 degrees per cycle is held in the memory. In this example 7,
In the case of an electrical angle of 360 degrees in the first cycle, Vo8 = 307.49 mV
In the case of an electrical angle of 360 degrees in the second cycle, Vo8 = 264.46 mV
In the case of an electrical angle of 360 degrees in the third period, Vo8 = 217.23 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo8 = 170.85 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo8 = 129.61 mV
In the case of an electrical angle of 360 degrees in the sixth period, Vo8 = 96.27 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo8 = 73.59 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo8もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo8の値の1.2倍の値をメモリに保持させる。   In order to specify the first cycle, Vo8 in the case of 360 degrees in the 0th cycle needs to be held in the memory. In this case, a value 1.2 times the value of Vo8 at an electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo8=368.98mV
次に、N番目の周期の電気角360度におけるVo8値をV(N)とし、N−1番目の周期の電気角360度におけるVo8値をV(N−1)とした場合、(V(N−1)×1.07)≧Vo8≧V(N−1)かつR801≦250度、または、V(N−1)>Vo8>(V(N)×1.07)、または、(V(N)×1.07)≧Vo8≧V(N)かつR801≧250度であればN番目の周期であると特定する。
In the case of an electrical angle of 360 degrees in the 0th cycle, Vo8 = 368.98 mV
Next, when the Vo8 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo8 value at the electrical angle 360 degrees in the N−1th cycle is V (N−1), (V ( N-1) × 1.07) ≧ Vo8 ≧ V (N−1) and R801 ≦ 250 degrees, or V (N−1)>Vo8> (V (N) × 1.07), or (V If (N) × 1.07) ≧ Vo8 ≧ V (N) and R801 ≧ 250 degrees, the Nth cycle is specified.

次に、求められた電気角R801及び周期N番目の値を用いて、P800=1000×(N−1)+(R801×1000÷360)の関係式から求められる値P800を用いて位置検出を行う。   Next, using the obtained electrical angle R801 and the Nth value of the period, position detection is performed using a value P800 obtained from a relational expression of P800 = 1000 × (N−1) + (R801 × 1000 ÷ 360). Do.

図57は、磁石の移動距離に対するP800の変化L8041を示す図である。図57より7mmの位置検出範囲において、P800が高い線形性を持つことがわかる。   FIG. 57 is a diagram showing a change L8041 in P800 with respect to the moving distance of the magnet. FIG. 57 shows that P800 has high linearity in a position detection range of 7 mm.

図58は、磁石の移動距離に対する、実際の位置とP800との誤差の変化L8051を示す図である。図58より7mmの位置検出範囲において、±22μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 58 is a diagram showing a change L8051 in error between the actual position and P800 with respect to the moving distance of the magnet. 58 that the absolute position can be detected with an error within ± 22 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L8051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、その他実施例(例えば、実施例6)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, the magnetic simulation result L8051 may naturally have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) may be applied to reduce the position detection error.

上述のように演算中の係数a及びb、Vs及びRsの値をそれぞれ、a=b=2、Vs=107%、Rs=250度として演算を行ったが、この数値が異なっても、位置検出装置800において、台形柱磁石801の長辺方向Xの長さA801、台形柱磁石801の短辺方向Yのうち長い側の長さA802a、台形柱磁石801の短辺方向Yのうち短い側の長さA802b、台形柱磁石801の厚み方向Zの長さ(磁石の着磁方向の長さ)A803、着磁された磁石の1周期分の長さA804、台形柱磁石801のホールセンサ802a,802bに対向する平面809からホールセンサ802a,802bの感磁部の中心までの距離B801、ホールセンサ802aの感磁部の中心とホールセンサ802bの感磁部の中心との距離B802、第1のホールセンサ802aの感磁部の中心及び、第2のホールセンサ802bの感磁部の中心から、台形柱磁石801の短辺方向Yの中心との距離B803を最適化することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b, Vs, and Rs being calculated are set as a = b = 2, Vs = 107%, and Rs = 250 degrees, respectively. In the detection apparatus 800, the shorter side of the length A801 in the long side direction X of the trapezoidal column magnet 801, the length A802a of the shorter side direction Y of the trapezoidal column magnet 801, and the shorter side Y of the trapezoidal column magnet 801. Of the trapezoidal column magnet 801 in the thickness direction Z (length in the magnetizing direction of the magnet) A803, the length A804 of the magnetized magnet for one cycle, the Hall sensor 802a of the trapezoidal column magnet 801 , 802b, a distance B801 from the plane 809 facing the center of the magnetic sensing part of the hall sensors 802a, 802b, a distance B802 between the center of the magnetic sensing part of the hall sensor 802a and the center of the magnetic sensing part of the hall sensor 802b. By optimizing the distance B803 from the center of the magnetic sensing part of the first hall sensor 802a and the center of the magnetic sensing part of the second hall sensor 802b to the center in the short side direction Y of the trapezoidal column magnet 801, A better result than the comparative example is obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ802a,802bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 802a and 802b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ802a,802bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ802a,802bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 802a and 802b do not have a magnetic chip for performing magnetic amplification. Hall sensors 802a and 802b have a magnetic chip inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and it is wide. It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線及び基板に平行に可動可能に支持し、基板に対して垂直にN極とS極が所定の間隔で所定の組数着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV8011,V8021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R801における正弦波の値sin(R801)と余弦波の値cos(R801)とし、1周期の間に磁石が移動する距離をPとした場合、a×V8011×cos(R801)−b×V8021×sin(R801)の値が最もゼロに近づく電気角R801と、Vo8=√((a×V8011)2+(b×V8021)2)の関係式から得られる値Vo8とを用いて得られた周期N番目と、電気角R801とから、P800=P×(N−1)+(R801×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a pair of two hall sensors whose magnetic direction is perpendicular to the substrate on which they are arranged is a set, and is supported so as to be movable parallel to the straight line connecting the centers of the two hall sensors and the board. Then, a magnet in which a predetermined number of sets of N poles and S poles are magnetized at a predetermined interval with respect to the substrate is arranged, and outputs obtained by multiplying the outputs of the two Hall sensors by real numbers are designated as V8011, V8021, and arbitrary A set of a sine wave value and a cosine wave value corresponding to the electrical angle is previously stored on a table, and a sine wave value sin (R801) and a cosine wave value cos (R801) at an arbitrary electrical angle R801 are stored. When the distance that the magnet moves during one cycle is P, the electrical angle R801 where the value of a × V8011 × cos (R801) −b × V8021 × sin (R801) is closest to zero, and Vo8 = √ ( (A × V8011) 2 + (B × V8021) 2 ) From the period Nth obtained using the value Vo8 obtained from the relational expression and the electrical angle R801, P800 = P × (N−1) + (R801 × P ÷ 360 ) Is used to detect the position (however, a real number where a ≠ 0 and b ≠ 0). Therefore, the Hall sensor is used as a magnetic sensor, and the components can be easily obtained as general-purpose products. Even when configured with parts, a position detector that can achieve downsizing with a simple configuration and that can perform absolute position detection over a wide range of distances with high accuracy and its position detection. An electronic device using the apparatus can be manufactured.

本発明に係る位置検出装置の実施例8を図59(a),(b)乃至図67に基づいて以下に説明する。   An eighth embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 59 (a) and (b) to FIG.

本実施例8は、上述した実施例1の変形例であり、位置検出装置900において、均一な着磁強度により着磁された直方体磁石901の移動に伴って、ホールセンサ902a,902bの出力が、単調減少するよう直方体磁石901に傾きを持たせて配置した場合の例である。なお、1つのホールセンサの出力ピーク値を結んだ図17において、『3』の曲線となる場合の実施例を示す。   The eighth embodiment is a modification of the first embodiment described above, and in the position detection device 900, the outputs of the hall sensors 902a and 902b are generated along with the movement of the rectangular magnet 901 magnetized with a uniform magnetization intensity. This is an example in which the rectangular parallelepiped magnet 901 is arranged with an inclination so as to monotonously decrease. In addition, in FIG. 17 which connected the output peak value of one Hall sensor, the Example in the case of becoming a curve of "3" is shown.

<実施例8構成>
図59(a),(b)は、本発明に係る位置検出装置の実施例8を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図59(a)は断面図、図59(b)は上面図を示している。
<Configuration of Example 8>
FIGS. 59A and 59B are schematic configuration diagrams for explaining an eighth embodiment of the position detection apparatus according to the present invention, and a position detection apparatus in the case of using two Hall sensors aligned on one axis. 59 (a) is a cross-sectional view, and FIG. 59 (b) is a top view.

位置検出装置900は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)901と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)902a,902bと、ホールセンサ902a(第1のホールセンサ)と、ホールセンサ902b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板903とを備えている。なお、本発明に係る位置検出装置900は、様々な種類の磁石と、種々なホールセンサとを用いて構成できる。   The position detection device 900 includes a rectangular parallelepiped magnet (magnetic flux generating means) 901 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two as a set. 902a and 902b, a hall sensor 902a (first hall sensor), a hall sensor 902b (second hall sensor), and a substrate 903 on which these two hall sensors are mounted. The position detection device 900 according to the present invention can be configured using various types of magnets and various Hall sensors.

ホールセンサ902a,902bは、基板903上に所定の間隔で配置され、感磁方向が基板903に対して垂直である。   The hall sensors 902a and 902b are arranged on the substrate 903 at a predetermined interval, and the magnetic sensing direction is perpendicular to the substrate 903.

直方体磁石901は、ホールセンサ902a,902bからの信号を所定の演算を行った際に、図60に示される信号となるよう着磁された構成となっており、X方向に沿って移動可能に配置されている。直方体磁石901は、Y方向を軸として基板903に対し所定の角度を持って支持されている。N極とS極の1組が、ホールセンサ902a、902bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。平面909は、直方体磁石901の基板903に最も近い辺を通り、かつ基板903に平行な1平面である。   The rectangular parallelepiped magnet 901 is magnetized so as to be a signal shown in FIG. 60 when a predetermined calculation is performed on signals from the hall sensors 902a and 902b, and is movable along the X direction. Has been placed. The rectangular parallelepiped magnet 901 is supported with a predetermined angle with respect to the substrate 903 with the Y direction as an axis. A set of N poles and S poles is magnetized by a plurality of sets so as to be a distance four times the distance connecting the centers of the magnetic sensing portions of the Hall sensors 902a and 902b. The plane 909 is one plane that passes through the side closest to the substrate 903 of the rectangular parallelepiped magnet 901 and is parallel to the substrate 903.

ホールセンサ902a,902bから減衰振動波状又は増幅振動波状の出力信号を発生させるために、直方体磁石901は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように、基板903に対して所定の傾きを持って支持されている。   In order to generate a damped vibration wave-like or amplified vibration wave-like output signal from the Hall sensors 902a and 902b, the rectangular parallelepiped magnet 901 is applied to the substrate 903 so that the strength of the magnetic field generated along the moving direction is attenuated or amplified. And is supported with a predetermined inclination.

図60は、図59(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 60 is a waveform diagram showing output signals of two hall sensors obtained by moving a rectangular magnet or two hall sensors in the position detection device shown in FIGS. 59 (a) and 59 (b). is there.

ホールセンサ902a,902b(固定)に対して直方体磁石901を基準位置からX方向に沿って移動された場合には、一方のホールセンサ902aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ902bの出力信号は、図中の黒丸のように、一方のホールセンサ902aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 901 is moved from the reference position along the X direction with respect to the hall sensors 902a and 902b (fixed), the output signal of one hall sensor 902a is damped as shown by the white square in the figure. The waveform output signal is shown, and the output signal of the other Hall sensor 902b is an attenuated oscillation waveform output signal that is out of phase with the output signal of one Hall sensor 902a, as indicated by the black circles in the figure.

直方体磁石901は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、磁石の各面のうち、基板903に対抗する面に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 901, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetizing direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the face facing the substrate 903 among the faces of the magnet.

1組のホールセンサとして構成された、第1のホールセンサ902aの感磁部中心と、第2のホールセンサ902bの感磁部中心を結ぶ直線はX方向である。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 902a and the center of the magnetic sensing part of the second hall sensor 902b, configured as a set of hall sensors, is in the X direction.

図59(a),(b)において、A901は直方体磁石901の長辺方向Xの長さ、A902は直方体磁石901の短辺方向Yの長さ、A903は直方体磁石901の厚み(着磁)方向Zの長さ、A904は着磁された磁石の1周期分の長さをそれぞれ示す。また、B901は、平面909から、ホールセンサ902aもしくは902bの感磁部の中心までの距離を示す。B902は、第1のホールセンサ902aの感磁部の中心と、第2のホールセンサ902bの感磁部の中心とを結ぶ距離を示す。   59A and 59B, A901 is the length in the long side direction X of the cuboid magnet 901, A902 is the length in the short side direction Y of the cuboid magnet 901, and A903 is the thickness (magnetization) of the cuboid magnet 901. The length in the direction Z, A904, indicates the length of one period of the magnetized magnet. B901 indicates the distance from the plane 909 to the center of the magnetic sensing part of the Hall sensor 902a or 902b. B902 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 902a and the center of the magnetic sensing part of the second Hall sensor 902b.

ホールセンサ902a,902bは、GaAs、InAs、InSbなどの III−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   Hall sensors 902a and 902b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図61は、図59(a),(b)に示した位置検出装置内の位置検出回路の回路図である。   61 is a circuit diagram of a position detection circuit in the position detection device shown in FIGS. 59 (a) and 59 (b).

位置検出装置900は、2個のホールセンサ902a,902bを有する駆動回路905と、このホールセンサ902a,902bからのそれぞれの出力に基づいて位置検出を行う信号処理回路906とを備えている。   The position detection device 900 includes a drive circuit 905 having two hall sensors 902a and 902b, and a signal processing circuit 906 that performs position detection based on outputs from the hall sensors 902a and 902b.

駆動回路905は、1組のホールセンサ902a,902bと、これらのホールセンサ902a,902bに電圧を供給する電源部Vddとから構成される。   The drive circuit 905 includes a pair of hall sensors 902a and 902b and a power supply unit Vdd that supplies a voltage to the hall sensors 902a and 902b.

第1のホールセンサ902aは、正極入力端子902a(A)と、正極出力端子902a(B)と、負極入力端子902a(C)と、負極出力端子902a(D)とから構成される。   The first Hall sensor 902a includes a positive input terminal 902a (A), a positive output terminal 902a (B), a negative input terminal 902a (C), and a negative output terminal 902a (D).

第2のホールセンサ902bは、正極入力端子902b(E)と、正極出力端子902b(F)と、負極入力端子902b(G)と、負極出力端子902b(H)とから構成される。   The second Hall sensor 902b includes a positive input terminal 902b (E), a positive output terminal 902b (F), a negative input terminal 902b (G), and a negative output terminal 902b (H).

正極出力端子902a(B)と負極出力端子902a(D)とは、差動増幅器907aの入力信号となり、差動増幅器907aからはV9011が出力される。正極出力端子902b(F)と負極出力端子902b(H)とは、差動増幅器907bの入力信号となり、差動増幅器907bからはV9021が出力される。   The positive output terminal 902a (B) and the negative output terminal 902a (D) serve as input signals to the differential amplifier 907a, and V9011 is output from the differential amplifier 907a. The positive output terminal 902b (F) and the negative output terminal 902b (H) serve as input signals to the differential amplifier 907b, and V9021 is output from the differential amplifier 907b.

信号処理部906は、差動増幅器907a,907bと、計算処理部908とにより構成される。この信号処理部906では、ホールセンサ902a,902bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 906 includes differential amplifiers 907a and 907b and a calculation processing unit 908. The signal processing unit 906 performs position detection based on the respective outputs from the hall sensors 902a and 902b.

<実施例8の回路動作>
以下に、本実施例8の位置検出装置の動作について以下に説明する。
<Circuit Operation of Example 8>
The operation of the position detection device according to the eighth embodiment will be described below.

図61に示す信号処理部906は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 906 shown in FIG. 61 is arranged on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について詳細に説明する。   Hereinafter, a specific operation of the position detection circuit will be described in detail.

駆動回路905において、第1のホールセンサ902aの正極入力端子902a(A)と、第2のホールセンサ902bの正極入力端子902b(E)とが接続されることによって入力端子とされ、第1のホールセンサ902aの負極入力端子902a(C)と、第2のホールセンサ902bの負極入力端子902b(G)とが接続されることによって入力端子とされる。   In the driving circuit 905, the positive input terminal 902a (A) of the first hall sensor 902a and the positive input terminal 902b (E) of the second hall sensor 902b are connected to form an input terminal. The negative input terminal 902a (C) of the hall sensor 902a and the negative input terminal 902b (G) of the second hall sensor 902b are connected to form an input terminal.

第1のホールセンサ902aの正極出力端子902a(B)と負極出力端子902a(D)は、信号処理回路906の第1の差動増幅器907aに接続され、第2のホールセンサ902bの正極出力端子902b(F)と負極出力端子902b(H)は、信号処理回路906の第2の差動増幅器907bに接続される。   The positive output terminal 902a (B) and the negative output terminal 902a (D) of the first hall sensor 902a are connected to the first differential amplifier 907a of the signal processing circuit 906, and the positive output terminal of the second hall sensor 902b. 902b (F) and the negative output terminal 902b (H) are connected to the second differential amplifier 907b of the signal processing circuit 906.

第1の差動増幅器907aの出力端子と第2の差動増幅器907bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部908に伝達される。   The output terminal of the first differential amplifier 907a and the output terminal of the second differential amplifier 907b are input to the AD converter and transmitted to the calculation processing unit 908 that calculates the output as appropriate.

計算処理部908は、以下の処理を行って位置検出を行う。   The calculation processing unit 908 performs position detection by performing the following processing.

<実施例8の計算処理部の処理>
計算処理部908では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板903上に配置された2個の磁気センサ902a,902bにおいて、磁気センサ902a及び902bからのそれぞれの出力をV9011,V9021とした場合、出力V9011,V9021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R901における正弦波の値sin(R901)と余弦波の値cos(R901)の組を用いて、
a×V9011×cos(R901)
−b×V9021×sin(R901)・・・(15)
の値が最もゼロに近づく電気角R901をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 8>
In the calculation processing unit 908, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held in advance on a table. In the two magnetic sensors 902a and 902b arranged on the substrate 903, when the outputs from the magnetic sensors 902a and 902b are V9011 and V9021, the values obtained by multiplying the outputs V9011 and V9021 by real numbers, respectively, on the table Using a set of a sinusoidal value sin (R901) and a cosine wave value cos (R901) at the held electrical angle R901,
a × V9011 × cos (R901)
-B * V9021 * sin (R901) (15)
First, an electrical angle R901 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo9=√((a×V9011)2+(b×V9021)2)・・・(16)
の関係式から求められる値Vo9及び電気角R901を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo9の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo9の値のみでは判断できない。そこでVo9及びR901を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo9 = √ ((a × V9011) 2 + (b × V9021) 2 ) (16)
Using the value Vo9 and the electrical angle R901 obtained from the relational expression, the Nth period is obtained in the damped oscillation wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo9 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo9. Therefore, using Vo9 and R901, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo9の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ902aの出力V9011がゼロを示した際のVo9の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo9値をV(N)とし、N−1番目の周期の電気角360度におけるVo9値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo9≧V(N−1)かつR901≦Rs度
または、
V(N−1)>Vo9>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo9≧V(N)かつR901≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置900の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo9 at an electrical angle of 360 degrees per cycle is held in the memory. As the value to be held, for example, a value obtained in advance by simulation may be held, or when the individual calibration is performed by moving the magnet, when the output V9011 of the Hall sensor 902a indicates zero. The value of Vo9 may be held. Next, when the Vo9 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo9 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo9 ≧ V (N−1) and R901 ≦ Rs degree or
V (N-1)>Vo9> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo9 ≧ V (N) and R901 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 900, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R901及び周期N番目の値を用いて、
P900=P×(N−1)+(R901×P÷360)・・・(17)
の関係式から求められる値P900を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R901 and the Nth value of the cycle,
P900 = P × (N−1) + (R901 × P ÷ 360) (17)
Position detection is performed using a value P900 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例8では、第1のホールセンサ902aと第2のホールセンサ902bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器907a,907bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the eighth embodiment, the input terminals of the first hall sensor 902a and the second hall sensor 902b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 907a and 907b.

<実施例8の位置検出例>
次に、本発明に係る位置検出装置の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図59における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 8>
Next, a specific position detection example of the position detection device according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 59 will be described.

図62(a),(b)は、図59(a),(b)に示した位置検出装置に対応する構成例を示す図で、(a)は断面図、(b)は上面図である。   62A and 62B are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 59A and 59B. FIG. 62A is a sectional view and FIG. 62B is a top view. is there.

図62(a),(b)に示すように、直方体磁石901の長辺方向Xの長さA901=9.0mm、直方体磁石901の短辺方向Yの長さA902=1.6mm、直方体磁石901の厚み方向Zの長さ(磁石の着磁方向の長さ)A903=0.5mm、着磁された磁石の1周期分の長さA904=1.0mmとする。直方体磁石901は、Y方向を軸として基板903に対し1.5度の角度を持って支持されている。   As shown in FIGS. 62A and 62B, the length A901 of the cuboid magnet 901 in the long side direction X is 9.0 mm, the length A902 of the cuboid magnet 901 in the short side direction A902 is 1.6 mm, and the cuboid magnet. The length in the thickness direction Z of 901 (the length in the magnetizing direction of the magnet) A903 = 0.5 mm, and the length of one magnetized period A904 = 1.0 mm. The rectangular parallelepiped magnet 901 is supported with an angle of 1.5 degrees with respect to the substrate 903 with the Y direction as an axis.

また、平面909からホールセンサ902aもしくは902bの感磁部の中心までの距離B901=0.2mm、第1のホールセンサ902aの感磁部の中心と第2のホールセンサ902bの感磁部の中心との距離B902=0.25mmとする。   Further, the distance B901 = 0.2 mm from the plane 909 to the center of the magnetic sensing part of the Hall sensor 902a or 902b, the center of the magnetic sensing part of the first Hall sensor 902a and the center of the magnetic sensing part of the second Hall sensor 902b Distance B902 = 0.25 mm.

上記設計の際、ホールセンサ902a,902bを1つのパッケージ内に搭載する方が、ホールセンサ902a,902bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ902a,902bを設けることも可能である。   In the above design, mounting the Hall sensors 902a and 902b in one package reduces the placement error of the Hall sensors 902a and 902b, and can contribute to higher accuracy of the position detection device. Further, for example, Hall sensors 902a and 902b can be provided on a Si substrate.

従って、第1のホールセンサ902aと第2のホールセンサ902bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 902a and the second hall sensor 902b in one package.

図63及び図64は、磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   63 and 64 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the magnet.

図63は、磁石の移動距離に対する第1のホールセンサ902aの出力電圧を2倍した値2×V9011の変化L9011を示す図である。図64は、磁石の移動距離に対する第2のホールセンサ902bの出力電圧を2倍した値2×V9021の変化L9021を示す図である。   FIG. 63 is a diagram showing a change L9011 of a value 2 × V9011 obtained by doubling the output voltage of the first Hall sensor 902a with respect to the moving distance of the magnet. FIG. 64 is a diagram showing a change L9021 of a value 2 × V9021 obtained by doubling the output voltage of the second hall sensor 902b with respect to the moving distance of the magnet.

図65は、磁石の移動距離に対する√((2×V9011)2+(2×V9021)2)の変化L9031を示す図である。 FIG. 65 is a diagram showing a change L9031 of √ ((2 × V9011) 2 + (2 × V9021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ902a,902bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、直方体磁石901の各極における中央の表面磁束密度の絶対値が、240mTとなるよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two hall sensors 902a and 902b is 2.2 mV / mT (sensitivity of a general hall sensor), and a curve connecting the output peak values of one hall sensor is “3” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the rectangular magnet 901 is magnetized so as to be 240 mT so that the curve indicated by

図65に示した、磁石の移動距離に対する√((2×V9011)2+(2×V9021)2)の変化L9031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L9031 of √ ((2 × V9011) 2 + (2 × V9021) 2 ) with respect to the moving distance of the magnet shown in FIG. 65 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ902aの出力電圧を2倍した値2×V9011と、磁石の移動距離に対する第2のホールセンサ902bの出力電圧を2倍した値2×V9021の変化L9021と、任意の電気角R901における正弦波の値sin(R901)と余弦波の値cos(R901)の組を用いて、2×V9011×cos(R901)−2×V9021×sin(R901)の値が最もゼロに近づくR901を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V9011 obtained by doubling the output voltage of the first Hall sensor 902a with respect to the moving distance of the magnet, and a change L9021 of a value 2 × V9021 obtained by doubling the output voltage of the second Hall sensor 902b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R901) and a cosine wave value cos (R901) at an arbitrary electrical angle R901, a value of 2 × V9011 × cos (R901) −2 × V9021 × sin (R901) is obtained. Find R901 that is closest to zero.

次に、Vo9=√((2×V9011)2+(2×V9021)2)の関係式からVo9を求める。 Next, Vo9 is obtained from the relational expression of Vo9 = √ ((2 × V9011) 2 + (2 × V9021) 2 ).

次に、周期毎の電気角360度におけるVo9の値をメモリに保持させる。本実施例8では、
1周期目の電気角360度の場合、Vo9=371.40mV
2周期目の電気角360度の場合、Vo9=317.75mV
3周期目の電気角360度の場合、Vo9=270.73mV
4周期目の電気角360度の場合、Vo9=230.18mV
5周期目の電気角360度の場合、Vo9=195.34mV
6周期目の電気角360度の場合、Vo9=165.32mV
7周期目の電気角360度の場合、Vo9=138.88mV
をメモリに保持させることになる。
Next, the value of Vo9 at an electrical angle of 360 degrees per cycle is stored in the memory. In Example 8,
In the case of an electrical angle of 360 degrees in the first cycle, Vo9 = 371.40 mV
In the case of an electrical angle of 360 degrees in the second period, Vo9 = 317.75 mV
In the case of an electrical angle of 360 degrees in the third period, Vo9 = 270.73 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo9 = 230.18 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo9 = 195.34 mV
In the case of an electrical angle of 360 degrees in the sixth period, Vo9 = 165.32 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo9 = 138.88 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo9もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo9の値の1.2倍の値をメモリに保持させる。   In order to specify the first cycle, Vo9 in the case of 360 degrees in the 0th cycle also needs to be held in the memory. In this case, a value 1.2 times the value of Vo9 at the electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo9=445.67mV
次に、N番目の周期の電気角360度におけるVo9値をV(N)とし、N−1番目の周期の電気角360度におけるVo9値をV(N−1)とした場合、(V(N−1)×1.05)≧Vo9≧V(N−1)かつR901≦250度、または、V(N−1)>Vo9>(V(N)×1.05)、または、(V(N)×1.05)≧Vo9≧V(N)かつR901≧250度であればN番目の周期であると特定する。
In the case of the electrical angle of 360 degrees in the 0th cycle, Vo9 = 445.67 mV
Next, when the Vo9 value at an electrical angle of 360 ° in the Nth cycle is V (N) and the Vo9 value at an electrical angle of 360 ° in the N−1th cycle is V (N−1), (V ( N-1) × 1.05) ≧ Vo9 ≧ V (N−1) and R901 ≦ 250 degrees, or V (N−1)>Vo9> (V (N) × 1.05), or (V If (N) × 1.05) ≧ Vo9 ≧ V (N) and R901 ≧ 250 degrees, the Nth cycle is specified.

次に、求められた電気角R901及び周期N番目の値を用いて、P900=1000×(N−1)+(R901×1000÷360)の関係式から求められる値P900を用いて位置検出を行う。   Next, position detection is performed using a value P900 obtained from the relational expression P900 = 1000 × (N−1) + (R901 × 1000 ÷ 360) using the obtained electrical angle R901 and the Nth value of the cycle. Do.

図66は、磁石の移動距離に対するP900の変化L9041を示す図である。図66より7mmの位置検出範囲において、P900が高い線形性を持つことがわかる。   FIG. 66 is a diagram showing a change L9041 in P900 with respect to the moving distance of the magnet. FIG. 66 shows that P900 has high linearity in the position detection range of 7 mm.

図67は、磁石の移動距離に対する、実際の位置とP900との誤差の変化L9051を示す図である。図67より7mmの位置検出範囲において、±10μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 67 is a diagram showing a change L9051 in error between the actual position and P900 with respect to the moving distance of the magnet. FIG. 67 shows that the absolute position can be detected with an error within ± 10 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L9051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、その他実施例(例えば実施例6)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, naturally, the magnetic simulation result L9051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) may be applied to reduce the position detection error.

上述のように演算中の係数a及びb及びVs及びRsの値をそれぞれ、a=b=2、Vs=105%、Rs=250度として演算を行ったが、この数値が異なっても、位置検出装置900において、直方体磁石901の長辺方向Xの長さA901、直方体磁石901の短辺方向Yの長さA902、直方体磁石901の厚み方向Zの長さ(磁石の着磁方向の長さ)A903、着磁された磁石の1周期分の長さA904、平面909からホールセンサ902aもしくは,902bの感磁部の中心までの距離B901、ホールセンサ902aの感磁部の中心とホールセンサ902bの感磁部の中心との距離B902、磁石901の基板903に対するY方向を軸とした所定の角度を最適化することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b and Vs and Rs being calculated are calculated with a = b = 2, Vs = 105%, and Rs = 250 degrees, respectively. In the detection device 900, the length A901 of the cuboid magnet 901 in the long side direction X, the length A902 of the cuboid magnet 901 in the short side direction Y, the length of the cuboid magnet 901 in the thickness direction Z (the length in the magnetizing direction of the magnet). ) A903, a length A904 of one magnetized magnet period A904, a distance B901 from the plane 909 to the center of the magnetic sensing part of the Hall sensor 902a or 902b, the center of the magnetic sensing part of the Hall sensor 902a and the Hall sensor 902b By optimizing the distance B902 with respect to the center of the magnetic sensing portion and the predetermined angle about the Y direction of the magnet 901 with respect to the substrate 903, a better result than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ902a,902bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 902a and 902b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ902a,902bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ902a,902bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 902a and 902b do not have a magnetic chip for performing magnetic amplification. Hall sensors 902a and 902b have a magnetic chip inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and the configuration is wide. It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線に垂直かつ基板に平行な直線を軸として、基板に対し所定の角度を持って、基板に平行に可動可能に支持し、磁石の各面のうち基板に対抗する面に対して垂直方向にN極とS極が着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV9011,V9021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R901における正弦波の値sin(R901)と余弦波の値cos(R901)とし、1周期の間に磁石が移動する距離をPとした場合、a×V9011×cos(R901)−b×V9021×sin(R901)の値が最もゼロに近づく電気角R901と、Vo9=√((a×V9011)2+(b×V9021)2)の関係式から得られる値Vo9とを用いて得られた周期N番目と、電気角R901とから、P900=P×(N−1)+(R901×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, two Hall sensors perpendicular to the substrate on which the magnetic sensing direction is arranged are taken as one set, and a straight line perpendicular to the straight line connecting the centers of the two Hall sensors and parallel to the substrate is formed. An axis having a predetermined angle with respect to the substrate is supported so as to be movable in parallel with the substrate, and N and S poles are magnetized in a direction perpendicular to the surface of the magnet facing the substrate. Magnets are arranged, and outputs obtained by multiplying the outputs of the two Hall sensors by a real number are set as V9011, V9021, and a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle is held on a table in advance. When a sinusoidal value sin (R901) and a cosine wave value cos (R901) at an arbitrary electrical angle R901 are set, and a distance that the magnet moves during one period is P, a × V9011 × cos (R901) − b × V9021 × sin (R90 Electrical angle R901 value of) approaches most zero, Vo9 = √ ((a × V9011) 2 + (b × V9021) period N th obtained using the value Vo9 obtained from equation 2) and The signal processing circuit performs position detection using the relational expression P900 = P × (N−1) + (R901 × P ÷ 360) from the electrical angle R901 (where a ≠ 0 and b ≠ 0 are real numbers). Therefore, even when the hall sensor is used as a magnetic sensor and the component parts are composed of general-purpose products or easily available parts, it is possible to achieve downsizing with a simple configuration and a wide range of distances. It is possible to manufacture a position detection device and an electronic device using the position detection device capable of performing absolute position detection with high accuracy.

本発明に係る位置検出装置の実施例9を図68(a),(b)乃至図76に基づいて以下に説明する。   A ninth embodiment of the position detecting apparatus according to the present invention will be described below with reference to FIGS. 68 (a), (b) to FIG.

本実施例9は、上述した実施例1の変形例であり、位置検出装置1000において、均一な着磁強度により着磁された直方体磁石1001の移動に伴って、ホールセンサ1002a,1002bの出力が、単調減少するよう直方体磁石1001に傾きを持たせて配置した場合の例である。なお、1つのホールセンサの出力ピーク値を結んだ図17において、『3』の曲線となる場合の実施例を示す。   The ninth embodiment is a modification of the first embodiment described above, and in the position detection apparatus 1000, the outputs of the hall sensors 1002a and 1002b are generated in accordance with the movement of the rectangular parallelepiped magnet 1001 magnetized with a uniform magnetization intensity. This is an example when the rectangular parallelepiped magnet 1001 is arranged with an inclination so as to monotonously decrease. In addition, in FIG. 17 which connected the output peak value of one Hall sensor, the Example in the case of becoming a curve of "3" is shown.

<実施例9の構成>
図68(a),(b)は、本発明に係る位置検出装置の実施例9を説明するための概略構成図で、一軸上に整列した2個のホールセンサを使用した場合の位置検出装置を示し、図68(a)は断面図、図68(b)は上面図を示している。
<Configuration of Example 9>
68 (a) and 68 (b) are schematic configuration diagrams for explaining the ninth embodiment of the position detecting device according to the present invention, and the position detecting device in the case of using two Hall sensors aligned on one axis. 68 (a) is a cross-sectional view, and FIG. 68 (b) is a top view.

位置検出装置1000は、N極S極をそれぞれ交互に所定の間隔毎に着磁された直方体磁石(磁束発生手段)1001と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)1002a,1002bと、ホールセンサ1002a(第1のホールセンサ)と、ホールセンサ1002b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板1003とを備えている。なお、本発明に係る位置検出装置1000は、様々な種類の磁石と、種々なホールセンサとを用いて構成できる。   The position detection apparatus 1000 includes a rectangular parallelepiped magnet (magnetic flux generating means) 1001 in which N poles and S poles are alternately magnetized at predetermined intervals, and a hall sensor (magnetic sensor / magnetic flux detecting means) including two sets. 1002a, 1002b, a hall sensor 1002a (first hall sensor), a hall sensor 1002b (second hall sensor), and a substrate 1003 on which these two hall sensors are mounted. The position detection apparatus 1000 according to the present invention can be configured using various types of magnets and various Hall sensors.

ホールセンサ1002a,1002bは、基板1003上に所定の間隔で配置され、感磁方向が基板1003に対して垂直である。直方体磁石1001は、ホールセンサ1002a,1002bからの信号を所定の演算を行った際に、図69に示される信号となるよう着磁された構成となっており、基板1003と対向する1平面1009内で、X方向に沿って移動可能に配置されている。   The Hall sensors 1002a and 1002b are arranged on the substrate 1003 at a predetermined interval, and the magnetic sensing direction is perpendicular to the substrate 1003. The rectangular parallelepiped magnet 1001 is configured to be magnetized so as to be a signal shown in FIG. 69 when a predetermined calculation is performed on the signals from the hall sensors 1002a and 1002b, and one plane 1009 facing the substrate 1003. It is arranged so as to be movable along the X direction.

図69は、図68(a),(b)に示した位置検出装置において、直方体磁石又は2個のホールセンサを移動させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 69 is a waveform diagram showing output signals of two hall sensors obtained by moving a rectangular magnet or two hall sensors in the position detection device shown in FIGS. 68 (a) and 68 (b). is there.

ホールセンサ1002a,1002b(固定)に対して直方体磁石1001を基準位置からX方向に沿って移動された場合には、一方のホールセンサ1002aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ1002bの出力信号は、図中の黒丸のように、一方のホールセンサ1002aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the rectangular parallelepiped magnet 1001 is moved from the reference position along the X direction with respect to the Hall sensors 1002a and 1002b (fixed), the output signal of one Hall sensor 1002a is damped as shown by the white square in the figure. The output signal of the waveform is shown, and the output signal of the other hall sensor 1002b is an output signal of a damped oscillation waveform out of phase with the output signal of one hall sensor 1002a, as indicated by a black circle in the figure.

直方体磁石1001は、Z方向を軸として、2個のホールセンサ1002a,1002bの感磁部の中心間を結んだ直線に対し所定の角度を持って支持されている。N極とS極の1組が、ホールセンサ1002a、1002bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The rectangular parallelepiped magnet 1001 is supported with a predetermined angle with respect to a straight line connecting the centers of the magnetic sensing portions of the two Hall sensors 1002a and 1002b with the Z direction as an axis. A set of N poles and S poles is magnetized by a plurality of sets so that the distance is four times the distance connecting the centers of the magnetic sensing parts of the Hall sensors 1002a and 1002b.

直方体磁石1001は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板1003に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the rectangular parallelepiped magnet 1001, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnet is magnetized in a direction in which N and S poles are magnetized in a direction perpendicular to the substrate 1003.

1組のホールセンサとして構成された、第1のホールセンサ1002aの感磁部中心と、第2のホールセンサ1002bの感磁部中心を結ぶ直線はX方向である。   A straight line connecting the center of the magnetic sensing part of the first hall sensor 1002a and the center of the magnetic sensing part of the second hall sensor 1002b configured as a set of hall sensors is in the X direction.

図68(a),(b)において、A1001は直方体磁石1001の長辺方向Xの長さ、A1002は直方体磁石1001の短辺方向Yの長さ、A1003は直方体磁石1001の厚み(着磁)方向Zの長さ、A1004は着磁された磁石の1周期分の長さをそれぞれ示す。また、B1001は、平面1009から、ホールセンサ1002aもしくは1002bの感磁部の中心までの距離を示す。B1002は、第1のホールセンサ1002aの感磁部の中心と、第2のホールセンサ1002bの感磁部の中心とを結ぶ距離を示す。B1003は、第1のホールセンサ1002aの感磁部の中心及び、第2のホールセンサ1002bの感磁部の中心から、直方体磁石1001の短辺方向Yの中心との距離が最も近づいた箇所における距離を示す。角度B1004は、第1のホールセンサ1002aの感磁部の中心と、第2のホールセンサ1002bの感磁部の中心とを結んだ直線と、直方体磁石1001の長辺方向との角度を示す。   68A and 68B, A1001 is the length in the long side direction X of the cuboid magnet 1001, A1002 is the length in the short side direction Y of the cuboid magnet 1001, and A1003 is the thickness (magnetization) of the cuboid magnet 1001. The length in the direction Z, A1004, indicates the length of one period of the magnetized magnet. B1001 indicates the distance from the plane 1009 to the center of the magnetic sensing part of the Hall sensor 1002a or 1002b. B1002 indicates the distance connecting the center of the magnetic sensing part of the first Hall sensor 1002a and the center of the magnetic sensing part of the second Hall sensor 1002b. B1003 is a point where the distance from the center of the magnetic sensing part of the first hall sensor 1002a and the center of the magnetic sensing part of the second hall sensor 1002b to the center of the rectangular magnet 1001 in the short side direction Y is closest. Indicates distance. An angle B1004 indicates an angle between a straight line connecting the center of the magnetic sensing part of the first hall sensor 1002a and the center of the magnetic sensing part of the second hall sensor 1002b and the long side direction of the rectangular parallelepiped magnet 1001.

ホールセンサ1002a,1002bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The Hall sensors 1002a and 1002b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図70は、図68(a),(b)に示した位置検出装置内の位置検出回路の回路図である。位置検出装置1000は、2個のホールセンサ1002a,1002bを有する駆動回路1005と、このホールセンサ1002a,1002bからのそれぞれの出力に基づいて位置検出を行う信号処理回路1006とを備えている。   70 is a circuit diagram of a position detection circuit in the position detection device shown in FIGS. 68 (a) and 68 (b). The position detection apparatus 1000 includes a drive circuit 1005 having two hall sensors 1002a and 1002b, and a signal processing circuit 1006 that performs position detection based on respective outputs from the hall sensors 1002a and 1002b.

駆動回路1005は、1組のホールセンサ1002a,1002bと、これらのホールセンサ1002a,1002bに電圧を供給する電源部Vddとから構成される。   The drive circuit 1005 includes a pair of hall sensors 1002a and 1002b and a power supply unit Vdd that supplies a voltage to the hall sensors 1002a and 1002b.

第1のホールセンサ1002aは、正極入力端子1002a(A)と、正極出力端子1002a(B)と、負極入力端子1002a(C)と、負極出力端子1002a(D)とから構成される。   The first hall sensor 1002a includes a positive electrode input terminal 1002a (A), a positive electrode output terminal 1002a (B), a negative electrode input terminal 1002a (C), and a negative electrode output terminal 1002a (D).

第2のホールセンサ1002bは、正極入力端子1002b(E)と、正極出力端子1002b(F)と、負極入力端子1002b(G)と、負極出力端子1002b(H)とから構成される。   The second hall sensor 1002b includes a positive input terminal 1002b (E), a positive output terminal 1002b (F), a negative input terminal 1002b (G), and a negative output terminal 1002b (H).

正極出力端子1002a(B)と負極出力端子1002a(D)とは、差動増幅器1007aの入力信号となり、差動増幅器1007aからはV10011が出力される。正極出力端子1002b(F)と負極出力端子1002b(H)とは、差動増幅器1007bの入力信号となり、差動増幅器1007bからはV10021が出力される。   The positive output terminal 1002a (B) and the negative output terminal 1002a (D) serve as input signals of the differential amplifier 1007a, and V10011 is output from the differential amplifier 1007a. The positive output terminal 1002b (F) and the negative output terminal 1002b (H) serve as input signals to the differential amplifier 1007b, and V10021 is output from the differential amplifier 1007b.

信号処理部1006は、差動増幅器1007a,1007bと、計算処理部1008とにより構成される。この信号処理部1006では、ホールセンサ1002a,1002bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 1006 includes differential amplifiers 1007a and 1007b and a calculation processing unit 1008. The signal processing unit 1006 performs position detection based on the outputs from the hall sensors 1002a and 1002b.

<実施例9の回路動作>
以下に、本実施例9の位置検出装置1000の動作について説明する。
<Circuit Operation of Example 9>
The operation of the position detection apparatus 1000 according to the ninth embodiment will be described below.

図70に示す信号処理部1006は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。   The signal processing unit 1006 shown in FIG. 70 is on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、位置検出回路の具体的な動作について以下に詳細に説明する。   The specific operation of the position detection circuit will be described in detail below.

駆動回路1005において、第1のホールセンサ1002aの正極入力端子1002a(A)と、第2のホールセンサ1002bの正極入力端子1002b(E)とが接続されることによって入力端子とされ、第1のホールセンサ1002aの負極入力端子1002a(C)と、第2のホールセンサ1002bの負極入力端子1002b(G)とが接続されることによって入力端子とされる。   In the drive circuit 1005, the positive input terminal 1002a (A) of the first Hall sensor 1002a and the positive input terminal 1002b (E) of the second Hall sensor 1002b are connected to form an input terminal. The negative input terminal 1002a (C) of the hall sensor 1002a and the negative input terminal 1002b (G) of the second hall sensor 1002b are connected to form an input terminal.

第1のホールセンサ1002aの正極出力端子1002a(B)と負極出力端子1002a(D)は、信号処理回路1006の第1の差動増幅器1007aに接続され、第2のホールセンサ1002bの正極出力端子1002b(F)と負極出力端子1002b(H)は、信号処理回路1006の第2の差動増幅器1007bに接続される。   The positive output terminal 1002a (B) and the negative output terminal 1002a (D) of the first Hall sensor 1002a are connected to the first differential amplifier 1007a of the signal processing circuit 1006, and the positive output terminal of the second Hall sensor 1002b. 1002b (F) and the negative output terminal 1002b (H) are connected to the second differential amplifier 1007b of the signal processing circuit 1006.

第1の差動増幅器1007aの出力端子と第2の差動増幅器1007bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部1008に伝達される。   The output terminal of the first differential amplifier 1007a and the output terminal of the second differential amplifier 1007b are input to an AD converter and transmitted to a calculation processing unit 1008 that appropriately calculates an output.

計算処理部1008は、以下の処理を行って位置検出を行う。   The calculation processing unit 1008 performs position detection by performing the following processing.

<実施例9の計算処理部の処理>
計算処理部1008では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板1003上に配置された2個の磁気センサ1002a,1002bにおいて、磁気センサ1002a及び1002bからのそれぞれの出力をV10011,V10021とした場合、出力V10011,V10021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R1001における正弦波の値sin(R1001)と余弦波の値cos(R1001)の組を用いて、
a×V10011×cos(R1001)
−b×V10021×sin(R1001)・・・(18)
の値が最もゼロに近づく電気角R1001をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 9>
In the calculation processing unit 1008, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held in advance on a table. In the two magnetic sensors 1002a and 1002b arranged on the substrate 1003, when the outputs from the magnetic sensors 1002a and 1002b are V10011 and V10021, the values obtained by multiplying the outputs V10011 and V10021 by real numbers, respectively, on the table Using a set of a sinusoidal value sin (R1001) and a cosine wave value cos (R1001) at the held electrical angle R1001,
a × V10011 × cos (R1001)
-B * V10021 * sin (R1001) (18)
First, an electrical angle R1001 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo10=√((a×V10011)2+(b×V10021)2)・・・(19)
の関係式から求められる値Vo10及び電気角R1001を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo10の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo10の値のみでは判断できない。そこでVo10及びR1001を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo10 = √ ((a × V10011) 2 + (b × V10021) 2 ) (19)
Using the value Vo10 and the electrical angle R1001 obtained from the relational expression, the Nth period is obtained in the damped oscillation wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo10 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo10. Therefore, using Vo10 and R1001, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo10の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ1002aの出力V10011がゼロを示した際のVo10の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo10値をV(N)とし、N−1番目の周期の電気角360度におけるVo10値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo10≧V(N−1)かつR1001≦Rs度
または、
V(N−1)>Vo10>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo10≧V(N)かつR1001≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置1000の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo10 at an electrical angle of 360 degrees per cycle is held in the memory. The value to be held may be, for example, a value obtained in advance by simulation, or when the output V10011 of the Hall sensor 1002a indicates zero when performing individual calibration by moving the magnet. The value of Vo10 may be held. Next, when the Vo10 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo10 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo10 ≧ V (N−1) and R1001 ≦ Rs degree or
V (N-1)>Vo10> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo10 ≧ V (N) and R1001 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection apparatus 1000, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R1001及び周期N番目の値を用いて、
P1000=P×(N−1)+(R1001×P÷360)・・・(20)
の関係式から求められる値P1000を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R1001 and the Nth value of the cycle,
P1000 = P × (N−1) + (R1001 × P ÷ 360) (20)
Position detection is performed using a value P1000 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例9では、第1のホールセンサ1002aと第2のホールセンサ1002bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器1007a,1007bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the ninth embodiment, the input terminals of the first hall sensor 1002a and the second hall sensor 1002b are connected in parallel. However, this is not particularly limited to the parallel connection. Needless to say, more accurate instrumentation amplifiers may be used for the differential amplifiers 1007a and 1007b.

<実施例9の位置検出例>
次に、本発明に係る位置検出装置1000の具体的な位置検出例について説明する。7mmの位置検出範囲を、絶対位置検出する場合について示す。図68における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 9>
Next, a specific position detection example of the position detection apparatus 1000 according to the present invention will be described. A case where a 7 mm position detection range is detected is shown. A design example of the optimum value of the parameter of each component in FIG. 68 will be described.

図71(a),(b)は、図68(a),(b)に示した位置検出装置に対応する構成例を示す図で、図71(a)は断面図、図71(b)は上面図である。   71A and 71B are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 68A and 68B. FIG. 71A is a cross-sectional view, and FIG. Is a top view.

図71(a),(b)に示すように、直方体磁石1001の長辺方向Xの長さA1001=9.0mm、直方体磁石1001の短辺方向Yの長さA1002=1.55mm、直方体磁石1001の厚み方向Zの長さ(磁石の着磁方向の長さ)A1003=0.5mm、着磁された磁石の1周期分の長さA1004=1.0mmとする。直方体磁石1001は、Z方向を軸として、2個のホールセンサ1002a,1002bの感磁部の中心間を結んだ直線に対し1.0度の角度を持って支持されている。   As shown in FIGS. 71 (a) and 71 (b), the length A1001 of the cuboid magnet 1001 in the long side direction X is 9.0 mm, the length A1002 of the cuboid magnet 1001 in the short side direction Y is 1.55 mm, and the cuboid magnet. The length in the thickness direction Z of 1001 (the length in the magnetizing direction of the magnet) A1003 = 0.5 mm, and the length of the magnetized magnet for one cycle A1004 = 1.0 mm. The rectangular parallelepiped magnet 1001 is supported with an angle of 1.0 degree with respect to a straight line connecting the centers of the magnetic sensing portions of the two Hall sensors 1002a and 1002b with the Z direction as an axis.

また、平面1009からホールセンサ1002aもしくは1002bの感磁部の中心までの距離B1001=0.2mm、第1のホールセンサ1002aの感磁部の中心と第2のホールセンサ1002bの感磁部の中心との距離B1002=0.25mm、第1のホールセンサ1002aの感磁部の中心及び、第2のホールセンサ1002bの感磁部の中心から、直方体磁石1001の短辺方向Yの中心との距離が最も近づいた箇所における距離B1003=0.8mmとする。   Further, the distance B1001 = 0.2 mm from the plane 1009 to the center of the magnetic sensing part of the Hall sensor 1002a or 1002b, the center of the magnetic sensing part of the first Hall sensor 1002a and the center of the magnetic sensing part of the second Hall sensor 1002b Distance B1002 = 0.25 mm, distance from the center of the magnetic sensing part of the first Hall sensor 1002a and the center of the magnetic sensing part of the second Hall sensor 1002b to the center in the short side direction Y of the rectangular magnet 1001 It is assumed that the distance B1003 at the closest point is 0.8 mm.

上記設計の際、ホールセンサ1002a,1002bを1つのパッケージ内に搭載する方が、ホールセンサ1002a,1002bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ1002a,1002bを設けることも可能である。   In the above design, mounting the Hall sensors 1002a and 1002b in one package reduces the arrangement error of the Hall sensors 1002a and 1002b, and can contribute to higher accuracy of the position detection device. For example, it is also possible to provide Hall sensors 1002a and 1002b on a Si substrate.

従って、第1のホールセンサ1002aと第2のホールセンサ1002bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 1002a and the second hall sensor 1002b in one package.

図72及び図73は、磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   72 and 73 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the magnet.

図72は、磁石の移動距離に対する第1のホールセンサ1002aの出力電圧を2倍した値2×V10011の変化L10011を示す図である。図73は、磁石の移動距離に対する第2のホールセンサ1002bの出力電圧を2倍した値2×V10021の変化L10021を示す図である。   FIG. 72 is a diagram showing a change L10011 of a value 2 × V10011 obtained by doubling the output voltage of the first Hall sensor 1002a with respect to the moving distance of the magnet. FIG. 73 is a diagram showing a change L10021 of a value 2 × V10021 obtained by doubling the output voltage of the second Hall sensor 1002b with respect to the moving distance of the magnet.

図74は、磁石の移動距離に対する√((2×V10011)2+(2×V10021)2)の変化L10031を示す図である。 FIG. 74 is a diagram showing a change L10031 of √ ((2 × V10011) 2 + (2 × V10021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ1002a,1002bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、直方体磁石1001の各極における中央の表面磁束密度の絶対値が、240mTとなるよう着磁されているとして行う。   As a premise for magnetic simulation, the sensitivity of the two Hall sensors 1002a and 1002b is 2.2 mV / mT (sensitivity of a general Hall sensor), and the curve connecting the output peak values of one Hall sensor is “3” in FIG. It is assumed that the absolute value of the surface magnetic flux density at the center of each pole of the rectangular parallelepiped magnet 1001 is magnetized so as to be 240 mT so that the curve indicated by

図74に示した、磁石の移動距離に対する√((2×V10011)2+(2×V10021)2)の変化L10031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L10031 of (√ ((2 × V10011) 2 + (2 × V10021) 2 )) with respect to the moving distance of the magnet shown in FIG. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ1002aの出力電圧を2倍した値2×V10011と、磁石の移動距離に対する第2のホールセンサ1002bの出力電圧を2倍した値2×V10021の変化L10021と、任意の電気角R1001における正弦波の値sin(R1001)と余弦波の値cos(R1001)の組を用いて、2×V10011×cos(R1001)−2×V10021×sin(R1001)の値が最もゼロに近づくR1001を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V10011 obtained by doubling the output voltage of the first Hall sensor 1002a with respect to the moving distance of the magnet, and a change L10021 of a value 2 × V10021 obtained by doubling the output voltage of the second Hall sensor 1002b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R1001) and a cosine wave value cos (R1001) at an arbitrary electrical angle R1001, a value of 2 × V10011 × cos (R1001) −2 × V10021 × sin (R1001) is obtained. R1001 closest to zero is obtained.

次に、Vo10=√((2×V10011)2+(2×V10021)2)の関係式からVo10を求める。 Next, Vo10 is obtained from the relational expression of Vo10 = √ ((2 × V10011) 2 + (2 × V10021) 2 ).

次に、周期毎の電気角360度におけるVo10の値をメモリに保持させる。本実施例9では、
1周期目の電気角360度の場合、Vo10=73.02mV
2周期目の電気角360度の場合、Vo10=63.30mV
3周期目の電気角360度の場合、Vo10=54.22mV
4周期目の電気角360度の場合、Vo10=46.16mV
5周期目の電気角360度の場合、Vo10=39.06mV
6周期目の電気角360度の場合、Vo10=32.70mV
7周期目の電気角360度の場合、Vo10=26.48mV
をメモリに保持させることになる。
Next, the value of Vo10 at an electrical angle of 360 degrees per cycle is held in the memory. In Example 9,
In the case of an electrical angle of 360 degrees in the first cycle, Vo10 = 73.02 mV
In the case of an electrical angle of 360 degrees in the second period, Vo10 = 63.30 mV
In the case of an electrical angle of 360 degrees in the third period, Vo10 = 54.22 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo10 = 46.16 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo10 = 39.06 mV
In the case of an electrical angle of 360 degrees in the sixth period, Vo10 = 32.70 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo10 = 26.48 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo10もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo10の値の1.2倍の値をメモリに保持させる。
0周期目の電気角360度の場合、Vo10=87.62mV
In order to specify the first cycle, Vo10 in the case of 360 degrees in the 0th cycle also needs to be held in the memory. In this case, a value 1.2 times the value of Vo10 at the electrical angle of 360 degrees in the first cycle is held in the memory.
In the case of an electrical angle of 360 degrees in the 0th cycle, Vo10 = 87.62 mV

次に、N番目の周期の電気角360度におけるVo10値をV(N)とし、N−1番目の周期の電気角360度におけるVo10値をV(N−1)とした場合、(V(N−1)×1.05)≧Vo10≧V(N−1)かつR1001≦270度、または、V(N−1)>Vo10>(V(N)×1.05)、または、(V(N)×1.05)≧Vo10≧V(N)かつR1001≧270度であればN番目の周期であると特定する。   Next, when the Vo10 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo10 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1), (V ( N-1) × 1.05) ≧ Vo10 ≧ V (N−1) and R1001 ≦ 270 degrees, or V (N−1)> Vo10> (V (N) × 1.05), or (V If (N) × 1.05) ≧ Vo10 ≧ V (N) and R1001 ≧ 270 degrees, the Nth cycle is specified.

次に、求められた電気角R1001及び周期N番目の値を用いて、P1000=1000×(N−1)+(R1001×1000÷360)の関係式から求められる値P1000を用いて位置検出を行う。   Next, position detection is performed using a value P1000 obtained from the relational expression P1000 = 1000 × (N−1) + (R1001 × 1000 ÷ 360) using the obtained electrical angle R1001 and the Nth value of the period. Do.

図75は、磁石の移動距離に対するP1000の変化L10041を示す図である。図75より7mmの位置検出範囲において、P1000が高い線形性を持つことがわかる。   FIG. 75 is a diagram showing a change L10041 of P1000 with respect to the moving distance of the magnet. From FIG. 75, it can be seen that P1000 has high linearity in the position detection range of 7 mm.

図76は、磁石の移動距離に対する、実際の位置とP1000との誤差の変化L10051を示す図である。図76より7mmの位置検出範囲において、±24μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 76 is a diagram showing a change L10051 in error between the actual position and P1000 with respect to the moving distance of the magnet. FIG. 76 shows that the absolute position can be detected with an error within ± 24 μm within the position detection range of 7 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L10051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、その他実施例(例えば実施例6)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, naturally the magnetic simulation result L10051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) may be applied to reduce the position detection error.

上述のように演算中の係数a及びb及びVs及びRsの値をそれぞれ、a=b=2、Vs=105%、Rs=270度として演算を行ったが、この数値が異なっても、位置検出装置1000において、直方体磁石1001の長辺方向Xの長さA1001、直方体磁石1001の短辺方向Yの長さA1002、直方体磁石1001の厚み方向Zの長さ(磁石の着磁方向の長さ)A1003、着磁された磁石の1周期分の長さA1004、平面1009からホールセンサ1002aもしくは,1002bの感磁部の中心までの距離B1001、ホールセンサ1002aの感磁部の中心とホールセンサ1002bの感磁部の中心との距離B1002、第1のホールセンサ1002aの感磁部の中心及び、第2のホールセンサ1002bの感磁部の中心から、直方体磁石1001の短辺方向Yの中心との距離が最も近づいた箇所における距離B1003、磁石1001の2個のホールセンサ1002a,1002bの感磁部の中心間を結んだ直線に対するZ方向を軸とした所定の角度を最適化することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b and Vs and Rs being calculated are calculated as a = b = 2, Vs = 105%, and Rs = 270 degrees, respectively. In the detection apparatus 1000, the length A1001 of the cuboid magnet 1001 in the long side direction X, the length A1002 of the cuboid magnet 1001 in the short side direction Y, the length of the cuboid magnet 1001 in the thickness direction Z (the length in the magnetizing direction of the magnet). ) A1003, the length A1004 of the magnetized magnet for one cycle, the distance B1001 from the plane 1009 to the center of the magnetic sensing part of the Hall sensor 1002a or 1002b, the center of the magnetic sensing part of the Hall sensor 1002a and the Hall sensor 1002b The distance B1002 from the center of the magnetic sensitive part, the center of the magnetic sensitive part of the first Hall sensor 1002a, and the magnetic sensitive part of the second Hall sensor 1002b From the distance B1003 where the distance from the center in the short side direction Y of the cuboid magnet 1001 is closest, the Z direction with respect to the straight line connecting the centers of the magnetic sensing parts of the two Hall sensors 1002a and 1002b of the magnet 1001 By optimizing the predetermined angle as the axis, a better result than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ1002a,1002bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 1002a and 1002b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ1002a,1002bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ1002a,1002bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   Hall sensors 1002a and 1002b do not have a magnetic chip for performing magnetic amplification. Hall sensors 1002a and 1002b have a magnetic chip inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem and a wide range It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、感磁方向が、配置された基板に対して垂直な2個のホールセンサを1組とし、この2個のホールセンサの中心を結ぶ直線に垂直かつ基板に垂直な直線を軸として、2個のホールセンサの中心を結ぶ直線に対し所定の角度を持って、基板に平行に可動可能に支持し、基板に対して垂直方向にN極とS極が着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV10011,V10021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R1001における正弦波の値sin(R1001)と余弦波の値cos(R1001)とし、1周期の間に磁石が移動する距離をPとした場合、a×V10011×cos(R1001)−b×V10021×sin(R1001)の値が最もゼロに近づく電気角R1001と、Vo10=√((a×V10011)2+(b×V10021)2)の関係式から得られる値Vo10とを用いて得られた周期N番目と、電気角R1001とから、P1000=P×(N−1)+(R1001×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, two hall sensors perpendicular to the substrate on which the magnetic sensing direction is arranged are taken as one set, and a straight line perpendicular to the straight line connecting the centers of the two hall sensors and perpendicular to the substrate is formed. A magnet having a predetermined angle with respect to a straight line connecting the centers of the two Hall sensors as an axis, supported so as to be movable parallel to the substrate, and magnetized with N and S poles perpendicular to the substrate The outputs obtained by multiplying the outputs of the two Hall sensors by a real number are V10011 and V10021, and a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle is stored on the table in advance. Sine wave value sin (R1001) and cosine wave value cos (R1001) at an electrical angle R1001 of the following, and the distance that the magnet moves during one period is P, a × V10011 × cos (R1001) −b × V1002 × electrical angle R1001 which the value of sin (R1001) approaches most zero, obtained using the Vo10 = √ ((a × V10011 ) 2 + (b × V10021) 2) values obtained from the relationship of Vo10 Position detection is performed using the relational expression P1000 = P × (N−1) + (R1001 × P ÷ 360) from the cycle N and the electrical angle R1001 (provided that a ≠ 0 and b ≠ 0 are real numbers) ) Since the signal processing circuit is provided, even when the hall sensor is used as a magnetic sensor and the components are composed of general-purpose products or easily available components, it is possible to achieve downsizing with a simple configuration. It becomes possible to manufacture a position detection device and an electronic apparatus using the position detection device capable of performing absolute position detection over a wide range with high accuracy.

なお、実施例1,実施例3乃至実施例5で示したように磁石の着磁強度を変更する構成と、実施例7で示したように磁石の形状を変更する構成と、実施例8で示したように磁石が基板に対し傾いて実装された構成と、実施例9で示したように磁石が2個の磁気センサの感磁面を結んだ直線に対して傾いて実装された構成とを、各々組み合わせた構成においても、絶対位置検出が可能であることは明らかである。   It should be noted that in the configuration for changing the magnetizing strength of the magnet as shown in Example 1, Example 3 to Example 5, the configuration for changing the shape of the magnet as shown in Example 7, and in Example 8. A configuration in which the magnet is mounted inclined with respect to the substrate as shown, and a configuration in which the magnet is mounted inclined with respect to the straight line connecting the magnetic sensitive surfaces of the two magnetic sensors as shown in Example 9. It is clear that absolute position detection is possible even in a configuration in which each is combined.

本発明に係る位置検出装置の実施例10を図77(a),(b)乃至図85に基づいて以下に説明する。本実施例10の位置検出装置は、回転軌道上に整列した2個のホールセンサを使用した場合の回転位置検出装置である。   A tenth embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 77 (a) and (b) to FIG. The position detection apparatus according to the tenth embodiment is a rotation position detection apparatus in the case where two Hall sensors aligned on a rotation path are used.

<実施例10の構成>
図77(a),(b)は、本発明に係る回転位置検出装置の実施例10を説明するための概略構成図で、回転軌道上に整列した2個のホールセンサを使用した場合の回転位置検出装置を示し、図77(a)は上面図、図77(b)は断面図を示している。
<Configuration of Example 10>
FIGS. 77 (a) and (b) are schematic configuration diagrams for explaining the tenth embodiment of the rotational position detecting device according to the present invention, and the rotation when two Hall sensors aligned on the rotational trajectory are used. FIG. 77 (a) is a top view and FIG. 77 (b) is a cross-sectional view showing a position detection device.

位置検出装置としての回転位置検出装置1100は、N極S極をそれぞれ交互に所定の間隔毎に着磁された環状(バームクーヘン状)磁石(磁束発生手段)1101と、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)1102a,1102bと、ホールセンサ1102a(第1のホールセンサ)と、ホールセンサ1102b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板1103とを備えている。なお、本発明に係る回転位置検出装置1100は、様々な種類の磁石と、種々なホールセンサとを用いて構成できる。   A rotational position detection device 1100 as a position detection device is a set of two pieces (annular magnets) 1101 in which N poles and S poles are alternately magnetized at predetermined intervals. Hall sensors (magnetic sensors / magnetic flux detection means) 1102a, 1102b, Hall sensor 1102a (first Hall sensor), Hall sensor 1102b (second Hall sensor), and substrate 1103 on which these two Hall sensors are mounted It has. The rotational position detection apparatus 1100 according to the present invention can be configured using various types of magnets and various Hall sensors.

ホールセンサ1102a,1102bは、基板1103上に所定の間隔で配置され、感磁方向が基板1103に対して垂直である。環状磁石1101は、ホールセンサ1102a,1102bからの信号を所定の演算を行った際に、後述する図78に示される信号となるよう着磁された構成となっており、1平面1109内で、基板上の任意の点1110から、基板1103から垂直に伸びたZ方向を軸として、回転可能に配置され、X―Y平面から見た場合に、基板上の任意の点1110から内径までの距離が全て等距離であり、X―Y平面から見た場合に、基板上の任意の点1110から外径までの距離が全て等距離であり、N極とS極の1組が、ホールセンサ1102a、1102bの感磁部の中心間を結んだ距離の4倍の距離となるように複数組分着磁されている。   The hall sensors 1102 a and 1102 b are arranged on the substrate 1103 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 1103. The annular magnet 1101 is configured to be magnetized so as to become a signal shown in FIG. 78 to be described later when a predetermined calculation is performed on signals from the hall sensors 1102a and 1102b. A distance from an arbitrary point 1110 on the substrate to the inner diameter when viewed from the XY plane and arranged to be rotatable about the Z direction extending vertically from the substrate 1103 as an axis. Are all equidistant, and when viewed from the XY plane, the distance from any point 1110 on the substrate to the outer diameter is all equidistant, and one set of N pole and S pole is the Hall sensor 1102a. A plurality of sets are magnetized so as to be a distance four times as long as the distance between the centers of the magnetic sensing portions 1102b.

環状磁石1101のN極とS極が交互に繰り返し着磁されており、移動方向は、ホールセンサ1102a,1102b又は環状磁石1101が、任意の軸を中心に回転する方向である。   The N pole and S pole of the annular magnet 1101 are alternately and repeatedly magnetized, and the moving direction is a direction in which the Hall sensors 1102a and 1102b or the annular magnet 1101 rotate around an arbitrary axis.

環状磁石1101は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板1103に対して垂直方向にN極とS極が着磁された方向にするとよい。   As the annular magnet 1101, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in a direction perpendicular to the substrate 1103.

1組のホールセンサとして構成された、第1のホールセンサ1102aの感磁部中心と、第2のホールセンサ1102bの感磁部中心は、基板上の任意の点1110から同距離に配置されている。   The magnetic sensor center of the first hall sensor 1102a and the magnetic sensor center of the second hall sensor 1102b configured as a set of hall sensors are arranged at the same distance from an arbitrary point 1110 on the substrate. Yes.

図77(a),(b)において、A1101aは環状磁石1101の外径の長さ、A1101bは環状磁石1101の内径の長さ、A1102は環状磁石1101の内径端から外径端までの幅方向の長さ、A1103は環状磁石1101の厚み(着磁)方向Zの長さ、A1104は着磁された磁石の1周期分の、内径の距離をそれぞれ示す。また、B1101は、平面1109から、ホールセンサ1102aもしくは1102bの感磁部の中心までの距離を示す。B1102は、第1のホールセンサ1102aの感磁部の中心と、第2のホールセンサ1102bの感磁部の中心とを結ぶ距離を示す。B1103は、X―Y平面から見た場合に、第1のホールセンサ1102aの感磁部の中心及び、第2のホールセンサ1102bの感磁部の中心から、基板上の任意の点1110までの距離を示す。B1104は、X―Y平面から見た場合に、環状の磁石1101の内径から、基板上の任意の点1110までの距離を示す。   77 (a) and 77 (b), A1101a is the length of the outer diameter of the annular magnet 1101, A1101b is the length of the inner diameter of the annular magnet 1101, and A1102 is the width direction from the inner diameter end to the outer diameter end of the annular magnet 1101. , A1103 indicates the length in the thickness (magnetization) direction Z of the annular magnet 1101, and A1104 indicates the distance of the inner diameter of one period of the magnetized magnet. B1101 indicates the distance from the plane 1109 to the center of the magnetic sensing part of the Hall sensor 1102a or 1102b. B1102 indicates a distance connecting the center of the magnetic sensing part of the first Hall sensor 1102a and the center of the magnetic sensing part of the second Hall sensor 1102b. B1103 is the distance from the center of the magnetic sensing part of the first Hall sensor 1102a and the center of the magnetic sensing part of the second Hall sensor 1102b to any point 1110 on the substrate when viewed from the XY plane. Indicates distance. B1104 indicates the distance from the inner diameter of the annular magnet 1101 to an arbitrary point 1110 on the substrate when viewed from the XY plane.

ホールセンサ1102a,1102bは、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   The hall sensors 1102a and 1102b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図78は、図77(a),(b)に示した回転位置検出装置において、環状磁石又は2個のホールセンサを移動(回転)させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 78 shows the output signals of the two Hall sensors obtained when the annular magnet or the two Hall sensors are moved (rotated) in the rotational position detection device shown in FIGS. 77 (a) and (b). FIG.

ホールセンサ1102a,1102b(固定)に対して環状磁石1101を基準位置からX方向に沿って移動された場合には、一方のホールセンサ1102aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ1102bの出力信号は、図中の黒丸のように、一方のホールセンサ1102aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the annular magnet 1101 is moved from the reference position along the X direction with respect to the Hall sensors 1102a and 1102b (fixed), the output signal of one Hall sensor 1102a is damped as shown by the white square in the figure. The output signal of the waveform is shown, and the output signal of the other hall sensor 1102b is an output signal of a damped oscillation waveform that is out of phase with the output signal of one hall sensor 1102a, as indicated by a black circle in the figure.

図79は、図77(a),(b)に示した回転位置検出装置内の位置検出回路の回路図である。回転位置検出装置1100は、2個のホールセンサ1102a,1102bを有する駆動回路1105と、このホールセンサ1102a,1102bからのそれぞれの出力に基づいて位置検出を行う信号処理回路1106とを備えている。   79 is a circuit diagram of a position detection circuit in the rotational position detection device shown in FIGS. 77 (a) and 77 (b). The rotational position detection device 1100 includes a drive circuit 1105 having two hall sensors 1102a and 1102b, and a signal processing circuit 1106 that performs position detection based on outputs from the hall sensors 1102a and 1102b.

駆動回路1105は、1組のホールセンサ1102a,1102bと、これらのホールセンサ1102a,1102bに電圧を供給する電源部Vddとから構成される。   The drive circuit 1105 includes a pair of hall sensors 1102a and 1102b and a power supply unit Vdd that supplies a voltage to the hall sensors 1102a and 1102b.

第1のホールセンサ1102aは、正極入力端子1102a(A)と、正極出力端子1102a(B)と、負極入力端子1102a(C)と、負極出力端子1102a(D)とから構成される。   The first hall sensor 1102a includes a positive electrode input terminal 1102a (A), a positive electrode output terminal 1102a (B), a negative electrode input terminal 1102a (C), and a negative electrode output terminal 1102a (D).

第2のホールセンサ1102bは、正極入力端子1102b(E)と、正極出力端子1102b(F)と、負極入力端子1102b(G)と、負極出力端子1102b(H)とから構成される。   The second Hall sensor 1102b includes a positive input terminal 1102b (E), a positive output terminal 1102b (F), a negative input terminal 1102b (G), and a negative output terminal 1102b (H).

正極出力端子1102a(B)と負極出力端子1102a(D)とは、差動増幅器1107aの入力信号となり、差動増幅器1107aからはV11011が出力される。正極出力端子1102b(F)と負極出力端子1102b(H)とは、差動増幅器1107bの入力信号となり、差動増幅器1107bからはV11021が出力される。   The positive output terminal 1102a (B) and the negative output terminal 1102a (D) serve as input signals of the differential amplifier 1107a, and V11011 is output from the differential amplifier 1107a. The positive output terminal 1102b (F) and the negative output terminal 1102b (H) serve as input signals to the differential amplifier 1107b, and V11021 is output from the differential amplifier 1107b.

信号処理部1106は、差動増幅器1107a,1107bと、計算処理部1108とにより構成される。この信号処理部1106では、ホールセンサ1102a,1102bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 1106 includes differential amplifiers 1107a and 1107b and a calculation processing unit 1108. The signal processing unit 1106 performs position detection based on the outputs from the hall sensors 1102a and 1102b.

<実施例10の回路動作>
以下に、本実施例10の回転位置検出装置1100の動作について説明する。
図79に示す信号処理部1106は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。
<Circuit Operation of Example 10>
The operation of the rotational position detection device 1100 according to the tenth embodiment will be described below.
The signal processing unit 1106 shown in FIG. 79 is on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、回転位置検出回路の具体的な動作について詳細に説明する。
駆動回路1105において、第1のホールセンサ1102aの正極入力端子1102a(A)と、第2のホールセンサ1102bの正極入力端子1102b(E)とが接続されることによって入力端子とされ、第1のホールセンサ1102aの負極入力端子1102a(C)と、第2のホールセンサ1102bの負極入力端子1102b(G)とが接続されることによって入力端子とされる。
Hereinafter, a specific operation of the rotational position detection circuit will be described in detail.
In the driving circuit 1105, the positive input terminal 1102a (A) of the first Hall sensor 1102a and the positive input terminal 1102b (E) of the second Hall sensor 1102b are connected to each other as an input terminal. The negative input terminal 1102a (C) of the hall sensor 1102a and the negative input terminal 1102b (G) of the second hall sensor 1102b are connected to form an input terminal.

第1のホールセンサ1102aの正極出力端子1102a(B)と負極出力端子1102a(D)は、信号処理回路1106の第1の差動増幅器1107aに接続され、第2のホールセンサ1102bの正極出力端子1102b(F)と負極出力端子1102b(H)は、信号処理回路1106の第2の差動増幅器1107bに接続される。   The positive output terminal 1102a (B) and the negative output terminal 1102a (D) of the first hall sensor 1102a are connected to the first differential amplifier 1107a of the signal processing circuit 1106, and the positive output terminal of the second hall sensor 1102b. 1102b (F) and the negative output terminal 1102b (H) are connected to the second differential amplifier 1107b of the signal processing circuit 1106.

第1の差動増幅器1107aの出力端子と第2の差動増幅器1107bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部1108に伝達される。   The output terminal of the first differential amplifier 1107a and the output terminal of the second differential amplifier 1107b are input to an AD converter and transmitted to a calculation processing unit 1108 that appropriately calculates an output.

計算処理部1108は、以下の処理を行って位置検出を行う。   The calculation processing unit 1108 performs the following processing to detect the position.

<実施例10の計算処理部の処理>
計算処理部1108では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板1103上に配置された2個の磁気センサ1102a,1102bにおいて、磁気センサ1102a及び1102bからのそれぞれの出力をV11011,V11021とした場合、出力V11011,V11021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R1101における正弦波の値sin(R1101)と余弦波の値cos(R1101)の組を用いて、
a×V11011×cos(R1101)
−b×V11021×sin(R1101)・・・(21)
の値が最もゼロに近づく電気角R1101をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 10>
In the calculation processing unit 1108, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held on a table in advance. In the two magnetic sensors 1102a and 1102b arranged on the substrate 1103, when the outputs from the magnetic sensors 1102a and 1102b are V11011 and V11021, the values obtained by multiplying the outputs V11011 and V11021 by real numbers, respectively, and on the table Using a set of a sinusoidal value sin (R1101) and a cosine wave value cos (R1101) at the electrical angle R1101 that is held,
a × V11011 × cos (R1101)
-B * V11021 * sin (R1101) (21)
First, an electrical angle R1101 whose value is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo11=√((a×V11011)2+(b×V11021)2)・・・(22)
の関係式から求められる値Vo11及び電気角R1101を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo11の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo11の値のみでは判断できない。そこでVo11及びR1101を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo11 = √ ((a × V11011) 2 + (b × V11021) 2 ) (22)
Using the value Vo11 and the electrical angle R1101 obtained from the relational expression, the Nth cycle is obtained in the damped vibration wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo11 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, whether or not it is the Nth period in the damped vibration wave output cannot be determined only by the value of Vo11. Therefore, using Vo11 and R1101, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo11の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ1102aの出力V11011がゼロを示した際のVo11の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo11値をV(N)とし、N−1番目の周期の電気角360度におけるVo11値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo11≧V(N−1)かつR1101≦Rs度
または、
V(N−1)>Vo11>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo11≧V(N)かつR1101≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置1100の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo11 at an electrical angle of 360 degrees per cycle is held in the memory. The value to be held may be, for example, a value obtained in advance by simulation, or when the output V11011 of the Hall sensor 1102a indicates zero when performing individual calibration by moving the magnet. The value of Vo11 may be held. Next, when the Vo11 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo11 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo11 ≧ V (N−1) and R1101 ≦ Rs degree or
V (N-1)>Vo11> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo11 ≧ V (N) and R1101 ≧ Rs degrees, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 1100. However, position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に、求められた電気角R1101及び周期N番目の値を用いて、
P1100=P×(N−1)+(R1101×P÷360)・・・(23)
の関係式から求められる値P1100を用いて位置検出を行う。ただし、Pは1周期の間に磁石が移動する距離である。
Next, using the obtained electrical angle R1101 and the Nth value of the cycle,
P1100 = P × (N−1) + (R1101 × P ÷ 360) (23)
Position detection is performed using a value P1100 obtained from the relational expression. Here, P is the distance that the magnet moves during one cycle.

なお、本実施例10では、第1のホールセンサ1102aと第2のホールセンサ1102bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器1107a,1107bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the tenth embodiment, the input terminals of the first hall sensor 1102a and the second hall sensor 1102b are connected in parallel, but this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 1107a and 1107b.

<実施例10の位置検出例>
次に、本発明に係る位置検出装置1100の具体的な回転位置検出例について説明する。8.4mmの位置検出範囲を、絶対位置検出する場合について示す。図77における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 10>
Next, a specific example of rotational position detection of the position detection apparatus 1100 according to the present invention will be described. A case where an absolute position is detected in a position detection range of 8.4 mm will be described. A design example of the optimum value of the parameter of each component in FIG. 77 will be described.

図80(a),(b)は、図77(a),(b)に示した位置検出装置に対応する構成例を示す図で、図80(a)は上面図、図80(b)は断面図である。   FIGS. 80A and 80B are diagrams showing a configuration example corresponding to the position detection device shown in FIGS. 77A and 77B. FIG. 80A is a top view and FIG. Is a cross-sectional view.

図80(a),(b)に示すように、環状磁石1101の外径の長さA1101a=12.57mm、環状磁石1101の内径の長さA1101b=9.0mm、環状磁石1101の内径端から外径端までの幅方向の長さA1102=1.7mm、環状磁石1101の厚み(着磁)方向Zの長さA1103=0.5mm、環状磁石1101の着磁された磁石の1周期分の内径の距離A1104=1.0mm、平面1109から、ホールセンサ1102aもしくは1102bの感磁部の中心までの距離B1101=0.25mm、第1のホールセンサ1102aの感磁部の中心と、第2のホールセンサ1102bの感磁部の中心とを結ぶ距離B1102=0.3mm、X―Y平面から見た場合に、第1のホールセンサ1102aの感磁部の中心及び、第2のホールセンサ1102bの感磁部の中心から、基板上の任意の点1110までの距離B1103=5.15mm、X―Y平面から見た場合に、環状の磁石1101の内径から、基板上の任意の点1110までの距離B1104=4.3mmとする。   As shown in FIGS. 80A and 80B, the length A1101a of the outer diameter of the annular magnet 1101 = 12.57 mm, the length A1101b of the inner diameter of the annular magnet 1101 = 9.0 mm, from the inner diameter end of the annular magnet 1101. Length A1102 = 1.7 mm in the width direction to the outer diameter end, length A1103 = 0.5 mm in the thickness (magnetization) direction Z of the annular magnet 1101, and one period of the magnetized magnet of the annular magnet 1101 The distance A1104 = 1.0 mm of the inner diameter, the distance B1101 = 0.25 mm from the plane 1109 to the center of the magnetic sensing part of the Hall sensor 1102a or 1102b, the center of the magnetic sensing part of the first Hall sensor 1102a, and the second The distance B1102 = 0.3 mm connecting the center of the magnetic sensing part of the Hall sensor 1102b, and the center of the magnetic sensing part of the first Hall sensor 1102a when viewed from the XY plane. And a distance B1103 = 5.15 mm from the center of the magnetic sensing part of the second Hall sensor 1102b to an arbitrary point 1110 on the substrate, when viewed from the XY plane, from the inner diameter of the annular magnet 1101 A distance B1104 to an arbitrary point 1110 on the substrate is set to 4.3 mm.

上記設計の際、ホールセンサ1102a,1102bを1つのパッケージ内に搭載する方が、ホールセンサ1102a,1102bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ1102a,1102bを設けることも可能である。   In the above design, mounting the Hall sensors 1102a and 1102b in one package reduces the placement error of the Hall sensors 1102a and 1102b, and can contribute to higher accuracy of the position detection device. Further, for example, Hall sensors 1102a and 1102b can be provided on a Si substrate.

従って、第1のホールセンサ1102aと第2のホールセンサ1102bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 1102a and the second hall sensor 1102b in one package.

図81及び図82は、磁石の移動距離に対するホールセンサの出力電圧の関係を示す図である。   81 and 82 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the moving distance of the magnet.

図81は、磁石の移動距離に対する第1のホールセンサ1102aの出力電圧を2倍した値2×V11011の変化L11011を示す図である。図82は、磁石の移動距離に対する第2のホールセンサ1102bの出力電圧を2倍した値2×V11021の変化L11021を示す図である。   FIG. 81 is a diagram showing a change L11011 of a value 2 × V11011 obtained by doubling the output voltage of the first Hall sensor 1102a with respect to the moving distance of the magnet. FIG. 82 is a diagram showing a change L11021 of a value 2 × V11021 obtained by doubling the output voltage of the second Hall sensor 1102b with respect to the moving distance of the magnet.

図83は、磁石の移動距離に対する√((2×V11011)2+(2×V11021)2)の変化L11031を示す図である。 FIG. 83 is a diagram showing a change L11031 of √ ((2 × V11011) 2 + (2 × V11021) 2 ) with respect to the moving distance of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ1102a,1102bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、環状磁石1101の各極における中央の表面磁束密度の絶対値が、200mT〜70mTまで単調減少するよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two hall sensors 1102a and 1102b is 2.2 mV / mT (sensitivity of a general hall sensor), and a curve connecting the output peak values of one hall sensor is “3” in FIG. The absolute value of the surface magnetic flux density at the center of each pole of the annular magnet 1101 is magnetized so as to monotonously decrease from 200 mT to 70 mT so that a curve indicated by

図83に示した、磁石の移動距離に対する√((2×V11011)2+(2×V11021)2)の変化L11031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L11031 of √ ((2 × V11011) 2 + (2 × V11021) 2 ) with respect to the moving distance of the magnet shown in FIG. 83 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の移動距離に対する第1のホールセンサ1102aの出力電圧を2倍した値2×V11011と、磁石の移動距離に対する第2のホールセンサ1102bの出力電圧を2倍した値2×V11021の変化L11021と、任意の電気角R1101における正弦波の値sin(R1101)と余弦波の値cos(R1101)の組を用いて、2×V11011×cos(R1101)−2×V11021×sin(R1101)の値が最もゼロに近づくR1101を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V11011 obtained by doubling the output voltage of the first Hall sensor 1102a with respect to the moving distance of the magnet, and a change L11021 of a value 2 × V11021 obtained by doubling the output voltage of the second Hall sensor 1102b with respect to the moving distance of the magnet. Using a set of a sine wave value sin (R1101) and a cosine wave value cos (R1101) at an arbitrary electrical angle R1101, the value of 2 × V11011 × cos (R1101) −2 × V11021 × sin (R1101) is R1101 closest to zero is obtained.

次に、Vo11=√((2×V11011)2+(2×V11021)2)の関係式からVo11を求める。 Next, Vo11 is obtained from the relational expression of Vo11 = √ ((2 × V11011) 2 + (2 × V11021) 2 ).

次に、周期毎の電気角360度におけるVo11の値をメモリに保持させる。本実施例10では、
1周期目の電気角360度の場合、Vo11=388.39mV
2周期目の電気角360度の場合、Vo11=349.09mV
3周期目の電気角360度の場合、Vo11=308.84mV
4周期目の電気角360度の場合、Vo11=268.41mV
5周期目の電気角360度の場合、Vo11=227.98mV
6周期目の電気角360度の場合、Vo11=188.06mV
7周期目の電気角360度の場合、Vo11=151.35mV
をメモリに保持させることになる。
Next, the value of Vo11 at an electrical angle of 360 degrees per cycle is held in the memory. In Example 10,
In the case of an electrical angle of 360 degrees in the first cycle, Vo11 = 388.39 mV
In the case of an electrical angle of 360 degrees in the second period, Vo11 = 349.09 mV
In the case of an electrical angle of 360 degrees in the third period, Vo11 = 308.84 mV
In the case of an electrical angle of 360 degrees in the fourth period, Vo11 = 268.41 mV
In the case of an electrical angle of 360 degrees in the fifth cycle, Vo11 = 227.98 mV
In the case of an electrical angle of 360 degrees in the sixth cycle, Vo11 = 188.06 mV
In the case of an electrical angle of 360 degrees in the seventh cycle, Vo11 = 151.35 mV
Is stored in the memory.

なお、1周期目であることを特定するためには、0周期目の360度の場合のVo11もメモリに保持させる必要がある。この場合、1周期目の電気角360度のVo11の値の1.2倍の値をメモリに保持させる。   In order to specify the first cycle, Vo11 in the case of 360 degrees in the 0th cycle also needs to be held in the memory. In this case, a value 1.2 times the value of Vo11 at the electrical angle of 360 degrees in the first cycle is held in the memory.

0周期目の電気角360度の場合、Vo11=466.07mV
次に、N番目の周期の電気角360度におけるVo11値をV(N)とし、N−1番目の周期の電気角360度におけるVo11値をV(N−1)とした場合、(V(N−1)×1.06)≧Vo11≧V(N−1)かつR1101≦250度、または、V(N−1)>Vo11>(V(N)×1.06)、または、(V(N)×1.06)≧Vo11≧V(N)かつR1101≧250度であればN番目の周期であると特定する。
In the case of an electrical angle of 360 degrees in the 0th cycle, Vo11 = 466.07 mV
Next, when the Vo11 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo11 value at the electrical angle 360 degrees in the N−1th cycle is V (N−1), (V ( N-1) × 1.06) ≧ Vo11 ≧ V (N−1) and R1101 ≦ 250 degrees, or V (N−1)>Vo11> (V (N) × 1.06), or (V If (N) × 1.06) ≧ Vo11 ≧ V (N) and R1101 ≧ 250 degrees, the Nth cycle is specified.

次に、求められた電気角R1101及び周期N番目の値を用いて、P1100=1000×(N−1)+(R1101×1000÷360)の関係式から求められる値P1100を用いて位置検出を行う。   Next, position detection is performed using a value P1100 obtained from the relational expression P1100 = 1000 × (N−1) + (R1101 × 1000 ÷ 360) using the obtained electrical angle R1101 and the Nth value of the period. Do.

図84は、磁石の移動距離に対するP1100の変化L11041を示す図である。図84より8.4mmの位置検出範囲において、P1100が高い線形性を持つことがわかる。   FIG. 84 is a diagram showing a change L11041 in P1100 with respect to the moving distance of the magnet. FIG. 84 shows that P1100 has high linearity in the position detection range of 8.4 mm.

図85は、磁石の移動距離に対する、実際の位置とP1100との誤差の変化L11051を示す図である。図85より8.4mmの位置検出範囲において、±17μm以内の誤差で絶対位置検出可能であることがわかる。   FIG. 85 is a diagram showing a change L11051 in error between the actual position and P1100 with respect to the moving distance of the magnet. FIG. 85 shows that the absolute position can be detected with an error within ± 17 μm within the position detection range of 8.4 mm.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L11051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、その他実施例(例えば実施例6)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, naturally, the magnetic simulation result L11051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, embodiment 6) may be applied to reduce the position detection error.

上述のように演算中の係数a及びb及びVs及びRsの値をそれぞれ、a=b=2、Vs=106%、Rs=250度として演算を行ったが、この数値が異なっても、位置検出装置1100において、環状磁石1101の外径の長さA1101a、環状磁石1101の内径の長さA1101b、環状磁石1101の内径端から外径端までの幅方向の長さA1102、環状磁石1101の厚み(着磁)方向Zの長さA1103、環状磁石1101の着磁された磁石の1周期分の内径の距離A1104、平面1109から、ホールセンサ1102aもしくは1102bの感磁部の中心までの距離B1101、第1のホールセンサ1102aの感磁部の中心と、第2のホールセンサ1102bの感磁部の中心とを結ぶ距離B1102、X―Y平面から見た場合に、第1のホールセンサ1102aの感磁部の中心及び、第2のホールセンサ1102bの感磁部の中心から、基板上の任意の点1110までの距離B1103、X―Y平面から見た場合に、環状の磁石1101の内径から、基板上の任意の点1110までの距離B1104を最適化することで、比較例よりも良い結果が得られる。   As described above, the calculation is performed with the values of the coefficients a and b and Vs and Rs being calculated as a = b = 2, Vs = 106%, and Rs = 250 degrees. In the detection device 1100, the length A1101a of the outer diameter of the annular magnet 1101, the length A1101b of the inner diameter of the annular magnet 1101, the length A1102 in the width direction from the inner diameter end to the outer diameter end of the annular magnet 1101, and the thickness of the annular magnet 1101. (Magnetization) A length A1103 in the direction Z, a distance A1104 of the inner diameter of one magnet of the magnet magnetized by the annular magnet 1101, a distance B1101 from the plane 1109 to the center of the magnetic sensing part of the Hall sensor 1102a or 1102b, The distance B1102 connecting the center of the magnetic sensing part of the first Hall sensor 1102a and the center of the magnetic sensing part of the second Hall sensor 1102b, the XY plane When viewed, the distance B1103 from the center of the magnetic sensing part of the first Hall sensor 1102a and the center of the magnetic sensing part of the second Hall sensor 1102b to an arbitrary point 1110 on the substrate, from the XY plane When viewed, by optimizing the distance B1104 from the inner diameter of the annular magnet 1101 to any point 1110 on the substrate, a better result than the comparative example can be obtained.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ1102a,1102bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 1102a and 1102b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ1102a,1102bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ1102a,1102bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The Hall sensors 1102a and 1102b do not have a magnetic chip for performing magnetic amplification. Hall sensors 1102a and 1102b have magnetic chips inside, and a configuration for amplifying the detected magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and a wide range It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、配置された基板の任意の点から同距離で、感磁方向が配置された基板に対して垂直な2個のホールセンサを1組とし、基板上の任意の点から、基板から垂直に伸びたZ方向を軸として、回転可能に支持し、X―Y平面から見た場合に、基板上の任意の点から内径までの距離が全て等距離であり、X―Y平面から見た場合に、基板上の任意の点から外径までの距離が全て等距離であり、基板に対して垂直方向にN極とS極が着磁された磁石を配置し、2個のホールセンサの出力を実数倍した出力をV11011,V11021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R1101における正弦波の値sin(R1101)と余弦波の値cos(R1101)とし、1周期の間に磁石が移動する距離をPとした場合、a×V11011×cos(R1101)−b×V11021×sin(R1101)の値が最もゼロに近づく電気角R1101と、Vo11=√((a×V11011)2+(b×V11021)2)の関係式から得られる値Vo11とを用いて得られた周期N番目と、電気角R1101とから、P1100=P×(N−1)+(R1101×P÷360)の関係式を用いて位置検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、広範囲な距離を高精度に、かつ絶対位置検出を行うことが可能な、位置検出装置とその位置検出装置を用いた電子機器を作製することが可能になる。 As described above, a set of two Hall sensors that are the same distance from an arbitrary point on the arranged substrate and perpendicular to the substrate on which the magnetic sensing direction is arranged, and from any point on the substrate, When supported from the XY plane, the distance from any point on the substrate to the inner diameter is all equal, and the XY plane When viewed from above, the distances from any point on the substrate to the outer diameter are all equal, and magnets with N and S poles magnetized in a direction perpendicular to the substrate are arranged, Outputs obtained by multiplying the output of the Hall sensor by a real number are set to V11011 and V11021, and a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle is previously stored on a table, and a sine wave at an arbitrary electrical angle R1101 Value sin (R1101) and cosine wave value cos (R110) ) And the distance that the magnet moves during one cycle is P, the electrical angle R1101 where the value of a × V11011 × cos (R1101) −b × V11021 × sin (R1101) is closest to zero, and Vo11 = From the period Nth obtained using the value Vo11 obtained from the relational expression √ ((a × V11011) 2 + (b × V11021) 2 ) and the electrical angle R1101, P1100 = P × (N−1) ) + (R1101 × P ÷ 360) Position detection is performed using a relational expression (however, a real number where a ≠ 0 and b ≠ 0), so that a component using a Hall sensor as a magnetic sensor Even if it is configured with general-purpose products or easily available parts, it is possible to achieve downsizing with a simple configuration, and it is possible to detect absolute position over a wide range with high accuracy. Do, it is possible to produce an electronic device using the position detecting device and the position detecting device.

本発明に係る位置検出装置の実施例11を図86(a),(b)乃至図94に基づいて以下に説明する。本実施例11の位置検出装置は、回転角度検出装置である。   An eleventh embodiment of the position detection apparatus according to the present invention will be described below with reference to FIGS. 86 (a) and 86 (b) to FIG. The position detection device of the eleventh embodiment is a rotation angle detection device.

<実施例11の構成>
図86(a),(b)は、本発明に係る位置検出装置の実施例11を説明するための概略構成図で、回転軌道上に整列した2個のホールセンサを使用した場合の回転角度検出装置を示し、図86(a)は上面図、図86(b)は断面図を示している。
<Configuration of Example 11>
86 (a) and 86 (b) are schematic configuration diagrams for explaining the eleventh embodiment of the position detecting device according to the present invention, and the rotation angle when two Hall sensors aligned on the rotation track are used. FIG. 86 (a) is a top view and FIG. 86 (b) is a cross-sectional view showing the detection device.

回転角度検出装置1200は、2個を1組としたホールセンサ(磁気センサ/磁束検出手段)1202a,1202bと、ホールセンサ1202a(第1のホールセンサ)と、ホールセンサ1202b(第2のホールセンサ)と、これら2つのホールセンサを実装した基板1203と、N極S極がそれぞれ1極であり、基板1203に水平方向に着磁された円柱状磁石(磁束発生手段)1201と、を備えている。なお、本発明に係る位置検出装置1200は、様々な種類の磁石と、種々なホールセンサとを用いて構成できる。   The rotation angle detection device 1200 includes two hall sensors (magnetic sensors / magnetic flux detection means) 1202a and 1202b, a hall sensor 1202a (first hall sensor), and a hall sensor 1202b (second hall sensor). ), And a substrate 1203 on which these two Hall sensors are mounted, and a columnar magnet (magnetic flux generating means) 1201 that has one north pole and one south pole and is magnetized in the horizontal direction on the board 1203. Yes. The position detection apparatus 1200 according to the present invention can be configured using various types of magnets and various Hall sensors.

ホールセンサ1202a,1202bは、基板1203上に所定の間隔で配置され、感磁方向が基板1203に対して垂直である。円柱状磁石1201は、ホールセンサ1202a,1202bからの信号を所定の演算を行った際に、図87に示される信号となるよう着磁された構成となっており、円面と基板1203は水平であり、円の中心間を軸として回転可能に配置されており、1回転する毎に基板1203から所定の距離離れるよう配置されている。   The hall sensors 1202a and 1202b are arranged on the substrate 1203 at a predetermined interval, and the magnetic sensitive direction is perpendicular to the substrate 1203. The cylindrical magnet 1201 is configured to be magnetized so as to be a signal shown in FIG. 87 when a predetermined calculation is performed on signals from the hall sensors 1202a and 1202b, and the circular surface and the substrate 1203 are horizontal. It is arranged so as to be rotatable about the center of the circle, and is arranged so as to be separated from the substrate 1203 by a predetermined distance every rotation.

円柱状磁石1201のN極とS極が1極ずつ着磁されており、移動方向は、ホールセンサ1202a,1202b又は円柱状磁石1201が、任意の軸を中心に回転する方向である。   The N and S poles of the cylindrical magnet 1201 are magnetized one by one, and the moving direction is a direction in which the Hall sensors 1202a and 1202b or the cylindrical magnet 1201 rotate around an arbitrary axis.

図87は、図86(a),(b)に示した回転角度検出装置において、円柱状磁石又は2個のホールセンサを回転させた際に得られる2個のホールセンサの出力信号を示す波形図である。   FIG. 87 is a waveform showing output signals of the two hall sensors obtained when the cylindrical magnet or the two hall sensors are rotated in the rotation angle detection device shown in FIGS. 86 (a) and 86 (b). FIG.

ホールセンサ1202a,1202b(固定)に対して円柱状磁石1201を基準位置からX方向に沿って回転された場合には、一方のホールセンサ1202aの出力信号は、図中の白四角のように減衰振動波形の出力信号を示し、他方のホールセンサ1202bの出力信号は、図中の黒丸のように、一方のホールセンサ1202aの出力信号と位相のずれた減衰振動波形の出力信号を示す。   When the cylindrical magnet 1201 is rotated from the reference position along the X direction with respect to the hall sensors 1202a and 1202b (fixed), the output signal of one hall sensor 1202a is attenuated as white squares in the figure. The output signal of the vibration waveform is shown, and the output signal of the other Hall sensor 1202b is an output signal of a damped vibration waveform that is out of phase with the output signal of the one Hall sensor 1202a, as indicated by a black circle in the figure.

円柱状磁石1201は、フェライトやネオジ鉄ボロン、サマリウムコバルト磁石などが適用可能であり、薄型の磁石の場合は、プラスチック磁石やゴム磁石を用いることも可能である。磁石の着磁方向は、基板1203に対して水平方向にN極とS極が着磁された方向にするとよい。   As the columnar magnet 1201, ferrite, neodymium iron boron, samarium cobalt magnet, or the like can be applied. In the case of a thin magnet, a plastic magnet or a rubber magnet can also be used. The magnetization direction of the magnet may be a direction in which the N pole and the S pole are magnetized in the horizontal direction with respect to the substrate 1203.

1組のホールセンサとして構成された、第1のホールセンサ1202aの感磁部中心と、第2のホールセンサ1202bの感磁部中心は、円柱状磁石の回転軸を基板1203上に投影した点1210から同距離であり、第1のホールセンサ1202aの感磁部中心を基板1203上に投影した点1211と点1210を結んだ直線1212と、第2のホールセンサ1202bの感磁部中心を基板1203上に投影した点1213と点1210を結んだ直線1214とが90度の角度を以って配置されている。   The magnetic sensor center of the first hall sensor 1202a and the magnetic sensor center of the second hall sensor 1202b configured as a set of hall sensors are projected on the substrate 1203 on the rotation axis of the cylindrical magnet. 1210, the same distance from 1210, and the center of the magnetic sensing part of the first hall sensor 1202a projected on the substrate 1203 and the straight line 1212 connecting the point 1210 and the center of the magnetic sensing part of the second hall sensor 1202b. A point 1213 projected on 1203 and a straight line 1214 connecting the points 1210 are arranged at an angle of 90 degrees.

図86(a),(b)において、A1201は円柱状磁石1201の半径の長さ、A1202は円柱状磁石1201の厚み(着磁)方向Zの長さをそれぞれ示す。また、B1201は、円柱状磁石1201と基板1203が最近接した場合の、円柱状磁石1201から、ホールセンサ1202aもしくは1202bの感磁部の中心までの距離を示す。B1202は、点1210から、点1211もしくは点1213までの距離を示す。   86A and 86B, A1201 indicates the length of the radius of the columnar magnet 1201, and A1202 indicates the length of the columnar magnet 1201 in the thickness (magnetization) direction Z. B1201 indicates the distance from the columnar magnet 1201 to the center of the magnetic sensing part of the Hall sensor 1202a or 1202b when the columnar magnet 1201 and the substrate 1203 are closest to each other. B1202 indicates the distance from the point 1210 to the point 1211 or the point 1213.

ホールセンサ1102a,1102bは、GaAs、InAs、InSbなどの III−V族化合物半導体を含むものである。また、Si、GeなどのIV族半導体を含むものでもよい。   Hall sensors 1102a and 1102b include III-V group compound semiconductors such as GaAs, InAs, and InSb. Further, it may contain a group IV semiconductor such as Si or Ge.

図88は、図86(a),(b)に示した回転角度検出装置内の回転角度検出回路の回路図である。   FIG. 88 is a circuit diagram of a rotation angle detection circuit in the rotation angle detection device shown in FIGS. 86 (a) and 86 (b).

回転角度検出装置1200は、2個のホールセンサ1202a,1202bを有する駆動回路1205と、このホールセンサ1202a,1202bからのそれぞれの出力に基づいて位置検出を行う信号処理回路1206とを備えている。   The rotation angle detection device 1200 includes a drive circuit 1205 having two hall sensors 1202a and 1202b, and a signal processing circuit 1206 that performs position detection based on respective outputs from the hall sensors 1202a and 1202b.

駆動回路1205は、1組のホールセンサ1202a,1202bと、これらのホールセンサ1202a,1202bに電圧を供給する電源部Vddとから構成される。   The drive circuit 1205 includes a set of hall sensors 1202a and 1202b and a power supply unit Vdd that supplies a voltage to the hall sensors 1202a and 1202b.

第1のホールセンサ1202aは、正極入力端子1202a(A)と、正極出力端子1202a(B)と、負極入力端子1202a(C)と、負極出力端子1202a(D)とから構成される。   The first hall sensor 1202a includes a positive electrode input terminal 1202a (A), a positive electrode output terminal 1202a (B), a negative electrode input terminal 1202a (C), and a negative electrode output terminal 1202a (D).

第2のホールセンサ1202bは、正極入力端子1202b(E)と、正極出力端子1202b(F)と、負極入力端子1202b(G)と、負極出力端子1202b(H)とから構成される。   The second hall sensor 1202b includes a positive input terminal 1202b (E), a positive output terminal 1202b (F), a negative input terminal 1202b (G), and a negative output terminal 1202b (H).

正極出力端子1202a(B)と負極出力端子1202a(D)とは、差動増幅器1207aの入力信号となり、差動増幅器1207aからはV12011が出力される。正極出力端子1202b(F)と負極出力端子1202b(H)とは、差動増幅器1207bの入力信号となり、差動増幅器1207bからはV12021が出力される。   The positive output terminal 1202a (B) and the negative output terminal 1202a (D) serve as input signals of the differential amplifier 1207a, and V12011 is output from the differential amplifier 1207a. The positive output terminal 1202b (F) and the negative output terminal 1202b (H) serve as input signals to the differential amplifier 1207b, and V12021 is output from the differential amplifier 1207b.

信号処理部1206は、差動増幅器1207a,1207bと、計算処理部1208とにより構成される。この信号処理部1206では、ホールセンサ1202a,1202bからのそれぞれの出力に基づいて位置検出を行う。   The signal processing unit 1206 includes differential amplifiers 1207a and 1207b and a calculation processing unit 1208. The signal processing unit 1206 performs position detection based on the outputs from the hall sensors 1202a and 1202b.

<実施例11の回路動作>
以下に、本実施例11の回転角度検出装置1200の動作について説明する。
図88に示す信号処理部1206は、2個の磁気センサを搭載した基板に対して、磁石を移動方向へ所定の距離だけ移動した場合において、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力の所定の相関関係を用いることで位置検出を行うことができる。
<Circuit Operation of Example 11>
The operation of the rotation angle detection device 1200 according to the eleventh embodiment will be described below.
The signal processing unit 1206 shown in FIG. 88 is on the substrate with respect to the moving distance in the moving direction of the magnet when the magnet is moved by a predetermined distance in the moving direction with respect to the substrate on which the two magnetic sensors are mounted. Position detection can be performed by using a predetermined correlation between the outputs of the two magnetic sensors.

例えば、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   For example, the position detection may be performed using a predetermined correlation of the calculated values obtained from the output values of the two magnetic sensors on the substrate with respect to the moving distance in the moving direction of the magnet.

さらに、磁石の移動方向への移動距離に対する、基板上の2個の磁気センサの出力を所定倍した出力値から得られた演算値の所定の相関関係を用いて位置検出を行うようにしてもよい。   Further, the position may be detected using a predetermined correlation of the calculated value obtained from the output value obtained by multiplying the output of the two magnetic sensors on the substrate by a predetermined value with respect to the moving distance in the moving direction of the magnet. Good.

以下、回転角度検出回路の具体的な動作について以下に詳細に説明する。
駆動回路1205において、第1のホールセンサ1202aの正極入力端子1202a(A)と、第2のホールセンサ1202bの正極入力端子1202b(E)とが接続されることによって入力端子とされ、第1のホールセンサ1202aの負極入力端子1202a(C)と、第2のホールセンサ1202bの負極入力端子1202b(G)とが接続されることによって入力端子とされる。
The specific operation of the rotation angle detection circuit will be described in detail below.
In the drive circuit 1205, the positive input terminal 1202a (A) of the first hall sensor 1202a and the positive input terminal 1202b (E) of the second hall sensor 1202b are connected to form an input terminal. The negative input terminal 1202a (C) of the hall sensor 1202a and the negative input terminal 1202b (G) of the second hall sensor 1202b are connected to form an input terminal.

第1のホールセンサ1202aの正極出力端子1202a(B)と負極出力端子1202a(D)は、信号処理回路1206の第1の差動増幅器1207aに接続され、第2のホールセンサ1202bの正極出力端子1202b(F)と負極出力端子1202b(H)は、信号処理回路1206の第2の差動増幅器1207bに接続される。   The positive output terminal 1202a (B) and the negative output terminal 1202a (D) of the first hall sensor 1202a are connected to the first differential amplifier 1207a of the signal processing circuit 1206, and the positive output terminal of the second hall sensor 1202b. 1202b (F) and the negative output terminal 1202b (H) are connected to the second differential amplifier 1207b of the signal processing circuit 1206.

第1の差動増幅器1207aの出力端子と第2の差動増幅器1207bの出力端子は、ADコンバータに入力され、適宜出力を計算する計算処理部1208に伝達される。   The output terminal of the first differential amplifier 1207a and the output terminal of the second differential amplifier 1207b are input to the AD converter and transmitted to the calculation processing unit 1208 that appropriately calculates the output.

計算処理部1208は、以下の処理を行って位置検出を行う。   The calculation processing unit 1208 performs position detection by performing the following processing.

<実施例11の計算処理部の処理>
計算処理部1208では、1周期内の任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持している。基板1203上に配置された2個の磁気センサ1202a,1202bにおいて、磁気センサ1202a及び1202bからのそれぞれの出力をV12011,V12021とした場合、出力V12011,V12021をそれぞれ実数倍した値、及びテーブル上に保持してある電気角R1201における正弦波の値sin(R1201)と余弦波の値cos(R1201)の組を用いて、
a×V12011×cos(R1201)
−b×V12021×sin(R1201)・・・(24)
の値が最もゼロに近づく電気角R1201をまず求める。ただし、a≠0かつb≠0である実数である。
<Processing of Calculation Processing Unit of Example 11>
In the calculation processing unit 1208, a set of a sine wave value and a cosine wave value corresponding to an arbitrary electrical angle within one cycle is held on a table in advance. In the two magnetic sensors 1202a and 1202b arranged on the substrate 1203, when the outputs from the magnetic sensors 1202a and 1202b are V12011 and V12021, the values obtained by multiplying the outputs V12011 and V12021 by real numbers, respectively, and on the table Using a set of a sinusoidal value sin (R1201) and a cosine wave value cos (R1201) at the held electrical angle R1201,
a × V12011 × cos (R1201)
-B * V12021 * sin (R1201) (24)
First, an electrical angle R1201 that is closest to zero is obtained. However, it is a real number in which a ≠ 0 and b ≠ 0.

次に
Vo12=√((a×V12011)2+(b×V12021)2)・・・(25)
の関係式から求められる値Vo12及び電気角R1201を用いて、図17で示される減衰振動波状出力においてN番目の周期であることを求める。なお、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線であるため、磁石の移動距離に対するVo12の値は単調減少とはならない場合が多い。そのため、減衰振動波状出力においてN番目の周期かどうかをVo12の値のみでは判断できない。そこでVo12及びR1201を用いて、次のようにしてN番目の周期であることを特定する。
Next, Vo12 = √ ((a × V12011) 2 + (b × V12021) 2 ) (25)
Using the value Vo12 and the electrical angle R1201 obtained from the relational expression, the Nth cycle is obtained in the damped vibration wave output shown in FIG. Since the curve connecting the output peak values of one Hall sensor is the curve indicated by “3” in FIG. 17, the value of Vo12 with respect to the moving distance of the magnet does not often monotonously decrease. For this reason, it is not possible to determine whether or not it is the Nth period in the damped vibration wave output only by the value of Vo12. Therefore, using Vo12 and R1201, the Nth cycle is specified as follows.

まず、周期毎の電気角360度におけるVo12の値をメモリに保持させる。保持させる値は、例えば、あらかじめシミュレーションにより求められた値を保持させておいても良いし、磁石を移動させて個別キャリブレーションを行う際に、ホールセンサ1202aの出力V12011がゼロを示した際のVo12の値を保持させておいても良い。次に、N番目の周期の電気角360度におけるVo12値をV(N)とし、N−1番目の周期の電気角360度におけるVo12値をV(N−1)とした場合、
(V(N−1)×Vs)≧Vo12≧V(N−1)かつR1201≦Rs度
または、
V(N−1)>Vo12>(V(N)×Vs)
または、
(V(N)×Vs)≧Vo12≧V(N)かつR1201≧Rs度
であればN番目の周期であると特定する。ここで、Vs及びRsの値は位置検出装置1200の構成毎に最適な数値を求める事が望ましいが、Vsはおよそ百数%、Rsは100〜340度とすることで、位置検出が可能であることが多い。なお、ここでN=1の場合、V(N−1)の電気角360度の値が無い場合がある。その場合は、V(N)のおよそ1.2倍以上の値をメモリに保持させれば良い。
First, the value of Vo12 at an electrical angle of 360 degrees per cycle is stored in the memory. As the value to be held, for example, a value obtained in advance by simulation may be held, or when the individual calibration is performed by moving the magnet, when the output V12011 of the Hall sensor 1202a indicates zero. The value of Vo12 may be held. Next, when the Vo12 value at the electrical angle 360 degrees in the Nth cycle is V (N) and the Vo12 value at the electrical angle 360 degrees in the N-1th cycle is V (N-1),
(V (N−1) × Vs) ≧ Vo12 ≧ V (N−1) and R1201 ≦ Rs degree or
V (N-1)>Vo12> (V (N) × Vs)
Or
If (V (N) × Vs) ≧ Vo12 ≧ V (N) and R1201 ≧ Rs degree, the Nth cycle is specified. Here, it is desirable to obtain optimum values of Vs and Rs for each configuration of the position detection device 1200, but position detection is possible by setting Vs to about a hundred percent and Rs to 100 to 340 degrees. There are often. Here, when N = 1, there may be no value of electrical angle 360 degrees of V (N−1). In that case, a value of about 1.2 times V (N) or more may be held in the memory.

次に求められた電気角R1201及び周期N番目の値を用いて、
P1200=360×(N−1)+R1201・・・(26)
の関係式から求められる値P1200を用いて位置検出を行う。
Next, using the obtained electrical angle R1201 and the Nth value of the cycle,
P1200 = 360 × (N−1) + R1201 (26)
Position detection is performed using a value P1200 obtained from the relational expression.

なお、本実施例11では、第1のホールセンサ1202aと第2のホールセンサ1202bとの入力端子を並列に接続しているが、これは特に並列接続に限定されるものではない。また、差動増幅器1207a,1207bについても、より高精度な計装アンプを用いてもよいことは言うまでもない。   In the eleventh embodiment, the input terminals of the first hall sensor 1202a and the second hall sensor 1202b are connected in parallel. However, this is not particularly limited to the parallel connection. Needless to say, a higher-precision instrumentation amplifier may be used for the differential amplifiers 1207a and 1207b.

<実施例11の位置検出例>
次に、本発明に係る回転角度検出装置1200の具体的な回転角度の検出例について説明する。円柱状磁石が7回転する際の回転角度を検出する場合について示す。図86における各構成部品のパラメータの最適値の設計例を説明する。
<Example of Position Detection in Example 11>
Next, a specific example of detecting the rotation angle of the rotation angle detection device 1200 according to the present invention will be described. A case where the rotation angle when the cylindrical magnet rotates seven times will be described. A design example of the optimum value of the parameter of each component in FIG. 86 will be described.

図89(a),(b)は、図86(a),(b)に示した回転角度検出装置に対応する構成例を示す図で、図89(a)は上面図、図89(b)は断面図である。   89 (a) and 89 (b) are diagrams showing a configuration example corresponding to the rotation angle detecting device shown in FIGS. 86 (a) and 86 (b). FIG. 89 (a) is a top view and FIG. ) Is a cross-sectional view.

図89(a),(b)に示すように、円柱状磁石1201の半径A1201=2.5mm、円柱状磁石1201の厚み(着磁)方向Zの長さA1202=1.5mm、円柱状磁石1201と基板1203が最近接した場合の、円柱状磁石1201から、ホールセンサ1202aもしくは1202bの感磁部の中心までの距離B1201=1.5mm、点1210から、点1211もしくは点1213までの距離B1202=2.0mmとする。なお、円柱状磁石は1回転する毎に、基板1203から0.1mm離れるよう設置されている。   As shown in FIGS. 89 (a) and 89 (b), the radius A1201 of the cylindrical magnet 1201 = 2.5 mm, the length A1202 = 1.5 mm in the thickness (magnetization) direction Z of the cylindrical magnet 1201, and the cylindrical magnet. The distance B1201 = 1.5 mm from the columnar magnet 1201 to the center of the magnetic sensing part of the Hall sensor 1202a or 1202b and the distance B1202 from the point 1210 to the point 1211 or 1213 when the 1201 and the substrate 1203 are closest to each other = 2.0 mm. The cylindrical magnet is installed so as to be 0.1 mm away from the substrate 1203 every time it rotates.

上記設計の際、ホールセンサ1202a,1202bを1つのパッケージ内に搭載する方が、ホールセンサ1202a,1202bの配置誤差が小さくなり、位置検出装置の高精度化に貢献できる。また、例えばSi基板上にホールセンサ1202a,1202bを設けることも可能である。   In the above design, mounting the Hall sensors 1202a and 1202b in one package reduces the arrangement error of the Hall sensors 1202a and 1202b, and can contribute to higher accuracy of the position detection device. For example, it is possible to provide Hall sensors 1202a and 1202b on a Si substrate.

従って、第1のホールセンサ1202aと第2のホールセンサ1202bとを、1つのパッケージ内に封入することが望ましい。   Therefore, it is desirable to enclose the first hall sensor 1202a and the second hall sensor 1202b in one package.

図90及び図91は、磁石の回転角度に対するホールセンサの出力電圧の関係を示す図である。   90 and 91 are diagrams showing the relationship of the output voltage of the Hall sensor with respect to the rotation angle of the magnet.

図90は、磁石の回転角度に対する第1のホールセンサ1202aの出力電圧を2倍した値2×V12011の変化L12011を示す図である。図91は、磁石の回転角度に対する第2のホールセンサ1202bの出力電圧を2倍した値2×V12021の変化L12021を示す図である。   FIG. 90 is a diagram illustrating a change L12011 of a value 2 × V12011 obtained by doubling the output voltage of the first hall sensor 1202a with respect to the rotation angle of the magnet. FIG. 91 is a diagram showing a change L12021 of a value 2 × V12021 obtained by doubling the output voltage of the second hall sensor 1202b with respect to the rotation angle of the magnet.

図92は、磁石の回転角度に対する√((2×V12011)2+(2×V12021)2)の変化L12031を示す図である。 FIG. 92 is a diagram showing a change L12031 of √ ((2 × V12011) 2 + (2 × V12021) 2 ) with respect to the rotation angle of the magnet.

磁気シミュレーションの前提として、2個のホールセンサ1202a,1202bの感度を2.2mV/mT(一般的なホールセンサの感度)、1つのホールセンサの出力ピーク値を結んだ曲線が図17の『3』で示される曲線になるよう、円柱状磁石1201の残留磁束密度が1300mTとなるよう着磁されているとして行う。   As a premise of the magnetic simulation, the sensitivity of the two Hall sensors 1202a and 1202b is 2.2 mV / mT (sensitivity of a general Hall sensor), and a curve connecting the output peak values of one Hall sensor is “3” in FIG. The cylindrical magnet 1201 is magnetized so that the residual magnetic flux density is 1300 mT so that the curve indicated by

図92に示した、磁石の回転角度に対する√((2×V12011)2+(2×V12021)2)の変化L12031は、単調減少していないため、位置検出は出来ない。そのため、次に示す演算を行い、位置検出を行う。 The change L12031 of √ ((2 × V12011) 2 + (2 × V12021) 2 ) with respect to the rotation angle of the magnet shown in FIG. 92 is not monotonously decreasing, and therefore position detection cannot be performed. Therefore, the following calculation is performed to detect the position.

あらかじめ電気角で360/1024度毎(=10bitで分割)の、正弦波と余弦波の値の組をテーブルに保持しておく。磁石の回転角度に対する第1のホールセンサ1202aの出力電圧を2倍した値2×V12011と、磁石の回転角度に対する第2のホールセンサ1202bの出力電圧を2倍した値2×V12021の変化L12021と、任意の電気角R1201における正弦波の値sin(R1201)と余弦波の値cos(R1201)の組を用いて、2×V12011×cos(R1201)−2×V12021×sin(R1201)の値が最もゼロに近づくR1201を求める。   A set of values of sine wave and cosine wave every 360/1024 degrees in electrical angle (= divided by 10 bits) is held in advance in a table. A value 2 × V12011 obtained by doubling the output voltage of the first Hall sensor 1202a with respect to the rotation angle of the magnet, and a change L12021 of a value 2 × V12021 obtained by doubling the output voltage of the second Hall sensor 1202b with respect to the rotation angle of the magnet. Using a set of a sine wave value sin (R1201) and a cosine wave value cos (R1201) at an arbitrary electrical angle R1201, the value of 2 × V12011 × cos (R1201) −2 × V12021 × sin (R1201) is R1201 that is closest to zero is obtained.

次に、Vo12=√((2×V12011)2+(2×V12021)2)の関係式からVo12を求める。 Next, Vo12 is obtained from a relational expression of Vo12 = √ ((2 × V12011) 2 + (2 × V12021) 2 ).

次に、回転数毎の電気角360度におけるVo12の値をメモリに保持させる。   Next, the value of Vo12 at an electrical angle of 360 degrees for each rotation speed is held in the memory.

本実施例11では、
1回転目の電気角360度の場合、Vo12=330.08mV
2回転目の電気角360度の場合、Vo12=306.05mV
3回転目の電気角360度の場合、Vo12=284.04mV
4回転目の電気角360度の場合、Vo12=263.86mV
5回転目の電気角360度の場合、Vo12=245.33mV
6回転目の電気角360度の場合、Vo12=228.31mV
7回転目の電気角360度の場合、Vo12=212.64mV
をメモリに保持させることになる。
In this Example 11,
In the case of the electrical angle of the first rotation of 360 degrees, Vo12 = 330.08 mV
In the case of an electrical angle of 360 degrees for the second rotation, Vo12 = 306.05 mV
In the case of an electrical angle of 360 degrees for the third rotation, Vo12 = 284.04 mV
In the case of an electrical angle of 360 degrees for the fourth rotation, Vo12 = 263.86 mV
In the case of an electrical angle of 360 degrees for the fifth rotation, Vo12 = 245.33 mV
In the case of an electrical angle of 360 degrees for the sixth rotation, Vo12 = 228.31 mV
In the case of an electrical angle of 360 degrees at the seventh rotation, Vo12 = 212.64 mV
Is stored in the memory.

なお、1回転目であることを特定するためには、0回転目の360度の場合のVo12もメモリに保持させる必要がある。この場合、1回転目の電気角360度のVo12の値の1.2倍の値をメモリに保持させる。   In order to specify that the rotation is the first rotation, Vo12 in the case of 360 degrees of the 0th rotation needs to be held in the memory. In this case, a value 1.2 times the value of Vo12 at the electrical angle of 360 ° for the first rotation is stored in the memory.

0回転目の電気角360度の場合、Vo12=396.10mV
次に、N番目の周期の電気角360度におけるVo12値をV(N)とし、N−1番目の周期の電気角360度におけるVo12値をV(N−1)とした場合、(V(N−1)×1.05)≧Vo12≧V(N−1)かつR1201≦310度、または、V(N−1)>Vo12>(V(N)×1.05)、または、(V(N)×1.05)≧Vo12≧V(N)かつR1201≧310度であればN番目の周期であると特定する。
When the electrical angle at the 0th rotation is 360 degrees, Vo12 = 396.10 mV
Next, when the Vo12 value at the electrical angle 360 degrees of the Nth cycle is V (N) and the Vo12 value at the electrical angle 360 degrees of the N−1th cycle is V (N−1), (V ( N-1) × 1.05) ≧ Vo12 ≧ V (N−1) and R1201 ≦ 310 degrees, or V (N−1)>Vo12> (V (N) × 1.05), or (V If (N) × 1.05) ≧ Vo12 ≧ V (N) and R1201 ≧ 310 degrees, the Nth cycle is specified.

次に、求められた電気角R1201及び周期N番目の値を用いて、P1200=360×(N−1)+R1201の関係式から求められる値P1200を用いて回転角度検出を行う。   Next, rotation angle detection is performed using a value P1200 obtained from the relational expression P1200 = 360 × (N−1) + R1201 using the obtained electrical angle R1201 and the Nth value of the period.

図93は、磁石の回転角度に対するP1200の変化L12041を示す図である。図93より7回転の回転角度検出範囲において、P1200が高い線形性を持つことがわかる。   FIG. 93 is a diagram showing a change L12041 in P1200 with respect to the rotation angle of the magnet. FIG. 93 shows that P1200 has high linearity in the rotation angle detection range of 7 rotations.

図94は、磁石の移動距離に対する、実際の角度とP1200との誤差の変化L12051を示す図である。図94より7回転の回転角度検出範囲において、4度以内の誤差で回転角度検出可能であることがわかる。   FIG. 94 is a diagram showing a change L12051 in error between the actual angle and P1200 with respect to the moving distance of the magnet. It can be seen from FIG. 94 that the rotation angle can be detected with an error within 4 degrees in the rotation angle detection range of 7 rotations.

なお、着磁強度のバラツキや実装バラツキ等、各種誤差がある場合は、当然磁気シミュレーション結果L12051は、位置検出誤差が大きくなる可能性がある。この位置検出誤差が、所望の位置検出精度より大きい場合は、位置検出誤差を小さくするために、その他実施例(例えば、実施例6の演算を参照)を適用すると良い。   If there are various errors such as variations in magnetization intensity and mounting variations, naturally the magnetic simulation result L12051 may have a large position detection error. When this position detection error is larger than the desired position detection accuracy, another embodiment (for example, refer to the calculation in the sixth embodiment) may be applied to reduce the position detection error.

上述のように演算中の係数a,b及びVs,Rsの値をそれぞれ、a=b=2、Vs=105%、Rs=310度として演算を行ったが、この数値が異なっても、位置検出装置1200において、円柱状磁石1201の半径A1201、円柱状磁石1201の厚み(着磁)方向Zの長さA1202、円柱状磁石1201と基板1203が最近接した場合の、円柱状磁石1201から、ホールセンサ1202aもしくは1202bの感磁部の中心までの距離B1201、点1210から、点1211もしくは点1213までの距離B1202を最適化し、さらに、円柱状磁石が1回転する毎に、基板1203から所定の距離離れるよう設置することで、比較例よりも良い結果が得られる。   As described above, the values of the coefficients a and b and Vs and Rs being calculated are calculated with a = b = 2, Vs = 105%, and Rs = 310 degrees, respectively. In the detection apparatus 1200, from the columnar magnet 1201 when the radius A1201 of the columnar magnet 1201, the length A1202 of the columnar magnet 1201 in the thickness (magnetization) direction Z, and the columnar magnet 1201 and the substrate 1203 are closest to each other, The distance B1201 to the center of the magnetic sensing part of the Hall sensor 1202a or 1202b, the distance B1202 from the point 1210 to the point 1211 or the point 1213 is optimized, and each time the cylindrical magnet rotates once, a predetermined distance from the substrate 1203 Better results than the comparative example can be obtained by installing the devices so as to be separated from each other.

以上のような位置検出処理を行うことによって、以下に示す効果を得ることができる。   By performing the position detection process as described above, the following effects can be obtained.

ホールセンサ1202a,1202bは、2個を1つのパッケージに一体に封入している。2個のホールセンサの特性(感度やオフセット)が、あまりにかけはなれていると位置検出精度が悪化する。2個のホールセンサの特性を揃えるために、例えば、製造段階でウェハのとなりあった場所にある2個のホールセンサを1つのパッケージに納めることで、上述した問題が解決でき、高精度な位置検出装置を構成することができる。   Two Hall sensors 1202a and 1202b are integrally enclosed in one package. If the characteristics (sensitivity and offset) of the two Hall sensors are too far apart, the position detection accuracy will deteriorate. In order to make the characteristics of the two Hall sensors uniform, for example, by placing two Hall sensors in the place where the wafer was located in the manufacturing stage in one package, the above-mentioned problems can be solved, and a high-precision position can be obtained. A detection device can be configured.

また、ホールセンサ1202a,1202bは、磁気増幅を行うための磁性体チップを有していない。ホールセンサ1202a,1202bが内部に磁性体チップを有しており、センサ部分の検出磁場を増幅する構成が知られているが、本発明の構成では磁性体チップの磁気飽和が問題になり、広い範囲で正確に位置検出を行うのが困難である。磁気増幅していないホールセンサを用いることで、広い範囲を正確に位置検出できる。   The hall sensors 1202a and 1202b do not have a magnetic chip for performing magnetic amplification. Hall sensors 1202a and 1202b have a magnetic chip inside, and a configuration for amplifying the detection magnetic field of the sensor portion is known. However, in the configuration of the present invention, magnetic saturation of the magnetic chip becomes a problem, and a wide range It is difficult to accurately detect the position within a range. By using a Hall sensor that is not magnetically amplified, the position of a wide range can be accurately detected.

以上説明したように、2個のホールセンサが配置された基板と円面が水平であり、円の中心間を軸として回転可能に配置されており、基板に対して水平方向にN極とS極が着磁され、1回転する毎に基板から所定の距離離れるよう配置された磁石と、磁石の回転軸を基板上に投影した点から同距離で、第1のホールセンサの感磁部中心を基板上に投影した点と円柱状磁石の回転軸を基板上に投影した点を結んだ直線と、第2のホールセンサの感磁部中心を基板上に投影した点と円柱状磁石の回転軸を基板上に投影した点を結んだ直線とが90度の角度を以って配置され、感磁方向が配置された基板に対して垂直な2個のホールセンサを1組とし、2個のホールセンサの出力を実数倍した出力をV12011,V12021とし、任意の電気角に相当する正弦波の値と余弦波の値との組をあらかじめテーブル上に保持し、任意の電気角R1201における正弦波の値sin(R1201)と余弦波の値cos(R1201)とし、1周期の間に磁石が移動する距離をPとした場合、a×V12011×cos(R1201)−b×V12021×sin(R1201)の値が最もゼロに近づく電気角R1201と、Vo12=√((a×V12011)2+(b×V12021)2)の関係式から得られる値Vo12とを用いて得られた周期N番目と、電気角R1201とから、P1200=360×(N−1)+R1201の関係式を用いて回転角度検出を行う(ただし、a≠0かつb≠0の実数)信号処理回路を設けたので、ホールセンサを磁気センサとして用いて構成部品を汎用品や入手が容易な部品などにより構成した場合においても、簡易な構成で小型化を実現することができ、また、複数回転時の回転角度を高精度に、かつ絶対角度検出を行うことが可能な、回転角度検出装置とその角度検出装置を用いた電子機器を作製することが可能になる。 As described above, the substrate on which the two Hall sensors are arranged and the circular surface are horizontal, and are arranged so as to be rotatable around the center of the circle, and the N-pole and S in the horizontal direction relative to the substrate The magnet is arranged such that the pole is magnetized so as to be separated from the substrate by a predetermined distance every rotation, and the center of the magnetic sensing portion of the first Hall sensor at the same distance from the point where the rotation axis of the magnet is projected on the substrate. Of the projection on the substrate and the straight line connecting the projection of the axis of rotation of the cylindrical magnet onto the substrate, and the rotation of the cylindrical magnet and the point projected on the substrate of the magnetically sensitive part of the second Hall sensor A straight line connecting the points projected on the substrate is arranged at an angle of 90 degrees, and two Hall sensors perpendicular to the substrate on which the magnetosensitive direction is arranged are made into one set. The output obtained by multiplying the output of the Hall sensor by a real number is V12011, V12021, and an arbitrary electrical angle A set of a corresponding sine wave value and cosine wave value is stored in advance on a table, and a sine wave value sin (R1201) and a cosine wave value cos (R1201) at an arbitrary electrical angle R1201 are stored in one cycle. When the distance that the magnet moves between is P, the electrical angle R1201 in which the value of a × V12011 × cos (R1201) −b × V12021 × sin (R1201) is closest to zero and Vo12 = √ ((a × V12011 ) 2 + (b × V12021) 2 ) From the value Vo12 obtained from the relational expression Vo12 and the electrical angle R1201, the relational expression of P1200 = 360 × (N−1) + R1201 is obtained. Is used to detect the rotation angle (but a real number where a ≠ 0 and b ≠ 0), so the hall sensor is used as a magnetic sensor and Even when configured with easily available parts, it is possible to achieve downsizing with a simple configuration, and it is possible to detect the rotation angle with high accuracy and absolute angle at the time of multiple rotations. A rotation angle detection device and an electronic apparatus using the angle detection device can be manufactured.

100乃至1000 位置検出装置
101乃至1001 直方体磁石
102a乃至1202a 第1のホールセンサ
102b乃至1202b 第2のホールセンサ
103乃至1203 基板
105乃至1105 駆動回路
106乃至1110 信号処理回路
107a乃至1107a 第1の差動増幅器
107b乃至1107b 第1の差動増幅器
108乃至1108 計算処理部
109乃至1009 基板と対向する一平面
1100 回転位置検出装置
1101 環状磁石
1200 回転角度検出装置
1201 円柱状磁石
100 to 1000 Position detecting devices 101 to 1001 Cuboid magnets 102a to 1202a First Hall sensors 102b to 1202b Second Hall sensors 103 to 1203 Substrate 105 to 1105 Drive circuits 106 to 1110 Signal processing circuits 107a to 1107a First differential Amplifiers 107b to 1107b First differential amplifiers 108 to 1108 Calculation processing units 109 to 1009 One plane facing the substrate 1100 Rotation position detection device 1101 Annular magnet 1200 Rotation angle detection device 1201 Columnar magnet

Claims (23)

基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、
該磁束検出手段に磁場を印加するための磁束発生手段と、
前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、
前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、
前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように着磁されていることを特徴とする位置検出装置。
Magnetic flux detecting means arranged along the moving direction as a set of a plurality of magnetic sensors on the substrate;
Magnetic flux generation means for applying a magnetic field to the magnetic flux detection means;
Signal processing means for performing position detection based on an output signal from the magnetic flux detection means,
When the magnetic flux detecting means or said magnetic flux generating means is moved by a predetermined distance, the output signal from the plurality of magnetic sensors, Ri each damped oscillation wave or amplification vibration wave of the output signal der,
In order to generate the damped vibration wave or amplified vibration wave output signal from the magnetic flux detection means, the magnetic flux generation means is magnetized so that the strength of the magnetic field generated along the moving direction is attenuated or amplified. A position detecting device characterized by that.
基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、  Magnetic flux detecting means arranged along the moving direction as a set of a plurality of magnetic sensors on the substrate;
該磁束検出手段に磁場を印加するための磁束発生手段と、  Magnetic flux generation means for applying a magnetic field to the magnetic flux detection means;
前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、  Signal processing means for performing position detection based on an output signal from the magnetic flux detection means,
前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、  When the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance, the output signals from the plurality of magnetic sensors are output signals of damped vibration waves or amplified vibration waves,
前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように、前記基板に対して所定の傾きを持って支持されていることを特徴とする位置検出装置。  In order to generate the output signal of the damped vibration wave or amplified vibration wave from the magnetic flux detection means, the magnetic flux generation means is arranged on the substrate so that the strength of the magnetic field generated along the moving direction is attenuated or amplified. A position detecting device characterized by being supported with a predetermined inclination.
基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、  Magnetic flux detecting means arranged along the moving direction as a set of a plurality of magnetic sensors on the substrate;
該磁束検出手段に磁場を印加するための磁束発生手段と、  Magnetic flux generation means for applying a magnetic field to the magnetic flux detection means;
前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、  Signal processing means for performing position detection based on an output signal from the magnetic flux detection means,
前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、  When the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance, the output signals from the plurality of magnetic sensors are output signals of damped vibration waves or amplified vibration waves,
前記磁束発生手段が、長尺状磁石であることを特徴とする位置検出装置。  The position detecting device, wherein the magnetic flux generating means is a long magnet.
基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、  Magnetic flux detecting means arranged along the moving direction as a set of a plurality of magnetic sensors on the substrate;
該磁束検出手段に磁場を印加するための磁束発生手段と、  Magnetic flux generation means for applying a magnetic field to the magnetic flux detection means;
前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、  Signal processing means for performing position detection based on an output signal from the magnetic flux detection means,
前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、  When the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance, the output signals from the plurality of magnetic sensors are output signals of damped vibration waves or amplified vibration waves,
前記磁束発生手段が、環状磁石で、前記環状磁石のN極とS極が交互に繰り返し着磁されていることを特徴とする位置検出装置。  The position detecting device according to claim 1, wherein the magnetic flux generating means is an annular magnet, and the N and S poles of the annular magnet are alternately and repeatedly magnetized.
基板上に複数の磁気センサを1組として移動方向に沿って配置された磁束検出手段と、  Magnetic flux detecting means arranged along the moving direction as a set of a plurality of magnetic sensors on the substrate;
該磁束検出手段に磁場を印加するための磁束発生手段と、  Magnetic flux generation means for applying a magnetic field to the magnetic flux detection means;
前記磁束検出手段からの出力信号に基づいて位置検出を行う信号処理手段とを備え、  Signal processing means for performing position detection based on an output signal from the magnetic flux detection means,
前記磁束検出手段又は前記磁束発生手段を所定の距離だけ移動した場合に、前記複数の磁気センサからの出力信号が、各々減衰振動波状又は増幅振動波状の出力信号であり、  When the magnetic flux detection means or the magnetic flux generation means is moved by a predetermined distance, the output signals from the plurality of magnetic sensors are output signals of damped vibration waves or amplified vibration waves,
前記磁束発生手段が、円柱状磁石であり、  The magnetic flux generating means is a cylindrical magnet;
前記移動方向は、前記磁束検出手段又は前記磁束発生手段が、任意の軸を中心に回転する方向であることを特徴とする位置検出装置。The position detecting device characterized in that the moving direction is a direction in which the magnetic flux detecting means or the magnetic flux generating means rotates about an arbitrary axis.
前記磁束発生手段が、長尺状磁石であることに加えて、該磁石のN極とS極が交互に繰り返し着磁されており、前記移動方向は、前記磁束検出手段の感磁部の中心間を結ぶ直線に対して平行方向であることを特徴とする請求項3に記載の位置検出装置。  In addition to the magnetic flux generating means being a long magnet, the north and south poles of the magnet are alternately and repeatedly magnetized, and the moving direction is the center of the magnetic sensing part of the magnetic flux detecting means. The position detection device according to claim 3, wherein the position detection device is parallel to a straight line connecting the two. 前記磁束発生手段が、環状磁石で、前記環状磁石のN極とS極が交互に繰り返し着磁されていることに加えて、前記移動方向は、前記磁束検出手段又は前記磁束発生手段が、任意の軸を中心に回転する方向であることを特徴とする請求項4に記載の位置検出装置。  In addition to the magnetic flux generating means being an annular magnet and the N and S poles of the annular magnet being alternately and repeatedly magnetized, the magnetic flux detecting means or the magnetic flux generating means may be arbitrarily selected in the moving direction. The position detecting device according to claim 4, wherein the position detecting device is a direction rotating around the axis of the position. 前記磁束発生手段が、円柱状磁石であることに加えて、該磁石のN極とS極が1極ずつ着磁されていることを特徴とする請求項5に記載の位置検出装置。  6. The position detecting device according to claim 5, wherein the magnetic flux generating means is a cylindrical magnet, and the N pole and S pole of the magnet are magnetized one by one. 前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように着磁されていることを特徴とする請求項2乃至8のいずれかに記載の位置検出装置。 In order to generate the damped vibration wave or amplified vibration wave output signal from the magnetic flux detection means, the magnetic flux generation means is magnetized so that the strength of the magnetic field generated along the moving direction is attenuated or amplified. The position detection device according to claim 2 , wherein the position detection device is provided. 前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するような形状を有していることを特徴とする請求項1乃至8のいずれかに記載の位置検出装置。 In order to generate the damped vibration wave or amplified vibration wave output signal from the magnetic flux detection means, the magnetic flux generation means has such a shape that the strength of the magnetic field generated along the moving direction is attenuated or amplified. it is the position detection apparatus according to any one of claims 1 to 8, characterized in. 前記磁束検出手段から前記減衰振動波状又は増幅振動波状の出力信号を発生させるために、前記磁束発生手段は、移動方向に沿って発生する磁界の強さが減衰又は増幅するように、前記基板に対して所定の傾きを持って支持されていることを特徴とする請求項1および3〜8のいずれかに記載の位置検出装置。 In order to generate the output signal of the damped vibration wave or amplified vibration wave from the magnetic flux detection means, the magnetic flux generation means is arranged on the substrate so that the strength of the magnetic field generated along the moving direction is attenuated or amplified. 9. The position detecting device according to claim 1, wherein the position detecting device is supported with a predetermined inclination. 前記磁束検出手段からの前記減衰振動波状の出力信号は、減衰正弦波状及び減衰余弦波状の出力信号であることを特徴とする請求項1乃至11のいずれかに記載の位置検出装置。 The damped oscillation wave of the output signal from said magnetic flux detection means, the position detecting device according to any one of claims 1 to 11, characterized in that the attenuation sine wave and damped cosine-wave output signal. 前記磁束検出手段からの前記増幅振動波状の出力信号は、増幅正弦波状及び増幅余弦波状の出力信号であることを特徴とする請求項1乃至11のいずれかに記載の位置検出装置。 It said amplifying vibration wave of the output signal from said magnetic flux detection means, the position detecting device according to any one of claims 1 to 11, wherein the amplification is a sine wave and the output signal of the amplifier cosine wave. 前記磁束検出手段の前記磁気センサは2個であり、前記減衰振動波状の出力信号又は前記増幅振動波状の出力信号が、各々減衰正弦波状の出力信号及び減衰余弦波状の出力信号、もしくは増幅正弦波状の出力信号及び増幅余弦波状の出力信号となるように、90度の電気角を有して配置されていることを特徴とする請求項1乃至13のいずれかに記載の位置検出装置。 There are two magnetic sensors of the magnetic flux detection means, and the damped vibration wave output signal or the amplified vibration wave output signal is respectively an attenuated sine wave output signal and an attenuated cosine wave output signal, or an amplified sine wave signal. so that the output signal and amplifies the cosine wave output signal, the position detecting device according to any one of claims 1 to 13, characterized in that it is arranged with an electrical angle of 90 degrees. 前記信号処理手段が、前記磁束検出手段からの一方の出力値V11をa倍した出力値及び他方の出力値V21をb倍した出力値を
Vo1=√((a×V11)2+(b×V21)2
(ただしa及びbは実数)
の関係式から求められる算出値Vo1を用いて位置検出を行うことを特徴とする請求項1乃至14のいずれかに記載の位置検出装置。
The signal processing means calculates an output value obtained by multiplying one output value V11 from the magnetic flux detection means by a and an output value obtained by multiplying the other output value V21 by b by Vo1 = √ ((a × V11) 2 + (b × V21) 2 )
(Where a and b are real numbers)
Position detection device according to any one of claims 1 to 14, characterized in that the position detection by using the calculated value Vo1 obtained from relational expressions.
前記信号処理手段が、前記磁束検出手段からの前記減衰正弦波状の出力信号及び前記減衰余弦波状の出力信号の組、もしくは前記増幅正弦波状の出力信号及び前記増幅余弦波状の出力信号の組をあらかじめテーブルに記憶しておき、前記磁束検出手段又は前記磁束発生手段が移動した際の前記磁束検出手段からの出力値を前記テーブルの記憶値と比較して位置検出を行うことを特徴とする請求項1乃至14のいずれかに記載の位置検出装置。 The signal processing means pre-sets the set of the attenuated sine wave output signal and the attenuated cosine wave output signal from the magnetic flux detection means, or the set of the amplified sine wave output signal and the amplified cosine wave output signal. A position is detected by storing in a table and comparing an output value from the magnetic flux detection means when the magnetic flux detection means or the magnetic flux generation means is moved with a stored value of the table. The position detection device according to any one of 1 to 14 . 前記信号処理手段は、1周期内の電気角Aに対する正弦波の値Vs1及び余弦波の値Vc1の組をあらかじめテーブルに記憶しておき、前記磁束検出手段からの前記減衰正弦波状の出力値又は増幅正弦波状の出力値V12をc倍した出力値及び前記減衰余弦波状の出力値又は増幅余弦波状の出力値V22をd倍した出力値を
c×V12×Vc1−d×V22×Vs1=0
(ただしc及びdは実数)
の関係式が成り立つ電気角Aを求め、
Vo2=√((c×V12)2+(d×V22)2
の関係式から求められる算出値Vo2及び前記電気角Aにより、前記減衰振動波状の出力信号又は増幅振動波状の出力信号においてB番目の周期に位置することを見極め、
前記減衰振動波状の出力信号又は増幅振動波状の出力信号の1周期の距離をCとした場合に、
D=C×(B−1)+(A×C÷360)
の関係式から求められる位置Dが求めたい検出位置であることを特徴とする請求項1乃至14のいずれかに記載の位置検出装置。
The signal processing means stores a set of a sine wave value Vs1 and a cosine wave value Vc1 for an electrical angle A within one period in a table in advance, and the attenuated sine wave output value from the magnetic flux detection means or An output value obtained by multiplying the amplified sine wave output value V12 by c and an output value obtained by multiplying the attenuated cosine wave output value or the amplified cosine wave output value V22 by d × c × V12 × Vc1−d × V22 × Vs1 = 0
(Where c and d are real numbers)
The electrical angle A for which the relational expression of
Vo2 = √ ((c × V12) 2 + (d × V22) 2 )
From the calculated value Vo2 obtained from the relational expression and the electrical angle A, it is determined that the output signal of the damped vibration wave shape or the output signal of the amplified vibration wave shape is located in the Bth period,
When the distance of one cycle of the attenuated vibration wave output signal or the amplified vibration wave output signal is C,
D = C × (B−1) + (A × C ÷ 360)
Position detection device according to any one of claims 1 to 14, wherein the position D obtained from the relational expression is detected positions to be obtained.
前記磁束検出手段を、1つのパッケージに一体に封入したことを特徴とする請求項1乃至17のいずれかに記載の位置検出装置。 Position detecting device according to any of claims 1 to 17, characterized in that said magnetic flux detection means and sealed together in one package. 前記磁束検出手段が、磁気増幅を行うための磁性体チップを含まないことを特徴とする請求項1乃至18のいずれかに記載の位置検出装置。 Position detecting device according to any one of the magnetic flux detection means, according to claim 1 to 18, characterized in that does not include a magnetic material chip for performing magnetic amplification. 前記磁束検出手段が、GaAs、InAs、InSbなどのIII−V族化合物半導体を含むホールセンサであることを特徴とする請求項1乃至19のいずれかに記載の位置検出装置。 Said magnetic flux detection means, GaAs, InAs, the position detecting device according to any one of claims 1 to 19, characterized in that a Hall sensor comprising a group III-V compound semiconductor such as InSb. 前記磁束検出手段が、Si、GeなどのIV族半導体を含むホールセンサであることを特徴とする請求項1乃至19のいずれかに記載の位置検出装置。 Said magnetic flux detection means, Si, position detector according to any of claims 1 to 19, characterized in that a Hall sensor comprising a group IV semiconductor, such as Ge. 請求項1乃至21のいずれかに記載の位置検出装置と、該位置検出装置からの出力信号が入力される、オートフォーカス(AF)機構及びズーム(Zoom)機構とを備えたことを特徴とする電子機器。 A position detection device according to any one of claims 1 to 21 , and an auto focus (AF) mechanism and a zoom mechanism to which an output signal from the position detection device is input. Electronics. 前記AF機構及びZoom機構は、デジタルカメラ、又は携帯電話のオートフォーカス及びズームを行うことを特徴とする請求項22に記載の電子機器。 The electronic apparatus according to claim 22 , wherein the AF mechanism and the Zoom mechanism perform autofocus and zoom of a digital camera or a mobile phone.
JP2010231886A 2010-10-14 2010-10-14 POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME Expired - Fee Related JP5646946B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010231886A JP5646946B2 (en) 2010-10-14 2010-10-14 POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010231886A JP5646946B2 (en) 2010-10-14 2010-10-14 POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME

Publications (2)

Publication Number Publication Date
JP2012083313A JP2012083313A (en) 2012-04-26
JP5646946B2 true JP5646946B2 (en) 2014-12-24

Family

ID=46242321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010231886A Expired - Fee Related JP5646946B2 (en) 2010-10-14 2010-10-14 POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME

Country Status (1)

Country Link
JP (1) JP5646946B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013238821A (en) * 2012-05-17 2013-11-28 Asahi Kasei Electronics Co Ltd Control device of linear motion device and control method thereof
CN104541133B (en) 2012-08-30 2016-03-16 富士胶片株式会社 Imaging lens system lens barrel and method of controlling operation thereof
CN104541132B (en) 2012-08-30 2016-03-30 富士胶片株式会社 Imaging lens system lens barrel and method of controlling operation thereof
CN104704327B (en) 2012-08-30 2016-03-30 富士胶片株式会社 Imaging lens system lens barrel and method of controlling operation thereof
KR102157061B1 (en) * 2019-03-08 2020-09-21 주식회사 현대포리텍 position detecting device
CN114577099B (en) * 2020-11-16 2023-11-28 深圳市万普拉斯科技有限公司 Position detection system, lens, zooming method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4607049B2 (en) * 2006-02-23 2011-01-05 株式会社デンソー Rotation angle detector
JP2009300396A (en) * 2008-06-17 2009-12-24 Nippon Soken Inc Rotation angle detecting device

Also Published As

Publication number Publication date
JP2012083313A (en) 2012-04-26

Similar Documents

Publication Publication Date Title
JP5646946B2 (en) POSITION DETECTION DEVICE AND ELECTRONIC DEVICE HAVING THE SAME
JP4589410B2 (en) Position detection device
JP5124879B2 (en) POSITION DETECTING DEVICE AND ELECTRONIC DEVICE USING THE POSITION DETECTING DEVICE
JP5853046B2 (en) Magnetic field measuring device
US20050258825A1 (en) Position detector, camera-shake compensation mechanism, and image capture apparatus
US9719805B2 (en) Position detecting device
US20220360200A1 (en) Camera module
JP5408508B2 (en) Position detection device
US20190086238A1 (en) Linear motion and rotation detector, linear motion and rotation detector unit, and linear motion and rotation drive device
JPWO2007055135A1 (en) Magnetic encoder device
JP2011252836A (en) Position detection device
JP5074342B2 (en) Position detection device and electronic apparatus using the position detection device
JP4855454B2 (en) Position detection device and electronic apparatus using the position detection device
JP4926626B2 (en) POSITION DETECTION SYSTEM, OPTICAL SYSTEM USING POSITION DETECTION SYSTEM, AND IMAGING DEVICE
JP5483516B2 (en) POSITION DETECTION DEVICE, OPTICAL SYSTEM HAVING POSITION DETECTION DEVICE, AND IMAGING DEVICE
JP7463593B2 (en) Magnetic sensor system and lens position detection device
JP2012247298A (en) Position detection device
US10809097B2 (en) Detector apparatus and detector system
JP5103158B2 (en) Magnetic coordinate position detector
CN210609394U (en) Camera module
JP6841800B2 (en) Detection device and detection system
JP6368185B2 (en) Linear motion device position sensor and linear motion device position control apparatus using the position sensor
JP2013246030A (en) Position detector
US20230273007A1 (en) Magnetic position sensor system with high accuracy
JP2010286401A (en) Position detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140701

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141106

R150 Certificate of patent or registration of utility model

Ref document number: 5646946

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees