JPH0595695A - Numerical value controller - Google Patents

Numerical value controller

Info

Publication number
JPH0595695A
JPH0595695A JP25391291A JP25391291A JPH0595695A JP H0595695 A JPH0595695 A JP H0595695A JP 25391291 A JP25391291 A JP 25391291A JP 25391291 A JP25391291 A JP 25391291A JP H0595695 A JPH0595695 A JP H0595695A
Authority
JP
Japan
Prior art keywords
current
command
speed
target
motor
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
JP25391291A
Other languages
Japanese (ja)
Inventor
Akihiro Takeuchi
彰浩 竹内
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP25391291A priority Critical patent/JPH0595695A/en
Publication of JPH0595695A publication Critical patent/JPH0595695A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent deviation of a track due to a load change, etc., by comparing a current command to a motor with a predetermined set current, reducing a target speed if the command is larger than the set current, and regulating the command to each motor to the set current or less. CONSTITUTION:Current command comparators 28X, 28Y compare a current command to motors 10X, 10Y with a predetermined set current. As a result of comparison, if the command is larger than the set current, the command to the motors 10X, 10Y is regulated to the set current or less by a target speed regulator 30. Thus, even if tracking becomes difficult due to an overload, etc., the target speed is reduced. As a result, the tracking is secured, and a target locus can be drawn. Thus, a deviation of the locus due to the load change, etc., can be prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のモータを駆動し
所定の軌跡を描かせる数値制御装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a numerical controller for driving a plurality of motors to draw a predetermined locus.

【0002】[0002]

【従来の技術】図5には、一従来例に係る数値制御装置
の構成が示されている。この図に示される装置は、X軸
のモータ10X及びY軸のモータ10Yを駆動し所定の
軌跡を描かせる装置である。この図の装置は、目標軌跡
並びにモータ10X及び10Yの目標速度パターンに基
づき位置指令を発する位置指令発生器12と、位置指令
に応じてモータ10X及び10Yを駆動するX軸制御部
14X及びY軸制御部14Yとから構成されている。
2. Description of the Related Art FIG. 5 shows the configuration of a numerical controller according to a conventional example. The device shown in this figure is a device that drives an X-axis motor 10X and a Y-axis motor 10Y to draw a predetermined locus. The apparatus shown in this figure includes a position command generator 12 that issues a position command based on a target trajectory and target speed patterns of the motors 10X and 10Y, and an X-axis control unit 14X and a Y-axis that drive the motors 10X and 10Y according to the position command. It is composed of a control unit 14Y.

【0003】X軸制御部14Xは、位置指令及び位置フ
ィードバックに基づき速度指令を発する位置制御部16
X、速度指令及び速度フィードバックに基づき電流指令
を発する速度制御部18X、電流指令及び電流フィード
バックに基づきモータ10Xの駆動電流を制御する電流
制御部20Xを備えており、さらに、モータ10Xの駆
動電流を検出する電流検出部22X、モータ10Xの挙
動を位置として検出する位置検出部24X、検出された
位置を速度に変換する位置‐速度変換部26Xを備えて
いる。電流検出部22Xにより検出される電流は電流制
御部20Xにフィードバックされ、位置検出部24Xに
より検出される位置は位置‐速度変換部26Xに入力さ
れるとともに位置制御部16Xにフィードバックされ、
位置‐速度変換部26Xにより得られる速度は速度制御
部18Xにフィードバックされる。すなわち、位置、速
度及び電流の3個のフィードバックループが構成されて
いる。
The X-axis control unit 14X is a position control unit 16 which issues a speed command based on a position command and position feedback.
X, a speed control unit 18X which issues a current command based on the speed command and the speed feedback, and a current control unit 20X which controls the drive current of the motor 10X based on the current command and the current feedback. A current detecting unit 22X for detecting, a position detecting unit 24X for detecting the behavior of the motor 10X as a position, and a position-speed converting unit 26X for converting the detected position into a speed are provided. The current detected by the current detection unit 22X is fed back to the current control unit 20X, the position detected by the position detection unit 24X is input to the position-speed conversion unit 26X and fed back to the position control unit 16X,
The speed obtained by the position-speed conversion unit 26X is fed back to the speed control unit 18X. That is, three feedback loops of position, velocity and current are formed.

【0004】同様に、Y軸制御部14Yは、位置制御部
16Y、速度制御部18Y、電流制御部20Y、電流検
出部22Y、位置検出部24Y、位置‐速度変換部26
Yから構成されている。
Similarly, the Y-axis controller 14Y includes a position controller 16Y, a speed controller 18Y, a current controller 20Y, a current detector 22Y, a position detector 24Y, and a position-speed converter 26.
It is composed of Y.

【0005】この実施例の動作について、図6に示され
るような円弧軌跡を描かせる例で説明する。すなわち、
図6の円弧軌跡を目標軌跡とし、図7のような接線速度
パターンを目標速度パターンとしてモータ10X及び1
0Yを駆動しようとした場合、位置指令発生器12は目
標軌跡及び目標速度パターンに基づきX,Yそれぞれに
ついて位置指令を発し、X軸制御部14X及びY軸制御
部14Yに供給する。ここでは目標軌跡が円弧軌跡であ
るため、X,Yの位置指令は図8及び図9にそれぞれ示
されるX,Yの目標軌跡に対応する値、すなわち次の式
の値となる。ただし、VXYは接線速度、Rは半径であ
る。
The operation of this embodiment will be described with reference to an example of drawing an arc locus as shown in FIG. That is,
The arc locus of FIG. 6 is used as the target locus, and the tangential velocity pattern as shown in FIG. 7 is used as the target velocity pattern.
When trying to drive 0Y, the position command generator 12 issues a position command for each of X and Y based on the target trajectory and the target speed pattern, and supplies the position command to the X-axis control unit 14X and the Y-axis control unit 14Y. Here, since the target locus is an arc locus, the X and Y position commands have values corresponding to the X and Y target loci shown in FIGS. 8 and 9, that is, the values of the following equations. However, V XY is a tangential velocity and R is a radius.

【0006】 X=Rsin(VXYt/R) Y=Rcos(VXYt/R) X軸制御部14X及びY軸制御部14Yにおいては、上
述した位置、速度及び電流の3個のフィードバックルー
プにより、モータ10X及び10Yの駆動が制御され
る。すなわち、モータ10X及び10Yは、図5の装置
の制御の下、駆動対象物(負荷)を駆動する。このよう
な駆動は、目標軌跡の終了点(目標位置)に達するまで
繰り返される。なお、以上の動作において、位置指令、
速度指令、電流指令、電流発生が同時に実行される場合
もある。
X = Rsin (V XY t / R) Y = R cos (V XY t / R) In the X-axis control unit 14X and the Y-axis control unit 14Y, the above three feedback loops of position, speed and current are used. Thus, the driving of the motors 10X and 10Y is controlled. That is, the motors 10X and 10Y drive the drive target (load) under the control of the device of FIG. Such driving is repeated until the end point (target position) of the target trajectory is reached. In the above operation, the position command,
The speed command, the current command, and the current generation may be executed at the same time.

【0007】この実施例においては、許容最大電流より
大きい電流でモータ10X,10Yが駆動されるのを防
ぐため、電流制御部20X及び20Yが図10のように
動作する。この図に示されるように、電流制御部20X
及び20Yは、電流指令を速度制御部18X又は18Y
から受け取った後(100)、電流指令Imがモータ1
0X又は10Yの許容最大電流Imaxより大きいか否
かを判断し(102)、大きい場合にのみ電流指令Im
を許容最大電流Imaxに制限し(104)、電流指令
Imに基づきモータ10X又は10Yの駆動電流を制御
する(106)。
In this embodiment, the current controllers 20X and 20Y operate as shown in FIG. 10 in order to prevent the motors 10X and 10Y from being driven with a current larger than the maximum allowable current. As shown in this figure, the current controller 20X
And 20Y indicate the current command to the speed controller 18X or 18Y.
(100), the current command Im is received from the motor 1
It is judged whether or not it is larger than the allowable maximum current Imax of 0X or 10Y (102).
Is limited to the allowable maximum current Imax (104), and the drive current of the motor 10X or 10Y is controlled based on the current command Im (106).

【0008】このような電流指令Imの制限を行うと、
結果として、モータ10X又は10Yの駆動制御に遅れ
が発生する。この実施例においては、軌跡のずれが所定
値以上となった場合に、異常動作と判断され、モータ1
0X及び10Yの駆動が中止される。図11に示される
ように、位置制御部16Xは、位置指令の値(指令位
置)と位置フィードバックの値(現在位置)との差を求
め(200)、求められた差である位置偏差が設定され
ている許容値以下であるか否かを判断し(202)、こ
の条件が満たされない場合には異常と判断してその旨の
表示及びモータ10X及び10Yの駆動を中止する(2
04)。
When the current command Im is limited as described above,
As a result, a delay occurs in the drive control of the motor 10X or 10Y. In this embodiment, when the deviation of the locus exceeds a predetermined value, it is determined that the operation is abnormal and the motor 1
The driving of 0X and 10Y is stopped. As shown in FIG. 11, the position control unit 16X calculates the difference between the value of the position command (command position) and the value of the position feedback (current position) (200), and sets the position deviation that is the calculated difference. It is judged whether or not it is less than or equal to the allowable value (202), and if this condition is not satisfied, it is judged to be abnormal and the display to that effect and the driving of the motors 10X and 10Y are stopped (2).
04).

【0009】[0009]

【発明が解決しようとする課題】従来の数値制御装置に
おいては、電流制限による軌跡のずれを監視し、上述の
ように異常動作と見なして駆動を停止する処理を実行し
ていた。しかし、例えば負荷が大きくなりモータの最大
推力より大きな推力が必要となると、やはり軌跡がずれ
てしまう。また、軌跡のずれを検出できても、当該ずれ
を修正することは出来ない。
In the conventional numerical control apparatus, the deviation of the locus due to the current limitation is monitored, and the processing for stopping the driving is executed as described above, which is regarded as an abnormal operation. However, for example, when the load becomes large and a thrust force larger than the maximum thrust force of the motor is required, the locus also shifts. Further, even if the deviation of the trajectory can be detected, the deviation cannot be corrected.

【0010】図6に示されるような円弧軌跡を目標軌跡
としている場合において、モータの駆動中に負荷変動等
が生じると、位置指令に対する遅れが発生し、この遅れ
を回復するための必要推力がモータの最大発生トルクよ
り大きくなる。すると、例えばX軸のモータに関して考
えた場合、図12(A)において実線で示されるような
軌跡となり、破線の指令に対し、図12(B)に示され
る偏差だけずれる。このとき、図11に示される動作に
よって、ある時間、モータの駆動電流が制限される(図
12(C))。この結果、実際の軌跡は図13に示され
るように円弧とは大きく異なるものとなる。
In the case where the arc locus as shown in FIG. 6 is used as the target locus, if a load fluctuation or the like occurs during driving of the motor, a delay occurs with respect to the position command, and a necessary thrust force for recovering this delay is generated. It becomes larger than the maximum torque generated by the motor. Then, for example, when considering the X-axis motor, the locus shown by the solid line in FIG. 12A is obtained, and the deviation shown in FIG. 12B deviates from the command shown by the broken line. At this time, the operation shown in FIG. 11 limits the drive current of the motor for a certain time (FIG. 12 (C)). As a result, the actual locus becomes significantly different from the arc as shown in FIG.

【0011】本発明は、このような問題点を解決するこ
とを課題としてなされたものであり、負荷変動等による
軌跡のずれを防止することを目的とする。
The present invention has been made to solve the above problems, and it is an object of the present invention to prevent the deviation of the locus due to load fluctuation or the like.

【0012】[0012]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、各モータへの電流指令を所定の設
定電流と比較する複数の電流指令比較部と、比較の結果
電流指令が設定電流より大きい場合には目標速度を低減
させ、各モータへの電流指令を設定電流以下に調整する
目標速度調整部と、を備えることを特徴とする。
In order to achieve such an object, the present invention provides a plurality of current command comparison units for comparing a current command to each motor with a predetermined set current and a current command as a result of the comparison. Is greater than the set current, the target speed is reduced, and a target speed adjusting unit that adjusts the current command to each motor to be equal to or less than the set current is provided.

【0013】[0013]

【作用】本発明においては、電流指令が所定の設定電
流、例えばモータの許容最大電流と比較される。この結
果前者が大の場合には前者が後者以下となるよう、目標
速度が調整される。このように、過負荷等により追従が
困難になる場合であっても、目標速度が低減される結
果、追従を確保し目標軌跡を描くことが可能になる。
In the present invention, the current command is compared with a predetermined set current, for example, the maximum allowable current of the motor. As a result, when the former is large, the target speed is adjusted so that the former is equal to or less than the latter. As described above, even when tracking is difficult due to overload or the like, the target speed is reduced, and as a result, tracking can be secured and a target trajectory can be drawn.

【0014】[0014]

【実施例】以下、本発明の好適な実施例について図面に
基づき説明する。なお、図5乃至図13に示される従来
例と同様の構成には同一の符号を付し説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. The same components as those in the conventional example shown in FIGS. 5 to 13 are designated by the same reference numerals and the description thereof will be omitted.

【0015】図1には、本発明の一実施例に係る数値制
御装置の構成が示されている。この装置は、X軸制御部
14X及びY軸制御部14Yにそれぞれ電流指令比較部
28X及び28Yを付加し、位置指令発生器12を目標
速度調整部30並びに位置指令発生部32X及び32Y
を含む構成とした装置である。
FIG. 1 shows the configuration of a numerical controller according to an embodiment of the present invention. This apparatus adds current command comparison units 28X and 28Y to the X-axis control unit 14X and the Y-axis control unit 14Y, respectively, and sets the position command generator 12 to the target speed adjustment unit 30 and the position command generation units 32X and 32Y.
The device is configured to include.

【0016】電流指令比較部28X及び28Yは、それ
ぞれ、モータ10X又は10Yの許容最大電流Imax
以下に設定された電流値と電流指令Imとを比較し、後
者が前者より大きい場合速度低下指令を発する。目標速
度調整部30は、位置指令発生部32X又は32Yに目
標速度を与える一方、電流指令比較部28X及び28Y
の出力を監視し、速度低下指令が発せられた場合には目
標速度を一定量ΔVずつ減らす。位置指令発生部32X
及び32Yは、目標速度調整部30からの目標速度V
obj び所定の目標軌跡に基づき対応する軸の位置指令を
発する。また、電流制御部20X及び20Yは、速度低
下指令が発せられているときにのみ、モータ10X又は
10Yについて従来と同様の駆動電流制御を行う。
The current command comparison units 28X and 28Y respectively have an allowable maximum current Imax of the motor 10X or 10Y.
The current value set below is compared with the current command Im, and if the latter is larger than the former, a speed reduction command is issued. The target speed adjusting unit 30 gives the target speed to the position command generating unit 32X or 32Y, while the current command comparing units 28X and 28Y.
Is monitored, and if a speed reduction command is issued, the target speed is reduced by a constant amount ΔV. Position command generator 32X
And 32Y are the target speed V from the target speed adjusting unit 30.
The position command of the corresponding axis is issued based on obj and a predetermined target locus. Further, the current control units 20X and 20Y perform the same drive current control as the conventional one on the motor 10X or 10Y only when the speed reduction command is issued.

【0017】すなわち、この実施例の特徴とするところ
は、電流指令Imが設定電流を越えようとしたときに目
標速度Vobj を漸次低減するようにした点である。
That is, the feature of this embodiment is that the target speed V obj is gradually reduced when the current command Im tries to exceed the set current.

【0018】図2には、この実施例の動作が示されてい
る。この図はX軸についての説明であるが、Y軸につい
ても同様となる。この図に示されるように、初期的に
は、目標速度Vobj が最高速度Vmに設定される(30
0)。次に、位置指令発生部32Xは、この目標速度V
obj に基づき位置指令を発生させる(302)。目標軌
跡が図6のようなものである場合、発生式は以下のよう
な式である。
The operation of this embodiment is shown in FIG. Although this figure illustrates the X axis, the same applies to the Y axis. As shown in this figure, initially, the target speed V obj is set to the maximum speed Vm (30
0). Next, the position command generator 32X determines the target speed V
A position command is generated based on obj (302). When the target locus is as shown in FIG. 6, the generation formula is as follows.

【0019】X=Rsin(Vobj t/R) 位置制御部16Xは、この位置指令及び位置検出部24
Xからの位置フィードバックに基づき、速度指令を発す
る(304)。さらに、速度制御部18Xは、速度指令
及び位置‐速度変換部26Xを介する速度フィードバッ
クに基づき電流指令Imを発する(306)。このと
き、電流指令Imが所定の設定電流より大きいか否かが
電流指令比較部28Xにより判定される(308)。電
流指令比較部28Xは、大きい場合には速度低下指令を
発し、目標速度調整部30がこれに応じて目標速度V
obj をΔVだけ低下させる(310)。すなわち、 Vobj ←Vobj −ΔV となる。こののち、ステップ302に戻る。
X = Rsin (V obj t / R) The position control unit 16X has the position command and position detection unit 24.
A speed command is issued based on the position feedback from X (304). Further, the speed control unit 18X issues the current command Im based on the speed command and the speed feedback via the position-speed conversion unit 26X (306). At this time, the current command comparison unit 28X determines whether the current command Im is larger than a predetermined set current (308). The current command comparison unit 28X issues a speed decrease command when the current speed is large, and the target speed adjustment unit 30 responds to this by issuing the target speed V.
Decrease obj by ΔV (310). That is, V obj ← V obj −ΔV. After this, the process returns to step 302.

【0020】従って、当初、電流指令Imが所定の設定
電流より大きかった場合でも、上記の動作の繰り返しに
よって、電流指令Imが設定電流以下となる。電流指令
比較部28Xにより電流指令Imが設定電流以下である
と判定された場合には、電流制御部20Xによるモータ
10Xの駆動電流制御に移る(312)。
Therefore, even if the current command Im is initially larger than the predetermined set current, the current command Im becomes equal to or less than the set current by repeating the above operation. When the current command comparison unit 28X determines that the current command Im is less than or equal to the set current, the current control unit 20X proceeds to drive current control of the motor 10X (312).

【0021】言い換えれば、電流制御部20Xは、電流
指令Imが設定電流以下に制限された状態で、モータ1
0Xの駆動電流を制御する。こののち、時間変数tを更
新し(314)、ステップ300に戻る。
In other words, the current control unit 20X controls the motor 1 while the current command Im is limited to the set current or less.
Control 0X drive current. After this, the time variable t is updated (314) and the process returns to step 300.

【0022】図3には、この実施例における目標速度調
整部30の構成が示されている。この図に示されるよう
に、目標速度調整部30は、電流指令比較部28X及び
28Yからの速度低下指令を入力し目標速度Vobj を調
整する演算部34を備えており、この演算部34におけ
る処理に用いる諸量を記憶するメモリとして最大速度保
存メモリ36、目標速度保存メモリ38、減速量保存メ
モリ40を備えている。演算部34は、速度低下指令を
入力する機能を有する速度低下指令受け取り部42と、
ステップ310の演算を行う機能を有する目標速度低下
計算部44と、調整した目標速度Vobj を位置指令発生
部32X及び32Yに出力する機能を有する目標速度送
出部46と、を有している。
FIG. 3 shows the structure of the target speed adjusting unit 30 in this embodiment. As shown in this figure, the target speed adjustment unit 30 includes a calculation unit 34 that receives a speed reduction command from the current command comparison units 28X and 28Y and adjusts the target speed V obj . A maximum speed storage memory 36, a target speed storage memory 38, and a deceleration amount storage memory 40 are provided as memories for storing various amounts used for processing. The calculation unit 34 includes a speed reduction command receiving unit 42 having a function of inputting a speed reduction command,
It has a target speed decrease calculation unit 44 having a function of performing the calculation of step 310, and a target speed sending unit 46 having a function of outputting the adjusted target speed V obj to the position command generation units 32X and 32Y.

【0023】図4には、この目標速度調整部30の動作
の流れが示されている。この図に示されるように、ま
ず、前述のステップ300に対応するように、最大速度
保存メモリ36から最高速度Vmが読み出され演算部3
4により目標速度Vobj に設定される(400)。次
に、この目標速度Vobj は目標速度送出部46により位
置指令発生部32X及び32Yに出力され、かつ目標速
度保存メモリ38に記憶される(402)。さらに、速
度低下指令受け取り部42により電流指令比較部28X
及び28Yから速度低下指令が受け取られているか否か
が判定される(404)。受け取られていなければ、ス
テップ402に戻る。いずれかの電流指令比較部から速
度低下指令が受け取られている場合には、ステップ40
2において送出した目標速度Vobj に対応する電流指令
Imが設定電流を越えている状態であるため(30
8)、ステップ310に係る演算が、目標速度低下計算
部44により実行される(406)。この演算は、目標
速度保存メモリ38に記憶されている目標速度Vobj
び減速量保存メモリ40に記憶されているΔVに基づ
き、実行される。このようにして低下させた目標速度V
obj も目標速度送出部46により位置指令発生部32X
及び32Yに出力され、かつ目標速度保存メモリ38に
記憶される。この後、ステップ402に戻る。
FIG. 4 shows a flow of the operation of the target speed adjusting section 30. As shown in this figure, first, the maximum speed Vm is read from the maximum speed storage memory 36 so as to correspond to step 300 described above, and the arithmetic unit 3 is read.
The target speed V obj is set by 4 (400). Next, the target speed V obj is output to the position command generators 32X and 32Y by the target speed sending unit 46 and is stored in the target speed storage memory 38 (402). Further, the speed command receiving unit 42 causes the current command comparing unit 28X
And 28Y, it is determined whether or not a speed reduction command is received (404). If not, return to step 402. If a speed reduction command is received from any of the current command comparison units, step 40
Since the current command Im corresponding to the target speed V obj sent in 2 exceeds the set current (30
8), the calculation related to step 310 is executed by the target speed decrease calculator 44 (406). This calculation is executed based on the target speed V obj stored in the target speed storage memory 38 and the ΔV stored in the deceleration amount storage memory 40. The target speed V reduced in this way
obj is also the position command generator 32X by the target speed transmitter 46
And 32Y and are stored in the target speed storage memory 38. Then, the process returns to step 402.

【0024】このように、本実施例によれば、所定の目
標軌跡を描くことができない目標速度Vobj を追従でき
る速度まで低下させるようにしているため、実際の軌跡
を目標軌跡に近付けることができる。すなわち、過負荷
によって軌跡が崩れるなどの不具合がなくなる。
As described above, according to the present embodiment, the target velocity V obj that cannot draw a predetermined target trajectory is reduced to a velocity that can follow the target trajectory, so that the actual trajectory can be brought close to the target trajectory. it can. That is, there is no problem that the locus is broken due to overload.

【0025】さらに、本実施例によれば、目標軌跡に追
従できかつ最高の速度となるよう自動的に目標速度V
obj が設定されるため、予め最高速度Vmを高めに設定
しておけば、サイクルタイムが最短となると共に、調整
工数が低減する。
Further, according to the present embodiment, the target speed V is automatically adjusted so that the target trajectory can be followed and the maximum speed can be obtained.
Since obj is set, if the maximum speed Vm is set higher in advance, the cycle time becomes the shortest and the adjustment man-hour is reduced.

【0026】加えて、最大推力の小さいモータを用いた
場合でも、目標軌跡に追従できる。このようにより小型
のモータを使用できるため、モータの負荷と人間とが接
触した場合、安全な推力に低減でき、安全性がより向上
する。さらには、モータの小型化によるコストダウンも
可能である。
In addition, the target locus can be followed even when a motor having a small maximum thrust is used. Since a small motor can be used in this way, when the load of the motor and a person come into contact with each other, the thrust can be reduced to a safe thrust, and the safety is further improved. Further, the cost can be reduced by downsizing the motor.

【0027】[0027]

【発明の効果】以上説明したように、本発明によれば、
電流指令Imを設定電流と比較し目標速度を調整するよ
うにしたため、過負荷等の場合でも目標軌跡に追従し、
合成軌跡のずれの発生を防止できる。さらには、目標速
度が自動調整されるため、目標速度の設定に係る工数が
低減する。また、モータの推力を小さくできるため、安
全性の向上及びコストダウンが可能である。
As described above, according to the present invention,
Since the target speed is adjusted by comparing the current command Im with the set current, the target locus is followed even in the case of overload,
It is possible to prevent the deviation of the synthetic trajectory. Furthermore, since the target speed is automatically adjusted, the number of steps involved in setting the target speed is reduced. Further, since the thrust of the motor can be reduced, it is possible to improve safety and reduce costs.

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

【図1】本発明の一実施例に係る数値制御装置の全体構
成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a numerical control device according to an embodiment of the present invention.

【図2】この実施例の全体動作を示すフローチャートで
ある。
FIG. 2 is a flowchart showing the overall operation of this embodiment.

【図3】この実施例における目標速度調整部の構成を示
すブロック図である。
FIG. 3 is a block diagram showing a configuration of a target speed adjusting unit in this embodiment.

【図4】この実施例における目標速度調整部の動作を示
すフローチャートである。
FIG. 4 is a flowchart showing an operation of a target speed adjusting unit in this embodiment.

【図5】一従来例に係る数値制御装置の全体構成を示す
ブロック図である。
FIG. 5 is a block diagram showing an overall configuration of a numerical control device according to a conventional example.

【図6】目標軌跡の一例を示す図である。FIG. 6 is a diagram showing an example of a target trajectory.

【図7】目標速度パターンの一例を示す図である。FIG. 7 is a diagram showing an example of a target speed pattern.

【図8】X軸の目標軌跡の一例を示す図である。FIG. 8 is a diagram showing an example of an X-axis target trajectory.

【図9】Y軸の目標軌跡の一例を示す図である。FIG. 9 is a diagram showing an example of a Y-axis target trajectory.

【図10】この従来例における電流制御部の動作を示す
フローチャートである。
FIG. 10 is a flowchart showing the operation of the current control unit in this conventional example.

【図11】この従来例における異常停止動作を示すフロ
ーチャートである。
FIG. 11 is a flowchart showing an abnormal stop operation in this conventional example.

【図12】この従来例における過負荷等による軌跡のず
れを示す図であり、(A)は実際のX軸軌跡と目標軌跡
とのずれを、(B)は偏差を、(C)は電流値を、それ
ぞれ示す図である。
FIG. 12 is a diagram showing a deviation of a locus due to overload and the like in this conventional example. (A) is a deviation between an actual X-axis locus and a target locus, (B) is a deviation, and (C) is a current. It is a figure which shows a value, respectively.

【図13】この従来例における実際の軌跡を示す図であ
る。
FIG. 13 is a diagram showing an actual trajectory in this conventional example.

【符号の説明】[Explanation of symbols]

10X,10Y モータ 12 位置指令発生器 14X X軸制御部 14Y Y軸制御部 16X,16Y 位置制御部 18X,18Y 速度制御部 20X,20Y 電流制御部 22X,22Y 電流検出部 24X,24Y 位置検出部 26X,26Y 位置‐速度変換部 28X,28Y 電流指令比較部 30 目標速度調整部 32X,32Y 位置指令発生部 34 演算部 36 最大速度保存メモリ 38 目標速度保存メモリ 40 減速量保存メモリ 42 速度低下指令受け取り部 44 目標速度低下計算部 46 目標速度送出部 Vobj 目標速度 Vm 最高速度 ΔV 目標速度の減速量10X, 10Y Motor 12 Position command generator 14X X-axis control section 14Y Y-axis control section 16X, 16Y Position control section 18X, 18Y Speed control section 20X, 20Y Current control section 22X, 22Y Current detection section 24X, 24Y Position detection section 26X , 26Y Position-speed conversion unit 28X, 28Y Current command comparison unit 30 Target speed adjustment unit 32X, 32Y Position command generation unit 34 Calculation unit 36 Maximum speed saving memory 38 Target speed saving memory 40 Deceleration amount saving memory 42 Speed decrease command receiving unit 44 target speed drop calculation unit 46 target speed sending unit V obj target speed Vm maximum speed ΔV target speed deceleration amount

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 目標速度及び目標軌跡に応じて複数のモ
ータのそれぞれについて位置指令を発する位置指令発生
器と、位置指令及び位置フィードバックに基づき各モー
タについて速度指令を発する複数の位置制御部と、速度
指令及び速度フィードバックに基づき各モータについて
電流指令を発する複数の速度制御部と、電流指令及び電
流フィードバックに基づき各モータの駆動電流を制御す
る複数の電流制御部と、各モータの位置、速度及び電流
をそれぞれ対応する位置制御部、速度制御部及び電流制
御部にフィードバックする手段と、を備え、複数のモー
タによる合成軌跡が目標軌跡を描くよう当該複数のモー
タの駆動電流を制御する数値制御装置において、 各モータへの電流指令を所定の設定電流と比較する複数
の電流指令比較部と、 比較の結果電流指令が設定電流より大きい場合には目標
速度を低減させ、各モータへの電流指令を設定電流以下
に調整する目標速度調整部と、 を備えることを特徴とする数値制御装置。
1. A position command generator for issuing a position command for each of a plurality of motors according to a target speed and a target trajectory, and a plurality of position control units for issuing a speed command for each motor based on the position command and position feedback. A plurality of speed control units that issue a current command for each motor based on the speed command and the speed feedback, a plurality of current control units that control the drive current of each motor based on the current command and the current feedback, and the position, speed, and speed of each motor. And a means for feeding back currents to the corresponding position control section, speed control section and current control section, and controlling the drive currents of the plurality of motors so that the combined trajectory of the plurality of motors draws a target trajectory. , A plurality of current command comparison units that compare the current command to each motor with a predetermined set current, and Of If the result current command is larger than the set current reduces the target speed, the numerical control device, wherein the target speed adjusting unit that adjusts the current command below the set current, in that it comprises for each motor.
JP25391291A 1991-10-01 1991-10-01 Numerical value controller Pending JPH0595695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25391291A JPH0595695A (en) 1991-10-01 1991-10-01 Numerical value controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25391291A JPH0595695A (en) 1991-10-01 1991-10-01 Numerical value controller

Publications (1)

Publication Number Publication Date
JPH0595695A true JPH0595695A (en) 1993-04-16

Family

ID=17257776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25391291A Pending JPH0595695A (en) 1991-10-01 1991-10-01 Numerical value controller

Country Status (1)

Country Link
JP (1) JPH0595695A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001071903A1 (en) 2000-03-17 2001-09-27 Mitsubishi Denki Kabushiki Kaisha Numerical control drive system
JP2002032126A (en) * 2000-05-22 2002-01-31 Caterpillar Inc Method and device for controlling position and speed of piezoelectric element
JP2002323915A (en) * 2001-04-25 2002-11-08 Toshiba Mach Co Ltd Numerical controller
JP2009264257A (en) * 2008-04-25 2009-11-12 Toyota Motor Corp Control device for compression ratio change mechanism of internal combustion engine
CN103019169A (en) * 2011-09-27 2013-04-03 富士机械制造株式会社 Servo driving system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001071903A1 (en) 2000-03-17 2001-09-27 Mitsubishi Denki Kabushiki Kaisha Numerical control drive system
EP1265350A1 (en) * 2000-03-17 2002-12-11 Mitsubishi Denki Kabushiki Kaisha Numerical control drive system
EP1265350A4 (en) * 2000-03-17 2007-07-18 Mitsubishi Electric Corp Numerical control drive system
JP2002032126A (en) * 2000-05-22 2002-01-31 Caterpillar Inc Method and device for controlling position and speed of piezoelectric element
JP2002323915A (en) * 2001-04-25 2002-11-08 Toshiba Mach Co Ltd Numerical controller
JP2009264257A (en) * 2008-04-25 2009-11-12 Toyota Motor Corp Control device for compression ratio change mechanism of internal combustion engine
CN103019169A (en) * 2011-09-27 2013-04-03 富士机械制造株式会社 Servo driving system
JP2013073351A (en) * 2011-09-27 2013-04-22 Fuji Mach Mfg Co Ltd Servo drive system

Similar Documents

Publication Publication Date Title
EP1959323B1 (en) Elimination of unintended velocity reversals in S-curve velocity profiles
Khan et al. Speed control of DC motor under varying load using PID controller
JP4075803B2 (en) Motor control device
WO2007046257A1 (en) Motor control device, method, and program storage medium
JPH0595695A (en) Numerical value controller
JPWO2008093486A1 (en) Moment of inertia identification device, identification method thereof, and motor control device including the identification device
JPS61203883A (en) Servo motor control system
EP1265350B1 (en) Numerical control drive system
JPH11282538A (en) Servo device
JP2008148449A (en) Motor position control method
JPS6015718A (en) Speed servo control method
JP3152329B2 (en) Numerical control unit
JPH04295908A (en) Positioning controller for motor-driven valve
JPH08132369A (en) Robot controller
CN116961518A (en) Online switching method and device for control modes of servo driver
JPH05250022A (en) Control system for motor
JP2005057894A (en) Motor controller
JP2712172B2 (en) Servo motor controller
JPH06261574A (en) Control device of servomotor
JPH07323945A (en) Tension control method
JPS63265582A (en) Servomotor controller
JPH0564476A (en) Speed controller for motor
JPH0447309A (en) Positioning control device for motor valve
SU886178A1 (en) Two-zone thyratron electric drive
JPS5944983A (en) Speed controller for drive device