JPH0356845B2 - - Google Patents
Info
- Publication number
- JPH0356845B2 JPH0356845B2 JP3844484A JP3844484A JPH0356845B2 JP H0356845 B2 JPH0356845 B2 JP H0356845B2 JP 3844484 A JP3844484 A JP 3844484A JP 3844484 A JP3844484 A JP 3844484A JP H0356845 B2 JPH0356845 B2 JP H0356845B2
- Authority
- JP
- Japan
- Prior art keywords
- command value
- value
- time
- drilling machine
- positioning
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical 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 program data in numerical form
- G05B19/19—Numerical 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 program 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/39—Numerical 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 program 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 a combination of the means covered by at least two of the preceding groups G05B19/21, G05B19/27 and G05B19/33
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Automatic Control Of Machine Tools (AREA)
- Drilling And Boring (AREA)
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、セミクローズドループによるNC
ボール盤において、NCボール盤の移動中に加工
指令値に対する誤差を管理値として求めるもので
ある。[Detailed Description of the Invention] [Industrial Application Field] This invention provides an NC system using a semi-closed loop.
In a drilling machine, the error with respect to the machining command value is determined as a control value while the NC drilling machine is moving.
[従来の技術]
次に、従来技術による位置決め機構の構成図を
第1図により説明する。第1図の1はCPU、2
はアツプダウンカウンタ、3はD/A変換器、4
はサーボ増幅器、5はモータ、6はタコジエネレ
ータ、7はパルス発生器、8は方向判別器、9は
移動テーブル、10は測長回路である。[Prior Art] Next, a configuration diagram of a positioning mechanism according to the prior art will be explained with reference to FIG. 1. 1 in Figure 1 is the CPU, 2
is an up-down counter, 3 is a D/A converter, 4
5 is a servo amplifier, 5 is a motor, 6 is a tachometer generator, 7 is a pulse generator, 8 is a direction discriminator, 9 is a moving table, and 10 is a length measuring circuit.
第1図の2〜8がセミクローズドループを構成
する。測長回路10は2〜8のループ外に配置さ
れている。 2 to 8 in FIG. 1 constitute a semi-closed loop. The length measuring circuit 10 is arranged outside the loops 2 to 8.
次に、第1図のタイムチヤートを第2図により
説明する。第2図の時間T1は移動テーブル9の
位置決め時間、時間T2は位置決めエラー管理時
間、時間T3は加工時間であり、例えば移動距離
が254mmの場合、T1=100ms、T2=20ms、T3=
100ms程度が必要になる。時間T2は機械系が振
動している時間である。 Next, the time chart shown in FIG. 1 will be explained with reference to FIG. 2. In Fig. 2, time T 1 is the positioning time of the moving table 9, time T 2 is the positioning error management time, and time T 3 is the machining time. For example, when the moving distance is 254 mm, T 1 = 100 ms, T 2 = 20 ms. , T 3 =
Approximately 100ms is required. Time T 2 is the time during which the mechanical system is vibrating.
次に、第1図のフローチヤートを第6図により
説明する。 Next, the flowchart of FIG. 1 will be explained with reference to FIG.
ステツプ41では、CPU1はアツプダウンカ
ウンタ2に加工指令値XNを与える。 In step 41, the CPU 1 gives the up-down counter 2 a machining command value XN .
ステツプ42では、アツプダウンカウンタ2は
加工指令値XNをダウンカウントし、そのカウン
ト値をD/A変換器3に伝える。以下、サーボ増
幅器4、モータ5、タコジエネレータ6、パルス
発生器7および方向判別器8によるセミクローズ
ドループにより加工指令値XNになるまで移動テ
ーブル9を移動させる。 In step 42, the up-down counter 2 counts down the machining command value XN and transmits the count value to the D/A converter 3. Thereafter, the moving table 9 is moved in a semi-closed loop using the servo amplifier 4, motor 5, tachometer generator 6, pulse generator 7, and direction discriminator 8 until the machining command value XN is reached.
ステツプ43では、加工指令値XNが0になり、
位置決めが完了したかどうかを判定する。位置決
めが完了していない場合は、ステツプ42から繰
り返し、完了していればステツプ44で、タイマ
により機械系の振動がおさまる間、一定時間停止
する。 In step 43, the machining command value X N becomes 0,
Determine whether positioning is complete. If the positioning is not completed, the process repeats from step 42, and if it is completed, the process is stopped at step 44 for a certain period of time until the vibration of the mechanical system is stopped by a timer.
ステツプ45では、CPU1が測長回路10で
移動テーブル9の現在位置XQを読み取る。 In step 45, the CPU 1 reads the current position XQ of the moving table 9 using the length measuring circuit 10.
ステツプ46では、加工指令値XN−現在位置
XQ=管理値XRを計算する。 In step 46, machining command value X N - current position
Calculate X Q = control value X R.
ステツプ47では、管理値XRが予め決められ
ている最大許容誤差XTより小さいかどうかを判
定し、大きい場合はステツプ48でエラー表示を
し、小さい場合はステツプ49で穴明け加工をす
る。 In step 47, it is determined whether the control value X R is smaller than a predetermined maximum allowable error XT . If it is larger, an error is displayed in step 48, and if it is smaller, a hole is drilled in step 49.
[発明が解決しようとする課題]
第6図のステツプ41からステツプ43までが
位置決め時間T1、ステツプ44が位置決めエラ
ー管理時間T2となる。[Problems to be Solved by the Invention] Steps 41 to 43 in FIG. 6 are the positioning time T 1 , and step 44 is the positioning error management time T 2 .
第6図の動作では、機械系が振動している状態
で測長回路10の測定値を正確に読み取ることが
できない。そこで、振動がおさまるまで待合せを
しなければならないので、測定時間にロスが生じ
この発明は、NCボール盤の移動中に加工指令値
に対する管理値を求めるようにし、第2図の時間
T2が時間T1と並列に進行するようにして、加工
所要時間を短縮することを目的とする。 In the operation shown in FIG. 6, the measured value of the length measuring circuit 10 cannot be accurately read when the mechanical system is vibrating. Therefore, it is necessary to wait until the vibration subsides, resulting in a loss of measurement time.This invention calculates the control value for the machining command value while the NC drilling machine is moving, and the time shown in Fig. 2 is
The purpose is to shorten the processing time by making T 2 proceed in parallel with time T 1 .
[課題を解決するための手段]
この目的を達成するため、この発明では、測長
回路を別系統としてもち、セミクローズドループ
によりNCボール盤の位置を決める場合におい
て、前記NCボール盤に加工指令値XNを設定し、
移動テーブル9の移動を開始するとともに、前記
NCボール盤が加工指令値XNよりも指定値XSだけ
手前に達すると停止位置検出器で検出信号を出力
し、前記検出信号により前記加工指令値XN−前
記指定値XS=予測指令値XPを計算し、前記測長
回路で前記NCボール盤の現在位置XQを読み取
り、予測指令値XP−現在位置XQ=XRを計算によ
り求め、前記XRを前記位置決め機構の誤差の管
理値とする。[Means for Solving the Problems] In order to achieve this object, the present invention has a length measuring circuit as a separate system, and when determining the position of the NC drilling machine by a semi-closed loop, a machining command value X is provided to the NC drilling machine. Set N ,
At the same time as starting the movement of the moving table 9,
When the NC drilling machine reaches the designated value X S before the machining command value X N , the stop position detector outputs a detection signal, and the detection signal determines the machining command value X N - the designated value X S = predicted command value. Calculate X P , read the current position X Q of the NC drilling machine using the length measuring circuit, calculate the predicted command value X P - current position X Q = X R , and calculate the X R as the error of the positioning mechanism. Set as a management value.
[作用]
この発明は、第1図の位置決め機構に停止位置
検出器11を追加し、移動テーブル9が加工指令
値XNに達する前に位置決め精度を予測するよう
にしたものである。[Operation] In this invention, a stop position detector 11 is added to the positioning mechanism shown in FIG. 1, and the positioning accuracy is predicted before the moving table 9 reaches the processing command value XN .
以下、停止位置検出器11を含め、第1図の動
作を第3図のフローチヤートに従つて説明する。 The operation of FIG. 1, including the stop position detector 11, will be explained below with reference to the flowchart of FIG. 3.
ステツプ21では、CPU1からアツプダウン
カウンタ2に加工指令値XNを与える。 In step 21, a machining command value XN is given from the CPU 1 to the up-down counter 2.
ステツプ22では、第1図のアツプダウンカウ
ンタ2は加工指令値XNをダウンカウントし、そ
のカウント値をD/A変換器3に伝える。以下、
サーボ増幅器4、モータ5、タコジエネレータ
6、パルス発生器7および方向判別器8によるセ
ミクローズドループにより移動テーブル9を移動
させる。 In step 22, the up-down counter 2 in FIG. 1 counts down the machining command value XN and transmits the count value to the D/A converter 3. below,
The moving table 9 is moved by a semi-closed loop including the servo amplifier 4, motor 5, tachometer generator 6, pulse generator 7, and direction discriminator 8.
ステツプ23で、停止位置検出器11はアツプ
ダウンカウンタ2の値を読み取り、ステツプ24
でアツプダウンカウンタ2の値が指定値XSにな
ると検出信号をCPU1に出力する。指定値XSは、
例えば第2図の時間T2に相当する値にする。 In step 23, the stop position detector 11 reads the value of the up-down counter 2, and in step 24
When the value of the up-down counter 2 reaches the designated value XS , a detection signal is output to the CPU 1. The specified value XS is
For example, it is set to a value corresponding to time T 2 in FIG.
ステツプ25では、CPU1の指示により測長
回路10で、指定値XSでの移動テーブル9の現
在位置XQを読み取る。 In step 25, the length measuring circuit 10 reads the current position XQ of the movement table 9 at the specified value XS according to the instruction from the CPU 1.
ステツプ26では、加工指令値XN−指定値XS
=予測指令値XPを計算する。 In step 26, machining command value X N - specified value X S
= Calculate the predicted command value X P.
ステツプ27では、予測指令値XP−現在位置
XQ=管理値XRを計算する。XRは、セミクローズ
ドループによる値と測長回路10による実際の値
とのずれである。 In step 27, the predicted command value X P - current position
Calculate X Q = control value X R. X R is the difference between the value obtained by the semi-closed loop and the actual value obtained by the length measuring circuit 10.
ステツプ28では、最大許容誤差XTと管理値
XRの大小を判断する。XT<XRのときは、ステツ
プ29によりエラー表示をする。XT>XRのとき
は、ステツプ30により、アツプダウンカウンタ
2のカウント値が加工指令値XNに達したかどう
か判断する。 In step 28, the maximum allowable error X T and the control value
Determine the size of X R. If X T <X R , an error is displayed in step 29. When X T >X R , it is determined in step 30 whether the count value of the up-down counter 2 has reached the machining command value X N.
ステツプ3で、アツプダウンカウンタのカウン
ト値が加工指令値XNに達していない場合、ステ
ツプ31で加工指令値XNまで移動テーブル9を
移動し、ステツプ32で移動テーブル9の穴明け
加工をする。 If the count value of the up-down counter has not reached the machining command value X N in step 3, the moving table 9 is moved to the machining command value X N in step 31, and the drilling process is performed on the movable table 9 in step 32. .
このように、この発明はNCボール盤に加工指
令値XNを与えたとき、移動テーブル9の移動を
継続しながら、指定値XSに達したところで予測
指令値XPを求めて位置決め精度を予測し、現在
位置XQと比較して修正がいるかどうかを判断す
る。 In this way, when the processing command value X N is given to the NC drilling machine, the present invention predicts the positioning accuracy by calculating the predicted command value X P when the specified value X S is reached while continuing the movement of the moving table 9. Then, compare it with the current position X Q to determine whether correction is required.
すなわち、第3図では、移動テーブル9の位置
決め時間T1はステツプ22からステツプ28ま
でであり、位置決めエラー管理時間T2はステツ
プ24からステツプ28までである。 That is, in FIG. 3, the positioning time T 1 of the moving table 9 is from step 22 to step 28, and the positioning error management time T 2 is from step 24 to step 28.
次に、第2図に対応する実施例のタイムチヤー
トを第4図により説明する。第2図では時間T1,
T2およびT3が直列になつていが、第4図では時
間T2が時間T1と並列になつている。 Next, a time chart of the embodiment corresponding to FIG. 2 will be explained with reference to FIG. 4. In Figure 2, time T 1 ,
Although T 2 and T 3 are in series, time T 2 is in parallel with time T 1 in FIG. 4.
このため、加工所要時間が第2図ではT1+T2
+T3になるが、第4図ではT1+T3ですむ。すな
わち、第4図の場合は第2図の場合に比べて時間
T2だけ加工所要時間が短くなる。 Therefore, the required processing time is T 1 + T 2 in Figure 2.
+T 3 , but in Figure 4 it is just T 1 +T 3 . In other words, in the case of Figure 4, the time is shorter than in the case of Figure 2.
The processing time is reduced by T 2 .
次に、第3図と第4図の関係図を第5図により
説明する。第5図の曲線Cは機械系の動きを示し
たものであり、時間T2の範囲では機械系が振動
していることを示す。 Next, the relationship diagram between FIGS. 3 and 4 will be explained with reference to FIG. 5. Curve C in FIG. 5 shows the movement of the mechanical system, and shows that the mechanical system is vibrating in the range of time T2 .
この発明は、第5図から明らかなように機械系
が振動していないところで測長回路10の値を読
み、加工指令値XNよりも指定値XSだけ手前の予
測指令値XPに達した点C1のところで位置決め精
度を予測する。なお、第1図〜第6図は移動テー
ブル9のX軸について説明したものであるが、移
動テーブル9のY軸についても同じようにして位
置決め精度を予測する。 As is clear from FIG. 5, this invention reads the value of the length measuring circuit 10 when the mechanical system is not vibrating, and reaches the predicted command value X P , which is a specified value X S before the machining command value X N. The positioning accuracy is predicted at point C1 . Although FIGS. 1 to 6 describe the X-axis of the movable table 9, the positioning accuracy for the Y-axis of the movable table 9 is predicted in the same manner.
[発明の効果]
この発明によれば、移動テーブルが移動中に加
工指令値XNよりも指定値XSだけ手前のところで
予測指令値XPを計算するとともに、移動テーブ
ルの現在位置XQを求め、XP−XQを求め、XP−XQ
を加工指令値XNの管理値XRとしているので、加
工所要時間を短縮することができる。[Effects of the Invention] According to the present invention, while the moving table is moving, the predicted command value X P is calculated at a point a specified value X S before the machining command value X N , and the current position X Q of the moving table is calculated. Find X P −X Q , find X P −X Q
Since it is set as the control value X R of the machining command value X N , the required machining time can be shortened.
第1図は従来技術による位置決め機構の構成
図、第2図は第1図のタイムチヤート、第3図は
この発明による実施例のフローチヤート、第4図
はこの発明による実施例のタイムチヤート、第5
図は第3図と第4図の関係を示す図、第6図は第
1図のフローチヤートである。
1……CPU、2……アツプダウンカウンタ、
3……D/A変換器、4……サーボ増幅器、5…
…モータ、6……タコジエネレータ、7……パル
ス発生器、8……方向判別器、9……移動テーブ
ル、10……測長回路、11……停止位置検出
器。
FIG. 1 is a configuration diagram of a positioning mechanism according to the prior art, FIG. 2 is a time chart of FIG. 1, FIG. 3 is a flow chart of an embodiment according to the present invention, and FIG. 4 is a time chart of an embodiment according to the present invention. Fifth
This figure shows the relationship between FIGS. 3 and 4, and FIG. 6 is a flowchart of FIG. 1. 1... CPU, 2... Up-down counter,
3...D/A converter, 4...Servo amplifier, 5...
...Motor, 6...Tachometer generator, 7...Pulse generator, 8...Direction discriminator, 9...Movement table, 10...Length measurement circuit, 11...Stop position detector.
Claims (1)
ドループによりNCボール盤の位置を決める場合
において、 前記NCボール盤に加工指令値XNを設定し、移
動テーブル9の移動を開始するとともに、 前記NCボール盤が加工指令値XNよりも指定値
XSだけ手前に達すると停止位置検出器で検出信
号を出力し、 前記検出信号により前記加工指令値XN−前記
指定値XS=予測指令値XPを計算し、 前記測長回路で前記NCボール盤の現在位置XQ
を読み取り、 予測指令値XP−現在位置XQ=XRを計算により
求め、前記XRを前記位置決め機構の誤差の管理
値とすることを特徴とするNCボール盤の位置決
め方法。[Claims] 1. When having a length measurement circuit as a separate system and determining the position of an NC drilling machine using a semi-closed loop, set a processing command value X N to the NC drilling machine and start moving the moving table 9. At the same time, the NC drilling machine has a specified value that is lower than the machining command value X N.
When it reaches this side by X S , the stop position detector outputs a detection signal, and based on the detection signal, the machining command value X N - the specified value X S = predicted command value X P is calculated, and the length measuring circuit calculates the Current position of NC drilling machine X Q
A method for positioning an NC drilling machine, characterized in that the predicted command value X P - current position X Q = X R is obtained by calculation, and the X R is used as a control value for the error of the positioning mechanism.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3844484A JPS60186350A (en) | 1984-02-29 | 1984-02-29 | Positioning mechanism of nc drilling machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3844484A JPS60186350A (en) | 1984-02-29 | 1984-02-29 | Positioning mechanism of nc drilling machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60186350A JPS60186350A (en) | 1985-09-21 |
| JPH0356845B2 true JPH0356845B2 (en) | 1991-08-29 |
Family
ID=12525462
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3844484A Granted JPS60186350A (en) | 1984-02-29 | 1984-02-29 | Positioning mechanism of nc drilling machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60186350A (en) |
-
1984
- 1984-02-29 JP JP3844484A patent/JPS60186350A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60186350A (en) | 1985-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2807461B2 (en) | Three-dimensional shape processing laser device | |
| JP3405965B2 (en) | Thermal displacement compensation method for machine tools | |
| EP0169249B1 (en) | Automatic dynamic error compensator | |
| JPS6116568B2 (en) | ||
| US12298735B2 (en) | Machining time prediction device and machining time prediction method | |
| JPH01109057A (en) | Digitizing method | |
| US20150309498A1 (en) | Numerical control device for machine tool | |
| KR0132901B1 (en) | Numerical control apparatus | |
| US4740901A (en) | Distance-of-travel measuring equipment for numerical controller | |
| JP2581725B2 (en) | Three-dimensional shape processing laser device | |
| JPH07210228A (en) | Control method for measuring system using NC machine tool | |
| JP3648858B2 (en) | Spindle synchronous control method and apparatus | |
| JPS60146652A (en) | Tool length measuring method | |
| JPH0237524B2 (en) | ||
| JPS6232804B2 (en) | ||
| US20190257883A1 (en) | Parameter determination support device, and non-transitory computer-readable medium encoded with program | |
| JP2000231412A (en) | In-position check method and device | |
| JPS6119896Y2 (en) | ||
| JP2844137B2 (en) | Positioning control device | |
| JPS60186350A (en) | Positioning mechanism of nc drilling machine | |
| JPS63191552A (en) | Numerically controlled (nc) machine tool equipped with measurement probe error compensation function | |
| JPH0783976B2 (en) | Lathe thermal displacement compensation method | |
| JPS597546A (en) | Measuring method of tool length | |
| JPS63278746A (en) | Monitor device for machining abnormality | |
| JP2796346B2 (en) | Correction method of gap detector for laser beam machine |