JPS62247405A - 指令位置復元方法 - Google Patents

指令位置復元方法

Info

Publication number
JPS62247405A
JPS62247405A JP61091844A JP9184486A JPS62247405A JP S62247405 A JPS62247405 A JP S62247405A JP 61091844 A JP61091844 A JP 61091844A JP 9184486 A JP9184486 A JP 9184486A JP S62247405 A JPS62247405 A JP S62247405A
Authority
JP
Japan
Prior art keywords
machine position
correction
counter
command
machine
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
JP61091844A
Other languages
English (en)
Other versions
JP2667150B2 (ja
Inventor
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 JP61091844A priority Critical patent/JP2667150B2/ja
Priority to US07/145,754 priority patent/US4864508A/en
Priority to DE8787902739T priority patent/DE3785153T2/de
Priority to PCT/JP1987/000250 priority patent/WO1987006729A1/ja
Priority to EP87902739A priority patent/EP0268683B1/en
Publication of JPS62247405A publication Critical patent/JPS62247405A/ja
Application granted granted Critical
Publication of JP2667150B2 publication Critical patent/JP2667150B2/ja
Anticipated expiration legal-status Critical
Expired - Fee Related 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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/21Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device
    • G05B19/23Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control
    • G05B19/231Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control the positional error is used to control continuously the servomotor according to its magnitude
    • G05B19/232Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control the positional error is used to control continuously the servomotor according to its magnitude with speed feedback only
    • 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/41Servomotor, servo controller till figures
    • G05B2219/41422Correction stored position while motor, power off, drive - encoder not connected
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50084Keep position, setup parameters in memory

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 〈産業上の利用公費〉 本発明は指令位置復元方法に係り、特に電源切断により
消失した指令位置を復元する指令位置復元方法に関する
〈従来技術〉 パルスコーダから発生するパルスを回転方向に応じて計
数して機械位置を記憶すると共に、電源が切断されても
該機械位置を記憶し続けろカウンタを備えた数値制御シ
ステムがある。かかるパルスコーダとカウンタより成る
アブソリュート・パルスコーダを含む数値制御システム
においては、機械据付時に一度だけリファレンス点復帰
を行えば、以後電源投入毎にリファレンス点復帰を行う
必要はなく直ちに自動運転を開始することができる。
〈発明が解決しようとしている問題点〉さて、NG制御
に際して指令位置(指令パルスに応じた位置)を用いず
、機械位置のみを用いて数値制御を行うNCシステムに
おいてはリファレンス復帰する必要がないためアブソリ
ュート・パルスコーダは橿めて有効である。
しかし、機械位置に加えて指令位置を用いる数値制御シ
ステムにおいては指令位置を復元する必要がある。機械
位置と指令位置が等しければ同等問題はないが、通常指
令位置と機械位置は異なっている。というのは、機械可
動部は指令パルスにより移動されると共に、その位置は
ピッチエラー補正、真直度補正など各種補正処理によし
補正されるからである。
以上から、本発明の目的は簡単な方法で、かつ正確に、
電源投入時における機械位置に応じた指令位置を得るこ
とができる数値制御システムにおける指令位置復元方法
を提供することである。
〈問題点を解決するための手段〉 第1図は本発明の1実施例である数値制御システムのブ
ロック図である。
11はNC装置、12はパルス分配器、13は合成回路
、14はサーボ回路、15はモータ、16はアブソリュ
ート・パルスコーダである。
NC装置11は通路制御手段11aと、機械位置補正手
段11bと、バッテリーバックアツプRAM11c等を
有している。
アブソリニート・パルスコーダ16はパルスコーダ16
aと、該パルスを回転方向に応じて計数して機械位置を
記憶すると共に、電源が切断されても該機械位置を記憶
するカウンタ16bを有している。
く作用〉 予めリファレンス点復帰時におけるカウンタ16bの計
数値CRAをバッテリーバックアップRAM11cに記
憶しておく。NC装置11の通路制御手段11aは電源
投入後、カウンタ16bの計数値CAとRA M 11
 cに記憶されている計数値CRAの差分に基づいて仮
の補間制御を行って指令位置CPを零から更新し、かつ
機械位置をC−から更新する。
機械位置補正手段11bは前記仮補間制御と並行して機
械位置を補正するための補正処理を行い、補正が必要な
場合には通路制御手段11mは前記機械位置CRAを補
正する。
以後、CRA=CAとなる迄前記仮補間処理と補正処理
を行い、CFIA=CAとなった時の02を電源投入時
の機械位置に応じた指令位置とする。
〈実施例〉 第1図は本発明の1実施例である数値制御システムのブ
ロック図、第2図は本発明の処理の流れ図である。尚、
第1図においてNC装置以外の部分は1軸分のみ示して
いるが、他の軸についても同一構成になっている。
第1図において、11はNC装置、12はパルス分配器
、13は合成回路、14はサーボ回路、15はモータ、
16はアブソリュート・パルスコーダである。
NC装置11は通路制御手段(通路制御プログラム)1
1aと、機械位置補正手段(補正処理プログラム)11
bと、パラメータ等を記憶するバッテリーバックアップ
RAM11aと、ワーキングメモリ11dを有している
サーボ回路14はパルス分配器12から出力さスPFと
の差分を記憶するエラーレジスタ14aと、差分に比例
したアナログ電圧を出力するDA変換器14bと、速度
制御回路14cを有している。
アブソリュート・パルスコーダ16はモータ15の回転
と同期して回転すると共に所定角度の回転毎にフィード
バックパルスP、を発生するパルスコーダ16aと、該
パルスを回転方向に応じて計数して機械位置を記憶する
と共に、電源が切断されても該機械位置を記憶する力°
ウンタ16bを有している。
以下、第1図、第2図に従って本発明にかかる指令位置
復元方法を説明する。尚、バッテリーバックアップRA
M11cにはリファレンス点復帰時におけるカウンタ1
6bの計数値CRA(xl、lA。
Yい)が記憶されており、又現在電源切断中でありカウ
ンタ16bには電源切断前の機械位置CA(xA、YA
)が記憶されているものとする。更に、第1図には1軸
分しか示していないが以下においてはX、Yの2軸につ
いて説明する (11 N C装置11の電源を投入する。
(2)電源投入により、通路制御手段11aはアブソリ
ュート・パルスコーダ16のカウンタ16bに記憶され
ている機械位置(xA、YA)を読み取ってワーキング
メモリ11Cに記憶する。
以後、機械可動部を停止した状態で(マシーンロック)
、仮の補間処理を行いながら機械位置をリファレンス点
(xMA、Yl、A)から更新すると共に、指令位置を
零から更新する。すなわち、(3)通路制御手段11a
は次式 %式% によりリファレンス点から電源投入時の機械位置迄のイ
ンクリメンタル量X、、Y、を算出する。
(4)インクリメンタル量算出後、各軸インクリメンタ
ル量と指令速度Fとを用いて、予めパラメータ設定され
ている時間ΔTの間に各軸方向に移動すべき移動lΔx
1ΔYを次式 %式% により演算する。
(5)ついで、Δx>xA−xMAかどうかをチェック
し、rYEsJであればxA−x□→ΔXとすると共に
7ラグFxJ9!+1”としく1→Fx)、「NO」で
あれば何もせず、 又ΔY>YA−YAAかどうかをチェックし、[YES
]であればYA−Yい→ΔYとすると共に7ラグFYを
”1″としく1→F、) 、rNoコであれば何もせず
次のステップへ進む。
(6)ついで、次式 %式% により機械位置をリファレンス点から更新する(符号は
移動方向に依存する)。
又、次式 %式% により指令位置(Xp、 Y、)を更新する(XP。
Ypの初期値は0であり、符号は移動方向に依存する)
(7)ついで、機械位置補正手段11bは指令位置(x
p、Yp)アルイハ機械位置(xMA、Yl、LA)ヲ
用いてピッチエラー補正処理等の機械位置補正処理を実
行する。
さて、実際のピッチエラー補正処理は以下のように行わ
れる。尚、予め各軸方向(X軸方向、Y軸方向)毎にそ
の移動範囲を複数の区間に分割し、たとえばX軸方向に
ついは移動範囲をAX、(i=1.2.・・・)に分割
し、各区間に対応してピッチ誤差補正量EX、(i =
1.2.  ・・)を記憶させておく。そして、指令位
置あるいは機械位置が所定の区間AX、に進入した際、
該区間に対応する前記ピッチ補正量EX、を続出して、
該補正量EX、と移動方向とに基づいて、所定方向にE
X。
個の補正パルスP8を発生して機械位置を補正する。
従って、機械位置補正手段11bは指令位置あるいは機
械位置を用いて上記の機械位置補正処理を行い、補正が
必要かどうかを判断する。
(8)補正が必要でなければステップ(11の処理へ進
み、補正が必要であれば次式 %式% によね機械位置を補正する。
(9)ついで、フラグFxが”1”かどうかをチェック
し1”でなければ、フラグFvが1”かどうかをチェッ
クしn1″でなければ次の第10ステツプへ進む。
しかし、Fx=″1″であれば次式 %式% により、F、=″1″であれば次式 Y  EY→Y  、Y  EY、→Yいによりそれぞ
れ指令位置(Xp、 YP) 、機械位置(xRA、Y
FIA)を更新する。
尚、この第9ステツプの処理は、最後の補間処理におい
てEX、あるいはEY、の補正があった時、その分の指
令量を機械位置から減算しないと、第10ステツプでx
A−xMA=0.YA−YMA;0とならないからであ
る。そして、指令位置については機械位置と同様な減算
処理をしなければならないからである。
(11以上の処理後、xA−xl、lA=:0、YA−
Y−=0であるかを判断し、「YES」であればその時
の(xP、 yP)が電源投入時における機械位置であ
るとして処理を終了し、「NO」であればステップ(5
)以降の処理を繰り返す。
〈発明の効果〉 以上本発明によれば、予めリファレンス点復帰時におけ
るアブソリュート・パルスコーダのカウンタの計数値C
RAを記憶しておき、電源投入後、該カウンタの計数値
CAと計数値CRAの差分に基づいて仮の補間制御を行
って指令位置CPを零から更新し、かつ機械位置をCA
Aから更新し、との仮補間制御と並行して機械位置を補
正するための補正処理を行い、補正が必要な場合には前
記機械位置CRAを補正パルスに基づいて補正し、CR
A=CAとなる迄前記仮補間処理と補正処理を行い、C
FIA=CAとなった時のCPを電源投入時の機・械位
置に応じた指令位置とするように構成したから、簡単な
方法で、かつ正確に、電源投入時における機械位置に応
じた指令位置を得ることができる。
【図面の簡単な説明】
第1図は本発明の1実施例である数値制御システムのブ
ロック図、 第2図は本発明の処理の流れ図である。 11・・NC装置、 11a・・通路制御手段(通路制御プログラム)11b
・・機械位置補正手段(補正処理プログラム) 11C・・バッテリーバックアップRAM。 16・・アブソリュート・パルスコーダ、16a令・パ
ルスコーダ、 16b・・カウンタ 特許出願人        ファナック株式会社代理人
          弁理士  東藤千幹第2図(A)

Claims (1)

  1. 【特許請求の範囲】 通路制御機能と機械位置補正機能とを有するNC装置と
    、NC装置からの指令に基づいて回転し機械可動部を駆
    動するモータと、該モータの回転と同期して回転すると
    共に所定角度の回転毎にパルスを発生するパルスコーダ
    と、該パルスを回転方向に応じて計数して機械位置を記
    憶すると共に、電源が切断されても該機械位置を記憶す
    るカウンタとを備えた数値制御システムにおける指令位
    置復元方法において、 予めリファレンス点復帰時における前記カウンタの計数
    値C_R_Aを不揮発性メモリあるいはバッテリーバッ
    クアップRAMに記憶しておき、 電源投入後、該カウンタの計数値C_Aと前記計数値C
    _R_Aとの差分に基づいて仮の補間制御を行って指令
    位置C_Pを零から更新し、かつ機械位置をC_R_A
    から更新し、 前記仮補間制御と並行して機械位置を補正するための補
    正処理を行い、 補正が必要な場合には前記機械位置C_R_Aを補正し
    、 C_R_A=C_Aとなる迄前記仮補間処理と補正処理
    を行い、C_R_A=C_Aとなった時のC_Pを電源
    投入時の機械位置に応じた指令位置とすることを特徴と
    する指令位置復元方法。
JP61091844A 1986-04-21 1986-04-21 電源切断前の指令上の機械位置復元方法 Expired - Fee Related JP2667150B2 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61091844A JP2667150B2 (ja) 1986-04-21 1986-04-21 電源切断前の指令上の機械位置復元方法
US07/145,754 US4864508A (en) 1986-04-21 1987-04-21 Method of restoring commanded position
DE8787902739T DE3785153T2 (de) 1986-04-21 1987-04-21 Verfahren zur rueckbildung einer befehlsstellung.
PCT/JP1987/000250 WO1987006729A1 (en) 1986-04-21 1987-04-21 Method of reconstituting instruction position
EP87902739A EP0268683B1 (en) 1986-04-21 1987-04-21 Method of reconstituting instruction position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61091844A JP2667150B2 (ja) 1986-04-21 1986-04-21 電源切断前の指令上の機械位置復元方法

Publications (2)

Publication Number Publication Date
JPS62247405A true JPS62247405A (ja) 1987-10-28
JP2667150B2 JP2667150B2 (ja) 1997-10-27

Family

ID=14037889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61091844A Expired - Fee Related JP2667150B2 (ja) 1986-04-21 1986-04-21 電源切断前の指令上の機械位置復元方法

Country Status (5)

Country Link
US (1) US4864508A (ja)
EP (1) EP0268683B1 (ja)
JP (1) JP2667150B2 (ja)
DE (1) DE3785153T2 (ja)
WO (1) WO1987006729A1 (ja)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01146642A (ja) * 1987-12-03 1989-06-08 Fanuc Ltd 切削工具の停止制御装置
IT1223863B (it) * 1988-10-24 1990-09-29 Comau Spa Dispositivo per determinare e rilevare la posizione raggiunta da un organo mobile particolarmente per il controllo di automi industriali
KR910005243B1 (ko) * 1988-12-30 1991-07-24 삼성전자 주식회사 지수함수적 가감속에 의한 서보모터의 위치제어장치 및 방법
JPH02302803A (ja) * 1989-05-18 1990-12-14 Fanuc Ltd ピッチ誤差補正データの書き換え方式
JP2761427B2 (ja) * 1990-04-26 1998-06-04 ファナック株式会社 ピッチ誤差補正方式
US5323309A (en) * 1992-01-30 1994-06-21 Siemens Industrial Automation, Inc. Algorithm for optimizing data sampling in a discrete periodic system with a bounded rate of change for the discrete system periods
US20110054639A1 (en) * 2008-02-01 2011-03-03 Luca Pazzi Method for ensuring safety and liveness rules in a state based design
US8214415B2 (en) 2008-04-18 2012-07-03 Motion Engineering Incorporated Interpolator for a networked motion control system
CN106113039B (zh) * 2016-07-08 2018-06-15 深圳市优必选科技有限公司 舵机锁位控制方法及舵机

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3691357A (en) * 1970-09-21 1972-09-12 Litton Industries Inc Positioning control system having memory for a machine tool
JPS5431153B2 (ja) * 1972-05-02 1979-10-04
JPS5218868B2 (ja) * 1972-05-09 1977-05-24
JPS5294995A (en) * 1976-02-06 1977-08-10 Toshiba Corp Numerical control system
US4045660A (en) * 1976-04-29 1977-08-30 Cincinnati Milacron Inc. Method and apparatus for automatically realigning a machine element to a predetermined position after power interruption
JPS5451079A (en) * 1977-09-29 1979-04-21 Toshiba Corp Numerical control apparatus
JPS5642806A (en) * 1979-09-18 1981-04-21 Fanuc Ltd Sequence control system for numerical control machine tool
US4484287A (en) * 1980-09-30 1984-11-20 Fujitsu Fanuc Limited System for restoring numerically controlled machine tool to former condition
JPS58127208A (ja) * 1982-01-26 1983-07-29 Amada Co Ltd 工作機械の位置決め制御装置

Also Published As

Publication number Publication date
EP0268683A4 (en) 1990-02-06
DE3785153D1 (de) 1993-05-06
JP2667150B2 (ja) 1997-10-27
DE3785153T2 (de) 1993-07-15
EP0268683B1 (en) 1993-03-31
US4864508A (en) 1989-09-05
WO1987006729A1 (en) 1987-11-05
EP0268683A1 (en) 1988-06-01

Similar Documents

Publication Publication Date Title
JP4299805B2 (ja) テーブル形式データを用い工具補正を行う数値制御装置
EP0012620A2 (en) Closed loop type numerical-controlled machine tool
US4085890A (en) Position detecting system
JPS62247405A (ja) 指令位置復元方法
JPH03260708A (ja) 位置誤差補正方法
US5043644A (en) Machining program correcting method
US4101817A (en) Position-correctable numerical control system
JP2558252B2 (ja) 原点復帰方法
JPH02146607A (ja) Nc移動指令補間方式
EP0200788B1 (en) Method of returning rotary shaft to reference point
EP0372082B1 (en) Method for returning to origin
JPS6232804B2 (ja)
US4740901A (en) Distance-of-travel measuring equipment for numerical controller
JPS59201107A (ja) 数値制御加工再開制御方式
JPH01147608A (ja) 位置決め誤差補正方式
JPS60239804A (ja) 位置誤差補正方法
JP2629758B2 (ja) 軌跡補正方法
JPH0244405A (ja) センサーロボット
JPH03111913A (ja) クローズド・ループ方式によるサーボモータの制御方式
JPS61138310A (ja) ロボツト制御装置
JPH02195402A (ja) 主軸回転速度補正方式
JPH03171206A (ja) 各軸がサーボ機構で構成されている多軸機械
JPH0922311A (ja) Cncの円弧加工制御方式
JPH01274218A (ja) 産業用ロボットの軌跡補正方式
JPS63205706A (ja) 円弧加工制御方式

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees