JPH08205570A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH08205570A
JPH08205570A JP7026231A JP2623195A JPH08205570A JP H08205570 A JPH08205570 A JP H08205570A JP 7026231 A JP7026231 A JP 7026231A JP 2623195 A JP2623195 A JP 2623195A JP H08205570 A JPH08205570 A JP H08205570A
Authority
JP
Japan
Prior art keywords
current
data
unit
control unit
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.)
Withdrawn
Application number
JP7026231A
Other languages
Japanese (ja)
Inventor
Tetsuo Momose
哲夫 百瀬
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.)
Nidec Instruments Corp
Original Assignee
Sankyo Seiki Manufacturing Co Ltd
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 Sankyo Seiki Manufacturing Co Ltd filed Critical Sankyo Seiki Manufacturing Co Ltd
Priority to JP7026231A priority Critical patent/JPH08205570A/en
Publication of JPH08205570A publication Critical patent/JPH08205570A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To make it possible to control smoothly without changing hardware even if a motor is different by constituting gain data and current control parameter data being writable and readable with respect to the memory sent from a communication interface in the central processing unit. CONSTITUTION: When a communication interface 72 receives gain data of variable gain amplifier input from the outside and current control parameter data of a motor controller, said interface transmits these data to a central processing unit 77. This central processing unit 77 constitutes the gain data sent from the communication interface 72 and current control parameter data being writable and readable with respect to the memory. And new data are read out from the memory of the central processing unit 77 and a servo motor is controlled based on said data. By doing this, smooth control is possible without changing hardware even through the motor has been changed.

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 driving and controlling a servo motor, and more particularly to a motor control device capable of externally changing the gain of a drive current detecting means and the current control parameter of the motor control device. .

【0002】[0002]

【従来の技術】産業用ロボット、工作機械または自動化
装置等を制御する数値制御装置や位置決め装置等では、
各回転軸の位置決めを行うものとして交流サーボモータ
が利用されている。サーボモータはサーボ制御システム
が導入された多軸モータ制御装置によって制御される。
2. Description of the Related Art In numerical control devices and positioning devices for controlling industrial robots, machine tools or automation devices,
An AC servomotor is used to position each rotary shaft. The servo motor is controlled by a multi-axis motor control device incorporating a servo control system.

【0003】図15に、従来の多軸モータ制御装置にお
ける1軸当たりの制御ユニットの構成例を示す。図15
において、サーボモータM1 の回転位置目標値Pref が
制御信号用コネクタ205を介して入力され、位置制御
部260に入力される。位置制御部260は、エンコー
ダE1 からフィードバックされるエンコーダ信号e1か
ら変換された位置検出値と回転位置目標値Pref とを比
較し、その差分値を速度指令sとして速度制御部261
に送る。速度制御部261は、速度検出値Sdet と速度
指令sとを比較し、その差分値を電流指令iとして電流
制御部262に送る。電流制御部262は、エンコーダ
信号e1 から得られるサーボモータM1の磁極位置信号
と電流指令iとA/D変換器253、電流検出器258
からフィードバックされる電流検出値Idet とに基づい
て3相電圧指令vを生成し、PWM信号発生部263に
出力する。PWM信号発生部263は、3相電圧指令v
に基づいてPWM信号を生成し、デッドタイム作成部2
51を介してインバータ252に送る。インバータ25
2は、入力されたPWM信号に従って駆動電圧を発生さ
せ、サーボモータM1 を駆動する。
FIG. 15 shows an example of the configuration of a control unit per axis in a conventional multi-axis motor control device. FIG.
At, the rotational position target value Pref of the servomotor M1 is input via the control signal connector 205 and input to the position control unit 260. The position control unit 260 compares the position detection value converted from the encoder signal e1 fed back from the encoder E1 with the rotational position target value Pref, and uses the difference value as the speed command s, the speed control unit 261.
Send to The speed control unit 261 compares the speed detection value Sdet with the speed command s, and sends the difference value to the current control unit 262 as the current command i. The current controller 262 uses the magnetic pole position signal of the servomotor M1 obtained from the encoder signal e1, the current command i, the A / D converter 253, and the current detector 258.
A three-phase voltage command v is generated based on the detected current value Idet fed back from the output signal and output to the PWM signal generation unit 263. The PWM signal generator 263 has a three-phase voltage command v
The PWM signal is generated based on the
It sends to the inverter 252 via 51. Inverter 25
2 generates a drive voltage according to the input PWM signal and drives the servomotor M1.

【0004】電流検出器258はインバータ252の駆
動電流をモニターし、フィードバック制御するためのフ
ィードバックループを構成し、その出力信号はA/D変
換器253でA/D変換される。
The current detector 258 constitutes a feedback loop for monitoring the drive current of the inverter 252 and performing feedback control, and the output signal thereof is A / D converted by the A / D converter 253.

【0005】上記位置制御部260、速度制御部261
および電流制御部262は、図示してないが、この制御
ユニットU1 内に内蔵されるCPU(中央処理装置)と
ROM(読出し専用メモリ)内に格納された制御プログ
ラムによって実行される。ROMとしては、ワンタイム
ROM、マスクROM等が使用されているが、いずれに
しても一度書込んだ制御プログラムは書替え不可能であ
る。
The position control unit 260 and the speed control unit 261 described above.
Although not shown, the current controller 262 is executed by a control program stored in a CPU (central processing unit) and a ROM (read-only memory) incorporated in the control unit U1. As the ROM, a one-time ROM, a mask ROM, or the like is used, but in any case, the control program once written cannot be rewritten.

【0006】また、A/D変換器253の分解能を最大
にするためには、サーボモータM1〜M6 に許される最
大電流とA/D変換器253の入力ダイナミックレンジ
を一致させる必要があるため、制御の対象となるサーボ
モータM1 〜M6 の最大電流値に応じてA/D変換器2
53の前段に位置する電流検出器258のゲインを変え
る必要がある。
In order to maximize the resolution of the A / D converter 253, it is necessary to match the maximum current allowed in the servomotors M1 to M6 with the input dynamic range of the A / D converter 253. A / D converter 2 according to the maximum current value of the servomotors M1 to M6 to be controlled
It is necessary to change the gain of the current detector 258 located in the preceding stage of 53.

【0007】さらに、サーボモータM1 〜M6 は、界磁
(永久磁石)の減磁の影響で最大電流が制限されため、
ここのサーボモータM1 〜M6 ごとにトルク指令リミッ
タにより駆動電流の制限値を代える必要がある。
Further, in the servo motors M1 to M6, the maximum current is limited due to the demagnetization of the field (permanent magnet).
It is necessary to change the drive current limit value by the torque command limiter for each of the servo motors M1 to M6.

【0008】なお、この種のモータ制御装置に関する公
知技術として特開平4−340387号公報等が挙げら
れる。
As a publicly known technique relating to this type of motor control device, there is JP-A-4-340387.

【0009】[0009]

【発明が解決しようとする課題】上記従来のモータ制御
装置の問題点は、サーボモータが変更になった場合に旧
来のモータ制御装置を使用することができず、適用上の
自由度に欠けるという点である。すなわち、上述のよう
に、従来のモータ制御装置は適用されるサーボモータの
定格や定数に合わせて制御定数を決定し、その制御定数
に基づく制御プログラムをROM化していたためであ
る。
The problem of the above-mentioned conventional motor control device is that the conventional motor control device cannot be used when the servo motor is changed, and the degree of freedom in application is lacking. It is a point. That is, as described above, the conventional motor control device determines the control constant in accordance with the rating or constant of the servo motor to be applied, and stores the control program based on the control constant in ROM.

【0010】その結果、同じ定数のサーボモータであっ
ても新旧の型式相互間で互換性がなく、新たなモータ制
御装置を構築しなければならなかった。また、例えば、
このモータ制御装置をロボットに使用した場合、仕様の
異なる複数種類のロボットに対して汎用性がなく、各ロ
ボットごとに適合するモータ制御装置を製作する必要が
あった。
As a result, even if the servo motors have the same constant, there is no compatibility between the old and new models, and a new motor control device has to be constructed. Also, for example,
When this motor control device is used for a robot, it is not versatile for a plurality of types of robots having different specifications, and it is necessary to manufacture a motor control device suitable for each robot.

【0011】本発明の目的は、モータが異なった場合で
もハードウエアを変更することなく、円滑に制御するこ
とが可能な汎用性を有するモータ制御装置を提供するこ
とにある。
An object of the present invention is to provide a motor control device having general versatility that enables smooth control without changing the hardware even when the motor is different.

【0012】[0012]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、直流電力を交流電力に変換してサーボモ
ータに駆動電流を供給するモータ駆動手段と、前記駆動
電流の検出信号を制御すべきサーボモータの特性に合わ
せて増幅する可変ゲインアンプ、および増幅された電流
検出信号をディジタル信号に変換するA/D変換器を有
して電流検出信号を前記モータ駆動手段にフィードバッ
クする電流検出手段とを備えたモータ制御装置におい
て、当該モータ制御装置を制御する中央処理装置と、外
部から入力される前記可変ゲインアンプのゲインデータ
および当該モータ制御装置の電流制御パラメータデータ
を受信して前記中央処理装置に送信可能な通信インタフ
ェースと、前記前記可変ゲインアンプのゲインデータお
よび電流制御パラメータデータを電気的に書替え可能に
格納するメモリとを備え、前記中央処理装置を前記通信
インタフェースから送られたゲインデータおよび電流制
御パラメータデータを前記メモリに対して書込み読出し
可能に構成した。
In order to solve the above problems, the present invention provides a motor drive means for converting a DC power into an AC power to supply a drive current to a servo motor, and a detection signal of the drive current. A current that has a variable gain amplifier that amplifies according to the characteristics of the servo motor to be controlled, and an A / D converter that converts the amplified current detection signal into a digital signal, and feeds back the current detection signal to the motor drive means. In a motor control device including a detection means, a central processing unit that controls the motor control device, gain data of the variable gain amplifier and current control parameter data of the motor control device that are input from the outside are received, and A communication interface capable of transmitting to a central processing unit, gain data of the variable gain amplifier, and a current control parameter. And a memory for storing electrically rewritable in the metadata, and the gain data and current control parameter data transmitted to the central processing unit from the communication interface and configured to write and read to the memory.

【0013】[0013]

【作用】請求項1に記載の発明によれば、通信インタフ
ェースは、外部から入力される可変ゲインアンプのゲイ
ンデータおよび当該モータ制御装置の電流制御パラメー
タデータを受信すると、それらのデータを中央処理装置
に送信する。中央処理装置は、前記通信インタフェース
から送られたゲインデータおよび電流制御パラメータデ
ータをメモリに書込む。メモリは電気的に書替え可能で
あり、それまで格納されていたゲインデータおよび電流
制御パラメータデータに代えて新たなデータを格納す
る。中央処理装置は新たなゲインデータおよび電流制御
パラメータデータに基づいてサーボモータの制御を行
う。したがって、サーボモータの変更に伴って通信イン
タフェースを通じて所望のゲインデータおよび電流制御
パラメータデータを設定入力するにより種々のサーボモ
ータに対応することができ、ROMの交換等の手間なら
びに交換に伴う経済的負担が大幅に軽減され、モータ制
御装置としての汎用性が確保される。
According to the invention described in claim 1, when the communication interface receives the gain data of the variable gain amplifier and the current control parameter data of the motor control device which are input from the outside, the communication interface receives the data. Send to. The central processing unit writes the gain data and the current control parameter data sent from the communication interface in the memory. The memory is electrically rewritable and stores new data in place of the gain data and the current control parameter data that have been stored until then. The central processing unit controls the servo motor based on the new gain data and current control parameter data. Therefore, various servo motors can be supported by setting and inputting desired gain data and current control parameter data through the communication interface when the servo motor is changed, and it is troublesome to replace the ROM and the economical burden associated with the replacement. Is greatly reduced, and versatility as a motor control device is secured.

【0014】[0014]

【実施例】次に、本発明の好適な実施例を図面に基づい
て説明する。 (I) 多軸モータ制御装置の各機能要素ユニットの組立構
造 図1に、本発明に係る多軸モータ制御装置の各機能要素
ユニットの組立構造の例を示す。図1に示すように、P
BS樹脂等からなるバックプレーン1が鉛直方向に設け
られ、バックプレーン1の表面側には複数の機能要素ユ
ニットが上下2列に分離されて配列固定されている。上
側の列は主回路電源ユニット2、追加コンデンサユニッ
ト3、4、および小信号電源ユニット5が集合した状態
で配列され、下側の列は2軸インバータユニット6、
7、8、下位制御ユニット(6軸分)9、および上位制
御ユニット10が集合した状態で配列されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, preferred embodiments of the present invention will be described with reference to the drawings. (I) Assembly Structure of Each Functional Element Unit of Multi-Axis Motor Control Device FIG. 1 shows an example of an assembly structure of each functional element unit of the multi-axis motor control device according to the present invention. As shown in FIG.
A backplane 1 made of BS resin or the like is provided in the vertical direction, and a plurality of functional element units are separated and arranged in two rows on the front surface side of the backplane 1 and fixed in an array. The upper row is arranged in a state in which the main circuit power supply unit 2, the additional capacitor units 3 and 4, and the small signal power supply unit 5 are gathered, and the lower row is the biaxial inverter unit 6,
7, 8 and the lower control unit (for 6 axes) 9 and the upper control unit 10 are arranged in a state of being assembled.

【0015】また、バックプレーン1の裏面側(必要に
応じて表面側)には、予めプリント配線層が形成されて
おり、このプリント配線回路は当該多軸モータ制御装置
の構築に必要な回路パターンで形成されている。
A printed wiring layer is formed in advance on the back surface side (back surface side if necessary) of the backplane 1, and this printed wiring circuit has a circuit pattern necessary for constructing the multi-axis motor control device. Is formed by.

【0016】これらの機能ユニット群6〜10に隣接し
て、バックプレーン1の表面には電源用コネクタ12が
設けられており、この電源用コネクタ12には商用電源
11からの電源供給ケーブルが接続される。また、1の
表面における下側の機能要素ユニット群6〜10の下方
には動力線用コネクタ13、14、15が設けられてい
る。これらの動力線用コネクタ13、14、15には、
各サーボモータM1 〜M6 に対するモータ用配線16〜
21が接続される。下位制御ユニット9の下面にはエン
コーダ用コネクタ23およびシリアル通信コネクタ24
が設けられている。このエンコーダ用コネクタ23には
6軸分のエンコーダ信号線22の一端が接続され、シリ
アル通信コネクタ24にはパーソナルコンピュータある
いは制御パラメータ設定ユニット等の外部設定器26が
通信線25を介して接続される。エンコーダ用コネクタ
23、シリアル通信コネクタ24をバックプレーン1に
ではなく下位制御ユニット9の下面側に設けることによ
り、下位制御ユニット9とバックプレーン1斗の接続コ
ネクタ37、41の配線数の削減が促進される。同様
に、上位制御ユニット10の下面にはシリアル通信コネ
クタ27が設けられ、このシリアル通信コネクタ27に
はパーソナルコンピュータあるいはティーチングペンダ
ント等の外部設定器29が通信線28を介して接続され
る。
A power supply connector 12 is provided on the surface of the backplane 1 adjacent to the functional unit groups 6 to 10. A power supply cable from a commercial power supply 11 is connected to the power supply connector 12. To be done. Power line connectors 13, 14, and 15 are provided below the lower functional element unit groups 6 to 10 on one surface. These power line connectors 13, 14, 15 are
Motor wiring 16 to each servo motor M1 to M6
21 is connected. An encoder connector 23 and a serial communication connector 24 are provided on the lower surface of the lower control unit 9.
Is provided. One end of the encoder signal line 22 for six axes is connected to the encoder connector 23, and an external setting device 26 such as a personal computer or a control parameter setting unit is connected to the serial communication connector 24 via a communication line 25. . By providing the encoder connector 23 and the serial communication connector 24 not on the backplane 1 but on the lower surface side of the lower control unit 9, reduction of the number of wires of the lower control unit 9 and the connecting connectors 37, 41 of the backplane 1 is promoted. To be done. Similarly, a serial communication connector 27 is provided on the lower surface of the host control unit 10, and an external setting device 29 such as a personal computer or a teaching pendant is connected to the serial communication connector 27 via a communication line 28.

【0017】図2に、上記各機能要素ユニットの組立構
造の詳細例を示す。図2に示すように、バックプレーン
1に表面側にはバックプレーン1に表面に上側の列の各
機能ユニット2〜5の奥行き寸法に対応する間隔を置
き、かつ互いに各機能ユニット2〜5の縦寸法に対応す
る間隔を置いて2本一対の上側支持フレーム43、44
が配されている。同様に、下側の列の各機能ユニット6
〜10の奥行き寸法に対応する間隔を置き、かつ互いに
各機能ユニット6〜10の縦寸法に対応する間隔を置い
て2本一対の下側支持フレーム45、46が配されてい
る。上側支持フレーム43と44間に、主回路電源ユニ
ット2、追加コンデンサユニット3、4、および小信号
電源ユニット5がメンテナンスを考慮して着脱可能に取
付けられ、下側支持フレーム45と46との間には2軸
インバータユニット6、7、8、下位制御ユニット9お
よび上位制御ユニット10が着脱可能に取付けられてい
る。
FIG. 2 shows a detailed example of the assembly structure of each of the functional element units. As shown in FIG. 2, on the front surface side of the backplane 1, the backplane 1 is spaced on the surface corresponding to the depth dimension of the functional units 2 to 5 in the upper row, and the functional units 2 to 5 of the functional units 2 to 5 are spaced from each other. A pair of upper support frames 43, 44 with a space corresponding to the vertical dimension.
Is arranged. Similarly, each functional unit 6 in the lower row
Two pairs of lower support frames 45, 46 are arranged at intervals corresponding to the depth dimension of 10 to 10 and at intervals corresponding to the vertical dimension of each of the functional units 6 to 10. Between the upper support frames 43 and 44, the main circuit power supply unit 2, the additional capacitor units 3 and 4, and the small signal power supply unit 5 are detachably attached in consideration of maintenance, and between the lower support frames 45 and 46. A two-axis inverter unit 6, 7, 8, a lower control unit 9 and a higher control unit 10 are detachably attached to the.

【0018】主回路電源ユニット2の表面側には回生抵
抗器47が設けられている。この回生抵抗器47はサー
ボモータに対する減速指令時にサーボモータに発生する
回生電力を消費吸収するためのものである。回生抵抗器
47をバックプレーン1とは逆の主回路電源ユニット2
の表面側(ユニット挿入取付方向手前)に配置したの
は、回生抵抗47は動作時においては熱源であり、その
発熱による内部回路に対する熱的影響を排除するためで
ある。
A regenerative resistor 47 is provided on the front side of the main circuit power supply unit 2. The regenerative resistor 47 is for consuming and absorbing regenerative electric power generated in the servo motor when a deceleration command is issued to the servo motor. Main circuit power supply unit 2 with regenerative resistor 47 opposite to backplane 1
The regenerative resistor 47 is disposed on the front surface side (in front of the unit insertion mounting direction) in order to eliminate the thermal influence on the internal circuit due to its heat generation during operation.

【0019】また、2軸制御ユニット6、7、8の前面
側(ユニット挿入取付方向手前)には、各ユニット6、
7、8のケーシングの外方に突出して、冷却フィン4
8、49、50が設けられている。この冷却フィン4
8、49、50は、2軸制御ユニット6、7、8内の5
2、56に使用されているパワートランジスタから発生
する熱の放熱を行う。各冷却フィン48、49、50の
凸条片(ブレード)の延在方向は、熱の放熱効率の面か
ら鉛直方向が望ましい。
On the front side of the biaxial control units 6, 7, and 8 (front side in the unit insertion mounting direction), each unit 6,
The cooling fins 4 project outside the casings 7 and 8
8, 49, 50 are provided. This cooling fin 4
8, 49, 50 are 5 in the two-axis control unit 6, 7, 8.
The heat generated from the power transistors used in Nos. 2 and 56 is radiated. The extending direction of the convex strips (blades) of each cooling fin 48, 49, 50 is preferably the vertical direction from the viewpoint of heat dissipation efficiency.

【0020】このように、2軸制御ユニット6、7、8
の前面側(ユニット挿入方向手前)に、冷却フィン4
8、49、50を配置することができるのは、本発明の
如く、全面のケーブルを廃し、各機能要素ユニット2〜
5および6〜8を機能ごとに2段で集合的にレイアウト
したことによるものである。冷却フィン48〜50は、
各ユニット6〜8のケーシングの外部に突出して設けら
れているので、熱がケーシングの内部にこもることがな
く、内部回路に対する熱的影響を抑制し、温度ドリフト
等の回路動作の不安定化要因を排除することができ、そ
の結果、制御動作の信頼性の向上に資することができ
る。
In this way, the two-axis control units 6, 7, 8
On the front side (front side of the unit insertion direction) of the cooling fin 4
8, 49, and 50 can be arranged as in the present invention by eliminating the cable on the entire surface and arranging each functional element unit 2 to 2.
This is because 5 and 6 to 8 are collectively laid out in two stages for each function. The cooling fins 48 to 50 are
Since the units 6 to 8 are provided so as to project to the outside of the casing, heat does not stay inside the casing, suppresses thermal influence on the internal circuit, and causes instability of circuit operation such as temperature drift. Can be eliminated, and as a result, the reliability of the control operation can be improved.

【0021】図3に、コネクタ類のバックプレーンへの
取付状態を示す。図3に示すように、バックプレーン1
の表面側には各ユニット2〜10の取付け位置に対応
し、かつ、各ユニット2〜10の背面側に設けられたユ
ニット側コネクタ(図示せず)に例えば雄雌関係で係合
可能なコネクタ30〜42が設けられている。
FIG. 3 shows how the connectors are attached to the backplane. As shown in FIG. 3, backplane 1
A connector that corresponds to the mounting position of each of the units 2 to 10 on the front side of the unit and that can be engaged with a unit side connector (not shown) provided on the back side of each of the units 2 to 10, for example, in a male-female relationship. 30 to 42 are provided.

【0022】各ユニット2〜10のバックプレーン1へ
の配置固定に際しては、各ユニット2〜10を全面側か
ら1に向かって挿入し、上側支持フレーム43、44、
下側支持フレーム45、46にネジ止めすることによ
り、ユニット側コネクタと基板側コネクタ30〜42と
が係合し、バックプレーン1には予めプリント配線層が
形成されているため、当該多軸モータ制御装置の回路の
大部分が配線されることになる。
When arranging and fixing the units 2 to 10 to the back plane 1, the units 2 to 10 are inserted from the entire surface side toward 1 and the upper support frames 43, 44,
By screwing the lower support frames 45 and 46 to each other, the unit side connector and the board side connectors 30 to 42 are engaged with each other, and the backplane 1 is preliminarily formed with a printed wiring layer. Most of the circuitry of the controller will be wired.

【0023】 (II)各機能要素ユニットの回路構成および接続関係 図4に、各機能要素ユニットの回路構成および接続関係
を示す。なお、図4に示す各機能要素ユニット2〜10
のバックプレーン1上の配置は図1に対応したものでは
なく、電気的な接続関係を示したものである。
(II) Circuit Configuration and Connection Relationship of Each Functional Element Unit FIG. 4 shows a circuit configuration and connection relationship of each functional element unit. The functional element units 2 to 10 shown in FIG.
The arrangement on the backplane 1 does not correspond to FIG. 1, but shows an electrical connection relationship.

【0024】図4に示すように、各機能要素ユニット2
〜10は基板側コネクタ30〜42を介して電気的に接
続されている。その接続配線はバックプレーン1上に予
めプリントされたプリント配線層によって形成されてい
る。
As shown in FIG. 4, each functional element unit 2
10 to 10 are electrically connected via the board-side connectors 30 to 42. The connection wiring is formed by a printed wiring layer printed in advance on the back plane 1.

【0025】次に各機能要素ユニットの詳細を述べる。
この多軸モータ制御装置は、大別して、大電力系統の回
路と小信号系統の回路とに分けられる。まず、大電力系
統の回路に着目して、商用電源11から供給される三相
交流電力(例えば、AC200V)は電源用コネクタ1
2を介して主回路電源ユニット2に入力される。
Next, details of each functional element unit will be described.
This multi-axis motor control device is roughly divided into a large power system circuit and a small signal system circuit. First, focusing on the circuit of the large power system, the three-phase AC power (for example, AC200V) supplied from the commercial power supply 11 is supplied to the power supply connector 1
It is input to the main circuit power supply unit 2 via 2.

【0026】主回路電源ユニット2は、三相交流電力を
直流電力に変換するコンバータ2Aと、整流出力のリッ
プル成分を平滑化するコンデンサCとを含む。コンバー
タ2Aは、例えばダイオードからなる3相ブリッジ整流
回路、回生電力を吸収するための回生抵抗器および回生
抵抗器のオンオフ回路(図示せず。)で構成される。得
られた直流流電力(例えば、DC280V)は、追加コ
ンデンサユニット3および4を経てインバータ大電流用
コネクタ38、39、40を介して2軸インバータユニ
ット6、7、8にそれぞれ供給される。
The main circuit power supply unit 2 includes a converter 2A for converting three-phase AC power into DC power, and a capacitor C for smoothing the ripple component of the rectified output. The converter 2A includes, for example, a three-phase bridge rectifier circuit including a diode, a regenerative resistor for absorbing regenerative power, and an on / off circuit (not shown) of the regenerative resistor. The obtained direct-current power (for example, DC280V) is supplied to the biaxial inverter units 6, 7, and 8 via the additional capacitor units 3 and 4 and the inverter large-current connectors 38, 39, and 40, respectively.

【0027】追加コンデンサユニット3および4は、当
該多軸モータ制御装置に必要とされる駆動能力の仕様変
更に伴って平滑コンデンサの容量不足が生じた場合に迅
速に対応して容量を補填できるようにしたものである。
The additional capacitor units 3 and 4 are capable of promptly compensating for the capacity when the capacity of the smoothing capacitor becomes insufficient due to a change in the specification of the driving capacity required for the multi-axis motor control device. It is the one.

【0028】2軸インバータユニット6、7、8に供給
された直流電力は、各ユニット内に設けられたインバー
タ52に与えられサーボモータM1 〜M6 の駆動電力に
供される。インバータ52の構成については後述する。
The DC power supplied to the biaxial inverter units 6, 7 and 8 is given to the inverter 52 provided in each unit and used as the drive power for the servomotors M1 to M6. The configuration of the inverter 52 will be described later.

【0029】小信号電源ユニット5は、コンバータ2A
の各インバータ52を構成するパワートランジスタのベ
ース駆動回路、および後述する小信号系のユニットに対
する5V電源を含み、具体的にはスイッチング・レギュ
レータ等の定電圧電源を利用して構成される。
The small signal power supply unit 5 is a converter 2A.
It includes a base drive circuit of a power transistor which constitutes each inverter 52, and a 5V power source for a small signal system unit described later, and is specifically configured by using a constant voltage power source such as a switching regulator.

【0030】次に、小信号系の回路に注目して、外部設
定器29(図1参照)からの外部制御信号はシリアル通
信コネクタ27を介して上位制御ユニット10に入力さ
れる。 上位制御ユニット10は、入力された外部制御
信号を下位制御ユニット9に伝達するためのもので、下
位制御ユニット9の上位に属する制御ユニットである。 (III) 下位制御ユニット(6軸制御ユニット)
Next, paying attention to the small signal system circuit, the external control signal from the external setting unit 29 (see FIG. 1) is input to the upper control unit 10 via the serial communication connector 27. The upper control unit 10 is for transmitting the input external control signal to the lower control unit 9, and is a control unit belonging to the upper control unit of the lower control unit 9. (III) Lower control unit (6-axis control unit)

【0031】下位制御ユニット9は、上位制御ユニット
10からの外部制御信号、通信線28(図1参照)から
シリアル通信コネクタ24を介して入力される制御パラ
メータ設定信号、エンコーダ用コネクタ23を介してフ
ィードバック入力されるエンコーダE1 〜E6 からのエ
ンコーダ信号e1 〜e6 、PWM信号a1 〜a6 、電流
シリアル信号b1 〜b6 あるいはその他の内部補正信号
等および内蔵するマイコン57に格納された制御プログ
ラムに基づいて2軸インバータユニット6、7、8の統
括的なフィードバック制御すなわちサーボ制御を行う。
したがって、6軸分の各サーボモータM1 〜M6 は全て
下位制御ユニット9によって集中的に制御されることに
なる。
The lower control unit 9 receives external control signals from the upper control unit 10, control parameter setting signals input from the communication line 28 (see FIG. 1) through the serial communication connector 24, and the encoder connector 23. Based on encoder signals e1 to e6 from the encoders E1 to E6 fed back by feedback, PWM signals a1 to a6, current serial signals b1 to b6 or other internal correction signals, and a control program stored in the built-in microcomputer 57. Central feedback control of the axis inverter units 6, 7, 8 is performed, that is, servo control is performed.
Therefore, all the servomotors M1 to M6 for six axes are centrally controlled by the lower control unit 9.

【0032】図5に、下位制御ユニット9の機能ブロッ
クを含む詳細な構成例を示す。下位制御ユニット9は、
各サーボモータM1 〜M6 の6軸のそれぞれに対応して
6つの制御ループで構成されている。説明を簡単にする
ため、1軸分について以下説明する。
FIG. 5 shows a detailed configuration example including the functional blocks of the lower control unit 9. The lower control unit 9
The servo motors M1 to M6 are composed of six control loops corresponding to the six axes. In order to simplify the description, one axis will be described below.

【0033】1つの制御ループは位置制御部60、速度
制御部61、電流制御部62、PWM信号発生部63を
有し、SP(シリアル・パラレル)変換部64は2つの
制御ループで兼用される。上位制御ユニット10から6
軸分の1軸位置目標値Pref、1軸速度目標値Sref 、
1軸電流目標値Iref が制御上位I/Fコネクタ41、
上位ボードインタフェース73を介して位置制御部6
0、速度制御部61、電流制御部62にそれぞれ入力さ
れる。一方、エンコーダ信号e1 〜e6 もエンコーダ用
コネクタ23を介して位置制御部60、速度制御部6
1、電流制御部62にそれぞれ入力される。また、電流
制御部62にはSP変換部64を介して1軸電流検出値
Idet が入力される。
One control loop has a position control unit 60, a speed control unit 61, a current control unit 62, and a PWM signal generation unit 63, and the SP (serial / parallel) conversion unit 64 is shared by two control loops. . Upper control unit 10 to 6
1-axis position target value Pref for 1-axis, 1-axis speed target value Sref,
The 1-axis current target value Iref is the control upper I / F connector 41,
Position control unit 6 via upper board interface 73
0, speed controller 61, and current controller 62, respectively. On the other hand, the encoder signals e1 to e6 are also transmitted via the encoder connector 23 to the position control unit 60 and the speed control unit 6
1 is input to the current control unit 62. Further, the uniaxial current detection value Idet is input to the current control unit 62 via the SP conversion unit 64.

【0034】位置制御部60は、1軸位置目標値Pref
とエンコーダ信号e1 から変換された1軸位置検出値P
ref とを比較してその差分値を速度指令sとして出力
し、速度制御部61に送る。速度制御部61は、速度指
令とエンコーダ信号e1 から変換された1軸速度検出値
Sdet とを比較して得られた差分値および速度目標値S
ref に基づいて電流指令iを生成し、電流制御部62に
送る。電流制御部62は、1軸電流目標値Iref と電流
指令iとを加算して得られた電流振幅指令値をエンコー
ダ信号e1 から得られるモータ磁極位置により2相電流
指令値に変換し、電流検出値Idet 、補正部71からの
ゲイン補正データcg 、オフセット補正データco に基
づいて1軸3相分電圧指令vを生成し、PWM信号発生
部63に送る。PWM信号発生部63は、入力された1
軸3相分電圧指令vに基づいてPWM(パルス幅変調)
信号a1 を生成し、制御インバータI/Fコネクタ37
を通じてサーボモータM1 に供給する。異常処理部7
0、補正部71は後述する電流検出器54の検出誤差補
正手段であり、マイコン57からのマイコンシリアル信
号c1 〜c3 がSP変換部67、68、69によって変
換されたパラレルデータの基づいてゲイン補正データc
g 、オフセット補正データco を生成する。
The position control unit 60 uses the 1-axis position target value Pref
And the 1-axis position detection value P converted from the encoder signal e1
The difference value is compared with ref and is output as a speed command s, which is sent to the speed control unit 61. The speed control unit 61 compares the speed command and the one-axis speed detection value Sdet converted from the encoder signal e1 with the difference value and the speed target value S
A current command i is generated based on ref and sent to the current controller 62. The current control unit 62 converts the current amplitude command value obtained by adding the uniaxial current target value Iref and the current command i into a two-phase current command value according to the motor magnetic pole position obtained from the encoder signal e1 to detect the current. A voltage command v for one axis and three phases is generated based on the value Idet, the gain correction data cg from the correction unit 71, and the offset correction data co and sent to the PWM signal generation unit 63. The PWM signal generator 63 receives the input 1
PWM (pulse width modulation) based on the voltage command v for the three axes
The signal a1 is generated and the control inverter I / F connector 37 is generated.
Supply to the servomotor M1 through. Abnormality processing unit 7
0, the correction unit 71 is a detection error correction unit of the current detector 54 described later, and the gain correction is performed based on the parallel data obtained by converting the microcomputer serial signals c1 to c3 from the microcomputer 57 by the SP conversion units 67, 68 and 69. Data c
g and offset correction data co are generated.

【0035】図6に、下位制御ユニット9のハードウエ
アの構成例を示す。図6に示すように、下位制御ユニッ
ト9は、当該下位制御ユニット9を統括的に制御するC
PU77に、RAM76、EEPROM(または、フラ
ッシュメモリ)107、DP−RAM(デュアルポート
RAM)79、シリアル通信インタフェース72、PW
M信号発生部63、SP変換部64〜66、磁極位置デ
ータ変換部74、位置検出カウンタ75がバス78を介
して接続されて成る。
FIG. 6 shows a hardware configuration example of the lower control unit 9. As shown in FIG. 6, the lower-level control unit 9 controls C which controls the lower-level control unit 9 as a whole.
The PU 77 has a RAM 76, an EEPROM (or flash memory) 107, a DP-RAM (dual port RAM) 79, a serial communication interface 72, and a PW.
An M signal generation unit 63, SP conversion units 64-66, a magnetic pole position data conversion unit 74, and a position detection counter 75 are connected via a bus 78.

【0036】DP−RAM79は上位制御ユニット10
との間でのデータ送受のためのデータバッファとして機
能する。デュアルポートとしたのはデータ通信の高速性
を重視したからである。
The DP-RAM 79 is the upper control unit 10
It functions as a data buffer for sending and receiving data to and from. The reason why the dual port is adopted is that the high speed of data communication is emphasized.

【0037】図7に、下位制御ユニット9におけるマイ
コン57のCPU77の処理内容例を示す。図7に示す
ように、図5で実行される位置制御部60、速度制御部
61、電流制御部62は、全て高速性なCPU77のソ
フトウエア処理によって時分割で処理される。
FIG. 7 shows an example of processing contents of the CPU 77 of the microcomputer 57 in the lower control unit 9. As shown in FIG. 7, the position control unit 60, the speed control unit 61, and the current control unit 62 executed in FIG. 5 are all time-divisionally processed by the software processing of the high-speed CPU 77.

【0038】(IV)2軸インバータユニット 再び図4を参照して、2軸インバータユニット6、7、
8を説明する。なお、説明を簡単にするため、2軸イン
バータユニット6についてのみ説明し、同様な構成の2
軸インバータユニット7、8については説明を省略す
る。
(IV) Biaxial Inverter Unit Referring again to FIG. 4, biaxial inverter units 6, 7,
8 will be described. In order to simplify the description, only the biaxial inverter unit 6 will be described, and a 2-axis inverter unit 6 having the same configuration will be described.
The description of the shaft inverter units 7 and 8 is omitted.

【0039】2軸インバータユニット6は、サーボモー
タM1およびM2の2軸分のインバータを含んでいる。
なお、2軸に限らず、一般にn(複数)軸であって良
い。一つのインバータユニットに複数のインバータを含
めた理由は、回路構成の簡素化ならびにコストの低減の
ためである。
The biaxial inverter unit 6 includes biaxial inverters for the servomotors M1 and M2.
The number of axes is not limited to two, and generally n (plural) axes may be used. The reason for including a plurality of inverters in one inverter unit is to simplify the circuit configuration and reduce the cost.

【0040】図4において、下位制御ユニット9からの
PWM信号a1 はデッドタイム作成部51に入力され
る。デッドタイム作成部51は、インバータ52内の1
相アームに直列接続された一対のパワートランジスタの
同時ONによる貫通電流の発生を防止するため、一対の
パワートランジスタのターンオン・タイミングをシフト
する。デッドタイム作成部51からの出力はインバータ
52に入力される。
In FIG. 4, the PWM signal a1 from the lower control unit 9 is input to the dead time creating section 51. The dead time creation unit 51 is
The turn-on timing of the pair of power transistors is shifted in order to prevent the generation of a through current due to the simultaneous turning on of the pair of power transistors connected in series to the phase arm. The output from the dead time generator 51 is input to the inverter 52.

【0041】インバータ52は、直流電力をPWM波の
3相交流電力に変換する逆変換器であり、一般にパワー
トランジスタをブリッジに接続して構成される。インバ
ータ52から出力される3相交流電力は38、動力線用
コネクタ13を介し、モータ用配線16(図1)を通じ
てサーボモータM1 に供給される。同様に、下位制御ユ
ニット9からのPWM信号a2 は55に入力される。デ
ッドタイム作成部55からの出力はインバータ56に入
力される。インバータ56から出力される3相交流電力
はインバータ大電流用コネクタ38、動力線用コネクタ
13を介し、モータ用配線17(図1)を通じてサーボ
モータM2 に供給される。
The inverter 52 is an inverse converter for converting DC power into three-phase AC power of PWM wave, and is generally constructed by connecting a power transistor to a bridge. The three-phase AC power output from the inverter 52 is supplied to the servomotor M1 via the power line connector 13 and the motor wiring 16 (FIG. 1) 38. Similarly, the PWM signal a2 from the lower control unit 9 is input to 55. The output from the dead time generator 55 is input to the inverter 56. The three-phase AC power output from the inverter 56 is supplied to the servomotor M2 through the inverter large current connector 38 and the power line connector 13 and the motor wiring 17 (FIG. 1).

【0042】ここで、2軸インバータユニット6内の駆
動電流検出フィードバックループについて説明する。ま
ず概要を述べると、インバータ52の3相出力の2相、
およびインバータ56の3相出力の2相からそれぞれ電
流検出器54に配線され、インバータ52と56の出力
駆動電流がモニターされる。電流検出器54はインバー
タ52と56とで共用され、マイコン57からの切換信
号によって電流検出ゲインが切換えられる。電流検出器
54の電流検出値はA/D変換器53によってディジタ
ル信号に変換され、下位制御ユニット9のSP変換部6
4に送られる。この電流検出器54、A/D変換器53
のループがインバータ52、56の駆動電流のフィード
バックループを構成する。
Now, the drive current detection feedback loop in the biaxial inverter unit 6 will be described. First, the outline will be described. Two phases of three-phase output of the inverter 52
And the two phases of the three-phase output of the inverter 56 are respectively wired to the current detector 54, and the output drive currents of the inverters 52 and 56 are monitored. The current detector 54 is shared by the inverters 52 and 56, and the current detection gain is switched by the switching signal from the microcomputer 57. The current detection value of the current detector 54 is converted into a digital signal by the A / D converter 53, and the SP converter 6 of the lower control unit 9 is converted.
Sent to 4. This current detector 54 and A / D converter 53
Loop constitutes a feedback loop of the drive current of the inverters 52 and 56.

【0043】(V) 電流検出器 図8に、2軸インバータユニット6におけるA/D変換
器53および電流検出器54の詳細回路例および下位制
御ユニット9との接続関係を示す。図8に示すように、
インバータ52の出力配線に電流検出用抵抗器RA1 、
RB1 が介挿され、電流検出用抵抗器RA1 の両端電圧
がインバータ52の1相分の駆動電流検出信号として絶
縁アンプ82に、電流検出用抵抗器RB1 の両端電圧が
インバータ52の2相分の駆動電流検出信号として83
にそれぞれ入力される。同様に、インバータ56の出力
配線に電流検出用抵抗器RA2 、RB2 が介挿され、電
流検出用抵抗器RA2 の両端電圧がインバータ56の1
相分の駆動電流検出信号として84に、電流検出用抵抗
器RB2 の両端電圧がインバータ56の2相分の駆動電
流検出信号として85にそれぞれ入力される。
(V) Current Detector FIG. 8 shows a detailed circuit example of the A / D converter 53 and the current detector 54 in the biaxial inverter unit 6 and the connection relationship with the lower control unit 9. As shown in FIG.
A current detection resistor RA1 is connected to the output wiring of the inverter 52,
RB1 is inserted, the voltage across the current detecting resistor RA1 is equivalent to one phase of the inverter 52 as a drive current detection signal to the isolation amplifier 82, and the voltage across the current detecting resistor RB1 is equivalent to two phases of the inverter 52. 83 as a drive current detection signal
Respectively. Similarly, current detection resistors RA2 and RB2 are inserted in the output wiring of the inverter 56, and the voltage across the current detection resistor RA2 is 1 of the inverter 56.
The drive current detection signal for the phase is input to 84, and the voltage across the resistor RB2 for current detection is input to the drive current detection signal for the two phases of the inverter 56 to 85.

【0044】絶縁アンプ82〜85は大電力系のインバ
ータ52、56の出力配線とフィードバックループの小
信号系とを電気的に絶縁するためのアンプであり、電気
/光/電気変換もしくは電気/磁気/電気変換により構
成される。絶縁アンプ82〜85の出力信号は可変ゲイ
ンアンプ86〜89に入力される。
The isolation amplifiers 82 to 85 are amplifiers for electrically insulating the output wiring of the inverters 52, 56 of the high power system and the small signal system of the feedback loop, and perform electrical / optical / electrical conversion or electrical / magnetic conversion. / Configured by electrical conversion. The output signals of the isolation amplifiers 82 to 85 are input to the variable gain amplifiers 86 to 89.

【0045】可変ゲインアンプ86〜89はオペアンプ
で構成され、当該多軸モータ制御装置の制御対象である
サーボモータM1 〜M6 に定格の異なるもの(例えば、
5Aのモータ、10Aのモータ等)を使用する場合等、
仕様の変更が生じた場合に、同じ多軸モータ制御装置で
対応することができるよう考慮されたものである。すな
わち、従来(図14)では、対象となるサーボモータM
1 〜M6 が異なった定格のモータに交換された場合、駆
動するモータ制御装置U1 〜U6 も新たなサーボモータ
M1 〜M6 の定格に合わせて交換し、ケーブル201、
209、210の再配線が必要であった。しかし、本実
施例のように、追加コンデンサユニット3、4(図1、
図4参照)を着脱可能とし、可変ゲインアンプ86〜8
9を用いることで多軸モータ制御装置の新たな設計製作
をする必要がなくなる。
The variable gain amplifiers 86 to 89 are composed of operational amplifiers and have different ratings for the servomotors M1 to M6 to be controlled by the multi-axis motor control device (for example,
5A motor, 10A motor, etc.)
This is to allow the same multi-axis motor control device to cope with a change in specifications. That is, in the conventional case (FIG. 14), the target servo motor M
When 1 to M6 are replaced with motors of different ratings, the motor control devices U1 to U6 to be driven are also replaced according to the ratings of the new servo motors M1 to M6, and the cable 201,
Rewiring of 209 and 210 was required. However, as in this embodiment, the additional capacitor units 3 and 4 (FIG. 1,
Variable gain amplifiers 86 to 8 (see FIG. 4) are removable.
The use of 9 eliminates the need to newly design and manufacture the multi-axis motor control device.

【0046】図9に、可変ゲインアンプ86の回路例
(87〜89も同様である)を示す。図9に示すよう
に、可変ゲインアンプ86は、オペアンプ101のフィ
ードバック抵抗(2R,R,R)を切換スイッチSW1
,SW2 により切換えてオペアンプ101のゲインす
なわち増幅度を変更する構成となっている。切換スイッ
チSW1 ,SW2 は、アナログスイッチで実現可能であ
り、マイコン57からのゲイン切換信号fによって切換
えられる。この回路では、ゲインは2段階に切換え可能
であるが、一般にn(複数)段階の切換えとすることが
でき、かかる転用は本発明の技術的範囲に属する。切換
え動作は、ゲイン切換信号fの論理『1』の場合に切換
スイッチSW1 がONで、ゲイン切換信号fの論理
『0』の場合に切換スイッチSW2 がONとなる。
FIG. 9 shows a circuit example of the variable gain amplifier 86 (the same applies to 87 to 89). As shown in FIG. 9, the variable gain amplifier 86 switches the feedback resistors (2R, R, R) of the operational amplifier 101 to the changeover switch SW1.
, SW2 to change the gain of the operational amplifier 101, that is, the amplification degree. The changeover switches SW1 and SW2 can be realized by analog switches and are changed over by a gain changeover signal f from the microcomputer 57. In this circuit, the gain can be switched in two stages, but in general, it can be switched in n (plural) stages, and such diversion belongs to the technical scope of the present invention. The changeover operation is such that the changeover switch SW1 is ON when the gain changeover signal f is logic "1", and the changeover switch SW2 is ON when the gain changeover signal f is logic "0".

【0047】(VI)A/D変換器 再び図8を参照して、A/D変換器53は、4チャネル
入力・シリアル出力型のA/D変換器で構成され、、電
流検出器54と同様にインバータ52と56とで共用さ
れる。図8に示すように、A/D変換器53は入力切換
部90およびA/D変換部91からなる。入力切換部9
0は可変ゲインアンプ86〜89からの4チャネルの電
流検出値信号を選択的にA/D変換部91に伝達するた
めのセレクタであり、A/D変換制御部94から出力さ
れるDIによって同期信号SCLKに同期して4チャネ
ルの電流検出値信号の一つをA/D変換部91に通過さ
せる。A/D変換部91はA/D変換制御部94からの
ストロー部信号−CONVによってクロック信号SCL
Kに同期して電流検出値信号をディジタル信号に変換
し、変換されたシリアル電流検出値信号DO12を下位制
御ユニット9のSP変換部64に送出する。なお、シリ
アル電流検出値信号DO12は、1軸と2軸の電流検出値
を時分割で送出するものであり、同一タイミングで2軸
の電流検出値を含むものではない。
(VI) A / D Converter Referring again to FIG. 8, the A / D converter 53 is composed of a 4-channel input / serial output type A / D converter, and includes a current detector 54 and Similarly, it is shared by the inverters 52 and 56. As shown in FIG. 8, the A / D converter 53 includes an input switching unit 90 and an A / D conversion unit 91. Input switching unit 9
Reference numeral 0 is a selector for selectively transmitting the four-channel current detection value signals from the variable gain amplifiers 86 to 89 to the A / D conversion unit 91, which is synchronized by the DI output from the A / D conversion control unit 94. One of the four channel current detection value signals is passed through the A / D converter 91 in synchronization with the signal SCLK. The A / D conversion unit 91 receives the clock signal SCL by the straw unit signal -CONV from the A / D conversion control unit 94.
The current detection value signal is converted into a digital signal in synchronization with K, and the converted serial current detection value signal DO12 is sent to the SP conversion unit 64 of the lower control unit 9. The serial current detection value signal DO12 sends out the current detection values of the first and second axes in a time division manner, and does not include the current detection values of the two axes at the same timing.

【0048】このように、2軸の電流検出値をA/D変
換する場合に、4チャネルパラレル入力・シリアル出力
型のA/D変換器53を用い、しかも2軸で共用するこ
とにより、図12に示すように、信号線の数を6軸分で
6本に削減することができ、かつそれに伴って信号ピン
の数も6本となり、信号線数の削減、並びにコネクタの
小形化、さらには2軸インバータユニット6自体の小形
化も可能となる。以上のA/D変換器の構成の違いによ
る信号ピン数の新旧対照例を図13に示す。この点に関
し、従来では、例えば、各インバータにそれぞれ2チャ
ネル入力・12ビットパラレル出力型のA/D変換器が
用いられ、この場合、下位制御ユニット9との間に接続
される信号線は、6軸分で少なくとも合計19本=12
本(A/D変換器出力)+1本(チャネル切換信号線)
+6本(6つのA/D変換器の選択信号線)が必要とさ
れ、したがって信号線の数に対応するコネクタの信号ピ
ンの数も19本必要とされる。
As described above, when A / D-converting the current detection values of the two axes, the 4-channel parallel input / serial output A / D converter 53 is used, and the two axes are commonly used. As shown in FIG. 12, the number of signal lines can be reduced to 6 for 6 axes, and the number of signal pins is also reduced to 6, which leads to reduction of the number of signal lines and miniaturization of the connector. It is also possible to downsize the biaxial inverter unit 6 itself. FIG. 13 shows an old and new control example of the number of signal pins due to the difference in the configuration of the A / D converter. In this regard, conventionally, for example, a 2-channel input 12-bit parallel output type A / D converter is used for each inverter, and in this case, the signal line connected to the lower control unit 9 is A total of 19 = 12 for 6 axes
This (A / D converter output) + 1 (Channel switching signal line)
+6 (selection signal lines of 6 A / D converters) are required, and accordingly, 19 signal pins of the connector corresponding to the number of signal lines are also required.

【0049】(VII) 電流検出器におけるオフセット補正
およびゲイン補正 ところで、このように可変ゲインアンプ86〜89のゲ
イン切換えを行う場合、仕様するモータの定格電流に合
わせてゲインのキャリブレーション(較正)を行うこと
が制御精度を維持する上で重要である。また、オペアン
プ一般の誤差特性として、オフセットがあり、個々のオ
ペアンプによってもバラツキがある。因みに、従来では
オフセット補正はオペアンプに付属する可変抵抗により
手動調整していたが、作業効率が悪かった。
(VII) Offset correction and gain correction in the current detector By the way, when the gain switching of the variable gain amplifiers 86 to 89 is performed in this way, the gain calibration is performed according to the rated current of the specified motor. It is important to do so in order to maintain control accuracy. Further, an error characteristic of a general operational amplifier is an offset, and there are variations among individual operational amplifiers. Incidentally, in the past, offset correction was manually adjusted by a variable resistor attached to the operational amplifier, but the work efficiency was poor.

【0050】このようなことから、下位制御ユニット9
には、2軸インバータユニット6、7、8の各電流検出
器54でのゲイン切換えに伴うゲイン補正およびオフセ
ット補正を自動的かつディジタル的に行う補正手段が設
けられている。
From the above, the lower control unit 9
Is provided with correction means for automatically and digitally performing gain correction and offset correction accompanying gain switching in the current detectors 54 of the two-axis inverter units 6, 7, 8.

【0051】図10に、可変ゲインアンプ86〜89の
オフセット補正およびゲイン補正の補正回路の原理を示
す。図10に示すように、このオフセット補正およびゲ
イン補正は、2軸インバータユニット6、7、8から送
られる6軸分のDO12、DO34、DO56のシリアルデー
タが64〜66によってパラレルデータ(12チャネル
分)に変換し、そのDO12、DO34、DO56から補正部
71で生成されたオフセット補正データco を引算器9
2において引き算することによりオフセット成m分を除
去し、さらにそのオフセット成分が除去された正しい値
に対して当該多軸モータ制御装置に必要とされるゲイン
に対応するゲイン補正データcg を掛算器93において
掛合わせ、かくして得られた12チャネル分のオフセッ
ト補正およびゲイン補正済みの電流検出値データを電流
制御部62にフィードバックさせようとするものであ
る。
FIG. 10 shows the principle of a correction circuit for offset correction and gain correction of the variable gain amplifiers 86 to 89. As shown in FIG. 10, the offset correction and the gain correction are performed by converting the serial data of DO12, DO34, and DO56 for six axes sent from the two-axis inverter units 6, 7, and 8 into parallel data (for 12 channels). ), And the offset correction data co generated by the correction unit 71 from the DO12, DO34, and DO56 is subtracted from the subtracter 9
The offset component m is removed by subtraction in 2, and the correct value from which the offset component is removed is multiplied by the gain correction data cg corresponding to the gain required for the multi-axis motor control device. In this case, the current detection value data for which the offset correction and the gain correction for 12 channels thus obtained are multiplied and the current detection value data is fed back to the current control unit 62.

【0052】図11に、上記オフセット補正およびゲイ
ン補正を自動的に行なう補正回路のの詳細例を示す。ま
ず、オフセット調整を行う。そのためには、絶縁アンプ
82、可変ゲインアンプ86〜89、入力切替部90、
およびA/D変換部91の合計したオフセット量がどの
位あるかを知らなければならない。例として、絶縁アン
プ82、可変ゲインアンプ86、入力切替部90、およ
びA/D変換部91の合計したオフセット調整、ゲイン
調整方法を説明する。他のチャネルについても同様であ
る。
FIG. 11 shows a detailed example of a correction circuit for automatically performing the offset correction and the gain correction. First, offset adjustment is performed. For that purpose, the isolation amplifier 82, the variable gain amplifiers 86 to 89, the input switching unit 90,
Also, it is necessary to know how much the total offset amount of the A / D converter 91 is. As an example, a description will be given of a method of adjusting the offset and the gain of the isolation amplifier 82, the variable gain amplifier 86, the input switching unit 90, and the A / D conversion unit 91. The same applies to other channels.

【0053】このオフセット量の検出のために、インバ
ータ52の出力線にはダミー電流を流さず(ゼロ
〔A〕)、このときのA/D変換器53の出力データ
(電流検出値)を64を介して取り込み、SP−OUT
として引算器97に入力する。また、メモリ95からは
目標値REF0 (ゼロ〔A〕)のデータを目標値切換部
96を介して引算器97に送る。このとき、電流検出用
抵抗器RA1 、RB1 の電圧降下は生じておらず、本来
A/D変換器53から出力される電流検出値はゼロ
〔A〕のはずである。
To detect this offset amount, a dummy current is not passed through the output line of the inverter 52 (zero [A]), and the output data (current detection value) of the A / D converter 53 at this time is set to 64. Captured via SP-OUT
Is input to the subtractor 97. Further, the data of the target value REF0 (zero [A]) is sent from the memory 95 to the subtractor 97 via the target value switching unit 96. At this time, no voltage drop occurs in the current detection resistors RA1 and RB1, and the current detection value originally output from the A / D converter 53 should be zero [A].

【0054】したがって、このとき引算器97で算出さ
れた差分値は絶縁アンプ82、可変ゲインアンプ86、
入力切替部90、およびA/D変換部91の合計したオ
フセット成分に相当することがわかる。そこで、この差
分値を可変ゲインアンプ86のオフセット補正データc
o として補正動作切換部98を介して補正データメモリ
99に保持しておくと同時に、67によりシリアルデー
タに変換した後、マイコン57を経由してEEPROM
59に書込む。
Therefore, the difference value calculated by the subtractor 97 at this time is the isolation amplifier 82, the variable gain amplifier 86,
It can be seen that this corresponds to the total offset component of the input switching unit 90 and the A / D conversion unit 91. Therefore, this difference value is used as the offset correction data c of the variable gain amplifier 86.
O is stored in the correction data memory 99 via the correction operation switching unit 98, and at the same time converted to serial data by 67, and then EEPROM via the microcomputer 57.
Write to 59.

【0055】次いで、5〔A〕動作モードのゲイン補正
データcg の算出およびEEPROM59への書込みを
行う。まず、インバータ52、56の出力線に、定電流
源104、プローブ切替器105およびプローブ106
により、5〔A〕のダミー電流を流し、このときの電流
検出用抵抗器RA1 の端子電圧(すなわち、電流検出
値)を検出し、そのデータを引算器97に与える。一
方、メモリ95から目標値REF5 (5〔A〕)を引算
器97に与え、さらに、補正データメモリ99からオフ
セット補正データco を読み出して引算器97に与え
る。この状態で引算器97において引き算を行うことに
より、オフセット成分の含まれない、5〔A〕動作モー
ドでのゲイン補正データcg が求められる。このゲイン
補正データcgは補正データメモリ99に格納されると
共に、SP変換器67を介してマイコン57に送られ、
EEPROM59に書込まれる。
Then, the gain correction data cg in the 5 [A] operation mode is calculated and written in the EEPROM 59. First, the constant current source 104, the probe selector 105, and the probe 106 are connected to the output lines of the inverters 52 and 56.
Thus, a dummy current of 5 [A] is passed, the terminal voltage (that is, the current detection value) of the current detection resistor RA1 at this time is detected, and the data is given to the subtractor 97. On the other hand, the target value REF5 (5 [A]) is given from the memory 95 to the subtractor 97, and the offset correction data co is read from the correction data memory 99 and given to the subtractor 97. By performing the subtraction in the subtractor 97 in this state, the gain correction data cg in the 5 [A] operation mode which does not include the offset component is obtained. This gain correction data cg is stored in the correction data memory 99 and is sent to the microcomputer 57 via the SP converter 67.
It is written in the EEPROM 59.

【0056】次いで、10〔A〕動作モードのゲイン補
正データcg の算出およびEEPROM59への書込み
を行う。5〔A〕動作モードの場合と同様に、まず、イ
ンバータ52、56の出力線に定電圧源104、プロー
ブ切替器105およびプローブ106により、10
〔A〕のダミー電流を流し、このときの電流検出用抵抗
器RA1 の端子電圧(すなわち、電流検出値)を検出
し、そのデータを引算器97に与える。一方、メモリ9
5から目標値REF10(10〔A〕)を引算器97に与
え、さらに、補正データメモリ99からオフセット補正
データco を読み出して引算器97に与える。この状態
で引算器97において引き算を行うことにより、オフセ
ット成分の含まれない、10〔A〕動作モードでのゲイ
ン補正データcg が求められる。このゲイン補正データ
cg は補正データメモリ99に格納されると共に、SP
変換器67を介してマイコン57に送られ、EEPRO
M59に書込まれる。
Then, the gain correction data cg in the 10 [A] operation mode is calculated and written in the EEPROM 59. As in the case of the 5 [A] operation mode, first, the constant voltage source 104, the probe switch 105 and the probe 106 are connected to the output lines of the inverters 52 and 56 so that 10
A dummy current of [A] is passed, the terminal voltage (that is, the current detection value) of the current detection resistor RA1 at this time is detected, and the data is given to the subtractor 97. On the other hand, memory 9
The target value REF10 (10 [A]) is given to the subtractor 97 from 5, and the offset correction data co is read from the correction data memory 99 and given to the subtractor 97. By performing the subtraction in the subtractor 97 in this state, the gain correction data cg in the 10 [A] operation mode in which the offset component is not included is obtained. This gain correction data cg is stored in the correction data memory 99 and at the same time SP
It is sent to the microcomputer 57 via the converter 67, and EEPRO
Written to M59.

【0057】以下同様に、上述の操作を他の3チャネル
(RB2、RA1、RB2の系)について行うことによ
り、それぞれのオフセット補正データco およびゲイン
補正データcg が求められ、EEPROM59に自動的
に書込まれる。
Similarly, by performing the above operation on the other three channels (systems of RB2, RA1 and RB2), the offset correction data co and the gain correction data cg of each are obtained and automatically written in the EEPROM 59. Get caught.

【0058】なお、以上の一連の動作はEEPROM書
込み制御部100のタイミング制御により実行される。
EEPROM書込み制御部100は外部からの開始信号
によって動作を行う。
The above series of operations is executed by the timing control of the EEPROM write control unit 100.
The EEPROM writing control unit 100 operates according to a start signal from the outside.

【0059】このようにして書込まれたオフセット補正
データco およびゲイン補正データcg は、当該多軸モ
ータ制御装置の制御動作時に、EEPROM59からマ
イコン57を経由して下位制御ユニット9の電流制御部
62に供される。
The offset correction data co and the gain correction data cg thus written are supplied from the EEPROM 59 via the microcomputer 57 to the current control unit 62 of the lower control unit 9 during the control operation of the multi-axis motor control device. Be used for.

【0060】以上のようにオフセット補正データco お
よびゲイン補正データcg を自動生成することができる
ので調整効率が向上し、さらにディジタル的に行われる
ので精度を向上させることができる。
As described above, since the offset correction data co and the gain correction data cg can be automatically generated, the adjustment efficiency can be improved, and the accuracy can be improved because it is digitally performed.

【0061】 (VIII)制御プログラム等の外部からの設定システム 本発明のモータ制御装置は、外部から制御プログラムお
よび制御パラメータが変更可能に構成されている。
(VIII) External Setting System for Control Program etc. The motor control device of the present invention is configured so that the control program and control parameters can be changed from the outside.

【0062】すなわち、上位制御ユニット10には、図
1に示すように、外部設定器29が接続され、上位制御
ユニット10は、図4および図5に示すように、制御上
位I/Fコネクタ41を介して下位制御ユニット9内の
上位ボードインタフェース73に接続され、さらに、図
6に示すようにDP−RAM79を介して下位制御ユニ
ット9内のCPU77およびEEPROM107に接続
されている。
That is, the external setting unit 29 is connected to the upper control unit 10 as shown in FIG. 1, and the upper control unit 10 controls the control upper I / F connector 41 as shown in FIGS. 4 and 5. 6 to the upper board interface 73 in the lower control unit 9, and further to the CPU 77 and the EEPROM 107 in the lower control unit 9 via the DP-RAM 79 as shown in FIG.

【0063】また、下位制御ユニット9には、図1示す
ように、シリアル通信用コネクタ24を介して外部設定
器26が接続され、このコネクタ24は下位制御ユニッ
ト9内のシリアル通信インタフェース72に接続されて
いる。このシリアル通信インタフェース72は、図6に
示すように下位制御ユニット9内のCPU77およびE
EPROM107に接続されている。このEEPROM
107内には当該モータ制御装置の制御プログラムの他
に、制御パラメータ(例えば、電流検出器54の可変ゲ
インアンプ86〜89のゲインデータ、制御ゲイン、駆
動電流の制限値等)が格納されている。
As shown in FIG. 1, an external setting device 26 is connected to the lower control unit 9 via a serial communication connector 24, and this connector 24 is connected to a serial communication interface 72 in the lower control unit 9. Has been done. As shown in FIG. 6, the serial communication interface 72 includes CPUs 77 and E in the lower control unit 9.
It is connected to the EPROM 107. This EEPROM
In addition to the control program of the motor control device, control parameters (for example, gain data of the variable gain amplifiers 86 to 89 of the current detector 54, control gain, limit value of drive current, etc.) are stored in 107. .

【0064】以上の構成において、制御対象となるサー
ボモータM1 〜M6 のいずれか、または全部が異なった
定格のモータに交換された場合に、新たなサーボモータ
M1〜M6 の定格、定数に合わせて制御プログラムある
いは制御パラメータを変更しなければならない。この場
合、外部設定器29(図1参照)より新しい制御プログ
ラムデータを入力すると、そのデータは上位制御ユニッ
ト10を介して下位制御ユニット9のDP−RAM79
に入力される。DP−RAM79は新しい制御プログラ
ムデータをCPU77に送る。CPU77は新しい制御
プログラムデータをEEPROM107に書込み、デー
タを更新する。従って、CPU77は、これ以降新しい
制御プログラムに基づいてモータ制御を行うことにな
る。
In the above configuration, when any or all of the servomotors M1 to M6 to be controlled are replaced with motors having different ratings, the new servomotors M1 to M6 are adjusted to the rated values and constants. The control program or control parameters must be changed. In this case, when new control program data is input from the external setter 29 (see FIG. 1), the data is transferred via the upper control unit 10 to the DP-RAM 79 of the lower control unit 9.
Is input to The DP-RAM 79 sends new control program data to the CPU 77. The CPU 77 writes new control program data in the EEPROM 107 and updates the data. Therefore, the CPU 77 thereafter controls the motor based on the new control program.

【0065】一方、制御パラメータに変更が生じた場
合、外部設定器26(図1参照)より新しい制御パラメ
ータデータを入力すると、そのデータは下位制御ユニッ
ト9のシリアル通信インタフェース72に直接入力され
る。シリアル通信インタフェース72は新しい制御パラ
メータデータをパラレルデータとしてCPU77に送
る。CPU77は新しい制御パラメータデータをEEP
ROM107に書込み、データを更新する。あるいは、
外部設定器29により上位制御ユニット10、下位制御
ユニット9の経路で間接的にCPU77に入力するよう
にしても良く、このようにすることで、設定入力の自由
度が確保される。CPU77は、これ以降新しい制御パ
ラメータに基づいてモータ制御を行うことになる。
On the other hand, when the control parameter is changed, when new control parameter data is input from the external setting device 26 (see FIG. 1), the data is directly input to the serial communication interface 72 of the lower control unit 9. The serial communication interface 72 sends the new control parameter data as parallel data to the CPU 77. CPU 77 EEPs new control parameter data
The data is updated by writing to the ROM 107. Alternatively,
The external setting unit 29 may indirectly input to the CPU 77 via the route of the upper control unit 10 and the lower control unit 9. By doing so, the degree of freedom of setting input is secured. From then on, the CPU 77 will perform motor control based on new control parameters.

【0066】なお、上記制御プログラムの更新動作と制
御パラメータの更新動作とは互いに独立して選択的に実
行可能である。
The updating operation of the control program and the updating operation of the control parameter can be selectively executed independently of each other.

【0067】このように、事後的に制御プログラムの更
新と制御パラメータの更新を行うことができるので、モ
ータの変更に伴うハードウエアの交換が不要となり、メ
ンテナンスコストの低減が可能となり、またモータ制御
装置の立ち上げも迅速化することが可能となる。
As described above, since the control program and the control parameter can be updated after the fact, there is no need to replace the hardware when the motor is changed, the maintenance cost can be reduced, and the motor control can be performed. It is possible to speed up the startup of the device.

【0068】ここで、図14に、サーボモータM1 c〜
M6 の電流制御部62(図5参照)の概要を示す。図1
4において、サーボモータに対する電流振幅指令値τc
(n)、電流保証値τr(n)の加算値はトルク指令リミッタ
110においてトルク制限値τlim1によって制限され
る。トルク指令リミッタ110の出力τ´c1(n) は電流
指令作成部111において角度パラメータθ(n) によっ
て座標変換され、電流指令作成部111は電流指令ic
(n)を生成する。電流指令ic(n)は、次式で表される。
Here, in FIG. 14, the servomotors M1c to
An outline of the M6 current control unit 62 (see FIG. 5) is shown. FIG.
4, the current amplitude command value τc for the servo motor
(n), the added value of the guaranteed current value τr (n) is limited by the torque limit value τlim1 in the torque command limiter 110. The output τ′c1 (n) of the torque command limiter 110 is coordinate-converted by the angle parameter θ (n) in the current command generator 111, and the current command generator 111 outputs the current command ic.
generates (n). The current command ic (n) is expressed by the following equation.

【0069】[0069]

【数1】 電流指令ic(n)は減算部112において検出電流if(n)
(図5の1軸電流検出値Idet 参照)と比較され、減算
部112は両者の差分電流値Δi(n) を算出する。差分
電流値Δi(n) は、次式で表される。
[Equation 1] The current command ic (n) is detected by the subtraction unit 112 as the detected current if (n)
(See the 1-axis current detection value Idet in FIG. 5) and the subtraction unit 112 calculates a difference current value Δi (n) between the two. The differential current value Δi (n) is expressed by the following equation.

【0070】[0070]

【数2】 電流制御113は、この差分電流値Δi(n) に基づいて
1軸3相電圧指令v(n)(図5のv参照)を生成する。
1軸3相電圧指令v(n) は、次式で表される。
[Equation 2] The current control 113 generates the uniaxial three-phase voltage command v (n) (see v in FIG. 5) based on the difference current value Δi (n).
The 1-axis 3-phase voltage command v (n) is expressed by the following equation.

【0071】[0071]

【数3】 ここに、1軸3相電圧指令vc(n)と差分電流値ΔI(n)
との間には次式の関係がある。
(Equation 3) Here, the 1-axis 3-phase voltage command vc (n) and the difference current value ΔI (n)
There is a relationship of

【0072】[0072]

【数4】 [Equation 4]

【0073】[0073]

【数5】 Kは制御ゲインである。この制御ゲインKおよびトルク
制限値τlim が制御パラメータに相当する。
(Equation 5) K is a control gain. The control gain K and the torque limit value τlim correspond to control parameters.

【0074】[0074]

【発明の効果】以上の通り、本発明によれば、サーボモ
ータの変更に伴って通信インタフェースを通じて所望の
ゲインデータおよび電流制御パラメータデータを設定入
力するにより種々のサーボモータに対応することがで
き、ROMの交換等の手間ならびに交換に伴う経済的負
担が大幅に軽減され、モータ制御装置としての汎用性が
確保される。
As described above, according to the present invention, various servo motors can be supported by setting and inputting desired gain data and current control parameter data through the communication interface when the servo motor is changed. The time and effort required to replace the ROM and the economic burden associated with the replacement are greatly reduced, and the versatility of the motor control device is ensured.

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

【図1】図1は本発明の実施例における各ユニットの組
立構造の概要を示す外観斜視図である。
FIG. 1 is an external perspective view showing an outline of an assembly structure of each unit in an embodiment of the present invention.

【図2】図2は本発明の実施例における各ユニットの組
立構造の詳細を示す外観斜視図である。
FIG. 2 is an external perspective view showing details of the assembly structure of each unit in the embodiment of the present invention.

【図3】図3は本発明の実施例におけるコネクタ類のバ
ックプレーンへの取付状態を示す外観斜視図である。
FIG. 3 is an external perspective view showing how the connectors are attached to the backplane according to the embodiment of the present invention.

【図4】図4は本発明の実施例における各ユニットの構
成および接続関係を示すブロック図である。
FIG. 4 is a block diagram showing a configuration and a connection relationship of each unit in the embodiment of the present invention.

【図5】図5は下位制御ユニットの構成例を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a configuration example of a lower control unit.

【図6】図6は下位制御ユニットのハードウエアの構成
例を示すブロック図である。
FIG. 6 is a block diagram showing a hardware configuration example of a lower control unit.

【図7】図7は下位制御ユニットのCPUの処理内容例
を示すブロック図である。
FIG. 7 is a block diagram showing an example of processing contents of a CPU of a lower control unit.

【図8】図8は2軸インバータユニットにおける電流検
出器周辺の回路を示すブロック図である。
FIG. 8 is a block diagram showing a circuit around a current detector in the biaxial inverter unit.

【図9】図9は2軸インバータユニットにおける可変ゲ
インアンプの例を示す回路図である。
FIG. 9 is a circuit diagram showing an example of a variable gain amplifier in a biaxial inverter unit.

【図10】図10は電流検出器のオフセット補正および
ゲイン補正の補正回路の原理構成を示すブロック図であ
る。
FIG. 10 is a block diagram showing a principle configuration of a correction circuit for offset correction and gain correction of a current detector.

【図11】図11は電流検出器のオフセット補正および
ゲイン補正の自動補正回路の詳細例を示すブロック図で
ある。
FIG. 11 is a block diagram showing a detailed example of an automatic correction circuit for offset correction and gain correction of a current detector.

【図12】図12は2軸インバータユニットと下位制御
ユニットとの配線関係を示すブロック図である。
FIG. 12 is a block diagram showing a wiring relationship between a biaxial inverter unit and a lower control unit.

【図13】図13は2軸インバータユニットと下位制御
ユニットとコネクタ信号ピン数の新旧比較例を示す説明
図である。
FIG. 13 is an explanatory view showing a new and old comparative example of the biaxial inverter unit, the lower control unit, and the number of connector signal pins.

【図14】図14は、電流制御部の概要を示すブロック
図である。
FIG. 14 is a block diagram showing an outline of a current control unit.

【図15】図15は従来の多軸モータ制御装置における
1軸分のユニット構成例を示すブロック図である。
FIG. 15 is a block diagram showing a unit configuration example for one axis in a conventional multi-axis motor control device.

【符号の説明】 1 バックプレーン 2 主回路電源ユニット 3、4 追加コンデンサユニット 5 小信号電源ユニット 6、7、8 インバータユニット(2軸) 9 下位制御ユニット(6軸) 10 上位制御ユニット 11 商用電源 12 電源用コネクタ 13〜15 動力線用コネクタ 16〜22 モータ用配線 22 エンコーダ信号線 23 エンコーダ用コネクタ 24 シリアル通信用コネクタ 25 通信線 26 外部設定器 27 シリアル通信用コネクタ 28 通信線 29 外部設定器 30 主回路電源用コネクタ 31 追加コンデンサ用コネクタ 32 追加コンデンサ用コネクタ 33 小信号電源用コネクタ 34〜36 インバータ小信号用コネクタ 37 制御インバータI/Fコネクタ 38〜40 インバータ大電流用コネクタ 41 制御上位I/Fコネクタ 42 上位コネクタ 43、44 支持フレーム 45、46 支持フレーム 47 回生抵抗器 48〜50 冷却フィン 51 デッドタイム作成部 52 インバータ 53 A/D変換器 54 電流検出器 55 デッドタイム作成部 56 インバータ 57 マイコン 58 異常検出部 59 EEPROM 60 位置制御部 61 速度制御部 62 電流制御部 63 PWM信号発生部 64〜69 SP変換部 70 異常処理部 71 補正部 72 シリアル通信インタフェース 73 上位ボードインタフェース 74 磁極位置データ変換部 75 位置検出カウンタ 76 RAM 77 CPU 78 バス 79 DP−RAM 82〜85 絶縁アンプ 86〜89 可変ゲインアンプ 90 入力切換部 91 A/D変換部 92 引算器 93 掛算器 94 A/D変換制御部 95 メモリ 96 目標値切換部 97 引算器 98 補正動作切換部 99 補正データメモリ 100 EEPROM書込制御部 101 オペアンプ 102 インバータゲート 104 定電圧源 105 プローブ切替器 106 プローブ 107 EEPROM 110 トルク指令リミッタ 111 電流指令作成部 112 減算部 113 電流制御部 114SP変換および電流検出値補正部 M1 〜M6 サーボモータ E1 〜E6 エンコーダ RA1 、RA2 、RB1 、RB2 電流検出用抵抗器 a1 〜a6 PWM信号 b1 〜b3 電流シリアル信号 c1 〜c3 マイコンシリアル信号 c0 オフセット補正データ cg ゲイン補正データ e1 〜e6 エンコーダ信号 f,f1 f2 ゲイン切換信号 CH−SEL チャネル切換信号 OG−SEL 補正データ切換信号 REF 目標値 REF0 0アンペア時目標値 REF5 5アンペア時目標値 REF10 10アンペア時目標値 SP−OUT SP変換部出力信号 OFFSET オフセットデータ[Explanation of symbols] 1 backplane 2 main circuit power supply unit 3, 4 additional capacitor unit 5 small signal power supply unit 6, 7, 8 inverter unit (2 axes) 9 lower control unit (6 axes) 10 upper control unit 11 commercial power supply 12 power supply connector 13 to 15 power line connector 16 to 22 motor wiring 22 encoder signal line 23 encoder connector 24 serial communication connector 25 communication line 26 external setting device 27 serial communication connector 28 communication line 29 external setting device 30 Main circuit power supply connector 31 Additional capacitor connector 32 Additional capacitor connector 33 Small signal power supply connector 34 to 36 Inverter small signal connector 37 Control inverter I / F connector 38 to 40 Inverter large current connector 41 Control host I / F Ko Kuta 42 Upper connector 43, 44 Support frame 45, 46 Support frame 47 Regenerative resistor 48-50 Cooling fin 51 Dead time creation unit 52 Inverter 53 A / D converter 54 Current detector 55 Dead time creation unit 56 Inverter 57 Microcomputer 58 Abnormality detection unit 59 EEPROM 60 Position control unit 61 Speed control unit 62 Current control unit 63 PWM signal generation unit 64-69 SP conversion unit 70 Abnormality processing unit 71 Correction unit 72 Serial communication interface 73 Upper board interface 74 Magnetic pole position data conversion unit 75 Position detection counter 76 RAM 77 CPU 78 Bus 79 DP-RAM 82-85 Insulation amplifier 86-89 Variable gain amplifier 90 Input switching unit 91 A / D conversion unit 92 Subtractor 93 Multiplier 94 A / D conversion control unit 95 Memory 96 Target value switching unit 97 Subtractor 98 Correction operation switching unit 99 Correction data memory 100 EEPROM writing control unit 101 Operational amplifier 102 Inverter gate 104 Constant voltage source 105 Probe switching unit 106 Probe 107 EEPROM 110 Torque command limiter 111 Current command creation Section 112 subtraction section 113 current control section 114 SP conversion and current detection value correction section M1 to M6 servo motor E1 to E6 encoder RA1, RA2, RB1, RB2 current detection resistors a1 to a6 PWM signal b1 to b3 current serial signal c1 to c3 Microcomputer serial signal c0 Offset correction data cg Gain correction data e1 to e6 Encoder signal f, f1 f2 Gain switching signal CH-SEL Channel switching signal OG-SEL Correction data switching signal REF Target value REF0 0 Pair target value REF5 5 Ah target value Ref10 10 Ah target value SP-OUT SP conversion unit output signal OFFSET offset data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 直流電力を交流電力に変換してサーボモ
ータに駆動電流を供給するモータ駆動手段と、前記駆動
電流の検出信号を制御すべきサーボモータの特性に合わ
せて増幅する可変ゲインアンプ、および増幅された電流
検出信号をディジタル信号に変換するA/D変換器を有
して電流検出信号を前記モータ駆動手段にフィードバッ
クする電流検出手段とを備えたモータ制御装置におい
て、 当該モータ制御装置を制御する中央処理装置と、 外部から入力される前記可変ゲインアンプのゲインデー
タおよび当該モータ制御装置の電流制御パラメータデー
タを受信して前記中央処理装置に送信可能な通信インタ
フェースと、 前記前記可変ゲインアンプのゲインデータおよび電流制
御パラメータデータを電気的に書替え可能に格納するメ
モリと、を備え前記中央処理装置は、前記通信インタフ
ェースから送られたゲインデータおよび電流制御パラメ
ータデータを前記メモリに対して書込み読出し可能に構
成されていることを特徴とするモータ制御装置。
1. A motor drive means for converting direct current power into alternating current power to supply a drive current to a servo motor, and a variable gain amplifier for amplifying a detection signal of the drive current according to the characteristics of the servo motor to be controlled, And a current detection unit that has an A / D converter that converts the amplified current detection signal into a digital signal and that feeds back the current detection signal to the motor driving unit. A central processing unit for controlling; a communication interface capable of receiving gain data of the variable gain amplifier and current control parameter data of the motor control device input from the outside and transmitting the data to the central processing unit; and the variable gain amplifier. A memory for electrically rewritably storing the gain data and the current control parameter data of The motor control device is characterized in that the central processing unit is configured such that gain data and current control parameter data sent from the communication interface can be written to and read from the memory.
JP7026231A 1995-01-20 1995-01-20 Motor controller Withdrawn JPH08205570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7026231A JPH08205570A (en) 1995-01-20 1995-01-20 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7026231A JPH08205570A (en) 1995-01-20 1995-01-20 Motor controller

Publications (1)

Publication Number Publication Date
JPH08205570A true JPH08205570A (en) 1996-08-09

Family

ID=12187572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7026231A Withdrawn JPH08205570A (en) 1995-01-20 1995-01-20 Motor controller

Country Status (1)

Country Link
JP (1) JPH08205570A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000077919A1 (en) * 1999-06-10 2000-12-21 Kdpower Co., Ltd. Method of controlling an induction motor and apparatus thereof
US11249461B2 (en) 2018-03-13 2022-02-15 Omron Corporation Motor control device and setting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000077919A1 (en) * 1999-06-10 2000-12-21 Kdpower Co., Ltd. Method of controlling an induction motor and apparatus thereof
US11249461B2 (en) 2018-03-13 2022-02-15 Omron Corporation Motor control device and setting device

Similar Documents

Publication Publication Date Title
US5619111A (en) Motor control system for controlling the operations of a plurality of servo motors
US7194321B2 (en) Modular multi-axis motion control and driving system and method thereof
US5963007A (en) Current control method for an AC servomotor
JP5867032B2 (en) Parallel inverter device
EP0207172B1 (en) Drive control system for servo motors
JP3421277B2 (en) Motor drive control device and motor drive control method
JPH03155392A (en) Current detecting unit
US5248922A (en) Multi-DSP, multi-functional motion controller
JPH08205556A (en) Multiaxis motor controller
KR20170045940A (en) Multi-Servo control system
US10610953B2 (en) Systems and methods for providing power for plasma arc cutting
JPH01194890A (en) Speed controller
US6577095B1 (en) Brushless alternating current electric servo motor drive
JP5622125B2 (en) Multi-axis motor drive system and multi-axis motor drive device
US4859920A (en) Interface system for servo controller
JPH08256492A (en) Motor controller
JP3892778B2 (en) Numerical controller
JPH08205570A (en) Motor controller
JPH08256499A (en) Multiple-spindle motor controller
US8080965B2 (en) Motor controller with deterministic synchronous interrupt having multiple serial interface backplane
JPH08256500A (en) Multi-axis motor controller
JPH08306433A (en) Connector device
JP3555329B2 (en) Motor driver device
WO2019155844A1 (en) Motor control device
JP6711117B2 (en) Multi-axis drive device and servo amplifier

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020402