JPH11136996A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH11136996A
JPH11136996A JP9298877A JP29887797A JPH11136996A JP H11136996 A JPH11136996 A JP H11136996A JP 9298877 A JP9298877 A JP 9298877A JP 29887797 A JP29887797 A JP 29887797A JP H11136996 A JPH11136996 A JP H11136996A
Authority
JP
Japan
Prior art keywords
unit
motor
divided
integrating
change
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.)
Granted
Application number
JP9298877A
Other languages
Japanese (ja)
Other versions
JP3964516B2 (en
Inventor
Shigeki Haruyama
茂樹 晴山
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.)
Shibaura Mechatronics Corp
Original Assignee
Shibaura Mechatronics 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 Shibaura Mechatronics Corp filed Critical Shibaura Mechatronics Corp
Priority to JP29887797A priority Critical patent/JP3964516B2/en
Publication of JPH11136996A publication Critical patent/JPH11136996A/en
Application granted granted Critical
Publication of JP3964516B2 publication Critical patent/JP3964516B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To permit any change only for one of the setting period for quantity of movement and the communication period between units thereby avoiding the change to both of them by dividing to predetermined pieces and storing the quantity of movement of a motor set by a constant period, estimating them sequentially, sending the estimate at certain time intervals, and driving the motor in response to the estimated value. SOLUTION: Quantity of movement L of each motor 10 is set for every certain time period at the numerical arithmetic section 22 of a numerical arithmetic unit 21, each quantity L of movement is divided into N and is then stored in a primary storage section 23. Quantities of movement divided into N-number are sent to each estimate counter 24 and estimated and are sent out to each serial signal line 27 by a communication control section 25. On the other hand, at the motor control unit 31, the estimated value A is taken in by the communication control section 32, sent to the arithmetic section 33, an estimated value B of the estimate counter 35 is subtracted from the calculated value A and any change in the estimated value A is detected, and the motor 10 is operated in response to the change. By doing this, any spreading of the change in the specifications to the change in the whole configuration including the numerical arithmetic unit 21 and the motor control unit 31 can be avoided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、例えば産業用ロ
ボットの軸のアーム駆動用モータを制御するモータ制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device for controlling, for example, a motor for driving an arm of a shaft of an industrial robot.

【0002】[0002]

【従来の技術】複数軸を有する産業用ロボットは、各軸
のアーム駆動用として複数のモータを備え、さらに、こ
れらモータの駆動制御用としてモータ制御装置を備え
る。このモータ制御装置の例として、特開平3-222696号
公報に示されるように、複数のモータの移動量を一定周
期で設定し、これら移動量を各モータ制御ユニットに送
り、各モータ制御ユニットでは送られた移動量に応じて
各モータを駆動するものがある。また、図4に示すもの
がある。
2. Description of the Related Art An industrial robot having a plurality of axes has a plurality of motors for driving an arm of each axis, and further has a motor control device for controlling the driving of these motors. As an example of this motor control device, as shown in JP-A-3-222696, the moving amounts of a plurality of motors are set at a fixed period, and these moving amounts are sent to each motor control unit. Some motors drive each motor according to the amount of movement sent. FIG. 4 shows another example.

【0003】図4において、1は数値演算ユニットで、
数値演算部2、複数の一次記憶部3、通信制御部4、お
よび主制御部5を備える。数値演算部2は、後述する複
数のモータ10のそれぞれ移動量(アームの絶対移動位
置に相当)を一定周期たとえば24msecごとに演算して同
時設定する。
In FIG. 4, 1 is a numerical operation unit,
It comprises a numerical operation unit 2, a plurality of primary storage units 3, a communication control unit 4, and a main control unit 5. The numerical calculation unit 2 calculates and simultaneously sets the movement amounts (corresponding to the absolute movement positions of the arms) of the plurality of motors 10 described later at regular intervals, for example, every 24 msec.

【0004】一次記憶部3は、 6個のバッファメモリ3
a,…3fを有し、数値演算部2で設定される移動量を
6分割して各バッファメモリに順次記憶する。通信制御
部4は、各一次記憶部3内のそれぞれ 6個の分割移動量
を 4msecごとに各シリアル信号ライン6に順次に送出す
る( 6個の分割移動量の全ての送出にかかる時間は24ms
ec)。
[0006] The primary storage unit 3 includes six buffer memories 3
a,... 3f, and the moving amount set by the numerical operation unit 2 is
It is divided into six and stored in each buffer memory sequentially. The communication control unit 4 sequentially transmits the six divided movement amounts in each primary storage unit 3 to each serial signal line 6 every 4 msec. (The time required for transmitting all six divided movement amounts is 24 ms.
ec).

【0005】主制御部5は、数値演算部2、各一次記憶
部3、通信制御部4のそれぞれ作動タイミングを制御す
る。上記各シリアル信号ライン6は 4個のモータ制御ユ
ニット11に接続される。各モータ制御ユニット11
は、通信制御部12、一次記憶部13、積算カウンタ1
4、モータ駆動部15、および主制御部16を備える。
[0005] The main control unit 5 controls the operation timing of the numerical operation unit 2, each primary storage unit 3, and the communication control unit 4. Each serial signal line 6 is connected to four motor control units 11. Each motor control unit 11
Is a communication control unit 12, a primary storage unit 13, an integration counter 1
4, a motor drive unit 15 and a main control unit 16 are provided.

【0006】通信制御部12は、シリアル信号ライン6
から 4msecごとに送られてくる 6個の分割移動量を順次
に取込む。一次記憶部13は、 4個のバッファメモリ1
3a,…13dを有し、通信制御部12で順次に取込ま
れる分割移動量を逐次に 4分割して各バッファメモリに
順次記憶する。
[0006] The communication control unit 12 is connected to the serial signal line 6.
The 6 divided movements sent every 4 msec are sequentially captured. The primary storage unit 13 has four buffer memories 1
.. 13d, and the divided movement amounts sequentially taken in by the communication control unit 12 are sequentially divided into four and sequentially stored in each buffer memory.

【0007】積算カウンタ14は、バッファメモリ13
a,…13d内の再分割移動量を1msecごとに積算す
る。モータ駆動部15は、積算カウンタ14の積算値を
1msecごとに参照してその積算値に応じた位置にアーム
が到達するよう、モータ10を駆動する。モータ10
は、産業用ロボットの各軸のアームを駆動する。主制御
部16は、通信制御部12、一次記憶部13、積算カウ
ンタ14、モータ駆動部15のそれぞれ作動タイミング
を制御する。
[0007] The integrating counter 14 has a buffer memory 13
a,... 13d are integrated every 1 msec. The motor drive unit 15 calculates the integrated value of the integration counter 14
The motor 10 is driven so that the arm reaches the position corresponding to the integrated value by referring to the value every 1 msec. Motor 10
Drives the arm of each axis of the industrial robot. The main control unit 16 controls operation timings of the communication control unit 12, the primary storage unit 13, the integration counter 14, and the motor drive unit 15, respectively.

【0008】[0008]

【発明が解決しようとする課題】図4のモータ制御装置
では、数値演算ユニット1の数値演算部2による移動量
の設定周期が24msec、数値演算ユニット1とモータ制御
ユニット11との間のシリアル信号ライン6を介した通
信周期が 4msec(分割移動量の全ての通信にかかる時間
は24msec)であり、移動量設定周期とユニット間通信周
期との間に、移動量設定周期を整数で割った数値(除算
値)がユニット間通信周期になるという関係がある。
In the motor control device shown in FIG. 4, the set period of the moving amount by the numerical operation unit 2 of the numerical operation unit 1 is 24 msec, and the serial signal between the numerical operation unit 1 and the motor control unit 11 is provided. The communication cycle via the line 6 is 4 msec (the time required for all communication of the divided movement amount is 24 msec), and the value obtained by dividing the movement amount setting period by an integer between the movement amount setting period and the inter-unit communication period. There is a relationship that (divided value) becomes the inter-unit communication cycle.

【0009】このため、何らかの理由で、ユニット間通
信周期として 4msecより長い例えば8msecを採用するよ
うな仕様変更が必要になった場合、それに伴い、移動量
設定周期として24msecより長い例えば32msecを採用しな
ければならない。逆に、移動量設定周期を変更しようと
すると、それに連動して、ユニット間通信周期も変更し
なければならない。つまり、1つの仕様変更が必要にな
ると、それが数値演算ユニット1および各モータ制御ユ
ニット11の全ての構成変更へと波及してしまう。
For this reason, if for some reason it becomes necessary to change the specification so that the communication cycle between the units is longer than 4 msec, for example, 8 msec, the movement setting cycle is set to 32 msec, for example, longer than 24 msec. There must be. Conversely, if an attempt is made to change the movement amount setting cycle, the inter-unit communication cycle must be changed in conjunction therewith. In other words, if one specification change is required, it affects all the configuration changes of the numerical operation unit 1 and each motor control unit 11.

【0010】この発明は上記の事情を考慮したもので、
その目的とするところは、移動量設定周期およびユニッ
ト間通信周期のいずれか一方の変更が必要となっても、
その変更を一方のみにとどめて他方の変更を回避するこ
とができる柔軟性および汎用性にすぐれたモータ制御装
置を提供することにある。
[0010] The present invention has been made in view of the above circumstances,
The purpose is to change either one of the movement amount setting cycle and the inter-unit communication cycle,
It is an object of the present invention to provide a motor control device having excellent flexibility and versatility capable of limiting only one change and avoiding the other change.

【0011】[0011]

【課題を解決するための手段】第1の発明(請求項1)
のモータ制御装置は、モータの移動量を一定周期で設定
し、この設定した移動量を所定数分割して記憶し、この
記憶した各分割移動量を順次積算し、この積算値を一定
時間ごとに送出する第1ユニットと、この第1ユニット
から送出される積算値に応じて上記モータを駆動する第
2ユニットと、を備える。
Means for Solving the Problems First Invention (Claim 1)
The motor control device sets the moving amount of the motor at a constant cycle, divides the set moving amount by a predetermined number, stores the divided moving amounts, sequentially accumulates the stored divided moving amounts, and accumulates the integrated value at regular time intervals. And a second unit for driving the motor in accordance with the integrated value sent from the first unit.

【0012】第2の発明(請求項2)のモータ制御装置
は、複数のモータの移動量を一定周期で同時設定する設
定手段、この設定手段で設定した各移動量を所定数分割
して記憶する複数の記憶手段、この各記憶手段内のそれ
ぞれ分割移動量を順次積算する複数の積算手段、この各
積算手段の積算値をそれぞれ一定時間ごとに送出する送
出手段を有する第1ユニットと、上記各モータに対応し
て設けられ、上記送出手段から送出される積算値の変化
量を検出する検出手段、この検出手段で検出した変化量
を所定数分割して記憶する記憶手段、この記憶手段内の
各分割値を順次積算する積算手段、この積算手段の積算
値に応じて対応するモータを駆動するモータ駆動手段を
有する複数の第2ユニットと、を備える。
According to a second aspect of the present invention, there is provided a motor control device for setting a moving amount of a plurality of motors simultaneously in a fixed cycle, and dividing the moving amounts set by the setting unit into a predetermined number and storing the divided amounts. A first unit having a plurality of storage means for performing integration, a plurality of integration means for sequentially integrating the divided movement amounts in each of the storage means, and a transmission means for transmitting the integrated value of each of the integration means at regular time intervals; Detecting means provided for each motor for detecting a change amount of the integrated value sent from the sending means; storing means for dividing the change amount detected by the detecting means into a predetermined number and storing the divided amount; And a plurality of second units having a motor driving means for driving a corresponding motor in accordance with the integrated value of the integrating means.

【0013】第3の発明(請求項3)のモータ制御装置
は、複数のモータの移動量を一定周期Nで同時設定する
設定手段、この設定手段で設定した各移動量をそれぞれ
N分割して一次記憶する複数の一次記憶手段、この各一
次記憶手段内のN個の分割移動量を一定時間ta ごとに
順次積算する複数の積算手段、この各積算手段の積算値
Aをそれぞれ一定時間tb ごとに送出する送出手段を有
する第1ユニットと、上記各モータに対応して設けら
れ、上記送出手段から送出される積算値Aの変化量を検
出する検出手段、この検出手段で検出した変化量を所定
数M分割して一次記憶する一次記憶手段、この一次記憶
手段内のM個の分割値を一定時間tc ごとに積算する積
算手段、この積算手段の積算値Bに応じて対応するモー
タを駆動するモータ駆動手段を有する複数の第2ユニッ
トと、を備える。第4の発明(請求項4)のモータ制御
装置は、第3の発明において、モータ駆動手段が、一定
時間tc ごとに作動する。
According to a third aspect of the present invention, there is provided a motor control device for setting a moving amount of a plurality of motors simultaneously at a constant period N, and dividing each moving amount set by the setting unit into N portions. A plurality of primary storage means for primary storage; a plurality of integration means for sequentially integrating the N divided movement amounts in each of the primary storage means for each fixed time ta; and an integrated value A of each integration means for each fixed time tb. A first unit having a sending unit for sending to the motor, a detecting unit provided corresponding to each of the motors for detecting a change amount of the integrated value A sent from the sending unit, and a change amount detected by the detecting unit. Primary storage means for primary storage by dividing by a predetermined number M, integration means for integrating the M divided values in the primary storage means at regular time intervals tc, and driving a motor corresponding to the integrated value B of the integration means Motor drive And a plurality of second unit having means. In a motor control device according to a fourth invention (claim 4), in the third invention, the motor drive means operates at regular time intervals tc.

【0014】[0014]

【発明の実施の形態】以下、この発明の一実施例につい
て図面を参照して説明する。図1において、21は数値
演算ユニット(第1ユニット)で、数値演算部22、複
数の一次記憶部(記憶手段)23、複数の積算カウンタ
(積算手段)24、通信制御部(送出手段)25、およ
び主制御部26を備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, reference numeral 21 denotes a numerical operation unit (first unit), which is a numerical operation unit 22, a plurality of primary storage units (storage units) 23, a plurality of integration counters (integration units) 24, and a communication control unit (transmission unit) 25. , And a main control unit 26.

【0015】数値演算部22は、複数のモータ10のそ
れぞれ移動量(アームの絶対移動位置に相当)Lを一定
周期Nmsecごとに演算して同時設定する。一定周期Nms
ecの“N”は所定値である。
The numerical calculation unit 22 calculates the movement amount L (corresponding to the absolute movement position of the arm) of each of the plurality of motors 10 at regular intervals of Nmsec, and simultaneously sets them. Fixed cycle Nms
“N” of ec is a predetermined value.

【0016】一次記憶部23は、所定数たとえば一定周
期Nmsecの“N”にそのまま対応するN個のバッファメ
モリ23a,…23nを有し、数値演算部22で設定さ
れる移動量LをN分割して各バッファメモリに順次に一
次記憶する。
The primary storage unit 23 has N buffer memories 23a,..., 23n corresponding to "N" of a predetermined number, for example, "N" of a constant period Nmsec, and divides the moving amount L set by the numerical operation unit 22 into N. Then, the data is temporarily and sequentially stored in each buffer memory.

【0017】積算カウンタ24は、バッファメモリ23
a,…23n内のN個の分割移動量(=L/N)を一定
時間ta たとえば 1msecごとに順次積算する。通信制御
部25は、各積算カウンタ24の積算値Aを一定時間t
b たとえば10msecごとに各シリアル信号ライン27に順
次に送出する。
The integrating counter 24 has a buffer memory 23
a,... N divided movement amounts (= L / N) within 23n are sequentially integrated for a predetermined time ta, for example, every 1 msec. The communication control unit 25 calculates the integration value A of each integration counter 24 for a certain time t.
b For example, the signal is sequentially transmitted to each serial signal line 27 every 10 msec.

【0018】主制御部26は、数値演算部22、各一次
記憶部23、積算カウンタ24、通信制御部25のそれ
ぞれ作動タイミングを制御する。上記各シリアル信号ラ
イン27は複数個のモータ制御ユニット(第2ユニッ
ト)31に接続される。
The main controller 26 controls the operation timings of the numerical calculator 22, the respective primary storages 23, the integrating counter 24, and the communication controller 25. Each serial signal line 27 is connected to a plurality of motor control units (second units) 31.

【0019】各モータ制御ユニット31は、通信制御部
32、減算部(変化量の検出手段)33、一次記憶部
(記憶手段)34、積算カウンタ(積算手段)35、モ
ータ駆動部36、および主制御部37を備える。
Each motor control unit 31 includes a communication control unit 32, a subtraction unit (change amount detecting means) 33, a primary storage unit (storage means) 34, an integration counter (integration means) 35, a motor driving unit 36, The control unit 37 is provided.

【0020】通信制御部32は、シリアル信号ライン2
7から10msecごとに送られてくる積算値Aを順次に取込
む。減算部33は、通信制御部32で順次に取込まれる
積算値Aから積算カウンタ35の積算値Bを逐次に減算
するもので、これにより積算値Aの変化量(=A−B)
が逐次に検出される。
The communication control unit 32 includes a serial signal line 2
The integrated value A sent every 7 to 10 msec is sequentially taken. The subtraction unit 33 sequentially subtracts the integrated value B of the integration counter 35 from the integrated value A sequentially taken in by the communication control unit 32, and thereby the amount of change of the integrated value A (= AB).
Are sequentially detected.

【0021】一次記憶部34は、所定数M個たとえば10
個のバッファメモリ34a,…34jを有し、減算部3
3で検出される変化量(=A−B)を所定数M(=10)
分割して各バッファメモリに順次に一次記憶する。
The primary storage unit 34 stores a predetermined number M, for example, 10
.. 34j, and the subtraction unit 3
The amount of change (= AB) detected at 3 is a predetermined number M (= 10)
The data is divided and temporarily stored in each buffer memory sequentially.

【0022】積算カウンタ35は、バッファメモリ34
a,…34j内のM個の分割値を一定時間tc たとえば
1msecごとに順次積算する。モータ駆動部36は、積算
カウンタ35の積算値Bを 1msec(=tc )ごとに参照
してその積算値Bに応じた位置にアームが到達するよう
モータ10を駆動する。
The integrating counter 35 has a buffer memory 34
a,... 34j are divided for a certain period of time tc
Integrate sequentially every 1 msec. The motor drive section 36 refers to the integrated value B of the integrating counter 35 every 1 msec (= tc) and drives the motor 10 so that the arm reaches a position corresponding to the integrated value B.

【0023】主制御部37は、通信制御部32、減算部
33、一次記憶部34、積算カウンタ35、モータ駆動
部36のそれぞれ作動タイミングを制御する。つぎに、
上記の構成の作用を図2および図3のフローチャートを
参照して説明する。
The main control section 37 controls the operation timing of each of the communication control section 32, the subtraction section 33, the primary storage section 34, the integration counter 35, and the motor drive section 36. Next,
The operation of the above configuration will be described with reference to the flowcharts of FIGS.

【0024】数値演算ユニット21の数値演算部22に
おいて、一定周期Nmsecごとに、各モータ10の移動量
(アームの絶対移動位置に相当)Lが同時設定される
(ステップ101 )。設定された各移動量Lは、それぞれ
N分割され、各一次記憶部23のバッファメモリ23
a,…23nに格納される(ステップ102 )。
In the numerical operation unit 22 of the numerical operation unit 21, the movement amount L (corresponding to the absolute movement position of the arm) L of each motor 10 is set simultaneously at regular intervals Nmsec (step 101). Each set movement amount L is divided into N, and the buffer memory 23 of each primary storage unit 23 is divided into N.
, 23n (step 102).

【0025】各一次記憶部23のバッファメモリ23
a,…23nに格納されたN個の分割移動量(=L/
N)は、 1msecごとに各積算カウンタ24に送られ積算
される(ステップ103 )。
The buffer memory 23 of each primary storage unit 23
a,... 23n divided movement amounts (= L /
N) is sent to each integration counter 24 every 1 msec and integrated (step 103).

【0026】各積算カウンタ24の積算値Aは、通信制
御部25により、10msecごとに各シリアル信号ライン2
7に順次に送出される(ステップ104 )。一方、モータ
制御ユニット31では、シリアル信号ライン27から10
msecごとに送られてくる積算値Aが通信制御部32によ
り順次に取込まれる(ステップ201 )。
The integrated value A of each integrating counter 24 is calculated by the communication control unit 25 every 10 msec.
7 (step 104). On the other hand, in the motor control unit 31, the serial signal lines 27 to 10
The integrated value A sent every msec is sequentially taken in by the communication control unit 32 (step 201).

【0027】取込まれる積算値Aは減算部33に送ら
れ、そこで積算値Aから積算カウンタ35の積算値Bが
減算されることにより、積算値Aの変化量(=A−B)
が検出される(ステップ202 )。
The integrated value A is sent to the subtracting section 33, where the integrated value B of the integrating counter 35 is subtracted from the integrated value A, thereby changing the integrated value A (= AB).
Is detected (step 202).

【0028】検出された変化量は一次記憶部34で10分
割され、バッファメモリ34a,…34jに格納される
(ステップ203 )。バッファメモリ34a,…34j内
の分割値は、 1msecごとに順次に積算カウンタ35に送
られ積算される(ステップ204 )。
The detected amount of change is divided into 10 in the primary storage section 34 and stored in buffer memories 34a,... 34j (step 203). The divided values in the buffer memories 34a,... 34j are sequentially sent to the integration counter 35 every 1 msec and integrated (step 204).

【0029】そして、積算カウンタ35の積算値Bが 1
msecごとにモータ駆動部36に送られ(ステップ205
)、その積算値Bに応じた位置にモータ10が作動す
る(ステップ206 )。この作動により、上記設定された
移動量Lに対応する絶対移動位置にアームが到達する。
Then, the integrated value B of the integrating counter 35 becomes 1
It is sent to the motor drive unit 36 every msec (step 205
), The motor 10 operates at a position corresponding to the integrated value B (step 206). By this operation, the arm reaches the absolute movement position corresponding to the set movement amount L.

【0030】このような構成において、数値演算ユニッ
ト21の数値演算部22による移動量Lの設定周期はN
msecであり、数値演算ユニット21とモータ制御ユニッ
ト31との間のシリアル信号ライン27を介した通信周
期はtb たとえば10msecであり、従来のように移動量設
定周期を整数で割った数値(除算値)がユニット間通信
周期になるという特別の関係は存在しない。
In such a configuration, the setting cycle of the movement amount L by the numerical operation unit 22 of the numerical operation unit 21 is N
msec, and the communication cycle between the numerical operation unit 21 and the motor control unit 31 via the serial signal line 27 is tb, for example, 10 msec. ) Does not have a special relationship that is the unit communication cycle.

【0031】すなわち、移動量設定手段とユニット間通
信手段との間に積算カウンタ24が介在することによ
り、何らかの理由でユニット間通信周期を変更する必要
が生じても、移動量設定周期を変更する必要はまったく
ない。逆に、移動量設定周期を変更する必要が生じて
も、ユニット間通信周期を変更する必要はまったくな
い。
That is, since the integration counter 24 is interposed between the moving amount setting means and the inter-unit communication means, even if the inter-unit communication cycle needs to be changed for some reason, the moving amount setting cycle is changed. No need at all. Conversely, even if it is necessary to change the movement amount setting cycle, there is no need to change the inter-unit communication cycle.

【0032】1つの仕様変更が数値演算ユニット21お
よび各モータ制御ユニット31の全ての構成変更へと波
及する事態を回避することができ、汎用性および柔軟性
にすぐれたものとなる。
It is possible to avoid a situation in which one specification change affects all the configuration changes of the numerical operation unit 21 and each motor control unit 31, thereby achieving excellent versatility and flexibility.

【0033】また、各モータ制御ユニット31では、取
込んだ積算値Aの変化量を検出し、その変化量分だけ、
モータ駆動部36が逐次にモータ駆動を行なう構成とし
ているので、モータ駆動の制御が単純となる。よって、
モータ駆動の制御周期を短縮するような必要が生じた場
合でも、適正なアーム駆動が可能である。なお、この発
明は上記実施例に限定されるものではなく、要旨を変え
ない範囲で種々変形実施可能である。
Further, each motor control unit 31 detects the amount of change of the integrated value A that has been taken, and
Since the motor drive unit 36 is configured to sequentially drive the motor, control of the motor drive is simplified. Therefore,
Even when it becomes necessary to shorten the control cycle of motor driving, proper arm driving is possible. The present invention is not limited to the above embodiment, and various modifications can be made without changing the gist.

【0034】[0034]

【発明の効果】以上述べたようにこの発明によれば、モ
ータの移動量を一定周期で設定し、この設定した移動量
を所定数分割して記憶し、この記憶した各分割移動量を
順次積算し、この積算値を一定時間ごとに送出する第1
ユニットと、この第1ユニットから送出される積算値に
応じて上記モータを駆動する第2ユニットとを備えたの
で、移動量設定周期およびユニット間通信周期のいずれ
か一方の変更が必要となっても、その変更を一方のみに
とどめて他方の変更を回避することができる柔軟性およ
び汎用性にすぐれたモータ制御装置を提供できる。
As described above, according to the present invention, the moving amount of the motor is set at a constant period, the set moving amount is divided into a predetermined number and stored, and the stored divided moving amounts are sequentially stored. Integrate and send out this integrated value at regular intervals.
Since the unit and the second unit for driving the motor in accordance with the integrated value sent from the first unit are provided, it is necessary to change any one of the moving amount setting cycle and the inter-unit communication cycle. In addition, it is possible to provide a motor control device with excellent flexibility and versatility that can change only one of them and avoid the other change.

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

【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】同実施例の数値演算ユニットの作用を説明する
ためのフローチャート。
FIG. 2 is a flowchart for explaining the operation of the numerical operation unit of the embodiment.

【図3】同実施例のモータ制御ユニットの作用を説明す
るためのフローチャート。
FIG. 3 is a flowchart for explaining the operation of the motor control unit of the embodiment.

【図4】従来装置の構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of a conventional device.

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

10…モータ 21…数値演算ユニット 22…数値演算部 23…一次記憶部(一次記憶手段) 24…積算カウンタ(積算手段) 25…通信制御部 26…主制御部 27…シリアル信号ライン 31…モータ制御ユニット 32…通信制御部 33…減算部(変化量の検出手段) 34…一次記憶部(一次記憶手段) 35…積算カウンタ(積算手段) 36…モータ制御部 37…主制御部 DESCRIPTION OF SYMBOLS 10 ... Motor 21 ... Numerical calculation unit 22 ... Numerical calculation part 23 ... Primary storage part (primary storage means) 24 ... Integration counter (Integration means) 25 ... Communication control part 26 ... Main control part 27 ... Serial signal line 31 ... Motor control Unit 32 Communication control unit 33 Subtraction unit (change amount detection means) 34 Primary storage unit (primary storage unit) 35 Integration counter (integration unit) 36 Motor control unit 37 Main control unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 モータの移動量を一定周期で設定し、こ
の設定した移動量を所定数分割して記憶し、この記憶し
た各分割移動量を順次積算し、この積算値を一定時間ご
とに送出する第1ユニットと、 この第1ユニットから送出される積算値に応じて前記モ
ータを駆動する第2ユニットと、 を具備したことを特徴とするモータ制御装置。
1. A moving amount of a motor is set at a constant period, the set moving amount is divided into a predetermined number and stored, and the stored divided moving amounts are sequentially integrated. A motor control device, comprising: a first unit for sending out; and a second unit for driving the motor according to an integrated value sent out from the first unit.
【請求項2】 複数のモータの移動量を一定周期で同時
設定する設定手段、この設定手段で設定した各移動量を
所定数分割して記憶する複数の記憶手段、この各記憶手
段内のそれぞれ分割移動量を順次積算する複数の積算手
段、この各積算手段の積算値をそれぞれ一定時間ごとに
送出する送出手段、を有する第1ユニットと、 前記各モータに対応して設けられ、前記送出手段から送
出される積算値の変化量を検出する検出手段、この検出
手段で検出した変化量を所定数分割して記憶する記憶手
段、この記憶手段内の各分割値を順次積算する積算手
段、この積算手段の積算値に応じて対応するモータを駆
動するモータ駆動手段、を有する複数の第2ユニット
と、 を具備したことを特徴とするモータ制御装置。
2. A setting means for simultaneously setting the movement amounts of a plurality of motors at a constant period, a plurality of storage means for dividing each movement amount set by the setting means into a predetermined number, and storing the divided movement amounts. A first unit having a plurality of integrating means for sequentially integrating the divided movement amounts, a sending means for sending the integrated value of each of the integrating means at regular time intervals, and a sending unit provided corresponding to each of the motors; Detecting means for detecting the amount of change in the integrated value sent from the storage means, storing means for dividing the amount of change detected by the detecting means into a predetermined number, and storing the divided value; integrating means for sequentially integrating each divided value in the storing means; A plurality of second units each having a motor driving unit that drives a corresponding motor in accordance with the integrated value of the integrating unit.
【請求項3】 複数のモータの移動量を一定周期Nで同
時設定する設定手段、この設定手段で設定した各移動量
をそれぞれN分割して一次記憶する複数の一次記憶手
段、この各一次記憶手段内のN個の分割移動量を一定時
間ta ごとに順次積算する複数の積算手段、この各積算
手段の積算値Aをそれぞれ一定時間tbごとに送出する
送出手段、を有する第1ユニットと、 前記各モータに対応して設けられ、前記送出手段から送
出される積算値Aの変化量を検出する検出手段、この検
出手段で検出した変化量を所定数M分割して一次記憶す
る一次記憶手段、この一次記憶手段内のM個の分割値を
一定時間tc ごとに積算する積算手段、この積算手段の
積算値Bに応じて対応するモータを駆動するモータ駆動
手段、を有する複数の第2ユニットと、 を具備したことを特徴とするモータ制御装置。
3. A setting means for simultaneously setting the movement amounts of a plurality of motors at a constant period N, a plurality of primary storage means for dividing each of the movement amounts set by the setting means into N parts and temporarily storing them, and each of these primary storage parts A first unit having a plurality of integrating means for sequentially integrating the N divided movement amounts in the means for each fixed time ta, and a sending means for sending the integrated value A of each integrating means for each fixed time tb; Detecting means provided for each of the motors for detecting a change amount of the integrated value A sent from the sending means; primary storage means for dividing the change amount detected by the detecting means into a predetermined number M and temporarily storing the divided amount; A plurality of second units each including an integrating means for integrating the M divided values in the primary storage means at regular time intervals tc, and a motor driving means for driving a motor corresponding to the integrated value B of the integrating means. When, Motor control device characterized by being provided.
【請求項4】 請求項3に記載のモータ制御装置におい
て、 前記モータ駆動手段は、一定時間tc ごとに作動するこ
とを特徴とするモータ制御装置。
4. The motor control device according to claim 3, wherein said motor drive means operates at predetermined time intervals tc.
JP29887797A 1997-10-30 1997-10-30 Motor control device Expired - Fee Related JP3964516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29887797A JP3964516B2 (en) 1997-10-30 1997-10-30 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29887797A JP3964516B2 (en) 1997-10-30 1997-10-30 Motor control device

Publications (2)

Publication Number Publication Date
JPH11136996A true JPH11136996A (en) 1999-05-21
JP3964516B2 JP3964516B2 (en) 2007-08-22

Family

ID=17865343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29887797A Expired - Fee Related JP3964516B2 (en) 1997-10-30 1997-10-30 Motor control device

Country Status (1)

Country Link
JP (1) JP3964516B2 (en)

Also Published As

Publication number Publication date
JP3964516B2 (en) 2007-08-22

Similar Documents

Publication Publication Date Title
CN109709929B (en) Control system
KR101818570B1 (en) Method of controlling an automated work cell
US8901870B2 (en) Synchronous control apparatus
JP3386777B2 (en) Numerical control system
KR102088182B1 (en) Communication control system and communication control method
US7890212B2 (en) Wizard for programming an intelligent module
US20100185325A1 (en) Apparatus and method for controlling multi-axis robot
JP3292300B2 (en) Fieldbus system
JP4396077B2 (en) Servo control system
JPH11136996A (en) Motor controller
JP5687302B2 (en) Load drive control device and load drive control method
JP2006221558A (en) Motion controller and its control method
JP7056395B2 (en) Control device and its control method
JP6841171B2 (en) Equipment control system and remote adjustment system
US20190093681A1 (en) Application-based control of a valve disk
KR101794525B1 (en) Hydraulic valve vontrol system using smart communication platform
JP3130426B2 (en) Motor control device
US7002485B1 (en) Method for the quasi-continuous transmission of a temporally modifiable variable
JPH03222696A (en) Motor controller and control method
JPH10301630A (en) Detection position data transmission and output device
JPH09205793A (en) Motor controller
CN114362879B (en) Encoder and communication control method for encoder
JP2019188549A (en) Control system, control method and control program
JP2005246543A (en) Robot system
JP2002268751A (en) Servo controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041025

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070411

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070524

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100601

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100601

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100601

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110601

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110601

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120601

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130601

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees