JPH0158008B2 - - Google Patents
Info
- Publication number
- JPH0158008B2 JPH0158008B2 JP9744882A JP9744882A JPH0158008B2 JP H0158008 B2 JPH0158008 B2 JP H0158008B2 JP 9744882 A JP9744882 A JP 9744882A JP 9744882 A JP9744882 A JP 9744882A JP H0158008 B2 JPH0158008 B2 JP H0158008B2
- Authority
- JP
- Japan
- Prior art keywords
- workpiece
- electrode
- value
- electric discharge
- contact
- 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
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23H—WORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
- B23H7/00—Processes or apparatus applicable to both electrical discharge machining and electrochemical machining
- B23H7/14—Electric circuits specially adapted therefor, e.g. power supply
- B23H7/18—Electric circuits specially adapted therefor, e.g. power supply for maintaining or controlling the desired spacing between electrode and workpiece
Landscapes
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
- Safety Devices In Control Systems (AREA)
Description
【発明の詳細な説明】
この発明は放電加工装置、特に電極と被加工物
を相対移動させて放電加工を行なうものに関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electric discharge machining apparatus, and particularly to an electric discharge machining apparatus that performs electric discharge machining by moving an electrode and a workpiece relative to each other.
第1図はこの種の放電加工装置の構成を示す。
同図において、まず、電極10と被加工物12は
加工液16を介して対向している。そして、放電
加工電源14が供給する電気エネルギーにより放
電加工が行なわれる。電極10と被加工物12の
相対運動は被加工物12を載せているXYテーブ
ル26の移動及び電極10の上下移動により行な
われる。テーブル26はX軸駆動モータ18とY
軸駆動モータ20により駆動される。また、電極
10はZ軸駆動モータ22により駆動される。こ
れにより、電極10と被加工物との相対運動が三
次元運動となる。XY軸の各駆動モータ18,2
0,22は制御装置24によつて制御される。こ
の制御装置は、たとえばCPU(中央処理装置)を
用いた情報処理装置によつて構成される。 FIG. 1 shows the configuration of this type of electrical discharge machining apparatus.
In the figure, first, the electrode 10 and the workpiece 12 are opposed to each other with the machining fluid 16 in between. Then, electrical discharge machining is performed using electrical energy supplied by the electrical discharge machining power supply 14. The relative movement between the electrode 10 and the workpiece 12 is performed by moving the XY table 26 on which the workpiece 12 is placed and moving the electrode 10 up and down. The table 26 is connected to the X-axis drive motor 18 and the Y-axis drive motor 18.
It is driven by a shaft drive motor 20. Further, the electrode 10 is driven by a Z-axis drive motor 22. Thereby, the relative motion between the electrode 10 and the workpiece becomes a three-dimensional motion. Each drive motor 18, 2 of XY axis
0 and 22 are controlled by a control device 24. This control device is configured by, for example, an information processing device using a CPU (central processing unit).
第2図は、上記制御装置の特にXY軸移動モー
タの制御を行なう部分を示す。同図において、
CPU30から発せられた軸移動指令は、バスラ
イン32およびBRM(パルス分配回路)34を
介して誤差カウンタ36に入力される。誤差カウ
ンタ36には、上記BRM34の出力とXY軸に
直結したエンコーダ44からのフイードバツク信
号とが入力される。通常のサーボ機構では、電気
的あるいは機械的な時間遅れ要素が存在し、これ
によりCPUから出力される軸移動指令値と現在
値との間に追従遅れ(位置誤差)がある。この追
従遅れに相当する値は上記誤差カウンタ36の内
容となる。誤差カウンタ42の内容は、D/A変
換器(デイジタルアナログ変換器)38によりア
ナログ量に変換され、増幅器40を径てモータ4
2を駆動する。電極10と被加工物12との接触
状態は、接触検出回路46により検出される。こ
の検出回路46からの検出信号Vcは、上記CPU
30によつて読み込まれる。第4図は、電極10
と被加工物12とが接近して接触した前後のタイ
ミングチヤートを示す。この場合、通常のサーボ
系には追従遅れがあるため、電極10と被加工物
12が接触したときには、CPU30からの指令
値が上記誤差カウンタ36の値e1だけ現在値より
も先行している。また、CPU30は、接触信号
Vcが入力すると軸移動指令をただちに停止する
が、そのCPU30の演算遅れ時間T1が存在する
ために、その遅れ時間T1分だけBRM34からの
軸移動パルスe2が出力される。このため、電極1
0と被加工物12が接触したのちも、さらにその
e1+e2の量に相当する分だけ軸が移動してしま
う。この余分な軸の移動量即ち突つ込み量は、そ
の軸の移動速度に比例し、例えばその移動速度が
1000mm/分の場合には約1mmもの突つ込み量が生
じ、このため電極10と被加工物12とが衝突し
て双方あるいは少なくとも一方に損傷が生じると
いう問題があつた。 FIG. 2 shows a portion of the control device that specifically controls the XY-axis moving motor. In the same figure,
An axis movement command issued from the CPU 30 is input to an error counter 36 via a bus line 32 and a BRM (pulse distribution circuit) 34. The error counter 36 receives the output of the BRM 34 and a feedback signal from an encoder 44 directly connected to the XY axes. In a normal servo mechanism, there is an electrical or mechanical time delay element, which causes a follow-up delay (position error) between the axis movement command value output from the CPU and the current value. The value corresponding to this follow-up delay becomes the content of the error counter 36. The contents of the error counter 42 are converted into an analog quantity by a D/A converter (digital-to-analog converter) 38, and sent to the motor 4 via an amplifier 40.
Drive 2. The contact state between the electrode 10 and the workpiece 12 is detected by the contact detection circuit 46. The detection signal V c from this detection circuit 46 is
30. FIG. 4 shows the electrode 10
The timing charts before and after the and workpiece 12 come into close contact are shown. In this case, since there is a follow-up delay in a normal servo system, when the electrode 10 and workpiece 12 come into contact, the command value from the CPU 30 is ahead of the current value by the value e 1 of the error counter 36. . In addition, the CPU 30 receives a contact signal.
When V c is input, the axis movement command is immediately stopped, but since there is a calculation delay time T 1 of the CPU 30, the axis movement pulse e 2 from the BRM 34 is output for the delay time T 1 minute. For this reason, electrode 1
Even after contact between 0 and workpiece 12, the
The axis will move by an amount equivalent to e 1 + e 2 . The amount of movement of this extra shaft, that is, the amount of thrust, is proportional to the speed of movement of that axis. For example, if the speed of movement is
In the case of 1000 mm/min, a plunge amount of about 1 mm occurs, which causes the problem that the electrode 10 and the workpiece 12 collide, causing damage to both or at least one of them.
この発明は前述した従来の課題に鑑みてなされ
たもので、その目的は、電極と被加工物を相対移
動させて所定の位置決めを行なうのに際し、その
移動速度を比較的高速にできるとともに、その停
止位置を、いわゆる大きな突つ込み量を生じるこ
となく正確かつ高精度に定められるようにし、こ
れにより正確な放電加工を行なえるようにした放
電加工装置を提供することにある。 This invention was made in view of the above-mentioned conventional problems, and its purpose is to make the movement speed relatively high when moving the electrode and the workpiece relative to each other to achieve a predetermined position. It is an object of the present invention to provide an electric discharge machining apparatus which can accurately and highly accurately determine a stop position without causing a so-called large plunge amount, and thereby can perform accurate electric discharge machining.
上記目的を達成するために、この発明は、電極
と被加工物とを対向させ、その間に電圧を印加し
て放電を発生させるとともに、数値制御装置から
の軸移動指令により電極と被加工物の相対的な移
動を行つて、被加工物の加工を行う放電加工装置
において、軸移動指令値と軸の現在値との位置誤
差量を計数する計数手段と、その計数値をアナロ
グ量に変換する変換手段と、電極と被加工物の接
触を検出する接触検出手段と、を備え、上記アナ
ログ量によりモータを回転させることにより軸を
移動させ、上記電極と上記被加工物が接触した場
合には、接触検出手段の出力信号により上記計数
手段の計数値をリセツトする制御回路を有するこ
とを特徴とする。 In order to achieve the above object, this invention makes an electrode and a workpiece face each other, applies a voltage between them to generate an electric discharge, and moves the electrode and workpiece by an axis movement command from a numerical control device. In an electrical discharge machining device that performs relative movement to machine a workpiece, a counting means for counting the amount of position error between an axis movement command value and a current value of the axis, and converting the counted value into an analog quantity. a conversion means and a contact detection means for detecting contact between the electrode and the workpiece, the shaft is moved by rotating the motor according to the analog amount, and when the electrode and the workpiece come into contact, The present invention is characterized in that it has a control circuit that resets the count value of the counting means based on the output signal of the contact detection means.
以下、この発明の好適な実施例を図面に基づい
て説明する。 Hereinafter, preferred embodiments of the present invention will be described based on the drawings.
まず、この発明による放電加工装置の実施例
は、その基本的構成においては前述した従来の装
置と同様である。ただ、その制御装置、特にXY
軸の各駆動モータを制御する部分については、第
3図に示すように、前述した従来のものと相違す
る。即ち、第3図はこの発明による放電加工装置
の要部、特にその制御装置の部分を示す。また、
第5図は、第3図に示した構成において、電極1
0と被加工物12が接近し接触した前後のタイミ
ングチヤートを示す。第3図および第5図におい
て、電極10と被加工物12が接触すると、接触
検出回路46が接触検出信号Vcを出力する。こ
の接触検出信号Vcは、CPU30に読み込まれる。
CPU30は、接触検出信号Vcを読み込むと、
BRM34からのパルス分配出力を停止させる。
この場合、接触検出信号Vcは、上記CPU30が
該信号Vcを入力してからパルス分配出力を停止
させるまでの演算時間の遅れT1よりも長いパル
ス幅T2を持つ。また、その接触検出信号Vcは、
そのパルス幅T2の時間の間に上記誤差カウンタ
36にリセツトをかける。このとき、そのリセツ
トがかけられる寸前の誤差カウンタ36の値e1は
レジスター50にセツトされる。また、その接触
検出信号Vcが誤差カウンタ36にリセツトをか
けている間であつて、CPU30の演算遅れ時間
T1の間に、上記BRM34から出力される移動指
令パルス数がカウンタ48によつて計数される。
ここで前述した従来の装置の場合には、CPUが
接触検出信号を入力したのちパルス分配出力を停
止するまでの時間T1の間に出力される軸移動指
令パルスe2を加えた値e1+e2に相当する突つ込み
量が生じていたが、この発明の場合には、接触検
出信号Vcによつて誤差カウンタ36にリセツト
をかけているので、誤差カウンタ36の値は強制
的に零となり、この結果上記e1、e2の値はD/A
変換器38には出力されず、結局電極10はその
接触が検出された位置で急速停止させられる。こ
のとき電極10の急速停止させられた位置と
CPU30が認知している位置との間にはe1+e2の
誤差を生じるが、上記レジスタ50にセツトされ
た値e1と上記カウンタ48が計数した値e2をCPU
30に吸い上げさせ、CPU30の内部の現在値
X1に対してX1−(e1+e2)の補正を加える操作を
行なわせることにより、電極10の現在値と
CPU30の内部の現在値が一致し、これにより
誤差は生じなくなる。以上のような動作により、
電極10と被加工物12が移動中に接触した場
合、電極10の現在値とCPUの内部の現在値に
誤差を生じることなく、また軸移動を比較的高速
で行なつても電極10と被加工物12とがぶつか
つて損傷する恐れもなく、安全に軸移動を急速停
止させて正確かつ高精度な位置決めを行なうこと
ができる。 First, the embodiment of the electric discharge machining apparatus according to the present invention is basically similar to the conventional apparatus described above in its basic configuration. However, the control device, especially the XY
As shown in FIG. 3, the parts that control the drive motors of the shafts are different from the conventional one described above. That is, FIG. 3 shows the main parts of the electric discharge machining apparatus according to the present invention, particularly the control device thereof. Also,
FIG. 5 shows the electrode 1 in the configuration shown in FIG.
2 shows timing charts before and after the workpiece 12 approaches and contacts the workpiece 12. In FIGS. 3 and 5, when the electrode 10 and the workpiece 12 come into contact, the contact detection circuit 46 outputs a contact detection signal V c . This contact detection signal V c is read into the CPU 30 .
When the CPU 30 reads the contact detection signal V c ,
Stop the pulse distribution output from BRM34.
In this case, the contact detection signal V c has a pulse width T 2 that is longer than the calculation time delay T 1 from when the CPU 30 inputs the signal V c to when the pulse distribution output is stopped. In addition, the contact detection signal V c is
The error counter 36 is reset during the time of the pulse width T2 . At this time, the value e1 of the error counter 36 that is about to be reset is set in the register 50. Also, while the contact detection signal V c is resetting the error counter 36, the calculation delay time of the CPU 30
During T1 , the number of movement command pulses output from the BRM 34 is counted by the counter 48.
In the case of the conventional device described above, the value e 1 is the sum of the axis movement command pulse e 2 output during the time T 1 from when the CPU inputs the contact detection signal until it stops outputting the pulse distribution. However , in the case of this invention, since the error counter 36 is reset by the contact detection signal Vc , the value of the error counter 36 is forced to change. becomes zero, and as a result, the values of e 1 and e 2 above are D/A
There is no output to the transducer 38, and eventually the electrode 10 is brought to a quick stop at the position where the contact is detected. At this time, the position where the electrode 10 was rapidly stopped and
Although an error of e 1 + e 2 occurs between the position recognized by the CPU 30, the value e 1 set in the register 50 and the value e 2 counted by the counter 48 are transferred to the CPU.
30, and the current value inside CPU30
By performing an operation of adding a correction of X 1 − (e 1 + e 2 ) to X 1 , the current value of the electrode 10
The current values inside the CPU 30 match, so that no error occurs. Due to the above operation,
If the electrode 10 and the workpiece 12 come into contact while moving, there will be no error between the current value of the electrode 10 and the current value inside the CPU, and even if the axis is moved at a relatively high speed, the electrode 10 and the workpiece 12 will not touch each other during movement. There is no risk of damage due to collision with the workpiece 12, and accurate and highly accurate positioning can be performed by safely and rapidly stopping axis movement.
なお、上記の実施例では、誤差カウンタ36、
レジスタ50、カウンタ48およびBRM34等
がハードウエアにて構成されていたが、これらを
上記CPU30の中にソフトウエア的に構成する
ことも可能であり、この場合も前述したのと同様
な効果が得られることは勿論である。 Note that in the above embodiment, the error counter 36,
Although the register 50, counter 48, BRM 34, etc. are configured by hardware, it is also possible to configure these in software in the CPU 30, and in this case, the same effect as described above can be obtained. Of course, it can be done.
以上のように、この発明による放電加工装置
は、軸移動を比較的高速で行なつた場合にも、そ
の移動を電極と被加工物の接触検出位置にて正確
かつ確実に急速停止させることができる。さら
に、誤差カウンタにリセツトをかけるときの該カ
ウンタの値をCPUにて吸い上げさせることによ
り、その急速停止された現在値を該CPUにて正
確に知ることができるようになる。 As described above, the electric discharge machining apparatus according to the present invention is capable of accurately and reliably stopping the movement quickly at the contact detection position between the electrode and the workpiece even when the axis is moved at a relatively high speed. can. Furthermore, by having the CPU read up the value of the error counter when it is reset, the CPU can accurately know the current value that has been rapidly stopped.
第1図はこの発明にかかる放電加工装置の動作
原理を示す構成図、第2図はその制御装置部分の
従来例を示すブロツク図、第3図はこの発明によ
る放電加工装置の制御装置部分の一実施例を示す
ブロツク図、第4図は従来の装置の動作例を示す
タイミングチヤート図、第5図はこの発明による
装置の動作例を示すタイミングチヤート図であ
る。
各図中同一部材には同一符号を付し、10は電
極、12は被加工物、14は放電加工電源、1
8,20,22はX、Y、Z軸駆動モータ、24
は制御装置、26はXYテーブル、30はCPU
(中央処理装置)、34はBRM(パルス分配回
路)、36は誤差カウンタ、38はD/A変換器、
42はモータ、44はエンコーダ、46は接触検
出回路、48はカウンタ、50はレジスタであ
る。
Fig. 1 is a block diagram showing the operating principle of the electric discharge machining apparatus according to the present invention, Fig. 2 is a block diagram showing a conventional example of the control device portion thereof, and Fig. 3 is a block diagram showing the control device portion of the electric discharge machining apparatus according to the present invention. FIG. 4 is a timing chart showing an example of the operation of a conventional device, and FIG. 5 is a timing chart showing an example of the operation of the device according to the present invention. The same members in each figure are given the same reference numerals, 10 is the electrode, 12 is the workpiece, 14 is the electric discharge machining power source, 1
8, 20, 22 are X, Y, and Z axis drive motors, 24
is the control device, 26 is the XY table, 30 is the CPU
(central processing unit), 34 is BRM (pulse distribution circuit), 36 is error counter, 38 is D/A converter,
42 is a motor, 44 is an encoder, 46 is a contact detection circuit, 48 is a counter, and 50 is a register.
Claims (1)
を印加して放電を発生させるとともに、数値制御
装置からの軸移動指令により電極と被加工物の相
対的な移動を行つて、被加工物の加工を行う放電
加工装置において、 軸移動指令値と軸の現在値との位置誤差量を計
数する計数手段と、その計数数値をアナログ量に
変換する変換手段と、電極と被加工物の接触を検
出する接触検出手段と、上記計数手段により計数
された位置誤差量を記憶する記憶手段と、上記変
換手段で変換されたアナログ量によりモータを回
転させることにより軸を移動させる手段とを備
え、 上記接触検出手段の出力信号は上記記憶手段の
読み込み制御端子、上記計数手段のリセツト端子
及び数値制御装置の中央処理装置にそれぞれ入力
され、上記電極と被加工物が接触した場合には、
上記接触検出手段の出力信号により上記計数手段
の計数値を上記記憶手段に記憶し、その後上記計
数手段の計数値をリセツトし、上記記憶手段に記
憶した位置誤差量を上記数値制御装置の中央処理
装置に読み取り、上記軸移動現在値を補正するよ
うにしたことを特徴とする放電加工装置。[Claims] 1. An electrode and a workpiece are opposed to each other, a voltage is applied between them to generate an electric discharge, and the relative movement of the electrode and the workpiece is controlled by an axis movement command from a numerical control device. In an electric discharge machining apparatus that processes a workpiece, the apparatus comprises: a counting means for counting a positional error amount between an axis movement command value and a current value of the axis; a converting means for converting the counted value into an analog quantity; and an electrode. contact detection means for detecting contact between the object and the workpiece; storage means for storing the positional error amount counted by the counting means; and movement of the shaft by rotating a motor using the analog quantity converted by the conversion means. The output signal of the contact detection means is inputted to the reading control terminal of the storage means, the reset terminal of the counting means, and the central processing unit of the numerical control device, respectively, to detect when the electrode and the workpiece are in contact with each other. in case of,
The count value of the counting means is stored in the storage means by the output signal of the contact detection means, and then the count value of the counting means is reset, and the position error amount stored in the storage means is processed by the central processing of the numerical control device. An electric discharge machining device characterized in that the current axis movement value is read by the device and corrected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9744882A JPS58217221A (en) | 1982-06-07 | 1982-06-07 | Electric discharge machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9744882A JPS58217221A (en) | 1982-06-07 | 1982-06-07 | Electric discharge machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58217221A JPS58217221A (en) | 1983-12-17 |
| JPH0158008B2 true JPH0158008B2 (en) | 1989-12-08 |
Family
ID=14192590
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9744882A Granted JPS58217221A (en) | 1982-06-07 | 1982-06-07 | Electric discharge machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58217221A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62297019A (en) * | 1986-06-17 | 1987-12-24 | Mitsubishi Electric Corp | Electric discharge machining equipment |
-
1982
- 1982-06-07 JP JP9744882A patent/JPS58217221A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58217221A (en) | 1983-12-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4281385A (en) | Control system for a machine tool | |
| EP0209604B1 (en) | Interface system for a servo controller | |
| WO1989006066A1 (en) | Method of speed control for servomotor | |
| JPS63267121A (en) | Wire-cut electric discharge machining device | |
| JPH0158008B2 (en) | ||
| JP3244326B2 (en) | Numerical control unit | |
| JPH08350B2 (en) | Origin setting method for work etc. in machine tools | |
| JPH0227091B2 (en) | ||
| KR890001353B1 (en) | Numerical controller | |
| US4554428A (en) | Electrospark machining control device | |
| JPH0655415A (en) | Measuring method for and secular change of machine tool | |
| JP2788725B2 (en) | Numerical control unit | |
| JP2004139299A (en) | Control program and method for returning to home position in positioning system | |
| JP3433817B2 (en) | Feed control device | |
| JPS646897B2 (en) | ||
| JPH0431603Y2 (en) | ||
| JPH0639066B2 (en) | Control method for industrial robot | |
| KR820002167B1 (en) | Spindle control system | |
| KR890002434B1 (en) | Numerical control apparatus | |
| JP2724054B2 (en) | Positioning control device | |
| SU1646851A1 (en) | Device for control industrial robot | |
| JPH0144454B2 (en) | ||
| JPS59102557A (en) | Positioning device for moving material | |
| JPS591122A (en) | Method for controlling reversing in spark machining machine | |
| JPH0330885B2 (en) |