JPH03113507A - Check system for absolute position signal of numerical controller - Google Patents
Check system for absolute position signal of numerical controllerInfo
- Publication number
- JPH03113507A JPH03113507A JP25115589A JP25115589A JPH03113507A JP H03113507 A JPH03113507 A JP H03113507A JP 25115589 A JP25115589 A JP 25115589A JP 25115589 A JP25115589 A JP 25115589A JP H03113507 A JPH03113507 A JP H03113507A
- Authority
- JP
- Japan
- Prior art keywords
- absolute position
- signal
- position signal
- difference
- signals
- 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
Links
- 238000000034 method Methods 0.000 claims description 14
- 230000005856 abnormality Effects 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000010354 integration Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は数値制御装置(CNC)のフィードバック信号
として入力される絶対位置信号の異常をチェックする数
値制御装置の絶対位置信号チェック方式に関し、特にチ
ェック処理時間の短い絶対位置信号チェック方式に関す
る。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an absolute position signal checking method for a numerical control device (CNC) that checks for abnormalities in an absolute position signal input as a feedback signal to a numerical control device (CNC). This invention relates to an absolute position signal check method that requires short check processing time.
数値制御装置(CNC)では機械軸の絶対位置のフィー
ドバックループを有している。通常、この絶対位置はサ
ーボモータあるいは機械軸に直接結合されたバルスコー
ダからの移動量に比例したフィードバックパルスを積算
することにより検出される。A numerical control device (CNC) has a feedback loop for the absolute position of the machine axes. Typically, this absolute position is detected by integrating feedback pulses proportional to the amount of movement from a servo motor or a pulse coder directly coupled to the machine axis.
一方、検出された絶対位置信号が正常かどうかを監視す
る必要があり、例えばパルスコーダを複数個設けて、こ
れらの検出信号から求めた絶対位置信号の差分により判
定を行っている。この判定処理はチェック精度を上げる
ために高速に行う必要がある。On the other hand, it is necessary to monitor whether the detected absolute position signal is normal or not. For example, a plurality of pulse coders are provided and determination is made based on the difference between the absolute position signals obtained from these detection signals. This determination process needs to be performed at high speed in order to improve the accuracy of the check.
しかし、移動量を積算して絶対位置を求める処理を各パ
ルスコーダ毎に行わなければならないので、ソフトウェ
アの処理時間が長くなり、他のタスク処理の時間が不足
してしまうことがある。これを避けるために専用のハー
ドウェアを設ける方法もあるが、システムの構成が複雑
になってしまう。However, since the process of calculating the absolute position by integrating the amount of movement must be performed for each pulse coder, the software processing time becomes long, and there may be a shortage of time for processing other tasks. Although there is a method of providing dedicated hardware to avoid this, the system configuration becomes complicated.
本発明はこのような点に鑑みてなされたものであり、簡
単な構成でチェック処理時間を短縮させた数値制御装置
の絶対位置信号チェック方式を提供することを目的とす
る。The present invention has been made in view of these points, and it is an object of the present invention to provide an absolute position signal check method for a numerical control device that has a simple configuration and shortens the check processing time.
本発明では上記課題を解決するために、数値制御装置(
CNC)のフィードバック信号として人力される絶対位
置信号の異常をチェックする数値制御装置の絶対位置信
号チェック方式において、特定の機械軸の絶対位置を検
出してそれぞれ独立な所定の絶対位置信号を出力する複
数の絶対位置検出器を設け、前記複数の絶対位置信号間
の差分を監視し、前記差分が設定値を越えた場合に異常
と判定することを特徴とする数値制御装置の絶対位置信
号チェック方式が提供される。In order to solve the above problems, the present invention provides a numerical control device (
In the absolute position signal checking method of a numerical control device that checks for abnormalities in the absolute position signal input manually as a feedback signal of CNC, the absolute position of a specific machine axis is detected and each independent predetermined absolute position signal is output. An absolute position signal checking method for a numerical control device, characterized in that a plurality of absolute position detectors are provided, a difference between the plurality of absolute position signals is monitored, and an abnormality is determined when the difference exceeds a set value. is provided.
常時絶対位置検出可能な検出器を複数個使用することに
より、フィードバックパルスを積算して機械位置を求め
る処理が不要となる。これにより、各検出信号間の照合
が高速に行え、チェック処理時間が短縮する。By using a plurality of detectors capable of constantly detecting absolute positions, there is no need to integrate feedback pulses to determine the machine position. As a result, each detection signal can be compared at high speed, and the check processing time can be shortened.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第2図は本発明を実施するための数値制御装置(CNC
)の構成を示したブロック図である。図において、プロ
セッサ11はバス10を介してR○M12に格納された
システムプログラムを読み出し、このシステムプログラ
ムに従って数値制御装置lの全体の動作を制御する。R
AM13には一時的な計算データ、表示データ等が格納
される。Figure 2 shows a numerical control device (CNC) for implementing the present invention.
) is a block diagram showing the configuration of. In the figure, a processor 11 reads out a system program stored in an R○M 12 via a bus 10, and controls the overall operation of the numerical control device 1 in accordance with this system program. R
AM13 stores temporary calculation data, display data, etc.
不揮発性メモリ14はバッテリバックアップされたCM
O3で構成され、加ニブログラム、工具補正量、パラメ
ータ等が格納される。Nonvolatile memory 14 is a battery-backed CM
It is composed of O3 and stores the cutting program, tool correction amount, parameters, etc.
軸制御回路15は加ニブログラムに基づいたプロセッサ
11からの移動指令を受けて、これを速度信号に変換し
て出力する。サーボアンプ16は速度信号を増幅して出
力し、これによってサーボモータ21が駆動され、サー
ボモータ21に結合された機械軸22が移動する。なお
、サーボモータ21の回転速度を検出してサーボアンプ
16にフィードバックするフィードバックループが設け
られているが、本図では省略しである。The axis control circuit 15 receives a movement command from the processor 11 based on the rotation program, converts it into a speed signal, and outputs the speed signal. The servo amplifier 16 amplifies and outputs the speed signal, thereby driving the servo motor 21 and moving the mechanical shaft 22 coupled to the servo motor 21. Note that a feedback loop for detecting the rotational speed of the servo motor 21 and feeding it back to the servo amplifier 16 is provided, but it is omitted in this figure.
絶対位置検出器30aはギア23及び24を介して機械
軸22の絶対位置を検出して絶対位置信号A1を出力し
、同様に絶対位置検出器30bはギア23及び25を介
して機械軸22の絶対位置を検出して絶対位置信号A2
を出力する。このうち、絶対位置信号A1は位置フィー
ドバック信号として軸制御回路15に人力される。The absolute position detector 30a detects the absolute position of the mechanical shaft 22 through gears 23 and 24 and outputs an absolute position signal A1, and similarly, the absolute position detector 30b detects the absolute position of the mechanical shaft 22 through gears 23 and 25. Detects the absolute position and outputs the absolute position signal A2
Output. Of these, the absolute position signal A1 is manually input to the axis control circuit 15 as a position feedback signal.
一方、照合回路17は絶対位置信号AIとA2を照合し
て、その差分が設定値以上であればアラーム信号Saを
発生する。このアラーム信号により、プロセッサ11は
表示制御回路18を介して表示装置19に所定のアラー
ムメツセージを表示し、また必要な場合は移動指令を中
断する。On the other hand, the collation circuit 17 collates the absolute position signals AI and A2, and generates an alarm signal Sa if the difference is greater than or equal to a set value. In response to this alarm signal, the processor 11 displays a predetermined alarm message on the display device 19 via the display control circuit 18, and interrupts the movement command if necessary.
第3図は絶対位置検出器30aの内部の構成を示したブ
ロック図である。図において、エンコーダ31は機械軸
22の移動量に比例したパルスを出力し、このパルスを
カウンタ32が回転方向に応じてカウントアツプ/ダウ
ンする。パラレル/シリアル変換器33はカウンタ32
の出力を読み込んで、これを例えば8ビツトのシリアル
信号に変換して出力する。ここで、上記の各要素は専用
の電池34から電源を供給されており、数値制御装置及
び機械の運転、停止に係わらず、パラレル/シリアル変
換器33の出力信号A1によって機械軸22の絶対位置
が示される。FIG. 3 is a block diagram showing the internal configuration of the absolute position detector 30a. In the figure, an encoder 31 outputs a pulse proportional to the amount of movement of the mechanical shaft 22, and a counter 32 counts up/down these pulses according to the direction of rotation. The parallel/serial converter 33 is a counter 32
It reads the output of , converts it into, for example, an 8-bit serial signal, and outputs it. Here, each of the above elements is supplied with power from a dedicated battery 34, and the absolute position of the machine shaft 22 is determined by the output signal A1 of the parallel/serial converter 33 regardless of whether the numerical control device or the machine is running or stopping. is shown.
絶対位置検出器30bの構成も同様であり、説明は省略
する。The configuration of the absolute position detector 30b is also similar, and the explanation will be omitted.
第1図は上記の照合回路17における処理のフローチャ
ートである。図において、Sに続く数値はステップ番号
を示す。FIG. 1 is a flowchart of the processing in the collation circuit 17 described above. In the figure, the number following S indicates the step number.
〔S1〕絶対位置検出器30aからの絶対位置信号A1
を読み込む。[S1] Absolute position signal A1 from absolute position detector 30a
Load.
〔S2〕絶対位置検出器30bからの絶対位置信号A2
を読み込む。[S2] Absolute position signal A2 from absolute position detector 30b
Load.
〔S3〕二つの絶対位置信号の差分ΔAを求める。[S3] Find the difference ΔA between the two absolute position signals.
〔S4〕差分ΔAが設定値を越えているかどうかを判断
し、越えている場合はS5へいき、越えていない場合は
終了する。[S4] Determine whether the difference ΔA exceeds a set value. If it does, proceed to S5; if not, terminate.
〔S5〕アラ一ム信号Saを発生する。[S5] Generate an alarm signal Sa.
以上の処理を例えば1m秒毎に繰り返し行って絶対位置
信号の異常をチェックする。The above process is repeated, for example, every 1 msec to check for abnormalities in the absolute position signal.
なお、上記の説明では絶対位置検出器を一つの機械軸に
設けたが、複数の機械軸にそれぞれ二つずつ設けて同様
のチェック処理を行っても良い。In the above description, an absolute position detector is provided on one machine axis, but two absolute position detectors may be provided on each of a plurality of machine axes to perform the same checking process.
また、絶対位置検出器をサーボモータの軸に設けても良
く、また機械軸とサーボモータの軸にそれぞれが互いに
対応するように設けて、これらを照合するように構成し
ても良い。Further, the absolute position detector may be provided on the axis of the servo motor, or may be provided on the mechanical axis and the axis of the servo motor so that they correspond to each other, and the two may be compared.
以上説明したように本発明では、常時絶対位置検出可能
な検出器を複数個設けて、これらの検出信号間の差分が
設定値を越えた場合に所定のアラーム信号を発生するの
で、フィードバックパルスの積算処理が不要となって各
検出信号間の照合が高速に行え、チェック処理時間が短
縮する。この結果、一定の時間内では他のタスク処理に
配分される時間が長くなり、高機能の数値制御装置が実
現可能になる。As explained above, in the present invention, a plurality of detectors capable of constantly detecting absolute positions are provided, and a predetermined alarm signal is generated when the difference between these detection signals exceeds a set value. Since integration processing is no longer necessary, each detection signal can be compared at high speed, and the check processing time is shortened. As a result, the time allocated to other task processing becomes longer within a certain period of time, making it possible to realize a highly functional numerical control device.
第1図は本発明の一実施例の絶対位置信号チェック方式
のフローチャート、
第2図は本発明を実施するための数値制御装置のブロッ
ク図、
第3図は絶対位置検出器の内部ブロック図である。
1 数値制御装置
17・ ・照合回路
22・ ・ 機械軸
30a、30b・−絶対位置検出器
A1、A2 絶対位置信号
Sa ° アラーム信号Fig. 1 is a flowchart of an absolute position signal check method according to an embodiment of the present invention, Fig. 2 is a block diagram of a numerical control device for implementing the present invention, and Fig. 3 is an internal block diagram of an absolute position detector. be. 1 Numerical control device 17・・Verification circuit 22・・Machine axes 30a, 30b・−Absolute position detectors A1, A2 Absolute position signal Sa ° Alarm signal
Claims (2)
して入力される絶対位置信号の異常をチェックする数値
制御装置の絶対位置信号チェック方式において、 特定の機械軸の絶対位置を検出してそれぞれ独立な所定
の絶対位置信号を出力する複数個の絶対位置検出器を設
け、 前記複数の絶対位置信号間の差分を監視し、前記差分が
設定値を越えた場合に異常と判定することを特徴とする
数値制御装置の絶対位置信号チェック方式。(1) In the absolute position signal checking method of a numerical control device (CNC) that checks for abnormalities in the absolute position signal that is input as a feedback signal to the numerical control device (CNC), the absolute position of a specific machine axis is detected and each independent predetermined position is detected. A numerical value characterized in that a plurality of absolute position detectors that output absolute position signals are provided, a difference between the plurality of absolute position signals is monitored, and an abnormality is determined when the difference exceeds a set value. Absolute position signal check method for control equipment.
うことを特徴とする特許請求の範囲第1項記載の数値制
御装置の絶対位置信号チェック方式。(2) The absolute position signal checking method for a numerical control device according to claim 1, wherein the difference is monitored at every predetermined sampling time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25115589A JPH03113507A (en) | 1989-09-27 | 1989-09-27 | Check system for absolute position signal of numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25115589A JPH03113507A (en) | 1989-09-27 | 1989-09-27 | Check system for absolute position signal of numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03113507A true JPH03113507A (en) | 1991-05-14 |
Family
ID=17218494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25115589A Pending JPH03113507A (en) | 1989-09-27 | 1989-09-27 | Check system for absolute position signal of numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03113507A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6150786A (en) * | 1997-11-26 | 2000-11-21 | Fanuc Ltd. | Controller for industrial machine |
US7095300B2 (en) | 2002-05-23 | 2006-08-22 | Murata Manufacturing Co., Ltd. | Band eliminate filter and communication apparatus |
-
1989
- 1989-09-27 JP JP25115589A patent/JPH03113507A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6150786A (en) * | 1997-11-26 | 2000-11-21 | Fanuc Ltd. | Controller for industrial machine |
US7095300B2 (en) | 2002-05-23 | 2006-08-22 | Murata Manufacturing Co., Ltd. | Band eliminate filter and communication apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3100406B2 (en) | Machine tool failure prediction device | |
EP0666138B1 (en) | Tool breakage prevention system | |
JP3623582B2 (en) | Robot failure diagnosis method | |
CN110286612B (en) | Control device | |
US5200678A (en) | Motor driving control apparatus | |
US5659131A (en) | Cutter fracture detecting system | |
US5418439A (en) | Apparatus and method for discriminating position information in a position control system | |
JPH03113507A (en) | Check system for absolute position signal of numerical controller | |
JPH0854915A (en) | Machining load monitor system | |
JPH07110715A (en) | Apparatus and method for position control of robot system | |
US4740901A (en) | Distance-of-travel measuring equipment for numerical controller | |
KR890000578B1 (en) | Spindle rotational frequency checking machine | |
JPH0569656B2 (en) | ||
JPH0952669A (en) | Elevator position detecting device | |
JP3165087B2 (en) | Industrial robot failure detection method | |
JP3092420B2 (en) | Robot interference detection method | |
JPS61147791A (en) | Malfunction monitor of automatic positioner | |
JPH0976144A (en) | Machining state monitoring method in machine tool | |
JPH0751997A (en) | Machining load monitoring method | |
JP3174967B2 (en) | Motor control device | |
JPH03178752A (en) | Method for monitoring and controlling tool load | |
JPS61206002A (en) | Safety device for robot | |
JPS6173009A (en) | Position detecting device for moving body | |
JPS63155205A (en) | Numerical controller | |
JPH02237743A (en) | Main spindle control system of numerical controller |