JPS63111409A - Deciding method for origin signal - Google Patents

Deciding method for origin signal

Info

Publication number
JPS63111409A
JPS63111409A JP25689686A JP25689686A JPS63111409A JP S63111409 A JPS63111409 A JP S63111409A JP 25689686 A JP25689686 A JP 25689686A JP 25689686 A JP25689686 A JP 25689686A JP S63111409 A JPS63111409 A JP S63111409A
Authority
JP
Japan
Prior art keywords
signal
origin
level
data
pulse
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
JP25689686A
Other languages
Japanese (ja)
Other versions
JPH0535964B2 (en
Inventor
Teruyuki Uchida
内田 輝幸
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.)
Ube Corp
Original Assignee
Ube Industries 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 Ube Industries Ltd filed Critical Ube Industries Ltd
Priority to JP25689686A priority Critical patent/JPS63111409A/en
Publication of JPS63111409A publication Critical patent/JPS63111409A/en
Publication of JPH0535964B2 publication Critical patent/JPH0535964B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To decide an origin signal correctly by deciding a level signal which is generated after a signal right before a moving body in reciprocal motion reaches its stroke end as the origin signal. CONSTITUTION:A scale signal (a) which is inputted to a pulse counter 9 through a scale sensor is branched and inputted to a signal discriminator 21 to judge and store whether the last signal (a) is on a up-pulse side or down-pulse side. A signal (g) sent out of the signal discriminator 21 goes up to 'H' level at the point of time when a cylinder head 1 begins to move from a forward movement side end stroke position to a backward movement side end stroke position. Even when an origin signal (b) contains noises, the output signal (g) of the signal discriminator 21 never goes up to the 'H' level, so an origin position signal (h) sent out of an AND gate 22 never rises to the 'H' level and data is not rewritten in a pulse counter 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ダイカスト機や射出成形機等の加工機械にお
いて、その操作シリンダのシリンダロッドの位置や速度
の計測用に取り付ける、インクレメンタル方式の磁気ス
ケールの送出する原点信号を判定するために用いて好適
な原点信号判定方法に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an incremental method installed in processing machines such as die-casting machines and injection molding machines to measure the position and speed of the cylinder rod of the operating cylinder. The present invention relates to an origin signal determination method suitable for use in determining an origin signal sent out by a magnetic scale.

〔従来の技術〕[Conventional technology]

従来より、ダイカスト機等においては、その操作シリン
ダのシリンダロッドの移動位置を求めるために、磁気ス
ケールを用いた移動位置検出装置を用いている。第4図
はそのブロック構成図である。すなわち、シリンダロッ
ド1に固定金具2によりストライカ3が固定され、シリ
ンダロッドlの動きがストライカ3に伝達されるように
なっている。ストライカ3には磁気スケール6と原点マ
グネット4が固定されている。磁気スケール6は単位距
離毎に着磁されたもので、スケールセンサ7と組み合わ
せ単位距離毎に電気信号を発信できるように工夫されて
いる。また、原点マグネット4は原点センサ5と組み合
わせ、rHJレベルの電気信号を発信できるように工夫
されれいる。すなわち、スケールセンサ7並びに原点セ
ンサ5がストライカ3の移動に対し常に等間隔を保つよ
うにマシンベース(図示せず)に固定されており、スト
ライカ3の移動に対し、その単位距離毎にスケールセン
サ7がパルス状電気信号(以下、この電気信号をスケー
ル信号aと称す)を発信し、原点センサ5が原点マグネ
ット4との一致点で「H」レベルの原点信号すを発信す
るようになっている。
2. Description of the Related Art Conventionally, die-casting machines and the like have used a movement position detection device using a magnetic scale to determine the movement position of a cylinder rod of an operating cylinder thereof. FIG. 4 is a block configuration diagram thereof. That is, the striker 3 is fixed to the cylinder rod 1 by the fixing fitting 2, and the movement of the cylinder rod 1 is transmitted to the striker 3. A magnetic scale 6 and an origin magnet 4 are fixed to the striker 3. The magnetic scale 6 is magnetized for each unit distance, and is designed to be able to transmit an electric signal for each unit distance when combined with the scale sensor 7. Further, the origin magnet 4 is designed to be combined with the origin sensor 5 to transmit an rHJ level electrical signal. That is, the scale sensor 7 and the origin sensor 5 are fixed to a machine base (not shown) so as to always maintain equal intervals with respect to the movement of the striker 3, and the scale sensor 7 and the origin sensor 5 are fixed to a machine base (not shown) so as to always maintain equal intervals with respect to the movement of the striker 3. 7 transmits a pulsed electric signal (hereinafter, this electric signal is referred to as scale signal a), and the origin sensor 5 transmits an "H" level origin signal at the point where it coincides with the origin magnet 4. There is.

スケール信号aは、一般には、ストライカ3の移動方向
と単位距離を表す信号の形であることが必要であり、例
えばアップ−ダウンパルス信号方式が採用される。すな
わち、アップ−ダウンパルス信号方式とは、信号出力を
2系列とし、単位距離移動毎にパルス信号を発信する機
能を有し、この発信パルスを移動方向により前記2系列
の信号出力に振り分けて外部に出力する方式であり、信
号出力を入力するパルスカウンタにおけるカウント値の
増減方向により、その信号出力系列をアップパルス信号
とダウンパルス信号との2系列とする。すなわち、第4
図において、ストライカ3が図示右側から左側へ移動し
た場合に、スケールセンサ7より送出されるスケール信
号aをアップパルス信号とし、このアップパルス信号に
よってパルスカウンタ9におけるカウント値がその入力
パルス数だけ加算されるようになっている。また、スト
ライカ3が左側から右側に移動した場合に、スケールセ
ンサ7より送出されるスケール信号aをダウンパルス信
号とし、このダウンパルス(を号によってパルスカウン
タ9におけるカウント値がその入力パルス数だけ減算さ
れるようになっている。また、パルスカウンタ9は、原
点センサ5を介する原点信号すを入力とし、この原点信
号すの入力により原点データ設定器8に設定されている
データCを取り込み、その内部データを補正するように
なっている。即ち、rHJレベルの原点信号すの発生時
点において、パルスカウンタ9のカウント値がデータC
に書き替えられるようになっている。
The scale signal a generally needs to be in the form of a signal representing the moving direction and unit distance of the striker 3, and for example, an up-down pulse signal system is adopted. In other words, the up-down pulse signal system has two signal output series and has a function of transmitting a pulse signal every unit distance movement, and the transmitted pulses are divided into the two signal output series according to the direction of movement and sent to the outside. The signal output series is divided into two series, an up pulse signal and a down pulse signal, depending on the direction of increase/decrease of the count value in the pulse counter that inputs the signal output. That is, the fourth
In the figure, when the striker 3 moves from the right side to the left side in the figure, the scale signal a sent from the scale sensor 7 is used as an up pulse signal, and the count value in the pulse counter 9 is added by the number of input pulses by this up pulse signal. It is now possible to do so. In addition, when the striker 3 moves from the left side to the right side, the scale signal a sent from the scale sensor 7 is used as a down pulse signal, and the count value in the pulse counter 9 is subtracted by the number of input pulses by this down pulse (). In addition, the pulse counter 9 inputs the origin signal S via the origin sensor 5, receives the data C set in the origin data setter 8 by inputting the origin signal S, and inputs the data C set in the origin data setter 8. The internal data is corrected. That is, at the time when the origin signal of rHJ level is generated, the count value of the pulse counter 9 is equal to the data C.
It can now be rewritten as .

また、パルスカウンタ9は、その内部におけるカウント
値をデータ信号dとして常に比較器111.112・・
・IINに送出するようになし、比較器111,112
・・・IINは、比較データ設定器101.102・・
・IONに設定されるe1+e!・・・eNなる比較規
準データを入力とし、これら比較規準データ61+e!
・・・eHとパルスカウンタ9からのデータ信号dとを
比較演算するようになっている。すなわち、比較器11
1゜112・−−11Nにおいて、e1≧d、e2≧d
・・・eH≧dの比較演算が行われ、論理値データとし
て出力信号f、、f、・・・fsが出力されるようにな
っている。
Further, the pulse counter 9 always uses the internal count value as the data signal d to the comparators 111, 112, . . .
・Comparators 111 and 112 are configured to send to IIN.
...IIN is the comparison data setter 101.102...
・e1+e set in ION! ...The comparison standard data eN is input, and these comparison standard data 61+e!
. . . eH and the data signal d from the pulse counter 9 are compared and calculated. That is, comparator 11
1゜112・--11N, e1≧d, e2≧d
. . . A comparison operation of eH≧d is performed, and output signals f, , f, . . . fs are output as logical value data.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、ダイカスト機や射出成形機等の加工機械
の設置される工場環境は、必ずしも良いものではなく、
運転中の一加工機械の近辺で電気溶接を行ったり、補助
設備等の電源のオン・オフによるノイズ等も多々発生し
ている。
However, the factory environment where processing machines such as die-casting machines and injection molding machines are installed is not necessarily good.
Electric welding is performed near a processing machine that is in operation, and noise is often generated by turning on and off the power of auxiliary equipment.

このような環境に上述した移動位置検出装置を設置した
場合、十分なノイズ対策が必要となる事は勿論ではある
が、これとて限界があり、外部環境条件の悪化が重なる
と、原点センサ5の送出する原点信号すに相当するノイ
ズがパルスカウンタ9に入力されてしまうことがある。
When the above-mentioned moving position detection device is installed in such an environment, it goes without saying that sufficient noise countermeasures are required, but there are limits to this, and if external environmental conditions worsen, the origin sensor 5 Noise corresponding to the origin signal sent out by the pulse counter 9 may be input to the pulse counter 9.

すなわち、このようなノイズがパルスカウンタ9に入力
されてしまうと、そのノイズの入力時点でパルスカウン
タ9におけるカウントデータが原点データ設定器8に設
定されているデータCに書き替えられてしまい、以降シ
リンダロッド1の移動位置の検出に誤りが生じ、重大な
事故に発展する虞れがあった。
In other words, if such noise is input to the pulse counter 9, the count data in the pulse counter 9 will be rewritten to the data C set in the origin data setter 8 at the time the noise is input, and from then on There was a risk that an error would occur in detecting the moving position of the cylinder rod 1, leading to a serious accident.

〔問題点を解決するための手段〕[Means for solving problems]

本発明はこのような問題点に鑑みてなされたもので、往
復運動を行う移動体の前進側から後退側へのストローク
エンドに達する前に直前信号を送出する直前信号送出手
段と、この直前信号送出手段における直前信号の送出後
移動体がそのストロークエンドに達するまでの間に原点
信号を送出する原点信号送出手段とを備え、直前信号送
出手段において直前信号が送出された後発生する前記原
点信号に相当するレベルの信号を原点信号と判定するよ
うにしたものである。
The present invention has been made in view of these problems, and includes a means for transmitting a last-minute signal before reaching the stroke end from the forward side to the backward side of a moving body that performs reciprocating motion, and a last-minute signal sending means for sending the last-minute signal. an origin signal transmitting means for transmitting an origin signal after the immediately preceding signal is transmitted by the transmitting means until the moving body reaches its stroke end, and the origin signal is generated after the immediately preceding signal is transmitted by the immediately preceding signal transmitting means. A signal with a level corresponding to , is determined to be the origin signal.

〔作用〕[Effect]

したがってこの発明によれば、移動体がその前道側から
後退側へのストロークエンドに達する直前までは、原点
信号に相当するレベルのノイズ信号が発生したとしても
、その信号を誤って原点信号と判定することはない。
Therefore, according to the present invention, even if a noise signal of a level equivalent to the origin signal is generated until the moving object reaches the end of its stroke from the forward side to the backward side, the signal is mistakenly recognized as the origin signal. There is no judgment.

〔実施例〕〔Example〕

以下、本発明に係る原点信号判定方法を詳細に説明する
。第1図は本発明に係る原点信号判定方法を適用したシ
リンダロフトの移動位置検出装置の一実施例を示すブロ
ック構成図である。同図において、第4図と同一符号は
同一構成要素を示しその説明は省略する。同図において
、21は信号弁別器、22は3人力アンドゲートである
。信号弁別器21には、第4図に示したスケールセンサ
7を介してパルスカウンタ9に入力されるスケール信号
aが分岐して入力されるようになっており、直前の入力
信号(スケール信号a)がアップパルス信号側であった
か、ダウンパルス信号側であったかが、この信号弁別器
21において判断・記憶されるようになっている6本実
施例においては、直前のスケール信号aがダウンパルス
信号側である場合にのみrHJレベルの出力信号gが送
出されるようになっている。また、比較器111は、そ
の内部においてe1≧dが成立したときに、「H」レベ
ルの出力信号f、を送出するようになっており、この比
較器111の送出する出力信号rい信号弁別器21の送
出する出力信号gおよび第4図において原点センサ5の
送出する原点信号すがアンドゲート22にそれぞれ入力
されるようになっている。そして、アンドゲート22の
出力が原点位置信号りとしてパルスカウンタ9に入力さ
れるようになっており、パルスカウンタ9は、「H」レ
ベルの原点位置信号りが入力された時点で、原点データ
設定器8に設定されているデータCを取り込み、その内
部データを書き替えるようになっている。
Hereinafter, the origin signal determination method according to the present invention will be explained in detail. FIG. 1 is a block diagram showing an embodiment of a cylinder loft movement position detection device to which the origin signal determination method according to the present invention is applied. In this figure, the same reference numerals as in FIG. 4 indicate the same constituent elements, and the explanation thereof will be omitted. In the figure, 21 is a signal discriminator, and 22 is a three-man power AND gate. The signal discriminator 21 is configured such that the scale signal a, which is input to the pulse counter 9 via the scale sensor 7 shown in FIG. ) is on the up-pulse signal side or the down-pulse signal side is judged and stored in the signal discriminator 21. In this embodiment, the immediately preceding scale signal a is on the down-pulse signal side. The output signal g at the rHJ level is sent out only when this is the case. Further, the comparator 111 is configured to send out an output signal f at the "H" level when e1≧d is established within the comparator 111, and the output signal r sent out by the comparator 111 is The output signal g sent out by the device 21 and the origin signal g sent out by the origin sensor 5 in FIG. 4 are respectively input to the AND gate 22. The output of the AND gate 22 is input to the pulse counter 9 as the origin position signal, and the pulse counter 9 sets the origin data when the origin position signal of the "H" level is input. The data C set in the device 8 is taken in and the internal data is rewritten.

次に、このように構成されたシリンダロフトの移動位置
検出装置の動作を第2図を用いて説明する。すなわち、
第2図(a)は第4図においてシリンダロフト1が図示
最右端のストローク位置(以下、この位置を後退側エン
ドストローク位置と呼ぶ)から最左端のストローク位置
(以下、この位置を前進側エンドストローク位置と呼ぶ
)の間を往復した場合の時間に対するストローク位置の
関係図でり、横軸に時間tを、縦軸にストローク位置S
tを示している。図に示すストローク位置の零ポイント
が後退側エンドストローク位置であり、maxポイント
が前進側エンドストローク位置である。つまり、シリン
ダロッド1を後退側エンドストローク位置から前進側エ
ンドストローク位置まで等速度で前進させ、Δを時間停
止させた後、等速度で前進側エンドストローク位置から
後退側エンドストローク位置まで後退させる動作状態を
表している。このシリンダロフト1の時間に対するスト
ローク位置の関係図は、パルスカウンタ9に入力される
データ信号dの時間に対する増減特性に等しい。すなわ
ち、第2図(alの縦軸に併記したelmおよびす、は
、第1図に示した比較データ設定器101に設定される
比較規準データe1に対応するストローク位置およびr
HJレベルの原点信号すが送出されるストローク位置を
示している。
Next, the operation of the cylinder loft movement position detecting device configured as described above will be explained using FIG. 2. That is,
FIG. 2(a) shows the cylinder loft 1 in FIG. This is a diagram showing the relationship between stroke position and time when reciprocating between the stroke positions (referred to as stroke positions), with time t on the horizontal axis and stroke position S on the vertical axis.
It shows t. The zero point of the stroke position shown in the figure is the backward end stroke position, and the max point is the forward end stroke position. In other words, the cylinder rod 1 is moved forward at a constant speed from the backward end stroke position to the forward end stroke position, and after stopping Δ for a time, it is moved back at a constant speed from the forward end stroke position to the backward end stroke position. represents the state. The relationship diagram of the stroke position of the cylinder loft 1 with respect to time is equivalent to the increase/decrease characteristic of the data signal d input to the pulse counter 9 with respect to time. That is, elm and s written together on the vertical axis of FIG. 2 (al) indicate the stroke position and
This shows the stroke position at which the origin signal at HJ level is sent.

第2図(ト))および(C)は、信号弁別器21並びに
パルスカウンタ9に人力されるスケール信号aを示し、
シリンダロッド1が後退側エンドストローク位置から前
進側エンドストローク位置への移動状態にあるとき第2
図(b)に示すアップパルス信号a。
2(G)) and (C) show the scale signal a manually input to the signal discriminator 21 and the pulse counter 9,
When the cylinder rod 1 is in a state of movement from the backward end stroke position to the forward end stroke position, the second
Up pulse signal a shown in figure (b).

が、前進側エンドストローク位置から後退側エンドスト
ローク位置への移動状態にあるとき第2図(C)に示す
ダウンパルス信号a2が、信号弁別器21並びにパルス
カウンタ9に入力される。第2図(d)は信号弁別器2
1の送出する出力信号gであり、シリンダロッド1が前
進側エンドストローク位置から後退側エンドストローク
位置へと移動し始めた時点よりrHJレベルとなる。ま
た、第2図(elは比較器111の送出する出力信号f
、であり、e、≧dが成立するときにrHJレベルとな
る。
is in a state of movement from the forward end stroke position to the backward end stroke position, a down pulse signal a2 shown in FIG. 2(C) is input to the signal discriminator 21 and the pulse counter 9. Figure 2(d) shows the signal discriminator 2.
This is the output signal g sent out by No. 1, and reaches the rHJ level from the time the cylinder rod 1 begins to move from the forward end stroke position to the backward end stroke position. In addition, in FIG. 2 (el is the output signal f sent out from the comparator 111
, and when e, ≧d holds, the rHJ level is reached.

第2図(f)は原点センサ5の送出する原点信号すであ
り、原点センサ5と原点マグネット4とが一致している
間rHJレベルとなる。
FIG. 2(f) shows the origin signal sent by the origin sensor 5, which is at the rHJ level while the origin sensor 5 and the origin magnet 4 are in agreement.

今、第2図(flに示した原点信号すに、同図(aに示
したような2.〜26なるノイズが重畳されたと仮定す
る。この場合、第4図に示した従来装置においては、ノ
イズZ l ” Z &の全ての点で、パルスカウンタ
9がそのカウントデータを原点データ設定器8に設定さ
れているデータCに書き替え、以降アップパルス信号a
、およびダウンパルス信号a2をカウントすることにな
る。すなわち、パルスカウンタ9の送出するデータ信号
dは第2図(hlの実線で示すようになる。しかし、本
実施例に示す装置においては、第2図(1)に示すよう
に、ノイズz 、 7%、 24の影響を受けなくなる
Now, it is assumed that the origin signal shown in FIG. 2 (fl) is superimposed with noise of 2. to 26 as shown in FIG. , noise Z l ” Z &, the pulse counter 9 rewrites its count data to the data C set in the origin data setter 8, and thereafter the up pulse signal a
, and down pulse signal a2 are counted. That is, the data signal d sent out by the pulse counter 9 is as shown by the solid line in FIG. 2 (hl).However, in the apparatus shown in this embodiment, as shown in FIG. 7%, no longer affected by 24.

すなわち、シリンダロフト1をその後退側エンドストロ
ーク位置に正しく停止させるためには、油圧回路の遅れ
やシリンダの慣性により事前に油圧を切ることが必要で
、通常この油圧遮断信号として後退側エンドストローク
位置に達する直前に比較器111より送出される出力信
号f、を使用する。つまり、シリンダロフト1の移動中
、ノイズの重畳された第、2図(g)に示したような原
点信号が生じたとしても、シリンダロフト1の後退側エ
ンドストローク位置から前進側エンドストローク位置へ
の移動時にあっては、信号弁別器21の送出する出力信
号gがrHJレベルとなり得ないので、アンドゲート2
2の送出する原点位置信号りがrHJレベルとならず、
パルスカウンタ9におけるデータの書き替えは行われな
い。また、シリンダロッド1の前進側エンドストローク
位置から後退側エンドストローク位置への移動時にあっ
ては、信号弁別器21の送出する出力信号gが「H」レ
ベルとはなるが、比較器111の送出する出力信号f、
が、上述したように、シリンダロフト1の後退側エンド
ストローク位置に達する直前までは「H」レベルとなら
ないので、この間においてもアンドゲート22の送出す
る原点位置信号りがrHJレベルとならず、パルスカウ
ンタ9におけるデータの書き替えは行われない。比較器
111の送出する出力信号f、がrHJレベルとなった
以降は、原点信号すに重畳されるノイズが「H」レベル
の原点位?!(8号りとしてパルスカウンタ9に人力さ
れるが、比較器111の送出する出力信号f1がrHJ
レベルとなった以降、シリンダロフト1が停止するまで
のストロークは僅少であるので実害はない。また、比較
器111の送出すル出力信号f、が「H」レベルとなっ
た以降、「H」レベルの原点信号の発生前に生ずるノイ
ズ、例えばノイズZsに対しては、その後rHJレベル
の原点信号が入力された時点で改めてパルスカウンタ9
にデータCがセットされ、最終的にはそのノイズに対す
る影響はなくなる。また、z6に示すノイズのように「
H」レベルの原点信号より遅れて生ずるノイズに対して
は、ノイズ2.の入力された時点でパルスカウンタ9に
データCがセントされるため、検出されるストローク位
置は実ストロークに対して若干大きくなることになる。
In other words, in order to correctly stop the cylinder loft 1 at its backward end stroke position, it is necessary to cut off the hydraulic pressure in advance due to a delay in the hydraulic circuit or the inertia of the cylinder, and this hydraulic cutoff signal is usually used to determine the backward end stroke position. The output signal f sent out from the comparator 111 immediately before reaching . In other words, even if the origin signal shown in Fig. 2 (g) with superimposed noise occurs while the cylinder loft 1 is moving, the movement of the cylinder loft 1 from the backward end stroke position to the forward end stroke position When the signal discriminator 21 is moving, the output signal g sent out by the signal discriminator 21 cannot be at the rHJ level, so the AND gate 2
2, the origin position signal sent out does not reach the rHJ level,
Data in the pulse counter 9 is not rewritten. Furthermore, when the cylinder rod 1 moves from the forward end stroke position to the backward end stroke position, the output signal g sent out by the signal discriminator 21 is at the "H" level, but the output signal g sent out by the comparator 111 is output signal f,
However, as mentioned above, it does not reach the "H" level until just before the cylinder loft 1 reaches the backward end stroke position, so even during this time, the home position signal sent by the AND gate 22 does not reach the rHJ level, and the pulse Data in the counter 9 is not rewritten. After the output signal f sent out by the comparator 111 reaches the rHJ level, the noise superimposed on the origin signal is at the "H" level origin. ! (The output signal f1 sent from the comparator 111 is manually input to the pulse counter 9 as No. 8, but the output signal f1 sent from the comparator 111 is rHJ
Since the stroke from when the cylinder loft 1 reaches the level until it stops is very small, there is no actual damage. Furthermore, after the output signal f of the comparator 111 reaches the "H" level, noise that occurs before the generation of the "H" level origin signal, such as noise Zs, will be affected by the rHJ level origin signal. When the signal is input, the pulse counter 9
Data C is set to , and eventually its influence on noise disappears. Also, like the noise shown in z6,
For noise that occurs later than the origin signal at the "H" level, noise 2. Since the data C is entered into the pulse counter 9 at the time when the data C is input, the detected stroke position will be slightly larger than the actual stroke.

つまり、原点センサ5による原点信号の発信位置を後退
側エンドストローク位置にできるだけ近づけたほうがよ
く、このようにすることによって実害が少なくなり、信
頼性が向上する。
In other words, it is better to bring the origin signal originating position from the origin sensor 5 as close as possible to the backward end stroke position, thereby reducing actual damage and improving reliability.

尚、本実施例においては、シリンダロッド1の油圧遮断
信号をなす出力信号f、をアンドゲート22に入力する
ようにしたが、必ずしもシリンダロフト1の油圧遮断信
号でなくともよく、シリンダロッド1の後退側エンドス
トローク位置への到達直前に送出される信号であれば他
の信号であっても構わない。すなわち、この後退側エン
ドストローク位置に到達する直前に送出される直前信号
は、できるだけ後退側エンドストローク位置に近い位置
で得られることが望ましく、直前信号の発生位置と後退
側エンドストローク位置との間隔を狭めることにより、
原点信号すに重畳されるノイズの影響をより少なくする
ことができ、より信頼性の高いシリンダロフトの移動位
置検出が可能となる。
In this embodiment, the output signal f, which is a hydraulic cutoff signal for the cylinder rod 1, is input to the AND gate 22, but it does not necessarily have to be a hydraulic cutoff signal for the cylinder loft 1; Any other signal may be used as long as it is sent immediately before reaching the backward end stroke position. In other words, it is desirable that the immediately preceding signal that is sent out immediately before reaching the backward end stroke position is obtained at a position as close to the backward end stroke position as possible, and the interval between the generating position of the immediately preceding signal and the backward end stroke position is By narrowing the
The influence of noise superimposed on the origin signal can be further reduced, making it possible to detect the moving position of the cylinder loft with higher reliability.

また、第3図に示すように構成すれば、第2図(g)に
示したノイズz6のような原点信号発生後に生ずるノイ
ズの影響を、シリンダロッド1の次回の前進移動時にキ
ャンセルすることができる。すなわち、第3図において
、21aは信号弁別器であり、入力されるスケール信号
aのダウンパルスを判別しrHJレベルの出力信号gを
送出すると共に、アップパルスを判別しrHJレベルの
出力信号g1を送出するようになっている。また、20
1はデータ判別器であり、第1図におけるパルスカウン
タ9の送出するデータ信号dを人力とし、且つ次回のシ
リンダロフトの後退側エンドストローク位置からの前進
側エンドストローク位置へのスタート直前に判定信号y
が入力されるようになっている。即ち、データ判別器2
01は判定信号yの入力により、入力されるデータ信号
dの値が零であるか否かを判別記憶し、零でないという
判定がなされた場合、rHJレベルの出力信号jをアン
ドゲート203の一端に送出するようになっており、ア
ンドゲート203の他端にはシリンダロフトの前進動作
を促すrHJレベルの前進側指令Xが入力されるように
なっている。このrHJレベルの前進側指令Xにより、
シリンダロフトが後退側エンドストローク位置から前進
側エンドストローク位置へ向かって前進し始めることは
言うまでもない。そして、アンドゲート203の送出す
るrHJレベルの論理出力kが切替信号としてスイッチ
回路202に入力され、スイッチ回路202はこのrH
Jレベルの切替信号kにより、アンドゲート22への出
力信号gの入力を出力信号g、側に切り替えるようにな
っている。
Furthermore, with the configuration shown in FIG. 3, the influence of noise that occurs after the origin signal is generated, such as the noise z6 shown in FIG. 2(g), can be canceled during the next forward movement of the cylinder rod 1. can. That is, in FIG. 3, 21a is a signal discriminator that discriminates down pulses of the input scale signal a and sends out an rHJ level output signal g, and also discriminates up pulses and outputs an rHJ level output signal g1. It is set to be sent. Also, 20
Reference numeral 1 denotes a data discriminator, which uses the data signal d sent out by the pulse counter 9 in FIG. y
is now entered. That is, data discriminator 2
01 determines and stores whether or not the value of the input data signal d is zero based on the input of the determination signal y, and when it is determined that the value is not zero, outputs the rHJ level output signal j to one end of the AND gate 203. The other end of the AND gate 203 receives an rHJ-level forward command X that urges the cylinder loft to move forward. With this rHJ level forward command X,
It goes without saying that the cylinder loft begins to advance from the backward end stroke position to the forward end stroke position. Then, the rHJ level logic output k sent out by the AND gate 203 is input to the switch circuit 202 as a switching signal, and the switch circuit 202
The J-level switching signal k switches the input of the output signal g to the AND gate 22 to the output signal g.

このようなプロ7り回路構成とすることにより、後退側
エンドストローク位置において、パルスカウンタ9にお
けるカウントデータが零であるか否かが判断され、零で
ない場合には例外として、次の前進側エンドストローク
位置へのシリンダロフトの移動時にもrHJレベルの原
点信号すがアンドゲート22を通過し、原点位置信号り
としてパルスカウンタ9に入力され、パルスカウンタ9
におけるカウントデータが正常値(データC)に書き替
えられる。尚、データ判別器201およびスイッチ回路
202には、アンドゲート22の送出する原点位置信号
りがリセフト信号として入力されるようになっており、
その出力信号jおよび切替信号kがリセフトされるよう
になっている。
With such a circuit configuration, it is determined whether the count data in the pulse counter 9 is zero at the backward end stroke position, and if it is not zero, the next forward end stroke position is determined as an exception. When the cylinder loft is moved to the stroke position, the rHJ level origin signal passes through the AND gate 22 and is input to the pulse counter 9 as the origin position signal.
The count data at is rewritten to a normal value (data C). The data discriminator 201 and the switch circuit 202 are configured so that the origin position signal sent from the AND gate 22 is input as a reset signal.
The output signal j and switching signal k are reset.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明による原点信号判定方法によ
ると、往復運動を行う移動体の前進側から後退側へのス
トロークエンドに達する前に直前信号を送出する直前信
号送出手段と、この直前信号送出手段における直前信号
の送出後移動体がそのストロークエンドに達するまでの
間に原点信号を送出する原点信号送出手段とを備え、直
前信号送出手段において直前信号が送出された後発生す
る前記原点信号に相当するレベルの信号を原点信号と判
定するようにしたので、移動体がその前進側から後退側
へのストロークエンドに達する直前までは、原点信号に
相当するレベルのノイズ信号が発生したとしてもその信
号を誤って原点信号と判定することがなく、原点信号に
重畳されるノイズの影響を大幅に抑制することができる
As explained above, according to the origin signal determination method according to the present invention, there is provided a last-minute signal sending means for sending a last-minute signal before a moving body that performs reciprocating motion reaches the stroke end from the forward side to the backward side; an origin signal transmitting means for transmitting an origin signal after the immediately preceding signal is transmitted in the means and before the moving body reaches its stroke end; Since a signal at a level equivalent to the origin signal is determined to be the origin signal, even if a noise signal at a level equivalent to the origin signal occurs, it is ignored until the moving object reaches the end of its stroke from the forward side to the backward side. A signal is not erroneously determined to be an origin signal, and the influence of noise superimposed on the origin signal can be significantly suppressed.

【図面の簡単な説明】 第1図は本発明に係る原点信号判定方法を適用したシリ
ンダロフトの移動位置検出装置の一実施例を示すブロッ
ク構成図、第2図はこの移動位置検出装置の動作を説明
する各部の信号波形図、第3図はこの移動位置検出装置
の他の実施例を示すブロック構成図、第4図は従来の移
動位置検出装置を示すブロック構成図である。 1・・・シリンダロフト、4・・・原点マグネット、5
・・・原点センサ、6・・・磁気スケール、7・・・ス
ケールセンサ、8・・・原点データ設定器、9・・・バ
ルスカヴンタ、101〜1ON・・・比較データ設定器
、111−11N・・・比較器、21・・・信号弁別器
、22・・・アンドゲート。
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block diagram showing an embodiment of a cylinder loft movement position detection device to which the origin signal determination method according to the present invention is applied, and FIG. 2 is an operation of this movement position detection device. FIG. 3 is a block diagram showing another embodiment of this moving position detecting device, and FIG. 4 is a block diagram showing a conventional moving position detecting device. 1...Cylinder loft, 4...Origin magnet, 5
... Origin sensor, 6... Magnetic scale, 7... Scale sensor, 8... Origin data setter, 9... Valscaventa, 101-1ON... Comparison data setter, 111-11N. ... Comparator, 21... Signal discriminator, 22... AND gate.

Claims (1)

【特許請求の範囲】[Claims] 往復運動を行う移動体の前進側から後退側へのストロー
クエンドに達する直前に直前信号を送出する直前信号送
出手段と、この直前信号送出手段における直前信号の送
出後前記移動体がそのストロークエンドに達するまでの
間に原点信号を送出する原点信号送出手段とを備え、前
記直前信号送出手段において直前信号が送出された後発
生する前記原点信号に相当するレベルの信号を原点信号
と判定するようにしたことを特徴とする原点信号判定方
法。
Immediately before a moving body that performs reciprocating motion reaches a stroke end from a forward side to a backward side, an immediately preceding signal sending means sends an immediately preceding signal; and after the immediately preceding signal sending means sends an immediately preceding signal, the moving object reaches its stroke end. and an origin signal sending means for sending out an origin signal until the origin signal is reached, and a signal of a level corresponding to the origin signal generated after the immediately preceding signal is sent by the immediately preceding signal sending means is determined to be the origin signal. An origin signal determination method characterized by the following.
JP25689686A 1986-10-30 1986-10-30 Deciding method for origin signal Granted JPS63111409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25689686A JPS63111409A (en) 1986-10-30 1986-10-30 Deciding method for origin signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25689686A JPS63111409A (en) 1986-10-30 1986-10-30 Deciding method for origin signal

Publications (2)

Publication Number Publication Date
JPS63111409A true JPS63111409A (en) 1988-05-16
JPH0535964B2 JPH0535964B2 (en) 1993-05-27

Family

ID=17298903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25689686A Granted JPS63111409A (en) 1986-10-30 1986-10-30 Deciding method for origin signal

Country Status (1)

Country Link
JP (1) JPS63111409A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003315100A (en) * 2002-04-24 2003-11-06 Okuma Corp Rotation point detector
WO2014049751A1 (en) * 2012-09-26 2014-04-03 株式会社小松製作所 Cylinder position measurememt device and cylinder position measurement method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5698725A (en) * 1979-08-09 1981-08-08 Mitsubishi Electric Corp Strip end detector
JPS59161709A (en) * 1983-03-07 1984-09-12 Hitachi Ltd Position controlling method of motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5698725A (en) * 1979-08-09 1981-08-08 Mitsubishi Electric Corp Strip end detector
JPS59161709A (en) * 1983-03-07 1984-09-12 Hitachi Ltd Position controlling method of motor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003315100A (en) * 2002-04-24 2003-11-06 Okuma Corp Rotation point detector
WO2014049751A1 (en) * 2012-09-26 2014-04-03 株式会社小松製作所 Cylinder position measurememt device and cylinder position measurement method
JP5479612B1 (en) * 2012-09-26 2014-04-23 株式会社小松製作所 Cylinder position measuring device and cylinder position measuring method
US9217448B2 (en) 2012-09-26 2015-12-22 Komatsu Ltd. Cylinder position measuring device and cylinder position measuring method

Also Published As

Publication number Publication date
JPH0535964B2 (en) 1993-05-27

Similar Documents

Publication Publication Date Title
KR20160071479A (en) Motor control device
JP2008533457A (en) A two-channel method for always obtaining at least one output signal from a varying input signal
JPH0233162B2 (en)
JPS63111409A (en) Deciding method for origin signal
JP2016010147A (en) Device and method for generating with trigger signal by position measuring unit and position measuring unit for the same
US20120249028A1 (en) Method and Monitoring Unit for Checking Position Values
US6704684B2 (en) Method for determining measuring points on a workpiece and a measuring system therefor
TWI621002B (en) Servo control diagnosis system
US6236325B1 (en) Position detector with irregularity detectable function and cable for use in the same
JP4175226B2 (en) Encoder communication error detection device
JP3042385B2 (en) Failure detection method and detection device for AC servomotor position detection circuit
JPH0895621A (en) Original point control method for mobile part and device therefor
KR101808421B1 (en) Pulse gernerator
CN104296787A (en) Motor position detection sensing device on sewing machine
JPS63243703A (en) Count-check type detector for angle of rotation
WO2019208758A1 (en) Motor drive device and conveying system
JP3330426B2 (en) Method for detecting one rotation signal of encoder and encoder
JP2000029545A (en) Direct-current voltage power pack
KR890003637B1 (en) Errormovement-prevention of nc
JP2006500691A (en) Method for operating a position measuring device and a position measuring device suitable for this
JP3007457B2 (en) Switch circuit
KR20220091252A (en) Current control device
JP3531797B2 (en) Encoder receiving circuit
WO2023223073A1 (en) System and method for detecting the position of a car door of an elevator
KR20230115025A (en) System and Method for Detecting Error Signal of Magnetic Encoder with built in Hall Sensor