JPH04101694A - Synchronous motor controller - Google Patents

Synchronous motor controller

Info

Publication number
JPH04101694A
JPH04101694A JP2216617A JP21661790A JPH04101694A JP H04101694 A JPH04101694 A JP H04101694A JP 2216617 A JP2216617 A JP 2216617A JP 21661790 A JP21661790 A JP 21661790A JP H04101694 A JPH04101694 A JP H04101694A
Authority
JP
Japan
Prior art keywords
current
synchronous motor
output
detector
sine wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2216617A
Other languages
Japanese (ja)
Inventor
Kazunori Kamei
亀井 一紀
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2216617A priority Critical patent/JPH04101694A/en
Publication of JPH04101694A publication Critical patent/JPH04101694A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To reduce the size and to shorten the processing time by detecting the current flowing through an inverter circuit and determining a current command value based on the difference between the detected current value and a target current value thereby employing only one current detector. CONSTITUTION:A current control means 10 amplifies the difference between a target current value Ic fed from a host system or a speed amplifier and a current value If fed back from a current detector and a current command value is fed to a multiplying means 9. The multiplying means 9 multiplies the output from the current control means 10 by three signals, obtained by converting the output from a position detector 2 according to a ROM table in a sine wave generating means 8, and provides the products to PWM circuits 5, 6, 7, respectively. Switching transistor in an inverter circuit 3 is then turned ON/OFF by the PWM signal and current flows through each phase coil of a synchronous motor 1 thus rotating the synchronous motor 1. Since only one current detector is required, the size of controller is reduced and since multiplication is required only one time, processing time of microcomputor is shortened in current control.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は産業用ロホノトやNC工作機などの駆動に用い
られる同期モータの制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a control device for a synchronous motor used to drive industrial machines, NC machine tools, and the like.

(従来の技術) 近年、産業用ロボットやNC工作機などの駆動に用いら
れる同期モータの制御装置は、マイコンを用いたディジ
タル制御化が図られ、カスタムIC化等により小型化、
高性能化が図られている。
(Prior art) In recent years, control devices for synchronous motors used to drive industrial robots and NC machine tools have been digitally controlled using microcomputers, and have become smaller and smaller through the use of custom ICs.
Efforts are being made to improve performance.

以下図面を参照しながら、従来の同期モータの制御装置
の一例について説明する。
An example of a conventional synchronous motor control device will be described below with reference to the drawings.

第6図は従来の同期モータ制御装置の構成図である。第
6図において、21は制御される同期モタ、22はその
1回転内の絶対位置を検出する位置検出器である。23
.24は同期モータ1の相電流を検出する電流検出器で
ある。25は同期モータ21の各相に所定の電流を流す
インバータ回路、26.27.28はインバータ回路2
5のスイッチング素子をオン・オフさせて同期モータ1
に流れる電流を変化させるPWM回路である。
FIG. 6 is a block diagram of a conventional synchronous motor control device. In FIG. 6, 21 is a controlled synchronous motor, and 22 is a position detector that detects its absolute position within one rotation. 23
.. 24 is a current detector that detects the phase current of the synchronous motor 1. 25 is an inverter circuit that flows a predetermined current to each phase of the synchronous motor 21, and 26, 27, and 28 are inverter circuits 2.
Synchronous motor 1 is turned on and off by switching element 5.
This is a PWM circuit that changes the current flowing through the circuit.

29は、第7図に示すような120°位相のずれた2相
の正弦波データをROMに書き込んだテーブルから成る
正弦波発生手段である。30は、同期モータ21に流す
電流の目標値と正弦波発生手段29から得られる2相の
正弦波とを掛け合わせる乗算手段、31.32.33は
乗算手段30の出力と電流検出器23.24の出力から
PWM回路26.27.28に対する人力信号を演算し
て出力する電流制御手段である。
Reference numeral 29 denotes a sine wave generating means consisting of a table in which two-phase sine wave data with a phase shift of 120° as shown in FIG. 7 is written in a ROM. 30 is a multiplier for multiplying the target value of the current flowing through the synchronous motor 21 by a two-phase sine wave obtained from the sine wave generating means 29; 31, 32, and 33 are the output of the multiplier 30 and the current detector 23. This current control means calculates and outputs a human power signal for the PWM circuits 26, 27, and 28 from the output of 24.

以上のように構成された同期モータ制御装置について、
以下その動作を説明する。
Regarding the synchronous motor control device configured as above,
The operation will be explained below.

まず、上位システムや速度アンプから得られた電流目標
値1cと、位置検出器22の出力を正弦波発生手段29
のROMテーブルにより変換した2つの信号とが、乗算
手段30で掛け合わされ、U相とW相の電流指令値が演
算される。又、■相の電流指令値はU相とW相の電流指
令値の和を取りその符号を反転して演算される。次に、
電流制御手段31.32.33において、各相銀に電流
指令値と電流検出器23.24がら得た電流フィードバ
ック値との差をとり、増幅してPWM回路26.27.
28に出力する。その際、電流検出器23の出力がU相
の電流フィードバック値冒Uとなり、電流検出器24の
出力がW相の電流フィードバック値INとなり、■相の
電流フィートバンク値Ifνは、 Ifv−−1fu −Ifw から得られる。そして、PWM回路26.27.28て
電流指令値がPWM変調され、インバータ回路25のス
イッチング素子をオン・オフさせる。かくして、同期モ
ータ21に電流が流れ、同期モータ21が回転するので
ある。
First, the current target value 1c obtained from the host system or speed amplifier and the output of the position detector 22 are transferred to the sine wave generating means 29.
The two signals converted using the ROM table are multiplied by the multiplier 30, and current command values for the U phase and W phase are calculated. Further, the current command value of the ■phase is calculated by taking the sum of the current command values of the U phase and W phase and inverting the sign thereof. next,
In the current control means 31, 32, 33, the difference between the current command value for each phase and the current feedback value obtained from the current detector 23, 24 is taken, amplified, and sent to the PWM circuit 26, 27, .
Output to 28. At this time, the output of the current detector 23 becomes the U-phase current feedback value FU, the output of the current detector 24 becomes the W-phase current feedback value IN, and the current foot bank value Ifν of the ■phase is Ifv--1fu −Ifw. Then, the current command value is PWM-modulated by the PWM circuits 26, 27, and 28, and the switching elements of the inverter circuit 25 are turned on and off. Thus, current flows through the synchronous motor 21, causing the synchronous motor 21 to rotate.

(例えば、「ブラシレスサーボモータの基礎と応用J2
1〜28頁、総合電子出版社、参照。)(発明が解決し
ようとする課題) しかしながら、上記のような構成では電流検出器が少な
くとも2個、電流制御手段が3個必要であるため、小型
化が困難であるという問題があった。又、上記処理をマ
イコンで行うディジタル制御の場合、電流制御のルーチ
ンを3回行う必要があり、処理時間が遅くなって安定し
たモータ制御が困難であるという問題があった。
(For example, "Basics and Applications of Brushless Servo Motors J2
See pages 1-28, General Electronic Publishing. ) (Problem to be Solved by the Invention) However, the above configuration requires at least two current detectors and three current control means, so there is a problem that miniaturization is difficult. Further, in the case of digital control in which the above processing is performed by a microcomputer, there is a problem in that the current control routine must be performed three times, which slows down the processing time and makes stable motor control difficult.

本発明は上記問題点に鑑み、小型で安定した制御が可能
な同期モータ制御装置を提供することを目的とするもの
である。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a synchronous motor control device that is compact and capable of stable control.

(問題点を解決するための手段) 上記問題点を解決するために、本発明の同期モータ制御
装置は、同期モータと、同期モータの回転位置を検出す
る位置検出器と、同期モータの3相のコイルに電流を流
すインバータ回路と、インバータ回路に流れる電流を検
出する1つの電流検出器と、インバータ回路のスイッチ
ング素子をオン・オフ制御させる信号を作る3つのPW
M回路と、同期モータに流す電流の目標値と電流検出器
の出力から電流指令値を計算する電流制御手段と、位置
検出器の出力から120°づつ位相の異なる正弦波を作
る正弦波発生手段と、電流制御手段の出力と正弦波発生
手段の出力である3相の正弦波データとを掛け合わせて
3つのPWM回路に出力する乗算手段とを備えたもので
ある。
(Means for Solving the Problems) In order to solve the above problems, the synchronous motor control device of the present invention includes a synchronous motor, a position detector for detecting the rotational position of the synchronous motor, and a three-phase An inverter circuit that flows current through the coil, one current detector that detects the current flowing through the inverter circuit, and three PWs that generate signals that control the switching elements of the inverter circuit on and off.
M circuit, current control means that calculates a current command value from the target value of the current flowing through the synchronous motor and the output of the current detector, and sine wave generation means that generates sine waves whose phases differ by 120 degrees from the output of the position detector. and a multiplier for multiplying the output of the current control means and three-phase sine wave data, which is the output of the sine wave generation means, and outputting the result to three PWM circuits.

(作 用) 本発明は上記した構成によって、インバータ回路を流れ
る電流値を検出して電流目標値との偏差にて電流指令値
を求めるようにしているので電流検出器が1個で済み、
小型化を図れるとともに、マイコンによるディジタル制
御を行ったときに電流制御ルーチンが1回で済み、処理
時間が短くなってモータを安定して制御することができ
る。
(Function) With the above configuration, the present invention detects the current value flowing through the inverter circuit and determines the current command value based on the deviation from the current target value, so only one current detector is required.
In addition to being miniaturized, the current control routine only needs to be performed once when digitally controlled by a microcomputer, reducing processing time and stably controlling the motor.

(実施例) 以下、本発明の一実施例における同期モータ制御装置に
ついて、図面を参照しながら説明する。
(Example) Hereinafter, a synchronous motor control device according to an example of the present invention will be described with reference to the drawings.

第1図は同期モータ制御装置の構成を示すものである。FIG. 1 shows the configuration of a synchronous motor control device.

第1図において、1は同期モータ、2は同期モータ1の
1回転内の絶対位置を検出する位置検出器である。3は
インバータ回路であり、第3図に示すように、6個のス
イッチングトランジスタQ1〜Q6から成り、これらの
スイッチングトランジスタをオン・オフさせることによ
り同期モータ1の3相のコイルに電流を流すように構成
されている。4は各相のコイルに流れる電流ではな(、
インバータ回路3を流れる合成電流を検出する1つの電
流検出器である。5.6.7は各相ごとに設けられたP
WM回路であり、第4図に示すように、三角波発生器(
Qo、c)11とコンパレータ(Qc、、 )  12
とから成り、第5図に示すように、入力電圧V i n
が三角波電圧V c m pより上回っているときにパ
ルス電圧■。uLを出力するように構成されている。8
は、第2図に示すように120°位相のずれた3相の正
弦波データをROMに書き込んだテーブルからなる正弦
波発生手段、9は、電流制御手段10から出力された電
流指令値と正弦波発生手段8から得られる3相の正弦波
データとを掛け合わせる乗算手段、10は電流目標値と
電流検出器2の出力の差をとって増幅し、乗算手段9に
対して電流指令値を出力する電流制御手段である。
In FIG. 1, 1 is a synchronous motor, and 2 is a position detector that detects the absolute position of the synchronous motor 1 within one rotation. 3 is an inverter circuit, as shown in Fig. 3, it consists of six switching transistors Q1 to Q6, and by turning these switching transistors on and off, current flows through the three-phase coils of the synchronous motor 1. It is composed of 4 is the current flowing through the coils of each phase (,
This is one current detector that detects the combined current flowing through the inverter circuit 3. 5.6.7 is P provided for each phase
It is a WM circuit, and as shown in Figure 4, it is a triangular wave generator (
Qo, c) 11 and comparator (Qc,, ) 12
As shown in FIG. 5, the input voltage V i n
The pulse voltage ■ is higher than the triangular wave voltage V c m p. It is configured to output uL. 8
As shown in FIG. 2, sine wave generating means consists of a table in which three-phase sine wave data with a phase shift of 120° is written in the ROM, and 9 indicates the current command value output from the current control means 10 and the sine wave data. A multiplication means 10 multiplies the three-phase sine wave data obtained from the wave generation means 8, and 10 amplifies the difference between the current target value and the output of the current detector 2, and outputs a current command value to the multiplication means 9. This is a current control means for outputting.

次に、以上のように構成された同期モータ制御装置の動
作を説明する。
Next, the operation of the synchronous motor control device configured as above will be explained.

まず、電流制御手段10にて上位システムや速度アンプ
から得られた電流目標値rcと電流検出器からのフィー
ドバック電流値I、との差をとって増幅し、その電流指
令値を乗算手段9に出力する。乗算手段9では電流制御
手段10の出力と、位置検出器2の出力を正弦波発生手
段8のFi’OMテーブルにより変換した3つの信号と
を掛け合わせてそれぞれPWM回路5.6.7に出力す
る。
First, the current control means 10 calculates and amplifies the difference between the current target value rc obtained from the host system or speed amplifier and the feedback current value I from the current detector, and the current command value is sent to the multiplication means 9. Output. The multiplication means 9 multiplies the output of the current control means 10 and three signals obtained by converting the output of the position detector 2 using the Fi'OM table of the sine wave generation means 8, and outputs the results to the PWM circuits 5.6.7. do.

そして、PWM回路5.6.7でPWM変調された信号
にてインバータ回路3のスイッチングトランジスタがオ
ン・オフ制御され、同期モータ1の各相のコイルに電流
が流れ、同期モータ1が回転する。
Then, the switching transistor of the inverter circuit 3 is controlled on/off by the PWM modulated signal in the PWM circuit 5.6.7, current flows through the coils of each phase of the synchronous motor 1, and the synchronous motor 1 rotates.

以上のように本実施例によれば、電流検出器4が1個で
済むために小型化が可能となり、また電流制御手段を乗
算手段9の前に配置したことにより乗算が1回で済み、
電流制御をマイコンで行ったときの処理時間が短くなり
、安定したモータ制御が可能になる。
As described above, according to this embodiment, since only one current detector 4 is required, miniaturization is possible, and since the current control means is placed before the multiplication means 9, only one multiplication is required.
Processing time when current control is performed by a microcomputer is shortened, allowing stable motor control.

(発明の効果) 以上のように本発明の同期モータ制御装置によれば、イ
ンバータ回路を流れる電流値を検出する電流検出器が1
個で済むために小型化が可能となり、また電流制御手段
を3相の正弦波データとの乗算手段の前に配置したこと
により乗算が1回で済み、電流制御をマイコンで行った
ときの処理時間が約3分の1となり、安定したモータ制
御が可能となるという効果を発揮する。
(Effects of the Invention) As described above, according to the synchronous motor control device of the present invention, only one current detector detects the current value flowing through the inverter circuit.
Since only one unit is required, miniaturization is possible, and since the current control means is placed before the means for multiplying with three-phase sine wave data, only one multiplication is required, and the processing when current control is performed by a microcomputer is possible. The time is reduced to about one-third, and the effect is that stable motor control is possible.

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

第1図は本発明の一実施例における同期モータ制御装置
の構成図、第2図は同正弦波発生手段のテーブルの内容
を示すグラフ、第3図は同インバータ回路の概略構成図
、第4図は同PMW回路の構成図、第5図は同PMW回
路の動作を説明する波形図、第6図は従来の同期モータ
制御装置の構成図、第7図は同正弦波発生手段のテーブ
ルの内容を示すグラフである。 正弦波発生手段 乗算手段 電流制御手段。
FIG. 1 is a block diagram of a synchronous motor control device according to an embodiment of the present invention, FIG. 2 is a graph showing the contents of a table of the sine wave generating means, FIG. 3 is a schematic block diagram of the inverter circuit, and FIG. Figure 5 is a diagram of the configuration of the PMW circuit, Figure 5 is a waveform diagram explaining the operation of the PMW circuit, Figure 6 is a configuration diagram of a conventional synchronous motor control device, and Figure 7 is a table of the sine wave generating means. This is a graph showing the contents. sine wave generating means; multiplication means; current control means;

Claims (1)

【特許請求の範囲】[Claims] (1)同期モータと、同期モータの回転位置を検出する
位置検出器と、同期モータの3相のコイルに電流を流す
インバータ回路と、インバータ回路に流れる電流を検出
する1つの電流検出器と、インバータ回路のスイッチン
グ素子をオン・オフ制御させる信号を作る3つのPWM
回路と、同期モータに流す電流の目標値と電流検出器の
出力から電流指令値を計算する電流制御手段と、位置検
出器の出力から120゜づつ位相の異なる正弦波を作る
正弦波発生手段と、電流制御手段の出力と正弦波発生手
段の出力である3相の正弦波データとを掛け合わせて3
つのPWM回路に出力する乗算手段とを備えた同期モー
タ制御装置。
(1) a synchronous motor, a position detector that detects the rotational position of the synchronous motor, an inverter circuit that flows current through the three-phase coils of the synchronous motor, and one current detector that detects the current flowing through the inverter circuit; Three PWMs that create signals that control on/off of switching elements in inverter circuits
a circuit, a current control means for calculating a current command value from a target value of the current flowing through the synchronous motor and the output of the current detector, and a sine wave generating means for generating sine waves having a phase different by 120 degrees from the output of the position detector. , the output of the current control means and the three-phase sine wave data that is the output of the sine wave generation means are multiplied to obtain 3.
A synchronous motor control device comprising: multiplication means for outputting to two PWM circuits.
JP2216617A 1990-08-16 1990-08-16 Synchronous motor controller Pending JPH04101694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2216617A JPH04101694A (en) 1990-08-16 1990-08-16 Synchronous motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2216617A JPH04101694A (en) 1990-08-16 1990-08-16 Synchronous motor controller

Publications (1)

Publication Number Publication Date
JPH04101694A true JPH04101694A (en) 1992-04-03

Family

ID=16691240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2216617A Pending JPH04101694A (en) 1990-08-16 1990-08-16 Synchronous motor controller

Country Status (1)

Country Link
JP (1) JPH04101694A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008007544A2 (en) * 2006-07-10 2008-01-17 Seiko Epson Corporation Electric motor, method for correcting sensor output for the same, and control circuit
US7605560B2 (en) 2006-05-10 2009-10-20 Panasonic Corporation Motor driving apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7605560B2 (en) 2006-05-10 2009-10-20 Panasonic Corporation Motor driving apparatus
WO2008007544A2 (en) * 2006-07-10 2008-01-17 Seiko Epson Corporation Electric motor, method for correcting sensor output for the same, and control circuit
WO2008007544A3 (en) * 2006-07-10 2008-09-12 Seiko Epson Corp Electric motor, method for correcting sensor output for the same, and control circuit
US8089231B2 (en) 2006-07-10 2012-01-03 Seiko Epson Corporation Electric motor, method for correcting sensor output for the same, and control circuit

Similar Documents

Publication Publication Date Title
Grenier et al. Experimental nonlinear torque control of a permanent-magnet synchronous motor using saliency
WO2017196525A1 (en) Motor control using phase current and phase voltage
TWI767332B (en) Method to control a motor and motor controller ic package
JPS5924635B2 (en) Method and apparatus for generating motor drive current
JP4722002B2 (en) PWM inverter control device, PWM inverter control method, and refrigeration air conditioner
Lai et al. FPGA-based stepper motor vector control system design
JPH04101694A (en) Synchronous motor controller
EP0142563B1 (en) System of controlling synchronous motor
Radwan et al. Dynamic analysis of a high performance permanent magnet synchronous motor drive
US4496893A (en) Controlling device for a brushless motor
JP3649329B2 (en) Stepping motor drive device
JP3354465B2 (en) Power converter
JPH02159993A (en) Reference current waveform generator of synchronous ac servo-motor driving apparatus
JPH06165572A (en) Motor drive controller and motor control method
JP3688353B2 (en) Electric motor control device
JPS62126894A (en) Controller for synchronous motor
JP3007989B2 (en) Driving device for stepping motor
JP3469336B2 (en) Control device for three-phase brushless motor
JPH0521999Y2 (en)
JP2005137080A (en) Motor controller
JPS5923195B2 (en) Thyristor motor control device
JPH0417033B2 (en)
KR890004313B1 (en) Arrangement for starting servo motor
JPS61288798A (en) Drive device of synchronous motor
JPS62210884A (en) Speed control unit for three-phase synchronous motor