JPH0215917A - Servo control method for electric discharge machine - Google Patents

Servo control method for electric discharge machine

Info

Publication number
JPH0215917A
JPH0215917A JP16242988A JP16242988A JPH0215917A JP H0215917 A JPH0215917 A JP H0215917A JP 16242988 A JP16242988 A JP 16242988A JP 16242988 A JP16242988 A JP 16242988A JP H0215917 A JPH0215917 A JP H0215917A
Authority
JP
Japan
Prior art keywords
voltage
error
position command
electrode
discharge 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.)
Pending
Application number
JP16242988A
Other languages
Japanese (ja)
Inventor
Keiji Sakamoto
坂本 啓二
Kaname Matsumoto
要 松本
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 JP16242988A priority Critical patent/JPH0215917A/en
Publication of JPH0215917A publication Critical patent/JPH0215917A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To prevent the hunting phenomenon of an electric discharge machine by reducing the position command value determined according to the quantity of variation in voltage between an electrode and a work, when the position error gets greater, to accumulate no serious position error in an error register. CONSTITUTION:The voltage VD between an electrode and a work is detected by a voltage detecting circuit 12 and the quantity of variation in detected voltage VD (that is, the quantity of variation in difference between the detected voltage VD and a set voltage VS) every sampling time is calculated as a position command C. Based on a position error Er which is adifference between the position command C and a position feedback value, a motor is driven to move the electrode relatively to the work, whereby executing the electric discharge work. At this time, the position error Er is monitored by a position command reduction means 21 and when the error Er gets greater, the reduction rate of the position command C gets higher to inhibit a serious position error from being accumulated in an error register 17, whereby preventing the hunting phenomenon of an electric discharge machine.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は放電加工機のサーボ制御方法に係り、特に加工
用電極とワーク間の間隙を一定に維持しながら該電極を
ワークに対して相対的に移動させるサーボ制御方法に関
する。
[Detailed Description of the Invention] <Industrial Field of Application> The present invention relates to a servo control method for an electric discharge machine, and in particular, the present invention relates to a servo control method for an electric discharge machine, and in particular, a method for controlling a machining electrode relative to a workpiece while maintaining a constant gap between the machining electrode and the workpiece. This invention relates to a servo control method for moving objects.

〈従来技術〉 放電加工機、たとえば型彫り放電加工機においては、加
工用電極とワーク間の間隙を一定に維持しながら、該電
極を深さ方向にワークに対して相対的に移動させて電極
形状通りの放電加工をワークに施すようになっている。
<Prior art> In an electrical discharge machine, such as a die-sinking electrical discharge machine, the electrode is moved in the depth direction relative to the workpiece while maintaining a constant gap between the machining electrode and the workpiece. The workpiece is electrically discharged according to its shape.

第3図はかかる型彫り放電加工機におけるサーボ系の説
明図で、1は加工用電極、2はワーク、3は加工用電極
をワークに対して相対的に上下させるモータ、4はサー
ボアンプ、5は加工用電極1とワーク2間の電圧を検出
する電圧検出回路、6は検出電圧v0と設定電圧vsの
差に応じた誤差電圧vEを発生する比較回路である。設
定電圧V。
FIG. 3 is an explanatory diagram of the servo system in such a die sinking electrical discharge machine, in which 1 is a machining electrode, 2 is a workpiece, 3 is a motor that moves the machining electrode up and down relative to the workpiece, 4 is a servo amplifier, 5 is a voltage detection circuit that detects the voltage between the processing electrode 1 and the workpiece 2, and 6 is a comparison circuit that generates an error voltage vE according to the difference between the detected voltage v0 and the set voltage vs. Set voltage V.

は加工用電極1とワーク2間の所定長間隙に応じた値と
なっているから、誤差電圧v6に基づいてモータ3を駆
動すれば、加工用電極1とワーク2間の間隙を一定に維
持しながら該電極を上下方向に移動することができる。
is a value corresponding to the predetermined length gap between the machining electrode 1 and the workpiece 2, so if the motor 3 is driven based on the error voltage v6, the gap between the machining electrode 1 and the workpiece 2 can be maintained constant. The electrode can be moved in the vertical direction while moving.

第4図はかかる放電加工機のサーボ制御をデジタル処理
により実現するソフトウェアサーボのブロック図で、1
1はモータ、12は加工電極とワ−ク間電圧v0を検出
する電圧検出回路、13は所定のサンプリング時間T毎
に検出電圧v0の変化量、換言すれば検出電圧V。と設
定電圧V、との差分ΔVの変化量Vを求めて出力する設
定値比較回路、14はサンプリング時間毎に入力される
アナログ電圧VをAD変換してポジシコン指令Cとし出
力するAD変換器(ADC) 、15は指令合成部、1
6は演算部、17はポジション誤差Erを記憶する誤差
レジスタ、18はポジションゲインKpが設定されてい
るゲイン設定部である。
Figure 4 is a block diagram of a software servo that realizes servo control of such an electrical discharge machine through digital processing.
1 is a motor, 12 is a voltage detection circuit that detects the voltage v0 between the processing electrode and the workpiece, and 13 is the amount of change in the detected voltage v0 every predetermined sampling time T, in other words, the detected voltage V. and the set voltage V, and 14 is an AD converter (14) that converts the analog voltage V input at each sampling time into an AD converter and outputs it as a positive control command C. ADC), 15 is a command synthesis unit, 1
6 is an arithmetic unit, 17 is an error register that stores a position error Er, and 18 is a gain setting unit in which a position gain Kp is set.

〈発明が解決しようとしている課題〉 従来のサーボシステムにおいては、電極・ワーク間電圧
v0のサンプリング時間毎の変化量(v)がポジション
指令となり、該ポジシアン指令と実際の移動量との差で
あるポジション誤差に基づいてサーボ制御が行われて電
極・ワーク間の間隙が一定に維持される。
<Problem to be solved by the invention> In the conventional servo system, the amount of change (v) of the voltage between the electrode and the workpiece at each sampling time (v) is the position command, and the difference between the position command and the actual amount of movement is Servo control is performed based on the position error to maintain a constant gap between the electrode and the workpiece.

しかし、従来のサーボシステムでは機械のばね要素等の
ためにポジションフィードバックが小さくなると、誤差
レジスタに大きなポジション誤差Erがたまり、機械に
ハンチングが生じる場合がある。
However, in conventional servo systems, when the position feedback becomes small due to the spring elements of the machine, a large position error Er accumulates in the error register, and hunting may occur in the machine.

以上から本発明の目的は、誤差レジスタに大きなポジシ
ョン誤差がたまらないようにでき、従って機械のハンチ
ング現象を防止することができる放電加工機のサーボ制
御方法を提供することである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a servo control method for an electric discharge machine that can prevent a large position error from accumulating in an error register and thus prevent hunting of the machine.

く課題を解決するための手段〉 第1図は本発明にかかる放電加工機のサーボ系のブロッ
ク図である。
Means for Solving the Problems> FIG. 1 is a block diagram of a servo system of an electric discharge machine according to the present invention.

11はモータ、12は電圧検出回路、13は検出電圧v
0と設定電圧vsとの差分ΔVの変化量Vを求めて出力
する設定値比較回路、17ばポジシリン誤差Erを記憶
する誤差レジスタ、21はポジション指令減小手段であ
る。
11 is a motor, 12 is a voltage detection circuit, and 13 is a detection voltage v
17 is an error register that stores the positive error Er, and 21 is a position command reduction means.

く作用〉 電圧検出回路12により電極とワーク間の電圧voを検
出すると共に、サンプリング時間毎に該検出電圧v0の
変化量(検出電圧v0と設定電圧V、との差分の変化量
)Vを求めてポジション指令Cとし、該ポジション指令
と位置フィードバックの差分であるポジション誤差Er
に基づいてモータを駆動して電極をワークに対して相対
的に移動させる。そして、かかるサーボ制御時にボジシ
買ン指令減小手段21をしてボジシ9ン誤差Erを監視
させ、ポジション誤差Erが大きくなるにつれボジシ嘗
ン指令値Cを減小する割合を大きくシ、誤差レジスタ1
7に大きなポジション誤差が溜まらないようにする。
Function> The voltage detection circuit 12 detects the voltage vo between the electrode and the workpiece, and at each sampling time, the amount of change in the detected voltage v0 (the amount of change in the difference between the detected voltage v0 and the set voltage V) is determined. is the position command C, and the position error Er, which is the difference between the position command and the position feedback, is
The electrode is moved relative to the workpiece by driving the motor based on this. During such servo control, the position command reducing means 21 is made to monitor the position error Er, and as the position error Er increases, the rate at which the position command value C is reduced is increased, and the error register is increased. 1
7 to prevent large position errors from accumulating.

〈実施例〉 第1図は本発明かかる放電加工機のサーボ制御をデジタ
ル処理により実現するソフトウェアサーボのブロック図
であり、第4図の従来例と同一部分には同一符号を付し
ている。
<Embodiment> FIG. 1 is a block diagram of a software servo that realizes servo control of an electrical discharge machine according to the present invention by digital processing, and the same parts as in the conventional example shown in FIG. 4 are given the same reference numerals.

11はモータ、12は加工電極とワーク間電圧v0を検
出する電圧検出回路、13は所定のサンプリング時RT
毎に検出電圧v0の変化量、換言すれば検出電圧v0と
設定電圧V、との差分ΔVの変化量Vを求めて出力する
設定値比較回路である。すなわち、設定値比較回路13
は1サンプリング時間前の差分(検出電圧v、−1と設
定電圧vsの差分)をΔV +−t 、現サンプリング
時刻における差分(検出電圧V、と設定電圧v0の差分
)をΔv1とすれば、次式 %式%(1) によりVを計算し該、Vをサンプリング時間毎のポジシ
ョン指令として出力する。
11 is a motor, 12 is a voltage detection circuit that detects the voltage v0 between the processing electrode and the workpiece, and 13 is RT at a predetermined sampling time.
This is a set value comparison circuit that calculates and outputs the amount of change in the detected voltage v0, in other words, the amount of change V in the difference ΔV between the detected voltage v0 and the set voltage V, at each time. That is, the set value comparison circuit 13
If the difference one sampling time ago (the difference between the detected voltage v, -1 and the set voltage vs) is ΔV + -t, and the difference at the current sampling time (the difference between the detected voltage V and the set voltage v0) is Δv1, then V is calculated using the following formula (1), and the V is output as a position command for each sampling time.

14はサンプリング時間毎に設定値比較口l1s13か
ら出力されるアナログのポジシコン指令VをAD変換し
て、デジタルのポジション指令Cとし出力するAD変換
語、21はポジション指令Cをポジション誤差Erに基
づいて減小させるポジション指令減小手段である。15
は指令合成部、16は演算部、17はポジション誤差E
rを記憶する誤差レジスタ、18はポジションゲインK
Pが設定されているゲイン設定部である。
14 is an AD conversion word that AD converts the analog positive control command V output from the set value comparison port l1s13 at each sampling time and outputs it as a digital position command C. 21 is an AD conversion word that converts the position command C based on the position error Er. This is a position command reducing means for reducing the position command. 15
is the command synthesis section, 16 is the calculation section, and 17 is the position error E.
Error register that stores r, 18 is position gain K
This is a gain setting section in which P is set.

合成部15は加工用電極をNC指令により所定位置に位
置決めする場合には該NC指令を出力し、間隙一定制御
により加工用電極とワーク間を一定間隙に保持する場合
にはAD変換器14からの指令Cを出力する。又、演算
部16はサンプリング時間毎のポジション指令(ポジシ
ョン指令減小手段出力)C′とポジションフィードバッ
クFの差分ΔEを演算し、演算結果ΔEを誤差レジスタ
17に累積させる(Er+ΔE−4Er)。
When positioning the machining electrode at a predetermined position using an NC command, the synthesizing unit 15 outputs the NC command, and when maintaining a constant gap between the machining electrode and the workpiece through constant gap control, outputs an output signal from the AD converter 14. command C is output. Further, the calculation unit 16 calculates the difference ΔE between the position command (position command reduction means output) C' and the position feedback F for each sampling time, and accumulates the calculation result ΔE in the error register 17 (Er+ΔE-4Er).

ポジション指令減小手段21は、第2図(a)に示すよ
うにポジション誤差Erの値(MIN−MAX)に応じ
てポジション指令を出力する割合η(%)を変え、次式 %式%(2) によりC′を計算し、該C′をポジション指令として出
力するようになっている。
As shown in FIG. 2(a), the position command reducing means 21 changes the ratio η (%) of outputting the position command according to the value (MIN-MAX) of the position error Er, and calculates the ratio η (%) of outputting the position command according to the following formula % formula % ( 2) C' is calculated by the following and outputted as a position command.

従って、下表に示すようにサンプ・jノブ時間毎の各時
刻T、、 T2. T、、 T4. T、におけるポジ
ション指令Cをすべて10とし、かつ各時刻におけるポ
ジシリン誤差Erを0.ErMAx以上、Er、。
Therefore, as shown in the table below, each time T,, T2. T,, T4. The position commands C at T, are all 10, and the positive cylinder error Er at each time is 0. More than ErMAX, Er.

8/2.0、ErMAx以上とすれば、η及びポジショ
ン指令減小手段21から出力されるポジション指令C′
は同表右欄に示すようになり、C′の累計値が指令移動
量となる。
8/2.0, if ErMAXx or more, η and the position command C′ output from the position command reduction means 21
is as shown in the right column of the same table, and the cumulative value of C' becomes the commanded movement amount.

ポジション指令Cポジション誤差 ボジシνン 以上から、電極・ワーク間の間隙を一定にするサーボ制
御に際して、設定値比較図l513は電圧検出回路12
から所定サンプリング時間毎に電極とワーク間の電圧v
0を読み取り、(1)式の計算を行って検出電圧v0の
変化量(検出電圧v0と設定電圧V、との差分の変化量
)Vを求め、AD変換器14は該変化量VをAD変換し
てデジタルのポジション指令Cとしてポジション指令減
小手段21に入力する。
When performing servo control to keep the gap between the electrode and the workpiece constant from the position command C position error position ν or more, the set value comparison diagram l513 shows the voltage detection circuit 12.
The voltage v between the electrode and the workpiece at every predetermined sampling time from
0 is read, calculation is performed using equation (1) to find the amount of change in the detected voltage v0 (the amount of change in the difference between the detected voltage v0 and the set voltage V), and the AD converter 14 converts the amount of change V into an AD It is converted and inputted to the position command reduction means 21 as a digital position command C.

ポジション指令減小手段21は、第2図(a)に示すE
r−η特性に従ってポジション指令Cを出力する割合ワ
を求め、(2)式によゆポジション指令CをC′に修正
し、該C′をポジション指令とじて出力する。
The position command reducing means 21 is configured as shown in FIG. 2(a).
The rate at which the position command C is output is determined according to the r-η characteristic, the position command C is corrected to C' according to equation (2), and C' is output as the position command.

演算部16はサンプリング時間毎のポジション指令C′
とボジシソンフィードバックFの差分ΔEを演算し、演
算結果ΔEを誤差レジスタ17に累積させ(Er+ΔE
−4Er)、該ボジシ廖ン誤差に基づいてモータを駆動
し、加工用電極をワークに対して一定距離維持させなが
ら移動させる。
The calculation unit 16 calculates the position command C' for each sampling time.
The difference ΔE between the
-4Er), the motor is driven based on the position machining error, and the machining electrode is moved while maintaining a constant distance with respect to the workpiece.

尚、深さ方向の位置制御は、ポジション指令減小手段2
1から出力される指令C′を計数し、計数値が所定値に
なった時指令を停止させればよい。
Note that the position control in the depth direction is performed by the position command reduction means 2.
It is sufficient to count the commands C' output from 1 and stop the commands when the counted value reaches a predetermined value.

又、ポジション誤差Erと割合lの関係は第2図(a)
に示すものに限らず、たとえば同図(b)に示すように
も構成でき、しかも傾き等はサーボ系に従って最適とな
るように調整することができる。
Also, the relationship between the position error Er and the ratio l is shown in Figure 2 (a).
The configuration is not limited to the one shown in FIG. 12, but can also be configured as shown in FIG.

〈発明の効果〉 以上本発明によれば、電極とワーク間の電圧を検出する
と共に、所定時間毎に該検出電圧の変化量を求めてポジ
ション指令とし、該ポジション指令と位置フィードバッ
クの差分であるポジション誤差に基づいて電極をワーク
に対して相対的に移動させると共に、前記変化量に応じ
て定まるポジション指令値をポジション誤差が大きくな
るに従って小さくしたから、誤差レジスタに大きなポジ
ション誤差がたまらないようにでき、従って機械のハン
チング現象を防止することができる。
<Effects of the Invention> According to the present invention, the voltage between the electrode and the workpiece is detected, and the amount of change in the detected voltage is determined at predetermined time intervals to be used as a position command, and the difference between the position command and position feedback is determined. Since the electrode is moved relative to the workpiece based on the position error, and the position command value determined according to the amount of change is decreased as the position error increases, it is possible to prevent large position errors from accumulating in the error register. Therefore, the hunting phenomenon of the machine can be prevented.

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

第1図は本発明にかかる放電加工機のサーボ系のブロッ
ク図、 第2図はEr−η特性図、 第3図及び第4図は従来の放電加工機のサーボ系説明図
である。 11・・モータ、 12・・電圧検出回路、 13・・設定値比較回路、 17・・誤差レジスタ、 21・・ポジション指令減小手段 特許出願人        ファナック株式会社代理人
          弁理士  齋藤千幹第2 図 化
FIG. 1 is a block diagram of a servo system of an electrical discharge machine according to the present invention, FIG. 2 is an Er-η characteristic diagram, and FIGS. 3 and 4 are explanatory diagrams of a servo system of a conventional electrical discharge machine. 11...Motor, 12...Voltage detection circuit, 13...Set value comparison circuit, 17...Error register, 21...Position command reduction means Patent applicant: Fanuc Co., Ltd. Agent Patent attorney Chiki Saito Figure 2 transformation

Claims (1)

【特許請求の範囲】[Claims] 電極とワーク間の電圧を検出すると共に、所定時間毎に
該検出電圧の変化量を求めてポジション指令とし、該ポ
ジション指令と位置フィードバックの差分であるポジシ
ョン誤差に基づいて電極をワークに対して相対的に移動
させる放電加工機におけるサーボ制御方法において、前
記変化量に応じて定まるポジション指令値を、ポジショ
ン誤差が大きくなるに従って小さくすることを特徴とす
る放電加工機のサーボ制御方法。
The voltage between the electrode and the workpiece is detected, and the amount of change in the detected voltage is calculated at predetermined intervals as a position command, and the electrode is moved relative to the workpiece based on the position error, which is the difference between the position command and position feedback. 1. A servo control method for an electrical discharge machine that moves the electrical discharge machine in a fixed manner, the method comprising: reducing a position command value determined according to the amount of change as the position error increases.
JP16242988A 1988-07-01 1988-07-01 Servo control method for electric discharge machine Pending JPH0215917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16242988A JPH0215917A (en) 1988-07-01 1988-07-01 Servo control method for electric discharge machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16242988A JPH0215917A (en) 1988-07-01 1988-07-01 Servo control method for electric discharge machine

Publications (1)

Publication Number Publication Date
JPH0215917A true JPH0215917A (en) 1990-01-19

Family

ID=15754439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16242988A Pending JPH0215917A (en) 1988-07-01 1988-07-01 Servo control method for electric discharge machine

Country Status (1)

Country Link
JP (1) JPH0215917A (en)

Similar Documents

Publication Publication Date Title
US4872104A (en) Windup prevention system for a control loop to prevent overshoot
US6278255B1 (en) Apparatus and method for eliminating variable offset values of current detecting signals
EP1321837A2 (en) Servo controller
CN100334664C (en) Solenoid drive circuit
KR0164629B1 (en) Discharge Machining Control Method and Discharge Machining Control Device
EP0290618A1 (en) Digital servo system
JPS61249724A (en) Changeover control method for unit quantity of torque limiting value of servomotor for injection molding machine
JPS61214002A (en) Control system for follow-up error
JPH0215917A (en) Servo control method for electric discharge machine
EP0378690A1 (en) Device for detecting excessive positional deviation in a servo system
US4864209A (en) Negative feedback control system
US4520301A (en) Controlling apparatus for positioning
JPS597523A (en) Wire-cut electric discharge machine
JPH0236017A (en) Servo control of electric discharge machine
GB1504262A (en) Servo feed system
JPH0646366B2 (en) Servo motor control device
JP2702499B2 (en) Servo motor control method
JP2714851B2 (en) EDM control device
JP2006217746A (en) Motor control device
SU1703380A1 (en) Device for an automatic re-adjustment of cutting tools and for controlling of their wear
JPH0911042A (en) Electric discharge machine
JP3040762B1 (en) Travel processing control device
JPS63177204A (en) Position follow-up servo device
JPH0736544A (en) Position control device
JPS61235910A (en) Robot positioning control device