JP2015009349A - Rotation angle position detector - Google Patents

Rotation angle position detector Download PDF

Info

Publication number
JP2015009349A
JP2015009349A JP2013138703A JP2013138703A JP2015009349A JP 2015009349 A JP2015009349 A JP 2015009349A JP 2013138703 A JP2013138703 A JP 2013138703A JP 2013138703 A JP2013138703 A JP 2013138703A JP 2015009349 A JP2015009349 A JP 2015009349A
Authority
JP
Japan
Prior art keywords
rotation angle
signal
angle range
output
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013138703A
Other languages
Japanese (ja)
Other versions
JP5730352B2 (en
Inventor
慎治 山田
Shinji Yamada
慎治 山田
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.)
SHICANO SEQUENCE KK
Original Assignee
SHICANO SEQUENCE KK
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 SHICANO SEQUENCE KK filed Critical SHICANO SEQUENCE KK
Priority to JP2013138703A priority Critical patent/JP5730352B2/en
Publication of JP2015009349A publication Critical patent/JP2015009349A/en
Application granted granted Critical
Publication of JP5730352B2 publication Critical patent/JP5730352B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Feeding Of Workpieces (AREA)

Abstract

PROBLEM TO BE SOLVED: To propose a rotation angle position detector capable of outputting a signal when a detection object is arranged in an optionally set rotation angle position.SOLUTION: The rotation angle position detector 1 comprises an absolute encoder 10 for outputting sn absolute rotation angle position of a camshaft 105 (the detection object), an input connector 7 for accepting input of a set command, a control part 11 for outputting the signal when the absolute rotation angle position is included in a detection rotation angle range by setting the detection rotation angle range based on the set command and an output connector 8 for outputting the signal to an external part. Since the detection rotation angle range can be optionally set by the set command, the signal can be outputted when the camshaft 105 is arranged in the optional rotation angle position.

Description

本発明は、被検出物が任意に設定した回転角度位置に配置されたときに信号を出力する回転角度位置検出装置に関する。   The present invention relates to a rotation angle position detection device that outputs a signal when an object to be detected is arranged at an arbitrarily set rotation angle position.

タレットの回転角度位置を割り出すために回転角度位置検出装置を用いたタレット旋盤が特許文献1に記載されている。同文献の回転角度位置検出装置は、アブソリュートエンコーダーによってタレットの絶対回転角度位置を検出しており、タレットが1回転する間にアブソリュートエンコーダーから出力される回転角度位置情報を所定の分割数で分割して信号として出力している。分割数は、タレットの割り出し数に対応する数であり、回転角度位置検出装置に搭載されたディップスイッチを操作することにより6、8、10、12等に設定することができる。   Patent Document 1 discloses a turret lathe that uses a rotation angle position detection device to determine the rotation angle position of a turret. The rotation angle position detection device of the same document detects the absolute rotation angle position of the turret by an absolute encoder, and divides rotation angle position information output from the absolute encoder by a predetermined number of divisions during one rotation of the turret. Is output as a signal. The number of divisions is a number corresponding to the number of turrets, and can be set to 6, 8, 10, 12, etc. by operating a dip switch mounted on the rotation angle position detection device.

特開2007−326157号公報JP 2007-326157 A

特許文献1の回転角度位置検出装置は、タレットの割り出し装置として特化されている。このため、分割数とは関係のない任意の回転角度位置に被検出物が配置されたときに信号を出力するような設定はできない。従って、特許文献1の回転角度位置検出装置を、カムによって反復的な動作を繰り返す工作機械等に搭載し、カムを回転させているカム軸が任意の回転角度位置に配置されたときに信号を出力させる用途に用いることはできない。   The rotation angle position detection device of Patent Document 1 is specialized as a turret indexing device. For this reason, it cannot be set to output a signal when an object to be detected is arranged at an arbitrary rotation angle position that is not related to the number of divisions. Therefore, the rotation angle position detection device of Patent Document 1 is mounted on a machine tool or the like that repeats repetitive operations using a cam, and a signal is output when the cam shaft that rotates the cam is placed at an arbitrary rotation angle position. It cannot be used for output purposes.

本発明の課題は、かかる点に鑑みて、被検出物が任意に設定した回転角度位置に配置されたときに信号を出力することができる回転角度位置検出装置を提案することにある。   In view of this point, an object of the present invention is to propose a rotation angle position detection device capable of outputting a signal when an object to be detected is arranged at an arbitrarily set rotation angle position.

上記の課題を解決するために、本発明の回転角度位置検出装置は、絶対回転角度位置を出力するアブソリュートエンコーダーと、設定コマンドの入力を受け付ける入力部と、前記設定コマンドに基づいて検出回転角度範囲を設定し、前記絶対回転角度位置が前記検出回転角度範囲に含まれている場合に信号を出力する制御部と、前記信号を外部に出力するための出力部と、を有することを特徴とする。   In order to solve the above problems, a rotational angle position detection device of the present invention includes an absolute encoder that outputs an absolute rotational angle position, an input unit that receives an input of a setting command, and a detected rotational angle range based on the setting command. And a control unit that outputs a signal when the absolute rotation angle position is included in the detected rotation angle range, and an output unit that outputs the signal to the outside. .

本発明によれば、設定コマンドによって検出回転角度範囲を任意に設定できる。従って、アブソリュートエンコーダーにより絶対回転角度位置が取得されている被検出物が任意の回転角度位置に配置されたときに信号を出力することができる。なお、絶対回転角度位置が検出回転角度範囲に含まれている場合には絶対回転角度位置と検出回転角度範囲が一致している場合も含まれる。   According to the present invention, the detection rotation angle range can be arbitrarily set by a setting command. Therefore, a signal can be output when the detected object whose absolute rotation angle position is acquired by the absolute encoder is arranged at an arbitrary rotation angle position. In addition, when the absolute rotation angle position is included in the detected rotation angle range, the case where the absolute rotation angle position and the detected rotation angle range match is also included.

本発明において、前記出力部は、複数の出力ポートを備え、前記制御部は、前記設定コマンドに基づいて前記複数の出力ポートから前記信号を出力する1つの出力ポートを設定し、前記信号を設定された前記1つの出力ポートに出力することが望ましい。このようにすれば、制御部からの信号を任意に設定した出力ポートから外部に出力できる。従って、例えば、複数の設定コマンドを用いて互いに重複しない複数の検出回転角度範囲を設定する場合において、被検出物の絶対回転角度位置が各検出回転角度範囲に含まれる毎に同一の出力ポートから信号を出力することが可能である。また、複数の設定コマンドを用いて互いに重複しない複数の検出回転角度範囲を設定する場合において、被検出物の絶対回転角度位置が各検出回転角度範囲に含まれる毎に異なる出力ポートから独立した信号を出力することも可能である。   In the present invention, the output unit includes a plurality of output ports, and the control unit sets one output port that outputs the signal from the plurality of output ports based on the setting command, and sets the signal It is desirable to output to the one output port. If it does in this way, the signal from a control part can be outputted outside from the output port set up arbitrarily. Therefore, for example, when a plurality of detection rotation angle ranges that do not overlap each other are set using a plurality of setting commands, the same output port is used every time the absolute rotation angle position of the detected object is included in each detection rotation angle range. It is possible to output a signal. In addition, when setting a plurality of detection rotation angle ranges that do not overlap each other using a plurality of setting commands, a signal independent from a different output port every time the absolute rotation angle position of the detected object is included in each detection rotation angle range Can also be output.

本発明において、前記入力部は、前記設定コマンドとして、第1設定コマンドおよび第2設定コマンドを受け付け、前記第1設定コマンドは、前記検出回転角度範囲として第1検出回転角度範囲を設定するとともに、前記1つの出力ポートとして第1出力ポートを設定するものであり、前記第2設定コマンドは、前記検出回転角度範囲として前記第1検出回転角度範囲と少なくとも部分的に重複する第2検出回転角度範囲を設定するとともに前記1つの出力ポートとして前記第1出力ポートとは異なる第2出力ポートを設定するものであり、前記制御部は、前記信号として、前記絶対回転角度位置が前記第1検出回転角度範囲に含まれている場合に前記第1出力ポートに第1信号を出力するとともに、前記絶対回転角度位置が前記第1検出回転角度範囲に含まれている場合に前記第2出力ポートに第2信号を出力するものとすることができる。このようにすれば、検出回転角度範囲としてオーバーラップしている複数の検出回転角度範囲を設定することができるとともに、被検出物の絶対回転角度位置が各検出回転角度範囲に含まれる場合に、検出回転角度範囲毎に異なる出力ポートから独立した信号を出力することができる。   In the present invention, the input unit accepts a first setting command and a second setting command as the setting command, and the first setting command sets a first detection rotation angle range as the detection rotation angle range, A first output port is set as the one output port, and the second setting command is a second detected rotation angle range that at least partially overlaps the first detected rotation angle range as the detected rotation angle range. And the second output port different from the first output port is set as the one output port, and the control unit uses the first detected rotation angle as the signal as the absolute rotation angle position. When it is included in the range, the first signal is output to the first output port, and the absolute rotation angle position is the first detection circuit. The second output port if included in the angle range can be made to output a second signal. In this way, a plurality of overlapping detection rotation angle ranges can be set as the detection rotation angle range, and when the absolute rotation angle position of the detected object is included in each detection rotation angle range, An independent signal can be output from a different output port for each detected rotation angle range.

本発明において、前記入力部は、基準設定コマンドを受け付け、前記制御部は、前記基準設定コマンドが受け付けられた時点における前記絶対回転角度位置を基準角度位置として取得する基準角度位置取得部と、前記基準角度位置が取得されると前記アブソリュートエンコーダーの原点角度位置と前記基準角度位置との角度差に基づいて前記検出回転角度範囲を前記基準角度位置を基準とする補正検出回転角度範囲に補正する補正部とを備え、前記検出回転角度範囲が補正されると前記絶対回転角度位置が当該補正検出回転角度範囲に含まれている場合に前記信号を出力することが望ましい。このようにすれば、回転角度位置検出の基準となる基準角度位置を柔軟に設定できる。従って、回転角度位置検出の基準がアブソリュートエンコーダー元来の原点角度位置に固定されている場合と比較して、回転角度位置検出装置の設置が容易となる。   In the present invention, the input unit receives a reference setting command, and the control unit acquires a reference angular position acquisition unit that acquires the absolute rotation angle position at the time when the reference setting command is received as a reference angular position; When a reference angular position is acquired, a correction for correcting the detected rotational angle range to a corrected detected rotational angle range based on the reference angular position based on an angular difference between the origin angular position of the absolute encoder and the reference angular position When the detected rotation angle range is corrected, the signal is preferably output when the absolute rotation angle position is included in the corrected detection rotation angle range. In this way, it is possible to flexibly set the reference angular position that serves as a reference for detecting the rotational angular position. Therefore, the rotation angle position detection device can be easily installed as compared with the case where the reference for rotation angle position detection is fixed at the original origin angle position of the absolute encoder.

本発明において、回転角度位置検出装置の入力部に接続した外部の機器から検出回転角度範囲の設定を容易に行うためには、前記入力部は、第1入力ポートと第2入力ポートとを備え、前記制御部は、動作モードとして、前記設定コマンドに基づいて前記信号を出力する検出モードと前記検出回転角度範囲の設定が可能な設定モードとを備え、前記動作モードは、前記第1入力ポートに設定モード信号が入力されているときに前記設定モードに維持され、前記設定コマンドは、前記第1入力ポートに前記設定モード信号が入力されている間に、前記第2入力ポートで受け付けることが望ましい。この場合には、検出回転角度範囲の設定を行う外部の機器について、入力部に接続されると、その接続が解除されるまでの間、第1入力ポートに設定モード信号を入力し続けるものとしておく。また、この外部の機器について、第1入力ポートに設定モード信号を入力している間に、第2入力ポートに設定コマンドを入力するものとしておく。このようにすれば、外部の機器を入力部に接続するだけで制御部の動作モードを設定モードに移行させて、検出回転角度範囲を設定できる。   In the present invention, in order to easily set the detection rotation angle range from an external device connected to the input unit of the rotation angle position detection device, the input unit includes a first input port and a second input port. The control unit includes, as operation modes, a detection mode for outputting the signal based on the setting command, and a setting mode capable of setting the detection rotation angle range, and the operation mode includes the first input port. The setting mode is maintained when a setting mode signal is input to the first input port, and the setting command is received at the second input port while the setting mode signal is input to the first input port. desirable. In this case, when an external device that sets the detected rotation angle range is connected to the input unit, the setting mode signal is continuously input to the first input port until the connection is released. deep. For this external device, a setting command is input to the second input port while a setting mode signal is input to the first input port. In this way, the detected rotation angle range can be set by shifting the operation mode of the control unit to the setting mode simply by connecting an external device to the input unit.

本発明において、前記アブソリュートエンコーダーは、永久磁石と、磁気センサーを有するエンコーダー本体と、を備え、前記エンコーダー本体、前記制御部、前記入力部および前記出力部は、単一の筐体に搭載されていることが望ましい。このようにすれば、永久磁石を被検出物に取り付けることによって、被検出物の回転角度位置を非接触で検出できる。従って、装置の寿命が長い。また、エンコーダー本体、制御部、入力部および出力部が単一の筐体に搭載されているので、装置の小型化を図ることが可能であり、装置の設置も容易になる。   In the present invention, the absolute encoder includes a permanent magnet and an encoder body having a magnetic sensor, and the encoder body, the control unit, the input unit, and the output unit are mounted on a single casing. It is desirable. If it does in this way, a rotation angle position of a detected object can be detected by non-contact by attaching a permanent magnet to a detected object. Therefore, the lifetime of the device is long. In addition, since the encoder main body, the control unit, the input unit, and the output unit are mounted on a single casing, it is possible to reduce the size of the device and facilitate installation of the device.

本発明によれば、設定コマンドにより信号を出力する検出回転角度範囲を任意に設定できる。従って、被検出物が任意に設定された回転角度位置に配置されたときに回転角度位置検出装置から信号を出力できる。   According to the present invention, the detection rotation angle range in which a signal is output by a setting command can be arbitrarily set. Therefore, a signal can be output from the rotation angle position detection device when the object to be detected is arranged at an arbitrarily set rotation angle position.

(a)は本発明の回転角度位置検出装置が搭載された搬送機械の説明図であり、(b)は本発明の回転角度位置検出装置の斜視図である。(A) is explanatory drawing of the conveyance machine by which the rotation angle position detection apparatus of this invention is mounted, (b) is a perspective view of the rotation angle position detection apparatus of this invention. 本発明の回転角度位置検出装置の制御系を示す概略ブロック図である。It is a schematic block diagram which shows the control system of the rotation angle position detection apparatus of this invention. 回転角度位置検出装置による信号出力動作の説明図である。It is explanatory drawing of the signal output operation | movement by a rotation angle position detection apparatus.

以下に、図面を参照して、本発明の実施の形態に係る回転角度位置検出装置を説明する。   Hereinafter, a rotation angle position detection device according to an embodiment of the present invention will be described with reference to the drawings.

図1(a)は本発明の回転角度位置検出装置が搭載された搬送機械の説明図であり、図1(b)は本発明の回転角度位置検出装置の斜視図である。本例の回転角度位置検出装置1は、例えば、生産ラインにおいてワークWを搬送する搬送機械100に搭載されている。図1(a)に示すように、搬送機械100は先端に把持装置101を搭載するアーム102を備えている。搬送機械100はPLC(プログラマブル・ロジック・コントローラ:図示せず)により駆動制御されて、ターンテーブル103上の待機位置Aに配置されたワークWを、作業台104上の加工位置Bに移動させる。   FIG. 1A is an explanatory view of a transport machine equipped with the rotation angle position detection device of the present invention, and FIG. 1B is a perspective view of the rotation angle position detection device of the present invention. The rotation angle position detection apparatus 1 of this example is mounted on, for example, a transport machine 100 that transports a workpiece W in a production line. As shown in FIG. 1A, the transport machine 100 includes an arm 102 on which a gripping device 101 is mounted. The transport machine 100 is driven and controlled by a PLC (programmable logic controller: not shown), and moves the workpiece W arranged at the standby position A on the turntable 103 to the machining position B on the work table 104.

搬送機械100のアーム102はカム(不図示)によって動作させられる。すなわち、アーム102は、カムを回転させるカム軸105が1回転する間に、待機位置Aに配置されたワークWを把持可能な搬送開始位置Mと、加工位置BにワークWを載置可能な搬送終了位置Nの間を所定の経路で往復移動させられる。カム軸105の回転によってアーム102が搬送開始位置Mに配置されると、PLCからの指令によって把持装置101が駆動され、把持装置101はワークWを把持する。その後、カム軸105の回転に伴ってアーム102が搬送終了位置Nに移動すると、PLCからの指令によって把持装置101が駆動され、把持装置101はワークWを開放する。これにより、ワークWは待機位置Aから加工位置Bに移動する。また、把持装置101がワークWを開放する開放動作を開始すると、その開放動作と並行してターンテーブル103が所定の角度だけ回転し、ターンテーブル103上の待機位置Aには次のワークWが配置される。しかる後に、カム軸105が回転してアーム102が元の搬送開始位置Mに戻り、次のワークWを把持可能な状態となる。その後、PLCによって把持装置101が駆動されて上記の搬送動作が繰り返される。   The arm 102 of the transport machine 100 is operated by a cam (not shown). That is, the arm 102 can place the workpiece W at the transfer start position M where the workpiece W arranged at the standby position A can be gripped and the processing position B while the cam shaft 105 that rotates the cam rotates once. It is reciprocated between the conveyance end positions N along a predetermined route. When the arm 102 is arranged at the conveyance start position M by the rotation of the cam shaft 105, the gripping device 101 is driven by a command from the PLC, and the gripping device 101 grips the workpiece W. Thereafter, when the arm 102 moves to the conveyance end position N with the rotation of the cam shaft 105, the gripping device 101 is driven by a command from the PLC, and the gripping device 101 releases the workpiece W. As a result, the workpiece W moves from the standby position A to the machining position B. Further, when the gripping device 101 starts an opening operation for releasing the workpiece W, the turntable 103 rotates by a predetermined angle in parallel with the opening operation, and the next workpiece W is at the standby position A on the turntable 103. Be placed. After that, the cam shaft 105 rotates and the arm 102 returns to the original transfer start position M, and the next workpiece W can be gripped. Thereafter, the gripping device 101 is driven by the PLC, and the above-described transport operation is repeated.

ここで、回転角度位置検出装置1は、カム軸105が予め設定した回転角度範囲に位置したときに、アーム102の位置を確認するための信号を出力する。また、回転角度位置検出装置1は、カム軸105が予め設定した回転角度範囲に位置したときに、把持装置101やターンテーブル103を駆動するための信号を出力する。PLCは回転角度位置検出装置1から出力される信号に基づいて搬送機械100を駆動制御する。   Here, the rotation angle position detection device 1 outputs a signal for confirming the position of the arm 102 when the cam shaft 105 is positioned within a preset rotation angle range. Further, the rotation angle position detection device 1 outputs a signal for driving the gripping device 101 and the turntable 103 when the cam shaft 105 is positioned in a preset rotation angle range. The PLC drives and controls the transport machine 100 based on a signal output from the rotation angle position detection device 1.

回転角度位置検出装置1は、図1(b)に示すように、カム軸105に取り付けられた永久磁石2と、永久磁石2に僅かな隙間を開けて対向配置された装置本体3を備えている。永久磁石2は偏平な円柱形状をしており、カム軸105の端部に同軸に連結されている。永久磁石2において装置本体3と対向する円形平面は着磁面4である。着磁面4は周方向に2分割されており、一方がS極、他方がN極となっている。   As shown in FIG. 1B, the rotational angle position detection device 1 includes a permanent magnet 2 attached to a cam shaft 105 and a device main body 3 arranged to face the permanent magnet 2 with a slight gap. Yes. The permanent magnet 2 has a flat cylindrical shape and is coaxially connected to the end of the cam shaft 105. A circular plane facing the apparatus main body 3 in the permanent magnet 2 is a magnetized surface 4. The magnetized surface 4 is divided into two in the circumferential direction, one being an S pole and the other being an N pole.

装置本体3は直方体形状の筐体5を備えている。永久磁石2と対向している筐体5の矩形端面はセンサー面6となっており、カム軸105の回転中心軸線L上に位置している。センサー面6を挟んだ両側に位置する筐体5の各側面部分には、それぞれ入力コネクター(入力部)7と出力コネクター(出力部)8が搭載されている。   The apparatus main body 3 includes a rectangular parallelepiped housing 5. The rectangular end surface of the housing 5 facing the permanent magnet 2 is a sensor surface 6 and is located on the rotation center axis L of the cam shaft 105. An input connector (input unit) 7 and an output connector (output unit) 8 are mounted on each side surface portion of the housing 5 located on both sides of the sensor surface 6.

(制御系)
図2は回転角度位置検出装置1の制御系を示す概略ブロック図である。図2に示すように、装置本体3は、CPUやRAMを備える制御部11を中心に構成されている。制御部11の入力側には入力コネクター7とエンコーダー本体12が接続されている。制御部11の出力側には出力コネクター8が接続されている。また、制御部11には書き換え可能な不揮発性のメモリー13が接続されている。制御部11、エンコーダー本体12およびメモリー13は筐体5に搭載されている。
(Control system)
FIG. 2 is a schematic block diagram showing a control system of the rotation angle position detection apparatus 1. As shown in FIG. 2, the apparatus main body 3 is mainly configured of a control unit 11 including a CPU and a RAM. An input connector 7 and an encoder body 12 are connected to the input side of the control unit 11. An output connector 8 is connected to the output side of the control unit 11. Further, a rewritable nonvolatile memory 13 is connected to the control unit 11. The control unit 11, the encoder main body 12, and the memory 13 are mounted on the housing 5.

入力コネクター7は検出回転角度範囲などの設定を行う設定機器(外部の機器:図示せず)と回転角度位置検出装置1を通信可能に接続する入力インターフェースである。入力コネクター7は第1入力ポート15と第2入力ポート16を備えている。入力コネクター7は第1入力ポート15を介して設定機器からの設定モード信号を受け付け、第2入力ポート16を介して設定機器からの設定コマンドおよび基準設定コマンドを受け付ける。   The input connector 7 is an input interface that connects a setting device (external device: not shown) for setting the detection rotation angle range and the like to the rotation angle position detection device 1 so as to communicate with each other. The input connector 7 includes a first input port 15 and a second input port 16. The input connector 7 receives a setting mode signal from the setting device via the first input port 15, and receives a setting command and a reference setting command from the setting device via the second input port 16.

エンコーダー本体12は永久磁石2とともにアブソリュートエンコーダー10を構成している。エンコーダー本体12は永久磁石2の磁界の変化を検出する磁気センサー17と、磁気センサー17からの出力に基づいてカム軸105の絶対回転角度位置を出力する演算部18を備えている。なお、アブソリュートエンコーダー10としては、磁気センサー17を搭載するエンコーダー部が演算部18と別体に構成されているものを用いることもできる。   The encoder body 12 constitutes an absolute encoder 10 together with the permanent magnet 2. The encoder body 12 includes a magnetic sensor 17 that detects a change in the magnetic field of the permanent magnet 2, and a calculation unit 18 that outputs the absolute rotation angle position of the cam shaft 105 based on the output from the magnetic sensor 17. In addition, as the absolute encoder 10, the encoder part in which the magnetic sensor 17 is mounted may be configured separately from the calculation part 18.

出力コネクター8はPLCと回転角度位置検出装置1を通信可能に接続するための通信インターフェースである。出力コネクター8は第1〜第8出力ポート21〜28を備えている。出力コネクター8からはオンまたはオフの信号が出力される。各出力ポート21〜28からの信号はオープンコレクター出力である。   The output connector 8 is a communication interface for connecting the PLC and the rotation angle position detection device 1 in a communicable manner. The output connector 8 includes first to eighth output ports 21 to 28. An ON / OFF signal is output from the output connector 8. The signal from each output port 21-28 is an open collector output.

制御部11は、入力コネクター7を介して設定機器から装置本体3に入力された設定コマンドに基づいて検出回転角度範囲と出力ポート21〜28を設定する。より具体的には、設定コマンドは、検出回転角度範囲を設定する検出回転角度範囲設定コマンドと、8つの出力ポート21〜28のうちの1つの出力ポート21〜28を選択する出力ポート設定コマンドを含んでいる。設定コマンドが装置本体3に入力されると、制御部11は検出回転角度範囲設定コマンドに基づいて検出回転角度範囲をメモリー13に記憶保持する。また、制御部11は出力ポート設定コマンドに基づいて出力ポート21〜28のうちの1つの出力ポートを選択し、選択した出力ポートと検出回転角度範囲とを対応付けてメモリー13に記憶保持する。これにより検出回転角度範囲と出力ポートが設定される。   The control unit 11 sets the detection rotation angle range and the output ports 21 to 28 based on a setting command input from the setting device to the apparatus main body 3 via the input connector 7. More specifically, the setting command includes a detection rotation angle range setting command for setting a detection rotation angle range and an output port setting command for selecting one output port 21 to 28 among the eight output ports 21 to 28. Contains. When the setting command is input to the apparatus body 3, the control unit 11 stores the detected rotation angle range in the memory 13 based on the detected rotation angle range setting command. The control unit 11 selects one output port among the output ports 21 to 28 based on the output port setting command, and stores the selected output port and the detected rotation angle range in association with each other in the memory 13. Thereby, a detection rotation angle range and an output port are set.

また、制御部11は、メモリー13を参照して、そこに記録保持された検出回転角度範囲および1つの出力ポートを取得し、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が取得した検出回転角度範囲に含まれているときに、取得した出力ポートにオンの信号を出力する。なお、絶対回転角度位置が検出回転角度範囲に含まれている場合には、絶対回転角度位置と検出回転角度範囲が一致している場合も含まれる。   Further, the control unit 11 refers to the memory 13 and acquires the detected rotation angle range and one output port recorded and held therein, and acquires the absolute rotation angle position of the cam shaft 105 output from the encoder body 12. When it is included in the detected rotation angle range, an ON signal is output to the acquired output port. In addition, the case where the absolute rotation angle position is included in the detected rotation angle range includes the case where the absolute rotation angle position matches the detected rotation angle range.

さらに、制御部11は、入力コネクター7を介して設定機器から装置本体3に基準設定コマンドが入力されたときに処理を行う基準角度位置取得部31と補正部32を備えている。基準角度位置取得部31は基準設定コマンドが装置本体3に入力された時点においてエンコーダー本体12から出力されているカム軸105の絶対回転角度位置を基準角度位置として取得する。補正部32は、基準角度位置が取得されると、アブソリュートエンコーダー10の元来の原点角度位置と取得した基準角度位置との角度差に基づいて検出回転角度範囲を補正する。すなわち、メモリー13に記憶保持されている検出回転角度範囲を、基準角度位置を基準とする補正検出回転角度範囲に補正する(書き換える)。   The control unit 11 further includes a reference angular position acquisition unit 31 and a correction unit 32 that perform processing when a reference setting command is input from the setting device to the apparatus main body 3 via the input connector 7. The reference angle position acquisition unit 31 acquires the absolute rotation angle position of the cam shaft 105 output from the encoder body 12 at the time when the reference setting command is input to the apparatus body 3 as the reference angle position. When the reference angle position is acquired, the correction unit 32 corrects the detected rotation angle range based on the angle difference between the original origin angle position of the absolute encoder 10 and the acquired reference angle position. That is, the detected rotation angle range stored and held in the memory 13 is corrected (rewritten) to the corrected detected rotation angle range with the reference angle position as a reference.

検出回転角度範囲が補正されると、制御部11はメモリー13を参照したときに補正検出回転角度範囲を取得する。従って、制御部11は絶対回転角度位置が補正検出回転角度範囲に含まれている場合にオンの信号を出力するものとなる。   When the detected rotation angle range is corrected, the control unit 11 acquires the corrected detected rotation angle range when referring to the memory 13. Therefore, the control unit 11 outputs an ON signal when the absolute rotation angle position is included in the correction detection rotation angle range.

ここで、制御部11は、動作モードとして、設定コマンドに基づいて信号を出力する検出モードと、検出回転角度範囲の設定が可能な設定モードを備えている。制御部11における通常の動作モードは検出モードであり、第1入力ポート15を介して設定機器から装置本体3に設定モード信号が入力される間だけ制御部11は設定モードに移行する。   Here, the control unit 11 includes, as operation modes, a detection mode for outputting a signal based on a setting command and a setting mode capable of setting a detection rotation angle range. The normal operation mode in the control unit 11 is the detection mode, and the control unit 11 shifts to the setting mode only while a setting mode signal is input from the setting device to the apparatus main body 3 via the first input port 15.

本例では、設定機器を入力コネクター7に接続すると、第1入力ポート15を介して設定機器から装置本体3に設定モード信号が入力され続けるようになっている。また、設定機器は、第1入力ポート15を介した設定モード信号の入力と並行して、第2入力ポート16を介して装置本体3に設定コマンド或いは基準設定コマンドを入力するようになっている。従って、設定機器が入力コネクター7に接続されると、制御部11は自動的に設定モードとなり、制御部11における検出回転角度範囲等の設定が可能となる。また、設定機器と入力コネクター7の接続が解除されると、第1入力ポート15への設定モード信号の入力がなくなるので、制御部11は自動的に検出モードへと移行する。   In this example, when the setting device is connected to the input connector 7, the setting mode signal is continuously input from the setting device to the apparatus body 3 via the first input port 15. The setting device inputs a setting command or a reference setting command to the apparatus main body 3 via the second input port 16 in parallel with the input of the setting mode signal via the first input port 15. . Accordingly, when the setting device is connected to the input connector 7, the control unit 11 automatically enters the setting mode, and the detection rotation angle range and the like in the control unit 11 can be set. Further, when the connection between the setting device and the input connector 7 is released, the setting mode signal is not input to the first input port 15, so that the control unit 11 automatically shifts to the detection mode.

(回転角度位置検出装置の設置)
回転角度位置検出装置1を設置する際には、まず、被検出物となる搬送機械100のカム軸105の端部に永久磁石2を取り付ける。次に、永久磁石2と対向する位置に装置本体3を配置するとともに、入力コネクター7に設定装置を接続する。また、出力コネクター8にPLCを接続する。
(Installation of rotation angle position detector)
When installing the rotation angle position detection device 1, first, the permanent magnet 2 is attached to the end of the cam shaft 105 of the transport machine 100 that is to be detected. Next, the apparatus main body 3 is disposed at a position facing the permanent magnet 2, and the setting apparatus is connected to the input connector 7. Further, a PLC is connected to the output connector 8.

設定装置が入力コネクター7に接続されると、第1入力ポート15を介して設定装置から装置本体3に設定モード信号が入力されるので、制御部11は設定モードに移行する。その後、第2入力ポート16を介して設定装置から装置本体3に設定コマンドが入力されると、制御部11は設定コマンドに基づいて検出回転角度範囲と出力ポート21〜28を設定する。   When the setting device is connected to the input connector 7, a setting mode signal is input from the setting device to the device body 3 via the first input port 15, so that the control unit 11 shifts to the setting mode. Thereafter, when a setting command is input from the setting device to the apparatus main body 3 via the second input port 16, the control unit 11 sets the detected rotation angle range and the output ports 21 to 28 based on the setting command.

本例では、設定コマンドとして以下の第1〜第5コマンドが入力されるものとする。第1設定コマンドは、検出回転角度範囲を355°〜5°として信号を第1出力ポート21から出力するものである。第2設定コマンドは検出回転角度範囲を0°〜15°として信号を第2出力ポート22から出力するものである。第3設定コマンドは検出回転角度範囲を175°〜185°として信号を第1出力ポート21から出力するものである。第4設定コマンドは検出回転角度範囲を180°〜195°として信号を第2出力ポート22から出力するものである。第5設定コマンドは検出回転角度範囲を190°〜220°として信号を第3出力ポート23から出力するものである。各設定コマンドの検出回転角度範囲および出力ポートは制御部11によってメモリー13に記憶保持される。   In this example, it is assumed that the following first to fifth commands are input as setting commands. The first setting command outputs a signal from the first output port 21 with the detected rotation angle range set to 355 ° to 5 °. The second setting command outputs a signal from the second output port 22 with the detected rotation angle range set to 0 ° to 15 °. The third setting command outputs a signal from the first output port 21 with the detected rotation angle range set to 175 ° to 185 °. The fourth setting command outputs a signal from the second output port 22 with the detected rotation angle range set to 180 ° to 195 °. The fifth setting command outputs a signal from the third output port 23 with the detected rotation angle range set to 190 ° to 220 °. The detected rotation angle range and output port of each setting command are stored and held in the memory 13 by the control unit 11.

次に、カム軸105の回転角度位置を所望の回転角度位置に調整し、設定装置から第2入力ポート16を介して基準設定コマンドを入力する。基準設定コマンドが装置本体3に入力されると、装置本体3が基準設定コマンドを受け付けた時点においてエンコーダー本体12から出力されているカム軸105の絶対回転角度位置が基準角度位置として取得される。また、取得された基準角度位置とアブソリュートエンコーダー10の元来の原点角度位置の角度差に基づいて検出回転角度範囲が補正される。すなわち、メモリー13に記憶保持されている各設定コマンドの検出回転角度範囲が基準角度位置を基準とする補正検出回転角度範囲に書き換えられる。   Next, the rotation angle position of the cam shaft 105 is adjusted to a desired rotation angle position, and a reference setting command is input from the setting device via the second input port 16. When the reference setting command is input to the apparatus main body 3, the absolute rotation angle position of the cam shaft 105 output from the encoder main body 12 when the apparatus main body 3 receives the reference setting command is acquired as the reference angular position. Further, the detected rotation angle range is corrected based on the angle difference between the acquired reference angular position and the original origin angular position of the absolute encoder 10. That is, the detected rotation angle range of each setting command stored and held in the memory 13 is rewritten to the corrected detected rotation angle range with the reference angle position as a reference.

その後に、設定装置と入力コネクター7の接続を解除する。これにより、制御部11の動作モードは設定モードから検出モードに移行する。制御部11が検出モードに移行した後にカム軸105が回転すると、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が各設定コマンドの検出回転角度範囲を補正した補正検出回転角度範囲に含まれる毎に設定された各出力ポート21〜23からオンの信号が出力されてPLCに入力される。   Thereafter, the connection between the setting device and the input connector 7 is released. As a result, the operation mode of the control unit 11 shifts from the setting mode to the detection mode. When the cam shaft 105 rotates after the control unit 11 shifts to the detection mode, the absolute rotation angle position of the cam shaft 105 output from the encoder body 12 becomes a corrected detection rotation angle range obtained by correcting the detection rotation angle range of each setting command. An ON signal is output from each of the output ports 21 to 23 set every time it is included, and is input to the PLC.

なお、基準設定コマンドは設定装置から装置本体3へ何回入力してもよく、制御部11は、基準設定コマンドが入力される毎に設定コマンドに基づく検出回転角度範囲を補正検出回転角度範囲に補正する。   The reference setting command may be input from the setting device to the apparatus body 3 any number of times, and the control unit 11 changes the detected rotation angle range based on the setting command to the corrected detection rotation angle range every time the reference setting command is input. to correct.

(回転角度位置検出装置による信号出力動作)
次に、図3を参照して、回転角度位置検出装置1による信号出力動作を説明する。図3は回転角度位置検出装置1による信号出力動作の説明図である。図3(a)〜(e)において、左側の図はカム軸105を回転中心軸線L方向の永久磁石2が取り付けられた側から見た状態を示している。右側のタイムチャートは第1〜第3出力ポート21〜23から信号が出力されるタイミングを示している。
(Signal output operation by rotation angle position detector)
Next, with reference to FIG. 3, the signal output operation by the rotation angle position detection device 1 will be described. FIG. 3 is an explanatory diagram of a signal output operation by the rotation angle position detection device 1. 3 (a) to 3 (e), the left diagram shows the camshaft 105 as viewed from the side where the permanent magnet 2 in the direction of the rotation center axis L is attached. The time chart on the right side shows the timing at which signals are output from the first to third output ports 21 to 23.

まず、カム軸105が基準角度位置(0°)から一方向へ回転を開始し、基準角度位置(0°)から5°回転するまでの間は、図3(a)に示すように、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第1設定コマンドの検出回転角度範囲(355°〜5°)を補正した補正検出回転角度位置に含まれている。従って、第1出力ポート21からオンの信号S1が出力される。ここで、カム軸105が基準角度位置(0°)に配置されているときには、図1(a)に示すように、搬送機械100のアーム102は搬送開始位置Mに配置されており、把持装置101がターンテーブル103上の待機位置Aに配置されているワークWを把持可能な状態となっている。第1出力ポート21からのオンの信号S1は、PLCに入力されて、アーム102が搬送開始位置Mに配置されたことを確認する信号とされる。   First, as shown in FIG. 3 (a), the cam shaft 105 starts rotating in one direction from the reference angular position (0 °) and rotates 5 ° from the reference angular position (0 °). The absolute rotation angle position of the cam shaft 105 output from the main body 12 is included in the corrected detection rotation angle position obtained by correcting the detection rotation angle range (355 ° to 5 °) of the first setting command. Accordingly, the ON signal S1 is output from the first output port 21. Here, when the camshaft 105 is disposed at the reference angular position (0 °), as shown in FIG. 1A, the arm 102 of the transport machine 100 is disposed at the transport start position M, and the gripping device. 101 is in a state in which the workpiece W placed at the standby position A on the turntable 103 can be gripped. The ON signal S1 from the first output port 21 is input to the PLC and is used as a signal for confirming that the arm 102 is disposed at the transfer start position M.

次に、カム軸105が基準角度位置(0°)から15°まで回転する間は、図3(b)に示すように、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第2設定コマンドの検出回転角度範囲(0°〜15°)を補正した補正検出回転角度位置に含まれる。従って、第2出力ポート22からオンの信号S2が出力される。ここで、カム軸105が基準角度位置(0°)から5°まで回転する間は、第1出力ポート21からオンの信号S1が出力され、第2出力ポート22からオンの信号S2が出力されている。   Next, while the camshaft 105 rotates from the reference angular position (0 °) to 15 °, the absolute rotational angular position of the camshaft 105 output from the encoder body 12 is the first as shown in FIG. It is included in the corrected detected rotation angle position in which the detected rotation angle range (0 ° to 15 °) of the two setting commands is corrected. Accordingly, the ON signal S2 is output from the second output port 22. Here, while the camshaft 105 rotates from the reference angular position (0 °) to 5 °, the ON signal S1 is output from the first output port 21, and the ON signal S2 is output from the second output port 22. ing.

第2出力ポート22からのオンの信号S2はアーム102の先端の把持装置101に把持動作を行わせるための信号となっている。すなわち、PLCは、アーム102が搬送開始位置Mに配置されると、第2出力ポート22からの信号に基づいて把持装置101を駆動してワークWを把持する把持動作を行わせる。これによりワークWは把持装置101に把持される。   The ON signal S2 from the second output port 22 is a signal for causing the gripping device 101 at the tip of the arm 102 to perform a gripping operation. That is, when the arm 102 is disposed at the transfer start position M, the PLC drives the gripping device 101 based on a signal from the second output port 22 to perform a gripping operation for gripping the workpiece W. As a result, the workpiece W is gripped by the gripping device 101.

その後、カム軸105の回転に伴ってアーム102は搬送開始位置Mから搬送終了位置Nに向かって移動する。   Thereafter, the arm 102 moves from the transfer start position M toward the transfer end position N as the cam shaft 105 rotates.

しかる後に、図3(c)に示すように、カム軸105が基準角度位置(0°)から180°回転した回転角度位置に達すると、アーム102は搬送終了位置Nに配置される。すなわち、アーム102は把持していたワークWを作業台104上の加工位置Bに載置可能な位置に移動する。ここで、カム軸105が基準角度位置(0°)を基準として175°から185°まで回転する間は、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第3設定コマンドの検出回転角度範囲(175°〜185°)を補正した補正検出回転角度位置に含まれている。従って、第1出力ポート21からオンの信号S3が出力される。第1出力ポート21からの信号は、PLCに入力されて、アーム102が搬送終了位置Nに配置されたことを確認する信号とされる。   Thereafter, as shown in FIG. 3C, when the cam shaft 105 reaches a rotation angle position rotated by 180 ° from the reference angle position (0 °), the arm 102 is disposed at the conveyance end position N. That is, the arm 102 moves the gripped workpiece W to a position where it can be placed at the processing position B on the work table 104. Here, while the cam shaft 105 rotates from 175 ° to 185 ° with reference to the reference angular position (0 °), the absolute rotational angular position of the cam shaft 105 output from the encoder body 12 is detected by the third setting command. The rotation angle range (175 ° to 185 °) is included in the corrected detected rotation angle position. Accordingly, the ON signal S3 is output from the first output port 21. A signal from the first output port 21 is input to the PLC and is used as a signal for confirming that the arm 102 is disposed at the conveyance end position N.

また、カム軸105が基準角度位置(0°)を基準として180°から195°まで回転する間は、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第4設定コマンドの検出回転角度範囲(180°〜195°)を補正した補正検出回転角度位置に含まれる。従って、第2出力ポート22からオンの信号S4が出力される。ここで、カム軸105が基準角度位置(0°)を基準として180°から185°まで回転する間は、第1出力ポート21からオンの信号S3が出力され、第2出力ポート22からオンの信号S4が出力されている。   While the camshaft 105 rotates from 180 ° to 195 ° with reference to the reference angular position (0 °), the absolute rotational angular position of the camshaft 105 output from the encoder body 12 is detected by the fourth setting command. It is included in the corrected detection rotation angle position in which the angle range (180 ° to 195 °) is corrected. Accordingly, the ON signal S4 is output from the second output port 22. Here, while the camshaft 105 rotates from 180 ° to 185 ° with reference to the reference angular position (0 °), the ON signal S3 is output from the first output port 21, and the ON signal is output from the second output port 22. Signal S4 is output.

第2出力ポート22からのオンの信号S4はアーム102の先端の把持装置101に開放動作を行わせるための信号となっている。すなわち、PLCは、アーム102が搬送終了位置Nに移動すると、第2出力ポート22からの信号に基づいて把持装置101を駆動してワークWを開放する開放動作を行わせる。これにより、ワークWは作業台104上の加工位置Bに載置される。   The ON signal S4 from the second output port 22 is a signal for causing the gripping device 101 at the tip of the arm 102 to perform an opening operation. That is, when the arm 102 moves to the conveyance end position N, the PLC drives the gripping device 101 based on a signal from the second output port 22 to perform an opening operation for releasing the workpiece W. As a result, the workpiece W is placed at the processing position B on the work table 104.

また、カム軸105が基準角度位置(0°)を基準として190°から220°まで回転する間は、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第5設定コマンドの検出回転角度範囲(190°〜220°)を補正した補正検出回転角度位置に含まれる。従って、第3出力ポート23からオンの信号S5が出力される。ここで、カム軸105が基準角度位置(0°)を基準として190°から195°まで回転する間は、第2出力ポート22からオンの信号S4が出力され、第3出力ポート23からオンの信号S5が出力されている。   While the camshaft 105 rotates from 190 ° to 220 ° with reference to the reference angular position (0 °), the absolute rotational angular position of the camshaft 105 output from the encoder body 12 is detected by the fifth setting command. It is included in the corrected detection rotation angle position in which the angle range (190 ° to 220 °) is corrected. Accordingly, the ON signal S5 is output from the third output port 23. Here, while the cam shaft 105 rotates from 190 ° to 195 ° with reference to the reference angular position (0 °), the ON signal S4 is output from the second output port 22, and the ON signal is output from the third output port 23. Signal S5 is output.

第3出力ポート23からのオンの信号S5はターンテーブル103を回転させるための信号となっている。すなわち、PLCは、把持装置101に開放動作を行わせるとともに、開放動作の途中で第3出力ポート23から出力される信号に基づいてターンテーブル103を所定の角度だけ回転させて、ターンテーブル103上の次のワークWを待機位置Aに配置する。   An ON signal S <b> 5 from the third output port 23 is a signal for rotating the turntable 103. That is, the PLC causes the gripping device 101 to perform an opening operation, and rotates the turntable 103 by a predetermined angle based on a signal output from the third output port 23 during the opening operation. The next workpiece W is placed at the standby position A.

その後、カム軸105が更に回転すると、アーム102は、搬送終了位置Nから搬送開始位置Mに向かって移動する。ここで、カム軸105が基準角度位置(0°)から360°回転して基準角度位置(0°)に戻ると、アーム102は搬送開始位置Mに配置される。また、把持装置101がターンテーブル103上の待機位置Aに配置されている次のワークWを把持可能な状態となる。ここで、カム軸105が基準角度位置(0°)を基準として355°から0°まで回転する間は、図3(a)に示すように、エンコーダー本体12から出力されるカム軸105の絶対回転角度位置が第1設定コマンドの検出回転角度範囲(355°〜5°)を補正した補正検出回転角度位置に含まれている。従って、第1出力ポート21からオンの信号S1が出力される。第1出力ポート21からのオンの信号S1は、PLCに入力されて、アーム102が搬送開始位置Mに配置されたことを確認する信号とされる。しかる後に更にカム軸が回転を継続すると、上記の動作が繰り返される。   Thereafter, when the cam shaft 105 further rotates, the arm 102 moves from the transfer end position N toward the transfer start position M. Here, when the cam shaft 105 rotates 360 ° from the reference angular position (0 °) and returns to the reference angular position (0 °), the arm 102 is disposed at the conveyance start position M. Further, the gripping device 101 can grip the next workpiece W arranged at the standby position A on the turntable 103. Here, while the cam shaft 105 rotates from 355 ° to 0 ° with reference to the reference angular position (0 °), the absolute value of the cam shaft 105 output from the encoder body 12 is shown in FIG. The rotation angle position is included in the corrected detection rotation angle position obtained by correcting the detection rotation angle range (355 ° to 5 °) of the first setting command. Accordingly, the ON signal S1 is output from the first output port 21. The ON signal S1 from the first output port 21 is input to the PLC and is used as a signal for confirming that the arm 102 is disposed at the transfer start position M. If the camshaft continues to rotate further thereafter, the above operation is repeated.

(作用効果)
本例によれば、設定コマンドによって検出回転角度範囲を任意に設定できる。従って、アブソリュートエンコーダー10により絶対回転角度位置が取得されているカム軸105が任意に設定された回転角度位置に配置されたときに信号を出力することができる。
(Function and effect)
According to this example, the detection rotation angle range can be arbitrarily set by the setting command. Therefore, it is possible to output a signal when the camshaft 105 whose absolute rotation angle position is acquired by the absolute encoder 10 is disposed at a rotation angle position that is arbitrarily set.

また、本例では、第1設定コマンドと第3設定コマンドのように、或いは、第2設定コマンドと第4設定コマンドのように、複数の設定コマンドで互いに重複しない検出回転角度範囲を設定した場合には、カム軸105の回転角度位置が各検出回転角度範囲(補正検出回転角度範囲)に含まれる毎に同一の出力ポートから信号を出力することができる。   Further, in this example, when a detection rotation angle range that does not overlap each other is set by a plurality of setting commands, such as the first setting command and the third setting command, or the second setting command and the fourth setting command. In other words, a signal can be output from the same output port every time the rotation angle position of the cam shaft 105 is included in each detection rotation angle range (correction detection rotation angle range).

さらに、本例では、第4設定コマンドと第5設定コマンドのように、複数の設定コマンドで部分的にオーバーラップしている2つの検出回転角度範囲を設定することができ、各検出回転角度範囲に含まれる毎に異なる出力ポートから独立した信号を出力することができる。   Furthermore, in this example, two detection rotation angle ranges that partially overlap with a plurality of setting commands, such as the fourth setting command and the fifth setting command, can be set. Independent signals can be output from different output ports every time they are included.

また、本例では、基準設定コマンドによって、回転角度位置検出の基準となる基準角度位置(0°)を柔軟に設定できる。従って、回転角度位置検出の基準がアブソリュートエンコーダー10の元来の原点角度位置に固定されている場合と比較して、回転角度位置検出装置1の設置が容易となる。   In this example, the reference angle position (0 °) that serves as a reference for the rotation angle position detection can be flexibly set by the reference setting command. Therefore, the rotation angle position detection device 1 can be easily installed as compared with the case where the reference for rotation angle position detection is fixed to the original origin angle position of the absolute encoder 10.

さらに、本例では、設定機器を入力コネクター7に接続すると、この接続が解除されるまで第1入力ポート15に設定モード信号が入力され続け、制御部11が設定モードに維持される。従って、制御機器を入力コネクター7に接続するだけで、検出回転角度範囲、出力ポートおよび基準角度位置の設定を行うことができる。また、設定機器の接続が解除されると、第1入力ポート15への設定モード信号の入力がなくなるので、制御部11は自動的に検出モードに復帰する。   Further, in this example, when the setting device is connected to the input connector 7, the setting mode signal is continuously input to the first input port 15 until the connection is released, and the control unit 11 is maintained in the setting mode. Therefore, the detection rotation angle range, the output port, and the reference angle position can be set only by connecting the control device to the input connector 7. Further, when the connection of the setting device is released, the setting mode signal is not input to the first input port 15, so the control unit 11 automatically returns to the detection mode.

また、本例では、回転角度位置検出装置1からの信号がオープンコレクター出力となっているので、PLCとの接続が容易である。   Moreover, in this example, since the signal from the rotation angle position detection device 1 is an open collector output, connection to the PLC is easy.

さらに、本例のアブソリュートエンコーダー10は、カム軸105の回転角度位置を非接触で検出できる。従って、回転角度位置検出装置1の寿命が長い。   Furthermore, the absolute encoder 10 of this example can detect the rotational angle position of the cam shaft 105 in a non-contact manner. Therefore, the lifetime of the rotation angle position detection device 1 is long.

また、本例では、エンコーダー本体12、制御部11、メモリー13、入力コネクター7、出力コネクター8が単一の筐体5に搭載されているので、回転角度位置検出装置1の小型化を図ることができ、回転角度位置検出装置1の設置が容易である。   In this example, the encoder main body 12, the control unit 11, the memory 13, the input connector 7, and the output connector 8 are mounted on the single casing 5, so that the rotation angle position detection device 1 can be miniaturized. The rotation angle position detection device 1 can be easily installed.

(その他の実施の形態)
上記の例では、各出力ポート21〜28から出力される信号は、オープンコレクター出力であるが、オープンドレイン出力、TTL出力、電圧出力などとすることもできる。また、信号の出力に8つの出力ポート21〜28をパラレルに使用して、カム軸105の絶対回転角度範囲が検出回転角度範囲(補正検出回転角度範囲)に含まれているときに、出力コネクター8から8ビットの情報を出力するように構成することもできる。
(Other embodiments)
In the above example, the signals output from the output ports 21 to 28 are open collector outputs, but may be open drain outputs, TTL outputs, voltage outputs, and the like. Further, when the eight output ports 21 to 28 are used in parallel for signal output and the absolute rotation angle range of the camshaft 105 is included in the detection rotation angle range (correction detection rotation angle range), the output connector It can also be configured to output 8- to 8-bit information.

また、上記の例では、基準設定コマンドは、設定機器から入力コネクター7を介して装置本体3に入力されているが、装置本体3にプッシュ式のスイッチなどを搭載し、このスイッチの操作により制御部11に基準設定コマンドが入力されるようにしてもよい。この場合には、制御部11は、スイッチ操作によって基準設定コマンドが入力される毎に設定コマンドに基づく検出回転角度範囲を補正検出回転角度範囲に補正すればよい。   In the above example, the reference setting command is input from the setting device to the apparatus main body 3 via the input connector 7. The apparatus main body 3 is equipped with a push switch and is controlled by operating this switch. A reference setting command may be input to the unit 11. In this case, the control unit 11 may correct the detected rotation angle range based on the setting command to the corrected detected rotation angle range every time the reference setting command is input by the switch operation.

さらに、上記の例では、基準設定コマンドが入力されると、設定コマンドに基づいて設定される検出回転角度位置が補正されるように構成されているが、検出回転角度位置を補正せずに、エンコーダー本体12から出力される絶対回転角度位置を補正してもよい。すなわち、制御部11が、アブソリュートエンコーダー10の元来の原点角度位置と基準設定コマンドを受け付けた時点で基準角度位置取得部31が取得した基準角度位置(0°)との角度差に基づいてエンコーダー本体12から出力される絶対回転角度位置を補正する絶対回転角度位置補正部を備えるように構成してもよい。この場合、絶対回転角度位置補正部は、基準角度位置(0°)が取得された時点以降にエンコーダー本体12から出力される絶対回転角度位置を、基準角度位置(0°)を基準とする補正絶対回転角度位置に補正する。そして、制御部11は、基準角度位置(0°)が取得された時点以降は、補正絶対回転角度位置が検出回転角度範囲に含まれている場合に信号を出力するものとする。   Furthermore, in the above example, when the reference setting command is input, the detection rotation angle position set based on the setting command is corrected, but without correcting the detection rotation angle position, The absolute rotation angle position output from the encoder body 12 may be corrected. That is, the encoder 11 based on the angle difference between the original origin angle position of the absolute encoder 10 and the reference angle position (0 °) acquired by the reference angle position acquisition unit 31 when the reference setting command is received. You may comprise so that the absolute rotation angle position correction | amendment part which correct | amends the absolute rotation angle position output from the main body 12 may be provided. In this case, the absolute rotation angle position correction unit corrects the absolute rotation angle position output from the encoder body 12 after the reference angle position (0 °) is acquired with reference to the reference angle position (0 °). Correct to the absolute rotation angle position. Then, after the time when the reference angular position (0 °) is acquired, the control unit 11 outputs a signal when the corrected absolute rotational angle position is included in the detected rotational angle range.

なお、カムの回転によって反復的な動作を繰り返す工作機械やロボットに本発明の回転角度位置検出装置1を搭載して、カムを回転させるカム軸105が任意の回転角度位置に配置されたときに信号を出力させる用途に用いることができることは勿論である。また、回転角度位置検出装置1を工作機械のインデックステーブルやタレットの割り出しに用いることもできる。   When the rotation angle position detection device 1 of the present invention is mounted on a machine tool or a robot that repeats repetitive operations by rotating the cam, and the cam shaft 105 that rotates the cam is arranged at an arbitrary rotation angle position. Of course, it can be used for the purpose of outputting a signal. Further, the rotation angle position detection device 1 can be used for indexing a machine tool index or a turret.

1・・・回転角度位置検出装置
2・・・永久磁石
3・・・装置本体
4・・・着磁面
5・・・筐体
6・・・センサー面
7・・・入力コネクター(入力部)
8・・・出力コネクター(出力部)
10・・・アブソリュートエンコーダー
11・・・制御部
12・・・エンコーダー本体
13・・・メモリー
15〜16・・・入力ポート
17・・・磁気センサー
18・・・演算部
21〜28・・・出力ポート
31・・・基準角度位置取得部(取得部)
32・・・補正部
100・・・搬送機械
101・・・把持装置
102・・・アーム
103・・・ターンテーブル
104・・・作業台
105・・・カム軸
A・・・ワークの待機位置
B・・・ワークの加工位置
L・・・カム軸の回転中心軸線
M・・・アームの搬送開始位置
N・・・アームの搬送終了位置
W・・・ワーク
DESCRIPTION OF SYMBOLS 1 ... Rotation angle position detection apparatus 2 ... Permanent magnet 3 ... Apparatus main body 4 ... Magnetized surface 5 ... Case 6 ... Sensor surface 7 ... Input connector (input part)
8 ... Output connector (output part)
DESCRIPTION OF SYMBOLS 10 ... Absolute encoder 11 ... Control part 12 ... Encoder main body 13 ... Memory 15-16 ... Input port 17 ... Magnetic sensor 18 ... Calculation part 21-28 ... Output Port 31 ... Reference angular position acquisition unit (acquisition unit)
32 ... Correction unit 100 ... Conveying machine 101 ... Gripping device 102 ... Arm 103 ... Turntable 104 ... Work table 105 ... Cam shaft A ... Standby position B of workpiece・ ・ ・ Work processing position L ・ ・ ・ Rotation center axis M of cam shaft ・ ・ ・ Arm transfer start position N ・ ・ ・ Arm transfer end position W ・ ・ ・ Work

本発明において、前記入力部は、前記設定コマンドとして、第1設定コマンドおよび第2設定コマンドを受け付け、前記第1設定コマンドは、前記検出回転角度範囲として第1検出回転角度範囲を設定するとともに、前記1つの出力ポートとして第1出力ポートを設定するものであり、前記第2設定コマンドは、前記検出回転角度範囲として前記第1検出回転角度範囲と少なくとも部分的に重複する第2検出回転角度範囲を設定するとともに前記1つの出力ポートとして前記第1出力ポートとは異なる第2出力ポートを設定するものであり、前記制御部は、前記信号として、前記絶対回転角度位置が前記第1検出回転角度範囲に含まれている場合に前記第1出力ポートに第1信号を出力するとともに、前記絶対回転角度位置が前記第検出回転角度範囲に含まれている場合に前記第2出力ポートに第2信号を出力するものとすることができる。このようにすれば、検出回転角度範囲としてオーバーラップしている複数の検出回転角度範囲を設定することができるとともに、被検出物の絶対回転角度位置が各検出回転角度範囲に含まれる場合に、検出回転角度範囲毎に異なる出力ポートから独立した信号を出力することができる。 In the present invention, the input unit accepts a first setting command and a second setting command as the setting command, and the first setting command sets a first detection rotation angle range as the detection rotation angle range, A first output port is set as the one output port, and the second setting command is a second detected rotation angle range that at least partially overlaps the first detected rotation angle range as the detected rotation angle range. And the second output port different from the first output port is set as the one output port, and the control unit uses the first detected rotation angle as the signal as the absolute rotation angle position. with a first signal output to the first output port if they are included in the scope, the absolute rotational angle position and the second detection times The second output port if included in the angle range can be made to output a second signal. In this way, a plurality of overlapping detection rotation angle ranges can be set as the detection rotation angle range, and when the absolute rotation angle position of the detected object is included in each detection rotation angle range, An independent signal can be output from a different output port for each detected rotation angle range.

Claims (6)

絶対回転角度位置を出力するアブソリュートエンコーダーと、
設定コマンドの入力を受け付ける入力部と、
前記設定コマンドに基づいて検出回転角度範囲を設定し、前記絶対回転角度位置が前記検出回転角度範囲に含まれている場合に信号を出力する制御部と、
前記信号を外部に出力するための出力部と、
を有することを特徴とする回転角度位置検出装置。
An absolute encoder that outputs the absolute rotation angle position;
An input unit that accepts input of setting commands;
A control unit configured to set a detection rotation angle range based on the setting command, and to output a signal when the absolute rotation angle position is included in the detection rotation angle range;
An output unit for outputting the signal to the outside;
A rotation angle position detection device comprising:
請求項1において、
前記出力部は、複数の出力ポートを備え、
前記制御部は、前記設定コマンドに基づいて前記複数の出力ポートから前記信号を出力する1つの出力ポートを設定し、前記信号を設定された前記1つの出力ポートに出力することを特徴とする回転角度位置検出装置。
In claim 1,
The output unit includes a plurality of output ports,
The control unit sets one output port that outputs the signal from the plurality of output ports based on the setting command, and outputs the signal to the set one output port. Angular position detector.
請求項2において、
前記入力部は、前記設定コマンドとして、第1設定コマンドおよび第2設定コマンドを受け付け、
前記第1設定コマンドは、前記検出回転角度範囲として第1検出回転角度範囲を設定するとともに、前記1つの出力ポートとして第1出力ポートを設定するものであり、
前記第2設定コマンドは、前記検出回転角度範囲として前記第1検出回転角度範囲と少なくとも部分的に重複する第2検出回転角度範囲を設定するとともに前記1つの出力ポートとして前記第1出力ポートとは異なる第2出力ポートを設定するものであり、
前記制御部は、前記信号として、前記絶対回転角度位置が前記第1検出回転角度範囲に含まれている場合に前記第1出力ポートに第1信号を出力するとともに、前記絶対回転角度位置が前記第1検出回転角度範囲に含まれている場合に前記第2出力ポートに第2信号を出力することを特徴とする回転角度位置検出装置。
In claim 2,
The input unit accepts a first setting command and a second setting command as the setting command,
The first setting command is to set a first detection rotation angle range as the detection rotation angle range, and to set a first output port as the one output port,
The second setting command sets a second detected rotation angle range that at least partially overlaps the first detected rotation angle range as the detected rotation angle range, and the first output port as the one output port. Set a different second output port,
The control unit outputs the first signal to the first output port when the absolute rotation angle position is included in the first detection rotation angle range as the signal, and the absolute rotation angle position is A rotation angle position detection device that outputs a second signal to the second output port when included in a first detection rotation angle range.
請求項1ないし3のうちのいずれかの項において、
前記入力部は、基準設定コマンドを受け付け、
前記制御部は、前記基準設定コマンドが受け付けられた時点における前記絶対回転角度位置を基準角度位置として取得する基準角度位置取得部と、前記基準角度位置が取得されると前記アブソリュートエンコーダーの原点角度位置と前記基準角度位置との角度差に基づいて前記検出回転角度範囲を前記基準角度位置を基準とする補正検出回転角度範囲に補正する補正部とを備え、前記検出回転角度範囲が補正されると前記絶対回転角度位置が当該補正検出回転角度範囲に含まれている場合に前記信号を出力することを特徴とする回転角度位置検出装置。
In any one of claims 1 to 3,
The input unit accepts a reference setting command,
The control unit includes a reference angular position acquisition unit that acquires, as a reference angular position, the absolute rotation angle position at the time when the reference setting command is received, and an origin angular position of the absolute encoder when the reference angular position is acquired. And a correction unit that corrects the detected rotational angle range to a corrected detected rotational angle range based on the reference angular position based on an angular difference between the detected rotational angle range and the detected rotational angle range. The rotation angle position detection device, wherein the signal is output when the absolute rotation angle position is included in the correction detection rotation angle range.
請求項1ないし4のうちのいずれかの項において、
前記入力部は、第1入力ポートと第2入力ポートとを備え、
前記制御部は、動作モードとして、前記設定コマンドに基づいて前記信号を出力する検出モードと前記検出回転角度範囲の設定が可能な設定モードとを備え、
前記動作モードは、前記第1入力ポートに設定モード信号が入力されているときに前記設定モードに維持され、
前記設定コマンドは、前記第1入力ポートに前記設定モード信号が入力されている間に、前記第2入力ポートで受け付けることを特徴とする回転角度位置検出装置。
In any one of claims 1 to 4,
The input unit includes a first input port and a second input port,
The control unit includes, as operation modes, a detection mode for outputting the signal based on the setting command and a setting mode capable of setting the detection rotation angle range,
The operation mode is maintained in the setting mode when a setting mode signal is input to the first input port,
The rotation angle position detecting device, wherein the setting command is received at the second input port while the setting mode signal is being input to the first input port.
請求項1ないし5のうちのいずれかの項において、
前記アブソリュートエンコーダーは、永久磁石と、磁気センサーを有するエンコーダー本体と、を備え、
前記エンコーダー本体、前記制御部、前記入力部および前記出力部は、単一の筐体に搭載されていることを特徴とする回転角度位置検出装置。
In any one of claims 1 to 5,
The absolute encoder includes a permanent magnet and an encoder body having a magnetic sensor,
The encoder body, the control unit, the input unit, and the output unit are mounted in a single casing.
JP2013138703A 2013-07-02 2013-07-02 Rotational angle position detector Active JP5730352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013138703A JP5730352B2 (en) 2013-07-02 2013-07-02 Rotational angle position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013138703A JP5730352B2 (en) 2013-07-02 2013-07-02 Rotational angle position detector

Publications (2)

Publication Number Publication Date
JP2015009349A true JP2015009349A (en) 2015-01-19
JP5730352B2 JP5730352B2 (en) 2015-06-10

Family

ID=52303004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013138703A Active JP5730352B2 (en) 2013-07-02 2013-07-02 Rotational angle position detector

Country Status (1)

Country Link
JP (1) JP5730352B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162051A (en) * 1991-12-10 1993-06-29 Hitachi Electron Eng Co Ltd Method for calibrating rotational angle of rotary table
JP2001318907A (en) * 2000-05-12 2001-11-16 Nec Corp Microcomputer incorporating flash memory
JP2002286500A (en) * 2001-03-26 2002-10-03 Toyoda Mach Works Ltd Positioning device, brushless dc motor, and their manufacturing method
JP2003090741A (en) * 2001-09-20 2003-03-28 Koizumi Sokki Seisakusho:Kk Rotary encoder
JP2006031501A (en) * 2004-07-20 2006-02-02 Yokogawa Electric Corp Electronic equipment and program download method in electronic equipment
WO2007060840A1 (en) * 2005-11-28 2007-05-31 Mitsubishi Electric Corporation Position detection error correcting method
JP2008032561A (en) * 2006-07-28 2008-02-14 Ntn Corp Rotation detector, and bearing with rotation detector
WO2009125474A1 (en) * 2008-04-08 2009-10-15 エクセン株式会社 Civil engineering work machinery and tool with individual information writable microcomputer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162051A (en) * 1991-12-10 1993-06-29 Hitachi Electron Eng Co Ltd Method for calibrating rotational angle of rotary table
JP2001318907A (en) * 2000-05-12 2001-11-16 Nec Corp Microcomputer incorporating flash memory
JP2002286500A (en) * 2001-03-26 2002-10-03 Toyoda Mach Works Ltd Positioning device, brushless dc motor, and their manufacturing method
JP2003090741A (en) * 2001-09-20 2003-03-28 Koizumi Sokki Seisakusho:Kk Rotary encoder
JP2006031501A (en) * 2004-07-20 2006-02-02 Yokogawa Electric Corp Electronic equipment and program download method in electronic equipment
WO2007060840A1 (en) * 2005-11-28 2007-05-31 Mitsubishi Electric Corporation Position detection error correcting method
JP2008032561A (en) * 2006-07-28 2008-02-14 Ntn Corp Rotation detector, and bearing with rotation detector
WO2009125474A1 (en) * 2008-04-08 2009-10-15 エクセン株式会社 Civil engineering work machinery and tool with individual information writable microcomputer

Also Published As

Publication number Publication date
JP5730352B2 (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US10357876B2 (en) Robot system
US20090140731A1 (en) Multiple-Rotation Absolute-Value Encoder of Geared Motor
JP2018001397A (en) Adaptive gripper device
JP6002628B2 (en) Terminal insertion device and terminal insertion method
WO2012169374A1 (en) Workpiece-processing system
JP2018121007A5 (en)
JP2010238174A (en) Positioning device and positioning method
JP2017159425A (en) robot
JP5730352B2 (en) Rotational angle position detector
JP2015206747A (en) Encoder device, driving device, stage device, and robot device
US11506679B2 (en) Encoder, motor, and robot
CN213081468U (en) Robot arm
JP2015232804A (en) Operation member and industrial machine system
WO2014181709A1 (en) Terminal insertion device and terminal insertion method
JP2010249585A (en) Device and method for identifying current position
WO2021153613A1 (en) Absolute encoder, program for outputting angle error information about absolute encoder, and method for outputting angle error information about absolute encoder
WO2014132401A1 (en) Robot system
CN103487073B (en) A kind of cylinder potentiometer general purpose type measuring apparatus
CN102729069B (en) Positioning method of irregular-shaped part reference point positioning mechanism
CN206825058U (en) A kind of tool changing device and Intelligent Machining Center
JP2009153335A (en) Brushless servo motor
JP2020059069A (en) Loader control device and loader control method
JP7445878B2 (en) linear motor system
CN204248565U (en) A kind of lathe
CN108481365A (en) For the absolute zero position detection device and detection method of robot, robot

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141029

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141029

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20141029

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20141119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150407

R150 Certificate of patent or registration of utility model

Ref document number: 5730352

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150