JP6208160B2 - Magnetic position detection device and magnetic position detection method - Google Patents

Magnetic position detection device and magnetic position detection method Download PDF

Info

Publication number
JP6208160B2
JP6208160B2 JP2015020024A JP2015020024A JP6208160B2 JP 6208160 B2 JP6208160 B2 JP 6208160B2 JP 2015020024 A JP2015020024 A JP 2015020024A JP 2015020024 A JP2015020024 A JP 2015020024A JP 6208160 B2 JP6208160 B2 JP 6208160B2
Authority
JP
Japan
Prior art keywords
magnetic
element group
magnetosensitive
magnetosensitive element
scale
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.)
Active
Application number
JP2015020024A
Other languages
Japanese (ja)
Other versions
JP2016142671A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2015020024A priority Critical patent/JP6208160B2/en
Publication of JP2016142671A publication Critical patent/JP2016142671A/en
Application granted granted Critical
Publication of JP6208160B2 publication Critical patent/JP6208160B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

本発明は、磁気式位置検出装置および磁気式位置検出方法に関し、特に、磁気スケールおよび感磁素子を用いた磁気式位置検出装置および磁気式位置検出方法に関する。   The present invention relates to a magnetic position detection device and a magnetic position detection method, and more particularly to a magnetic position detection device and a magnetic position detection method using a magnetic scale and a magnetosensitive element.

従来から、磁気スケールおよび感磁装置を用いた磁気式位置検出装置が知られている。
たとえば、特許文献1の装置は、同心のリング状に設けられ互いに磁極数が異なる複数の磁気エンコーダと、各磁気エンコーダの磁界をそれぞれ検出する複数の磁気センサと、各磁気センサの検出した磁界信号の位相差を求める位相差検出部と、この検出した位相差に基づいて磁気エンコーダの絶対角度を算出する角度算出部とを備える。
Conventionally, a magnetic position detection device using a magnetic scale and a magnetic sensing device is known.
For example, the apparatus of Patent Document 1 includes a plurality of magnetic encoders that are provided in concentric rings and have different numbers of magnetic poles, a plurality of magnetic sensors that detect the magnetic field of each magnetic encoder, and a magnetic field signal detected by each magnetic sensor. A phase difference detector that calculates the phase difference of the magnetic encoder, and an angle calculator that calculates an absolute angle of the magnetic encoder based on the detected phase difference.

特許文献2の装置では、磁性的な性質が異なる第1磁性部と第2磁性部とからなる磁極対が磁極対幅2λの周期で配列された磁気スケールと、n個の感磁素子がλ=nPとなるように感磁素子間隔Pで配列された感磁装置とが、予め定めた空隙を隔てて対向配置される。n個の感磁素子から並列に出力された出力値を解析することにより、感磁装置と磁気スケール間の相対位置をλ/nの位置検出分解能として算出する。   In the apparatus of Patent Document 2, a magnetic scale in which magnetic pole pairs composed of a first magnetic portion and a second magnetic portion having different magnetic properties are arranged with a period of a magnetic pole pair width 2λ, and n magnetosensitive elements are λ The magnetic sensing devices arranged at the magnetic sensing element intervals P so as to be equal to nP are arranged to face each other with a predetermined gap. By analyzing the output values output in parallel from the n magnetosensitive elements, the relative position between the magnetosensitive device and the magnetic scale is calculated as the position detection resolution of λ / n.

特開2008−233069号公報JP 2008-233069 A 国際公開第2014/174586号International Publication No. 2014/174586

しかしながら、特許文献1のような装置では、磁気スケールと感磁装置との間隙のばらつきや、磁気スケールの磁場または感磁素子の特性のばらつきなどにより、正弦波状の波形が歪み、その歪みが位相差の誤差となり、検出位置に誤差を生じる。   However, in an apparatus such as Patent Document 1, a sinusoidal waveform is distorted due to a variation in the gap between the magnetic scale and the magnetic sensing device, a variation in the magnetic field of the magnetic scale or the characteristics of the magnetic sensing element, and the distortion is significant. An error occurs in the phase difference, and an error occurs in the detection position.

また、特許文献2のような装置は、磁極対内に複数の感磁素子を配列することにより、磁極対内の位置を検出できるが、磁気スケールに対する感磁装置の位置を検出するには機械原点など基準となる位置情報が必要となる。   In addition, an apparatus such as Patent Document 2 can detect the position in the magnetic pole pair by arranging a plurality of magnetic sensitive elements in the magnetic pole pair. Reference position information is required.

それゆえに、本発明の目的は、基準となる位置情報を必要とせずに、磁気スケールに対する感磁装置の位置を高精度に検出することができる磁気式位置検出装置および磁気式位置検出方法を提供することである。   Therefore, an object of the present invention is to provide a magnetic position detecting device and a magnetic position detecting method capable of detecting the position of the magnetosensitive device with respect to the magnetic scale with high accuracy without requiring reference position information. It is to be.

本発明の磁気式位置検出装置は、移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第1磁気スケールと、移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第2磁気スケールと、第1磁気スケールおよび第2磁気スケールによって形成される磁場を検出する感磁装置とを備える。感磁装置は、第1磁気スケールに対して予め定めた空隙を隔てて対向配置され、第1磁気スケールによって形成される磁場の中を空隙を維持しながら、第1磁気スケールの配列方向に相対移動し、相対移動の際の磁場の変化を検出する第1感磁素子群と、第2磁気スケールに対して予め定めた空隙を隔てて対向配置され、第2磁気スケールによって形成される磁場の中を空隙を維持しながら、第2磁気スケールの配列方向に相対移動し、相対移動の際の磁場の変化を検出する第2感磁素子群とを含む。第1磁気スケールの磁極数と、第2磁気スケールとの磁極の差は2であり、かつ第1感磁素子群内の感磁素子の数と第1磁気スケールの磁極数との積は、第2感磁素子群内の感磁素子の数と第2磁気スケールの磁極数との積に等しい。本発明の磁気式位置検出装置は、さらに、第1感磁素子群の磁場変化の検出結果に基づいて、第1磁気スケールの磁極対内を分割した位置を表わす第1の位置情報を求める第1磁極対内位置演算部と、第2感磁素子群の磁場変化の検出結果に基づいて、第2磁気スケール磁極対内を分割した位置を表わす第2の位置情報を求める第2磁極対内位置演算部と、第1の位置情報および第2の位置情報に基づいて、第1磁気スケールおよび第2磁気スケールに対する感磁装置の位置を求める位置算出部と、第1磁気スケールの磁極内の位置情報の位相と第2磁気スケールの磁極内の位置情報の位相がずれている境界域を検出する境界域判定部と、境界域の第1磁気スケールおよび第2磁気スケールに対する感磁装置の位置を補正する位置補正部とを備える。   The magnetic position detecting device of the present invention includes a first magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction, and magnetic poles of equal length alternately arranged in the moving direction. N, a second magnetic scale including the magnetic pole S, and a magnetic sensing device that detects a magnetic field formed by the first magnetic scale and the second magnetic scale. The magnetosensitive device is disposed opposite to the first magnetic scale with a predetermined gap therebetween, and maintains relative to the arrangement direction of the first magnetic scale while maintaining the gap in the magnetic field formed by the first magnetic scale. The first magnetic sensitive element group that moves and detects a change in the magnetic field at the time of relative movement is arranged opposite to the second magnetic scale with a predetermined gap, and the magnetic field formed by the second magnetic scale is A second magnetosensitive element group that relatively moves in the arrangement direction of the second magnetic scale while maintaining a gap inside and detects a change in the magnetic field during the relative movement. The difference between the number of magnetic poles of the first magnetic scale and that of the second magnetic scale is 2, and the product of the number of magnetic sensitive elements in the first magnetic sensitive element group and the number of magnetic poles of the first magnetic scale is: It is equal to the product of the number of magnetic sensing elements in the second magnetic sensing element group and the number of magnetic poles of the second magnetic scale. The magnetic position detection apparatus of the present invention further includes a first position information for obtaining a first position information representing a position obtained by dividing the magnetic pole pair of the first magnetic scale based on a detection result of a magnetic field change of the first magnetosensitive element group. A position calculating section in the magnetic pole pair, a position calculating section in the second magnetic pole pair for obtaining second position information representing a position obtained by dividing the magnetic pole pair in the second magnetic scale based on the detection result of the magnetic field change of the second magnetosensitive element group; A position calculation unit for determining the position of the magnetic sensitive device with respect to the first magnetic scale and the second magnetic scale based on the first position information and the second position information, and the phase of the position information in the magnetic pole of the first magnetic scale A boundary region determination unit that detects a boundary region in which the phase information of the position information in the magnetic pole of the second magnetic scale is out of phase, and a position that corrects the position of the magnetosensitive device relative to the first magnetic scale and the second magnetic scale in the boundary region With the correction part Obtain.

本発明によれば、第1磁気スケールの磁極内の位置情報の位相と第2磁気スケールの磁極内の位置情報の位相がずれている境界域を検出し、境界域の第1磁気スケールおよび第2磁気スケールに対する感磁装置の位置を補正するので、基準となる位置情報を必要とせずに、磁気スケールに対する感磁装置の位置を高精度に検出することができる。   According to the present invention, a boundary region in which the phase of the positional information in the magnetic pole of the first magnetic scale and the phase of the positional information in the magnetic pole of the second magnetic scale are shifted is detected, and the first magnetic scale and the first magnetic scale in the boundary region are detected. Since the position of the magnetic sensitive device with respect to the two magnetic scales is corrected, the position of the magnetic sensitive device with respect to the magnetic scale can be detected with high accuracy without requiring positional information as a reference.

特許文献1による回転検出装置の一構成例の概略図である。It is the schematic of the example of 1 structure of the rotation detection apparatus by patent document 1. FIG. 特許文献1による回転検出装置の磁気センサの検出信号および位相差検出手段の検出信号の波形図である。It is a wave form diagram of the detection signal of the magnetic sensor of the rotation detection apparatus by patent document 1, and the detection signal of a phase difference detection means. 特許文献2による磁気式位置検出装置のブロック構成図である。It is a block block diagram of the magnetic position detection apparatus by patent document 2. FIG. 特許文献2による磁気式位置検出装置に用いる磁気スケールの例と、感磁素子の配置を示す図である。It is a figure which shows the example of the magnetic scale used for the magnetic position detection apparatus by patent document 2, and arrangement | positioning of a magnetosensitive element. 特許文献2による磁気式位置検出装置の動作タイミング図である。FIG. 10 is an operation timing chart of the magnetic position detection device according to Patent Document 2. 参考例の磁気式位置検出装置のブロック構成図である。It is a block block diagram of the magnetic type position detection apparatus of a reference example. 参考例の磁気式位置検出装置に用いる磁気スケールの例と、感磁素子の配置を示す図である。It is a figure which shows the example of the magnetic scale used for the magnetic type position detection apparatus of a reference example, and arrangement | positioning of a magnetosensitive element. 参考例の磁気式位置検出装置の動作タイミング図である。It is an operation | movement timing diagram of the magnetic type position detection apparatus of a reference example. 参考例の磁気式位置検出装置の位置算出部で用いる参照テーブルである。It is a reference table used by the position calculation part of the magnetic position detection apparatus of a reference example. (a)、(b)は、参考例の位置検出の動作タイミング図である。(A), (b) is the operation | movement timing diagram of the position detection of a reference example. 実施の形態1における磁気式位置検出装置の構成の例示図である。1 is an exemplary diagram of a configuration of a magnetic position detection device according to Embodiment 1. FIG. 実施の形態1の磁気式位置検出装置の位置算出部で用いる参照テーブルである。4 is a reference table used in a position calculation unit of the magnetic position detection device according to the first embodiment. 実施の形態1の位置補正部の構成を表わす図である。FIG. 3 is a diagram illustrating a configuration of a position correction unit according to the first embodiment. (a)、(b)は、実施の形態1の位置検出の動作タイミング図である。(A), (b) is the operation | movement timing diagram of the position detection of Embodiment 1. FIG. 実施の形態2における磁気式位置検出装置の構成の例示図である。FIG. 6 is an exemplary diagram of a configuration of a magnetic position detection device in a second embodiment. 実施の形態2の感磁素子群を構成する感磁素子の配置を表わす図である。FIG. 6 is a diagram illustrating the arrangement of magnetic sensitive elements that constitute the magnetic sensitive element group of the second embodiment. 実施の形態2の位相差検出部の回路例を表わす図である。6 is a diagram illustrating a circuit example of a phase difference detection unit according to Embodiment 2. FIG. 実施の形態2のエッジ検出部の構成を表わす図である。FIG. 6 is a diagram illustrating a configuration of an edge detection unit according to a second embodiment. 実施の形態2の補正信号生成部の構成を表わす図である。FIG. 6 is a diagram illustrating a configuration of a correction signal generation unit according to a second embodiment. 実施の形態2の位相差補正部の構成を表わす図である。FIG. 6 is a diagram illustrating a configuration of a phase difference correction unit according to a second embodiment. 実施の形態2の位置検出の動作タイミングを表わす図である。FIG. 10 is a diagram illustrating an operation timing of position detection according to the second embodiment. 実施の形態3における磁気式位置検出装置93の構成の例示図である。FIG. 10 is an exemplary diagram of a configuration of a magnetic position detection device 93 according to Embodiment 3. 実施の形態3の感磁素子群を構成する感磁素子の配置を表わす図である。FIG. 10 is a diagram illustrating the arrangement of magnetic sensing elements that constitute the magnetic sensing element group according to the third embodiment. 実施の形態3の位相差検出部の回路例を表わす図である。FIG. 10 is a diagram illustrating a circuit example of a phase difference detection unit according to a third embodiment. 実施の形態3の位置検出の動作タイミングを表わす図である。FIG. 10 is a diagram illustrating an operation timing of position detection according to the third embodiment.

以下、本発明における磁気式位置検出装置および磁気式位置検出方法の好適な実施の形態について図面を用いて説明する。なお、各図において同一、または相当する部分については、同一符号を付して説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of a magnetic position detection device and a magnetic position detection method according to the invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected and demonstrated about the part which is the same or it corresponds in each figure.

[従来方式]
まず、従来方式について説明する。
[Conventional method]
First, the conventional method will be described.

図1は、特許文献1による回転検出装置の概略図である。特許文献1では、磁気スケール1aに対向配置した感磁素子121と、磁気スケール1bに対向配置した感磁素子122を用いて、各感磁素子121,122より得られた正弦波状の2相の検出信号(sinφ、cosφ)から各磁極対内の位相(φ=tan−1(sinφ/cosφ))を算出し、それぞれ感磁装置から得られる位相差に基づいて、磁気スケールの位置を算出している。   FIG. 1 is a schematic diagram of a rotation detection device according to Patent Document 1. As shown in FIG. In Patent Document 1, a two-phase sinusoidal wave obtained from each of the magnetosensitive elements 121 and 122 using the magnetosensitive element 121 arranged to face the magnetic scale 1a and the magnetosensitive element 122 arranged to face the magnetic scale 1b. The phase (φ = tan−1 (sin φ / cos φ)) in each magnetic pole pair is calculated from the detection signals (sin φ, cos φ), and the position of the magnetic scale is calculated based on the phase difference obtained from each magnetosensitive device. Yes.

図2は、特許文献1による回転検出装置の磁気センサの検出信号および位相差検出手段の検出信号の波形図である。   FIG. 2 is a waveform diagram of the detection signal of the magnetic sensor of the rotation detection device and the detection signal of the phase difference detection means according to Patent Document 1.

図2を用いて、特許文献1の動作を説明する。磁極幅λ1の磁気スケール1aと、磁極幅λ2の磁気スケール1bに対して、磁気スケール1aに対向配置した感磁素子121により得られる検出信号は(C)に示すように周期2×λ1の正弦波となり、磁気スケール1bに対向配置した感磁素子122により得られる検出信号は(D)に示すように周期2×λ2の正弦波となる。それぞれの検出信号から各磁極内の位相は(E),(F)となる。この位相の差を用いることにより、磁気スケールの1単位(L:例えば1回転)における位置を検出することができる。   The operation of Patent Document 1 will be described with reference to FIG. For the magnetic scale 1a having the magnetic pole width λ1 and the magnetic scale 1b having the magnetic pole width λ2, the detection signal obtained by the magnetosensitive element 121 disposed opposite to the magnetic scale 1a is a sine with a period of 2 × λ1 as shown in FIG. The detection signal obtained by the magnetosensitive element 122 disposed opposite to the magnetic scale 1b is a sine wave with a period of 2 × λ2, as shown in FIG. From the respective detection signals, the phases in the magnetic poles are (E) and (F). By using this phase difference, the position of one unit (L: for example, one rotation) of the magnetic scale can be detected.

図3は、特許文献2による磁気式位置検出装置の概略図である。
この磁気式位置検出装置は、磁気スケール1aに対向配置された、n個の感磁素子(図3では、21a,21b,21c,21d、n=4)で構成される感磁素子群21を搭載する感磁装置2cと、各感磁素子より検出された磁場の変化を用いて位置を算出する位置算出回路4cで構成される。位置算出回路4cは、n個の感磁素子(21a,21b,21c,21d)により検出された磁場の変化をそれぞれ2値化するn個の2値化部(31a,31b,31c,31d)と、2値化部(31a,31b,31c,31d)の出力に基づいて磁極対内の位置を演算する磁極対内位置演算部41aと、磁気スケール1aの基準となる位置を設定する初期値設定部48と、設定した基準と磁極対内位置情報から磁極対の位置を演算する磁極対位置演算部47と、磁極対内位置情報と磁極対位置情報から、磁気スケールの1単位における位置を演算する位置算出部42aとで構成される。
FIG. 3 is a schematic diagram of a magnetic position detection device according to Patent Document 2. As shown in FIG.
This magnetic position detecting device includes a magnetosensitive element group 21 composed of n magnetosensitive elements (21a, 21b, 21c, 21d, and n = 4 in FIG. 3) disposed opposite to the magnetic scale 1a. It comprises a magnetic sensing device 2c to be mounted and a position calculation circuit 4c that calculates a position using a change in the magnetic field detected by each magnetic sensing element. The position calculation circuit 4c includes n binarizing units (31a, 31b, 31c, 31d) that binarize changes in the magnetic field detected by the n magnetosensitive elements (21a, 21b, 21c, 21d), respectively. A magnetic pole pair position calculation unit 41a that calculates the position in the magnetic pole pair based on the output of the binarization unit (31a, 31b, 31c, 31d), and an initial value setting unit that sets a reference position of the magnetic scale 1a 48, a magnetic pole pair position calculation unit 47 for calculating the position of the magnetic pole pair from the set reference and the magnetic pole pair position information, and position calculation for calculating the position in one unit of the magnetic scale from the magnetic pole pair position information and the magnetic pole pair position information. Part 42a.

図4は、特許文献2による磁気式位置検出装置に用いる磁気スケールの例と、感磁素子の配置を示す図である。図5は、特許文献2による磁気式位置検出装置の動作タイミング図である。   FIG. 4 is a diagram illustrating an example of a magnetic scale used in the magnetic position detection device according to Patent Document 2 and the arrangement of the magnetic sensing elements. FIG. 5 is an operation timing chart of the magnetic position detection device according to Patent Document 2.

この磁気式位置検出装置では、図4に示すような磁気スケール1aに対向してn個の感磁素子(図4では、21a,21b,21c,21dの4個)を、磁極幅λをn等分した間隔Pで配置する。磁気スケール1aが感磁素子群21の配列方向に相対移動(たとえば、回転運動)すると、各感磁素子から出力される検出信号は、図5に示すように位相のずれた正弦波状の波形となる。この検出信号をそれぞれ、2値化部31a,31b,31c,31dにて、所定の閾値で2値化すると、図5に示す通り、P=λ/nずつ位相のずれた矩形波となる。磁極対内位置演算部41aでは、2値化部31a,31b,31c,31dの2値化結果の組合せにより、テーブル参照などによって、磁極内の位相情報を出力する。たとえば、2値化部31a,31b,31c,31dの出力が、(1,0,0,0)であれば“0”、(1,1,0,0)であれば“1”、(0,0,0,0)であれば“7”が出力される。このようにして、磁極対2λ内を2n等分(図では8等分)した磁極対内位相を得ることができる。   In this magnetic position detecting device, n magnetosensitive elements (four elements 21a, 21b, 21c, and 21d in FIG. 4) are opposed to the magnetic scale 1a as shown in FIG. Arrange at equal intervals P. When the magnetic scale 1a is relatively moved (for example, rotationally moved) in the arrangement direction of the magnetosensitive element group 21, the detection signal output from each magnetosensitive element has a sinusoidal waveform with a phase shift as shown in FIG. Become. When the binarization units 31a, 31b, 31c, and 31d binarize the detection signals with a predetermined threshold value, a rectangular wave having a phase shift of P = λ / n is obtained as shown in FIG. In the magnetic pole pair position calculation unit 41a, the phase information in the magnetic pole is output by referring to the table or the like by combining the binarization results of the binarization units 31a, 31b, 31c, and 31d. For example, if the output of the binarization units 31a, 31b, 31c, and 31d is (1, 0, 0, 0), “0”, if it is (1, 1, 0, 0), “1”, ( If it is 0, 0, 0, 0), “7” is output. In this way, a phase inside the magnetic pole pair obtained by dividing the magnetic pole pair 2λ into 2n equal parts (eight parts in the figure) can be obtained.

磁極対位置演算部47では、機械原点などの初期値設定部48の指示により状態を初期化し、磁極対内位置演算部41aの演算が1周する度(図では“7”→“0”)に計数することにより、磁極対の数を計数する。位置算出部42aは、磁極対位置演算部47と磁極対内位置演算部41aの演算結果から、磁極対2λ内を2n等分した分解能で、感磁素子群21に最も近い磁気スケール1a内の位置を表わす絶対位置を表わす。磁気スケール1aが回転運動する場合には、絶対位置は、0〜360°の絶対角で表される。   In the magnetic pole pair position calculation unit 47, the state is initialized by an instruction from the initial value setting unit 48 such as the machine origin, and every time the calculation of the magnetic pole pair position calculation unit 41a makes one round (in the figure, “7” → “0”) By counting, the number of magnetic pole pairs is counted. The position calculation unit 42a, based on the calculation results of the magnetic pole pair position calculation unit 47 and the magnetic pole pair position calculation unit 41a, has a position in the magnetic scale 1a closest to the magnetosensitive element group 21 with a resolution obtained by dividing the magnetic pole pair 2λ by 2n. Represents the absolute position. When the magnetic scale 1a rotates, the absolute position is represented by an absolute angle of 0 to 360 °.

これによって、たとえば、磁気式位置検出装置が、3個の磁極対を含む磁気スケールと、4個の感磁装置を含む場合に、15°(=360/(6×4))の分解能が得られる。この絶対角は、磁気スケール1aおよび感磁素子群21を全体としてみれば、感磁素子群21に対する磁気スケール1aの位置を表わす。   Thus, for example, when the magnetic position detecting device includes a magnetic scale including three magnetic pole pairs and four magnetic sensitive devices, a resolution of 15 ° (= 360 / (6 × 4)) is obtained. It is done. This absolute angle represents the position of the magnetic scale 1a with respect to the magnetic sensitive element group 21 when the magnetic scale 1a and the magnetic sensitive element group 21 are taken as a whole.

図6は、参考例の磁気式位置検出装置のブロック構成図である。
この磁気式位置検出装置90は、一体構造で磁極幅λが異なる2種類の磁気スケール1a,1bを用いて、磁気スケール1単位(L:例えば1回転)内の位置を検出する。磁気式位置検出装置90は、磁気スケール1a,1bと、感磁装置2と、位置算出回路4dとを備える。
FIG. 6 is a block diagram of a magnetic position detection device of a reference example.
The magnetic position detecting device 90 detects a position within one unit of the magnetic scale (L: for example, one rotation) using two types of magnetic scales 1a and 1b having an integral structure and different magnetic pole widths λ. The magnetic position detection device 90 includes magnetic scales 1a and 1b, a magnetic sensing device 2, and a position calculation circuit 4d.

磁気スケール1a,1bは、移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む。   The magnetic scales 1a and 1b include magnetic poles N and S of equal length that are alternately arranged in the moving direction.

感磁装置2は、磁気スケール1aおよび磁気スケール1bによって形成される磁場を検出する。   The magnetic sensitive device 2 detects a magnetic field formed by the magnetic scale 1a and the magnetic scale 1b.

感磁装置2は、感磁素子群21と、感磁素子群22とを有する。
感磁素子群21は、磁気スケール1aに対向配置された、n1個の感磁素子(図6では、21a,21b,21c,21d、n1=4)で構成される。
The magnetic sensing device 2 includes a magnetic sensitive element group 21 and a magnetic sensitive element group 22.
The magnetosensitive element group 21 is composed of n1 magnetosensitive elements (21a, 21b, 21c, 21d, n1 = 4 in FIG. 6) disposed to face the magnetic scale 1a.

感磁素子群21は、磁気スケール1aに対して予め定めた空隙を隔てて対向配置され、磁気スケール1aによって形成される磁場の中を空隙を維持しながら、磁気スケール1aの配列方向に相対移動し、相対移動の際の磁場の変化を検出する。   The magnetosensitive element group 21 is disposed opposite to the magnetic scale 1a with a predetermined gap, and is relatively moved in the arrangement direction of the magnetic scale 1a while maintaining the gap in the magnetic field formed by the magnetic scale 1a. The change in the magnetic field during relative movement is detected.

感磁素子群22は、磁気スケール1bに対向配置された、n2個の感磁素子(図6では、22a,22b,22c、n2=3)で構成される。   The magnetosensitive element group 22 is composed of n2 magnetosensitive elements (22a, 22b, 22c, and n2 = 3 in FIG. 6) disposed to face the magnetic scale 1b.

感磁素子群22は、磁気スケール1bに対して予め定めた空隙を隔てて対向配置され、磁気スケール1bによって形成される磁場の中を空隙を維持しながら、磁気スケール1bの配列方向に相対移動し、相対移動の際の磁場の変化を検出する。   The magnetosensitive element group 22 is opposed to the magnetic scale 1b with a predetermined gap therebetween, and is relatively moved in the arrangement direction of the magnetic scale 1b while maintaining the gap in the magnetic field formed by the magnetic scale 1b. The change in the magnetic field during relative movement is detected.

位置算出回路4dは、感磁素子21a,21b,21c,21d,22a,22b,22cにより検出された磁場の変化を用いて、感磁装置2に最も近い磁気スケール1単位の位置(磁気スケール1aおよび磁気スケール1b内の絶対位置)を求める。これは、磁気スケール1aおよび磁気スケール1bに対する感磁装置2の位置を表わす。   The position calculation circuit 4d uses the change in the magnetic field detected by the magnetic sensitive elements 21a, 21b, 21c, 21d, 22a, 22b, and 22c to use the position of the magnetic scale 1 unit closest to the magnetic sensitive device 2 (magnetic scale 1a). And an absolute position in the magnetic scale 1b). This represents the position of the magnetic sensitive device 2 with respect to the magnetic scale 1a and the magnetic scale 1b.

位置算出回路4dは、2値化部31a,31b,31c,31d,32a,32b,32cと、磁極対内位置演算部41a,41bと、位置算出部42とを備える。   The position calculation circuit 4d includes binarization units 31a, 31b, 31c, 31d, 32a, 32b, and 32c, magnetic pole pair position calculation units 41a and 41b, and a position calculation unit 42.

2値化部31a,31b,31c,31d,32a,32b,32cは、感磁素子21a,21b,21c,21d,22a,22b,22cにより検出された磁場の変化をそれぞれ2値化する。   The binarization units 31a, 31b, 31c, 31d, 32a, 32b, and 32c binarize changes in the magnetic field detected by the magnetosensitive elements 21a, 21b, 21c, 21d, 22a, 22b, and 22c, respectively.

磁極対内位置演算部41aは、2値化部31a,31b,31c,31dの出力、すなわち、感磁素子群21の磁場変化の検出結果に基づいて、磁気スケール1aの磁極対内を分割した位置を表わす位置情報を求める。   The position calculation unit 41a within the magnetic pole pair determines the position obtained by dividing the inside of the magnetic pole pair of the magnetic scale 1a based on the output of the binarization units 31a, 31b, 31c, 31d, that is, the detection result of the magnetic field change of the magnetosensitive element group 21. Find the location information to represent.

磁極対内位置演算部41bは、2値化部32a,32b,32cの出力、すなわち、感磁素子群22の磁場変化の検出結果に基づいて、磁気スケール1bの磁極対内を分割した位置を表わす位置情報を求める。   The position calculation unit 41b in the magnetic pole pair represents a position obtained by dividing the inside of the magnetic pole pair of the magnetic scale 1b based on the output of the binarization units 32a, 32b, and 32c, that is, the detection result of the magnetic field change of the magnetosensitive element group 22. Ask for information.

位置算出部42は、磁極対内位置演算部41aで求めた位置情報、および磁極対内位置演算部41bで求めた位置情報に基づいて、磁気スケール1aおよび磁気スケール1bに対する感磁装置2の位置を求める。   The position calculation unit 42 obtains the position of the magnetic sensitive device 2 relative to the magnetic scale 1a and the magnetic scale 1b based on the position information obtained by the magnetic pole pair position calculation unit 41a and the position information obtained by the magnetic pole pair position calculation unit 41b. .

図7は、参考例の磁気式位置検出装置に用いる磁気スケールの例と、感磁素子の配置を示す図である。   FIG. 7 is a diagram illustrating an example of a magnetic scale used in the magnetic position detection apparatus of the reference example and the arrangement of the magnetic sensing elements.

図7に示すように、長さLの磁気スケール1aは、磁極数k1(図7では6個)で構成されるので、磁極幅λ1は、λ1=L/k1となる。また、長さLの磁気スケール1bは、磁極数k2(図7では8個)で構成されるので、磁極幅λ2は、λ2=L/k2となる。ここで、磁気スケール1bの磁極数k2は、磁気スケール1aの磁極数k1より2だけ多く、k2=k1+2とする。   As shown in FIG. 7, since the magnetic scale 1a having a length L is configured with the number of magnetic poles k1 (six in FIG. 7), the magnetic pole width λ1 is λ1 = L / k1. Further, since the magnetic scale 1b having the length L is configured with the number of magnetic poles k2 (eight in FIG. 7), the magnetic pole width λ2 is λ2 = L / k2. Here, the number of magnetic poles k2 of the magnetic scale 1b is two more than the number of magnetic poles k1 of the magnetic scale 1a, and k2 = k1 + 2.

磁気スケール1aに対向して、n1個の感磁素子(図では、21a,21b,21c,21d、n1=4)を、磁極幅λ1をn1等分した間隔P1(=λ1/n1)で配置する。磁気スケール1bに対向して、n2個の感磁素子(図では、22a,22b,22c、n2=3)を、磁極幅λ2をn2等分した間隔P2(=λ2/n2)で配置する。ここで、k1×n1=k2×n2となるように感磁素子数を選ぶことにより、磁気スケール1a側の感磁素子群21の素子間隔P1と磁気スケール1b側の感磁素子群22の素子間隔P2を等しくする。   Opposing the magnetic scale 1a, n1 magnetosensitive elements (21a, 21b, 21c, 21d, n1 = 4 in the figure) are arranged at an interval P1 (= λ1 / n1) obtained by equally dividing the magnetic pole width λ1 by n1. To do. Opposing to the magnetic scale 1b, n2 magnetosensitive elements (22a, 22b, 22c, n2 = 3 in the figure) are arranged at intervals P2 (= λ2 / n2) obtained by equally dividing the magnetic pole width λ2 by n2. Here, by selecting the number of magnetosensitive elements so that k1 × n1 = k2 × n2, the element spacing P1 of the magnetosensitive element group 21 on the magnetic scale 1a side and the elements of the magnetosensitive element group 22 on the magnetic scale 1b side are selected. The interval P2 is made equal.

図8は、参考例の磁気式位置検出装置の動作タイミング図である。
感磁素子群21,22に対して、磁気スケール1a,1bが相対移動すると、図3に示す磁気式位置検出装置と同様に、感磁素子21a,21b,21c,21dから出力される検出信号は、2値化部31a,31b,31c,31dにて、所定の閾値で2値化される。その結果、図8に示すように、2値化部31a,31b,31c,31dの出力は、λ1/n1ずつ位相のずれた矩形波となる。
FIG. 8 is an operation timing chart of the magnetic position detection device of the reference example.
When the magnetic scales 1a and 1b move relative to the magnetic sensitive element groups 21 and 22, the detection signals output from the magnetic sensitive elements 21a, 21b, 21c, and 21d, as in the magnetic position detecting device shown in FIG. Is binarized with a predetermined threshold in the binarization units 31a, 31b, 31c, and 31d. As a result, as shown in FIG. 8, the outputs of the binarization units 31a, 31b, 31c, and 31d are rectangular waves whose phases are shifted by λ1 / n1.

磁極対内位置演算部41aは、これら2値化部の出力の組合せから磁極対(1セットのN極とS極)を2×n1等分(図8では8等分)した磁極内の位置情報“0”〜“7”を出力する。   The position calculation unit 41a in the magnetic pole pair is position information in the magnetic pole obtained by dividing the magnetic pole pair (one set of N pole and S pole) into 2 × n1 equal parts (8 equal parts in FIG. 8) from the combination of the outputs of these binarization parts. “0” to “7” are output.

同様に、感磁素子22a,22b,22cから出力される検出信号は、2値化部32a,32b,32cにて、所定の閾値で2値化される。その結果、図8に示すように、2値化部32a,32b,32cの出力は、λ2/n2ずつ位相のずれた矩形波となる。   Similarly, the detection signals output from the magnetic sensitive elements 22a, 22b, and 22c are binarized by a binarization unit 32a, 32b, and 32c with a predetermined threshold value. As a result, as shown in FIG. 8, the outputs of the binarization units 32a, 32b, and 32c are rectangular waves with phases shifted by λ2 / n2.

磁極対内位置演算部41bでは、これら2値化部の出力の組合せから磁極対を2×n2等分(図8では6等分)した磁極内の位置情報“0”〜“5”を出力する。   The position calculation unit 41b in the magnetic pole pair outputs position information “0” to “5” in the magnetic pole obtained by dividing the magnetic pole pair into 2 × n2 equal parts (6 equal parts in FIG. 8) from the combination of the outputs from these binarization parts. .

図8に示すように、磁気スケール1aおよび磁気スケール1b内の絶対位置は、0〜23によって表される(図8の最下段を参照)。たとえば、絶対位置“14”は、磁気スケール1a内の位置P1を表すとともに、磁気スケール1b内の位置P2を表わす。   As shown in FIG. 8, the absolute positions in the magnetic scale 1a and the magnetic scale 1b are represented by 0 to 23 (see the lowermost stage in FIG. 8). For example, the absolute position “14” represents the position P1 in the magnetic scale 1a and the position P2 in the magnetic scale 1b.

位置算出部42は、磁極対内位置演算部41a,41bから出力される磁気スケール1a,1bの磁極対内の位置情報に基づいて、感磁装置2に最も近い磁気スケール1aおよび磁気スケール1bの絶対位置を求める。これは、磁気スケール1aおよび磁気スケール1bに対する感磁装置2の位置を表わす。   The position calculating unit 42 is based on the position information in the magnetic pole pair of the magnetic scales 1a and 1b output from the magnetic pole pair position calculating units 41a and 41b, and the absolute positions of the magnetic scale 1a and the magnetic scale 1b closest to the magnetic sensitive device 2. Ask for. This represents the position of the magnetic sensitive device 2 with respect to the magnetic scale 1a and the magnetic scale 1b.

図9は、参考例の磁気式位置検出装置90の位置算出部42で用いる参照テーブルである。位置算出部42は、図9の参照テーブルを用いると、一意的に決まる絶対位置情報N(″0”〜“23”)を出力する。絶対角は、N×360/24で表される。   FIG. 9 is a reference table used by the position calculation unit 42 of the magnetic position detection device 90 of the reference example. The position calculation unit 42 outputs the absolute position information N (“0” to “23”) uniquely determined using the reference table of FIG. The absolute angle is represented by N × 360/24.

上記のような処理によって、磁気スケール1単位(例えば1回転)内の絶対角を検出することができる。   Through the processing as described above, an absolute angle within one unit of the magnetic scale (for example, one rotation) can be detected.

しかしながら、図6に示すような磁気式位置検出装置では、磁気スケール1a、1bの磁場のばらつきや感磁素子の配置のばらつきなどにより、磁極対内位置演算部41aから出力される磁気スケール1aの磁極内の位置情報の変化点と磁極対内位置演算部41bから出力される磁気スケール1bの磁極内の位置情報の変化点とが一致しない。   However, in the magnetic position detection apparatus as shown in FIG. 6, the magnetic poles of the magnetic scale 1a output from the in-pole pair position calculation unit 41a due to variations in the magnetic fields of the magnetic scales 1a and 1b, variations in the arrangement of the magnetosensitive elements, and the like. The change point of the position information in the magnetic pole 1 does not coincide with the change point of the position information in the magnetic pole of the magnetic scale 1b output from the magnetic pole pair position calculation unit 41b.

図10(a)、(b)は、参考例の位置検出の動作タイミング図である。
図10(a)は、図8の(i)の部分の拡大図である。図8の(i)のタイミングでは、磁気スケール1a側では、2値化部31bの出力が“0”→“1”に変化することにより、磁極対内位置演算部41aの出力が“0”→“1”と変化する。同時に、磁気スケール1b側では、2値化部32aの出力が“1”→“0”に変化することにより、磁極対内位置演算部41bの出力が“2”→“3”と変化する。
FIGS. 10A and 10B are operation timing diagrams of position detection of the reference example.
FIG. 10A is an enlarged view of a portion (i) in FIG. At the timing (i) in FIG. 8, on the magnetic scale 1a side, the output of the binarization unit 31b changes from “0” to “1”, so that the output of the magnetic pole pair position calculation unit 41a changes from “0” to “1”. It changes to “1”. At the same time, on the magnetic scale 1b side, the output of the binarizing unit 32a changes from “1” to “0”, so that the output of the magnetic pole pair position calculating unit 41b changes from “2” to “3”.

位置算出部42は、磁極対内位置演算部41a,41bの出力が“0”,“2”であるので、図9に示す参照テーブルに基づいて、絶対位置情報“8”を出力する。位置算出部42は、磁極対内位置演算部41a,41bの出力が“1”,“3”であるので、絶対位置情報“9”を出力する。しかしながら、実際には、例えば、図10(a)に示すように、2値化部31bの変化点と2値化部32aの変化点は一致せず、例えば、磁極対内位置演算部41a,41bの出力が“0”,“3”という状態が発生する。この状態は、図9の参照テーブルには、定義されていない。   The position calculator 42 outputs the absolute position information “8” based on the reference table shown in FIG. 9 because the outputs from the magnetic pole pair position calculators 41 a and 41 b are “0” and “2”. The position calculation unit 42 outputs the absolute position information “9” because the outputs of the magnetic pole pair position calculation units 41 a and 41 b are “1” and “3”. However, in practice, for example, as shown in FIG. 10A, the changing point of the binarizing unit 31b does not coincide with the changing point of the binarizing unit 32a. For example, the in-pole pair position calculating units 41a and 41b The output of “0”, “3” occurs. This state is not defined in the reference table of FIG.

図10(b)は、図8の(ii)の部分の拡大図である。図8の(ii)のタイミングでは、磁気スケール1a側では、2値化部31aの出力が“0”→“1”に変化することにより、磁極対内位置演算部41aの出力が“7”→“0”と変化する。同時に、磁気スケール1b側では、2値化部32aの出力が“1”→“0”に変化することにより、磁極対内位置演算部41bの出力が“3”→“4”と変化する。   FIG.10 (b) is an enlarged view of the part of (ii) of FIG. At the timing of (ii) in FIG. 8, on the magnetic scale 1a side, the output of the binarizing unit 31a changes from “0” to “1”, so that the output of the in-pole position calculating unit 41a is “7” → It changes to “0”. At the same time, on the magnetic scale 1b side, the output of the binarizing unit 32a changes from “1” to “0”, so that the output of the magnetic pole pair position calculating unit 41b changes from “3” to “4”.

位置算出部42は、磁極対内位置演算部41a,41bの出力が“7”,“3”であるので、図9に示す参照テーブルに基づいて、絶対位置情報“15”を出力する。位置算出部42は、磁極対内位置演算部41a,41bの出力が“0”,“4”であるので、絶対位置情報“16”を出力する。しかしながら、実際には、例えば、図10(b)に示すように、2値化部31aの変化点と2値化部32bの変化点は一致せず、例えば、磁極対内位置演算部41a,41bの出力が“0”,“3”という状態が発生する。この状態は、図9の参照テーブルには、定義されていない。   Since the outputs from the magnetic pole pair position calculation units 41a and 41b are “7” and “3”, the position calculation unit 42 outputs the absolute position information “15” based on the reference table shown in FIG. The position calculation unit 42 outputs the absolute position information “16” because the outputs of the magnetic pole pair position calculation units 41 a and 41 b are “0” and “4”. However, in practice, for example, as shown in FIG. 10B, the changing point of the binarizing unit 31a and the changing point of the binarizing unit 32b do not match. For example, the in-pole pair position calculating units 41a and 41b The output of “0”, “3” occurs. This state is not defined in the reference table of FIG.

参照テーブルに、“0”、“3”という状態の定義を加えようしても、“0”、“3”という状態は、前述のように図10(a)のような状態と、図10(b)のような状態の2種類の状態があり、両者を判別することができない。   Even if the definitions of the states “0” and “3” are added to the reference table, the states “0” and “3” are the states as shown in FIG. There are two types of states such as (b), and the two cannot be distinguished.

[実施の形態1]
図11は、実施の形態1における磁気式位置検出装置の構成の例示図である。
[Embodiment 1]
FIG. 11 is an exemplary diagram of a configuration of the magnetic position detection apparatus according to the first embodiment.

図11を参照して、本実施の形態1における磁気式位置検出装置91は、磁気スケール1a,1bと、感磁装置2と、位置算出回路4とを備える。   Referring to FIG. 11, the magnetic position detection device 91 according to the first embodiment includes magnetic scales 1 a and 1 b, a magnetic sensing device 2, and a position calculation circuit 4.

磁気スケール1a,1bと、感磁装置2と、2値化部31a,31b,31c,31d,32a,32b,32cと、磁極対内位置演算部41a,41bは、図6に示す参考例の磁気式位置検出装置90に含まれるものと同様であるので、それらの説明を繰り返さない。   The magnetic scales 1a and 1b, the magnetic sensing device 2, the binarization units 31a, 31b, 31c, 31d, 32a, 32b, and 32c, and the magnetic pole pair position calculation units 41a and 41b are magnetic fields of the reference example shown in FIG. Since it is the same as that included in the expression position detecting device 90, the description thereof will not be repeated.

位置算出部42aは、図6に示す参考例の磁気式位置検出装置の位置算出部42と同様に、磁極対内位置演算部41aにより生成した磁気スケール1aの磁極内の位置情報と、磁極対内位置演算部41bにより生成した磁気スケール1bの磁極内の位置情報から、参照テーブルを用いて、一意的に決まる絶対位置情報を出力する。ただし、本実施の形態の位置算出部42aは、図9に示す参照テーブルに代えて、図12に示す参照テーブルを用いる。   Similarly to the position calculation unit 42 of the magnetic position detection device of the reference example shown in FIG. 6, the position calculation unit 42 a includes the position information in the magnetic pole of the magnetic scale 1 a generated by the magnetic pole pair position calculation unit 41 a and the position in the magnetic pole pair. Using the reference table, the absolute position information uniquely determined is output from the position information in the magnetic pole of the magnetic scale 1b generated by the calculation unit 41b. However, the position calculation unit 42a of the present embodiment uses the reference table shown in FIG. 12 instead of the reference table shown in FIG.

位置算出部42aは、磁極対内位置演算部41aから出力される位置情報および磁極対内位置演算部41bから出力される位置情報の組み合わせが境界域を示す場合に、仮に磁気スケール1aの磁極内の位置情報の位相と磁気スケール1bの磁極内の位置情報の位相がずれていなければ出力される可能性がある複数の数値の平均値を出力する。   When the combination of the position information output from the magnetic pole pair position calculation unit 41a and the position information output from the magnetic pole pair position calculation unit 41b indicates a boundary area, the position calculation unit 42a temporarily positions the magnetic scale 1a within the magnetic poles. If the phase of the information and the position information in the magnetic pole of the magnetic scale 1b are not shifted, an average value of a plurality of numerical values that may be output is output.

図10(a)および図10(b)に示す境界域において、磁極対内位置演算部41aが“0”を出力し、磁極対内位置演算部41bが“3”を出力する場合に、位置算出部42aは、図12に示す参照テーブルに基づいて、“12”を出力する。“12”としたのは、以下の理由による。   In the boundary region shown in FIG. 10A and FIG. 10B, the position calculation unit when the position calculation unit 41a in the magnetic pole pair outputs “0” and the position calculation unit 41b in the magnetic pole pair outputs “3”. 42a outputs “12” based on the reference table shown in FIG. The reason for setting “12” is as follows.

図10(a)の場合も、(b)の場合も、境界域においては磁極対内位置演算部41aが“0”を出力し、磁極対内位置演算部41bが“3”を出力し、どちらの場合か判別できない。そのため、図10(a)、(b)それぞれの場合との誤差が同等になるように、テーブル値を仮に磁気スケール1aの磁極内の位置情報の位相と磁気スケール1bの磁極内の位置情報の位相がずれていなければ出力される可能性がある“8”、“9”、“15”、“16”の平均値である“12”と設定する。このようにすることにより、たとえば、電源が投入された時に、磁気スケール1a、1bと感磁素子群21、22との位置関係が境界域の場合であっても、極力誤差を少なく、絶対位置を出力できる。仮に、テーブル値を“8”や“9”にすると、図10(a)の場合に、絶対位置の検出結果を誤ることになる。   In both the cases of FIG. 10A and FIG. 10B, the magnetic pole pair position calculation unit 41a outputs “0” and the magnetic pole pair position calculation unit 41b outputs “3” in the boundary region. I can not determine if. For this reason, the table values are assumed to be equal to the phase information of the position information in the magnetic pole of the magnetic scale 1a and the position information of the position information in the magnetic pole of the magnetic scale 1b so that the error in each case of FIGS. If the phase is not shifted, “12” that is an average value of “8”, “9”, “15”, and “16” that may be output is set. By doing so, for example, when the power is turned on, even if the positional relationship between the magnetic scales 1a and 1b and the magnetosensitive element groups 21 and 22 is a boundary region, the absolute position is minimized. Can be output. If the table value is “8” or “9”, the absolute position detection result is incorrect in the case of FIG.

境界域判定部43では、磁極対内位置演算部41a、41bの演算結果に基づいて、磁気スケール1aの磁極内の位置情報の位相と磁気スケール1bの磁極内の位置情報の位相がずれている境界域を検出する。   In the boundary area determination unit 43, the boundary where the phase of the position information in the magnetic pole of the magnetic scale 1a and the phase of the position information in the magnetic pole of the magnetic scale 1b are shifted based on the calculation results of the position calculating units 41a and 41b in the magnetic pole pair. Detect area.

境界域判定部43は、磁極対内位置演算部41aから出力される位置情報および磁極対内位置演算部41bから出力される位置情報のそれぞれが奇数であるか、あるいは偶数であるかに基づいて境界域を検出する。   The boundary area determination unit 43 determines whether the position information output from the magnetic pole pair position calculation unit 41a and the position information output from the magnetic pole pair position calculation unit 41b are odd or even. Is detected.

磁気スケール1aと磁気スケール1bの磁極数の差は2なので、図10(a)、(b)に示すように、安定域では磁極対内位置演算部41a、41bの演算結果は共に偶数であるか、共に奇数であるかのどちらかであり、境界域では一方が偶数で他方が奇数となる。境界域判定部43は、このことを用いて、境界域を検出する。あるいは、磁気スケール1a、1bと感磁素子群21、22との位置関係によっては、磁極対内位置演算部41a、41bの演算結果は共に偶数あるいは奇数の場合を境界域とし、他方を安定域としても良く、外部信号により、上記場合を切り換えるようにしても良い。   Since the difference in the number of magnetic poles between the magnetic scale 1a and the magnetic scale 1b is 2, as shown in FIGS. 10 (a) and 10 (b), are the calculation results of the magnetic pole pair position calculating units 41a and 41b both even, as shown in FIGS. , Both are odd numbers, and one is even and the other is odd in the boundary area. The boundary area determination unit 43 uses this to detect the boundary area. Alternatively, depending on the positional relationship between the magnetic scales 1a and 1b and the magnetosensitive element groups 21 and 22, the calculation results of the magnetic pole pair position calculation units 41a and 41b are both the even number or the odd number as the boundary area, and the other as the stable area. The above case may be switched by an external signal.

位置補正部44は、境界域の絶対位置を補正する。位置補正部44は、安定域の絶対位置を保持し、境界域において、保持されている直前の安定域の絶対位置を出力する。また、位置補正部44は、境界域において、装置の起動時などで直前の安定域の絶対位置が保持されていない場合には、絶対位置を補正しない。   The position correction unit 44 corrects the absolute position of the boundary area. The position correction unit 44 holds the absolute position of the stable area and outputs the absolute position of the stable area immediately before being held in the boundary area. In addition, the position correction unit 44 does not correct the absolute position in the boundary area when the absolute position of the immediately preceding stable area is not held, for example, when the apparatus is activated.

図13は、実施の形態1の位置補正部44の構成を表わす図である。
位置補正部44は、保持部441と,切換部442とを備える。
FIG. 13 is a diagram illustrating the configuration of the position correction unit 44 according to the first embodiment.
The position correction unit 44 includes a holding unit 441 and a switching unit 442.

切換部442は、境界域判定部43から出力される絶対位置が安定域か境界域かを表わす信号を受ける。   Switching unit 442 receives a signal indicating whether the absolute position output from boundary region determination unit 43 is a stable region or a boundary region.

安定域では、切換部442は、位置算出部42aの演算結果側を選択し、位置算出部42aの演算結果をそのまま出力すると同時に、保持部441で位置算出部42aの演算結果を格納する。   In the stable range, the switching unit 442 selects the calculation result side of the position calculation unit 42a, outputs the calculation result of the position calculation unit 42a as it is, and simultaneously stores the calculation result of the position calculation unit 42a in the holding unit 441.

境界域では、保持部441は、位置算出部42aの演算結果の格納を停止し、直前の位置算出部42aの演算結果を保持する。切換部442は、保持部441側を選択し、保持部441に保持されている直前の位置算出部42aの演算結果を出力する。   In the boundary area, the holding unit 441 stops storing the calculation result of the position calculation unit 42a and holds the calculation result of the previous position calculation unit 42a. The switching unit 442 selects the holding unit 441 side and outputs the calculation result of the position calculation unit 42a immediately before being held by the holding unit 441.

図14(a)、(b)は、実施の形態1の位置検出の動作タイミング図である。
図14(a)、(b)と、参考例の装置の図10(a)、(b)との相違点について説明する。
14A and 14B are operation timing diagrams of position detection according to the first embodiment.
Differences between FIGS. 14A and 14B and FIGS. 10A and 10B of the apparatus of the reference example will be described.

図14(a)を参照して、実施の形態1では、最初の安定域で、切換部442は、位置算出部42aの出力“8”を選択して出力し、保持部441に“8”を格納させる。   Referring to FIG. 14A, in the first embodiment, in the first stable region, switching unit 442 selects and outputs “8” of position calculation unit 42a, and “8” is output to holding unit 441. Is stored.

境界域では、切換部442は、保持部441の出力“8”を選択して出力し、保持部441に、位置算出部42aの出力“12”を格納させず、直前の演算結果“8”を保持させる。   In the boundary area, the switching unit 442 selects and outputs the output “8” of the holding unit 441, and does not store the output “12” of the position calculation unit 42a in the holding unit 441, but the previous calculation result “8”. Hold.

次の安定域に入れば、切換部442は、位置算出部42aの出力“9”を選択して出力し、保持部441に“9”を格納させる。   If the next stable range is entered, the switching unit 442 selects and outputs the output “9” of the position calculating unit 42 a and causes the holding unit 441 to store “9”.

図14(b)を参照して、本実施の形態1では、最初の安定域で、切換部442は、位置算出部42aの出力“15“を選択して出力し、保持部441に“15”を格納させる。   Referring to FIG. 14B, in the first embodiment, in the first stable region, switching unit 442 selects and outputs output “15” of position calculation unit 42a, and outputs “15” to holding unit 441. ”Is stored.

境界域では、切換部442は、保持部441の出力“15”を選択して出力し、保持部441に、位置算出部42aの出力“12”を格納させず、直前の演算結果“15”を保持させる。   In the boundary area, the switching unit 442 selects and outputs the output “15” of the holding unit 441, and does not store the output “12” of the position calculating unit 42a in the holding unit 441, but the previous calculation result “15”. Hold.

次の安定域に入れば、切換部442は、位置算出部42aの出力“16”を選択して出力し、保持部441に“16”を格納させる。   When the next stable range is entered, the switching unit 442 selects and outputs the output “16” of the position calculation unit 42 a and causes the holding unit 441 to store “16”.

以上のように、磁気スケール1aと磁気スケール1bの磁極内の位置情報の変化タイミングがずれても、誤検出することなく、絶対位置を連続して出力することができる。   As described above, even if the change timings of the position information in the magnetic poles of the magnetic scale 1a and the magnetic scale 1b are shifted, absolute positions can be continuously output without erroneous detection.

また、電源が投入された時に磁気スケール1a、1bと感磁素子群21、22との位置関係が境界域の場合は、保持部441には演算結果が保持されていないため、切換部442は、位置算出部42a側を選択し、位置算出部42aの演算結果を出力する。   Further, when the positional relationship between the magnetic scales 1a, 1b and the magnetosensitive element groups 21, 22 is a boundary region when the power is turned on, since the calculation result is not held in the holding unit 441, the switching unit 442 The position calculation unit 42a is selected, and the calculation result of the position calculation unit 42a is output.

以上のように、実施の形態1によれば、2つの感磁素子群の出力の位相に差がある境界域において、直前の安定域における位置検出結果を出力することによって、絶対位置、すなわち、磁気スケールに対する感磁装置の位置を高精度に算出することができると共に、感磁素子群21と感磁素子群24を高精度に配置する手間を省くことができる。   As described above, according to the first embodiment, by outputting the position detection result in the immediately preceding stable region in the boundary region where the output phases of the two magnetosensitive element groups have a difference, the absolute position, that is, The position of the magnetic sensing device with respect to the magnetic scale can be calculated with high accuracy, and the trouble of arranging the magnetic sensing element group 21 and the magnetic sensing element group 24 with high accuracy can be saved.

[実施の形態2]
図15は、実施の形態2における磁気式位置検出装置92の構成の例示図である。
[Embodiment 2]
FIG. 15 is an exemplary diagram of a configuration of the magnetic position detection device 92 according to the second embodiment.

図15を参照して、磁気式位置検出装置92は、磁気スケール1a,1bと、感磁装置2aと、位置算出回路4aとを備える。   Referring to FIG. 15, the magnetic position detection device 92 includes magnetic scales 1a and 1b, a magnetic sensing device 2a, and a position calculation circuit 4a.

磁気スケール1、位置算出回路4aを構成する磁極対内位置演算部41a,41b、位置算出部42は、図6に示す参考例の磁気式位置検出装置90に含まれるものと同様であるので、説明を繰り返さない。   The magnetic scale 1, the position calculating units 41a and 41b and the position calculating unit 42 constituting the position calculating circuit 4a are the same as those included in the magnetic position detecting device 90 of the reference example shown in FIG. Do not repeat.

感磁装置2aは、磁気スケール1aに対向配置された感磁素子群21,23,25と、磁気スケール1bに対向配置された感磁素子群22,24,26とを備える。   The magnetic sensitive device 2a includes magnetic sensitive element groups 21, 23, 25 arranged to face the magnetic scale 1a, and magnetic sensitive element groups 22, 24, 26 arranged to face the magnetic scale 1b.

感磁素子群21,23,25は、磁気スケール1aに対して予め定めた空隙を隔てて対向配置され、磁気スケール1aによって形成される磁場の中を空隙を維持しながら、磁気スケール1aの配列方向に相対移動し、相対移動の際の磁場の変化を検出する。   The magnetosensitive element groups 21, 23, and 25 are arranged to face the magnetic scale 1a with a predetermined gap therebetween, and the magnetic scale 1a is arranged while maintaining the gap in the magnetic field formed by the magnetic scale 1a. A relative movement in the direction is detected, and a change in the magnetic field during the relative movement is detected.

感磁素子群22,24,26は、磁気スケール1bに対して予め定めた空隙を隔てて対向配置され、磁気スケール1bによって形成される磁場の中を空隙を維持しながら、磁気スケール1bの配列方向に相対移動し、相対移動の際の磁場の変化を検出する。   The magnetosensitive element groups 22, 24, and 26 are arranged to face the magnetic scale 1b with a predetermined gap, and the magnetic scale 1b is arranged while maintaining the gap in the magnetic field formed by the magnetic scale 1b. A relative movement in the direction is detected, and a change in the magnetic field during the relative movement is detected.

感磁素子群21,23,25に含まれる感磁素子の数は同一である。感磁素子群22,24,26に含まれる感磁素子の数は同一である。   The number of magnetosensitive elements included in the magnetosensitive element groups 21, 23, and 25 is the same. The number of magnetosensitive elements included in the magnetosensitive element groups 22, 24, and 26 is the same.

図16は、実施の形態2の感磁素子群21,23,25,22,24,26を構成する感磁素子の配置を表わす図である。   FIG. 16 is a diagram showing the arrangement of the magnetosensitive elements constituting the magnetosensitive element groups 21, 23, 25, 22, 24, and 26 of the second embodiment.

感磁素子群21は、n1個の感磁素子(図15では、21a,21b,21c,21d、n1=4)を搭載する。n1個の感磁素子は、磁極幅λ1をn1等分した間隔P1(=λ1/n1)で配置される。   The magnetosensitive element group 21 includes n1 magnetosensitive elements (21a, 21b, 21c, 21d, and n1 = 4 in FIG. 15). The n1 magnetosensitive elements are arranged at an interval P1 (= λ1 / n1) obtained by equally dividing the magnetic pole width λ1 by n1.

感磁素子群23は、n1個の感磁素子(図15では、23a,23b,23c,23d、n1=4)を搭載する。n1個の感磁素子は、磁極幅λ1をn1等分した間隔P1で配置される。ただし、感磁素子群23の感磁素子23a,23b,23c,23dは、感磁素子群21の感磁素子21a,21b,21c,21dに対して、位相が進む方向に配置され、好ましくは、感磁素子21a,21b,21c,21dとの配置間隔はP1/3が望ましい。   The magnetosensitive element group 23 carries n1 magnetosensitive elements (in FIG. 15, 23a, 23b, 23c, 23d, n1 = 4). The n1 magnetosensitive elements are arranged at an interval P1 obtained by equally dividing the magnetic pole width λ1 by n1. However, the magnetic sensing elements 23a, 23b, 23c, and 23d of the magnetic sensing element group 23 are arranged in the direction in which the phase advances with respect to the magnetic sensing elements 21a, 21b, 21c, and 21d of the magnetic sensing element group 21, and preferably The arrangement interval between the magnetosensitive elements 21a, 21b, 21c and 21d is preferably P1 / 3.

感磁素子群25は、n1個の感磁素子(図15では、25a,25b,25c,25d、n1=4)を搭載する。n1個の感磁素子は、磁極幅λ1をn1等分した間隔P1で配置される。ただし、感磁素子群25の感磁素子25a,25b,25c,25dは、感磁素子群21の感磁素子21a,21b,21c,21dに対して、位相が遅れる方向に配置され、好ましくは、感磁素子21a,21b,21c,21dとの配置間隔はP1/3が望ましい。   The magnetosensitive element group 25 includes n1 magnetosensitive elements (in FIG. 15, 25a, 25b, 25c, 25d, n1 = 4). The n1 magnetosensitive elements are arranged at an interval P1 obtained by equally dividing the magnetic pole width λ1 by n1. However, the magnetic sensing elements 25a, 25b, 25c, 25d of the magnetic sensing element group 25 are arranged in a direction in which the phase is delayed with respect to the magnetic sensing elements 21a, 21b, 21c, 21d of the magnetic sensing element group 21, and preferably The arrangement interval between the magnetosensitive elements 21a, 21b, 21c and 21d is preferably P1 / 3.

感磁素子群22は、n2個の感磁素子(図15では、22a,22b,22c、n2=3)を搭載する。n2個の感磁素子は、磁極幅λ2をn2等分した間隔P2(=λ2/n2)で配置される。   The magnetosensitive element group 22 carries n2 magnetosensitive elements (22a, 22b, 22c, n2 = 3 in FIG. 15). The n2 magnetosensitive elements are arranged at an interval P2 (= λ2 / n2) obtained by equally dividing the magnetic pole width λ2 by n2.

感磁素子群24は、n2個の感磁素子(図15では、24a,24b,24c、n2=3)を搭載する。n2個の感磁素子は、磁極幅λ2をn2等分した間隔P2で配置される。ただし、感磁素子群24の感磁素子24a,24b,24c,24dは、感磁素子群22の感磁素子22a,22b,22cに対して、位相が進む方向に配置され、好ましくは、感磁素子22a,22b,22cとの配置間隔はP2/3が望ましい。   The magnetosensitive element group 24 includes n2 magnetosensitive elements (in FIG. 15, 24a, 24b, 24c, n2 = 3). The n2 magnetosensitive elements are arranged at an interval P2 obtained by equally dividing the magnetic pole width λ2 by n2. However, the magnetic sensing elements 24a, 24b, 24c, and 24d of the magnetic sensing element group 24 are arranged in the direction in which the phase advances with respect to the magnetic sensing elements 22a, 22b, and 22c of the magnetic sensing element group 22, and preferably P2 / 3 is desirable for the spacing between the magnetic elements 22a, 22b, and 22c.

感磁素子群26は、n2個の感磁素子(図15では、26a,26b,26c、n2=3)を搭載する。n2個の感磁素子は、感磁極幅λ2をn2等分した間隔P2で配置される。ただし、感磁素子群26の感磁素子26a,26b,26c,26dは、感磁素子群22の感磁素子22a,22b,22cに対して、位相が遅れる方向に配置され、好ましくは、感磁素子22a,22b,22cとの配置間隔はP2/3が望ましい。   The magnetosensitive element group 26 includes n2 magnetosensitive elements (in FIG. 15, 26a, 26b, 26c, n2 = 3). The n2 magnetosensitive elements are arranged at an interval P2 obtained by equally dividing the magnetic sensitive pole width λ2 by n2. However, the magnetic sensing elements 26a, 26b, 26c, and 26d of the magnetic sensing element group 26 are arranged in a direction in which the phase is delayed with respect to the magnetic sensing elements 22a, 22b, and 22c of the magnetic sensing element group 22, and preferably P2 / 3 is desirable for the spacing between the magnetic elements 22a, 22b, and 22c.

ここで、k1×n1=k2×n2となるように感磁素子数を選ぶことにより、磁気スケール1a側の感磁素子群21の素子間隔P1と磁気スケール1b側の感磁素子群22の素子間隔P2を等しくする。   Here, by selecting the number of magnetosensitive elements so that k1 × n1 = k2 × n2, the element spacing P1 of the magnetosensitive element group 21 on the magnetic scale 1a side and the elements of the magnetosensitive element group 22 on the magnetic scale 1b side are selected. The interval P2 is made equal.

2値化部31a,31b,31c,31d,32a,32b,32c,33a,33b,33c,33d,34a,34b,34c,35a,35b,35c,35d,36a,36b,36cは、感磁素子21a,21b,21c,21d,22a,22b,22c,23a,23b,23c,23d,24a,24b,24c,25a,25b,25c,25d,26a,26b,26cによって検出された磁場の変化をそれぞれ2値化する。   The binarization units 31a, 31b, 31c, 31d, 32a, 32b, 32c, 33a, 33b, 33c, 33d, 34a, 34b, 34c, 35a, 35b, 35c, 35d, 36a, 36b, 36c 21a, 21b, 21c, 21d, 22a, 22b, 22c, 23a, 23b, 23c, 23d, 24a, 24b, 24c, 25a, 25b, 25c, 25d, 26a, 26b, 26c, respectively. Binarize.

位相差検出部45は、2値化部31a,31b,31c,31d,32a,32b,32c,33a,33b,33c,33d,34a,34b,34c,35a,35b,35c,35d,36a,36b,36cの出力に基づいて、磁気スケール1aに対向配置された感磁素子群21の検出信号を2値化した信号と、磁気スケール1bに対向配置された感磁素子群22の検出信号を2値化した信号の変化点の位相ずれ、すなわち、感磁素子群21の磁場変化検出結果と感磁素子群22の磁場変化検出結果の位相差を検出する。   The phase difference detection unit 45 includes binarization units 31a, 31b, 31c, 31d, 32a, 32b, 32c, 33a, 33b, 33c, 33d, 34a, 34b, 34c, 35a, 35b, 35c, 35d, 36a, 36b. , 36c, the detection signal of the magnetosensitive element group 21 arranged opposite to the magnetic scale 1a and the detection signal of the magnetosensitive element group 22 arranged opposed to the magnetic scale 1b are 2 The phase shift of the change point of the digitized signal, that is, the phase difference between the magnetic field change detection result of the magnetic sensitive element group 21 and the magnetic field change detection result of the magnetic sensitive element group 22 is detected.

より具体的には、位相差検出部45は、感磁素子群21,23,25の磁場検出結果に基づいて、感磁素子群21の磁場検出結果の変化点の直前信号および変化点の直後信号を生成する。位相差検出部45は、感磁素子群22,24,26の磁場検出結果に基づいて、感磁素子群22の磁場検出結果の変化点の直前信号および変化点の直後信号を生成する。   More specifically, the phase difference detection unit 45 is based on the magnetic field detection results of the magnetosensitive element groups 21, 23, 25 and immediately before the change point of the magnetic field detection result of the magnetosensitive element group 21 and immediately after the change point. Generate a signal. The phase difference detection unit 45 generates a signal immediately before the change point and a signal immediately after the change point of the magnetic field detection result of the magnetosensitive element group 22 based on the magnetic field detection results of the magnetosensitive element groups 22, 24, and 26.

位相差検出部45は、感磁素子群21の磁場検出結果の変化点の直前信号および変化点の直後信号と、感磁素子群22の磁場検出結果の変化点の直前信号および変化点の直後信号に基づいて、位相差を検出する。   The phase difference detection unit 45 is a signal immediately before the change point of the magnetic field detection result of the magnetic sensing element group 21 and a signal immediately after the change point, and a signal immediately before the change point of the magnetic field detection result of the magnetic sensing element group 22 and immediately after the change point. Based on the signal, the phase difference is detected.

図17は、実施の形態2の位相差検出部45の回路例を表わす図である。
図17に示すように、位相差検出部45は、エッジ検出部469a,469b,469c,469d,469e,469f,469gと、OR回路468a,468bと、補正信号生成部454a,454b,454cとを備える。
FIG. 17 is a diagram illustrating a circuit example of the phase difference detection unit 45 of the second embodiment.
As shown in FIG. 17, the phase difference detection unit 45 includes edge detection units 469a, 469b, 469c, 469d, 469e, 469f, 469g, OR circuits 468a, 468b, and correction signal generation units 454a, 454b, 454c. Prepare.

エッジ検出部469a,469b,469c,469d,469e,469f,469gは、2値化部31a,31b,31c,31d、32a,32b,32cの出力の変化点の直前信号451a,451b,451c,451d,451e,451f,451g、および変化点の直後信号452a,452b,452c,452d,452e,452f,452gを生成する。   The edge detection units 469a, 469b, 469c, 469d, 469e, 469f, 469g are signals 451a, 451b, 451c, 451d immediately before the change points of the outputs of the binarization units 31a, 31b, 31c, 31d, 32a, 32b, 32c. , 451e, 451f, 451g, and signals 452a, 452b, 452c, 452d, 452e, 452f, 452g immediately after the change point are generated.

図18は、実施の形態2のエッジ検出部469aの構成を表わす図である。エッジ検出部469b,469c,469d,469e,469f,469gの構成も、これと同様である。   FIG. 18 is a diagram illustrating the configuration of the edge detection unit 469a according to the second embodiment. The configurations of the edge detection units 469b, 469c, 469d, 469e, 469f, and 469g are the same as this.

エッジ検出部469aは、XOR回路491aと、XOR回路492aとを備える。
XOR回路491aは、2値化部31aの出力、2値化部33aの出力の排他的論理和451aを出力する。排他的論理和451aは、2値化部33aの出力がハイレベルであり、かつ2値化部31aの出力がロウレベルとなる期間、つまり2値化部31aの出力がハイレベルとなる直前の期間にハイレベルとなる。したがって、排他的論理和451aは、2値化部31aの出力の変化点の直前信号である。
The edge detection unit 469a includes an XOR circuit 491a and an XOR circuit 492a.
The XOR circuit 491a outputs an exclusive OR 451a of the output of the binarization unit 31a and the output of the binarization unit 33a. The exclusive OR 451a is a period in which the output of the binarizing unit 33a is at the high level and the output of the binarizing unit 31a is at the low level, that is, the period immediately before the output of the binarizing unit 31a is at the high level. High level. Therefore, the exclusive OR 451a is a signal immediately before the change point of the output of the binarization unit 31a.

XOR回路491aは、2値化部31aの出力、2値化部35aの出力の排他的論理和452aを出力する。排他的論理和452aは、2値化部31aの出力がハイレベルであり、かつ2値化部35aの出力がロウレベルとなる期間、つまり2値化部31aの出力がハイレベルとなる直後の期間にハイレベルとなる。したがって、排他的論理和452aは、2値化部31aの出力の変化点の直後信号である。   The XOR circuit 491a outputs an exclusive OR 452a of the output of the binarization unit 31a and the output of the binarization unit 35a. The exclusive OR 452a is a period in which the output of the binarizing unit 31a is at a high level and the output of the binarizing unit 35a is at a low level, that is, a period immediately after the output of the binarizing unit 31a is at a high level. High level. Therefore, the exclusive OR 452a is a signal immediately after the change point of the output of the binarization unit 31a.

OR回路468aは、2値化部31aの出力の変化点の直前信号451aと、2値化部31bの出力の変化点の直前信号451bと、2値化部31cの出力の変化点の直前信号451cと、2値化部31dの出力の変化点の直前信号451dの論理和453aを出力する。   The OR circuit 468a includes a signal 451a immediately before the change point of the output of the binarization unit 31a, a signal 451b immediately before the change point of the output of the binarization unit 31b, and a signal immediately before the change point of the output of the binarization unit 31c. The logical sum 453a of 451c and the signal 451d immediately before the change point of the output of the binarizing unit 31d is output.

OR回路468bは、2値化部31aの出力の変化点の直後信号452aと、2値化部31bの出力の変化点の直後信号452bと、2値化部31cの出力の変化点の直後信号452cと、2値化部31dの出力の変化点の直後信号452dの論理和453bを出力する。   The OR circuit 468b is a signal 452a immediately after the change point of the output of the binarization unit 31a, a signal 452b immediately after the change point of the output of the binarization unit 31b, and a signal immediately after the change point of the output of the binarization unit 31c. 452c and the logical sum 453b of the signal 452d immediately after the output change point of the binarization unit 31d are output.

補正信号生成部454a,454b,454cは、感磁素子群21,22の変化点の直前信号と変化点の直後信号とを用いて、2値化部31a,31b,31c,31dの出力と、2値化部32a,32b,32cの出力の変化点の位相ずれ量45a,45b,45cを出力する。   The correction signal generation units 454a, 454b, and 454c use the signals immediately before the change point and the signal immediately after the change point of the magnetosensitive element groups 21 and 22, and outputs from the binarization units 31a, 31b, 31c, and 31d, The phase shift amounts 45a, 45b, and 45c at the changing points of the outputs of the binarizing units 32a, 32b, and 32c are output.

図19は、実施の形態2の補正信号生成部454aの構成を表わす図である。補正信号生成部454b,454cの構成も、これと同様である。   FIG. 19 is a diagram illustrating the configuration of the correction signal generation unit 454a according to the second embodiment. The configuration of the correction signal generation units 454b and 454c is the same as this.

補正信号生成部454aは、AND回路455aと、AND回路455bと、OR回路456とを備える。   The correction signal generation unit 454a includes an AND circuit 455a, an AND circuit 455b, and an OR circuit 456.

AND回路455aは、2値化部32aの変化点の直前信号451eと、論理和453aの論理積を出力する。論理和453aは、2値化部31aの出力の変化点の直前信号451aと、2値化部31bの出力の変化点の直前信号451bと、2値化部31cの出力の変化点の直前信号451cと、2値化部31dの出力の変化点の直前信号451dの論理和である。   The AND circuit 455a outputs a logical product of the signal 451e immediately before the changing point of the binarization unit 32a and the logical sum 453a. The logical sum 453a is a signal immediately before the change point of the output of the binarization unit 31a, a signal 451b immediately before the change point of the output of the binarization unit 31b, and a signal immediately before the change point of the output of the binarization unit 31c. 451c is the logical sum of the signal 451d immediately before the change point of the output of the binarization unit 31d.

AND回路455bは、2値化部32aの変化点の直後信号452eと、論理和453bの論理積を出力する。論理和453bは、2値化部31aの出力の変化点の直後信号452aと、2値化部31bの出力の変化点の直後信号452bと、2値化部31cの出力の変化点の直後信号452cと、2値化部31dの出力の変化点の直後信号452dの論理和である。   The AND circuit 455b outputs a logical product of the signal 452e immediately after the change point of the binarization unit 32a and the logical sum 453b. The logical sum 453b is a signal 452a immediately after the change point of the output of the binarization unit 31a, a signal 452b immediately after the change point of the output of the binarization unit 31b, and a signal immediately after the change point of the output of the binarization unit 31c. 452c and the logical sum of the signal 452d immediately after the output change point of the binarization unit 31d.

OR回路456は、AND回路455aの出力と、AND回路455bの出力との論理和45aを出力する。論理和45aは、2値化部31a,31b,31c,31dの出力と、2値化部32aの出力の変化点の位相ずれ量を表わす。   The OR circuit 456 outputs a logical sum 45a of the output of the AND circuit 455a and the output of the AND circuit 455b. The logical sum 45a represents the amount of phase shift between the change points of the outputs of the binarization units 31a, 31b, 31c, and 31d and the output of the binarization unit 32a.

位相差補正部46は、検出された位相差に基づいて、感磁素子群21の磁場変化と感磁素子群22の磁場変化の位相が揃うように、感磁素子群22の磁場変化検出結果を補正する。   The phase difference correction unit 46 detects the magnetic field change detection result of the magnetic sensitive element group 22 so that the phase of the magnetic change of the magnetic sensitive element group 21 and the magnetic field change of the magnetic sensitive element group 22 are aligned based on the detected phase difference. Correct.

具体的には、位相差補正部46は、位相ずれ量45a,45b,45cを用いて、2値化部32a,32b,32cの出力の変化点が2値化部31a,31b,31c,31dの出力の変化点に揃うように2値化部32a,32b,32cの出力の変化点を補正する。   Specifically, the phase difference correction unit 46 uses the phase shift amounts 45a, 45b, and 45c to change the output change points of the binarization units 32a, 32b, and 32c into binarization units 31a, 31b, 31c, and 31d. The output change points of the binarization units 32a, 32b, and 32c are corrected so as to be aligned with the output change points.

図20は、実施の形態2の位相差補正部46の構成を表わす図である。
位相差補正部46は、XOR回路461aと、XOR回路461bと、XOR回路461cとを備える。
FIG. 20 is a diagram illustrating the configuration of the phase difference correction unit 46 according to the second embodiment.
The phase difference correction unit 46 includes an XOR circuit 461a, an XOR circuit 461b, and an XOR circuit 461c.

XOR回路461aは、位相ずれ量45aと、2値化部32aの出力との排他的論理和である補正信号46aを磁極対内位置演算部41bへ出力する。   The XOR circuit 461a outputs a correction signal 46a, which is an exclusive OR of the phase shift amount 45a and the output of the binarization unit 32a, to the magnetic pole pair position calculation unit 41b.

XOR回路461bは、位相ずれ量45bと、2値化部32bの出力との排他的論理和である補正信号46bを磁極対内位置演算部41bへ出力する。   The XOR circuit 461b outputs a correction signal 46b, which is an exclusive OR of the phase shift amount 45b and the output of the binarization unit 32b, to the magnetic pole pair position calculation unit 41b.

XOR回路461cは、位相ずれ量45cと、2値化部32cの出力との排他的論理和である補正信号46cを磁極対内位置演算部41bへ出力する。   The XOR circuit 461c outputs a correction signal 46c, which is an exclusive OR of the phase shift amount 45c and the output of the binarization unit 32c, to the in-pole pair position calculation unit 41b.

磁極対内位置演算部41bは、2値化部32a,32b,32cの出力の代わりに、補正信号46a,46b,46cに基づいて磁極対内の位置を算出する。   The magnetic pole pair position calculation unit 41b calculates the position in the magnetic pole pair based on the correction signals 46a, 46b, and 46c instead of the outputs of the binarization units 32a, 32b, and 32c.

図21は、実施の形態2の位置検出の動作タイミングを表わす図である。
図21(a)は、参考例の図8の(i)のタイミングでの詳細を表わす。
FIG. 21 is a diagram illustrating an operation timing of position detection according to the second embodiment.
FIG. 21A shows details of the reference example at the timing shown in FIG. 8I.

時刻t1において、2値化部32aの出力が変化する。時刻t2において、2値化部31bの出力が変化する。2値化部32aの出力は、2値化部31bの出力に対して位相が進んでいる。   At time t1, the output of the binarization unit 32a changes. At time t2, the output of the binarizing unit 31b changes. The output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b.

2値化部33bの出力、2値化部35bの出力によって、図21(a)に示すように、2値化部31bの出力の変化点の直前信号451bと、2値化部31bの出力の変化点の直後信号452bが生成される。また、2値化部34aの出力、2値化部36aの出力によって、図21(a)に示すように、2値化部32aの出力の変化点の直前信号451eと、2値化部32aの出力の変化点の直後信号452eが生成される。   As shown in FIG. 21A, the output of the binarization unit 33b and the output of the binarization unit 31b are the signals immediately before the change point 451b of the output of the binarization unit 31b. A signal 452b immediately after the change point is generated. Further, as shown in FIG. 21A, the output from the binarization unit 34a and the output from the binarization unit 36a, the signal 451e immediately before the change point of the output of the binarization unit 32a and the binarization unit 32a A signal 452e immediately after the output change point is generated.

2値化部32aの出力が、2値化部31bの出力に対して位相が進んでいるので、時刻t1から時刻t2の間は、2値化部31bの出力の変化点の直前信号451bが“1”となり、2値化部32aの出力の変化点の直後信号452eが“1”となる。その結果、位相ずれ量45aが生成される。   Since the output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b, the signal 451b immediately before the change point of the output of the binarization unit 31b is between time t1 and time t2. The signal 452e immediately after the change point of the output of the binarization unit 32a becomes “1”. As a result, a phase shift amount 45a is generated.

位相差補正部46は、位相ずれ量45aが“1”の間、2値化部32aの出力を反転することによって、2値化部31bの出力と変化点が一致した補正信号46aを生成する。これにより、2値化部32aの出力が2値化部31bの出力に対して位相が進んでいても、誤検出することなく、参考例と同様に、連続して絶対位置を検出することができる。   The phase difference correction unit 46 inverts the output of the binarization unit 32a while the phase shift amount 45a is “1”, thereby generating a correction signal 46a in which the change point coincides with the output of the binarization unit 31b. . Thereby, even if the output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b, the absolute position can be continuously detected as in the reference example without erroneous detection. it can.

図21(b)は、参考例の図8の(ii)のタイミングでの詳細を表わす。
時刻t3において、2値化部31aの出力が変化する。時刻t4において、2値化部32bの出力が変化する。2値化部31aの出力は、2値化部32bの出力に対して位相が進んでいる。
FIG. 21B shows details of the reference example at the timing of (ii) in FIG.
At time t3, the output of the binarization unit 31a changes. At time t4, the output of the binarization unit 32b changes. The output of the binarizing unit 31a is advanced in phase with respect to the output of the binarizing unit 32b.

2値化部33aの出力、2値化部35aの出力によって、図21(b)に示すように、2値化部31aの出力の変化点の直前信号451aと、2値化部31aの出力の変化点の直後信号452aが生成される。また、2値化部34bの出力、2値化部36bの出力によって、図21(b)に示すように、2値化部32bの出力の変化点の直前信号451fと、2値化部32bの出力の変化点の直後信号452fが生成される。   As shown in FIG. 21B, the output of the binarization unit 33a and the output of the binarization unit 31a are immediately before the change point 451a of the output of the binarization unit 31a. A signal 452a immediately after the change point is generated. Further, as shown in FIG. 21B, the output from the binarization unit 34b and the output from the binarization unit 36b immediately before the change point 451f of the output of the binarization unit 32b and the binarization unit 32b. A signal 452f immediately after the output change point is generated.

2値化部31aの出力が、2値化部32bの出力に対して位相が進んでいるので、時刻t3から時刻t4の間は、2値化部32bの出力の変化点の直前信号451fが“1”となり、2値化部31aの出力の変化点の直後信号452aが“1”となる。その結果、位相ずれ量45bが生成される。   Since the output of the binarization unit 31a is advanced in phase with respect to the output of the binarization unit 32b, the signal 451f immediately before the change point of the output of the binarization unit 32b is between time t3 and time t4. The signal 452a immediately after the output change point of the binarization unit 31a becomes “1”. As a result, a phase shift amount 45b is generated.

位相差補正部46は、位相ずれ量45bが“1”の間、2値化部32bの出力を反転することによって、2値化部31aの出力と変化点が一致した補正信号46bを生成する。これにより、2値化部32bの出力が2値化部31aの出力に対して位相が遅れていても、誤検出することなく、参考例と同様に、連続して絶対位置を検出することができる。   The phase difference correction unit 46 inverts the output of the binarization unit 32b while the phase shift amount 45b is “1”, thereby generating a correction signal 46b whose change point coincides with the output of the binarization unit 31a. . As a result, even if the output of the binarization unit 32b is delayed in phase with respect to the output of the binarization unit 31a, the absolute position can be continuously detected as in the reference example without erroneous detection. it can.

以上のように、実施の形態2によれば、感磁素子群22の検出結果の位相を感磁素子群21の検出結果に位相をそろえることができるので、絶対位置を高精度で算出することができると共に、感磁素子群21と感磁素子群24を高精度に配置する手間を省くことができる。   As described above, according to the second embodiment, the phase of the detection result of the magnetosensitive element group 22 can be aligned with the detection result of the magnetosensitive element group 21, so that the absolute position can be calculated with high accuracy. In addition, it is possible to save the trouble of arranging the magnetosensitive element group 21 and the magnetosensitive element group 24 with high accuracy.

[実施の形態3]
図22は、実施の形態3における磁気式位置検出装置93の構成の例示図である。
[Embodiment 3]
FIG. 22 is an exemplary diagram of a configuration of the magnetic position detection device 93 according to the third embodiment.

この磁気式位置検出装置93は、磁気スケール1a,1bと、感磁装置2bと、位置算出回路4bとを備える。   The magnetic position detection device 93 includes magnetic scales 1a and 1b, a magnetic sensing device 2b, and a position calculation circuit 4b.

磁気スケール1a,1bと、感磁装置2bを構成する感磁素子群21,22,24,26と、2値化部31a,31b,31c,31d,32a,32b,32c,34a,34b,34c,36a,36b,36cと、位置算出回路4bを構成する位相差検出部45と、位相差補正部46と、磁極対内位置演算部41a,41bと、位置算出部42とは、図15に示す実施の形態2における磁気式位置検出装置92に含まれるものと同様であるので、説明を繰り返さない。   Magnetic scales 1a, 1b, magnetic sensitive element groups 21, 22, 24, 26 constituting the magnetic sensitive device 2b, and binarization units 31a, 31b, 31c, 31d, 32a, 32b, 32c, 34a, 34b, 34c , 36a, 36b, 36c, the phase difference detection unit 45 constituting the position calculation circuit 4b, the phase difference correction unit 46, the magnetic pole pair position calculation units 41a, 41b, and the position calculation unit 42 are shown in FIG. Since it is the same as that included in magnetic position detection device 92 in the second embodiment, description thereof will not be repeated.

感磁装置2bは、磁気スケール1aに対向配置されたた感磁素子群23,25に代えて、磁気スケール1aに対向配置された感磁素子群27を備える。   The magnetic sensitive device 2b includes a magnetic sensitive element group 27 arranged opposite to the magnetic scale 1a, instead of the magnetic sensitive element groups 23 and 25 arranged opposite to the magnetic scale 1a.

感磁素子群27は、磁気スケール1aに対して予め定めた空隙を隔てて対向配置され、磁気スケール1aによって形成される磁場の中を空隙を維持しながら、磁気スケール1aの配列方向に相対移動し、相対移動の際の磁場の変化を検出する。感磁素子群27に含まれる感磁素子の数は、感磁素子群21に含まれる感磁素子の数よりも1だけ多い。   The magnetosensitive element group 27 is disposed opposite to the magnetic scale 1a with a predetermined gap therebetween, and is relatively moved in the arrangement direction of the magnetic scale 1a while maintaining the gap in the magnetic field formed by the magnetic scale 1a. The change in the magnetic field during relative movement is detected. The number of magnetosensitive elements included in the magnetosensitive element group 27 is one more than the number of magnetosensitive elements included in the magnetosensitive element group 21.

図23は、実施の形態3の感磁素子群21,27,22,24,26を構成する感磁素子の配置を表わす図である。   FIG. 23 is a diagram showing the arrangement of the magnetosensitive elements constituting the magnetosensitive element groups 21, 27, 22, 24, and 26 of the third embodiment.

図23に示すように、感磁素子群27は、(n1+1)個の感磁素子(図23では、27a,27b,27c,27d,27e、n1=4)を搭載する。感磁素子27a,27b,27c,27d,27eは、磁極幅λ1をn1等分した間隔P1で配置される。   As shown in FIG. 23, the magnetosensitive element group 27 mounts (n1 + 1) magnetosensitive elements (in FIG. 23, 27a, 27b, 27c, 27d, 27e, n1 = 4). The magnetic sensing elements 27a, 27b, 27c, 27d, and 27e are arranged at an interval P1 obtained by equally dividing the magnetic pole width λ1 by n1.

感磁素子群21内のそれぞれの感磁素子は、感磁素子群27内の2つの感磁素子の間に配列される。   Each magnetosensitive element in the magnetosensitive element group 21 is arranged between two magnetosensitive elements in the magnetosensitive element group 27.

感磁素子27a,27b,27c,27d、27eは、隣接する感磁素子群21の感磁素子21a,21b,21c,21dに対して、好ましくは、P1/2だけ離れて配置される。   The magnetic sensitive elements 27a, 27b, 27c, 27d, and 27e are preferably arranged away from the magnetic sensitive elements 21a, 21b, 21c, and 21d of the adjacent magnetic sensitive element group 21 by P1 / 2.

2値化部37a,37b,37c,37d,37eは、感磁素子27a,27b,27c,27d,27eにより検出された磁場の変化をそれぞれ2値化する。   The binarization units 37a, 37b, 37c, 37d, and 37e binarize changes in the magnetic field detected by the magnetic sensitive elements 27a, 27b, 27c, 27d, and 27e, respectively.

位相差検出部45は、感磁素子群21,27の磁場検出結果に基づいて、感磁素子群21の磁場検出結果の変化点の直前信号および変化点の直後信号を生成する。位相差検出部45は、感磁素子群22,24,26の磁場検出結果に基づいて、感磁素子群22の磁場検出結果の変化点の直前信号および変化点の直後信号を生成する。位相差検出部45は、感磁素子群21の磁場検出結果の変化点の直前信号および変化点の直後信号と、感磁素子群22の磁場検出結果の変化点の直前信号および変化点の直後信号に基づいて、位相差を検出する。   The phase difference detection unit 45 generates a signal immediately before the change point and a signal immediately after the change point of the magnetic field detection result of the magnetosensitive element group 21 based on the magnetic field detection results of the magnetosensitive element groups 21 and 27. The phase difference detection unit 45 generates a signal immediately before the change point and a signal immediately after the change point of the magnetic field detection result of the magnetosensitive element group 22 based on the magnetic field detection results of the magnetosensitive element groups 22, 24, and 26. The phase difference detection unit 45 is a signal immediately before the change point of the magnetic field detection result of the magnetic sensing element group 21 and a signal immediately after the change point, and a signal immediately before the change point of the magnetic field detection result of the magnetic sensing element group 22 and immediately after the change point. Based on the signal, the phase difference is detected.

図24は、実施の形態3の位相差検出部445の回路例を表わす図である。
実施の形態3の位相差検出部445が、図17に示す実施の形態2の位相差検出部35と相違する点は以下である。
FIG. 24 is a diagram illustrating a circuit example of the phase difference detection unit 445 according to the third embodiment.
The difference between the phase difference detection unit 445 of the third embodiment and the phase difference detection unit 35 of the second embodiment shown in FIG. 17 is as follows.

位相差検出部445のエッジ検出部469a,469b,469c,469dは、2値化部31a,31b,31c,31dの出力の変化点の直前信号451a,451b,451c,451dおよび変化点の直後信号452a,452b,452c,452dを生成する。   The edge detectors 469a, 469b, 469c, and 469d of the phase difference detector 445 are signals immediately before the change points 451a, 451b, 451c, and 451d of the binarization units 31a, 31b, 31c, and 31d and signals immediately after the change points. 452a, 452b, 452c, and 452d are generated.

エッジ検出部469aには、実施の形態2における2値化部33aの出力、2値化部35aの出力に代えて、2値化部37aの出力、2値化部37bの出力が入力される。   Instead of the output of the binarization unit 33a and the output of the binarization unit 35a in the second embodiment, the output of the binarization unit 37a is input to the edge detection unit 469a. .

エッジ検出部469bには、実施の形態2における2値化部33bの出力、2値化部35bの出力に代えて、2値化部37bの出力、2値化部37cの出力が入力される。   The edge detection unit 469b receives the output of the binarization unit 37b instead of the output of the binarization unit 33b and the output of the binarization unit 35b in the second embodiment. .

エッジ検出部469cには、実施の形態2における2値化部33cの出力、2値化部35cの出力に代えて、2値化部37cの出力、2値化部37dの出力が入力される。   Instead of the output of the binarization unit 33c and the output of the binarization unit 35c in the second embodiment, the output of the binarization unit 37c is input to the edge detection unit 469c. .

エッジ検出部469dには、実施の形態2における2値化部33dの出力、2値化部35dの出力に代えて、2値化部37dの出力、2値化部37eの出力が入力される。   Instead of the output of the binarization unit 33d and the output of the binarization unit 35d in the second embodiment, the output of the binarization unit 37d is input to the edge detection unit 469d. .

2値化部31aの出力の変化点の直後信号452aと2値化部31bの出力の変化点の直前信号451bを生成するのに、同一の2値化部37bの出力を使用することにより、磁気スケール1aに対向配置する感磁素子の数量を削減する。これにより、実施の形態2では、磁気スケール1aに対向配置する感磁素子の数は3×n1個であったが、実施の形態3では(2×n1+1)個となり、(n1−1)個の感磁素子を削減できる。   By using the output of the same binarization unit 37b to generate the signal 452a immediately after the output change point of the binarization unit 31a and the signal 451b immediately before the change point of the output of the binarization unit 31b, The number of magnetosensitive elements arranged opposite to the magnetic scale 1a is reduced. Thereby, in the second embodiment, the number of the magnetosensitive elements arranged to face the magnetic scale 1a is 3 × n1, but in the third embodiment, the number is (2 × n1 + 1), and (n1-1). The magnetosensitive element can be reduced.

図25は、実施の形態3の位置検出の動作タイミングを表わす図である。
図25(a)は、参考例の図8の(i)のタイミングでの詳細を表わす。
FIG. 25 is a diagram illustrating operation timing of position detection according to the third embodiment.
FIG. 25A shows details at the timing of FIG. 8I of the reference example.

時刻t1において、2値化部32aの出力が変化する。時刻t2において、2値化部31bの出力が変化する。2値化部32aの出力は、2値化部31bの出力に対して位相が進んでいる。2値化部37aの出力、2値化部37cの出力によって、図25(a)に示すように、2値化部31bの出力の変化点の直前信号451bと、2値化部31bの出力の変化点の直後信号452bが生成される。また、2値化部34aの出力、2値化部36aの出力によって、2値化部32aの出力の変化点の直前信号451eと、2値化部32aの出力の変化点の直後信号452eが生成される。   At time t1, the output of the binarization unit 32a changes. At time t2, the output of the binarizing unit 31b changes. The output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b. As shown in FIG. 25 (a), the output from the binarization unit 37a and the output from the binarization unit 31b immediately before the change point of the output from the binarization unit 31b and the output from the binarization unit 31b are performed. A signal 452b immediately after the change point is generated. Further, the output of the binarization unit 34a outputs the signal 451e immediately before the change point of the output of the binarization unit 32a and the signal 452e immediately after the change point of the output of the binarization unit 32a. Generated.

2値化部32aの出力が、2値化部31bの出力に対して位相が進んでいるので、時刻t1から時刻t2の間は、2値化部31bの出力の変化点の直前信号451bが“1”となり、2値化部32aの出力の変化点の直後信号452eが“1”となる。その結果、位相ずれ量45aが生成される。   Since the output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b, the signal 451b immediately before the change point of the output of the binarization unit 31b is between time t1 and time t2. The signal 452e immediately after the change point of the output of the binarization unit 32a becomes “1”. As a result, a phase shift amount 45a is generated.

位相差補正部46は、位相ずれ量45aが“1”の間、2値化部32aの出力を反転することによって、2値化部31bの出力と変化点が一致した補正信号46aを生成する。これにより、2値化部32aの出力が2値化部31bの出力に対して位相が進んでいても、誤検出することなく、参考例と同様に、連続して絶対位置を検出することができる。   The phase difference correction unit 46 inverts the output of the binarization unit 32a while the phase shift amount 45a is “1”, thereby generating a correction signal 46a in which the change point coincides with the output of the binarization unit 31b. . Thereby, even if the output of the binarization unit 32a is advanced in phase with respect to the output of the binarization unit 31b, the absolute position can be continuously detected as in the reference example without erroneous detection. it can.

図25(b)は、参考例の図8の(ii)のタイミングでの詳細を表わす。
時刻t3において、2値化部31aの出力が変化する。時刻t4において、2値化部32bの出力が変化する。2値化部31aの出力は、2値化部32bの出力に対して位相が進んでいる。
FIG. 25B shows details of the reference example at the timing of (ii) in FIG.
At time t3, the output of the binarization unit 31a changes. At time t4, the output of the binarization unit 32b changes. The output of the binarizing unit 31a is advanced in phase with respect to the output of the binarizing unit 32b.

2値化部37aの出力、2値化部37aの出力によって、図25(b)に示すように、2値化部31aの出力の変化点の直前信号451aと、2値化部31aの出力の変化点の直後信号452aが生成される。また、2値化部34bの出力、2値化部36bの出力によって、図25(b)に示すように、2値化部32bの出力の変化点の直前信号451fと、2値化部32bの出力の変化点の直後信号452fが生成される。   As shown in FIG. 25B, the output of the binarization unit 37a and the output of the binarization unit 31a immediately before the change point of the output of the binarization unit 31a and the output of the binarization unit 31a. A signal 452a immediately after the change point is generated. Also, as shown in FIG. 25 (b), the output from the binarization unit 34b and the output from the binarization unit 36b immediately before the change point of the output of the binarization unit 32b 451f and the binarization unit 32b. A signal 452f immediately after the output change point is generated.

2値化部31aの出力が、2値化部32bの出力に対して位相が進んでいるので、時刻t3から時刻t4の間は、2値化部32bの出力の変化点の直前信号451fが“1”となり、2値化部31aの出力の変化点の直後信号452aが“1”となる。その結果、位相ずれ量45bが生成される。   Since the output of the binarization unit 31a is advanced in phase with respect to the output of the binarization unit 32b, the signal 451f immediately before the change point of the output of the binarization unit 32b is between time t3 and time t4. The signal 452a immediately after the output change point of the binarization unit 31a becomes “1”. As a result, a phase shift amount 45b is generated.

位相差補正部46は、位相ずれ量45bが“1”の間、2値化部32bの出力を反転することによって、2値化部31aの出力と変化点が一致した補正信号46bを生成する。これにより、2値化部32bの出力が2値化部31aの出力に対して位相が遅れていても、誤検出することなく、参考例と同様に、連続して絶対位置を検出することができる。   The phase difference correction unit 46 inverts the output of the binarization unit 32b while the phase shift amount 45b is “1”, thereby generating a correction signal 46b whose change point coincides with the output of the binarization unit 31a. . As a result, even if the output of the binarization unit 32b is delayed in phase with respect to the output of the binarization unit 31a, the absolute position can be continuously detected as in the reference example without erroneous detection. it can.

以上のように、実施の形態3によれば、感磁素子群22の検出結果の位相を感磁素子群21の検出結果に位相をそろえることができるので、絶対位置を高精度で算出することができると共に、感磁素子群21と感磁素子群24を高精度に配置する手間を省くことができる。さらに、実施の形態3によれば、実施の形態2よりも感磁素子の数を少なくすることができる。   As described above, according to the third embodiment, the phase of the detection result of the magnetosensitive element group 22 can be aligned with the detection result of the magnetosensitive element group 21, so that the absolute position can be calculated with high accuracy. In addition, it is possible to save the trouble of arranging the magnetosensitive element group 21 and the magnetosensitive element group 24 with high accuracy. Furthermore, according to the third embodiment, the number of magnetosensitive elements can be reduced as compared with the second embodiment.

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

1a,1b 磁気スケール、2,2a,2b 感磁装置、4 固定部材、 5 回転部材、6 位相差検出部、7 角度算出部、21,22,23,24,25,26,27 感磁素子群、21a,21b,21c,21d,22a,22b,22c,23a,23b,23c,23d,24a,24b,24c,25a,25b,25c,25d,26a,26b,26c,27a,27b,27c,27d,27e,121,122 感磁素子、31a,31b,31c,31d,32a,32b,32c,33a,33b,33c,33d,34a,34b,34c,35a,35b,35c,35d,36a,36b,36c,37a,37b,37c,37d,37e 2値化部、4,4a,4b,4d 位置算出回路、41a,41b 磁極対内位置演算部、42,42a 位置算出部、43 境界域判定部、44 位置補正部、45,445 位相差検出部、46 位相差補正部、441 保持部、442 切換部、469a,469b,469c,469d,469e,469f,469g エッジ検出部、468a,468b,456 論理和回路、454a,454b,454c 補正信号生成部、455a,455b 論理積回路、491a,492a,461a,461b,461c 排他的論理和回路。 1a, 1b Magnetic scale, 2, 2a, 2b Magnetosensitive device, 4 Fixed member, 5 Rotating member, 6 Phase difference detector, 7 Angle calculator, 21, 22, 23, 24, 25, 26, 27 Magnetosensitive element Group, 21a, 21b, 21c, 21d, 22a, 22b, 22c, 23a, 23b, 23c, 23d, 24a, 24b, 24c, 25a, 25b, 25c, 25d, 26a, 26b, 26c, 27a, 27b, 27c, 27d, 27e, 121, 122 Magnetosensitive element, 31a, 31b, 31c, 31d, 32a, 32b, 32c, 33a, 33b, 33c, 33d, 34a, 34b, 34c, 35a, 35b, 35c, 35d, 36a, 36b , 36c, 37a, 37b, 37c, 37d, 37e binarization unit, 4, 4a, 4b, 4d position calculation circuit, 41a, 41b In-pole position calculation unit, 42, 42a Position calculation unit, 43 Boundary area determination unit, 44 Position correction unit, 45, 445 Phase difference detection unit, 46 Phase difference correction unit, 441 Holding unit, 442 Switching unit, 469a, 469b, 469c, 469d, 469e, 469f, 469g Edge detection unit, 468a, 468b, 456 OR circuit, 454a, 454b, 454c Correction signal generation unit, 455a, 455b AND circuit, 491a, 492a, 461a, 461b, 461c Exclusive OR circuit.

Claims (14)

移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第1磁気スケールと、
移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第2磁気スケールと、
前記第1磁気スケールおよび前記第2磁気スケールによって形成される磁場を検出する感磁装置とを備え、
前記感磁装置は、
前記第1磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第1磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第1磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第1感磁素子群と、
前記第2磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第2磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第2磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第2感磁素子群とを含み、
前記第1磁気スケールの磁極数と、前記第2磁気スケールとの磁極の差は2であり、かつ前記第1感磁素子群内の感磁素子の数と前記第1磁気スケールの磁極数との積は、前記第2感磁素子群内の感磁素子の数と前記第2磁気スケールの磁極数との積に等しく、
前記第1感磁素子群の磁場変化の検出結果に基づいて、前記第1磁気スケールの磁極対内を分割した位置を表わす第1の位置情報を求める第1磁極対内位置演算部と、
前記第2感磁素子群の磁場変化の検出結果に基づいて、前記第2磁気スケール磁極対内を分割した位置を表わす第2の位置情報を求める第2磁極対内位置演算部と、
前記第1の位置情報および前記第2の位置情報に基づいて、前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を求める位置算出部と、
前記第1磁気スケールの磁極内の位置情報の位相と前記第2磁気スケールの磁極内の位置情報の位相がずれている境界域を検出する境界域判定部と、
前記境界域の前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を補正する位置補正部とを備えた、磁気式位置検出装置。
A first magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A second magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A magnetic sensing device for detecting a magnetic field formed by the first magnetic scale and the second magnetic scale,
The magnetic sensing device is
The first magnetic scale is opposed to the first magnetic scale with a predetermined gap therebetween, and is relatively moved in the arrangement direction of the first magnetic scale while maintaining the gap in the magnetic field formed by the first magnetic scale. A first magnetosensitive element group for detecting a change in the magnetic field during the relative movement;
The second magnetic scale is opposed to the second magnetic scale with a predetermined gap, and is relatively moved in the arrangement direction of the second magnetic scale while maintaining the gap in the magnetic field formed by the second magnetic scale. And a second magnetosensitive element group for detecting a change in the magnetic field during the relative movement,
The difference between the number of magnetic poles of the first magnetic scale and the number of magnetic poles of the second magnetic scale is 2, and the number of magnetic sensitive elements in the first magnetic sensitive element group and the number of magnetic poles of the first magnetic scale are Is equal to the product of the number of magnetic sensing elements in the second magnetic sensing element group and the number of magnetic poles of the second magnetic scale,
A first magnetic pole pair position calculation unit for obtaining first position information representing a position obtained by dividing the magnetic pole pair of the first magnetic scale based on the detection result of the magnetic field change of the first magnetosensitive element group;
A second magnetic pole pair in-position calculator that obtains second position information representing a position obtained by dividing the second magnetic scale magnetic pole pair based on the detection result of the magnetic field change of the second magnetosensitive element group;
A position calculation unit for determining the position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale based on the first position information and the second position information;
A boundary region determination unit for detecting a boundary region in which the phase of the positional information in the magnetic pole of the first magnetic scale and the phase of the positional information in the magnetic pole of the second magnetic scale are shifted;
A magnetic position detection device comprising: a position correction unit configured to correct the position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale in the boundary region.
前記境界域判定部は、前記第1の位置情報および前記第2の位置情報のそれぞれが奇数であるか、あるいは偶数であるかに基づいて前記境界域を検出する、請求項1記載の磁気式位置検出装置。   The magnetic type according to claim 1, wherein the boundary area determination unit detects the boundary area based on whether each of the first position information and the second position information is an odd number or an even number. Position detection device. 前記位置補正部は、前記安定域の前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を保持し、前記境界域において、前記保持されている直前の安定域の前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を出力する、請求項2記載の磁気式位置検出装置。   The position correction unit holds the position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale in the stable region, and in the boundary region, the first stable region immediately before being held. The magnetic position detection device according to claim 2, wherein the position of the magnetosensitive device relative to the magnetic scale and the second magnetic scale is output. 前記位置補正部は、前記境界域において、前記直前の安定域の前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置が保持されていない場合には、前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を補正しない、請求項3記載の磁気式位置検出装置。   In the boundary area, when the position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale in the immediately preceding stable area is not maintained in the boundary area, the position correcting unit The magnetic position detection device according to claim 3, wherein the position of the magnetosensitive device with respect to the second magnetic scale is not corrected. 前記位置算出部は、前記第1の位置情報および前記第2の位置情報の組み合わせが前記境界域を示す場合に、仮に前記第1磁気スケールの磁極内の位置情報の位相と前記第2磁気スケールの磁極内の位置情報の位相がずれていなければ出力される可能性がある複数の数値の平均値を出力する、請求項4記載の磁気式位置検出装置。   When the combination of the first position information and the second position information indicates the boundary area, the position calculation unit temporarily determines the position information phase in the magnetic pole of the first magnetic scale and the second magnetic scale. The magnetic position detecting device according to claim 4, wherein an average value of a plurality of numerical values that may be outputted if the phase of the position information within the magnetic poles is not shifted is output. 移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第1磁気スケールと、
移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第2磁気スケールと、
前記第1磁気スケールおよび前記第2磁気スケールによって形成される磁場を検出する感磁装置とを備え、
前記感磁装置は、
前記第1磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第1磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第1磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第1感磁素子群、第2感磁素子群および第3感磁素子群と、
前記第2磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第2磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第2磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第4感磁素子群、第5感磁素子群および第6感磁素子群と、
前記第1感磁素子群、前記第2感磁素子群および前記第3感磁素子群に含まれる感磁素子の数は同一であり、前記第4感磁素子群、前記第5感磁素子群および前記第6感磁素子群に含まれる感磁素子の数は同一であり、
前記第1磁気スケールの磁極数と、前記第4磁気スケールとの磁極の差は2であり、かつ前記第1感磁素子群内の感磁素子の数と前記第1磁気スケールの磁極数との積は、前記第4感磁素子群内の感磁素子の数と前記第4磁気スケールの磁極数との積に等しく、
前記第1感磁素子群内の感磁素子および前記第2感磁素子群内の感磁素子、前記第3感磁素子群内の感磁素子がそれぞれ、前記第1磁気スケールの1つの磁極内で間隔を空けて配列され、
前記第2感磁素子群内のそれぞれの感磁素子は、前記第1感磁素子群内の対応する感磁素子に対して、位相が進む方向に、かつ前記第1感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第3感磁素子群内のそれぞれの感磁素子は、前記第1感磁素子群内の対応する感磁素子に対して、位相が遅れる方向に、かつ前記第1感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第4感磁素子群内の感磁素子および前記第5感磁素子群内の感磁素子、前記第6感磁素子群内の感磁素子がそれぞれ、前記第2磁気スケールの1つの磁極内で間隔を空けて配列され、
前記第5感磁素子群内のそれぞれの感磁素子は、前記第4感磁素子群内の対応する感磁素子に対して、位相が進む方向に、かつ前記第4感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第6感磁素子群内のそれぞれの感磁素子は、前記第4感磁素子群内の対応する感磁素子に対して、位相が遅れる方向に、かつ前記第4感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第1感磁素子群、前記第2感磁素子群、前記第3感磁素子群、前記第4感磁素子群、前記第5感磁素子群、および前記第6感磁素子群の磁場変化検出結果に基づいて、前記第1感磁素子群の磁場変化検出結果と前記第4感磁素子群の磁場変化検出結果の位相差を検出する位相差検出部と、
前記検出された位相差に基づいて、前記第1感磁素子群の磁場変化と前記第4感磁素子群の磁場変化の位相が揃うように、前記第4感磁素子群の磁場変化検出結果を補正する位相差補正部と、
前記第1感磁素子群の磁場変化の検出結果に基づいて、前記第1磁気スケールの磁極対内を分割した位置を表わす第1の位置情報を求める第1磁極対内位置演算部と、
前記補正された第4感磁素子群の磁場変化の検出結果に基づいて、前記第2磁気スケールの磁極対内を分割した位置を表わす第2の位置情報を求める第2磁極対内位置演算部と、
前記第1の位置情報および第2の位置情報に基づいて、前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を求める位置算出部とを備えた、磁気式位置検出装置。
A first magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A second magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A magnetic sensing device for detecting a magnetic field formed by the first magnetic scale and the second magnetic scale,
The magnetic sensing device is
The first magnetic scale is opposed to the first magnetic scale with a predetermined gap therebetween, and is relatively moved in the arrangement direction of the first magnetic scale while maintaining the gap in the magnetic field formed by the first magnetic scale. A first magnetosensitive element group, a second magnetosensitive element group, and a third magnetosensitive element group that detect a change in the magnetic field during the relative movement;
The second magnetic scale is opposed to the second magnetic scale with a predetermined gap, and is relatively moved in the arrangement direction of the second magnetic scale while maintaining the gap in the magnetic field formed by the second magnetic scale. A fourth magnetosensitive element group, a fifth magnetosensitive element group, and a sixth magnetosensitive element group that detect a change in the magnetic field during the relative movement;
The number of magnetosensitive elements included in the first magnetosensitive element group, the second magnetosensitive element group, and the third magnetosensitive element group is the same, and the fourth magnetosensitive element group and the fifth magnetosensitive element. The number of magnetosensitive elements included in the group and the sixth magnetosensitive element group is the same,
The difference between the number of magnetic poles of the first magnetic scale and the number of magnetic poles of the fourth magnetic scale is 2, and the number of magnetic sensitive elements in the first magnetic sensitive element group and the number of magnetic poles of the first magnetic scale are Is equal to the product of the number of magnetic sensing elements in the fourth magnetic sensing element group and the number of magnetic poles of the fourth magnetic scale,
The magnetic sensitive element in the first magnetic sensitive element group, the magnetic sensitive element in the second magnetic sensitive element group, and the magnetic sensitive element in the third magnetic sensitive element group are each one magnetic pole of the first magnetic scale. Are arranged at intervals within
Each of the magnetosensitive elements in the second magnetosensitive element group has a phase advance direction relative to the corresponding magnetosensitive element in the first magnetosensitive element group, and in the first magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
Each of the magnetosensitive elements in the third magnetosensitive element group has a phase lagging with respect to the corresponding magnetosensitive element in the first magnetosensitive element group and in the first magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
A magnetic sensitive element in the fourth magnetic sensitive element group, a magnetic sensitive element in the fifth magnetic sensitive element group, and a magnetic sensitive element in the sixth magnetic sensitive element group are each one magnetic pole of the second magnetic scale. Are arranged at intervals within
Each of the magnetosensitive elements in the fifth magnetosensitive element group has a phase advance direction relative to the corresponding magnetosensitive element in the fourth magnetosensitive element group, and in the fourth magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
Each of the magnetosensitive elements in the sixth magnetosensitive element group has a phase lagging with respect to the corresponding magnetosensitive element in the fourth magnetosensitive element group and in the fourth magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
Magnetic fields of the first magnetosensitive element group, the second magnetosensitive element group, the third magnetosensitive element group, the fourth magnetosensitive element group, the fifth magnetosensitive element group, and the sixth magnetosensitive element group A phase difference detector that detects a phase difference between the magnetic field change detection result of the first magnetosensitive element group and the magnetic field change detection result of the fourth magnetosensitive element group based on the change detection result;
Based on the detected phase difference, the magnetic field change detection result of the fourth magnetosensitive element group so that the phase of the magnetic field change of the first magnetosensitive element group and the phase of the magnetic field change of the fourth magnetosensitive element group are aligned. A phase difference correction unit for correcting
A first magnetic pole pair position calculation unit for obtaining first position information representing a position obtained by dividing the magnetic pole pair of the first magnetic scale based on the detection result of the magnetic field change of the first magnetosensitive element group;
A second magnetic pole pair position calculation unit for obtaining second position information representing a position obtained by dividing the magnetic pole pair of the second magnetic scale based on the corrected detection result of the magnetic field change of the fourth magnetosensitive element group;
A magnetic position detection device comprising: a position calculation unit that obtains a position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale based on the first position information and the second position information.
前記第1感磁素子群内の複数の感磁素子は、前記第1磁気スケールの1つの磁極内を前記第1感磁素子群内の感磁素子の数で等分した第1の間隔で配列され、
前記第4感磁素子群内の複数の感磁素子は、前記第2磁気スケールの1つの磁極内を前記第4感磁素子群内の感磁素子の数で等分した第2の間隔で配列され、
前記第1の間隔と前記第2の間隔は、同一である、請求項6記載の磁気式位置検出装置。
The plurality of magnetosensitive elements in the first magnetosensitive element group are at a first interval obtained by equally dividing one magnetic pole of the first magnetic scale by the number of magnetosensitive elements in the first magnetosensitive element group. Arranged,
The plurality of magnetosensitive elements in the fourth magnetosensitive element group are at a second interval obtained by equally dividing one magnetic pole of the second magnetic scale by the number of magnetosensitive elements in the fourth magnetosensitive element group. Arranged,
The magnetic position detection device according to claim 6, wherein the first interval and the second interval are the same.
前記第2感磁素子群内のそれぞれの感磁素子は、前記第1感磁素子群内の対応する感磁素子に対して、前記第1の間隔の1/3の間隔で配列され、
前記第3感磁素子群内のそれぞれの感磁素子は、前記第1感磁素子群内の対応する感磁素子に対して、前記第1の間隔の1/3の間隔で配列され、
前記第5感磁素子群内のそれぞれの感磁素子は、前記第4感磁素子群内の対応する感磁素子に対して、前記第2の間隔の1/3の間隔で配列され、
前記第6感磁素子群内のそれぞれの感磁素子は、前記第4感磁素子群内の対応する感磁素子に対して、前記第2の間隔の1/3の間隔で配列される、請求項7記載の磁気式位置検出装置。
Each of the magnetosensitive elements in the second magnetosensitive element group is arranged at an interval of 1/3 of the first interval with respect to the corresponding magnetosensitive element in the first magnetosensitive element group,
Each of the magnetosensitive elements in the third magnetosensitive element group is arranged at an interval of 1/3 of the first interval with respect to the corresponding magnetosensitive element in the first magnetosensitive element group,
Each of the magnetosensitive elements in the fifth magnetosensitive element group is arranged at an interval of 1/3 of the second interval with respect to the corresponding magnetosensitive element in the fourth magnetosensitive element group,
Each magnetosensitive element in the sixth magnetosensitive element group is arranged at an interval of 1/3 of the second interval with respect to the corresponding magnetosensitive element in the fourth magnetosensitive element group. The magnetic position detection apparatus according to claim 7.
前記位相差検出部は、前記第1感磁素子群、前記第2感磁素子群、前記第3感磁素子群の磁場検出結果に基づいて、前記第1感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号を生成し、
前記第4感磁素子群、前記第5感磁素子群、前記第6感磁素子群の磁場検出結果に基づいて、前記第4感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号を生成し、
前記第1感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号と、前記第4感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号に基づいて、前記位相差を検出する、請求項6〜8のいずれか1項に記載の磁気式位置検出装置。
The phase difference detection unit is configured to detect a magnetic field detection result of the first magnetosensitive element group based on a magnetic field detection result of the first magnetosensitive element group, the second magnetosensitive element group, and the third magnetosensitive element group. Generate a signal immediately before the change point and a signal immediately after the change point,
Based on the magnetic field detection results of the fourth magnetosensitive element group, the fifth magnetosensitive element group, and the sixth magnetosensitive element group, the signal immediately before the change point and the change of the magnetic field detection result of the fourth magnetosensitive element group Generate a signal immediately after the point,
Based on the signal immediately before the change point and the signal immediately after the change point of the magnetic field detection result of the first magnetosensitive element group, and the signal immediately before the change point and the signal immediately after the change point of the magnetic field detection result of the fourth magnetosensitive element group. The magnetic position detection device according to claim 6, wherein the phase difference is detected.
移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第1磁気スケールと、
移動方向に交互に配置された均等な長さの磁極N、磁極Sを含む第2磁気スケールと、
前記第1磁気スケールおよび前記第2磁気スケールによって形成される磁場を検出する感磁装置とを備え、
前記感磁装置は、
前記第1磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第1磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第1磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第1感磁素子群、および第2感磁素子群と、
前記第2磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第2磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第2磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第3感磁素子群、第4感磁素子群および第5感磁素子群と、
前記第2感磁素子群に含まれる感磁素子の数は、前記第1感磁素子群に含まれる感磁素子の数よりも1だけ多く、前記第3感磁素子群、前記第4感磁素子群および前記第5感磁素子群に含まれる感磁素子の数は同一であり、
前記第1磁気スケールの磁極数と、前記第3磁気スケールとの磁極の差は2であり、かつ前記第1感磁素子群内の感磁素子の数と前記第1磁気スケールの磁極数との積は、前記第3感磁素子群内の感磁素子の数と前記第3磁気スケールの磁極数との積に等しく、
前記第1感磁素子群内の感磁素子および前記第2感磁素子群内の感磁素子がそれぞれ、前記第1磁気スケールの1つの磁極内で間隔を空けて配列され、
前記第1感磁素子群内のそれぞれの感磁素子は、前記第2感磁素子群内の2つの感磁素子の間に配列され、
前記第3感磁素子群内の感磁素子、前記第4感磁素子群内の感磁素子、および前記第5感磁素子群内の感磁素子がそれぞれ、前記第2磁気スケールの1つの磁極内で間隔を空けて配列され、
前記第4感磁素子群内のそれぞれの感磁素子は、前記第3感磁素子群内の対応する感磁素子に対して、位相が進む方向に、かつ前記第3感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第5感磁素子群内のそれぞれの感磁素子は、前記第3感磁素子群内の対応する感磁素子に対して、位相が遅れる方向に、かつ前記第3感磁素子群内の感磁素子配列間隔よりも小さい間隔を隔てて配列され、
前記第1感磁素子群、前記第2感磁素子群、前記第3感磁素子群、前記第4感磁素子群、および前記第5感磁素子群の磁場変化検出結果に基づいて、前記第1感磁素子群の磁場変化検出結果と前記第3感磁素子群の磁場変化検出結果の位相差を検出する位相差検出部と、
前記検出された位相差に基づいて、前記第1感磁素子群の磁場変化と前記第3感磁素子群の磁場変化の位相が揃うように、前記第3感磁素子群の磁場変化検出結果を補正する位相差補正部と、
前記第1感磁素子群の磁場変化の検出結果に基づいて、前記第1磁気スケールの磁極対内を分割した位置を表わす第1の位置情報を求める第1磁極対内位置演算部と、
前記補正された第3感磁素子群の磁場変化の検出結果に基づいて、前記第2磁気スケールの磁極対内を分割した位置を表わす第2の位置情報を求める第2磁極対内位置演算部と、
前記第1の位置情報および第2の位置情報に基づいて、前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を求める位置算出部とを備えた、磁気式位置検出装置。
A first magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A second magnetic scale including magnetic poles N and S of equal length alternately arranged in the moving direction;
A magnetic sensing device for detecting a magnetic field formed by the first magnetic scale and the second magnetic scale,
The magnetic sensing device is
The first magnetic scale is opposed to the first magnetic scale with a predetermined gap therebetween, and is relatively moved in the arrangement direction of the first magnetic scale while maintaining the gap in the magnetic field formed by the first magnetic scale. A first magnetosensitive element group that detects a change in the magnetic field during the relative movement, and a second magnetosensitive element group;
The second magnetic scale is opposed to the second magnetic scale with a predetermined gap, and is relatively moved in the arrangement direction of the second magnetic scale while maintaining the gap in the magnetic field formed by the second magnetic scale. A third magnetosensitive element group, a fourth magnetosensitive element group, and a fifth magnetosensitive element group that detect a change in the magnetic field during the relative movement;
The number of magnetosensitive elements included in the second magnetosensitive element group is one more than the number of magnetosensitive elements included in the first magnetosensitive element group, and the third magnetosensitive element group and the fourth magnetosensitive element group are included. The number of magnetic elements included in the magnetic element group and the fifth magnetic element group is the same,
The difference between the number of magnetic poles of the first magnetic scale and the number of magnetic poles of the third magnetic scale is 2, and the number of magnetic sensitive elements in the first magnetic sensitive element group and the number of magnetic poles of the first magnetic scale are Is equal to the product of the number of magnetic sensing elements in the third magnetic sensing element group and the number of magnetic poles of the third magnetic scale,
The magnetic sensitive elements in the first magnetic sensitive element group and the magnetic sensitive elements in the second magnetic sensitive element group are each arranged with an interval in one magnetic pole of the first magnetic scale,
Each magnetosensitive element in the first magnetosensitive element group is arranged between two magnetosensitive elements in the second magnetosensitive element group,
The magnetosensitive elements in the third magnetosensitive element group, the magnetosensitive elements in the fourth magnetosensitive element group, and the magnetosensitive elements in the fifth magnetosensitive element group are each one of the second magnetic scales. Arranged in the magnetic poles at intervals,
Each magnetosensitive element in the fourth magnetosensitive element group has a phase advance direction relative to the corresponding magnetosensitive element in the third magnetosensitive element group, and in the third magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
Each magnetosensitive element in the fifth magnetosensitive element group has a phase lagging with respect to the corresponding magnetosensitive element in the third magnetosensitive element group, and in the third magnetosensitive element group. Arranged at an interval smaller than the magnetosensitive element arrangement interval,
Based on the magnetic field change detection results of the first magnetosensitive element group, the second magnetosensitive element group, the third magnetosensitive element group, the fourth magnetosensitive element group, and the fifth magnetosensitive element group, A phase difference detection unit for detecting a phase difference between a magnetic field change detection result of the first magnetosensitive element group and a magnetic field change detection result of the third magnetosensitive element group;
Based on the detected phase difference, the magnetic field change detection result of the third magnetosensitive element group so that the phase of the magnetic field change of the first magnetosensitive element group and the phase of the magnetic field change of the third magnetosensitive element group are aligned. A phase difference correction unit for correcting
A first magnetic pole pair position calculation unit for obtaining first position information representing a position obtained by dividing the magnetic pole pair of the first magnetic scale based on the detection result of the magnetic field change of the first magnetosensitive element group;
A second magnetic pole pair position calculation unit for obtaining second position information representing a position obtained by dividing the magnetic pole pair of the second magnetic scale based on the corrected detection result of the magnetic field change of the third magnetic sensing element group;
A magnetic position detection device comprising: a position calculation unit that obtains a position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale based on the first position information and the second position information.
前記第1感磁素子群内の複数の感磁素子は、前記第1磁気スケールの1つの磁極内を前記第1感磁素子群内の感磁素子の数で等分した第1の間隔で配列され、
前記第3感磁素子群内の複数の感磁素子は、前記第2磁気スケールの1つの磁極内を前記第3感磁素子群内の感磁素子の数で等分した第2の間隔で配列され、
前記第1の間隔と前記第2の間隔は、同一である、請求項10記載の磁気式位置検出装置。
The plurality of magnetosensitive elements in the first magnetosensitive element group are at a first interval obtained by equally dividing one magnetic pole of the first magnetic scale by the number of magnetosensitive elements in the first magnetosensitive element group. Arranged,
The plurality of magnetosensitive elements in the third magnetosensitive element group are at a second interval obtained by equally dividing one magnetic pole of the second magnetic scale by the number of magnetosensitive elements in the third magnetosensitive element group. Arranged,
The magnetic position detection device according to claim 10, wherein the first interval and the second interval are the same.
前記第2感磁素子群内のそれぞれの感磁素子は、前記第1感磁素子群内の隣接する感磁素子に対して、前記第1の間隔の1/2の間隔で配列され、
前記第4感磁素子群内のそれぞれの感磁素子は、前記第3感磁素子群内の対応する感磁素子に対して、前記第2の間隔の1/3の間隔で配列され、
前記第5感磁素子群内のそれぞれの感磁素子は、前記第3感磁素子群内の対応する感磁素子に対して、前記第2の間隔の1/3の間隔で配列される、請求項11記載の磁気式位置検出装置。
Each of the magnetosensitive elements in the second magnetosensitive element group is arranged at an interval of ½ of the first interval with respect to an adjacent magnetosensitive element in the first magnetosensitive element group,
Each of the magnetosensitive elements in the fourth magnetosensitive element group is arranged at an interval of 1/3 of the second interval with respect to the corresponding magnetosensitive element in the third magnetosensitive element group,
Each magnetosensitive element in the fifth magnetosensitive element group is arranged at an interval of 1/3 of the second interval with respect to the corresponding magnetosensitive element in the third magnetosensitive element group. The magnetic position detection device according to claim 11.
前記位相差検出部は、前記第1感磁素子群、前記第2感磁素子群の磁場検出結果に基づいて、前記第1感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号を生成し、
前記第3感磁素子群、前記第4感磁素子群、前記第5感磁素子群の磁場検出結果に基づいて、前記第3感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号を生成し、
前記第1感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号と、前記第3感磁素子群の磁場検出結果の変化点の直前信号および変化点の直後信号に基づいて、前記位相差を検出する、請求項10〜12のいずれか1項に記載の磁気式位置検出装置。
The phase difference detection unit includes a signal and a change point immediately before the change point of the magnetic field detection result of the first magnetosensitive element group based on the magnetic field detection result of the first magnetosensitive element group and the second magnetosensitive element group. Generates a signal immediately after
Based on the magnetic field detection results of the third magnetosensitive element group, the fourth magnetosensitive element group, and the fifth magnetosensitive element group, signals and changes immediately before the change point of the magnetic field detection result of the third magnetosensitive element group Generate a signal immediately after the point,
Based on the signal immediately before the change point and the signal immediately after the change point of the magnetic field detection result of the first magnetosensitive element group, and the signal immediately before the change point and the signal immediately after the change point of the magnetic field detection result of the third magnetosensitive element group. The magnetic position detection device according to claim 10, wherein the phase difference is detected.
第1磁気スケール、第2磁気スケール、および感磁装置を用いた磁気検出方法であって、
前記第1磁気スケールおよび前記第2磁気スケールは、それぞれ、移動方向に交互に配置された均等な長さの磁極N、磁極Sを含み、前記感磁装置は、前記第1磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第1磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第1磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第1感磁素子群と、前記第2磁気スケールに対して予め定めた空隙を隔てて対向配置され、前記第2磁気スケールによって形成される磁場の中を前記空隙を維持しながら、前記第2磁気スケールの配列方向に相対移動し、前記相対移動の際の前記磁場の変化を検出する第2感磁素子群とを含み、前記第1磁気スケールの磁極数と、前記第2磁気スケールとの磁極の差は2であり、かつ前記第1感磁素子群内の感磁素子の数と前記第1磁気スケールの磁極数との積は、前記第2感磁素子群内の感磁素子の数と前記第2磁気スケールの磁極数との積に等しく、
前記第1感磁素子群の磁場変化の検出結果に基づいて、前記第1磁気スケールの磁極対内を分割した位置を表わす第1の位置情報を求めるステップと、
前記第2感磁素子群の磁場変化の検出結果に基づいて、前記第2磁気スケール磁極対内を分割した位置を表わす第2の位置情報を求めるステップと、
前記第1の位置情報および前記第2の位置情報に基づいて、前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を求めるステップと、
前記第1磁気スケールの磁極内の位置情報の位相と前記第2磁気スケールの磁極内の位置情報の位相がずれている境界域を検出するステップと、
前記境界域の前記第1磁気スケールおよび前記第2磁気スケールに対する前記感磁装置の位置を補正するステップとを備えた、磁気式位置検出方法。
A magnetic detection method using a first magnetic scale, a second magnetic scale, and a magnetosensitive device,
Each of the first magnetic scale and the second magnetic scale includes magnetic poles N and S having equal lengths alternately arranged in the moving direction, and the magnetic sensitive device is arranged with respect to the first magnetic scale. Oppositely arranged across a predetermined gap, and relative movement in the arrangement direction of the first magnetic scale while maintaining the gap in the magnetic field formed by the first magnetic scale, A first magnetosensitive element group that detects a change in the magnetic field and a second gap that is opposed to the second magnetic scale, and the gap is formed in the magnetic field formed by the second magnetic scale. A second magnetosensitive element group that relatively moves in the arrangement direction of the second magnetic scale and detects a change in the magnetic field during the relative movement while maintaining the number of magnetic poles of the first magnetic scale, Said second magnetism The difference between the magnetic pole and the kale is 2, and the product of the number of the magnetic sensing elements in the first magnetic sensing element group and the number of the magnetic poles of the first magnetic scale is the sensitivity in the second magnetic sensing element group. Equal to the product of the number of magnetic elements and the number of magnetic poles of the second magnetic scale,
Obtaining first position information representing a position obtained by dividing a magnetic pole pair of the first magnetic scale based on a detection result of a magnetic field change of the first magnetosensitive element group;
Obtaining second position information representing a position obtained by dividing the inside of the second magnetic scale magnetic pole pair based on the detection result of the magnetic field change of the second magnetosensitive element group;
Obtaining a position of the magnetic sensitive device with respect to the first magnetic scale and the second magnetic scale based on the first position information and the second position information;
Detecting a boundary region where a phase of position information in the magnetic pole of the first magnetic scale and a phase of position information in the magnetic pole of the second magnetic scale are shifted;
And correcting the position of the magnetosensitive device with respect to the first magnetic scale and the second magnetic scale in the boundary area.
JP2015020024A 2015-02-04 2015-02-04 Magnetic position detection device and magnetic position detection method Active JP6208160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015020024A JP6208160B2 (en) 2015-02-04 2015-02-04 Magnetic position detection device and magnetic position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015020024A JP6208160B2 (en) 2015-02-04 2015-02-04 Magnetic position detection device and magnetic position detection method

Publications (2)

Publication Number Publication Date
JP2016142671A JP2016142671A (en) 2016-08-08
JP6208160B2 true JP6208160B2 (en) 2017-10-04

Family

ID=56570358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015020024A Active JP6208160B2 (en) 2015-02-04 2015-02-04 Magnetic position detection device and magnetic position detection method

Country Status (1)

Country Link
JP (1) JP6208160B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6953772B2 (en) * 2017-04-13 2021-10-27 株式会社ニコン Error detection method, error detection program, error detection device, manufacturing method of encoder device, encoder device, drive device, stage device, and robot device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7215112B1 (en) * 2005-11-07 2007-05-08 Delphi Technologies, Inc. Non-contact linear absolute position sensor
JP5671255B2 (en) * 2009-06-30 2015-02-18 Ntn株式会社 Rotation angle detection device for motor for driving automobile and bearing with rotation angle detection device
JP5434850B2 (en) * 2010-08-19 2014-03-05 Tdk株式会社 Rotation angle / torque sensor

Also Published As

Publication number Publication date
JP2016142671A (en) 2016-08-08

Similar Documents

Publication Publication Date Title
JP6072234B2 (en) Magnetic position detecting device and magnetic position detecting method
US9476899B2 (en) Circuits and methods for generating a threshold signal used in a motion detector in accordance with a least common multiple of a set of possible quantities of features upon a target
US8890518B2 (en) Arrangements for self-testing a circular vertical hall (CVH) sensing element and/or for self-testing a magnetic field sensor that uses a circular vertical hall (CVH) sensing element
US7295000B2 (en) Method for detecting disturbances when determining the rotational speed of a rotor and evaluation circuit
US8598867B2 (en) Circuits and methods for generating a threshold signal used in a motion detector
US20180231399A1 (en) Rotary encoder and absolute angular position detection method thereof
US10119841B2 (en) Magnetic position detection device and magnetic position detection method
US10557723B2 (en) Apparatus for detecting an angle of rotation
JP2018151181A (en) Magnetic position detecting device
JP2012118064A (en) Monitoring unit and method for monitoring position signal of incremental position measuring mechanism
JP6208160B2 (en) Magnetic position detection device and magnetic position detection method
US10627256B2 (en) Rotation angle detecting device
US9772198B2 (en) Displacement sensor and displacement detection method
JP6634277B2 (en) Position detection device
JP6261380B2 (en) Optical encoder
JP2005315764A (en) Rotational angular velocity detecting apparatus
JP5800086B2 (en) Position detector
JP2010539506A (en) Sequential reading type absolute position sensor
JP6507347B2 (en) Capacitance type angle detector
US10907989B2 (en) Device and a method for processing a measurement signal from a magnetic field sensor
JPWO2018079014A1 (en) Incremental encoder pulse conversion device and pulse conversion method
JP2009008638A (en) Linear absolute displacement sensor
JP2021076471A (en) Rotation detector
JP2016053570A (en) Absolute type encoder
JP2020026962A (en) Output signal abnormality detection device of angle detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170726

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170906

R150 Certificate of patent or registration of utility model

Ref document number: 6208160

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250