JP2506759Y2 - Machine origin detection device - Google Patents

Machine origin detection device

Info

Publication number
JP2506759Y2
JP2506759Y2 JP2471190U JP2471190U JP2506759Y2 JP 2506759 Y2 JP2506759 Y2 JP 2506759Y2 JP 2471190 U JP2471190 U JP 2471190U JP 2471190 U JP2471190 U JP 2471190U JP 2506759 Y2 JP2506759 Y2 JP 2506759Y2
Authority
JP
Japan
Prior art keywords
signal
origin
target object
motor
rotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2471190U
Other languages
Japanese (ja)
Other versions
JPH03116404U (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2471190U priority Critical patent/JP2506759Y2/en
Publication of JPH03116404U publication Critical patent/JPH03116404U/ja
Application granted granted Critical
Publication of JP2506759Y2 publication Critical patent/JP2506759Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は、モータなどで駆動される対象物体送り装置
における所定ピッチの送りねじを有するシャフトの回転
により該シャフト上を直線移動する対象物体(以下これ
をワークという)の停止位置を決める位置決め装置の機
械原点検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is directed to a target object that linearly moves on the shaft by rotation of a shaft having a feed screw of a predetermined pitch in a target object feeding device driven by a motor or the like. The present invention relates to a mechanical origin detecting device of a positioning device that determines a stop position of a workpiece.

〔従来の技術〕[Conventional technology]

対象物体送り装置のシャフト上を直線移動するワーク
を所定位置に停止させるためには原点を設定しておき、
この原点を検出する必要がある。この原点検出装置の従
来装置を第6図に示す。
In order to stop the work that moves linearly on the shaft of the target object feeding device at a predetermined position, set the origin,
It is necessary to detect this origin. FIG. 6 shows a conventional device of this origin detecting device.

第6図において、1はワーク送り装置であり、このワ
ーク送り装置1は不図示の軸受けで支持され、所定ピッ
チの送りねじを有するシャフト5の正転・逆転によりワ
ーク6を正転方向・逆転方向に直線移動させる。2は後
述する速度指令手段や原点検出手段を構成するマイコ
ン、3はワーク6の移動位置に近接して配置され、ワー
ク6が当接することによりローレベル(以下単に“L"と
いう)からハイレベル(以下単に“H"という)に反転す
る原点信号LSを出力するリミットスイッチ(以下単にス
イッチという)、4はマイコン2,エンコーダ10を有し、
マイコン2がスイッチ3からの原点信号LS,エンコーダ1
0からのマーカ信号ΦZに基づいて機械原点を検出する
原点検出手段、7は前記シャフト5にカップリング8を
介して連結され、マイコン2からの速度指令に応じて回
転するモータ、10はモータ7に直結され、モータ10の1
回転当たり1回“H"に反転し、モータ10の回転に比例し
た周波数のマーカ信号ΦZをマイコン2にフィードバッ
クするエンコーダ、11,12はそれぞれワーク送り装置1
の両端に配置され、ワーク6が軸受けに衝突して破損す
るのを防止するための限界位置検出用のリミットスイッ
チである。
In FIG. 6, reference numeral 1 denotes a work feeding device, which is supported by a bearing (not shown), and the work 6 is rotated in the normal direction / reverse direction by forward / reverse rotation of a shaft 5 having a feed screw of a predetermined pitch. Move linearly in the direction. Reference numeral 2 is a microcomputer that constitutes speed command means and origin detection means, which will be described later, and 3 is arranged close to the moving position of the work 6, and when the work 6 comes into contact with it, from low level (hereinafter simply referred to as “L”) to high level. (Hereinafter simply referred to as "H") limit switch (hereinafter simply referred to as switch) that outputs an origin signal LS that is inverted to 4 has a microcomputer 2 and an encoder 10.
Microcomputer 2 has origin signal LS from switch 3, encoder 1
Origin detection means for detecting the mechanical origin based on the marker signal ΦZ from 0, 7 is a motor which is connected to the shaft 5 via a coupling 8 and rotates in response to a speed command from the microcomputer 2, 10 is a motor 7 Directly connected to the motor 10 1
An encoder that reverses to "H" once per rotation and feeds back a marker signal ΦZ having a frequency proportional to the rotation of the motor 10 to the microcomputer 2, 11 and 12 are respectively the work feeding device 1
Limit switches for detecting the limit position for preventing the work 6 from colliding with the bearing and being damaged.

この機械原点検出装置の動作を第7図に示すタイムチ
ャートおよび第8図に示すフローチャートを参照しなが
ら説明する。なお、第8図のフローチャートにおけるS1
〜S6は各動作のステップを示す。
The operation of this mechanical origin detecting device will be described with reference to the time chart shown in FIG. 7 and the flowchart shown in FIG. In addition, S1 in the flowchart of FIG.
~ S6 shows the steps of each operation.

まず、マイコン2がスタートすると原点復帰指令によ
りモータ7が高速VHにて回転し(S1)、ワーク6を移動
させる。やがてワーク6がスイッチ3に当接すると原点
信号LSが“H"に反転する(S2)とモータ7は低速VLに切
換えられる(S3)。こうしてワーク6がスイッチ3を通
過して原点信号LSが“H"から“L"に反転した(S4)後、
最初のマーカ信号ΦZの立下がりの時刻t1でマイコン2
は復帰指令を停止する(S5)。これによりモータ7は停
止するが、ワーク6は慣性により時刻t2までシフトして
停止する。このとき時刻t1から時刻t2までの原点シフト
量は斜線で示した面積に相当し、時刻t2のときの位置が
機械原点となる。
First, the motor 7 is rotated at a high speed V H by homing command the microcomputer 2 is started (S1), to move the workpiece 6. When the workpiece 6 eventually contacts the switch 3, the origin signal LS is inverted to "H" (S2), and the motor 7 is switched to the low speed V L (S3). In this way, the workpiece 6 passes through the switch 3 and the origin signal LS is inverted from "H" to "L" (S4),
At the time t 1 when the first marker signal ΦZ falls, the microcomputer 2
Stops the return command (S5). As a result, the motor 7 stops, but the work 6 shifts and stops until time t 2 due to inertia. At this time, the origin shift amount from time t 1 to time t 2 corresponds to the shaded area, and the position at time t 2 is the mechanical origin.

〔考案が解決しようとする課題〕[Problems to be solved by the device]

前述した従来装置においては、ワーク6がスイッチ3
に当接して原点信号LSが“H"となり、さらに原点信号LS
が“L"に反転した後、最初に現れるマーカ信号ΦZの立
下がり時点から原点シフト量だけ移動した位置を機械原
点としていたから、第6図に示すように、ワーク6がス
イッチ3とスイッチ11の間にある場合には前述した動作
により機械原点を検出できるが、ワーク6がスイッチ3
とスイッチ12との間にある場合には何らかの手段でワー
ク6をスイッチ3とスイッチ11の間に移動させてから機
械原点の検出を行わねばならない。言い換えれば機械原
点の検出は一方向(例えば正転方向)のみからしか行え
ないという問題があった。
In the above-mentioned conventional apparatus, the work 6 is the switch 3
Origin signal LS becomes “H” and the origin signal LS
Is inverted to "L", the mechanical origin is the position moved by the origin shift amount from the trailing edge of the first appearing marker signal ΦZ. Therefore, as shown in FIG. If it is in the middle, the machine origin can be detected by the above-mentioned operation, but the work 6 is switched to the switch 3
If it is between the switch 12 and the switch 12, the work 6 must be moved between the switch 3 and the switch 11 by some means, and then the mechanical origin must be detected. In other words, there is a problem that the mechanical origin can be detected only from one direction (for example, the normal rotation direction).

そこで、本考案の目的は、前述した従来装置の欠点を
除去し、正転方向からも逆転方向からも正確に機械原点
の検出を可能にした機械原点検出装置を提供することに
ある。
Therefore, an object of the present invention is to provide a machine origin detecting apparatus which eliminates the above-mentioned drawbacks of the conventional apparatus and enables the machine origin to be accurately detected from both the forward rotation direction and the reverse rotation direction.

〔課題を解決するための手段〕[Means for solving the problem]

前述した目的を達成するため本考案は、所定ピッチの
送りねじを有するシャフトの回転により対象物体を直線
移動させる対象物体送り装置、前記シャフトに連結され
たモータを回転させるための速度指令手段、前記対象物
体の移動位置に近接して配置され、該対象物体が当接す
ることによりローレベルからハイレベルに反転し、該対
象物体が離反することによりハイレベルからローレベル
に反転する原点信号を出力するリミットスイッチおよび
前記モータの1回転当たり1回ハイレベルに反転するマ
ーカ信号を出力するエンコーダを有し、前記対象物体が
リミットスイッチに対して所定の一側に存在し、前記モ
ータを正転方向に回転させて対象物体を一方向に移動さ
せたとき、リミットスイッチからの原点信号がハイレベ
ルからローレベルに反転してから最初に現れたマーカ信
号によりモータを停止させ、該モータを停止させた位置
から対象物体が慣性により移動して停止した位置(この
モータが停止した位置から対象物体が慣性により移動し
て停止した位置までの量を原点シフト量という)を機械
原点として検出する原点検出手段を備えた機械原点検出
装置において、前記エンコーダは前記マーカ信号に加え
てA相パルスおよびB相パルスを出力するように構成さ
れ、このエンコーダからのA相パルスおよびB相パルス
に基づいてハイレベルの正転信号およびローレベルの逆
転信号を出力する波形成形回路と、正転時には前記波形
成形回路の正転信号とマーカ信号との論理をとり、逆転
時には前記波形成形回路の逆転信号とマーカ信号を反転
した信号との論理をとるように正転時および逆転時にお
いてマーカ信号を正転信号および逆転信号により切換え
る信号切換回路とを設け、前記原点検出手段は、正転時
に機械原点を検出する手段に加え、逆転時に、反転した
マーカ信号が立下がる都度前記原点シフト量を現在位置
として設定し、リミットスイッチからの原点信号がロー
レベルからハイレベルに反転したときモータを停止さ
せ、前記在位置からモータを停止させてから対象物体が
慣性により移動して停止する位置までの移動量に前記原
点シフト量との加算分だけモータを正転させて機械原点
を検出する手段を備えていることを特徴とする。
In order to achieve the above-mentioned object, the present invention provides a target object feeding device that linearly moves a target object by rotating a shaft having a feed screw of a predetermined pitch, speed command means for rotating a motor connected to the shaft, and It is arranged close to the moving position of the target object, and when the target object comes into contact with it, it is inverted from low level to high level, and when the target object is separated, it outputs an origin signal that is inverted from high level to low level. A limit switch and an encoder that outputs a marker signal that inverts to a high level once per rotation of the motor are provided, and the target object is present on a predetermined side with respect to the limit switch, and the motor is rotated in the forward direction. When rotating and moving the target object in one direction, the origin signal from the limit switch changes from high level to low level. The motor signal is stopped by the first marker signal that appears after the motor is turned, and the target object moves from the position where the motor is stopped due to inertia and stops (the target object moves from the position where this motor stops due to inertia). In the mechanical origin detecting device having origin detecting means for detecting the amount up to the stopped position as an origin shift amount), the encoder outputs an A phase pulse and a B phase pulse in addition to the marker signal. And a waveform shaping circuit that outputs a high-level normal rotation signal and a low-level reverse rotation signal based on the A-phase pulse and the B-phase pulse from the encoder, and the normal rotation signal of the waveform shaping circuit during normal rotation. And the marker signal, and at the time of the reverse rotation, the reverse rotation signal of the waveform shaping circuit and the signal obtained by inverting the marker signal are taken during the forward rotation. And a signal switching circuit for switching the marker signal between the forward rotation signal and the reverse rotation signal at the time of reverse rotation, the origin detection means, in addition to the means for detecting the mechanical origin at the time of forward rotation, the inverted marker signal falls at the time of reverse rotation. The origin shift amount is set as the current position each time, the motor is stopped when the origin signal from the limit switch reverses from low level to high level, and the target object moves due to inertia after stopping the motor from the existing position. It is characterized by further comprising means for detecting the mechanical origin by rotating the motor in the forward direction by an amount corresponding to the addition of the origin shift amount to the movement amount to the stop position.

このような本考案においては、波形成形回路と信号切
換回路から出力される正転時のマーカ信号により、正転
時には従来と同様に原点検出手段によって機械原点を検
出する。逆転時には波形成形回路と信号切換回路とによ
り出力される逆転時のマーカ信号(正転時のマーカ信号
を反転した信号)により正転時と同じタイミングでマー
カ信号の立下がりを検出して位置ずれをなくしている。
そして、その反転したマーカ信号の立下がりの都度、正
転時にモータを停止させてから対象物体が移動する原点
シフト量を現在位置として設定し、リミットスイッチか
らの原点信号がローレベルからハイレベルに反転したと
きモータを停止させると、このモータ停止から対象物体
が慣性により移動した位置までの移動量に原点シフト量
を加算した量だけモータを正転させて機械原点とする。
In the present invention, the mechanical origin is detected by the origin detecting means in the normal rotation by the marker signal in the normal rotation output from the waveform shaping circuit and the signal switching circuit. During reverse rotation, the waveform shaping circuit and signal switching circuit output the marker signal during reverse rotation (the signal that is the inverted marker signal during normal rotation) to detect the trailing edge of the marker signal at the same timing as during normal rotation and shift the position. Is lost.
Then, each time the inverted marker signal falls, set the origin shift amount that the target object moves after stopping the motor during forward rotation as the current position, and change the origin signal from the limit switch from low level to high level. When the motor is stopped when it is reversed, the motor is normally rotated by an amount obtained by adding the origin shift amount to the movement amount from the motor stop to the position where the target object moves due to inertia, and becomes the mechanical origin.

〔考案の実施の形態〕[Embodiment of Device]

本考案の実施の形態を第1図を参照しながら説明する
と、所定ピッチの送りねじを有するシャフト5の回転に
より対象物体6を直線移動させる対象物体送り装置1
と、前記シャフト5に連結されたモータ7を回転させる
ためのマイコン2により構成される速度指令手段、前記
対象物体6の移動位置に近接して配置され、該対象物体
6が当接することによりローレベルからハイレベルに反
転し、該対象物体6が離反することによりハイレベルか
らローレベルに反転する原点信号LSを出力するリミット
スイッチ3および前記モータ7の1回転当たり1回ハイ
レベルに反転するマーカ信号ΦZを出力するエンコーダ
10を有し、前記対象物体6がリミットスイッチ3に対し
て所定の一側(例えばスイッチ3とスイッチ11との間)
に存在し、前記モータ7を正転方向に回転させて対象物
体6を一方向に移動させたとき、リミットスイッチ3か
らの原点信号LSがハイレベルからローレベルに反転して
から最初に現れたマーカ信号ΦZによりモータ7を停止
させ、該モータ7を停止させた位置から対象物体6が慣
性により移動して停止した位置(モータ7が停止した位
置から対象物体6が慣性により移動して停止した位置ま
での量を原点シフト量という)を機械原点として検出す
るマイコン2により構成される原点検出手段を備えた機
械原点検出装置であって、前記エンコーダ10は前記マー
カ信号ΦZに加えてA相パルスΦAおよびB相パルスΦ
Bを出力するように構成され、このエンコーダ10からの
A相パルスΦAおよびB相パルスΦBに基づいてハイレ
ベルの正転信号ΦRおよびローレベルの逆転信号ΦRを
出力する波形成形回路13と、正転時には前記波形成形回
路13の正転信号ΦRとマーカ信号ΦZとの論理をANDゲ
ート17でとり、逆転時には前記波形成形回路13の逆転信
号ΦRとマーカ信号ΦZをインバータ16で反転した信号
との論理をANDゲート18でとるように正転時および逆転
時においてマーカ信号ΦZを正転信号ΦRおよび逆転信
号ΦRにより切換える信号切換回路14とを設け、前記原
点検出手段は、正転時に機械原点を検出する手段に加
え、逆転時に、反転したマーカ信号ΦZが立下がる都度
前記原点シフト量を現在位置として設定し、リミットス
イッチ3からの原点信号LSがローレベルからハイレベル
に反転したときモータ7を停止させ、前記現在位置から
モータ7を停止させてから対象物体6が慣性により移動
して停止する位置までの移動量に前記原点シフト量を加
算した量だけモータ7を正転させて機械原点を検出する
マイコン2により構成される検出手段を備えている。
An embodiment of the present invention will be described with reference to FIG. 1. A target object feeding device 1 for linearly moving a target object 6 by rotating a shaft 5 having a feed screw with a predetermined pitch.
And a speed command means constituted by a microcomputer 2 for rotating a motor 7 connected to the shaft 5, and the speed command means is arranged close to the moving position of the target object 6 and the target object 6 comes into contact with the low speed command means. A marker that inverts from a level to a high level and outputs an origin signal LS that inverts from a high level to a low level when the target object 6 separates and a high level once per revolution of the motor 7. Encoder that outputs signal ΦZ
10 has the target object 6 on one side with respect to the limit switch 3 (for example, between the switch 3 and the switch 11)
When the target object 6 is moved in one direction by rotating the motor 7 in the normal direction, the origin signal LS from the limit switch 3 first appears after being inverted from high level to low level. The motor 7 is stopped by the marker signal ΦZ, and the target object 6 moves from the position where the motor 7 is stopped due to inertia and stops (the target object 6 moves from the position where the motor 7 stops due to inertia and stops). A mechanical origin detecting device having an origin detecting means configured by a microcomputer 2 for detecting a quantity up to a position as an origin shift amount) as a mechanical origin, wherein the encoder 10 includes an A phase pulse in addition to the marker signal ΦZ. ΦA and B phase pulse Φ
A waveform shaping circuit 13 configured to output B, which outputs a high-level normal rotation signal ΦR and a low-level reverse rotation signal ΦR based on the A-phase pulse ΦA and the B-phase pulse ΦB from the encoder 10, At the time of turning, the logic of the normal signal ΦR of the waveform shaping circuit 13 and the marker signal ΦZ is taken by the AND gate 17, and at the time of reverse, the reverse signal ΦR of the waveform shaping circuit 13 and the marker signal ΦZ are inverted by the inverter 16. A signal switching circuit 14 is provided for switching the marker signal ΦZ by the forward rotation signal ΦR and the reverse rotation signal ΦR at the time of forward rotation and reverse rotation so that the AND gate 18 takes the logic. In addition to the means for detecting, at the time of reverse rotation, the origin shift amount is set as the current position each time the inverted marker signal ΦZ falls, and the origin signal LS from the limit switch 3 is at a low level. From the current position to the position where the target object 6 moves due to inertia and then stops, the motor 7 is stopped and the origin shift amount is added. It is provided with a detecting means constituted by the microcomputer 2 which detects the mechanical origin by rotating the motor 7 in the forward direction.

〔実施例〕〔Example〕

本考案における機械原点検出装置の一実施例を第1図
ないし第5図に示し、第1図において第6図に示す従来
装置と同一のものには同一の符号を付してその説明は省
略する。
1 to 5 show an embodiment of a mechanical origin detecting device according to the present invention. In FIG. 1, the same parts as those of the conventional device shown in FIG. To do.

第1図において、原点検出手段4はマイコン2および
エンコーダ10に加えて波形成形回路13、信号切換回路14
を備えている。エンコーダ10はモータ7の1回転当たり
1回“H"に反転するマーカ信号ΦZを発生するのに加え
て、さらにA相パルスΦAおよびB相パルスΦBを発生
する。この量パルスΦA,ΦBは波形成形回路13に入力さ
れ、正転・逆転信号ΦRに波形成形される。信号切換回
路14は2つのインバータ15,16、2つのANDゲート17,18
およびORゲート19を備え、波形成形回路13の出力がAND
ゲート17の一方の入力端およびインバータ15を介してAN
Dゲート18の一方の入力端に接続され、またマーカ信号
ΦZがANDゲート17の他方の入力端およびインバータ16
を介してANDゲート18の他方の入力端に接続されてい
る。ANDゲート17,18の出力はそれぞれORゲート19の入力
端に接続され、このORゲート19の出力がマイコン2に接
続されている。
In FIG. 1, the origin detecting means 4 includes a waveform shaping circuit 13, a signal switching circuit 14 in addition to the microcomputer 2 and the encoder 10.
It has. The encoder 10 generates the marker signal ΦZ which is inverted to “H” once per one rotation of the motor 7, and further generates the A phase pulse ΦA and the B phase pulse ΦB. The quantity pulses .PHI.A and .PHI.B are input to the waveform shaping circuit 13 and shaped into a normal / reverse rotation signal .PHI.R. The signal switching circuit 14 includes two inverters 15 and 16 and two AND gates 17 and 18.
And OR gate 19, and the output of waveform shaping circuit 13 is AND
AN via one input of gate 17 and inverter 15
The marker signal ΦZ is connected to one input terminal of the D gate 18, and the other input terminal of the AND gate 17 and the inverter 16
Is connected to the other input terminal of the AND gate 18 via. The outputs of the AND gates 17 and 18 are connected to the input ends of the OR gate 19, and the output of the OR gate 19 is connected to the microcomputer 2.

前記波形成形回路13から出力される正転・逆転信号Φ
Rは、正転時に“H"、逆転時に“L"となるから、正転時
にはANDゲート17が導通可能状態、逆転時にはANDゲート
18が導通可能状態となる。従って、正転時にはANDゲー
ト17とORゲート19を介してマーカ信号ΦZに対応する検
出信号ΦOがマイコン2に入力され、逆転時にはANDゲ
ート18とORゲート19を介してマーカ信号ΦZを反転した
検出信号ΦOがマイコン2に入力される。この検出信号
ΦOについて第2図を参照して説明すると、第2図にお
いて、スイッチ3の原点信号LSの時間経過が図面左から
右へ進むのを正転とすると、正転時には信号切換回路14
から出力される検出信号ΦOはΦ01で示すようにマーカ
信号ΦZに対応するものとなり、逆転時には信号切換回
路14から出力される検出信号ΦOはΦ02で示すようにマ
ーカ信号ΦZを反転した信号となる。第2図から明らか
なように、正転時における検出信号Φ01と逆転時におけ
る検出信号Φ02とは立ち下がり時点が一致しており、正
転方向・逆転方向共にマーカ信号ΦZを使用しても位置
ずれを起こすことがない。
Forward / reverse rotation signal Φ output from the waveform shaping circuit 13
Since R becomes "H" at the time of forward rotation and "L" at the time of reverse rotation, the AND gate 17 is in a conductive state at the time of forward rotation, and the AND gate 17 at the time of reverse rotation.
18 becomes conductive. Therefore, during normal rotation, the detection signal ΦO corresponding to the marker signal ΦZ is input to the microcomputer 2 through the AND gate 17 and OR gate 19, and during reverse rotation, detection is performed by inverting the marker signal ΦZ through the AND gate 18 and OR gate 19. The signal ΦO is input to the microcomputer 2. The detection signal .PHI.O will be described with reference to FIG. 2. In FIG. 2, assuming that the time lapse of the origin signal LS of the switch 3 advances from the left to the right in the drawing in the normal direction, the signal switching circuit 14 operates in the normal direction.
The detection signal .PHI.O output from the signal corresponds to the marker signal .PHI.Z as shown by .PHI.0 1. At the time of reverse rotation, the detection signal .PHI.O output from the signal switching circuit 14 is a signal obtained by inverting the marker signal .PHI.Z as shown by .PHI.0 2. Becomes As is clear from FIG. 2, the detection signal Φ 0 1 at the time of forward rotation and the detection signal Φ 0 2 at the time of reverse rotation have the same falling time points, and the marker signal ΦZ is used for both the forward rotation direction and the reverse rotation direction. Does not cause misalignment.

次に本考案における機械原点検出装置の動作について
説明する。第1図において、ワーク6がスイッチ11から
スイッチ12側に移動する方向を正転とすると、スイッチ
11とスイッチ3との間にワーク6が存在する場合には正
転用機械原点検出方法を、ワーク6がスイッチ3とスイ
ッチ12との間に存在する場合には逆転用機械原点検出方
法を用いて機械原点を検出する。
Next, the operation of the mechanical origin detecting device according to the present invention will be described. In FIG. 1, assuming that the direction in which the workpiece 6 moves from the switch 11 to the switch 12 side is forward rotation, the switch
When the work 6 exists between 11 and the switch 3, the forward rotation mechanical origin detection method is used. When the work 6 exists between the switch 3 and the switch 12, the reverse rotation mechanical origin detection method is used. Detect the machine origin.

第3図は正転時の機械原点検出動作を示すタイムチャ
ートであるが、この場合検出信号ΦOが“H"であるほか
は従来装置と同一である。従って、ここでは重複する説
明を省略するが、原点シフト量を1mm(斜線で示す)と
すると、原点信号LSが“H"から“L"に反転してから最初
に現れるマーカ信号ΦZの立下がりの位置は−1mmであ
る。
FIG. 3 is a time chart showing the mechanical origin detection operation during normal rotation. In this case, it is the same as the conventional device except that the detection signal ΦO is “H”. Therefore, although duplicate description is omitted here, if the origin shift amount is set to 1 mm (shown by diagonal lines), the origin signal LS is inverted from “H” to “L”, and then the first fall of the marker signal ΦZ. The position of is -1 mm.

逆転時の機械原点検出動作を第4図のタイムチャート
および第5図のフローチャートを参照しながら説明す
る。まず、マイコン2がスタートするとステップP1で原
点復帰指令が出力されモータ7が逆転する。モータ7の
逆転により波形成形回路13から出力される正転・逆転信
号ΦRは“L"であり、信号切換回路14から出力される検
出信号ΦOはマーカ信号ΦZを反転した信号となる。ス
テップP2では原点信号LSが“L"から“H"に反転したか否
かを判定し、肯定判定の場合にはステップP5に進み、否
定判定の場合にはステップP3に進む。原点信号LSが反転
せずに“L"状態にある期間においてはステップP3によっ
て検出信号ΦO(マーカ信号ΦZを反転した信号)の立
下がりを判別する。ここでステップP3では第4図に示す
a,b,c,d,eの時点で検出信号ΦOの立ち下がりを判別し
てステップP4に進み、ステップP4では、前記各時点毎に
マイコン2で管理されているワーク6の現在位置に原点
シフト量である1を設定する動作を繰り返す。ワーク6
が移動してスイッチ3に当接して原点信号LSが“L"から
“H"に反転したことがステップP2で判定されるとステッ
プP5に進んでモータ7を停止させる。モータ7が停止す
るとワーク6は慣性によってQ点まで移動して停止す
る。ワーク6が移動して停止するQ点の位置はマイコン
2で管理されているので、検出信号ΦOの立下がり時点
であるe点からQ点までの移動量はマイコン2によって
計測されている。従って、ステップP6において、e点か
らQ点までの移動量に現在位置に設定されている原点シ
フト量を加算した量だけモータ7を正転させてワーク6
を移動させるとワーク6が機械原点に到達する。
The mechanical origin detecting operation during reverse rotation will be described with reference to the time chart of FIG. 4 and the flowchart of FIG. First, when the microcomputer 2 starts, a home return command is output in step P1 and the motor 7 rotates in the reverse direction. The forward / reverse rotation signal ΦR output from the waveform shaping circuit 13 due to the reverse rotation of the motor 7 is “L”, and the detection signal ΦO output from the signal switching circuit 14 is a signal obtained by inverting the marker signal ΦZ. In step P2, it is determined whether or not the origin signal LS is inverted from "L" to "H". If the determination is affirmative, the process proceeds to step P5, and if the determination is negative, the process proceeds to step P3. In the period in which the origin signal LS is in the "L" state without being inverted, the fall of the detection signal ΦO (a signal obtained by inverting the marker signal ΦZ) is determined in step P3. Here, in step P3, as shown in FIG.
At the time points a, b, c, d, and e, the falling edge of the detection signal ΦO is discriminated and the process proceeds to step P4. At step P4, the origin is set at the current position of the work 6 managed by the microcomputer 2 at each time point. The operation of setting 1 which is the shift amount is repeated. Work 6
Moves to contact the switch 3 and the origin signal LS is inverted from "L" to "H" in step P2, the process proceeds to step P5 to stop the motor 7. When the motor 7 stops, the work 6 moves to point Q due to inertia and stops. Since the position of the Q point at which the work 6 moves and stops is managed by the microcomputer 2, the microcomputer 2 measures the amount of movement from the point e to the Q point at which the detection signal ΦO falls. Therefore, in step P6, the motor 7 is normally rotated by an amount obtained by adding the amount of movement of the origin set at the current position to the amount of movement from the point e to the point Q.
When is moved, the work 6 reaches the machine origin.

〔考案の効果〕[Effect of device]

以上に説明したように本考案の機械原点検出装置にお
いては、波形成形回路と信号切換回路を用いて正転時と
逆転時とにおいてマーカ信号を切換え、逆転時にマーカ
信号を反転した信号を利用することによって正転時と逆
転時においてマーカ信号のずれをなくすように構成され
ているので、対象物体が原点信号を出力するリミットス
イッチの右側または左側にある場合にも、モータを正転
または逆転させて機械原点を検出することができ、従来
装置のように機械原点を検出するために対象物体を所定
の一側に移動させる必要がなく、敏速な機械原点の検出
を行うことができる。
As described above, in the mechanical origin detecting device of the present invention, the marker signal is switched between the forward rotation and the reverse rotation by using the waveform shaping circuit and the signal switching circuit, and the signal obtained by inverting the marker signal during the reverse rotation is used. By doing so, it is configured to eliminate the deviation of the marker signal at the time of forward rotation and reverse rotation, so even if the target object is on the right or left side of the limit switch that outputs the origin signal, the motor can be rotated forward or reverse. It is possible to detect the mechanical origin, and it is not necessary to move the target object to a predetermined side in order to detect the mechanical origin as in the conventional device, and the mechanical origin can be detected promptly.

【図面の簡単な説明】[Brief description of drawings]

第1図ないし第5図はそれぞれこの考案の機械原点検出
装置の一実施例を示し、第1図はそのブロック図、第2
図はマーカ信号を用いてもモータの正転時および逆転時
でもずれのないことを説明する波形図、第3図はモータ
の正転時の動作を示すタイミチャート、第4図はモータ
の逆転時の動作を示すタイムチャート、第5図はモータ
の逆転時の動作を説明するフローチャートである。第6
図ないし第8図はそれぞれ従来の機械原点検出装置の一
例を示し、第6図はそのブロック図、第7図は動作を示
すタイムチャート、第8図はフローチャートである。 1:対象物体(ワーク)送り装置、2:マイコン、3:リミッ
トスイッチ、4:原点検出手段、10:エンコーダ、13:波形
成形回路、14:信号切換回路。
1 to 5 show an embodiment of the mechanical origin detecting device of the present invention, and FIG. 1 is its block diagram and FIG.
The figure is a waveform diagram explaining that there is no deviation even when the motor rotates in the forward direction and the reverse direction even if the marker signal is used. FIG. 3 is a timing chart showing the operation during the forward rotation of the motor. FIG. 5 is a flow chart for explaining the operation of the motor during reverse rotation. Sixth
1 to 8 show an example of a conventional mechanical origin detecting device, FIG. 6 is a block diagram thereof, FIG. 7 is a time chart showing the operation, and FIG. 8 is a flow chart. 1: Target object (work) feeding device, 2: Microcomputer, 3: Limit switch, 4: Origin detection means, 10: Encoder, 13: Waveform shaping circuit, 14: Signal switching circuit.

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of utility model registration request] 【請求項1】所定ピッチの送りねじを有するシャフトの
回転により対象物体を直線移動させる対象物体送り装
置、前記シャフトに連結されたモータを回転させるため
の速度指令手段、前記対象物体の移動位置に近接して配
置され、該対象物体が当接することによりローレベルか
らハイレベルに反転し、該対象物体が離反することによ
りハイレベルからローレベルに反転する原点信号を出力
するリミットスイッチおよび前記モータの1回転当たり
1回ハイレベルに反転するマーカ信号を出力するエンコ
ーダを有し、前記対象物体がリミットスイッチに対して
所定の一側に存在し、前記モータを正転方向に回転させ
て対象物体を一方向に移動させたとき、リミットスイッ
チからの原点信号がハイレベルからローレベルに反転し
てから最初に現れたマーカ信号によりモータを停止さ
せ、該モータを停止させた位置から対象物体が慣性によ
り移動して停止した位置(以下、モータが停止した位置
から対象物体が慣性により移動して停止した位置までの
量を原点シフト量という)を機械原点として検出する原
点検出手段を備えた機械原点検出装置において、 前記エンコーダは前記マーカ信号に加えてA相パルスお
よびB相パルスを出力するように構成され、このエンコ
ーダからのA相パルスおよびB相パルスに基づいてハイ
レベルの正転信号およびローレベルの逆転信号を出力す
る波形成形回路と、正転時には前記波形成形回路の正転
信号とマーカ信号との論理をとり、逆転時には前記波形
成形回路の逆転信号とマーカ信号を反転した信号との論
理をとるように正転時および逆転時においてマーカ信号
を正転信号および逆転信号により切換える信号切換回路
とを設け、前記原点検出手段は、正転時に機械原点を検
出する手段に加え、逆転時に、反転したマーカ信号が立
下がる都度前記原点シフト量を現在位置として設定し、
リミットスイッチからの原点信号がローレベルからハイ
レベルに反転したときモータを停止させ、前記現在位置
からモータを停止させてから対象物体が慣性により移動
して停止する位置までの移動量に前記原点シフト量を加
算した量だけモータを正転させて機械原点を検出する手
段を備えていることを特徴とする機械原点検出装置。
1. A target object feeding device for linearly moving a target object by rotation of a shaft having a feed screw of a predetermined pitch, speed command means for rotating a motor connected to the shaft, and a moving position of the target object. The limit switch and the motor, which are arranged close to each other, output an origin signal which is inverted from a low level to a high level when the target object abuts, and which is inverted from a high level to a low level when the target object is separated. An encoder that outputs a marker signal that is inverted to a high level once per one rotation is provided, and the target object exists on a predetermined side with respect to a limit switch, and the motor is rotated in the forward direction to rotate the target object. When moved in one direction, the origin signal from the limit switch first appeared after being inverted from high level to low level. Position of the target object moved by inertia from the position where the motor was stopped by the marker signal (hereinafter, from the position where the motor stopped to the position where the target object moved due to inertia and stopped) In the mechanical origin detecting device provided with origin detecting means for detecting the amount as an origin shift amount) as a mechanical origin, the encoder is configured to output an A phase pulse and a B phase pulse in addition to the marker signal. A waveform shaping circuit that outputs a high-level normal rotation signal and a low-level reverse rotation signal based on the A-phase pulse and the B-phase pulse from the encoder, and the logic of the normal rotation signal and the marker signal of the waveform shaping circuit during normal rotation. In reverse rotation, the reverse rotation signal of the waveform shaping circuit and the signal obtained by inverting the marker signal are taken as the logic during forward rotation and reverse rotation. A signal switching circuit for switching the power supply signal between the forward rotation signal and the reverse rotation signal is provided, and the origin detection means, in addition to the means for detecting the mechanical origin during the forward rotation, shifts the origin every time the inverted marker signal falls during the reverse rotation. Set the amount as the current position,
When the origin signal from the limit switch reverses from low level to high level, the motor is stopped, the origin is shifted to the movement amount from the current position to the position where the target object moves due to inertia after stopping the motor. A machine origin detecting device comprising means for detecting the machine origin by rotating the motor forward by an amount obtained by adding the quantities.
JP2471190U 1990-03-12 1990-03-12 Machine origin detection device Expired - Lifetime JP2506759Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2471190U JP2506759Y2 (en) 1990-03-12 1990-03-12 Machine origin detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2471190U JP2506759Y2 (en) 1990-03-12 1990-03-12 Machine origin detection device

Publications (2)

Publication Number Publication Date
JPH03116404U JPH03116404U (en) 1991-12-03
JP2506759Y2 true JP2506759Y2 (en) 1996-08-14

Family

ID=31527667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2471190U Expired - Lifetime JP2506759Y2 (en) 1990-03-12 1990-03-12 Machine origin detection device

Country Status (1)

Country Link
JP (1) JP2506759Y2 (en)

Also Published As

Publication number Publication date
JPH03116404U (en) 1991-12-03

Similar Documents

Publication Publication Date Title
US5652494A (en) Angle controller for a switched reluctance drive utilizing a high frequency clock
KR900003643B1 (en) Robot joint angle detecting system
CA2172666A1 (en) Position encoder
US4882529A (en) Pulse encoder
US4578748A (en) Positioning control system
JP2506759Y2 (en) Machine origin detection device
JPH0232799A (en) Electric stepping motor having load angle regulator and its operation
JPH09292264A (en) Absolute encoder
JP4239291B2 (en) AC servo motor encoder
JPS62239204A (en) Method for positioning origin of robot
JPS62103703A (en) Origin return system for positioning controller
JPH04357413A (en) Multi-rotary absolute encoder
JPH11249742A (en) Servo motor and position detecting method therefor
JP2597977B2 (en) Reference point setting method for position detection circuit
JPH04340608A (en) Method and device for controlling revolving shaft
JPH0511446Y2 (en)
JPH0431603Y2 (en)
SU517910A1 (en) The photovoltaic controlled electric drive
JPS61221802A (en) Searching system for original point of robot arm
JPS62236655A (en) Origin detecting device for position control machine
JP2579605B2 (en) Robot origin alignment method
JPH07175523A (en) Position controller
SU1334350A1 (en) Device for controlling step motor
JPS63289416A (en) Pulse encoder
JPH02155482A (en) Servo locking circuit