JPS5972515A - Diagnosing system of position feedback loop function - Google Patents

Diagnosing system of position feedback loop function

Info

Publication number
JPS5972515A
JPS5972515A JP57185204A JP18520482A JPS5972515A JP S5972515 A JPS5972515 A JP S5972515A JP 57185204 A JP57185204 A JP 57185204A JP 18520482 A JP18520482 A JP 18520482A JP S5972515 A JPS5972515 A JP S5972515A
Authority
JP
Japan
Prior art keywords
feedback loop
contents
position feedback
register
error register
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
JP57185204A
Other languages
Japanese (ja)
Inventor
Atsushi Shima
淳 島
Takashi Iwagaya
岩ケ谷 孝
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP57185204A priority Critical patent/JPS5972515A/en
Publication of JPS5972515A publication Critical patent/JPS5972515A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4062Monitoring servoloop, e.g. overload of servomotor, loss of feedback or reference
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42322Emit dummy pulses, detect loss of pulses, feedback failure, wire brake, short

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To decide a fault of a feedback loop when the contents of an error register are not set at zero after a dummy pulse is applied to the error register from a numerical controller to actuate a servo mechanism and then the contents of the error register are checked. CONSTITUTION:When a power supply is applied to a numerical controller, a prescribed number of dummy pulses are supplied to an error register 3 via an adder 2. The output of the register 3 undergoes a D/A conversion through a servo unit 4 and is amplified. Thus a motor 5 is revolved to set the contents of the register 3 at 0. The controller 1 reads the contents of the register 3 after a fixed time elapses. When the contents show 0, it is decided that a position feedback loop is nondefective. While a fault is decided with the feedback loop when the contents of the register 3 are not 0. Thus the power supply of the motor 5 is turned off, and an alarm is delivered. This check is possible at an optional time point with operation of a keyboard 8. Thus an assured diagnosis is possible to the position feedback loop, and the runaway is prevented with a servo system.

Description

【発明の詳細な説明】 発明の技術分野 本発明は位置フィードバックループの機能を診断する位
置フィードバックループ機能診断方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a position feedback loop function diagnosis method for diagnosing the function of a position feedback loop.

従来技術と問題点 数値制御工作機械(1於いては、一般にサーボモータの
回転角位置或は機械位置を検出する位置検出器を用いて
位置フィードバックループを形成し、回転角或は機械位
置と数値制御装置からの指令値との差が零となるように
、サーボモータの動作を制御するようにしている。とこ
ろで、このような位置フィードバックループを備えた数
値制御工作機に於いては、位置フィードバックループ(
二障害が発生すると、サーボモータが暴走する事態が発
生する。このような、サーボモータの暴走を防止する為
に、従来は位置検出器に、位置フィードバックループの
異常を検出した時、異常検出信号を数値制御装置に加え
る異常診断機能を付加しておき、該異常診断機能からの
異常検出信号により、位置フィードバックループの異常
を検出した数値制御装置がサーボモータの励磁を切るよ
うにしている。
Prior Art and Problems In numerically controlled machine tools (1), a position feedback loop is generally formed using a position detector that detects the rotation angle position of a servo motor or machine position, and the rotation angle or machine position and numerical value are The operation of the servo motor is controlled so that the difference from the command value from the control device is zero.By the way, in a numerically controlled machine tool equipped with such a position feedback loop, the position feedback loop(
If two failures occur, the servo motor will run out of control. In order to prevent such runaway of the servo motor, conventionally, the position detector is equipped with an abnormality diagnosis function that sends an abnormality detection signal to the numerical control device when an abnormality in the position feedback loop is detected. The numerical control device detects an abnormality in the position feedback loop and turns off the excitation of the servo motor based on the abnormality detection signal from the abnormality diagnosis function.

しかし、この従来方式は異常診断機能からの異常検出信
号(二基づいて、数値制御装置が間接的(−位置フィー
ドバックループの異常を検出するようC二しているもの
であるから、前記異常診断機能に障害が発生し、その動
作が正常C1行なわれていない場合に、位置ツイードバ
ックループに異常が発生するとサーボモータが暴走する
欠点があった。
However, in this conventional method, the numerical control device indirectly detects an abnormality in the position feedback loop based on the abnormality detection signal (2) from the abnormality diagnosis function. If a failure occurs in the position tweed back loop and the operation C1 is not performed normally, the servo motor may run out of control if an abnormality occurs in the position tweed back loop.

発明の目的 本発明は前述の如き欠点を改善したものであり、その目
的は位置フィードバックループの異常を確実に検出でき
るようにすることにある。以下実施例について詳細(二
説明する。
OBJECTS OF THE INVENTION The present invention has been made to improve the above-mentioned drawbacks, and its purpose is to make it possible to reliably detect abnormalities in the position feedback loop. Examples will be explained in detail below.

発明の実施例 第1図は本発明の実施例のブロック線図であり、1は数
値制御装置、2は加算器、6は誤差レジスタ、4はサー
ボユニット、5はモータ、6は光学式エンコーダ等から
成る位置検出器、7はテーブル、8はキーボードである
。また、第2図は位置フィードバックループの機能診断
時に於ける数値制御装置1の処理内容を示したフローチ
ャートである。
Embodiment of the Invention FIG. 1 is a block diagram of an embodiment of the invention, in which 1 is a numerical control device, 2 is an adder, 6 is an error register, 4 is a servo unit, 5 is a motor, and 6 is an optical encoder. 7 is a table, and 8 is a keyboard. Further, FIG. 2 is a flowchart showing the processing contents of the numerical control device 1 when diagnosing the function of the position feedback loop.

誤差レジスタ3は数値制御装置1からの指令パルスの数
と位置検出器6からの検出パルスの数との差なサーボユ
ニット4(二加え、サーボユニット4は前記差をDA変
換すると共(二増幅してモータ5(二加え、該モータ5
の回転角位置と指令パルス(二よって与えられた指令値
との差が零となるよう(ニモータ5を駆動させるもので
ある。尚、上述の如き動作は既に良く知られたものであ
る。
The error register 3 stores the difference between the number of command pulses from the numerical control device 1 and the number of detected pulses from the position detector 6. and motor 5 (in addition to the motor 5)
The motor 5 is driven so that the difference between the rotational angular position and the command value given by the command pulse (2) becomes zero.The above-mentioned operation is already well known.

次に、位置フィードバックループの機能診断時の動作を
第2図のフローチャートを参照して説明する。
Next, the operation of the position feedback loop during functional diagnosis will be explained with reference to the flowchart shown in FIG.

数値制御装置1は電源が投入されると、予め定められて
いるパルス数のダミーパルスを送出する。
When the numerical control device 1 is powered on, it sends out a predetermined number of dummy pulses.

ダミーパルスを送出した後、一定時間経過すると、数値
制御装置1は誤差レジスタ6の内容を読取り、その内容
(二基づいて位置フィードバックループが正常であるか
否かを判断する。即ち、位置フィードバックループが正
常に動作していれば、位置検出器6からの検出パルスが
ダミーパルスを打消し、誤差レジスタ3の内容が零とな
るので、数値制御装置1は読取った誤差レジスタ乙の内
容が零の場合は、位置フィードバックループが正常であ
ると判断し、また、位置フィードバックループに異常が
あれば誤差レジスタ6の内容が零とならないので、数値
制御装置1は読取った誤差レジスタ乙の内容が零でない
場合は、位置フィードバックループ(二異常があると判
断し、モータ5の励磁を切る。
After a certain period of time has elapsed after sending out the dummy pulse, the numerical control device 1 reads the contents of the error register 6 and determines whether the position feedback loop is normal based on the contents (2).In other words, the position feedback loop If it is operating normally, the detection pulse from the position detector 6 cancels the dummy pulse and the contents of the error register 3 become zero, so the numerical control device 1 makes sure that the read contents of the error register B are zero. In this case, it is determined that the position feedback loop is normal, and if there is an abnormality in the position feedback loop, the contents of the error register 6 will not be zero, so the numerical control device 1 will check that the contents of the error register B read are not zero. If so, it is determined that there is an abnormality in the position feedback loop (2), and the excitation of the motor 5 is cut off.

アラームを鳴す等の処置を行なう。Take measures such as sounding an alarm.

尚、実施例(1於いては、電源投入時(二位置フィード
バックループの機能を診断するようにしたが、これC1
限られるものではなく、キーボード8の操作(二より、
任意の時期に機能診断を行なわせるようにしても良いこ
とは勿論である。また、実施例に於いては、モータ5の
回転角位置を検出する位置検出器6を用いて形成した位
置フィードバックループの機能を診断する場合(二つい
て説明したが、機械位置を検出する位置検出器を用いて
形成した位置フィードバックループの機能診断に本発明
方式を適用できることは勿論である。
In the embodiment (1), the function of the two-position feedback loop was diagnosed when the power was turned on, but this C1
The operation of the keyboard 8 (from the second,
Of course, the functional diagnosis may be performed at any arbitrary time. In addition, in the embodiment, when diagnosing the function of the position feedback loop formed using the position detector 6 that detects the rotational angular position of the motor 5 (although it has been explained with two Of course, the method of the present invention can be applied to functional diagnosis of a position feedback loop formed using a device.

発明の詳細 な説明したよう(=、本発明は位置フィードバックルー
プの機能診断時、数値制御装置よりダミーパルスを誤差
レジスタC二加え、誤差レジスタの内容に基づいて位置
フィードバックループの異常を検出するとgうように、
位置フィードバックループの異常を数値制御装置で直接
検出するようにしたものであるから、異常診断機能から
の異常検出信号(二基づいて、数値制御装置が間接的C
二位置フィードバックループの異常を検出する従来方式
C1比べて、確実に位置フィードバックループの異常を
検出できる利点がある。
As described in detail, the present invention applies a dummy pulse to the error register C2 from the numerical control device when diagnosing the function of the position feedback loop, and detects an abnormality in the position feedback loop based on the contents of the error register. Like,
Since the numerical control device directly detects abnormalities in the position feedback loop, the numerical control device indirectly detects the
Compared to the conventional method C1 which detects an abnormality in a two-position feedback loop, this method has the advantage of being able to reliably detect an abnormality in a position feedback loop.

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

第1図は本発明の実施例のブロック線図、第2図は機能
診断時の数値制御装置の処理内容を示すフローチャート
である。 1は数値制御装置、2は加算器、6は誤差レジスタ、4
はサーボユニット、5はモータ、6は位置検出器、7は
テーブル、8はキーボードである。 特許出願人  ファナック株式会社 代 理 人 弁理士 玉蟲久五部 (外6名)
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart showing the processing contents of the numerical control device at the time of functional diagnosis. 1 is a numerical controller, 2 is an adder, 6 is an error register, 4
5 is a servo unit, 5 is a motor, 6 is a position detector, 7 is a table, and 8 is a keyboard. Patent applicant: Representative of FANUC Co., Ltd. Patent attorney: Gobe Tamamushi (6 others)

Claims (1)

【特許請求の範囲】[Claims] 位置検出器の検出結果と数値制御装置からの指令パルス
との差を求め、該差(二基づいて蕃枯サーボモータの動
作を制御する誤差レジスタを備えた位置フィードバック
ループの機能を診断する位置フィードバックループ機能
診断方式に於いて、診断時、前記数値制御装置はダミー
パルスを前記誤差レジ、スタに加え、前記誤差レジスタ
の内容に基づいて前記位置フィードバックループの機能
を診断することを特徴とする位置フィードバックループ
機能診断方式。
A position feedback system that determines the difference between the detection result of the position detector and the command pulse from the numerical control device, and diagnoses the function of the position feedback loop equipped with an error register that controls the operation of the servo motor based on the difference (2). In the loop function diagnosis method, during diagnosis, the numerical control device adds a dummy pulse to the error register and star, and diagnoses the function of the position feedback loop based on the contents of the error register. Feedback loop function diagnosis method.
JP57185204A 1982-10-20 1982-10-20 Diagnosing system of position feedback loop function Pending JPS5972515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57185204A JPS5972515A (en) 1982-10-20 1982-10-20 Diagnosing system of position feedback loop function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57185204A JPS5972515A (en) 1982-10-20 1982-10-20 Diagnosing system of position feedback loop function

Publications (1)

Publication Number Publication Date
JPS5972515A true JPS5972515A (en) 1984-04-24

Family

ID=16166686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57185204A Pending JPS5972515A (en) 1982-10-20 1982-10-20 Diagnosing system of position feedback loop function

Country Status (1)

Country Link
JP (1) JPS5972515A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62212705A (en) * 1986-03-14 1987-09-18 Agency Of Ind Science & Technol Robot maintenance device
WO2006042805A2 (en) * 2004-10-18 2006-04-27 Siemens Aktiengesellschaft Method for monitoring a stationary condition of drive device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62212705A (en) * 1986-03-14 1987-09-18 Agency Of Ind Science & Technol Robot maintenance device
WO2006042805A2 (en) * 2004-10-18 2006-04-27 Siemens Aktiengesellschaft Method for monitoring a stationary condition of drive device
WO2006042805A3 (en) * 2004-10-18 2006-08-03 Siemens Ag Method for monitoring a stationary condition of drive device
US7482771B2 (en) 2004-10-18 2009-01-27 Siemens Aktiengesellschaft Method for monitoring a drive device for a standstill condition, monitoring system therefore, and drive system therefore

Similar Documents

Publication Publication Date Title
US4994986A (en) Online performance monitoring and fault diagnosis technique for direct current motors as used in printer mechanisms
JPS63150624A (en) Judging method for pulse of encoder
CN110286612B (en) Control device
JP2954615B2 (en) Motor drive control device
JPS5972515A (en) Diagnosing system of position feedback loop function
US4591770A (en) Numerical controller
JP3243005B2 (en) Master control device
US4864203A (en) Diagnostic apparatus
JPS63102854A (en) Abnormal tool changing method
JPS63250710A (en) System controller
JPS6288047A (en) Interface controller
JPS6237704A (en) Numerical controller
EP0114896A1 (en) Function diagnosis system
JPS61813A (en) Deciding system for faulty area of sequence controller
JP2007330050A (en) Motor drive device and failure notification method therefor
JPH06315840A (en) Positioning confirming device for tool magazine
JP3057327U (en) Control and regulation unit for doors driven by electric motor
JP2545208B2 (en) X-ray tomography system
JPH04106145U (en) Machine tool failure prevention device
JP3797450B2 (en) Robot control device
WO1990002981A1 (en) System for diagnosing cnc
JPH0344730A (en) Trouble diagnostic controller for printer
JP2003091302A (en) Abnormality detector in control system of machine tool
JP2003029843A (en) Position control method and method for detecting failure of position detector
JPS61236495A (en) Controller for industrial robot