JP6546882B2 - Position detection device and actuator - Google Patents

Position detection device and actuator Download PDF

Info

Publication number
JP6546882B2
JP6546882B2 JP2016111311A JP2016111311A JP6546882B2 JP 6546882 B2 JP6546882 B2 JP 6546882B2 JP 2016111311 A JP2016111311 A JP 2016111311A JP 2016111311 A JP2016111311 A JP 2016111311A JP 6546882 B2 JP6546882 B2 JP 6546882B2
Authority
JP
Japan
Prior art keywords
value
magnetic field
magnet
position detection
area
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
JP2016111311A
Other languages
Japanese (ja)
Other versions
JP2017219320A (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.)
Koganei Corp
Original Assignee
Koganei 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 Koganei Corp filed Critical Koganei Corp
Priority to JP2016111311A priority Critical patent/JP6546882B2/en
Priority to EP17806234.5A priority patent/EP3450926B1/en
Priority to PCT/JP2017/016081 priority patent/WO2017208674A1/en
Priority to CN201790000898.XU priority patent/CN208984091U/en
Priority to US16/305,471 priority patent/US10859403B2/en
Publication of JP2017219320A publication Critical patent/JP2017219320A/en
Application granted granted Critical
Publication of JP6546882B2 publication Critical patent/JP6546882B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Actuator (AREA)

Description

本発明は、往復作動部材の位置を検出する位置検出装置および位置検出装置を備えたアクチュエータに関する。   The present invention relates to a position detection device for detecting the position of a reciprocating member and an actuator provided with the position detection device.

被加工物や治具等の被駆動部材を駆動するためにアクチュエータが使用され、さらに、被加工物等を把持するハンドを被駆動部材としてハンドを開閉駆動するためにもアクチュエータが使用される。アクチュエータは、空気圧や液体圧により駆動される往復作動部材を有し、往復作動部材は被駆動部材に連結される。このようなアクチュエータにおいては、往復作動部材に磁石が装着され、磁石の磁界を検出する磁気抵抗素子が設けられたセンサヘッドが、アクチュエータ本体に取り付けられる。このように、磁気抵抗素子の出力信号に基づいて往復作動部材の位置を検出することができる。   An actuator is used to drive a driven member such as a workpiece or a jig, and the actuator is also used to open and close a hand using the hand holding a workpiece or the like as a driven member. The actuator has a reciprocating member driven by air pressure or liquid pressure, and the reciprocating member is connected to the driven member. In such an actuator, a magnet is attached to the reciprocating member, and a sensor head provided with a magnetoresistive element for detecting the magnetic field of the magnet is attached to the actuator body. Thus, the position of the reciprocating member can be detected based on the output signal of the magnetoresistive element.

特許文献1は、磁気抵抗素子がセンサヘッド内の2箇所に設けられた磁気リニア測定装置を開示している。2つの磁気抵抗素子は、ピストンの移動方向に相互にずれた位置に設けられている。この磁気リニア測定装置においては、往復作動部材であるピストンの移動により、磁石が2箇所の磁気抵抗素子の間の位置となったときに、ピストンの位置が検出される。また、特許文献2は、相互に直交方向に配置された2つの磁気抵抗素子を備え、流体圧シリンダのピストン位置を検出する位置検出装置を開示している。この位置検出装置においては、磁気抵抗素子からの出力電圧が周囲温度の変化によって変動することを、温度補償回路により補償している。さらに、特許文献3は、アクチュエータ本体に設けられたセンサヘッドに、移動部材の位置に応じて点灯するLEDを設けた位置検出装置を開示している。この位置検出装置の磁気センサは、それぞれ4つの磁気抵抗素子からなる2つの磁気抵抗ブリッジ回路を有し、それぞれの磁気抵抗ブリッジ回路は、磁石の移動方向に位相差を持った出力信号を出力する。   Patent Document 1 discloses a magnetic linear measurement device in which magnetoresistive elements are provided at two places in a sensor head. The two magnetoresistive elements are provided at mutually offset positions in the moving direction of the piston. In this magnetic linear measuring device, the position of the piston is detected when the magnet reaches a position between the two magnetoresistive elements by the movement of the piston which is a reciprocating member. Further, Patent Document 2 discloses a position detection device that includes two magnetoresistive elements arranged in directions orthogonal to each other and detects a piston position of a fluid pressure cylinder. In this position detection device, the temperature compensation circuit compensates for the change in the output voltage from the magnetoresistive element due to the change in the ambient temperature. Further, Patent Document 3 discloses a position detection device in which an LED which is turned on according to the position of a moving member is provided on a sensor head provided in an actuator body. The magnetic sensor of this position detection device has two magnetoresistive bridge circuits each consisting of four magnetoresistive elements, and each of the magnetoresistive bridge circuits outputs an output signal having a phase difference in the moving direction of the magnet .

特開2009−128301号公報JP, 2009-128301, A 特開平11−303818号公報Unexamined-Japanese-Patent No. 11-303818 gazette 特開2010−48698号公報JP, 2010-48698, A

特許文献1のように、往復作動部材の移動方向の異なる2つの位置に2つの磁気抵抗素子を設けると、往復作動部材が磁気抵抗素子の間を移動するときにのみ位置検出可能であり、素子間外に移動部材が移動するときには位置を特定することができない。また、特許文献2においては、2つの磁気抵抗素子の中点電圧が大小2つの基準電圧の範囲となったときに、オン信号を出力するようにしており、往復作動部材がある範囲内に位置しているか否かを検出しており、往復作動部材の位置をリニアに特定することができない。さらに、特許文献3においては、2つの磁気抵抗ブリッジ回路からの出力電圧に基づいて往復作動部材の位置を演算しており、往復作動部材の位置を高精度で検出することができるが、位置検出することができる範囲は限られている。   If two magnetoresistive elements are provided at two different positions in the moving direction of the reciprocating member as in Patent Document 1, the position can be detected only when the reciprocating member moves between the magnetoresistive elements. When the moving member moves out of the space, the position can not be specified. Moreover, in patent document 2, when the middle point voltage of two magnetoresistive elements becomes the range of two large and small reference voltages, it is made to output an ON signal, and a reciprocation member is located in the range which exists The position of the reciprocating member can not be specified linearly. Furthermore, in Patent Document 3, the position of the reciprocating member is calculated based on the output voltages from the two magnetoresistive bridge circuits, and the position of the reciprocating member can be detected with high accuracy. The range that can be done is limited.

本発明の目的は、往復作動部材に設けられた磁石の位置を長い距離の範囲において検出できる位置検出装置を提供することにある。   An object of the present invention is to provide a position detection device capable of detecting the position of a magnet provided on a reciprocating member in a long distance range.

本発明の位置検出装置は、磁化方向に移動する磁石の位置を検出する位置検出装置であって、前記磁化方向である第1方向の磁界に最大感度を有する磁気抵抗素子、および前記第1方向に直交する第2方向の磁界に最大感度を有する磁気抵抗素子を備え、SIN信号を出力する第1ブリッジ回路と、前記第1方向に対して45度傾く第3方向に最大感度を有する磁気抵抗素子、および前記第3方向に直交する第4方向に最大感度を有する磁気抵抗素子を備え、COS信号を出力する第2ブリッジ回路と、磁界の方向に応じた出力信号を出力し、最大感度方向が前記第2の方向に沿うように配置される磁界方向検出センサと、前記磁石が、前記第1ブリッジ回路と前記第2ブリッジ回路の中心部に対して、移動方向一方側の領域に位置しているか、移動方向他方側の領域に位置しているかを、前記磁界方向検出センサの出力電圧の極性によって判別する領域判別手段と、を有する。   A position detection device according to the present invention is a position detection device for detecting the position of a magnet moving in a magnetization direction, and a magnetoresistive element having maximum sensitivity to a magnetic field in a first direction which is the magnetization direction, and the first direction And a first bridge circuit outputting a SIN signal, and a magnetoresistive element having a maximum sensitivity in a third direction inclined 45 degrees with respect to the first direction. Element, and a second bridge circuit for outputting a COS signal, and an output signal corresponding to the direction of the magnetic field, the element including the magnetoresistive element having the maximum sensitivity in the fourth direction orthogonal to the third direction, and the maximum sensitivity direction A magnetic field direction detection sensor disposed so as to be along the second direction, and the magnet is positioned in a region on one side in the moving direction with respect to the central portion of the first bridge circuit and the second bridge circuit ing , Or are located in the region of the moving direction other side, having a region discriminating means for discriminating the polarity of the output voltage of the magnetic field direction detection sensor.

最大感度方向が45度異なる2つの磁気抵抗素子のブリッジ回路は、それぞれSIN信号とCOS信号を出力する。その2つの信号からATAN2値が演算される。磁気方向検出センサの出力電圧により、第1ブリッジ回路と第2ブリッジ回路の中心部に対して磁石が軸方向一方側の領域に位置しているか他方側の領域に位置しているか、領域判定される。
ATAN2値と領域判別信号とに基づいて、ATAN2値を主領域値とシフト領域値とに区分けしてシフト処理し、磁石の位置に対応する信号を出力する。これにより、往復作動部材に設けられた磁石の位置を長い距離の範囲において検出することができる。
The bridge circuit of two magnetoresistive elements whose maximum sensitivity directions are different by 45 degrees respectively outputs a SIN signal and a COS signal. The ATAN2 value is calculated from the two signals. The output voltage of the magnetic direction detection sensor makes it possible to determine whether the magnet is positioned in the area on one side in the axial direction or in the area on the other side with respect to the central part of the first bridge circuit and the second bridge circuit. Ru.
Based on the ATAN2 value and the area discrimination signal, the ATAN2 value is divided into the main area value and the shift area value, and shift processing is performed, and a signal corresponding to the position of the magnet is output. Thereby, the position of the magnet provided in the reciprocating member can be detected in the range of a long distance.

位置検出装置が設けられたアクチュエータの一例を示す縦断面図である。It is a longitudinal cross-sectional view which shows an example of the actuator in which the position detection apparatus was provided. 図1の平面図である。It is a top view of FIG. 磁気抵抗素子のパターンを示す平面図である。It is a top view which shows the pattern of a magnetoresistive element. (A)は図3に示された磁気抵抗素子パターンの一部を相互に接続した第1ブリッジ回路を示す回路図であり、(B)は図3に示された磁気抵抗素子パターンの一部を相互に接続した第2ブリッジ回路を示す回路図である。(A) is a circuit diagram showing a first bridge circuit in which parts of the magnetoresistive element patterns shown in FIG. 3 are connected to each other, and (B) is a part of the magnetoresistive element patterns shown in FIG. 3 Are connected to each other, and are a circuit diagram showing a second bridge circuit. (A)〜(C)は磁石の磁界とホール素子の感度方向を示す概略図である。(A)-(C) are schematic which shows the magnetic field of a magnet, and the sensitivity direction of a Hall element. 位置検出装置のブロック図である。It is a block diagram of a position detection device. 磁石位置に対応する、位置検出装置の内部信号および計算値の一例を示すグラフであり、(A)は磁気抵抗ブリッジ回路から出力されるSIN信号とCOS信号を示し、(B)はSIN信号の絶対値とCOS信号の絶対値との加算値を示し、(C)はホール素子の出力電圧に基づく領域判別信号を示し、(D)はSIN信号とCOS信号とに基づいて得られるATAN2値を示し、(E)は主領域値にシフト領域値を付加した拡大出力信号を示す。It is a graph which shows an example of an internal signal and a calculated value of a position sensing device corresponding to a magnet position, (A) shows SIN signal and COS signal outputted from a magnetoresistive bridge circuit, (B) shows a SIN signal The sum of the absolute value and the absolute value of the COS signal is shown, (C) shows the area discrimination signal based on the output voltage of the Hall element, and (D) shows the ATAN2 value obtained based on the SIN signal and the COS signal. (E) shows an enlarged output signal in which the shift area value is added to the main area value. 図7の要部を示す拡大図である。It is an enlarged view which shows the principal part of FIG. 変形例である位置検出装置のブロック図である。It is a block diagram of the position detection apparatus which is a modification. 領域判別可能範囲を検出するための近接センサの出力波形を示す特性線図である。FIG. 7 is a characteristic diagram showing an output waveform of a proximity sensor for detecting an area distinguishable range. (A)〜(E)は磁石の磁界と磁気センサの感度方向を示す概略図である。(A)-(E) are schematic which shows the magnetic field of a magnet, and the sensitivity direction of a magnetic sensor. 図11に示した磁気センサを有する位置検出装置のブロック図である。It is a block diagram of a position detection apparatus which has a magnetic sensor shown in FIG. 位置検出装置が設けられるアクチュエータの変形例を示す断面図である。It is sectional drawing which shows the modification of the actuator in which a position detection apparatus is provided.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。図1および図2に示されるアクチュエータ10は、アクチュエータ本体としてのシリンダ11を有する。往復動作部材としてのピストン12が、シリンダ11内に軸方向に往復移動自在に装着される。シリンダ11およびピストン12はアルミニウム合金等の非磁性材料により形成されており、ピストンロッド13がピストン12に設けられている。シリンダ11の圧力室14にポート14aから圧縮空気が供給されると、ピストンロッド13はシリンダ11から突出する方向に駆動される。一方、シリンダ11の圧力室15にポート15aから圧縮空気が供給されると、ピストンロッド13はシリンダ11内に引っ込む方向に駆動される。ピストン12において、ピストンロッド13が突出する端面がロッド側であり、反対側がヘッド側である。   Hereinafter, embodiments of the present invention will be described in detail based on the drawings. The actuator 10 shown in FIGS. 1 and 2 has a cylinder 11 as an actuator body. A piston 12 as a reciprocating member is axially reciprocably mounted in the cylinder 11. The cylinder 11 and the piston 12 are formed of a nonmagnetic material such as an aluminum alloy, and the piston rod 13 is provided on the piston 12. When compressed air is supplied from the port 14 a to the pressure chamber 14 of the cylinder 11, the piston rod 13 is driven in a direction to protrude from the cylinder 11. On the other hand, when compressed air is supplied from the port 15 a to the pressure chamber 15 of the cylinder 11, the piston rod 13 is driven in the direction to retract into the cylinder 11. In the piston 12, the end face from which the piston rod 13 protrudes is the rod side, and the opposite side is the head side.

環状の磁石16がピストン12に設けられる。磁石16はピストン12の外周面に設けられた環状溝に装着される。磁石16は、ピストン12の移動方向に磁化されており、ピストン12により磁化方向に移動する。磁石16は、例えば、ロッド側がS極、ヘッド側がN極であり、図1において符号Hで示す磁界が磁石16により生成される。   An annular magnet 16 is provided on the piston 12. The magnet 16 is mounted in an annular groove provided on the outer peripheral surface of the piston 12. The magnet 16 is magnetized in the moving direction of the piston 12 and moves in the magnetization direction by the piston 12. The magnet 16 has, for example, an S pole on the rod side and an N pole on the head side, and a magnetic field indicated by symbol H in FIG. 1 is generated by the magnet 16.

シリンダ11に対する磁石16の軸方向位置を検出するために、センサヘッド21がシリンダ11に装着される。磁石16の軸方向位置が検出されると、ピストン12の軸方向位置を検出することができる。プリント配線基板22がセンサヘッド21の内部に設けられている。プリント配線基板22はピストン12の径方向外方に向けて設けられる。つまり、プリント配線基板22はシリンダ11に対して垂直に設けられる。また、プリント配線基板22はピストン12の往復動方向に沿って伸びている。プリント配線基板22は表裏両面に部品搭載面23,24を有し、一方の部品搭載面23に磁気抵抗ブリッジ回路25が搭載され、他方の部品搭載面24に磁界方向検出センサとしてホール素子26が搭載される。   A sensor head 21 is mounted on the cylinder 11 in order to detect the axial position of the magnet 16 relative to the cylinder 11. When the axial position of the magnet 16 is detected, the axial position of the piston 12 can be detected. A printed wiring board 22 is provided inside the sensor head 21. The printed wiring board 22 is provided radially outward of the piston 12. That is, the printed wiring board 22 is provided perpendicularly to the cylinder 11. Further, the printed wiring board 22 extends along the reciprocating direction of the piston 12. The printed wiring board 22 has component mounting surfaces 23 and 24 on both front and back surfaces, the magnetoresistive bridge circuit 25 is mounted on one of the component mounting surfaces 23, and the Hall element 26 is on the other component mounting surface 24 as a magnetic field direction detection sensor. Will be mounted.

図3は磁気抵抗ブリッジ回路25のパターンを示す平面図である。図4(A)は図3に示された磁気抵抗素子のうち、R1,R2,R3,R4を相互に接続してブリッジ回路を構成した第1ブリッジ回路31を示す。図4(B)は図3に示された磁気抵抗素子のうち、R5,R6,R7,R8を相互に接続してブリッジ回路を構成した第2ブリッジ回路32を示す。   FIG. 3 is a plan view showing a pattern of the magnetoresistive bridge circuit 25. As shown in FIG. FIG. 4A shows a first bridge circuit 31 in which a bridge circuit is formed by mutually connecting R1, R2, R3 and R4 among the magnetoresistance elements shown in FIG. FIG. 4B shows a second bridge circuit 32 in which the bridge circuit is formed by mutually connecting R5, R6, R7, and R8 among the magnetoresistance elements shown in FIG.

磁気抵抗素子パターンは、磁気抵抗材料を基板層27に成膜した後、微細加工技術を用いて所定形状にパターニングされる。それぞれの磁気抵抗素子パターンは、長い短冊状のパターンと、短い短冊状のパターンとを交互に直交させて接続することにより、ミアンダ状に形成される。それぞれの磁気抵抗素子においては、長い短冊状のパターンに直交する方向に印加される磁界の変化に対して抵抗値の変化が最も大きく、最大感度を有する。これに対し、長い短冊状のパターンに沿う方向に印加される磁界の変化に対して抵抗値の変化が最も小さい。   The magnetoresistive element pattern is formed into a film of a magnetoresistive material on the substrate layer 27 and then patterned into a predetermined shape using a fine processing technique. The respective magnetoresistive element patterns are formed in a meander shape by alternately connecting a long strip-shaped pattern and a short strip-shaped pattern at right angles. In each of the magnetoresistive elements, the change in the resistance value is the largest with respect to the change in the magnetic field applied in the direction orthogonal to the long strip-like pattern, and has the maximum sensitivity. On the other hand, the change in the resistance value is the smallest with respect to the change in the magnetic field applied in the direction along the long strip pattern.

第1ブリッジ回路31は、図4(A)に示されるように、印加される磁界の方向を第1方向M1とすると、第1の磁気抵抗素子R1は第1方向M1の磁界に最大感度を有する。一方、第2の磁気抵抗素子R2は第1方向M1に直交する第2方向M2の磁界に最大感度を有する。同様に、第3の磁気抵抗素子R3は第1方向M1の磁界に最大感度を有し、第4の磁気抵抗素子R4は第2方向M2の磁界に最大感度を有する。   In the first bridge circuit 31, as shown in FIG. 4A, assuming that the direction of the applied magnetic field is the first direction M1, the first magnetoresistance element R1 has maximum sensitivity to the magnetic field in the first direction M1. Have. On the other hand, the second magnetoresistance element R2 has maximum sensitivity to the magnetic field in the second direction M2 orthogonal to the first direction M1. Similarly, the third magnetoresistance element R3 has maximum sensitivity to the magnetic field in the first direction M1, and the fourth magnetoresistance element R4 has maximum sensitivity to the magnetic field in the second direction M2.

第1の磁気抵抗素子R1と第4の磁気抵抗素子R4は、配線パターン35bにより直列に接続されて第1の回路パターンである第1のハーフブリッジ31aを構成する。第2の磁気抵抗素子R2と第3の磁気抵抗素子R3は、配線パターン35aにより直列に接続されて第2の回路パターンである第2のハーフブリッジ31bを構成する。   The first magnetoresistance element R1 and the fourth magnetoresistance element R4 are connected in series by the wiring pattern 35b to form a first half bridge 31a which is a first circuit pattern. The second magnetoresistance element R2 and the third magnetoresistance element R3 are connected in series by the wiring pattern 35a to form a second half bridge 31b which is a second circuit pattern.

配線パターン33aの接続端34aには電源電圧Vccが印加され、配線パターン33bの接続端34bはグランドGndに接続される。それぞれの配線パターン35a,35bの接続端36a,36bから出力電圧A,Bが取り出される。このように、第1ブリッジ回路31は4つの磁気抵抗素子を備えたフルブリッジ回路である。   The power supply voltage Vcc is applied to the connection end 34a of the wiring pattern 33a, and the connection end 34b of the wiring pattern 33b is connected to the ground Gnd. Output voltages A and B are taken out from the connection ends 36a and 36b of the respective wiring patterns 35a and 35b. Thus, the first bridge circuit 31 is a full bridge circuit provided with four magnetoresistance elements.

第2ブリッジ回路32は、図4(B)に示されるように、第5の磁気抵抗素子R5は第1方向M1に対して45度傾いた第3方向M3の磁界に最大感度を有する。一方、第6の磁気抵抗素子R6は第3方向M3に直交する第4方向M4の磁界に最大感度を有する。同様に、第7の磁気抵抗素子R7は第3方向M3の磁界に最大感度を有し、第8の磁気抵抗素子R8は第4方向M4の磁界に最大感度を有する。   In the second bridge circuit 32, as shown in FIG. 4B, the fifth magnetoresistance element R5 has the maximum sensitivity to the magnetic field in the third direction M3 inclined 45 degrees with respect to the first direction M1. On the other hand, the sixth magnetoresistance element R6 has the maximum sensitivity to the magnetic field in the fourth direction M4 orthogonal to the third direction M3. Similarly, the seventh magnetoresistance element R7 has maximum sensitivity to the magnetic field in the third direction M3, and the eighth magnetoresistance element R8 has maximum sensitivity to the magnetic field in the fourth direction M4.

第5の磁気抵抗素子R5と第8の磁気抵抗素子R8は、配線パターン39bにより直列に接続されて第3の回路パターンである第3のハーフブリッジ32aを構成する。第6の磁気抵抗素子R6と第7の磁気抵抗素子R7は、配線パターン39aにより直列に接続されて第4の回路パターンである第4のハーフブリッジ32bを構成する。   The fifth magnetoresistive element R5 and the eighth magnetoresistive element R8 are connected in series by the wiring pattern 39b to form a third half bridge 32a which is a third circuit pattern. The sixth magnetoresistance element R6 and the seventh magnetoresistance element R7 are connected in series by the wiring pattern 39a to form a fourth half bridge 32b which is a fourth circuit pattern.

配線パターン37aの接続端38aには電源電圧Vccが印加され、配線パターン37bの接続端38bはグランドGndに接続される。それぞれの配線パターン39a,39bの接続端40a,40bから出力電圧C,Dが取り出される。このように、第2ブリッジ回路32は4つの磁気抵抗素子を備えたフルブリッジ回路である。   The power supply voltage Vcc is applied to the connection end 38a of the wiring pattern 37a, and the connection end 38b of the wiring pattern 37b is connected to the ground Gnd. Output voltages C and D are taken out from the connection ends 40a and 40b of the respective wiring patterns 39a and 39b. Thus, the second bridge circuit 32 is a full bridge circuit including four magnetoresistance elements.

図3に示されるように、8つの磁気抵抗素子R1〜R8を構成する磁気抵抗素子パターンは、同一の基板層27に形成される。磁気抵抗素子R1〜R4により形成される第1ブリッジ回路31の中心部をOとすると、磁気抵抗素子R5〜R8により形成される第2ブリッジ回路32は、中心部Oを中心として第1ブリッジ回路31に対して45度傾いている。このように、磁気抵抗ブリッジ回路25は、第1ブリッジ回路31と第2ブリッジ回路32とを形成する8つの磁気抵抗素子R1〜R8が、中心部Oを中心として45度置きに基板層27に形成されている。   As shown in FIG. 3, the magnetoresistive element patterns constituting the eight magnetoresistive elements R <b> 1 to R <b> 8 are formed in the same substrate layer 27. Assuming that the central portion of the first bridge circuit 31 formed of the magnetoresistive elements R1 to R4 is O, the second bridge circuit 32 formed of the magnetoresistive elements R5 to R8 is a first bridge circuit centered on the central portion O. It is inclined 45 degrees to 31. As described above, in the magnetoresistive bridge circuit 25, eight magnetoresistive elements R 1 to R 8 forming the first bridge circuit 31 and the second bridge circuit 32 are placed on the substrate layer 27 at 45 ° intervals around the central portion O. It is formed.

磁気抵抗ブリッジ回路25は、図2に示されるように、プリント配線基板22の部品搭載面23に搭載される。磁気抵抗ブリッジ回路25に印加される磁界は、ピストン12の位置によって異なる。ピストン12が移動すると、第1ブリッジ回路31は、磁気抵抗素子R1〜R4に印加される磁界の方向と強さの変化に応じて、第1出力信号つまりSIN信号(正弦信号)を出力する。一方、第2ブリッジ回路32は、磁気抵抗素子R5〜R8に印加される磁界の方向と強さの変化に応じて、SIN信号に対してピストンの移動方向に位相が異なる第2出力信号つまりCOS信号(余弦信号)を出力する。この明細書においては、第1ブリッジ回路31の出力である第1出力信号を便宜上、SIN信号と呼び、第2ブリッジ回路32の出力である第2出力信号を便宜上、COS信号と呼ぶ。第1出力信号も第2出力信号も、繰り返し信号ではないので、SIN,COSの定義には、正しくは当てはまらないが、便宜上そのように呼ぶ。   The magnetoresistive bridge circuit 25 is mounted on the component mounting surface 23 of the printed wiring board 22 as shown in FIG. The magnetic field applied to the magnetoresistive bridge circuit 25 differs depending on the position of the piston 12. When the piston 12 moves, the first bridge circuit 31 outputs a first output signal, that is, a SIN signal (sine signal) according to the change in the direction and the strength of the magnetic field applied to the magnetoresistive elements R1 to R4. On the other hand, the second bridge circuit 32 generates a second output signal different in phase in the moving direction of the piston with respect to the SIN signal according to the change in the direction and the strength of the magnetic field applied to the magnetoresistive elements R5 to R8, that is, COS Output a signal (cosine signal). In this specification, the first output signal which is the output of the first bridge circuit 31 is referred to as the SIN signal for convenience, and the second output signal which is the output of the second bridge circuit 32 is referred to as the COS signal for convenience. Since neither the first output signal nor the second output signal is a repetitive signal, the definitions of SIN and COS do not apply correctly, but are referred to as such for convenience.

SIN信号とCOS信号に基づいてATAN2値、つまり逆正接値(arctangent)が演算される。この明細書においては、逆正接値をATAN2値と表記する。   Based on the SIN signal and the COS signal, an ATAN2 value, that is, an arctangent value is calculated. In this specification, the arctangent value is referred to as an ATAN2 value.

このようなATAN2値は、磁石16の軸方向位置に対して複数の値を有している。したがって、ATAN2値のみから磁石16の軸方向位置を特定することは出来ない。しかし、例えばごく短い軸方向長さであれば、ATAN2値から磁石16の軸方向位置を特定することも可能であるが、磁石16の軸方向位置を特定することができる範囲は2mmから7mm程度のストロークの範囲に限られる。この範囲は、磁石の強さや大きさ、センサヘッドと磁石との距離に依存する。   Such ATAN2 values have a plurality of values with respect to the axial position of the magnet 16. Therefore, the axial position of the magnet 16 can not be identified from only the ATAN2 value. However, for example, if the axial length is very short, it is possible to specify the axial position of the magnet 16 from the ATAN2 value, but the range in which the axial position of the magnet 16 can be specified is about 2 mm to 7 mm Limited to the range of strokes. This range depends on the strength and size of the magnet and the distance between the sensor head and the magnet.

そこで、磁気センサを用いて、磁石16の軸方向位置を特定する範囲は以下のように拡大することができる。つまり、磁石16が磁気抵抗ブリッジ回路25の中心部Oに対して一方側の領域、つまり例えばロッドキャップ側に位置しているのか、他方側の領域、つまり例えばヘッドキャップ側に位置しているのかについて、磁気センサの出力信号に基づいて判別することができる。その詳細は、ホール素子26を例として、図7とその説明に後述する。但し、磁気センサとしてはホール素子に限定されることはなく、磁界の方向を検出する機能を有するセンサ、つまり磁界方向検出センサであれば、なんでも良い。   Then, the range which specifies the axial direction position of the magnet 16 using a magnetic sensor can be expanded as follows. That is, whether the magnet 16 is located on one side of the central portion O of the magnetoresistive bridge circuit 25, ie, on the rod cap side, or on the other side, ie, on the head cap side. Can be determined based on the output signal of the magnetic sensor. The details thereof will be described later with reference to FIG. 7 and the description thereof by taking the Hall element 26 as an example. However, the magnetic sensor is not limited to the Hall element, and any sensor having a function of detecting the direction of the magnetic field, that is, a magnetic field direction detection sensor may be used.

図2に示されるように、磁気抵抗ブリッジ回路25がプリント配線基板22の部品搭載面23に搭載されるのに対し、磁気方向検出センサの一例としてのホール素子26は反対側の部品搭載面24に搭載される。ホール素子26は、磁気抵抗ブリッジ回路25の中心部Oに垂直な垂直方向線Uの位置に配置される。したがって、ホール素子26は、プリント配線基板22の厚み寸法だけ磁気抵抗ブリッジ回路25に対して円周方向線Uの方向に異なる位置に配置され、磁石16の移動方向における磁気抵抗ブリッジ回路25の中心部Oに配置される。つまり、ホール素子26と磁気抵抗ブリッジ回路25は、シリンダ11の円周方向には異なる位置に配置されるが、ピストンロッド13の移動方向に対しては、ホール素子26と磁気抵抗ブリッジ回路25は同じ位置に配置される。   As shown in FIG. 2, the magnetoresistive bridge circuit 25 is mounted on the component mounting surface 23 of the printed wiring board 22, whereas the Hall element 26 as an example of the magnetic direction detection sensor is on the opposite component mounting surface 24. Will be mounted on. The Hall element 26 is disposed at the position of the vertical direction line U perpendicular to the central portion O of the magnetoresistive bridge circuit 25. Therefore, Hall element 26 is arranged at a position different in the direction of circumferential line U with respect to magnetoresistive bridge circuit 25 by the thickness dimension of printed wiring board 22, and the center of magnetoresistive bridge circuit 25 in the moving direction of magnet 16. Placed in part O. That is, although the Hall element 26 and the magnetoresistive bridge circuit 25 are arranged at different positions in the circumferential direction of the cylinder 11, the Hall element 26 and the magnetoresistive bridge circuit 25 are in the moving direction of the piston rod 13. It is arranged at the same position.

図5は、磁石とホール素子との位置に応じて、ホール電圧つまりホール素子の出力電圧の極性を示す概略図である。   FIG. 5 is a schematic view showing the polarity of the Hall voltage, that is, the output voltage of the Hall element, according to the position of the magnet and the Hall element.

軸方向に移動する磁石16がホール素子26に接近すると、磁界Hがホール素子26に印加される。磁界Hは磁石16の移動方向である水平方向成分の磁界強度(Hz)と、移動方向に対して直角方向である垂直方向成分の磁界強度(Hr)との2つの成分に分けられる。ホール素子26は磁石16の移動方向つまり第1方向M1の方向に最小感度を有し、軸方向に垂直な方向つまり第2方向M2の磁界に最大感度を有する。ホール素子26の出力は、コンパレータ28に入力される。コンパレータ28の出力はHighまたはLowの2値であり、その値に基づいて、磁石16の位置が中心部Oに対して軸方向一方側に位置しているのか、他方側に位置しているのかを判別する。   When the axially moving magnet 16 approaches the Hall element 26, a magnetic field H is applied to the Hall element 26. The magnetic field H is divided into two components: the magnetic field strength (Hz) of the horizontal component which is the moving direction of the magnet 16 and the magnetic field strength (Hr) of the vertical component which is the direction perpendicular to the moving direction. The Hall element 26 has the minimum sensitivity in the moving direction of the magnet 16, ie, the first direction M1, and has the maximum sensitivity to the magnetic field in the direction perpendicular to the axial direction, ie, the second direction M2. The output of the Hall element 26 is input to the comparator 28. The output of the comparator 28 is a binary value of High or Low, and based on the value, is the position of the magnet 16 positioned on one side in the axial direction with respect to the central portion O or on the other side? To determine

このように、ホール素子26の出力電圧の極性に対応した2つの値を領域判別信号と定義する。ホール素子26の出力電圧がコンパレータ28に入力される場合には、領域判別信号はコンパレータ28の出力であるHighまたはLowの2値の信号である。コンパレータ28は、ホール素子26の出力電圧から領域判別信号を生成する領域判別手段の一例である。   As described above, two values corresponding to the polarity of the output voltage of the Hall element 26 are defined as the area determination signal. When the output voltage of the Hall element 26 is input to the comparator 28, the area determination signal is a binary signal of High or Low, which is the output of the comparator 28. The comparator 28 is an example of an area determination unit that generates an area determination signal from the output voltage of the Hall element 26.

図5(A)のように、磁石16がホール素子26に対して左側(ヘッドキャップ側)に位置するときには、磁界Hは図中のホール素子26の上面から下面に向く成分を有する。つまり、磁界Hの成分Hrは負の方向であるので、ホール素子26の出力端子電圧は例えばマイナス極性となり、コンパレータ28の出力は例えばHighとなる。図5(C)のように、磁石16がホール素子26に対して右側(ロッドキャップ側)に位置するときには、磁界Hは図中のホール素子26の下面から上面に向く成分を有する。つまり、磁界の成分Hrは正の方向であるので、ホール素子26の出力端子電圧は図5(A)と逆に例えばプラス極性となり、コンパレータ28の出力は図5(A)と逆に例えばLowとなる。磁石16が移動して、ホール素子26と軸方向に同じ位置に位置するときに、ホール素子26の出力端子電圧の極が切り換わる。つまり、その位置を境界として、ホール素子26の出力端子電圧の極性は逆となり、コンパレータ28の出力も逆となる。図5(B)は、磁石16がそのような境界位置に位置している状況を示している。   As shown in FIG. 5A, when the magnet 16 is positioned on the left side (head cap side) with respect to the Hall element 26, the magnetic field H has a component directed from the upper surface to the lower surface of the Hall element 26 in the figure. That is, since the component Hr of the magnetic field H is in the negative direction, the output terminal voltage of the Hall element 26 has, for example, a negative polarity, and the output of the comparator 28 has, for example, High. As shown in FIG. 5C, when the magnet 16 is positioned on the right side (the rod cap side) with respect to the Hall element 26, the magnetic field H has a component directed from the bottom to the top of the Hall element 26 in the figure. That is, since the component Hr of the magnetic field is in the positive direction, the output terminal voltage of the Hall element 26 has, for example, the positive polarity contrary to FIG. 5A and the output of the comparator 28 has, for example, Low as in FIG. It becomes. When the magnet 16 moves and is located at the same position in the axial direction as the Hall element 26, the pole of the output terminal voltage of the Hall element 26 switches. That is, with the position as a boundary, the polarity of the output terminal voltage of the Hall element 26 is reversed, and the output of the comparator 28 is also reversed. FIG. 5B shows a situation where the magnet 16 is located at such a boundary position.

このように、磁石16の位置が磁気抵抗ブリッジ回路25の中心部Oに対して軸方向一方側の領域であるか、他方側の領域であるかを、ホール素子26の出力端子電圧の極性により判別することができる。   As described above, the polarity of the output terminal voltage of the Hall element 26 determines whether the position of the magnet 16 is a region on one side in the axial direction or the other side with respect to the central portion O of the magnetoresistive bridge circuit 25. It can be determined.

図6は、位置検出装置のブロック図である。第1ブリッジ回路31の出力電圧A,Bは増幅器41に入力され、第2ブリッジ回路32の出力電圧C,Dは増幅器42に入力される。増幅器41の出力である第1出力信号つまりSIN信号と、増幅器42の出力である第2出力信号つまりCOS信号は、ATAN2値算出部43に送られる。ATAN2値演算部としてのATAN2値算出部43は、SIN信号とCOS信号とに基づいてATAN2値を演算し、ATAN2値に対応する値を位置演算部44に出力する。SIN信号とCOS信号からATAN2値を得るには、このように、位置演算部44とは別にATAN2値算出部43を設けることができるが、プログラムでATAN2値を得ることも出来る。   FIG. 6 is a block diagram of a position detection device. The output voltages A and B of the first bridge circuit 31 are input to the amplifier 41, and the output voltages C and D of the second bridge circuit 32 are input to the amplifier. The first output signal, ie, the SIN signal, which is the output of the amplifier 41, and the second output signal, ie, the COS signal, which is the output of the amplifier 42, are sent to the ATAN2 value calculator 43. The ATAN binary value calculator 43 as the ATAN binary value calculator calculates the ATAN2 value based on the SIN signal and the COS signal, and outputs a value corresponding to the ATAN2 value to the position calculator. In order to obtain the ATAN2 value from the SIN signal and the COS signal, the ATAN2 value calculation unit 43 can be provided separately from the position calculation unit 44 as described above, but the ATAN2 value can also be obtained by a program.

ATAN2値および領域判別信号であるコンパレータ28の出力は、それぞれ位置演算部44に送られる。   The output of the comparator 28, which is the ATAN2 value and the area discrimination signal, is sent to the position calculation unit 44.

位置演算部44により演算された磁石16の軸方向の位置は、数値表示部45に数値として表示される。LEDからなるインジケータ46がセンサヘッド21のプリント配線基板22に設けられている。インジケータ46は、位置演算部44からの信号に基づいてON/OFF判定部47により点灯制御され、ピストン12が所定の範囲内に位置したときに点灯する。   The axial position of the magnet 16 calculated by the position calculation unit 44 is displayed on the numerical display unit 45 as a numerical value. An indicator 46 made of an LED is provided on the printed wiring board 22 of the sensor head 21. The indicator 46 is controlled to be turned on by the ON / OFF determination unit 47 based on a signal from the position calculation unit 44, and is turned on when the piston 12 is positioned within a predetermined range.

位置演算部44は、D/A変換部48、バッファー49を介して磁石16の軸方向位置に対応するアナログ信号を、アナログ出力端50に出力する。位置演算部44は、第1出力端51〜第4出力端54に対して出力判定・ドライバー回路55を介して位置信号を出力する。設定値が、数値設定部56から出力判定部・ドライバー回路55に入力される。数値設定部56を操作することにより、第1出力端51〜第4出力端54をオン・オフする検出位置つまり設定値が入力される。数値設定部56によって磁石16の検出位置を設定すると、磁石16が設定された位置に到達したときに、それぞれの出力端51〜54がオン信号を外部機器に対して出力する。磁石16の検出位置は数値設定部56によって4箇所まで設定できる。アナログ出力端50からの信号に基づけば、外部回路によって多数の位置を検出することができる。   The position calculation unit 44 outputs an analog signal corresponding to the axial position of the magnet 16 to the analog output terminal 50 via the D / A conversion unit 48 and the buffer 49. The position calculation unit 44 outputs a position signal to the first output terminal 51 to the fourth output terminal 54 via the output determination and driver circuit 55. The set value is input from the numerical value setting unit 56 to the output determination unit / driver circuit 55. By operating the numerical value setting unit 56, a detection position at which the first output end 51 to the fourth output end 54 are turned on / off, that is, a set value is input. When the detection position of the magnet 16 is set by the numerical value setting unit 56, when the magnet 16 reaches the set position, the respective output ends 51 to 54 output ON signals to the external device. The detection position of the magnet 16 can be set to four places by the numerical value setting unit 56. Based on the signal from the analog output terminal 50, a number of positions can be detected by an external circuit.

図7は、位置検出装置における磁石16の位置を算出するための信号の一例を示すグラフであり、図8は図7の要部を示す拡大図である。   FIG. 7 is a graph showing an example of a signal for calculating the position of the magnet 16 in the position detection device, and FIG. 8 is an enlarged view showing the main part of FIG.

図7においては、磁気抵抗ブリッジ回路25のSIN信号とCOS信号、ホール素子26のホール電圧の極性に対応する領域判別信号と、それらの信号から算出される値が、磁石16を備えたピストン12の位置に応じて変化することが示されている。上述のように、第1ブリッジ回路31からはSIN信号が出力され、第2ブリッジ回路32からは、SIN信号に対して位相が異なるCOS信号が出力される。出力されたそれぞれの信号の電圧は、無磁界時には0Vとなるようにオフセットされ、出力電圧の最大振幅が1V〜−1Vの範囲となるように、増幅器41,42により増幅される。   In FIG. 7, a piston 12 provided with a magnet 16 and a region discrimination signal corresponding to the SIN signal and the COS signal of the magnetoresistive bridge circuit 25 and the polarity of the Hall voltage of the Hall element 26 and the value calculated from those signals. It has been shown to change depending on the position of. As described above, the first bridge circuit 31 outputs the SIN signal, and the second bridge circuit 32 outputs the COS signal whose phase is different from that of the SIN signal. The voltage of each signal output is offset so as to be 0 V when there is no magnetic field, and amplified by the amplifiers 41 and 42 such that the maximum amplitude of the output voltage is in the range of 1 V to -1 V.

図7(A)は、増幅後におけるSIN信号とCOS信号を示す。磁石16がセンサヘッド21から軸方向に大きく離れていると、第1ブリッジ回路31と第2ブリッジ回路32に印加される磁界が低いため、図7(A)の横軸0から30付近に示されるように、磁石16の位置の変化に対するSIN信号とCOS信号の変化率は低い。図7(A)の横軸40から80付近に示されるように、磁石16がセンサヘッド21に近づくと、磁界が大きくなるとともに、磁石16の位置の変化に対する磁界の方向の変化も大きい。従って、磁気抵抗素子の抵抗値も大きく変化し、SIN信号とCOS信号の変化率も大きい。   FIG. 7A shows a SIN signal and a COS signal after amplification. When the magnet 16 is far from the sensor head 21 in the axial direction, the magnetic field applied to the first bridge circuit 31 and the second bridge circuit 32 is low. As a result, the rate of change of the SIN signal and the COS signal with respect to the change of the position of the magnet 16 is low. As shown in the vicinity of the horizontal axis 40 to 80 in FIG. 7A, as the magnet 16 approaches the sensor head 21, the magnetic field increases and the change in the direction of the magnetic field relative to the change in the position of the magnet 16 also increases. Accordingly, the resistance value of the magnetoresistive element also changes significantly, and the rate of change of the SIN signal and the COS signal also increases.

図7(B)は、SIN信号の絶対値とCOS信号の絶対値との加算値(|SIN|+|COS|)を示し、加算値は位置演算部44により演算される。図7(C)はホール素子26により得られる領域判別信号を示す。   FIG. 7B shows the addition value (| SIN | + | COS |) of the absolute value of the SIN signal and the absolute value of the COS signal, and the addition value is calculated by the position calculation unit 44. FIG. 7C shows an area discrimination signal obtained by the Hall element 26. FIG.

磁石16がセンサヘッド21に近づくと、図7(B)に示す加算値が大きくなり、ホール素子26にも領域判定可能な強度の磁界が印加される。逆に、磁石16がセンサヘッド21から離れて、図7(B)に示す加算値が小さい場合には、ホール素子26に印加される磁界も小さく、コンパレータ28の出力がホール素子26の出力に対応しないことがあるから、領域判別信号Eを使って判別することはできない。   When the magnet 16 approaches the sensor head 21, the added value shown in FIG. 7B becomes large, and a magnetic field of an intensity that can determine the area is applied to the Hall element 26. Conversely, when the magnet 16 is separated from the sensor head 21 and the added value shown in FIG. 7B is small, the magnetic field applied to the Hall element 26 is also small, and the output of the comparator 28 is the output of the Hall element 26. Since it may not correspond, it can not be determined using the area determination signal E.

このことは、以下の場合に生じる。磁石16がセンサヘッド21から離れている場合には、電源投入直後のコンパレータ28の出力信号つまり領域判別信号は、磁石16の位置が中心部Oに対して軸方向一方側に位置しているのか、他方側に位置しているのかに対応しない場合がある。つまり、電源投入直後の領域判別信号は不確定である。しかし、ピストン12が一度、端から端まで移動してしまえば、コンパレータ28の出力はラッチされるので、領域判別信号は、磁石16の位置が中心部Oに対して軸方向一方側に位置しているのか、他方側に位置しているのかに対応する。このように、電源投入直後の領域判別信号は不確定であることに対応して、領域判別可能範囲Eの範囲に限定して領域判別信号を採用する。   This occurs in the following cases. When the magnet 16 is separated from the sensor head 21, the output signal of the comparator 28 immediately after the power is turned on, that is, the area discrimination signal, is the position of the magnet 16 positioned on one side in the axial direction with respect to the central portion O? It may not correspond to whether it is located on the other side. That is, the area determination signal immediately after power on is indeterminate. However, once the piston 12 has moved from end to end, the output of the comparator 28 is latched, so that the area discrimination signal is positioned so that the position of the magnet 16 is on one side in the axial direction with respect to the central portion O. Corresponds to whether it is located on the other side. As described above, in response to the area determination signal immediately after power on being undetermined, the area determination signal is adopted while being limited to the range of the area determination range E.

このように、コンパレータ28の出力が中心部Oの軸方向一方側または軸方向他方側に対応する領域、つまり、図7(B)の領域判別可能範囲Eに限ってコンパレータ28の出力を採用する。これによって、磁石16の位置が中心部Oに対して軸方向一方側に位置しているのか、他方側に位置しているのかを、コンパレータ28の出力で判別できる。SIN信号の絶対値とCOS信号の絶対値との加算値から領域判別可能範囲Eを判別するための領域判別可能閾値Xは、安定した領域判別信号を選択できるように、実用上適切な値に決定される。   Thus, the output of the comparator 28 is adopted only in the region where the output of the comparator 28 corresponds to one side in the axial direction or the other side in the axial direction of the central portion O, that is, the region distinguishable range E of FIG. . Thus, it can be determined from the output of the comparator 28 whether the position of the magnet 16 is positioned on one side in the axial direction with respect to the central portion O or on the other side. The area discriminable threshold value X for discriminating the area discriminable range E from the sum of the absolute value of the SIN signal and the absolute value of the COS signal is a practically appropriate value so that a stable area discrimination signal can be selected. It is determined.

領域判別可能閾値Xを低すぎる値に設定すると、図7(B)と図7(C)から理解されるように、領域判別可能範囲Eは、領域判別信号が有効である範囲よりも広くなってしまう。すると、図7(C)のF点の左側の領域、つまり使えない領域を含んで、領域判別信号を用いることになるので、不都合である。このような不都合が生じないように、領域判別可能閾値Xは実用上適切な値に設定される。   If the area discriminable threshold value X is set to a value too low, as understood from FIGS. 7B and 7C, the area discriminable range E becomes wider than the range in which the area discrimination signal is effective. It will Then, the region discrimination signal is used including the region to the left of the point F in FIG. 7C, that is, the region which can not be used, which is disadvantageous. The area discriminable threshold value X is set to a practically appropriate value so that such a disadvantage does not occur.

図7(C)のF位置よりも右側の領域ではホール素子26の出力電圧の極性は安定しているが、F位置における加算値(|SIN|+|COS|)よりも高い値を領域判別可能閾値Xとして設定することにより、ホール素子26の出力電圧の極性がより安定する領域を用いることができる。このように、ホール素子26の出力電圧の極性に対応するHighまたはLowの値、つまり領域判別信号を、領域判別可能範囲Eの範囲に限定して採用し、それ以外の範囲では採用しない。採用しないとは、位置演算部44は磁石16の位置を演算せず、磁石16の位置に対応する信号を出力しない、という意味である。   The polarity of the output voltage of the Hall element 26 is stable in the area on the right side of the F position in FIG. 7C, but the value is determined as an area higher than the added value (| SIN | + | COS |) at the F position By setting as the possible threshold value X, a region in which the polarity of the output voltage of the Hall element 26 is more stable can be used. As described above, the value of High or Low corresponding to the polarity of the output voltage of the Hall element 26, that is, the area discrimination signal is adopted within the range of the area discriminable range E, and is not adopted in the other ranges. Not adopting this means that the position calculation unit 44 does not calculate the position of the magnet 16 and does not output a signal corresponding to the position of the magnet 16.

磁石16の位置が磁気抵抗ブリッジ回路25の中心部Oに対して一方側の領域に位置しているか、他方側の領域に位置しているかを示す領域判別信号が切り換わる位置は、図7(C)に示す領域切換点Mの位置である。   The position where the area discrimination signal indicating whether the position of the magnet 16 is located in the area on one side or the area on the other side with respect to the central portion O of the magnetoresistive bridge circuit 25 changes as shown in FIG. It is the position of the area switching point M shown in C).

図7(D)は、SIN信号とCOS信号とに基づいて得られるATAN2値を示す。   FIG. 7D shows ATAN2 values obtained based on the SIN signal and the COS signal.

領域判別可能範囲Eの範囲外では、領域判別信号は採用されない。領域判別信号はこのような範囲に限定して用いられるので、電源投入直後のコンパレータ28の出力信号が不確定であるという障害は回避される。   Outside the range of the area discriminable range E, the area discrimination signal is not adopted. Since the area discrimination signal is used by being limited to such a range, a fault that the output signal of the comparator 28 immediately after power on is indeterminate can be avoided.

ATAN2値は、主領域値とシフト領域値とを有している。主領域値は、磁石16が磁気抵抗ブリッジ回路25の中心部Oの近くに位置する主領域Pにおける値であり、一次関数に近い形で連続的に変化する。シフト領域値は、主領域Pを外れたシフト領域K1,K2における値である。主領域PにおけるATAN2値は、−πから+πの連続した値をとり、その範囲において磁石16の軸方向位置に対応してほぼ直線的に変化する。磁石16がシフト領域K1から主領域Pに移動すると、ATAN2値は折返し点aにおいて+πから−πの値に、不連続に変化する。一方、磁石16が折返し点bを通過して主領域Pからシフト領域K2に移動すると、ATAN2値は、+πから−πの値に、不連続に変化する。   The ATAN2 value has a main area value and a shift area value. The main region value is a value in the main region P where the magnet 16 is located near the central portion O of the magnetoresistive bridge circuit 25 and changes continuously in a form close to a linear function. The shift area values are values in shift areas K1 and K2 outside the main area P. The ATAN2 value in the main region P takes continuous values from -.pi. To + .pi., And changes substantially linearly in the range corresponding to the axial position of the magnet 16. When the magnet 16 moves from the shift area K1 to the main area P, the ATAN2 value changes discontinuously from + π to −π at the turnaround point a. On the other hand, when the magnet 16 passes the turning point b and moves from the main area P to the shift area K2, the ATAN2 value changes discontinuously from + π to −π.

図7(B)において領域判別可能閾値Xを基準に定めた領域判別可能範囲Eと、その領域判別可能範囲Eの範囲内において図7(C)に示した領域判別信号High,Lowを元に、ATAN2値を図7(D)のように操作して、図7(E)の最終結果を得る。その手順は以下の通りである。   Based on the area discriminable range E determined based on the area discriminable threshold value X in FIG. 7B and the area discrimination signals High and Low shown in FIG. 7C within the area discriminable range E , ATAN2 values are manipulated as shown in FIG. 7 (D) to obtain the final result of FIG. 7 (E). The procedure is as follows.

ATAN2値において、ゼロからπの間の1つの値をプラス側シフト閾値hとする。同様に、ATAN2値において、−πからゼロの間の1つの値をマイナス側シフト閾値eとする。大小関係で示せば、−π < e <0 < h < +π となる。プラス側シフト閾値hとマイナス側シフト閾値eの絶対値が同じあってもよいが、同じでなくても差し支えない。   In the ATAN2 value, one value between zero and π is set as the plus shift threshold h. Similarly, in the ATAN2 value, one value between −π and zero is set as the negative shift threshold e. In terms of magnitude, −π <e <0 <h <+ π. The absolute values of the positive shift threshold h and the negative shift threshold e may or may not be the same.

図7(C)に示す領域判別信号がLowであって、かつ、ATAN2値がマイナス側シフト閾値eからゼロの間であるときには、検出不可能領域であると判断して、そのATAN2値は採用しない。領域判別信号がHighであって、かつ、ATAN2値がマイナス側シフト閾値eからゼロの間であるときには、検出可能領域であると判断して、そのATAN2値を採用する。採用されたATAN2値はそのまま位置演算部44から出力される。そのときには、磁石16の位置とATAN2値は1対1に対応するからである。それは、図7(E)の区間Tに対応する。更に、領域判別信号がHighであって、かつ、ATAN2値がマイナス側シフト閾値eから−πの場合も検出可能領域であると判断して、そのATAN2値を採用する。採用されたATAN2値はそのまま位置演算部44から出力される。それは、図7(E)の区間Sに対応する。   When the area discrimination signal shown in FIG. 7C is low and the ATAN2 value is between the negative shift threshold e and zero, it is determined that the area is an undetectable area, and the ATAN2 value is adopted. do not do. When the area determination signal is High and the ATAN2 value is between the negative shift threshold e and zero, it is determined that the area is a detectable area, and the ATAN2 value is adopted. The adopted ATAN2 value is output from the position calculation unit 44 as it is. At that time, the position of the magnet 16 and the ATAN2 value correspond to one to one. It corresponds to the section T of FIG. 7 (E). Furthermore, when the area determination signal is High and the ATAN2 value is from the negative shift threshold e to -π, it is determined that the area is a detectable area, and the ATAN2 value is adopted. The adopted ATAN2 value is output from the position calculation unit 44 as it is. It corresponds to the section S of FIG. 7 (E).

図7(C)に示す領域判別信号がHighであって、かつ、ATAN2値がゼロからプラス側シフト閾値hの間であるときには、検出不可能領域であると判断して、そのATAN2値は採用しない。領域判別信号がLowであって、かつ、ATAN2値がゼロからプラス側シフト閾値hの間であるときには、検出可能領域であると判断して、そのATAN2値を採用する。採用されたATAN2値はそのまま位置演算部44から出力される。それは、図7(E)の区間Vに対応する。更に、領域判別信号がLowであって、かつ、ATAN2値がプラス側シフト閾値h以上の場合も検出可能領域であると判断して、そのATAN2値を採用する。採用されたATAN2値はそのまま位置演算部44から出力される。それは、図7(E)の区間Wに対応する。   When the area discrimination signal shown in FIG. 7C is High and the ATAN2 value is between zero and the plus shift threshold h, it is determined that the area is an undetectable area, and the ATAN2 value is adopted. do not do. When the area determination signal is low and the ATAN2 value is between zero and the plus shift threshold h, it is determined that the area is a detectable area, and the ATAN2 value is adopted. The adopted ATAN2 value is output from the position calculation unit 44 as it is. It corresponds to the section V of FIG. 7 (E). Furthermore, when the area determination signal is low and the ATAN2 value is equal to or more than the plus shift threshold h, it is determined that the area is a detectable area, and the ATAN2 value is adopted. The adopted ATAN2 value is output from the position calculation unit 44 as it is. It corresponds to the section W of FIG. 7 (E).

以上のように、区間S,T,V,Wにおいて、磁石16の位置とATAN2値は1対1に対応する。従って、磁石16の位置を表す値(または信号)として、区間S,T,V,WのATAN2値を用いることが出来る。   As described above, in the sections S, T, V and W, the position of the magnet 16 and the ATAN2 value correspond to one to one. Therefore, ATAN2 values of the sections S, T, V, W can be used as values (or signals) representing the position of the magnet 16.

図7(C)に示す領域判別信号がLowであって、かつ、ATAN2値がマイナス側シフト閾値e以下の場合は、ATAN2値に2πを加算して、位置演算部44から出力される。これは、図7(D)のシフト領域K2の範囲に相当し、図7(E)の区間Xに相当する。この加算(ATAN2値+2π)によって、主領域Pにシフト領域K2が加えられる。このような加算処理は、シフト処理と言ってもよい。領域判別信号がLowであって、かつ、ATAN2値がマイナス側シフト閾値e以下の場合は、ATAN2値と磁石16の位置は1対1に対応する。このように、ホール素子26の出力に基づく領域判別信号を利用することによって、主領域Pの主領域値にシフト領域K2のシフト領域値を加え、検出範囲を拡張することが可能となる。   When the area determination signal shown in FIG. 7C is Low and the ATAN2 value is equal to or less than the negative shift threshold e, 2π is added to the ATAN2 value, and the result is output from the position calculation unit 44. This corresponds to the range of the shift region K2 in FIG. 7D, and corresponds to the section X in FIG. 7E. The shift area K2 is added to the main area P by this addition (ATAN2 value + 2π). Such addition processing may be referred to as shift processing. When the area determination signal is low and the ATAN2 value is less than or equal to the negative shift threshold e, the ATAN2 value and the position of the magnet 16 correspond one to one. As described above, by using the area discrimination signal based on the output of the Hall element 26, it is possible to add the shift area value of the shift area K2 to the main area value of the main area P and extend the detection range.

図7(C)に示す領域判別信号がHighであって、かつ、ATAN2値がプラス側シフト閾値h以上の場合は、ATAN2値から2πを減算して、位置演算部44から出力される。これは、図7(D)のシフト領域K1の範囲に相当し、図7(E)の区間Rに相当する。この減算(ATAN2値−2π)によって、主領域Pにシフト領域K1が加えられる。このような減算処理は、シフト処理と言ってもよい。領域判別信号がHighであって、かつ、ATAN2値がプラス側シフト閾値h以上の場合は、ATAN2値と磁石16の位置は1対1に対応する。このように、ホール素子26の出力に基づく領域判別信号を利用することによって、主領域Pの主領域値にシフト領域K1のシフト領域値を加え、検出範囲を拡張することが可能となる。   When the area determination signal shown in FIG. 7C is High and the ATAN2 value is greater than or equal to the plus shift threshold h, 2π is subtracted from the ATAN2 value, and the result is output from the position calculation unit 44. This corresponds to the range of the shift region K1 of FIG. 7D, and corresponds to the section R of FIG. 7E. The shift area K1 is added to the main area P by this subtraction (ATAN binary value −2π). Such subtraction processing may be referred to as shift processing. When the area determination signal is High and the ATAN2 value is equal to or greater than the plus shift threshold h, the ATAN2 value and the position of the magnet 16 correspond one to one. As described above, by using the area discrimination signal based on the output of the Hall element 26, it is possible to add the shift area value of the shift area K1 to the main area value of the main area P and extend the detection range.

以上のように、図7(B)の領域判別可能範囲Eの範囲内において、図7(C)の領域判別信号に基づいて、図7(D)のATAN2値がゼロと閾値e、hにより複数の区分に分けられる。特に、図7(D)のシフト領域K1とK2に対応するATAN2値を、主領域PのATAN2値の拡張として利用することにより、ATAN2値は連続した値として得られるので、図7(E)に示すように検出範囲は拡張されて検出範囲Qの拡大出力値を得ることができる。   As described above, within the range distinguishable range E of FIG. 7B, based on the range determination signal of FIG. 7C, the ATAN2 value of FIG. Divided into multiple categories. In particular, by using the ATAN2 value corresponding to the shift areas K1 and K2 in FIG. 7D as an extension of the ATAN2 value in the main area P, the ATAN2 value can be obtained as a continuous value. The detection range can be expanded to obtain an expanded output value of the detection range Q as shown in FIG.

従来の検出範囲は、前述のように2mmから7mm程度であったが、本発明においては検出範囲が拡張されて10mmから25mm程度とすることが出来た。この範囲は、磁石の強さや大きさ、センサヘッドと磁石との距離に依存する。   The conventional detection range was about 2 mm to 7 mm as described above, but in the present invention, the detection range was expanded to be about 10 mm to 25 mm. This range depends on the strength and size of the magnet and the distance between the sensor head and the magnet.

プラス側シフト閾値hを図示する場合よりも低い値に設定すると、検出範囲Qを図7(E)に示される範囲よりも拡大することができる。同様に、マイナス側シフト閾値eを図示する場合よりも高い値に設定すると、検出範囲Qを拡大することができる。しかし、そのようにすると、拡大されたシフト領域K1,K2において、磁石16の位置の変化に対するATAN2値の変化率が小さくなり、その部分の分解能が低下する。そこで、要求される仕様に基づき、検出範囲Qにおける位置検出誤差を小さくすることができる値として、つまり許容される分解能に応じてプラス側シフト閾値hとマイナス側シフト閾値eが設定される。   If the plus side shift threshold value h is set to a value lower than the case shown in the drawing, the detection range Q can be expanded beyond the range shown in FIG. 7 (E). Similarly, the detection range Q can be expanded by setting the negative shift threshold e to a value higher than that shown in the drawing. However, in such a case, in the enlarged shift areas K1 and K2, the rate of change of the ATAN2 value with respect to the change in the position of the magnet 16 becomes smaller, and the resolution of that portion is reduced. Therefore, based on the required specifications, the plus shift threshold h and the minus shift threshold e are set as values that can reduce the position detection error in the detection range Q, that is, according to the resolution that is allowed.

図9は変形例である位置検出装置のブロック図である。上述した図6においては、ATAN2値算出部43と位置演算部44とON/OFF判定部47と出力判定部・ドライバー回路55を別個のものとして構成している。これに対し、図9においては、CPUからなる演算処理部60の内部プログラムにより、ATAN2値算出部43と位置演算部44aとON/OFF判定部47と出力判定部61が構成される。出力判定部61は、図6における出力判定部・ドライバー回路55のうち、ドライバー回路の機能を除く部分に機能を備えている。図9においては、演算処理部60による機能構成が示されている。また、ATAN2値算出部43を独立したICとして構成すれば、ATAN2値の演算時間が短縮され、全体の処理時間が短縮される。   FIG. 9 is a block diagram of a position detection device according to a modification. In FIG. 6 described above, the ATAN binary value calculation unit 43, the position calculation unit 44, the ON / OFF determination unit 47, and the output determination unit / driver circuit 55 are configured separately. On the other hand, in FIG. 9, the ATAN2 value calculation unit 43, the position calculation unit 44a, the ON / OFF determination unit 47, and the output determination unit 61 are configured by an internal program of the arithmetic processing unit 60 including a CPU. The output judgment unit 61 has a function in the part of the output judgment unit / driver circuit 55 in FIG. 6 excluding the function of the driver circuit. In FIG. 9, the functional configuration of the arithmetic processing unit 60 is shown. Further, if the ATAN binary value calculation unit 43 is configured as an independent IC, the calculation time of the ATAN binary value is shortened, and the overall processing time is shortened.

上述のように、SIN信号の絶対値とCOS信号の絶対値との加算値(|SIN|+|COS|)が、領域判別可能閾値Xを超えているときに、図7(C)に示す領域判定信号を採用する実施例を示したが、加算値(|SIN|+|COS|)を、SIN信号の二乗の値とCOS信号の二乗の値との加算値に置き換えても良い。さらには、磁石16を有するピストン12がセンサヘッド21に接近したときに増加し、離れたときに減少するような演算値を、SIN信号とCOS信号から演算すればよく、SIN信号の絶対値とCOS信号の絶対値との加算値(|SIN|+|COS|)とか、SIN信号の二乗の値とCOS信号の二乗の値との加算値はその一例に過ぎない。   As described above, when the addition value (| SIN | + | COS |) of the absolute value of the SIN signal and the absolute value of the COS signal exceeds the region distinguishable threshold value X, as shown in FIG. 7C. Although the embodiment in which the area determination signal is adopted has been described, the addition value (| SIN | + | COS |) may be replaced with the addition value of the square value of the SIN signal and the square value of the COS signal. Furthermore, it is sufficient to calculate from the SIN signal and the COS signal an arithmetic value that increases when the piston 12 having the magnet 16 approaches the sensor head 21 and decreases when it is separated. The addition value with the absolute value of the COS signal (| SIN | + | COS |) or the addition value of the square value of the SIN signal and the square value of the COS signal is merely an example.

さらに、磁石の接近を検出する近接センサを、磁気抵抗ブリッジ回路25とホール素子26に加えてセンサヘッド21を付加し、加算値(|SIN|+|COS|)に基づいて領域判別可能範囲Eを求めることなく、近接センサの信号に基づいて領域判別可能範囲Eを得るようにしても良い。   Further, a proximity sensor for detecting the approach of the magnet is added to the magnetoresistive bridge circuit 25 and the Hall element 26 and the sensor head 21 is added, and the area discriminable range E based on the added value (| SIN | + | COS |) The area discriminable range E may be obtained based on the signal of the proximity sensor without obtaining.

図10は、領域判別可能範囲Eを検出するための近接センサの出力波形を示す特性線図である。近接センサとしては、図4に示した第1ブリッジ回路31または第2ブリッジ回路32と同様に磁気抵抗素子を備えた回路構成のものが使用される。そのような回路構成を有する近接センサにおいては、図10に示されるように、近接センサの出力が領域判別可能閾値Xを越えたか否かにより、領域判別可能範囲Eを得ることができる。   FIG. 10 is a characteristic diagram showing an output waveform of the proximity sensor for detecting the area distinguishable range E. As shown in FIG. As the proximity sensor, one having a circuit configuration provided with a magnetoresistance element as in the first bridge circuit 31 or the second bridge circuit 32 shown in FIG. 4 is used. In the proximity sensor having such a circuit configuration, as shown in FIG. 10, the area discriminable range E can be obtained depending on whether the output of the proximity sensor exceeds the area discriminable threshold value X or not.

このように、磁気抵抗ブリッジ回路25のSIN信号とCOS信号からなんらかの演算値を得るとか、磁気抵抗ブリッジ回路25とホール素子26に加えて、別途設けられる近接センサなどの信号を利用するなどして、ピストン12に装着されている磁石16が、センサヘッド21に近づいたことを検出・判断できればよいのである。   As described above, it is possible to obtain some operation value from the SIN signal and the COS signal of the magnetoresistive bridge circuit 25 or to use a signal from a proximity sensor or the like separately provided in addition to the magnetoresistive bridge circuit 25 and the Hall element 26. The magnet 16 mounted on the piston 12 only needs to be able to detect and judge that the sensor head 21 has approached.

磁界方向検出センサとしては、磁界の方向に応じた出力信号を出力し、最大感度方向が第2方向に沿うように配置されるセンサであれば、ホール素子26に代えて、磁気センサ26aを使用することができる。   If it is a sensor that outputs an output signal according to the direction of the magnetic field as the magnetic field direction detection sensor and the maximum sensitivity direction is arranged along the second direction, the magnetic sensor 26a is used instead of the Hall element 26 can do.

図11(A)〜(E)は、そのような磁気センサ26aの磁石の磁界に対する感度方向を示す概略図である。図12は、図11に示した磁気センサ26aを有する位置検出装置のブロック図である。磁気センサ26aは、アルプス電気(株)製のHGPJPM001Aである。   FIGS. 11A to 11E are schematic views showing the sensitivity direction of the magnet of such a magnetic sensor 26a to the magnetic field. FIG. 12 is a block diagram of a position detection device having the magnetic sensor 26a shown in FIG. The magnetic sensor 26a is HGPJPM001A manufactured by Alps Electric Co., Ltd.

図11(A)のように、磁石16が磁気センサ26aに対して左側に位置するときには、磁界Hは磁気センサ26aの上面から下面に向く成分を有する。つまり、磁界Hの成分Hrは負の方向であるので、磁気センサ26aの出力電圧Vは、図11(D)に示されるようにHighとなる。一方、図11(C)のように、磁石16が磁気センサ26aに対して右側に位置するときには、磁界Hは磁気センサ26aの下面から上面に向く成分を有する。つまり、磁界の成分Hrは正の方向であるので、ホール素子26の出力電圧VはLowとなる。磁石16が磁気センサ26aに接近すると、磁石16が磁気センサ26aの左側から右側に移動するときと、逆に移動するときとで、ヒステリシスを持って、磁気センサ26aの出力電圧Vが変化する。なお、磁気センサ26aの取り付け方向が180度異なれば、出力電圧VのHighとLowは入れ替わる。磁石16の取り付け方向が逆になった場合も、出力電圧VのHighとLowは入れ替わる。そのような入れ替わりに対しては、内部のプログラムで対応することが出来る。   As shown in FIG. 11A, when the magnet 16 is positioned on the left side with respect to the magnetic sensor 26a, the magnetic field H has a component directed from the upper surface to the lower surface of the magnetic sensor 26a. That is, since the component Hr of the magnetic field H is in the negative direction, the output voltage V of the magnetic sensor 26a becomes High as shown in FIG. 11 (D). On the other hand, as shown in FIG. 11C, when the magnet 16 is positioned on the right with respect to the magnetic sensor 26a, the magnetic field H has a component directed from the lower surface to the upper surface of the magnetic sensor 26a. That is, since the component Hr of the magnetic field is in the positive direction, the output voltage V of the Hall element 26 is Low. When the magnet 16 approaches the magnetic sensor 26a, the output voltage V of the magnetic sensor 26a changes with hysteresis when the magnet 16 moves from the left side to the right side of the magnetic sensor 26a and when it moves in the reverse direction. If the mounting direction of the magnetic sensor 26a is different by 180 degrees, High and Low of the output voltage V are interchanged. Also when the mounting direction of the magnet 16 is reversed, the High and Low of the output voltage V are switched. An internal program can respond to such a change.

このように、磁石16の位置が磁気抵抗ブリッジ回路25の中心部Oに対して軸方向一方側の領域であるか、他方側の領域であるかを、磁気センサ26aの出力電圧により判別することができる。   As described above, it is determined from the output voltage of the magnetic sensor 26 a whether the position of the magnet 16 is a region on one side in the axial direction or the other side with respect to the central portion O of the magnetoresistive bridge circuit 25. Can.

図1は、位置検出装置が設けられたシリンダ11を示すが、この位置検出装置は、シリンダ11に限られることなく、被加工物等を把持するハンドを開閉駆動するためのアクチュエータ等にも適用することができる。   FIG. 1 shows a cylinder 11 provided with a position detection device, but this position detection device is not limited to the cylinder 11, but is also applied to an actuator for opening and closing a hand holding a workpiece etc. can do.

図13は、位置検出装置が設けられるアクチュエータの変形例を示す断面図である。このアクチュエータは被加工物を把持するためのエアハンド10aである。エアハンド10aは、非磁性材料からなるアクチュエータ本体71を有している。往復動部材としてのピストン12がアクチュエータ本体71の内部に軸方向に往復動自在に装着され、ピストン12はピストンロッド13に設けられている。ピストンロッド13の一端部は、アクチュエータ本体71の一端部に設けられたスリット72内に突出し、2つのL字形状の駆動レバー73a,73bが支点ピン74a、74bによりスリット72内に旋回運動自在に支持されている。   FIG. 13 is a cross-sectional view showing a modification of the actuator provided with the position detection device. This actuator is an air hand 10a for gripping a workpiece. The air hand 10a has an actuator body 71 made of nonmagnetic material. A piston 12 as a reciprocating member is axially reciprocably mounted inside an actuator body 71, and the piston 12 is provided on a piston rod 13. One end of the piston rod 13 projects into a slit 72 provided at one end of the actuator main body 71, and two L-shaped drive levers 73a and 73b can freely pivot in the slit 72 by fulcrum pins 74a and 74b. It is supported.

ロッドピン75がピストンロッド13の先端に取り付けられ、ロッドピン75はそれぞれの駆動レバーの基端部に設けられた係合溝76a、76bに摺動自在に係合している。被加工物等を把持するフィンガーとしての2つの摺動レバー77a、77bがアクチュエータ本体71の先端部に設けられている。それぞれの摺動レバー77a、77bはアクチュエータ本体71に取り付けられたガイドリング78a、78bにより、ピストンロッド13の往復動方向に対して直角方向に摺動自在である。スライドピン79が摺動レバー77aに設けられ、スライドピン79は駆動レバー73aの先端部に設けられた係合溝81に摺動自在に係合し、駆動レバー73aの揺動により駆動される。同様に、他の摺動レバー77bは、図示しないスライドピンが駆動レバー73bの先端部に設けられた図示しない係合溝に摺動自在に係合し、駆動レバー73bの揺動により駆動される。   A rod pin 75 is attached to the distal end of the piston rod 13, and the rod pin 75 is slidably engaged with engagement grooves 76a, 76b provided at the proximal end of the respective drive levers. Two sliding levers 77 a and 77 b as fingers for gripping a workpiece or the like are provided at the tip of the actuator body 71. The respective slide levers 77a, 77b are slidable in directions perpendicular to the reciprocation direction of the piston rod 13 by guide rings 78a, 78b attached to the actuator main body 71. A slide pin 79 is provided on the slide lever 77a, and the slide pin 79 is slidably engaged with an engagement groove 81 provided on the tip of the drive lever 73a, and driven by the swing of the drive lever 73a. Similarly, the other slide lever 77b is driven by the swing of the drive lever 73b with a slide pin (not shown) slidably engaged with an engagement groove (not shown) provided at the tip of the drive lever 73b. .

アクチュエータ本体71に設けられたカバー82とピストン12とにより区画される突出用の圧力室83aに流体を供給すると、ピストンロッド13が突出駆動される。これにより、2つの摺動レバー77a、77bは駆動レバー73a、73bを介して最も離れた位置に駆動される。一方、後退用の圧力室83bに流体を供給すると、ピストンロッド13が図10に示す位置に後退移動される。これにより、2つの摺動レバー77a、77bは駆動レバー73a、73bを介して最接近した位置に駆動される。   When the fluid is supplied to the projecting pressure chamber 83 a defined by the cover 82 provided on the actuator body 71 and the piston 12, the piston rod 13 is driven to project. As a result, the two slide levers 77a and 77b are driven to the farthest position via the drive levers 73a and 73b. On the other hand, when the fluid is supplied to the backward pressure chamber 83b, the piston rod 13 is retracted to the position shown in FIG. Thus, the two slide levers 77a and 77b are driven to the closest position via the drive levers 73a and 73b.

このように、2つの摺動レバー77a、77bが接近移動する把持動作により被加工物等がエアハンド10aにより把持され、2つの摺動レバー77a、77bが離反移動する開放動作により被加工物等の把持が解除される。ピストン12に設けられた磁石16の位置により、摺動レバー77a、77bの把持位置が検出される。磁石16の位置を検出するために、図1に示したセンサヘッド21がアクチュエータ本体71に装着される。   As described above, the workpiece etc. is gripped by the air hand 10a by the gripping operation in which the two sliding levers 77a and 77b move closer, and the workpiece etc. in the opening operation in which the two sliding levers 77a and 77b move apart. The grip is released. The position of the magnet 16 provided on the piston 12 detects the gripping position of the sliding levers 77 a and 77 b. In order to detect the position of the magnet 16, the sensor head 21 shown in FIG.

このように、往復動部材により被加工物等を把持するハンドを開閉駆動するためのエアハンド10aにも上述した位置検出装置を適用することができる。   As described above, the position detection device described above can be applied to the air hand 10a for driving to open and close the hand holding the workpiece or the like by the reciprocating member.

それぞれのアクチュエータにおいては、磁石16の位置は、ピストン12等の往復作動部材の位置に対応する。アクチュエータの種類に応じて、主領域値のみにより往復作動部材の位置を検出するか、または主領域値にシフト領域値を付加した検出範囲Qの拡大出力により往復作動部材の位置を検出するかを、選択することもできる。   In each of the actuators, the position of the magnet 16 corresponds to the position of the reciprocating member such as the piston 12. Depending on the type of actuator, whether to detect the position of the reciprocating member only by the main region value or to detect the position of the reciprocating member by the enlarged output of the detection range Q in which the shift region value is added to the main region value You can also choose.

図3および図4に示される磁気抵抗ブリッジ回路25においては、第1ブリッジ回路31と第2ブリッジ回路32はそれぞれフルブリッジ回路であるが、それぞれをハーフブリッジ回路としても良い。   In the magnetoresistive bridge circuit 25 shown in FIGS. 3 and 4, the first bridge circuit 31 and the second bridge circuit 32 are each a full bridge circuit, but may be a half bridge circuit.

本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。例えば、図1および図2は、空気圧によってピストンロッドを直線往復動するアクチュエータ10を示すが、液圧等のように空気圧以外の流体圧によってピストンロッドを直線往復動するアクチュエータにも本発明を適用することができる。   The present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. For example, although FIG. 1 and FIG. 2 show the actuator 10 which linearly reciprocates a piston rod by air pressure, the present invention is also applied to an actuator which linearly reciprocates a piston rod by fluid pressure other than air pressure such as hydraulic pressure. can do.

10 アクチュエータ
12 ピストン
16 磁石
21 センサヘッド
22 プリント配線基板
25 磁気抵抗ブリッジ回路
26 ホール素子
26a 磁気センサ
31 第1ブリッジ回路
31a 第1の回路パターン
31b 第2の回路パターン
32 第2ブリッジ回路
32a 第3の回路パターン
32b 第4の回路パターン
43 ATAN2値算出回路
K1 シフト領域
K2 シフト領域
P 主領域
Q 検出範囲
R1〜R8 磁気抵抗素子
e マイナス側シフト閾値
h プラス側シフト閾値
x 領域判別可能閾値
DESCRIPTION OF SYMBOLS 10 Actuator 12 Piston 16 Magnet 21 Sensor head 22 Printed wiring board 25 Magnetoresistive bridge circuit 26 Hall element 26a Magnetic sensor 31 1st bridge circuit 31a 1st circuit pattern 31b 2nd circuit pattern 32 2nd bridge circuit 32a 3rd Circuit pattern 32b Fourth circuit pattern 43 ATAN binary value calculation circuit K1 Shift area K2 shift area P main area Q detection range R1 to R8 magnetoresistance element e negative shift threshold h positive shift threshold x area distinguishable threshold

Claims (12)

磁化方向に移動する磁石の位置を検出する位置検出装置であって、
前記磁化方向である第1方向の磁界に最大感度を有する磁気抵抗素子、および前記第1方向に直交する第2方向の磁界に最大感度を有する磁気抵抗素子を備え、SIN信号を出力する第1ブリッジ回路と、
前記第1方向に対して45度傾く第3方向に最大感度を有する磁気抵抗素子、および前記第3方向に直交する第4方向に最大感度を有する磁気抵抗素子を備え、COS信号を出力する第2ブリッジ回路と、
磁界の方向に応じた出力信号を出力し、最大感度方向が前記第2の方向に沿うように配置される磁界方向検出センサと、
前記磁石が、前記第1ブリッジ回路と前記第2ブリッジ回路の中心部に対して、移動方向一方側の領域に位置しているか、移動方向他方側の領域に位置しているかを、前記磁界方向検出センサの出力電圧の極性によって判別する領域判別手段と、
を有する位置検出装置。
A position detection device for detecting the position of a magnet moving in a magnetization direction, comprising:
A magnetoresistive element comprising a magnetoresistive element having maximum sensitivity to a magnetic field in a first direction which is the magnetization direction, and a magnetoresistive element having maximum sensitivity to a magnetic field in a second direction orthogonal to the first direction, and outputting a SIN signal Bridge circuit,
A magnetoresistive element having a maximum sensitivity in a third direction inclined 45 degrees with respect to the first direction, and a magnetoresistive element having a maximum sensitivity in a fourth direction orthogonal to the third direction, and outputting a COS signal; 2 bridge circuit,
A magnetic field direction detection sensor that outputs an output signal according to the direction of the magnetic field and is disposed such that the maximum sensitivity direction is along the second direction;
The direction of the magnetic field is determined whether the magnet is located in the area on one side in the moving direction or in the area on the other side with respect to the central portion of the first bridge circuit and the second bridge circuit. Region judging means for judging by the polarity of the output voltage of the detection sensor;
Position detection device having
請求項1記載の位置検出装置において、前記領域判別手段は、前記磁界方向検出センサの前記出力電圧が入力され、前記極性に対応する2値の領域判別信号を出力する、位置検出装置。   The position detection device according to claim 1, wherein the area discrimination means receives the output voltage of the magnetic field direction detection sensor and outputs a binary area discrimination signal corresponding to the polarity. 請求項1または2記載の位置検出装置において、前記磁石の移動方向に対して、前記第1ブリッジ回路と前記第2ブリッジ回路の前記中心部と、前記磁界方向検出センサは同じ位置に配置される、位置検出装置。   The position detection device according to claim 1 or 2, wherein the central portions of the first bridge circuit and the second bridge circuit and the magnetic field direction detection sensor are disposed at the same position with respect to the moving direction of the magnet. , Position detection device. 請求項3記載の位置検出装置において、表裏両面に部品搭載面が設けられたプリント配線基板を有し、前記磁気抵抗素子が前記プリント配線基板の一方の部品搭載面に搭載され、前記プリント配線基板の他方の部品搭載面に前記磁界方向検出センサが搭載される、位置検出装置。   4. The position detection device according to claim 3, further comprising: a printed wiring board having component mounting surfaces provided on both front and back sides, wherein the magnetoresistive element is mounted on one of the component mounting surfaces of the printed wiring board, the printed wiring board The position detection device, wherein the magnetic field direction detection sensor is mounted on the other component mounting surface of 請求項2記載の位置検出装置において、前記SIN信号と前記COS信号とに基づいてATAN2値を演算するATAN2値演算部と、前記領域判別信号と前記ATAN2値とに基づいて前記磁石の位置を演算する位置演算部と、を有する位置検出装置。   The position detection apparatus according to claim 2, wherein an ATAN binary value calculating unit that calculates an ATAN2 value based on the SIN signal and the COS signal, and a position of the magnet based on the area determination signal and the ATAN2 value. And a position detection unit. 請求項5記載の位置検出装置において、前記SIN信号と前記COS信号からの演算値が領域判別可能を判定する領域判別可能閾値を越えたときに前記位置演算部は前記磁石の位置を演算する、位置検出装置。   6. The position detection apparatus according to claim 5, wherein the position calculation unit calculates the position of the magnet when an operation value from the SIN signal and the COS signal exceeds an area distinguishable threshold value for judging whether an area can be discriminated. Position detection device. 請求項5記載の位置検出装置において、前記磁石が前記中心部に接近することを検出する近接センサを有し、前記近接センサが前記磁石の接近を検出したときに前記位置演算部は前記磁石の位置を演算する、位置検出装置。   The position detection apparatus according to claim 5, further comprising: a proximity sensor that detects that the magnet approaches the central portion, and the position calculation unit detects the proximity of the magnet when the proximity sensor detects the proximity of the magnet. Position detection device that calculates position. 請求項1〜4のいずれか1項に記載の位置検出装置において、
前記第1ブリッジ回路は、
前記第1方向の磁界に最大感度を有する第1の磁気抵抗素子、および前記第2方向の磁界に最大感度を有する第2の磁気抵抗素子からなる第1の回路パターンと、前記第1方向の磁界に最大感度を有する第3の磁気抵抗素子、および前記第2方向の磁界に最大感度を有する第4の磁気抵抗素子からなる第2の回路パターンとを有するフルブリッジ回路であり、
前記第2ブリッジ回路は、
前記第3方向の磁界に最大感度を有する第5の磁気抵抗素子、および前記第4方向の磁界に最大感度を有する第6の磁気抵抗素子からなる第3の回路パターンと、前記第3方向の磁界に最大感度を有する第7の磁気抵抗素子、および前記第4方向の磁界に最大感度を有する第8の磁気抵抗素子からなる第4の回路パターンとを有するフルブリッジ回路である、位置検出装置。
In the position detection device according to any one of claims 1 to 4,
The first bridge circuit is
A first circuit pattern comprising a first magnetoresistance element having maximum sensitivity to the magnetic field in the first direction, and a second magnetoresistance element having maximum sensitivity to the magnetic field in the second direction; A full bridge circuit having a third magnetoresistance element having maximum sensitivity to a magnetic field and a second circuit pattern formed of a fourth magnetoresistance element having maximum sensitivity to a magnetic field in the second direction,
The second bridge circuit is
A third circuit pattern comprising a fifth magnetoresistance element having maximum sensitivity to the magnetic field in the third direction, and a sixth magnetoresistance element having maximum sensitivity to the magnetic field in the fourth direction; A position detection device comprising: a seventh magnetoresistive element having maximum sensitivity to a magnetic field; and a fourth circuit pattern including an eighth magnetoresistive element having maximum sensitivity to a magnetic field in the fourth direction .
請求項5〜7のいずれか1項に記載の位置検出装置において、前記ATAN2値のうち主領域値により前記磁石の位置を演算する、位置検出装置。   The position detection device according to any one of claims 5 to 7, wherein the position of the magnet is calculated based on a main region value of the two ATAN values. 請求項5〜7のいずれか1項に記載の位置検出装置において、前記ATAN2値のうちシフト領域におけるシフト閾値と前記ATAN2値の折返し点との間のシフト領域値を、前記ATAN2値の主領域値にシフトして付加し、シフト領域値が付加された拡大出力値を演算する、位置検出装置。   The position detection device according to any one of claims 5 to 7, wherein a shift area value between a shift threshold value in the shift area and a return point of the ATAN 2 value among the ATAN 2 value is a main area of the ATAN 2 value. A position detection device that shifts and adds to values and calculates an enlarged output value to which a shift area value is added. 請求項1〜4のいずれか1項に記載の位置検出装置において、前記磁界方向検出センサはホール素子である、位置検出装置。   The position detection device according to any one of claims 1 to 4, wherein the magnetic field direction detection sensor is a Hall element. 流体圧によって往復動作部材を駆動するアクチュエータであって、
前記往復動作部材に設けられる磁石と、
請求項1記載の位置検出装置と、
を有するアクチュエータ。
An actuator for driving a reciprocating member by fluid pressure, comprising:
A magnet provided to the reciprocating member;
The position detection device according to claim 1;
An actuator.
JP2016111311A 2016-06-02 2016-06-02 Position detection device and actuator Active JP6546882B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2016111311A JP6546882B2 (en) 2016-06-02 2016-06-02 Position detection device and actuator
EP17806234.5A EP3450926B1 (en) 2016-06-02 2017-04-21 Position detecting device and actuator
PCT/JP2017/016081 WO2017208674A1 (en) 2016-06-02 2017-04-21 Position detecting device and actuator
CN201790000898.XU CN208984091U (en) 2016-06-02 2017-04-21 Position detecting device and actuator
US16/305,471 US10859403B2 (en) 2016-06-02 2017-04-21 Position detecting apparatus and actuator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016111311A JP6546882B2 (en) 2016-06-02 2016-06-02 Position detection device and actuator

Publications (2)

Publication Number Publication Date
JP2017219320A JP2017219320A (en) 2017-12-14
JP6546882B2 true JP6546882B2 (en) 2019-07-17

Family

ID=60658945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016111311A Active JP6546882B2 (en) 2016-06-02 2016-06-02 Position detection device and actuator

Country Status (1)

Country Link
JP (1) JP6546882B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7100677B2 (en) * 2020-05-14 2022-07-13 株式会社小野測器 Test system
US11933933B2 (en) 2021-03-31 2024-03-19 Asahi Kasei Microdevices Corporation Event detection method, event detection system, and non-transitory computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4940965B2 (en) * 2007-01-29 2012-05-30 株式会社デンソー Rotation sensor and rotation sensor device
JP5180737B2 (en) * 2008-08-22 2013-04-10 株式会社コガネイ Position detecting apparatus and controller used therefor
JP2011180001A (en) * 2010-03-02 2011-09-15 Denso Corp Rotation sensor
JP2014006053A (en) * 2012-06-21 2014-01-16 Murata Mfg Co Ltd Magnetic sensor

Also Published As

Publication number Publication date
JP2017219320A (en) 2017-12-14

Similar Documents

Publication Publication Date Title
WO2017208674A1 (en) Position detecting device and actuator
US9297634B2 (en) Device for generating a sensor signal and method for determining the position of a sensor
JP6791033B2 (en) Position sensor
US20170191851A1 (en) Position sensing system
JP6546882B2 (en) Position detection device and actuator
JP6546881B2 (en) Position detection device and actuator
JP2018151181A (en) Magnetic position detecting device
JP2006504085A (en) Probe head for coordinate measuring machine
US7969145B2 (en) Position detecting device with a magnetoresistive element
JP4973869B2 (en) Moving body detection device
EP3209973B1 (en) Magnetoresistive proximity sensor
TWI657228B (en) Linear displacement sensing device
JP4639216B2 (en) Magnetic sensor
US20200240810A1 (en) Encoder System for Position Determination with Varying Scale
JP2020122721A (en) Position sensor
JP2008170273A (en) Position detector using magnetoresistance effect element
WO2021140724A1 (en) Position detection device
JPWO2008139930A1 (en) Position detecting device using magnetoresistive effect element
JP4775705B2 (en) Magnetic absolute encoder
CN116336923A (en) Displacement sensor for measuring length by utilizing multiple Hall sensor chips
JP2009236743A (en) Magnetic position detecting device
JP2000314603A (en) Position detector
JP2018112465A (en) Stroke detection device
JP5191946B2 (en) Position detecting device using magnetoresistive effect element
JPH01285817A (en) Processing method for output of magnetism detecting sensor and structure of sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180611

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190624

R150 Certificate of patent or registration of utility model

Ref document number: 6546882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250