JPH02107919A - Encoder phase missing detector - Google Patents

Encoder phase missing detector

Info

Publication number
JPH02107919A
JPH02107919A JP26101188A JP26101188A JPH02107919A JP H02107919 A JPH02107919 A JP H02107919A JP 26101188 A JP26101188 A JP 26101188A JP 26101188 A JP26101188 A JP 26101188A JP H02107919 A JPH02107919 A JP H02107919A
Authority
JP
Japan
Prior art keywords
signal
circuit
output signal
encoder
output
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.)
Pending
Application number
JP26101188A
Other languages
Japanese (ja)
Inventor
Masaki Senda
正樹 仙田
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.)
Yamazaki Mazak Corp
Original Assignee
Yamazaki Mazak Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamazaki Mazak Corp filed Critical Yamazaki Mazak Corp
Priority to JP26101188A priority Critical patent/JPH02107919A/en
Publication of JPH02107919A publication Critical patent/JPH02107919A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To enable discrimination and detection of a phase missing by judging forward and backward ways of position and speed detection signals to compare and judge the signals with a sample signal with addition and subtraction thereof. CONSTITUTION:By a command of a center controller 2, a servo motor 3 turns a feed shaft 4 in a desired direction to move a tool head 1 to a specified position. Then, a position encoder 5 and a speed encoder 6 output a signal pulse and a position decoder 10 and a speed decoder 8 at the next stage judges whether the movement of the head 1 is forward F or backward A. Then, an output pulse of the decoder 8 is inputted to an addition/subtraction circuit 9 to be counted each in a forward way or backward way and a pulse signal of the position decoder 10 is inputted to an OR circuit 11, which outputs the signal to a resetting circuit 12 to reset a signal pulse being counted with the circuit 9. Here, a comparative judgement circuit 13 compares an integral value of the circuit 9 with a sample integral value to distinguish an output attributed to a phase missing from a signal output being interrupted for a fixed time as caused by a backlash, thereby allowing the device 2 to continue or stop the movement of the head 1.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マシニングセンタなどNC工作機械のツール
ヘッド、あるいはワークテーブルの位置決めのためのサ
ーボ駆動機構の制御システムに使用されるエンコーダに
関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an encoder used in a control system for a servo drive mechanism for positioning a tool head of an NC machine tool such as a machining center or a work table. .

(従来の技術) 従来技術によれば、信号検出部、信号増幅部、波形整形
部、並びに出力部からなる上記エンコーダは、上記マシ
ニングセンタなどNC工作機械の工具保持手段、あるい
はワーク保持手段の位置決めのための移動、および移動
速度に関する検出信号を出力する。この検出信号は、前
記工具保持手段、あるいはワーク保持手段の移動方向を
検出するため、一般的に2種類の、A信号と該A信号と
所定の位相差をもたせたB信号とからなる。前記2種類
のA、B信号は、外部雑音の影響を避けるなめ、それぞ
れライントライバによって、AとX、及びBと百とから
なるバイナリイ信号に形成され、それぞれ入力部、信号
同期部、並びに方向判別部からなる移動方向判別手段に
入力され、それぞれ移動方向を判別され、順方向信号、
あるいは逆方向信号として下流側の制御手段へ出力され
る。そして、この段階において、前記バイナリイ信号を
前記移動方向判別手段に入力する際、並行して設けられ
た1組のEX−OR回路へ夫々の反転信号を入力(Aと
Xとを一方のEX−OR回路に入力、Bと百とを他方の
EX−OR回路に入力)し、その出力にょって欠相の有
無を検知していた。つまり、本来、異相である出力が同
相となったとき欠相と判断する。あるいは、クローズト
ループ方式の位置決め制御では、位置誤差レジスタに入
力される移動指令信号と、位置エンコーダからデコーダ
回路を介して位置誤差レジスタに入力される位置移動信
号との差が所定値(例えば10〜20%)に到達すると
欠相が発生したものと判断していた。または、前記ライ
ントライバからの出力信号を前述したEX−OR回路抵
を設ける代わりに抵抗分割等の方法により、信号伝達線
が断線した様な場合に信号が0ボルト(常時、+5ある
いは一5ボルトのどちらかである)となる回路を組み込
み、各相毎に0ボルトを検出するセンサを設け、0ボル
トを検出した場合、断線による欠相が発生したと判断し
ていた。
(Prior art) According to the prior art, the encoder, which includes a signal detection section, a signal amplification section, a waveform shaping section, and an output section, is used for positioning tool holding means or workpiece holding means of an NC machine tool such as the machining center. outputs detection signals related to movement and movement speed. In order to detect the moving direction of the tool holding means or workpiece holding means, this detection signal generally consists of two types of signals: an A signal and a B signal having a predetermined phase difference from the A signal. The two types of A and B signals are formed by line drivers into binary signals consisting of A and A forward direction signal
Alternatively, it is output as a reverse direction signal to downstream control means. At this stage, when inputting the binary A signal to the moving direction determining means, each inverted signal is input to a set of EX-OR circuits provided in parallel (A and X are input to one EX-OR circuit). (B and 100 are input to the other EX-OR circuit), and the presence or absence of an open phase is detected based on the output. In other words, when outputs that are originally out of phase become in phase, it is determined that there is an open phase. Alternatively, in closed-loop positioning control, the difference between the movement command signal input to the position error register and the position movement signal input from the position encoder to the position error register via the decoder circuit is a predetermined value (for example, 10 to 20%), it was determined that an open phase had occurred. Alternatively, instead of providing the above-mentioned EX-OR circuit resistor for the output signal from the line driver, a method such as resistor division may be used to reduce the signal to 0 volts (always +5 or -5 A sensor was installed for each phase to detect 0 volts, and when 0 volts was detected, it was determined that an open phase due to wire breakage had occurred.

(発明が解決しようとする課題) 上記従来技術のうち前者においては、 各相毎に上記ライントライバを設置せねばならず、その
結果、 出力信号の下流への信号導線の芯数を2倍とせねばなら
ず、しかも方向が判別された信号を出方するまでに多く
の信号処理回路を必要とした。
(Problem to be Solved by the Invention) In the former of the above conventional techniques, the line driver must be installed for each phase, and as a result, the number of cores of the signal conductor downstream of the output signal is doubled. Moreover, many signal processing circuits were required before outputting the signal whose direction was determined.

一方、前記ライントライバがらの出力信号には一般的に
相当量のノイズが含まれており、前記検出手段が正常で
あっても前記ノイズによって上記EX−OR回路が同相
成分を検知して頻繁に断線状態として検出作動してしま
うということがあった。
On the other hand, the output signal from the line driver generally contains a considerable amount of noise, and even if the detection means is normal, the noise causes the EX-OR circuit to detect the in-phase component, causing the EX-OR circuit to frequently detect the in-phase component. In some cases, the detection was activated as a disconnection condition.

該偽断線に対応するため、一般的に、 前記EX−OR回路の入力側に容量、誘導、並びに抵抗
で形成されるフィルタ回路を挿入設置しているが、該フ
ィルタ回路は必然的に進相、あるいは遅相回路を形成す
るため、あらゆる周波数のノイズに対応できる性能とす
ることが難しく、また、素子間のバラツキもあって位相
ずれが生じ易く同相となって、断線として検知してしま
うことがあった。故に補足的に出力側の時定数を大きく
するべく抵抗、および容量を挿入しているが、満足でき
るものとはなっていない。いずれにしても断線という特
定の文相しか検出できなかっな。
In order to deal with this false disconnection, a filter circuit formed of capacitance, induction, and resistance is generally inserted and installed on the input side of the EX-OR circuit, but this filter circuit inevitably has a phase advance. , or to form a slow-phase circuit, it is difficult to achieve performance that can handle noise at all frequencies, and due to variations between elements, phase shifts are likely to occur, resulting in the in-phase being detected as a disconnection. was there. Therefore, a resistor and a capacitor are inserted to supplementally increase the time constant on the output side, but this is not satisfactory. In any case, I was only able to detect a specific pattern of disconnection.

また後者においては、 移動指令中に欠相が発生し、しがち残り移動量が上記位
置誤差レジスタをオーバーフローさせることが可能な場
合、又は、 前記位置誤差レジスタが10乃至20%(機械系の最大
遅れ時の位置誤差レジスタの量)になっているときに、
前記検出手段からの順方向、あるいは逆方向の出力信号
が全く0の場合、にのみ、欠相検出が可能で、他の場合
(例えば停止中)には欠相検出をしない、また、 残り移動量が少量な場合は誤差過大とならず、欠相検出
は不可能である。一方、前記位置誤差レジスタが何%量
で欠相と判断させるかの決定条件を一律に設定するのは
甚だ困難であり、しかも前記検出手段の出力利得を変化
させる場合は、欠相と判断させる前記位置誤差レジスタ
の%量も必然的に設定変えせねばならず、使用条件に種
々の制約を受ける。
In the latter case, if an open phase occurs during a movement command and the remaining movement amount can overflow the position error register, or if the position error register is 10 to 20% (the maximum of the mechanical system). (amount of position error register at the time of delay),
Open phase detection is possible only when the forward or reverse output signal from the detection means is completely 0, and in other cases (for example, when stopped), open phase detection is not performed. If the amount is small, the error will not be excessive and open phase detection will not be possible. On the other hand, it is extremely difficult to uniformly set the conditions for determining the percentage by which the position error register determines that a phase is missing.Moreover, when the output gain of the detection means is changed, it is determined that a phase is missing. The percentage value of the position error register must also be changed, and is subject to various restrictions depending on usage conditions.

更に、その他断線の場合に前記検出手段の出力が0ボル
トとなるような回路を組み込み、各相毎に無電圧センサ
を設けても、本質的には断線による欠相しか検出できず
、高価であるにも拘らず実用的でない。
Furthermore, even if a circuit is incorporated so that the output of the detection means becomes 0 volts in the event of a wire breakage, and a voltageless sensor is provided for each phase, essentially only phase loss due to wire breakage can be detected, which is expensive. Although it exists, it is not practical.

そして、上記の如く、工具、あるいはワーク保持手段の
位置、あるいは速度を適確に検出し得ないまま、暴走等
の突発事故からオペレータ、および機械の安全性を確保
するために、制御系に冗長性を持たせる等の手段によっ
て工具、あるいはワーク保持手段の位置決め制御を行っ
ているため、その工作機械が有する性能の上限まで有効
に機能を発揮させることができなかった。
As mentioned above, the control system is redundant in order to ensure the safety of the operator and the machine from sudden accidents such as runaway without being able to accurately detect the position or speed of the tool or workpiece holding means. Since the positioning of the tool or workpiece holding means is controlled by means such as imparting properties, it has not been possible to make the machine tool function effectively to the upper limit of its performance.

そこで本発明は、従来技術の一つから、前記NC工作機
械の工具保持手段、あるいはワーク保持手段の位置決め
のための位置移動、および駆動速度に関する検出信号か
ら、 バイナリイ信号に変換することなく、従って、ライント
ライバを設けることもなく、そして、信号導線の芯数も
増加せず、また、 EX−OR回路による信号処理を不要とし、よって該E
X−OR回路に係わるフィルタ回路、及び時定数回路も
付加せず、 ノイズから受ける悪影響を排除し、且つ応答性を損なう
ことなくハード回路の省略を図り、また、他の従来技術
から、 位置誤差レジスタを設置することなく、従って、該レジ
スタに登録された誤差量の%値の大小によって欠相と判
断する様な決定条件の曖昧性を排除し、且つ、 前記工具保持手段、あるいはワーク保持手段が位置決め
されて停止しているときにおいても、欠相検出可能とし
、 更に、その他、断線の検出のみを可能とした従来の技術
回路を廃止し、 機械系に存在する一定のバックラッシュによって一定時
間途絶える信号出方と欠相によるものとを明確に区分し
、 適確に、断線を含む欠相を検出するエンコーダ欠相検出
装置を提供し安全に当該工作機械が有する性能を限度ま
で発揮できるようにすることを解決すべき課題とするも
のである。
Therefore, from one of the prior art techniques, the present invention detects a detection signal related to positional movement and drive speed for positioning of the tool holding means or workpiece holding means of the NC machine tool without converting it into a binary signal. , there is no need to provide a line driver, there is no increase in the number of signal conductor cores, and there is no need for signal processing by an EX-OR circuit.
The filter circuit and time constant circuit related to the X-OR circuit are not added, eliminating the adverse effects of noise and eliminating hardware circuits without impairing responsiveness. Also, compared to other conventional technologies, position error can be reduced. Without installing a register, it eliminates the ambiguity of the decision condition such as determining an open phase based on the magnitude of the error amount % value registered in the register, and the tool holding means or workpiece holding means It is now possible to detect phase loss even when the wire has been positioned and stopped.Furthermore, we have abolished the conventional technology circuit that was only capable of detecting wire breakage. We provide an encoder phase loss detection device that clearly distinguishes between signal output that is interrupted and phase loss, and accurately detects phase loss, including disconnection, so that the performance of the machine tool can be safely maximized. The problem to be solved is to

(課題を解決するなめ手段) 上記課題解決のための技術的手段は、第1図に基本的な
構成を示す様に、当該エンコーダ欠相検出装置(PDC
)を、 サーボ駆動手段(S)により位置決めされる移動体(H
)の移動距離に応じた信号を出力する位置検出手段(P
)と、該位置検出手段(P)と別体に設けられ前記サー
ボ駆動手段(S)の駆動速度に応じた信号を出力する速
度検出手段(V)とを具備する前記移動体()I)の閉
ループ位置制御サーボシステム(CLS)において、 前記両検出手段(P、およびV)からの出力信号の各々
を順方向出力信号、あるいは逆方向出力信号に夫々判別
する方向判別手段(DC)と、前記一方の検出手段(P
、あるいはV)から前記方向判別手段(DC)を介して
出力される順方向出力信号、あるいは逆方向出力信号を
、夫々加算、あるいは減算処理する加減演算手段(AD
)と、 前記他の一方の検出手段(V、あるいはP)から前記方
向判別手段(DC)を介して出力される順方向出力信号
と逆方向出方信号とを論理和演算処理する論理和演算手
段(OR)と、 該論理和演算手段(OR)からの出方信号により前記加
減演算手段(AD)をリセットするリセット手段(R)
と、 前記加減演算手段(AD)の出力信号を予め設定された
模範信号と比較判断する比較判断手段(D)と、 該比較判断手段(D>による比較判断の結果、前記他の
一方の検出手段からの出力信号が欠相していることを検
知する欠相検知手段(DD)と、を具備した構成とする
ことにある。
(Means for solving the problem) The technical means for solving the above problem is as shown in the basic configuration of the encoder open phase detection device (PDC).
), a moving body (H) positioned by a servo drive means (S)
) position detection means (P
), and a speed detecting means (V) which is provided separately from the position detecting means (P) and outputs a signal according to the driving speed of the servo driving means (S). in a closed loop position control servo system (CLS), comprising: direction determining means (DC) for determining each of the output signals from the two detecting means (P and V) into a forward direction output signal or a reverse direction output signal; The one detection means (P
, or V) via the direction determining means (DC), adding or subtracting the forward direction output signal or the backward direction output signal, respectively.
), and a logical sum operation for performing a logical sum operation on the forward direction output signal and the backward direction output signal outputted from the other one of the detection means (V or P) via the direction determining means (DC). means (OR); and reset means (R) for resetting the addition/subtraction operation means (AD) by the output signal from the logical sum operation means (OR).
and a comparison judgment means (D) for comparing and judging the output signal of the addition/subtraction calculation means (AD) with a preset model signal; and as a result of the comparison judgment by the comparison judgment means (D>, the other one is detected. The object of the present invention is to provide a configuration including phase loss detection means (DD) for detecting phase loss in the output signal from the means.

(作用) 上記構成によるエンコーダ欠相検出装置(PDC)によ
れば、サーボ駆動手段(S>は、位置決めされる移動体
(H)を機械的手段(SH)によって移動させる。
(Function) According to the encoder phase loss detection device (PDC) having the above configuration, the servo drive means (S> moves the movable body (H) to be positioned by the mechanical means (SH).

先ず、位置検出手段(P)の欠相を検出する場合の作用
を述べる。
First, the operation when detecting an open phase of the position detection means (P) will be described.

位置検出手段(P)は、移動体(H)と機械的手段(S
HP)によって結合されており、移動体(H)の動きを
入力され、移動距離に応じた、且つ、所定角度の位相差
を有する複数相の信号として出力し、方向判別手段(D
C)へ入力する。
The position detection means (P) detects the moving body (H) and the mechanical means (S).
HP), which receives the movement of the moving body (H) and outputs it as a multi-phase signal that corresponds to the moving distance and has a phase difference of a predetermined angle.
Input to C).

速度検出手段(V)は、移動体(H)と機械的手段(S
HV)によって結合されていて、駆動され、移動体(I
()の動きを入力され、動く速度に応じた、且つ、所定
角度の位相差を有する複数相の信号を出力し、方向判別
手段(DC)へ入力する。
The speed detection means (V) detects the moving body (H) and the mechanical means (S
HV), driven by a moving body (I
(), outputs a multi-phase signal corresponding to the moving speed and having a phase difference of a predetermined angle, and inputs the signal to the direction determining means (DC).

方向判別手段(DC)は、入力された夫々の信号の相回
転方向を検知して、移動体()I)の動きが順方向であ
るか、あるいは逆方向であるか、を判別して、順方向出
力信号(FS)、あるいは逆方向出力信号(AS)とし
て出力し、夫々、加減演算手段(AD)、及び論理和演
算手段(OR)へ入力する。
The direction determining means (DC) detects the phase rotation direction of each input signal, determines whether the movement of the moving object (I) is in the forward direction or in the reverse direction, It is output as a forward direction output signal (FS) or a reverse direction output signal (AS) and inputted to addition/subtraction operation means (AD) and logical sum operation means (OR), respectively.

加減演算手段(AD)は、速度検出手段(V)から方向
判別手段(DC)を経由して入力された順方向出力信号
(FS)、あるいは逆方向出力信号(AS)を夫々加算
、あるいは減算する。
The addition/subtraction calculation means (AD) adds or subtracts the forward direction output signal (FS) or reverse direction output signal (AS) inputted from the speed detection means (V) via the direction determination means (DC), respectively. do.

論理和演算手段(OR)は、位置検出手段(P)から方
向判別手段(DC)を経由して入力されな順方向出力信
号(FS)、および逆方向出力信号(AS)をOR演算
処理し、その出力を論理和信号(OR3)としてリセッ
ト手段(R)へ入力する。
The logical sum operation means (OR) performs an OR operation on the forward direction output signal (FS) and the reverse direction output signal (AS) which are inputted from the position detection means (P) via the direction determination means (DC). , the output thereof is input to the reset means (R) as a logical sum signal (OR3).

リセット手段(R)は前記論理和信号(OR3)が入力
されると、リセット信号(R3)を出力して、加減演算
手段(AD)を時々刻々リセット操作する。
When the reset means (R) receives the logical sum signal (OR3), it outputs a reset signal (R3) and resets the addition/subtraction operation means (AD) from time to time.

前記リセット操作がなされない間に、加減演算手段(A
D)により加算、あるいは減算処理された順方向出力信
号(FS)、あるいは逆方向出力信号(AS)は積算さ
れ、その積算値(φ)を比較判断手段(D)へ出力する
While the reset operation is not performed, the addition/subtraction calculation means (A
The forward direction output signal (FS) or reverse direction output signal (AS) subjected to the addition or subtraction processing in step D) is integrated, and the integrated value (φ) is outputted to the comparison/judgment means (D).

比較判断手段(D)は、入力された前記積算値(φ)を
模範信号設定手段(T)によって、予め設定された模範
積算値(p>に対して、φがφ≧−p あるいは  φ
≦−p  または、φ≦+p あるいは  φ≧+p 
 であるか、どうかを比較判断する。
The comparison/judgment means (D) uses the input integrated value (φ) by the model signal setting means (T) to determine whether φ is φ≧−p or φ with respect to a preset model integrated value (p>).
≦−p or φ≦+p or φ≧+p
Compare and judge whether it is or not.

φ≧−p そして φ≦+p  であれば、通常のバッ
クラッシュを含む°“正常°′状態であるとして欠相検
知せず、プログラム続行信号(OK)をサーボ駆動手段
(S)へ出力しプログラムを続行させ、 φ≦−(p+1)  あるいは、φ≧+(p+1)であ
れば、゛異常゛、即ち欠相検知し、欠相、断線、あるい
はその他の不具合が発生した状態であるとして(NO)
信号をサーボ駆動手段(S)へ出力する。
If φ≧−p and φ≦+p, it is assumed that the state is normal and includes normal backlash, and the phase loss is not detected, and a program continuation signal (OK) is output to the servo drive means (S) to continue the program. If φ≦−(p+1) or φ≧+(p+1), an “abnormality” is detected, that is, an open phase is detected, and an open phase, disconnection, or other malfunction occurs (NO). )
A signal is output to the servo drive means (S).

サーボ駆動手段(S)は、該(NO)信号を入力され予
め設定されているプログラムに従って移動体(H)に対
して減速、イールド(周囲条件をチエツクしながら徐々
にプログラムを進める)、中断、あるいは停止等の措置
をとらせる。
The servo drive means (S) receives the (NO) signal and instructs the moving body (H) to decelerate, yield (gradually advance the program while checking the surrounding conditions), interrupt, and so on according to a preset program. Or have them take measures such as suspension.

欠相検知手段(DD)は前記比較判断の結果、前記位置
検出手段(P)と速度検出手段(V)とにおいて、この
場合、前記位置検出手段(P)からの出力信号が欠相し
ていることを検知する。
As a result of the comparative judgment, the phase loss detection means (DD) detects that the output signal from the position detection means (P) is out of phase in the position detection means (P) and the speed detection means (V). detect that there is a

次に、速度検出手段(V)の欠相を検出する場合の作用
を第2図を参照して述べる。
Next, the operation of the speed detecting means (V) in detecting phase loss will be described with reference to FIG.

速度検出手段(V)は、移動体(H)と機械的手段(S
HV)によって結合されていて駆動され、移動体(H)
の動きを入力され、動く速度に応じな、且つ、所定角度
の位相差を有する複数相の信号を出力し、方向判別手段
(DC)へ入力する。
The speed detection means (V) detects the moving body (H) and the mechanical means (S
HV) is coupled and driven by a moving body (H)
, and outputs a multi-phase signal corresponding to the moving speed and having a phase difference of a predetermined angle, and inputs the signal to the direction determining means (DC).

位置検出手段(P)は、移動体(H)と機械的手段(S
HP)によって結合されており、移動体(H)の動きを
入力され、移動距離に応じた、且つ、所定角度の位相差
を有する複数相の信号として出力し、方向判別手段(D
C)へ入力する。
The position detection means (P) detects the moving body (H) and the mechanical means (S).
HP), which receives the movement of the moving body (H) and outputs it as a multi-phase signal that corresponds to the moving distance and has a phase difference of a predetermined angle.
Input to C).

方向判別手段(DC)は、入力された夫々の信号の相回
転方向を検知して、移動体(H)の動きが順方向である
か、あるいは逆方向であるか、を判別して、順方向出力
信号(FS) 、あるいは逆方向出力信号(AS)とし
て出力し、夫々、加減演算手段(AD)、及び論理和演
算手段(OR)へ入力する。
The direction determining means (DC) detects the phase rotation direction of each input signal, determines whether the movement of the moving object (H) is in the forward direction or in the reverse direction, and determines whether the motion of the moving body (H) is in the forward direction or in the reverse direction. It is output as a direction output signal (FS) or a reverse direction output signal (AS), and is inputted to addition/subtraction calculation means (AD) and logical sum calculation means (OR), respectively.

加減演算手段(AD)は、位置検出手段(P)から方向
判別手段(DC)を経由して入力された順方向出力信号
(FS)、あるいは逆方向出力信号(AS)を夫々加算
、あるいは減算する。
The addition/subtraction calculation means (AD) adds or subtracts the forward direction output signal (FS) or reverse direction output signal (AS) inputted from the position detection means (P) via the direction determination means (DC), respectively. do.

論理和演算手段(OR)は、速度検出手段(V)から方
向判別手段(DC)を経由して入力された順方向出力信
号(FS)、および逆方向出力信号(AS)をOR演算
処理し、その出力を論理和信号(OR3)としてリセッ
ト手段(R)へ入力する。
The logical sum operation means (OR) performs an OR operation on the forward direction output signal (FS) and the reverse direction output signal (AS) inputted from the speed detection means (V) via the direction determination means (DC). , the output thereof is input to the reset means (R) as a logical sum signal (OR3).

リセット手段(R)は前記論理和信号(OR3)が入力
されると、リセット信号(R8)を出力して、加減演算
手段(AD)を時々刻々リセット操作する。該リセット
操作がなされない間に、加減演算手段(AD)により加
算、あるいは減算処理された順方向出力信号(FS)、
あるいは逆方向出力信号(AS)は、夫々積算され積算
値(φ)として出力され比較判断手段(D)に入力され
る。
When the reset means (R) receives the logical sum signal (OR3), it outputs a reset signal (R8) and resets the addition/subtraction operation means (AD) from time to time. A forward direction output signal (FS) subjected to addition or subtraction processing by an addition/subtraction calculation means (AD) while the reset operation is not performed;
Alternatively, the backward direction output signals (AS) are respectively integrated, output as an integrated value (φ), and inputted to the comparison/judgment means (D).

比較判断手段(D)は、入力された前記積算値(φ)を
、模範信号設定手段(T)によって予め設定された模範
積算値(p)と比較判断し、前述の速度検出手段(V)
によって位置検出手段(P)の欠相を検知する場合と同
様に、この場合、例えば、速度検出手段(V)と位置検
出手段(P)との分解能の比率が  a:b  である
とすれば、φが、 −b/ap≦φ≦+b/ap  で
あれば“正常゛′、あるいは通常のバックラッシュによ
るものであるとして、欠相検知せずプログラム続行信号
(OK)をサーボ駆動手段(S)に対して出力しプログ
ラムを続行させ、 φ≦−(b/ap+1>  あるいは、φ≧+(b/a
p+1)  であれば、“′異常°”即ち欠相検知し、
断線あるいは、その他の不具合が発生したと判断して(
No)信号を出力し前述同様、減速、イールド、中断、
あるいは停止等の措置をとらせる。
The comparison/judgment means (D) compares and judges the inputted integrated value (φ) with a model integrated value (p) set in advance by the model signal setting means (T), and determines the speed detection means (V).
In this case, for example, if the resolution ratio of the speed detection means (V) and the position detection means (P) is a:b, as in the case of detecting an open phase of the position detection means (P) by , φ is -b/ap≦φ≦+b/ap, it is considered to be “normal” or due to normal backlash, and the program continuation signal (OK) is sent to the servo drive means (S ) and continue the program, φ≦−(b/ap+1> or φ≧+(b/a
p+1), “'abnormality°”, that is, an open phase is detected,
It is determined that a disconnection or other malfunction has occurred (
No) Outputs the signal and performs deceleration, yield, interruption, etc. as described above.
Or have them take measures such as suspension.

欠相検知手段(DD)は前記比較判断の結果、前記位置
検出手段(P)と速度検出手段(V)とにおいて、この
場合は、前記速度検出手段(V)からの出力信号が欠相
していることを検知する。
As a result of the comparative judgment, the phase loss detection means (DD) detects that the output signal from the speed detection means (V) is out of phase in the position detection means (P) and the speed detection means (V). detects that

(実施例) 次に第3図、及び第4図のブロック機能図によって本発
明によるエンコーダ欠相検出装置の一実施例の構成と作
用を説明する。
(Embodiment) Next, the structure and operation of an embodiment of the encoder open phase detection device according to the present invention will be explained with reference to block functional diagrams shown in FIGS. 3 and 4.

移動体(H)に相当するツールヘッド1は中央制御装N
2によって制御されるサーボ駆動手段によってX、Y、
及びZ軸上を移動し3次元的に位置決め可能であるが、
上記3軸とも全く同様の構成作用によるため以降X軸1
軸のみに限って説明する。
The tool head 1 corresponding to the moving body (H) is connected to the central control unit N.
X, Y, by servo drive means controlled by
It is possible to move on the Z-axis and position three-dimensionally,
Since the above three axes have exactly the same structural effect, hereafter X axis 1
The explanation will be limited to the axis only.

ツールヘッド1は送り軸4に螺合されている。The tool head 1 is screwed onto a feed shaft 4.

送り軸4のの一端には、減速機を介してサーボモータ3
が連結されている。送り軸4、サーボモータ3は、夫々
前述した機械的手段(SH) 、サーボ駆動手段(S)
に相当する。またサーボモータ3の後部には、軸に直結
する形で速度エンコーダ6が取り付けられている。速度
エンコーダ6は前述した速度検出手段(V)に相当する
。送り軸4の他端には、送り軸4の駆動トルク捩じれに
よる入力誤差を排除するように、位置検出手段(P)に
相当する位置エンコーダ5が直結されており、送り軸4
の回転により駆動されるようになっている。こうした位
置エンコーダ5、速度エンコーダ6の他、サーボモータ
3、中央制御装置2等によって周知のクローズトループ
方式サーボ制御系が構成される(図中−点鎖線〉。
A servo motor 3 is connected to one end of the feed shaft 4 via a reducer.
are connected. The feed shaft 4 and the servo motor 3 are the aforementioned mechanical means (SH) and servo drive means (S), respectively.
corresponds to Further, a speed encoder 6 is attached to the rear of the servo motor 3 so as to be directly connected to the shaft. The speed encoder 6 corresponds to the speed detection means (V) described above. A position encoder 5 corresponding to a position detection means (P) is directly connected to the other end of the feed shaft 4 so as to eliminate input errors due to torsion of the drive torque of the feed shaft 4.
It is designed to be driven by the rotation of the In addition to the position encoder 5 and speed encoder 6, the servo motor 3, central control unit 2, etc. constitute a well-known closed loop servo control system (dotted chain line in the figure).

次に、位置エンコーダ5の欠相を検出する欠相検出装置
の第1実施例を第3図によって説明する。
Next, a first embodiment of an open phase detection device for detecting an open phase of the position encoder 5 will be described with reference to FIG.

速度エンコーダ6は方向判別手段(D C)に相当する
速度デコーダ8に接続され、速度デコーダ8は順方向及
び逆方向の信号線FS及びASの2本によって加減演算
手段(AD)に相当する加減算回路9に接続される。
The speed encoder 6 is connected to a speed decoder 8, which corresponds to direction determining means (DC), and the speed decoder 8 performs addition and subtraction, which corresponds to addition and subtraction calculation means (AD), by two signal lines FS and AS for forward and reverse directions. Connected to circuit 9.

位置エンコーダ5は同様に方向判別手段(DC)に相当
する位置デコーダ10に接続され、位置デコーダ10は
順方向、及び逆方向の信号線FS及びΔ旦2本によって
論理和演算手段(OR)に相当するOR回路11に接続
される。
The position encoder 5 is similarly connected to a position decoder 10 corresponding to a direction determining means (DC), and the position decoder 10 is connected to a logical sum operation means (OR) by two forward and reverse signal lines FS and ΔD. It is connected to the corresponding OR circuit 11.

OR回路11はリセット手段(R)に相当するリセット
回路12に接続され、リセット回路12は加減算回路9
に接続される。
The OR circuit 11 is connected to a reset circuit 12 corresponding to reset means (R), and the reset circuit 12 is connected to the addition/subtraction circuit 9.
connected to.

加減算回路9は比較判断手段(D)と欠相検知手段(D
D)とにに相当する比較判断回路13に接続されている
The addition/subtraction circuit 9 has a comparison judgment means (D) and an open phase detection means (D).
D) is connected to a comparison/judgment circuit 13 corresponding to and.

そして模範信号設定手段(T)に相当するバックラッシ
ュ設定ダイヤル14が付属している比較判断回路13か
ら中央制御装置2へ接続されツールヘッド1の緊急停止
を実現する構成となっている。
A backlash setting dial 14 corresponding to a model signal setting means (T) is connected to the central control device 2 from an attached comparison judgment circuit 13 to realize an emergency stop of the tool head 1.

次に速度エンコーダ6の欠相を検出する第2実施例を第
4図によって説明する。
Next, a second embodiment for detecting phase loss in the speed encoder 6 will be described with reference to FIG.

位置エンコーダ5は位置デコーダ10に接続され、位置
デコーダ10は順方向、及び逆方向の信号線FS及びA
52本によって加減演算手段(AD)に相当する加減算
回路9に接続される。
The position encoder 5 is connected to a position decoder 10, which has forward and reverse signal lines FS and A.
The 52 wires are connected to an addition/subtraction circuit 9 corresponding to addition/subtraction calculation means (AD).

速度エンコーダ6は同様に速度デコーダ8に接続され速
度デコーダ8は順方向、及び逆方向の信号線FS及びA
32本によってOR回路11に接続される。そして、こ
れより下流側の回路に関しては、第1実施例と全く同じ
構成であるので説明は省略する。
The speed encoder 6 is similarly connected to a speed decoder 8, which has forward and reverse signal lines FS and A.
It is connected to the OR circuit 11 by 32 wires. The circuits downstream from this have exactly the same configuration as the first embodiment, so their explanation will be omitted.

次に第1実施例の前記構成の作用を述べる。Next, the operation of the configuration of the first embodiment will be described.

中央制御装置2からの指令によってサーボモータ3は送
り軸4を任意の方向へ回転させツールヘッド1を指定位
置まで移動する。
In response to a command from the central controller 2, the servo motor 3 rotates the feed shaft 4 in an arbitrary direction to move the tool head 1 to a specified position.

位置エンコーダ5並びに速度エンコーダ6は、サーボモ
ータ3並びに送り軸4の回転によって回転角度を入力さ
れ、該回転角度に比例した信号パルスを出力する。ここ
で、位置エンコーダ5はツールヘッド1を駆動した下流
側の送り軸4の無負荷部分によって回転入力されるなめ
トルク捩じれに起因する入力誤差は発生しない。そして
両エンコーダ5.6は共に90度の位相差をもった2相
のパルス信号を出力するため前記2相の相回転方向を検
知することにより送り軸4の回転方向、即ちツールヘッ
ド1の移動方向が順方向F←であるか、あるいは逆方向
→Aであるか、を判断できる。
The position encoder 5 and the speed encoder 6 receive a rotation angle from the rotation of the servo motor 3 and the feed shaft 4, and output signal pulses proportional to the rotation angle. Here, the position encoder 5 does not generate an input error due to the rotational torque torsion input by the no-load portion of the feed shaft 4 on the downstream side that drives the tool head 1. Since both encoders 5 and 6 output two-phase pulse signals with a phase difference of 90 degrees, by detecting the phase rotation direction of the two phases, the rotation direction of the feed shaft 4, that is, the movement of the tool head 1. It can be determined whether the direction is forward direction F← or reverse direction→A.

この方向判断は夫々次段の位置デコーダ10、速度デコ
ーダ9によっておこなわれ、方向が決定されると、夫々
別の出力端子から順方向出力信号、あるいは逆方向出力
信号として夫々次段の回路へ出力される。
This direction judgment is performed by the position decoder 10 and speed decoder 9 in the next stage, respectively, and when the direction is determined, they are output from separate output terminals to the respective next stage circuits as a forward direction output signal or a reverse direction output signal. be done.

ツールヘッド1の現在位置は、起点から移動する際、位
置デコーダ10を介して出力される位置エンコーダ5の
パルス数を単純に加減算することにより検出され、また
、ツールヘッド1の移動中の速度は、ツールヘッド1が
移動している間、速度デコーダ8を介して出力される速
度エンコーダ6からの単位時間内のパルス数を単純に計
数することにより検出される。但し本実施例では、速度
エンコーダ6から出力されるパルス数は位置エンコーダ
5のそれに対して説明の為、仮に、5対2の比率をもた
せた場合を想定した。今、第3図で説明すると、その場
合、サーボモータ3から送り軸4への伝達系には、減速
機などによるバックラッシュ量が存在する、このバック
ラッシュ量は速度エンコーダ6で換算すると分解能5パ
ルス分あったと考えると、位置エンコーダ5で換算する
と分解能2パルス分に相当する事になると考えられる。
The current position of the tool head 1 is detected by simply adding or subtracting the number of pulses of the position encoder 5 outputted via the position decoder 10 when moving from the starting point, and the speed of the tool head 1 during movement is , while the tool head 1 is moving, is detected by simply counting the number of pulses from the speed encoder 6 outputted via the speed decoder 8 within a unit time. However, in this embodiment, it is assumed that the number of pulses output from the speed encoder 6 has a ratio of 5:2 to that of the position encoder 5 for the sake of explanation. Now, to explain with reference to FIG. Considering that there are pulses, it is considered that the resolution corresponds to 2 pulses when converted by the position encoder 5.

ツールヘッド1の移動に応じて速度デコーダ8から出力
される信号パルスは、加減算回路9に入力されて、夫々
順方向、あるいは逆方向毎にリアルタイムで計数される
Signal pulses output from the speed decoder 8 in response to the movement of the tool head 1 are input to an addition/subtraction circuit 9 and counted in real time in each forward direction or reverse direction.

一方、同時に位置デコーダ10からもツールヘッド1の
移動に応じて夫々順方向、あるいは逆方向のパルス信号
が出力されOR回路11に入力される。
On the other hand, at the same time, the position decoder 10 also outputs pulse signals in the forward direction or in the reverse direction, respectively, in accordance with the movement of the tool head 1, and input them to the OR circuit 11.

OR回路11は順方向、あるいは逆方向の信号パルスの
極性に拘らず、いずれかの入力がありさえすればオン状
態を形成しているので、そのまま入力信号を出力信号に
変換して出力し、リセット回路12へ入力する。そして
、前記ツールヘッド1の移動に応じて速度デコーダ8か
ら出力され、加減算回路9に入力されて、夫々順方向、
あるいは逆方向毎に計数されつNある信号パルスをリア
ルタイムでリセットさせる。
Regardless of the polarity of the forward or reverse signal pulse, the OR circuit 11 is in an on state as long as there is any input, so it directly converts the input signal into an output signal and outputs it. Input to reset circuit 12. Then, according to the movement of the tool head 1, the speed decoder 8 outputs the output and inputs it into the addition/subtraction circuit 9, respectively.
Alternatively, the N signal pulses counted in each reverse direction are reset in real time.

ここで、もし位置エンコーダ5の出力信号に欠相が生じ
たり、位置エンコーダ5並びに位置デコーダ10の回路
に断線、接触不良など、あるいはメカ的な欠陥が発生し
たりして前記リセット操作が瞬時たりとも中断するなら
ば、加減算回路9にて計数されつSある信号パルスはリ
セットされることなく積算される。この積算値φは次の
比較判断回路13へ送られる。
Here, if an open phase occurs in the output signal of the position encoder 5, a disconnection, poor contact, etc. occurs in the circuits of the position encoder 5 and position decoder 10, or a mechanical defect occurs, the reset operation may be instantaneous. If both are interrupted, the S signal pulses counted by the addition/subtraction circuit 9 are integrated without being reset. This integrated value φ is sent to the next comparison/judgment circuit 13.

比較判断回路13にはバックラッシュ設定ダイヤル14
が設けられてあり、本実施例では機械系に存在するバッ
クラッシュによる“遊び′の範囲において速度エンコー
ダ6から出力される信号パルスは5個であるとして、ダ
イヤル14は、p=s  と設定しである。この設定値
pは、(速度エンコーダの分解能/位置エンコーダの分
解能)十バックラッシュ量  から求められ、本実施例
では分解能の比が  5/2=2.5バツクラツシユ量
=5 であるので値8と決定される。
The comparison judgment circuit 13 has a backlash setting dial 14.
In this embodiment, assuming that the number of signal pulses output from the speed encoder 6 is five in the range of "play" due to backlash existing in the mechanical system, the dial 14 is set as p=s. This set value p is obtained from (resolution of speed encoder/resolution of position encoder) + amount of backlash, and in this example, the ratio of resolutions is 5/2 = 2.5 amount of backlash = 5. The value is determined to be 8.

比較判断回路13へ入力された積算値φは、ダイヤル1
4で、 p=8  と、設定された前記pと比較演算さ
れ、  −8≦φ≦+8 であれば、゛正常状態′°と判断され、あるいは、−9
〉φ まなは φ〉+9  であれば、゛異常状態゛と
判断される。
The integrated value φ input to the comparison/judgment circuit 13 is the dial 1
In step 4, p=8 is compared with the set p, and if -8≦φ≦+8, it is judged as ``normal state'', or -9
〉φ Mana is φ〉+9, it is determined to be an ``abnormal state''.

°“正常状態“′と判断されたならば、比較判断回路1
3は’ OK ”信号を中央制御装置2へ送り、中央制
御装置2はプログラムに従ってツールヘッド1の移動を
続行させる。
°If it is determined that the state is “normal”, the comparison judgment circuit 1
3 sends an 'OK' signal to the central controller 2, which causes the tool head 1 to continue moving according to the program.

一方“異常状態゛°と判断されたならば、°“N O”
信号を出力して、ツールへラド1の移動を予め設定され
ているプログラムに従ってイールド、減速、あるいは停
止させる。
On the other hand, if it is determined that there is an “abnormal state”, “NO”
A signal is output to yield, decelerate, or stop the movement of the rad 1 to the tool according to a preset program.

次に速度エンコーダ6の欠相を検出するための第2実施
例の前記構成の作用を第4図によって説明するが、各装
置、回路の基本的作用は第1実施例と全く同様であるの
で記述は省略する。
Next, the operation of the configuration of the second embodiment for detecting phase loss in the speed encoder 6 will be explained with reference to FIG. 4, but the basic operation of each device and circuit is exactly the same as in the first embodiment. Description is omitted.

第1実施例と同様、中央制御装置2からの指令によって
サーボモータ3は送り軸4を任意の方向へ回転させツー
ルヘッド1を指定位置まで移動する。
As in the first embodiment, the servo motor 3 rotates the feed shaft 4 in an arbitrary direction in response to a command from the central controller 2, and moves the tool head 1 to a specified position.

ツールヘッド1の移動に応じて位置エンコーダ5から位
置デコーダ10を介して出力されるパルス信号は、加減
算回路9に入力されて、夫々順方向、あるいは逆方向毎
にリアルタイムで計数される。
Pulse signals output from the position encoder 5 via the position decoder 10 in response to the movement of the tool head 1 are input to the addition/subtraction circuit 9 and counted in real time in each forward direction or reverse direction.

一方、同時に速度エンコーダ6からも速度デコーダ8を
介してツールヘッド1の移動に応じて夫々順方向、ある
いは逆方向の信号パルスが出力されOR回路11に入力
される。
On the other hand, at the same time, signal pulses in the forward direction or in the reverse direction are outputted from the speed encoder 6 via the speed decoder 8 in response to the movement of the tool head 1, respectively, and input into the OR circuit 11.

OR回路11は順方向、あるいは逆方向の信号パルスの
、いずれかの入力がありさえすれば、そのまま入力信号
を出力信号に変換して出力しリセット回路12へ入力す
る。そして、前記ツールヘッド1の移動に応じて位置デ
コーダ10から出力され、加減算回路9に入力されて、
夫々順方向、あるいは逆方向毎に計数されつつある信号
パルスをリアルタイムでリセットさせる。
The OR circuit 11 converts the input signal into an output signal, outputs it, and inputs it to the reset circuit 12 as long as there is an input of either a forward direction or a reverse direction signal pulse. Then, according to the movement of the tool head 1, it is outputted from the position decoder 10 and inputted to the addition/subtraction circuit 9.
To reset signal pulses that are being counted in each forward direction or reverse direction in real time.

ここで、もし速度エンコーダ6の出力信号に欠相が生し
たり、速度エンコーダ6並びに速度デコーダ8の回路に
断線、接触不良などの欠陥が発生しなりして上記リセッ
ト操作が瞬時たりとも中断するならば、加減算回路9に
て計数されつつある信号パルスはリセットされることな
く積算される。
Here, if an open phase occurs in the output signal of the speed encoder 6, or a defect such as a disconnection or poor contact occurs in the circuits of the speed encoder 6 and speed decoder 8, the above reset operation will be interrupted even momentarily. If so, the signal pulses being counted by the addition/subtraction circuit 9 are integrated without being reset.

積算値φは、次の比較判断回路13へ送られる。The integrated value φ is sent to the next comparison/judgment circuit 13.

ここで、前述の如く速度エンコーダ6がら出力されるパ
ルス数は位置エンコーダ5のそれに対して5対2の比率
をもたせ分解能を上げであるので、比較判断回路13の
バックラッシュ設定ダイヤル14は、第1実施例におい
て  p=g   と。
Here, as mentioned above, the number of pulses output from the speed encoder 6 has a ratio of 5:2 to that of the position encoder 5 to increase the resolution, so the backlash setting dial 14 of the comparison judgment circuit 13 is In one embodiment, p=g.

設定したのに対して  p=3   と、設定すること
になる。この設定値pは、 (位置エンコーダの分解能/速度エンコーダの分解能)
十バックラッシュ量  から求められ、本実施例では分
解能の比が 0.4、  バックラッシュ量 2 であ
ることから値3と求まる。
In contrast to the previous setting, p=3. This set value p is (position encoder resolution/velocity encoder resolution)
In this example, since the resolution ratio is 0.4 and the backlash amount is 2, the value 3 is obtained.

そして、積算値φは、この比較判断回路13へ入力され
、ダイヤル14で  p=3   と設定された前記p
と比較演算され、 −2≦φ≦+2であれば、゛正常状
態″と判断される。
Then, the integrated value φ is input to this comparison/determination circuit 13, and the p
A comparison operation is performed, and if -2≦φ≦+2, it is determined to be a "normal state".

一方、  −3〉φ  または  φ〉+3であれば、
′°異異常状態上判断される。
On the other hand, if −3〉φ or φ〉+3,
'°Judging from abnormal abnormal conditions.

以降は、第1実施例と同様に°゛正常°゛状態であるな
らば、比較回路判断14は“OK ”信号を中央11御
装置2へ送り、あるいは、゛異常′°状態であるならば
、°“NO゛′信号を出力する。
Thereafter, as in the first embodiment, if the state is "normal", the comparison circuit judgment 14 sends an "OK" signal to the central controller 2, or if the state is "abnormal" , °"NO" signal is output.

以上詳細に説明したように、−i的に、この様なサーボ
機構に設けられている、位置検出用のエンコーダと速度
検出用のエンコーダとから出力される信号パルスを、相
互に牽制し合わせる形で、どちらかの欠陥を見付は出す
、といった方法で、さしなる設備を必要とせずに、僅か
な論理、演算回路を付加するのみでエンコーダの欠相を
検知しツールヘッドを安全適確に制御することが可能と
なった。
As explained in detail above, -i-wise, the signal pulses output from the encoder for position detection and the encoder for speed detection provided in such a servo mechanism are checked against each other. By simply adding a small amount of logic and arithmetic circuits, you can detect encoder phase loss and safely and accurately control the tool head without requiring any special equipment. It became possible to control the

(発明の効果) 上記実施例によって説明した如く、本発明によるエンコ
ーダ欠相検出装置は、 従来、採用されていた技術から、 当該エンコーダから出力される信号パルスを、複雑な整
形加工をすることなく、従って、ライントライバ、及び
それに伴う信号線等を不要とし、更に、 EX−OR回路による信号処理も不要とし、それに付随
していた、フィルタ回路、及び時定数回路を不要とした
にも拘らず、 応答性を損なうことなく、 ノイズから受ける悪影響を排除し、 ハード回路の省略を図ることができた、という効果があ
る。
(Effects of the Invention) As explained in the above embodiments, the encoder phase loss detection device according to the present invention uses conventionally employed technology to process signal pulses output from the encoder without complex shaping. Therefore, line drivers and associated signal lines, etc. are not required, and signal processing by an EX-OR circuit is also not required, and the accompanying filter circuit and time constant circuit are not required. First, it has the effect of eliminating the negative effects of noise and eliminating the need for hardware circuitry without compromising responsiveness.

更に、今までの様な断線検出だけでなく、本装置はエン
コーダの不具合、メカ的不具合または配線ケーブル不具
合からデコーダ回路までの全てのフィードバック系の不
具合を常にチエツクしていることになり、最も信頼性が
蕎いと考えられ、故に断線による欠相のみを検知してい
た従来技術を一切不要とし、 機械系統に存在するバックラッシュによる見掛上の欠相
を明確に異常による欠相と弁別して、断線を含む全ての
欠相(例えばギヤなどの1歯分程度のずれ)を検出可能
とした、という効果がある9 以上の効果は、更に、エンコーダの欠相出力によって惹
起される、ツールヘッド、あるいはワークテーブルの予
期しない動き、あるいは暴走を防止排除して、 オペレータの安全性を一層向上せしめる、と同時に、 高価な機械を損傷、あるいは破壊から防ぐことができ、
その結果から、 ツールヘッド、あるいはワークテーブルに構造上、及び
機能上から許容される限度の上限まで、即ち、位置にお
いては両端リミットスイッチ作動直前まで、また速度に
おいては最高スピードのもとてツールヘッド、あるいは
ワークテーブルを移動し位置決めさせることが可能とな
り、生産能率を向上させることができ、且つ、ツールヘ
ッド、あるいはワークテーブルの欠相による不作動が明
確にできるためワーク加工上の寸法精度の一層の向上を
も図ることが可能となった。
Furthermore, in addition to detecting disconnections as before, this device constantly checks for defects in all feedback systems, from encoder defects, mechanical defects, and wiring cable defects to the decoder circuit, making it the most reliable device. Therefore, the conventional technology that only detects phase loss due to wire breakage is no longer necessary, and apparent phase loss due to backlash in the mechanical system can be clearly distinguished from phase loss due to abnormality. This has the effect of making it possible to detect all types of phase loss, including disconnection (for example, a deviation of about one tooth in a gear).9 The above effects are also caused by the tool head, It also prevents and eliminates unexpected movement or runaway of the worktable, further improving operator safety and at the same time preventing expensive machinery from being damaged or destroyed.
From the results, the tool head or work table can be moved up to the structurally and functionally allowable limits, i.e., up to the limit switch at both ends in position, and up to the maximum speed limit in terms of speed. Alternatively, it is possible to move and position the work table, improving production efficiency, and also making it clear whether the tool head or work table is inoperable due to an open phase, which improves the dimensional accuracy of workpiece processing. It has also become possible to improve the

尚、前記第1実施例、第2実施例では、サーボモータ3
、送り軸4を含む伝達系のバラクラシュ量は既知であり
、このバラクラシュ量、両エンコーダ5.6の分解能比
から設定値pを決定していた。しかし、バラクラシュ量
が未知のときには、設定値pを設けずに加減算回路9に
積算される値の最大値から前述した分解能比を差し引い
てバラクラシュ量の値を事前に決定し得る構成を付加し
ておいても良い。
In addition, in the first embodiment and the second embodiment, the servo motor 3
The amount of bala crash of the transmission system including the feed shaft 4 is known, and the set value p is determined from this amount of bala crash and the resolution ratio of both encoders 5.6. However, when the amount of balaclash is unknown, a configuration is added in which the value of the amount of balaclash can be determined in advance by subtracting the above-mentioned resolution ratio from the maximum value of the value accumulated in the adder/subtractor 9 without providing the set value p. You can leave it there.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図、及び第2図は当該エンコーダ欠相検出装置の基
本機能ブロック図、第3図は第1実施例の機能ブロック
図、第4図は第2実施例の機能ブロック図である。 5・位置エンコーダ・ 6・速度エンコーダ8・速度デ
コーダ   9・加減算回路10・位置デコーダ  1
1・OR回路12・リセット回路  13・比較判断回
路14・バックラッシュ設定ダイヤル 出願人 ヤマザキ マザツク株式会社 代表者 山崎 照幸 O ・  刈 −m \ べ \ 球 腹 き 11回〉 百  冑−1−lへ tncoo   (ト)  ぐ −H−
1 and 2 are basic functional block diagrams of the encoder phase loss detection device, FIG. 3 is a functional block diagram of the first embodiment, and FIG. 4 is a functional block diagram of the second embodiment. 5.Position encoder 6.Speed encoder 8.Speed decoder 9.Addition/subtraction circuit 10.Position decoder 1
1. OR circuit 12. Reset circuit 13. Comparison judgment circuit 14. Backlash setting dial Applicant: Yamazaki Mazatuku Co., Ltd. Representative Teruyuki Yamazaki O. tncoo (t) Gu-H-

Claims (1)

【特許請求の範囲】 サーボ駆動手段により位置決めされる移動体の移動距離
に応じた信号を出力する位置検出手段と、該位置検出手
段と別体に設けられ前記サーボ駆動手段の駆動速度に応
じた信号を出力する速度検出手段と、を具備する前記移
動体の閉ループ位置制御サーボシステムにおいて、 前記両検出手段からの出力信号の各々を順方向出力信号
あるいは逆方向出力信号に夫々判別する方向判別手段と
、 前記一方の検出手段から前記方向判別手段を介して出力
される順方向出力信号あるいは逆方向出力信号を、夫々
加算あるいは減算処理する加減演算手段と、 前記他の一方の検出手段から前記方向判別手段を介して
出力される順方向出力信号と逆方向出力信号とを論理和
演算処理する論理和演算手段と、該論理和演算手段から
の出力信号により前記加減演算手段をリセットするリセ
ット手段と、前記加減演算手段の出力信号を予め設定さ
れた模範信号と比較判断する比較判断手段と、 該比較判断手段による比較判断の結果、前記他の一方の
検出手段からの出力信号が欠相していることを検知する
欠相検知手段と、 を具備したエンコーダ欠相検出装置。
[Scope of Claims] Position detecting means for outputting a signal corresponding to the moving distance of the moving body positioned by the servo driving means; A closed-loop position control servo system for a moving body, comprising: speed detection means for outputting a signal; direction determination means for determining each of the output signals from both of the detection means into a forward direction output signal or a reverse direction output signal, respectively; and addition/subtraction calculation means for adding or subtracting, respectively, a forward direction output signal or a reverse direction output signal outputted from said one detection means via said direction determination means, and addition/subtraction processing means for respectively adding or subtracting a forward direction output signal or a backward direction output signal output from said one detection means via said direction determination means. an OR operation means for performing an OR operation on the forward direction output signal and the reverse direction output signal outputted through the discrimination means; and a reset means for resetting the addition/subtraction operation means by the output signal from the OR operation means; , a comparison judgment means for comparing and judging the output signal of the addition/subtraction calculation means with a preset model signal; and as a result of the comparison judgment by the comparison judgment means, the output signal from the other one of the detection means is out of phase. An encoder open phase detection device comprising: an open phase detection means for detecting the presence of an open phase; and an encoder open phase detection device.
JP26101188A 1988-10-17 1988-10-17 Encoder phase missing detector Pending JPH02107919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26101188A JPH02107919A (en) 1988-10-17 1988-10-17 Encoder phase missing detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26101188A JPH02107919A (en) 1988-10-17 1988-10-17 Encoder phase missing detector

Publications (1)

Publication Number Publication Date
JPH02107919A true JPH02107919A (en) 1990-04-19

Family

ID=17355818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26101188A Pending JPH02107919A (en) 1988-10-17 1988-10-17 Encoder phase missing detector

Country Status (1)

Country Link
JP (1) JPH02107919A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101688A (en) * 1990-08-20 1992-04-03 Juki Corp Failure detector for rotor position detector of motor
JP2014050136A (en) * 2012-08-29 2014-03-17 Toshiba Schneider Inverter Corp Inverter device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101688A (en) * 1990-08-20 1992-04-03 Juki Corp Failure detector for rotor position detector of motor
JP2014050136A (en) * 2012-08-29 2014-03-17 Toshiba Schneider Inverter Corp Inverter device

Similar Documents

Publication Publication Date Title
JP2506214B2 (en) Numerically controlled machine tool collision detection device
JPS6043261B2 (en) Spindle rotation position control method
US4757458A (en) Zero point adjusting robot control method
JPH02107919A (en) Encoder phase missing detector
JP2845730B2 (en) Position information discriminating device of position control system and its discriminating method
JPH10243693A (en) Stepping motor driving circuit
JPS63243703A (en) Count-check type detector for angle of rotation
JPS6284303A (en) Robot control device
JP3408956B2 (en) Drive control device for servo motor
JPH07194157A (en) Controller for servo motor
JP2541809B2 (en) Encoder open phase detector
JP2666798B2 (en) Servo motor runaway detection / prevention method
JP6961631B2 (en) Elevator system
JPH0452708A (en) Malfunction check system
JPS63262082A (en) Controller for motor
JPH04330504A (en) Teaching device for loader
JP3163832B2 (en) Motor control device
JPH0366548A (en) Software table limit device for nc machine tool
JPH04235605A (en) Machine tool controller
JPH01310880A (en) Controller for industrial robot
JP3089126B2 (en) Tool abnormality detection device
KR850000311B1 (en) Spindle orientation control apparatus
JPH11170122A (en) Positioning control device
JPH1110476A (en) Loader controller
JPH04256108A (en) Position detecting device