JPH0521703B2 - - Google Patents

Info

Publication number
JPH0521703B2
JPH0521703B2 JP60240293A JP24029385A JPH0521703B2 JP H0521703 B2 JPH0521703 B2 JP H0521703B2 JP 60240293 A JP60240293 A JP 60240293A JP 24029385 A JP24029385 A JP 24029385A JP H0521703 B2 JPH0521703 B2 JP H0521703B2
Authority
JP
Japan
Prior art keywords
slider
origin
servo motor
pulse generator
reference surface
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.)
Expired - Lifetime
Application number
JP60240293A
Other languages
Japanese (ja)
Other versions
JPS62102948A (en
Inventor
Mitsutate Akutsu
Sadakazu Sugyama
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP24029385A priority Critical patent/JPS62102948A/en
Publication of JPS62102948A publication Critical patent/JPS62102948A/en
Publication of JPH0521703B2 publication Critical patent/JPH0521703B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、NC工作機械等の送り装置におい
て、その機械座標の原点を設定する方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application This invention relates to a method for setting the origin of machine coordinates in a feed device such as an NC machine tool.

従来の技術 位置検出器としてパルスジエネレータをもつ送
り装置において、機械立ち上げ時あるいは停電後
の復帰に際して機械座標系の原点を設定する方法
としては、リミツトスイツチを併用した方法が知
られている。
2. Description of the Related Art In a feeding device having a pulse generator as a position detector, a method using a limit switch is known as a method for setting the origin of a machine coordinate system when starting up the machine or returning after a power outage.

これは、原点位置検出用のリミツトスイツチに
テーブル等のスライダが当接するまで低速で後退
させ、リミツトスイツチの出力とパルスジエネレ
ータのZ相との論理積をとつて座標レジスタのカ
ウントデータをクリアする方式である。
This is a method in which a slider such as a table is moved back at low speed until it comes into contact with a limit switch for detecting the origin position, and the count data in the coordinate register is cleared by performing the logical product of the output of the limit switch and the Z phase of the pulse generator. be.

上記の方式はマニユアル方式であるために原点
設定が完了するまでに長時間を要し、最近ではリ
ミツトスイツチに代えてアブソリユードタイプの
ポテンシヨメータを用いることで座標原点の設定
を自動化したものが提案されている。
Since the above method is a manual method, it takes a long time to complete the origin setting.Recently, there are systems that automate the coordinate origin setting by using an absolute type potentiometer instead of a limit switch. Proposed.

第2図は位置検出器としてパルスジエネレータ
とポテンシヨメータとを併用したサーボ式送り装
置の一例を示すもので、スライダ1にはサーボモ
ータ2とボールスクリユー3とにより送りが与え
られる。サーボモータ2の主軸にはタコジエネレ
ータ4、パルスジエネレータ5およびポテンシヨ
メータ6が結合されており、タコジエネレータ4
の出力をサーボ制御装置7に送つて速度フイード
バツクループを形成している。
FIG. 2 shows an example of a servo-type feed device that uses both a pulse generator and a potentiometer as a position detector, and the slider 1 is fed by a servo motor 2 and a ball screw 3. A tachogenerator 4, a pulse generator 5, and a potentiometer 6 are connected to the main shaft of the servo motor 2.
The output is sent to the servo control device 7 to form a speed feedback loop.

パルスジエネレータ5はA相、B相およびZ相
出力をもち、その出力をNC制御装置8にとり込
んでカウンタ9で計数し、スライダ1の現在位置
データとしてCPU10に入力する。他方、ポテ
ンシヨメータ6はスライダ1のアブソリユード位
置(絶対位置)を電圧変化として出力し、A/D
変換器11によりボールスクリユー3のリード分
の分解能でデイジタル化して量子化したのちに
CPU10に入力する。14はCPU10への入力
データおよび演算データ等を記憶するメモリであ
る。
The pulse generator 5 has A-phase, B-phase, and Z-phase outputs, and the outputs are input to the NC control device 8, counted by a counter 9, and inputted to the CPU 10 as current position data of the slider 1. On the other hand, the potentiometer 6 outputs the absolute position of the slider 1 as a voltage change, and outputs the absolute position of the slider 1 as a voltage change.
After being digitized and quantized by the converter 11 with a resolution equal to the lead of the ball screw 3,
Input to CPU10. 14 is a memory for storing input data to the CPU 10, calculation data, etc.

上記の送り装置の機械座標系の原点設定は第3
図の手順で行われる。
The origin setting of the mechanical coordinate system of the above feeder is the third
The procedure is as shown in the figure.

入力装置12からCPU10へ所定の動作指令
が入ると、CPU10はサーボ制御装置7に対し
位置偏差を速度指令として出力してスライダ1に
送りを与え、スライダ1を基準面13に当接する
まで一定速度で後退させる。
When a predetermined operation command is input from the input device 12 to the CPU 10, the CPU 10 outputs the positional deviation as a speed command to the servo control device 7, feeds the slider 1, and keeps the slider 1 at a constant speed until it contacts the reference surface 13. to retreat.

そして、スライダ1が基準面13に当接したこ
とを確認して入力装置12の指令を断つ。この
時、CPU10はスライダ1が停止した位置のパ
ルスジエネレータ5およびポテンシヨメータ6の
位置データをそれぞれメモリ14に記憶する。
Then, after confirming that the slider 1 has come into contact with the reference surface 13, the command from the input device 12 is cut off. At this time, the CPU 10 stores in the memory 14 the position data of the pulse generator 5 and the potentiometer 6 at the position where the slider 1 has stopped.

さらに、入力装置12から原点設定指令と原点
オフセツトデータがCPU10に入ると、PCU1
0は先にメモリ14に記憶した位置データと前記
の原点オフセツトデータとにより、機械座標の原
点の演算を行つて設定する。ここにいう原点オフ
セツトデータは、NC座標上の原点と、スライダ
1が基準面13に当接した位置との間のオフセツ
ト量であり、機械組み立て時に一義的に定まる既
知の値である。
Furthermore, when the origin setting command and origin offset data are input to the CPU 10 from the input device 12, the PCU 1
0 is set by calculating the origin of the machine coordinates using the position data previously stored in the memory 14 and the origin offset data. The origin offset data referred to here is the amount of offset between the origin on the NC coordinates and the position where the slider 1 abuts the reference surface 13, and is a known value that is uniquely determined at the time of machine assembly.

発明が解決しようとする問題点 上記の方法では、原点設定時に単にスライダ1
の後端面を基準面13に一定速度で押し当てるだ
けであるため、スライダ1が基準面13に及ぼす
押付力が一定している保証がない。そのため、サ
ーボモータ2のトルクがばらつくとスタイダ1ま
たは基準面13のたわみ量がミクロン単位で変動
してしまい、機械座標系の原点がずれて精度を低
下させることになる。
Problems to be Solved by the Invention In the above method, when setting the origin, the user simply moves the slider 1.
Since the rear end surface is simply pressed against the reference surface 13 at a constant speed, there is no guarantee that the pressing force exerted by the slider 1 on the reference surface 13 is constant. Therefore, if the torque of the servo motor 2 varies, the amount of deflection of the styder 1 or the reference surface 13 will vary in units of microns, which will shift the origin of the mechanical coordinate system and reduce accuracy.

問題点を解決するための手段 本発明は、原点設定時のサーボモータのトルク
が所定の値を越えないように保証することで、原
点位置精度の向上を図ろうとするものである。具
体的には、スライダに所定の送りを与えて基準面
に押し当てるに際して、サーボモータの電流を制
限して該サーボモータのトルクが所定の値を越え
ないように制御するものである。
Means for Solving the Problems The present invention attempts to improve the accuracy of the origin position by ensuring that the torque of the servo motor does not exceed a predetermined value when setting the origin. Specifically, when the slider is given a predetermined feed and pressed against the reference surface, the current of the servo motor is limited so that the torque of the servo motor does not exceed a predetermined value.

実施例 第1図に示すように、基本的な原点設定動作は
従来と同様であるが、スライダ1を後退させて基
準面13に押し当てるに際し、ステツプおよび
ステツプにおいてCPU10からサーボ制御装
置7に所定の速度指令を与えると同時に、電流制
限指令を与えてサーボモータ2のトルクが予め設
定されたある一定の値を越えないように制御す
る。
Embodiment As shown in FIG. 1, the basic origin setting operation is the same as the conventional one, but when retracting the slider 1 and pressing it against the reference surface 13, the CPU 10 sends the servo control device 7 a predetermined command in step and step. At the same time, a current limit command is given to control the torque of the servo motor 2 so that it does not exceed a certain preset value.

すなわち、原点設定時にはスライダ1に対して
通常運転時よりも低速の一定速度の送りを与える
ものであるが、それと併行して電流制限をかけ
て、スライダ1が基準面13に当接した時にその
基準面13に及ぼす押付力がある一定の値以上大
きくならないように制御する。
In other words, when setting the origin, the slider 1 is fed at a constant speed that is slower than during normal operation, but at the same time, current is limited so that when the slider 1 contacts the reference surface 13, The pressing force exerted on the reference surface 13 is controlled so as not to exceed a certain value.

その結果、原点設定動作を繰り返し行つても、
基準面13に対するスライダ1の押付力が常にあ
る一定の範囲内におさまることになる。
As a result, even if the origin setting operation is repeated,
The pressing force of the slider 1 against the reference surface 13 always falls within a certain range.

発明の効果 このように本発明によれば、基準面にスライダ
を押し当てる際のサーボモータのトルクが所定の
値を越えないように制御することにより、原点設
定を何回行つても基準面あるいはスライダのたわ
み量を常に一定に保つことができ、原点位置の誤
差を少なくして位置決め精度の向上と信頼性の向
上を図ることができる。
Effects of the Invention As described above, according to the present invention, by controlling the torque of the servo motor when pressing the slider against the reference surface so as not to exceed a predetermined value, no matter how many times the origin setting is performed, the reference surface or The amount of deflection of the slider can always be kept constant, and the error in the origin position can be reduced to improve positioning accuracy and reliability.

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

第1図は本発明方法の一実施例を示すフローチ
ヤート、第2図はサーボ式送り装置の一例を示す
説明図、第3図は従来の原点設定方法を示すフロ
ーチヤートである。 1……スライダ、2……サーボモータ、5……
パルスジエネレータ、6……ポテンシヨメータ、
7……サーボ制御装置、8……NC制御装置、1
3……基準面。
FIG. 1 is a flowchart showing an embodiment of the method of the present invention, FIG. 2 is an explanatory diagram showing an example of a servo feeder, and FIG. 3 is a flowchart showing a conventional origin setting method. 1...Slider, 2...Servo motor, 5...
Pulse generator, 6...potentiometer,
7... Servo control device, 8... NC control device, 1
3...Reference surface.

Claims (1)

【特許請求の範囲】 1 サーボモータにより送りが与えられるスライ
ダの位置検出器としてパルスジエネレータのほか
にアブソリユードタイプのポテンシヨメータを備
え、スライダに所定の送りを与えて該スライダを
基準面に押し当てたときのパルスジエネレータお
よびポテンシヨメータの位置データと、予め記憶
されている原点オフセツトデータとに基づいて機
械座標の原点を演算して設定する方法であつて、 スライダを基準面に押し当てるに際して、サー
ボモータの電流を制限して該サーボモータのトル
クが所定の値を越えないように制御することを特
徴とするNC送り装置の座標原点設定方法。
[Claims] 1. In addition to a pulse generator, an absolute type potentiometer is provided as a position detector for a slider fed by a servo motor, and a predetermined feed is given to the slider to move the slider to a reference plane. This method calculates and sets the origin of the machine coordinates based on the position data of the pulse generator and potentiometer when the slider is pressed against the slider, and the origin offset data stored in advance. 1. A method for setting a coordinate origin of an NC feeding device, the method comprising: controlling the current of a servo motor so that the torque of the servo motor does not exceed a predetermined value when the servo motor is pressed against the servo motor.
JP24029385A 1985-10-26 1985-10-26 Coordinate origin setting method for nc feeding device Granted JPS62102948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24029385A JPS62102948A (en) 1985-10-26 1985-10-26 Coordinate origin setting method for nc feeding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24029385A JPS62102948A (en) 1985-10-26 1985-10-26 Coordinate origin setting method for nc feeding device

Publications (2)

Publication Number Publication Date
JPS62102948A JPS62102948A (en) 1987-05-13
JPH0521703B2 true JPH0521703B2 (en) 1993-03-25

Family

ID=17057322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24029385A Granted JPS62102948A (en) 1985-10-26 1985-10-26 Coordinate origin setting method for nc feeding device

Country Status (1)

Country Link
JP (1) JPS62102948A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5218867A (en) * 1975-07-30 1977-02-12 Heublein Inc Controll system with electric resistant heating means used in cooking solution

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5218867A (en) * 1975-07-30 1977-02-12 Heublein Inc Controll system with electric resistant heating means used in cooking solution

Also Published As

Publication number Publication date
JPS62102948A (en) 1987-05-13

Similar Documents

Publication Publication Date Title
US4401930A (en) Method of sensing position of movable body and apparatus therefor
US6316903B1 (en) Synchronous controller
US4743823A (en) Method and device for correcting backlash
EP1171808A4 (en) Method for controlling pivoting machine member
JPH032623B2 (en)
KR880002557B1 (en) Method and apparatus for controlling zero-point of movable element
JPH0521703B2 (en)
EP0419679B1 (en) Returning method to reference point
JPS6232801B2 (en)
JPH0615547A (en) Method and device for control of one or more axial lines in machine tool
JPH03164811A (en) Servo motor feed correcting method
JPH0563807B2 (en)
JPS6331875Y2 (en)
JP2788725B2 (en) Numerical control unit
JP2922617B2 (en) Designation method of pressing force direction in force control robot
JPS6329282B2 (en)
JPH07106536B2 (en) NC machine tool origin position correction device
JP2547395B2 (en) Absolute position detection method
JPH0344889B2 (en)
JP2896910B2 (en) Origin return method for moving parts in machine tools
JP3433817B2 (en) Feed control device
JP2597977B2 (en) Reference point setting method for position detection circuit
Chatterjee An Overview Of Computerized Numeric Control (CNC) And Programmable Logic Control (PLC) In Machine Automation
JP2001071235A (en) Numerical control device
JPS61184409A (en) Apparatus for detecting position of moving body