JPS63138401A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS63138401A
JPS63138401A JP28617186A JP28617186A JPS63138401A JP S63138401 A JPS63138401 A JP S63138401A JP 28617186 A JP28617186 A JP 28617186A JP 28617186 A JP28617186 A JP 28617186A JP S63138401 A JPS63138401 A JP S63138401A
Authority
JP
Japan
Prior art keywords
loop gain
droop
command
read
position loop
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
JP28617186A
Other languages
Japanese (ja)
Inventor
Mitsuyasu Kachi
光康 加知
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28617186A priority Critical patent/JPS63138401A/en
Publication of JPS63138401A publication Critical patent/JPS63138401A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Feedback Control In General (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To simplify the structure of a numerical controller at the side of a servo amplifier by using a position droop at the time of operation, a position command and a position loop gain to attain the automatic correction of the position loop gain. CONSTITUTION:The position droop under the time of stop is read for each fixed time and the offset correction is carried out so as to set the droop value at zero. For this purpose, a speed command auto-tuning part 5 contains a memory 5a which stores the read position droop and an arithmetic means 5b which performs automatic correction of the position loop gain by means of the position droop at the time of operation, a position command and the ideal position loop gain. Thus both offset and position loop gain can be automatically corrected by the part 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えば電動機の位置および速度を制御する
数値制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device that controls, for example, the position and speed of an electric motor.

〔従来の技術〕[Conventional technology]

第2図は従来の速度指令アナログ出力方式の数値制御装
置における位置および速度ループを示すブロック図であ
る。この図において、1はサーボアンプ、1aは速度指
令アナログオフセット調整用ボリューム、1bは位置ル
ープゲイン調整用ボリューム、2は速度指令アナログ出
力用D/Aコンバータ、3は位置検出響、4は速度検出
器、θCNI)は位置指令、θ#塾は位置フィードバッ
クである。
FIG. 2 is a block diagram showing a position and speed loop in a conventional speed command analog output type numerical control device. In this figure, 1 is a servo amplifier, 1a is a volume for speed command analog offset adjustment, 1b is a volume for position loop gain adjustment, 2 is a D/A converter for speed command analog output, 3 is a position detection sound, and 4 is speed detection. θCNI) is a position command, and θ# is a position feedback.

次に動作について説明する。Next, the operation will be explained.

位置指令θCM(1から位置検出N3により検出された
位置フィードバックθtbが減算され、位置輪差り、・
Op2θCIILD−〇#−が求められ、これζこ比例
した電圧がD/Aコンバータ2よりサーボアンプ1に出
力される。サーボアンプ1内には速度指令アナログオフ
セット調整用ボリューム1aおよび位置ループゲインW
Ju用ボリューム1bが有り、これらを調整することに
よりオフセットおよび位置ループゲインの調整を行う。
The position feedback θtb detected by the position detection N3 is subtracted from the position command θCM (1, and the position wheel difference, ・
Op2θCIILD-〇#- is obtained, and a voltage proportional to this ζ is outputted from the D/A converter 2 to the servo amplifier 1. Inside the servo amplifier 1 are a speed command analog offset adjustment volume 1a and a position loop gain W.
There is a volume 1b for Ju, and by adjusting these, the offset and position loop gain are adjusted.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来の速度指令アナログ出力方式の数値制
御装置は、各軸のゲインのバランスがとりに<<、ゲイ
ンの調整やオフセット調整等は速度指令アナログオフセ
ット調整用ボリュームla。
In the conventional speed command analog output type numerical control device as described above, the gain of each axis is balanced<<, and gain adjustment, offset adjustment, etc. are performed using the speed command analog offset adjustment volume la.

位置ループゲイン調整用ボリューム1bにより調整しな
ければならないうえ、同期運転時等は、調整不備等によ
りゲインのアンバランスが生じ、マシニングセンタによ
り真円切削加工等での切削誤差が大きくなるという問題
点があった。
The position loop gain must be adjusted using the volume 1b for adjusting the position loop gain, and in addition, during synchronous operation, etc., gain imbalance occurs due to incorrect adjustment, and there is a problem that cutting error increases when machining center cuts a perfect circle. there were.

この発明は、かかる問題点を解決するためになされたも
ので、ゲイン調整、オフセット調整を自動的に行うこと
のできる数値制御装置を得ることを目的とする。
The present invention was made to solve this problem, and an object of the present invention is to provide a numerical control device that can automatically perform gain adjustment and offset adjustment.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る数値制御装置は、一定時間ごとに停止中
の位置ドループを読み取り、その値が零となるようにオ
フセット補正を行うために、読み取った位置ドループを
記憶しておくメモリと、運転時の位置ドループと位置指
令ならびに理想とする位置ループゲインとを用いて位置
ループゲインの補正を自動的に行う演算手段とからなる
速度指令オートチューニング部を備えたものである。
The numerical control device according to the present invention includes a memory for storing the read position droop, and a memory for storing the read position droop in order to read the position droop while the machine is stopped at regular intervals and perform offset correction so that the value becomes zero. The speed command auto-tuning section includes a calculation means that automatically corrects the position loop gain using the position droop, position command, and ideal position loop gain.

〔作用〕[Effect]

この発明においては、速度指令オートチューニング部に
より、オフセフI・補正および位置ループゲイン補正が
自動的に行われろ。
In this invention, the speed command auto-tuning section automatically performs offset I correction and position loop gain correction.

〔実施例〕〔Example〕

第1図はこの発明の数値制御装置の一実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of the numerical control device of the present invention.

この図において、第2図と同一符号は同一部分を示し、
5は速度指令オートチューニング部で、メモリ5aと演
算手段5bとから構成されている。
In this figure, the same symbols as in Fig. 2 indicate the same parts,
Reference numeral 5 denotes a speed command auto-tuning section, which is composed of a memory 5a and a calculation means 5b.

まず、オフセット補正について説明する。First, offset correction will be explained.

一般に、D/Aコンバーク、オペアンプ等は温度ドリフ
ト要因や定常誤差を持つため、D / A t11力前
の指令が“0”となっていても微小の出力を発生し、そ
の値は温度変化等で変動する。その変動量は位置ループ
内の定常偏差(D、。。、)として表われる。このドル
ープ址は停止中(指令−〇)は“O”であるべきだが、
上記原因によりXとなったとすると、位置はXだけ動い
たことになる。
In general, D/A converters, operational amplifiers, etc. have temperature drift factors and steady-state errors, so even if the command before D/A t11 is "0", they will generate a minute output, and that value will change depending on temperature changes, etc. It fluctuates. The amount of variation is expressed as a steady deviation (D, . . . ) in the position loop. This droop should be “O” when stopped (command -〇), but
If X is caused by the above reason, the position has moved by X.

そこで、温度変化によるこの位置ずれを補償するなめ、
一定時間ごとに停止、中(指令=0)の位置ドループD
、、。。、を読み取り、0FSET値としてメモリ5a
に格納し、その値がONとなるようにOF S E ′
r値を加減算する。
Therefore, in order to compensate for this positional shift due to temperature changes,
Stops at regular intervals, position droop D in the middle (command = 0)
,,. . , and stores it in the memory 5a as the 0FSET value.
OF S E ′ so that the value is ON.
Add or subtract the r value.

いま、現行の0FSET値=3(パルス)位置ドループ
(停止中)=2とする。。
Now, assume that the current 0FSET value = 3 (pulse) position droop (while stopped) = 2. .

いま、θCND−〇#b=2で速度制御系がつりあって
いるとする。このDr、。、の値を常に保つためには0
FSET値を変更すればよい。いま、A点の出力−−1
で速度ループ系以下がつりあっているから、0FSET
値=1とすればDl。。、=0となることが分かる。
Now, assume that the speed control system is balanced at θCND-〇#b=2. This Dr. , to always keep the value 0
All you have to do is change the FSET value. Now, the output of point A--1
Since the speed loop system and below are balanced, 0FSET
If value=1, then Dl. . , = 0.

この補正は、A点以下のアナログ系の温度ドリフトをリ
アルタイムで補正するものである。そのため、OF S
 l!、 ’r値を常にDrIloP二〇となるように
変更する。
This correction is to correct temperature drift of the analog system below point A in real time. Therefore, OFS
l! , 'Change the r value so that it always becomes DrIloP20.

次に、オフセフ)・補正後に行われろゲイン補正につい
て説明する。
Next, the gain correction that is performed after the offset correction will be explained.

現在の位置ループゲインをに、とすると、そのときの位
置偏差は D r、。、=θcno/Kp で与えられる。
If the current position loop gain is , then the position deviation is Dr. ,=θcno/Kp.

また、理想とする位置ループゲインをKP′とし、D/
Aコンバータ2の出力をD/AO補としたとき、ゲイン
補正によって位置ループゲインに、をに、11に近付け
るためには、以下の演算が必要となる。
Also, let the ideal position loop gain be KP', and D/
When the output of the A converter 2 is a D/AO complement, the following calculation is required in order to bring the position loop gain closer to 11 by gain correction.

D7゜。げ=θcND/KPI11 (D、。。げ:理想位置ドループ) (Kげ=理想位置ループゲイン) K” D/AO補”Uン・Dl。。、Xk =K・”・)宝Ll 、 k (KP:現在の位置ループゲイン) (k:比例定数) このように K、Illの値をパラメータとして設定す
れば、その位置ループゲインに、で位置制御を行える。
D7°. Ge = θcND/KPI11 (D,...ge: Ideal position droop) (Kge = ideal position loop gain) K"D/AO supplement"Un Dl. . , Can be controlled.

また、このゲイン補正を行わない場合のD/Aコンバー
タ2の出力は、 D /A O= D roop ・k であり、このときの位置ループゲインをに、/ とする
と、 θcp*o = k p’ D 、。。。
Furthermore, the output of the D/A converter 2 when this gain correction is not performed is D /A O = Droop ・k, and if the position loop gain at this time is /, then θcp*o = k p 'D. . .

テアルカラ、K、”1.t、D/A OトD/A O補
ノ比αで決まる。
Thealcala, K, ``1.t, determined by the D/A O to D/A O complement ratio α.

したがって、 kげ=αに、′ =商灸^?L−×に、t = q旨ごP=K。therefore, k = α, ′ = Commercial moxibustion ^? To L-x, t = q effect P = K.

となり、パラメータ設定値と等しくなる。and becomes equal to the parameter setting value.

このようにして、リアルタイムで位置ループゲインを補
正することができる。
In this way, the position loop gain can be corrected in real time.

また、オフセットのサンプリングを一定時間ごとに行う
ため、オペアンプ等の温度ドリフトを補正することがで
きる。
Furthermore, since offset sampling is performed at regular intervals, temperature drift of operational amplifiers, etc. can be corrected.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したとおり、一定時間ごとに停止中
の位置ドループを読み取り、その値が零となるようにオ
フセット補正を行うために、読み取った位置ドループを
記憶しておくメモリと、運転時の位置ドループと位置指
令ならびに理想とする位置ループゲインとを用いて位置
ループゲインの補正を自動的に行う演算手段とからな〜
る速度指令オートゲ・ユーニング部を備えたので、サー
ボアンプ側および指令出力側の可変抵抗による調整が不
要となり、これに伴いサーボアンプ側の構造が簡略化さ
れるほか、ゲイン調整の不備に上る切削物の切削誤差が
生じないため、より信頼性の高い、また、精度の高い製
品が得られるという効果がある。
As explained above, this invention includes a memory for storing the read position droop, and a memory for storing the read position droop in order to read the position droop while the machine is stopped at regular intervals and perform offset correction so that the value becomes zero. A calculation means that automatically corrects the position loop gain using the position droop, the position command, and the ideal position loop gain.
Equipped with a speed command auto-geuning unit that eliminates the need for adjustment using variable resistors on the servo amplifier side and the command output side, which simplifies the structure of the servo amplifier side and eliminates the need for cutting, which would otherwise be caused by inadequate gain adjustment. Since there are no cutting errors, it is possible to obtain products with higher reliability and precision.

また、ゲインをパラメータにより設定するため、微小な
ゲインの調整が可能であり、オフセットをも一定時間ご
とにサンプリングするため、素子の温度ドリフトを補正
できるという効果がある。
Furthermore, since the gain is set by a parameter, minute gain adjustment is possible, and the offset is also sampled at regular intervals, so there is an effect that temperature drift of the element can be corrected.

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

第1図はこの発明の数値制御装置の−′A施例における
位置および速度ループを示すブロック図、第2図は従来
の数値制御装置における位置および速度ループを示すブ
ロック図である。 図において、1はサーボアンプ、2はD/Aコンバータ
、3は位置検出器、4は速度検出器、5は速度指令オー
トチューニング部、5aはメモリ、5bは演算手段であ
る。 なお、各図中の同一符号は同一または相当部分を示す。 代理人 大 岩 増 雄   (外2名)第1図 手続補正書(自発) ■、事件の表示   特願昭(il−286171号2
、発明の名称   数値制御装置 3、補正をする者 事件との関係 特許出願人 代表者志岐守哉 4、代理人 住 所    東京都千代田区丸の内二丁目2番3号三
菱電機株式会社内 5、補正の対象 明細書の発明の詳細な説明の欄 6、補正の内容 明細書第4頁20行の「位置はXt!け動いたことにな
る。」の次に、下記を挿入する。 1 (ただし、上記原因外にフィードバック系の位置誤
差要因がないものとする。)」 以  上
FIG. 1 is a block diagram showing the position and velocity loops in the -'A embodiment of the numerical control device of the present invention, and FIG. 2 is a block diagram showing the position and velocity loops in a conventional numerical control device. In the figure, 1 is a servo amplifier, 2 is a D/A converter, 3 is a position detector, 4 is a speed detector, 5 is a speed command auto-tuning section, 5a is a memory, and 5b is a calculation means. Note that the same reference numerals in each figure indicate the same or corresponding parts. Agent Masuo Oiwa (2 others) Diagram 1 procedural amendment (voluntary)
, Title of the invention Numerical control device 3, Relationship to the case of the person making the amendment Patent applicant Representative Moriya Shiki 4 Address of agent Mitsubishi Electric Corporation, 2-2-3 Marunouchi, Chiyoda-ku, Tokyo 5, Amendment Insert the following in column 6 of the detailed explanation of the invention in the subject specification, next to "The position is Xt! It has been displaced." in page 4, line 20 of the specification of contents of the amendment. 1 (However, it is assumed that there are no position error factors in the feedback system other than the above causes.)

Claims (1)

【特許請求の範囲】[Claims] 速度アナログ指令によりアナログ制御されるサーボアン
プを備えた数値制御装置において、一定時間ごとに停止
中の位置ドループを読み取り、その値が零となるように
オフセット補正を行うために前記読み取った位置ドルー
プを記憶しておくメモリと、運転時の位置ドループと位
置指令ならびに理想とする位置ループゲインとを用いて
位置ループゲインの補正を自動的に行う演算手段とから
なる速度指令オートチューニング部を備えたことを特徴
とする数値制御装置。
In a numerical control device equipped with a servo amplifier that is analog-controlled by a speed analog command, the position droop during a stop is read at regular intervals, and the read position droop is used to perform offset correction so that the value becomes zero. Equipped with a speed command auto-tuning section consisting of a memory for storing and a calculation means that automatically corrects the position loop gain using the position droop during operation, the position command, and the ideal position loop gain. A numerical control device featuring:
JP28617186A 1986-12-01 1986-12-01 Numerical controller Pending JPS63138401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28617186A JPS63138401A (en) 1986-12-01 1986-12-01 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28617186A JPS63138401A (en) 1986-12-01 1986-12-01 Numerical controller

Publications (1)

Publication Number Publication Date
JPS63138401A true JPS63138401A (en) 1988-06-10

Family

ID=17700860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28617186A Pending JPS63138401A (en) 1986-12-01 1986-12-01 Numerical controller

Country Status (1)

Country Link
JP (1) JPS63138401A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139605A (en) * 1988-11-21 1990-05-29 Japan Servo Co Ltd Position controller for moving body
JPH02165304A (en) * 1988-12-20 1990-06-26 Omron Tateisi Electron Co Control device
WO1999000287A1 (en) * 1997-06-30 1999-01-07 Mitsubishi Denki Kabushiki Kaisha Control device for automobiles
US6744233B1 (en) 2000-11-01 2004-06-01 Mitsubishi Denki Kabushiki Kaisha Servo controller and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59194218A (en) * 1983-04-18 1984-11-05 Mitsubishi Electric Corp Controller of robot
JPS60220411A (en) * 1984-04-17 1985-11-05 Toshiba Corp Digital position controller
JPS614203B2 (en) * 1977-03-23 1986-02-07 Ando Electric
JPS6148010A (en) * 1984-08-14 1986-03-08 Fujitsu Ltd Servo controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS614203B2 (en) * 1977-03-23 1986-02-07 Ando Electric
JPS59194218A (en) * 1983-04-18 1984-11-05 Mitsubishi Electric Corp Controller of robot
JPS60220411A (en) * 1984-04-17 1985-11-05 Toshiba Corp Digital position controller
JPS6148010A (en) * 1984-08-14 1986-03-08 Fujitsu Ltd Servo controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139605A (en) * 1988-11-21 1990-05-29 Japan Servo Co Ltd Position controller for moving body
JPH02165304A (en) * 1988-12-20 1990-06-26 Omron Tateisi Electron Co Control device
WO1999000287A1 (en) * 1997-06-30 1999-01-07 Mitsubishi Denki Kabushiki Kaisha Control device for automobiles
US6212447B1 (en) 1997-06-30 2001-04-03 Mitsubishi Denki Kabushiki Kaisha Control device for automobiles
US6744233B1 (en) 2000-11-01 2004-06-01 Mitsubishi Denki Kabushiki Kaisha Servo controller and method

Similar Documents

Publication Publication Date Title
JPH0731529B2 (en) Learning control method for numerically controlled machine tools
US3828168A (en) Controlled velocity drive
US3974428A (en) Wide range, high accuracy, electronically programmed speed control system
JPS63138401A (en) Numerical controller
JP2571096B2 (en) Encoder
US4918584A (en) Self-adjusting servo device and method
KR0176469B1 (en) A phase offset compensating method of a servo motor
JP2636264B2 (en) Automatic servo gain adjustment method for head positioning device
JP2703096B2 (en) Teaching method of robot system with conveyor
JPS62229412A (en) Positioning device
JPS6257008A (en) Positioning control system
JPH0323712Y2 (en)
JPH02285803A (en) Automatic level control circuit
JPS61150690A (en) Method of controlling servo motor
JPS61187147A (en) Speed servo circuit of capstan motor
JP2001100819A (en) Position driving control system and synchronizing/tuning position driving control method
JPS63283490A (en) Speed controller for servomotor
SU963042A1 (en) Code-to-shaft angular position converter
JPS58129508A (en) Control device of position
JPS619180A (en) Acceleration or deceleration controlling method of servo motor
JPH02108107A (en) Numerical controller
JPH01276315A (en) Numerical controller
JPS6394164A (en) Speed detector by resolver
JPS61255409A (en) Control device for positioning double spindle
JPS6174013A (en) Positioning device