JPH05336793A - Controlling equipment of servomotor - Google Patents

Controlling equipment of servomotor

Info

Publication number
JPH05336793A
JPH05336793A JP4140819A JP14081992A JPH05336793A JP H05336793 A JPH05336793 A JP H05336793A JP 4140819 A JP4140819 A JP 4140819A JP 14081992 A JP14081992 A JP 14081992A JP H05336793 A JPH05336793 A JP H05336793A
Authority
JP
Japan
Prior art keywords
electrical angle
phase
signal
output
counter
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
JP4140819A
Other languages
Japanese (ja)
Inventor
Atsusane Hashimoto
敦実 橋本
Takashi Nakatsuka
隆 中塚
Hisashi Kinoshita
久 木下
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 JP4140819A priority Critical patent/JPH05336793A/en
Publication of JPH05336793A publication Critical patent/JPH05336793A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To suppress fluctuation of an output torque both for a motor for which a U-phase interphase voltage is synchronized with a U-phase CS signal and for a motor for which a U-phase line voltage is synchronized with the U-phase CS signal. CONSTITUTION:An electrical angle corresponding to a commutation signal (d) is obtained by an electrical angle determining part 11, while a U-phase edge of the signal (d) is detected by an edge detecting part 12 and an electrical angle corresponding thereto is abtained. Moreover, an electrical angle offset corresponding to a phase difference between a U-phase interphase induced voltage and the phase U of the signal (d) is outputted by an electrical angle offset output part 13. An electrical angle initial setting part 14 sets in a counter 3 an addition value of the electrical angle of the electrical angle determining part 11 and the electrical angle offset when a power source is made, and moreover, an electrical angle resetting part 15 resets in the counter 3 an addition value of the electrical angle of the edge detecting part 12 and the electrical angle offset when the U-phase edge of the signal (d) is detected. A servomotor 1 is subjected to a drive control by a sine wave output from a sine wave output part 4 which is computed by using set values obtained in the above.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタルサーボ制御装
置などのサーボモータ制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a servo motor controller such as a digital servo controller.

【0002】[0002]

【従来の技術】図4はインクリメンタルエンコーダを備
えた従来のサーボモータ制御装置の構成を示すブロック
図である。図4において、サーボモータ1と連結される
インクリメンタルエンコーダ(以下エンコーダという)
2はカウンタ3に接続され、カウンタ3によりエンコー
ダ2からのA相B相信号aをカウントし、そのカウント
値をサーボモータ1に流す交流電流の電気角値bとして
出力する。このカウンタ3に接続される正弦波出力部4
は、カウンタ3からの電気角値bを入力とし、電気角値
bより正弦波出力cを形成して出力する。
2. Description of the Related Art FIG. 4 is a block diagram showing the configuration of a conventional servomotor control device having an incremental encoder. In FIG. 4, an incremental encoder (hereinafter referred to as an encoder) connected to the servo motor 1
Reference numeral 2 is connected to the counter 3, and the counter 3 counts the A-phase and B-phase signals a from the encoder 2 and outputs the count value as the electrical angle value b of the alternating current flowing through the servomotor 1. Sine wave output unit 4 connected to this counter 3
Receives the electrical angle value b from the counter 3, forms a sine wave output c from the electrical angle value b, and outputs it.

【0003】また、エンコーダ2が接続される矩形波出
力部5は、エンコーダ2からの三相(U,V,W)CS
信号(三相コミュテーション信号)dの組み合わせの判
定を行い、その組み合わせに対応する値より矩形波eを
形成して出力する。また、切り換え部6は、矩形波出力
部5からの矩形波eと正弦波出力部4からの正弦波出力
cとを入力とし、その何れかを選択して出力する。電源
投入直後は矩形波eを出力するように設定してある。さ
らに、エンコーダ2が接続されるCS信号処理部7は切
り換え部6に接続され、エンコーダ2からのU相CS信
号(U相コミュテーション信号)のエッジを検出し、電
源投入後最初のエッジを検出したとき、そのエッジに対
応する電気角値をカウンタ3に設定し、また、切り換え
部6を正弦波出力部4側に切り換えるように制御する。
The rectangular wave output section 5 to which the encoder 2 is connected has a three-phase (U, V, W) CS from the encoder 2.
The combination of the signals (three-phase commutation signals) d is determined, and a rectangular wave e is formed and output from the values corresponding to the combination. The switching unit 6 receives the rectangular wave e from the rectangular wave output unit 5 and the sine wave output c from the sine wave output unit 4, and selects and outputs one of them. The rectangular wave e is set to be output immediately after the power is turned on. Further, the CS signal processing unit 7 to which the encoder 2 is connected is connected to the switching unit 6, detects the edge of the U-phase CS signal (U-phase commutation signal) from the encoder 2, and detects the first edge after the power is turned on. At this time, the electrical angle value corresponding to the edge is set in the counter 3, and the switching unit 6 is controlled to switch to the sine wave output unit 4 side.

【0004】さらに、切り換え部6の出力端が接続され
る各相電流指令演算部8は、切り換え部6を経て入力さ
れる矩形波出力部5からの矩形波eまたは正弦波出力部
4からの正弦波出力cと、トルク指令fとにより各相
(U,V,W)電流指令gを演算して出力する。この電
流指令演算部8が接続される電流制御部9は、各相電流
指令演算部8からの各相電流指令gと、電流フィードバ
ック値hとを入力としPWM指令iを出力する。この電
流制御部9が接続されるPWMインバータ部10はサーボ
モータ1に接続され、PWM指令iを入力としサーボモ
ータ1の駆動電流jを出力する。
Further, each phase current command computing unit 8 to which the output end of the switching unit 6 is connected has a rectangular wave e from the rectangular wave output unit 5 or a sine wave output unit 4 input from the switching unit 6. A sine wave output c and a torque command f are used to calculate and output a current command g for each phase (U, V, W). The current control unit 9 to which the current command calculation unit 8 is connected receives the phase current commands g from the phase current command calculation units 8 and the current feedback value h as inputs, and outputs the PWM command i. The PWM inverter unit 10 to which the current control unit 9 is connected is connected to the servo motor 1 and receives the PWM command i as an input and outputs the drive current j of the servo motor 1.

【0005】以上により構成されたサーボモータ制御装
置について、以下、その動作を説明する。図5は図4の
サーボモータ制御装置において、U相相間電圧とU相C
S信号が同期するモータ1aをCW方向のトルクでCW
方向に回転させた場合の各要部の波形図であり、Aはモ
ータ出力トルク波形、Bはカウンタ値(電気角値)波
形、Cは各相電流波形、さらにDは各相CS信号波形を
示している。図5のDにおける時点m、時点nは各相C
S信号dの変化時点で、時点kは電源投入時点である。
また、U相CS信号のエッジ検出は立ち上がりエッジの
みを検出するものとし、電源投入後最初の立ち上がりエ
ッジが時点pである。さらに、電源投入後から最初のU
相CS信号の立ち上がりエッジを検出するまでの間(区
間kp)は、正確な電気角位置がわからないため、各相
CS信号dの組み合わせにより大まかな電気角位置を割
り出し、近似的な波形(矩形波・斜線部Q1 ,Q2 ,Q
3 )を形成してモータ1aを駆動している。また、この
U相CS信号の立ち上がりエッジを検出して以後は、正
確な電気角値bが判り、その電気角値bに応じた位相の
正弦波出力cを形成してモータ1aを駆動制御してい
る。
The operation of the servo motor control device constructed as described above will be described below. FIG. 5 shows the U-phase interphase voltage and the U-phase C in the servo motor control device of FIG.
CW the motor 1a synchronized with the S signal with the torque in the CW direction.
FIG. 3 is a waveform diagram of each main part when rotated in a direction, where A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a phase current waveform, and D is a phase CS signal waveform. Shows. The time point m and the time point n in FIG.
At the time when the S signal d changes, time k is the time when the power is turned on.
Further, only the rising edge is detected for the edge detection of the U-phase CS signal, and the first rising edge after the power is turned on is the time point p. In addition, the first U after turning on the power
Until the rising edge of the phase CS signal is detected (section kp), the exact electrical angle position is not known. Therefore, the rough electrical angle position is determined by the combination of the phase CS signals d, and the approximate waveform (rectangular wave) is calculated.・ Slanted areas Q 1 , Q 2 , Q
3 ) is formed to drive the motor 1a. Further, after detecting the rising edge of the U-phase CS signal, the accurate electrical angle value b is known, and the sine wave output c having a phase corresponding to the electrical angle value b is formed to drive and control the motor 1a. ing.

【0006】図6は図4のサーボモータ制御装置におい
て、U相線間電圧とU相CS信号が同期するモータ1b
をCW方向のトルクでCW方向に回転させた場合の各要
部の波形図であり、Aはモータ出力トルク波形、Bはカ
ウンタ値(電気角値)波形、Cは各相電流波形、さらに
Dは各相CS信号波形を示している。図6のm,n,
k,pの各時点は図5で説明した各時点と同じである。
また、電源投入後から最初のU相CS信号の立ち上がり
エッジを検出するまでの間、または、U相CS信号の立
ち上がりエッジを検出してから以後のモータ1bの駆動
方法についても図5で説明したものと同じである。異な
るのは、U相線間電圧とU相CS信号が同期するモータ
1bについては、電気角の0(ゼロ)時点とU相CS信
号の立ち上がり時点とは、電気角30°分のずれが存在す
ることである。この場合、区間kpにおいては、駆動電
流の位相が、本来あるべき位相(図6のCにおける点線
部)に対して最大60°分のずれが生じ(CS信号の各変
化点直前)、モータ1bの出力トルクは、図6に示すよ
うに変動の大きいものとなる。
FIG. 6 shows a motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized in the servo motor control device of FIG.
Is a waveform diagram of each main part when C is rotated in the CW direction with torque in the CW direction. A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a phase current waveform, and further D is a waveform. Shows the CS signal waveform of each phase. M, n, in FIG.
The time points k and p are the same as the time points described in FIG.
Also, the method of driving the motor 1b after the power is turned on until the first rising edge of the U-phase CS signal is detected or after the rising edge of the U-phase CS signal is detected has been described with reference to FIG. It is the same as the one. The difference is that, for the motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized, there is a difference of 30 ° in electrical angle between the electrical angle 0 (zero) point and the rising point of the U-phase CS signal. It is to be. In this case, in the section kp, the phase of the drive current is deviated by a maximum of 60 ° with respect to the phase (dotted line portion in C of FIG. 6) which should be originally (immediately before each change point of the CS signal), and the motor 1b The output torque of 1 has a large fluctuation as shown in FIG.

【0007】[0007]

【発明が解決しようとする課題】上記従来のサーボモー
タ制御装置では、U相線間電圧とU相CS信号が同期す
るモータ1bを駆動しようとする場合には、電源投入後
最初のU相CS信号のエッジを検出するまでの間、モー
タ1bの出力トルク変動が大きいものとなり、電源投入
時の最初の起動時、その電気角位置によってはモータ1
bの出力トルクが不足したり、または、このようなトル
ク変動が発振の要因となったりするため、サーボのゲイ
ンを上げることができないなどの問題が生じ、その対応
が困難であった。
In the above-mentioned conventional servo motor control device, when it is attempted to drive the motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized, the first U-phase CS after the power is turned on. Until the edge of the signal is detected, the output torque fluctuation of the motor 1b becomes large, and when the power is turned on for the first time, the motor 1b depends on its electrical angle position.
Since the output torque of b is insufficient, or such a torque fluctuation causes oscillation, there arises a problem that the servo gain cannot be increased, which is difficult to cope with.

【0008】本発明は上記従来の問題を解決するもの
で、U相相間電圧とU相CS信号が同期するモータと、
U相線間電圧とU相CS信号が同期するモータのどちら
に対しても、モータ出力電圧の変動を抑えることができ
るサーボモータ制御装置を提供することを目的とするも
のである。
The present invention is intended to solve the above-mentioned conventional problems, and includes a motor in which the U-phase interphase voltage and the U-phase CS signal are synchronized,
It is an object of the present invention to provide a servo motor control device that can suppress fluctuations in motor output voltage for both motors in which the U-phase line voltage and the U-phase CS signal are synchronized.

【0009】[0009]

【問題を解決するための手段】上記課題を解決するため
に本発明のサーボモータ制御装置は、正弦波出力および
トルク指令により演算される電流指令によってインクリ
メンタルエンコーダを設けたサーボモータを駆動制御す
るサーボモータ制御装置であって、前記インクリメンタ
ルエンコーダからのA相B相信号を入力してカウントし
前記サーボモータに流す交流電流の電気角値を出力する
カウンタと、前記カウンタ出力の電気角値を入力として
前記正弦波出力を出力する正弦波出力部と、前記インク
リメンタルエンコーダが出力するコミュテーション信号
を入力とし、前記コミュテーション信号に対応する電気
角値を出力する電気角判定部と、前記コミュテーション
信号のU相エッジを検出し、前記U相エッジに対応する
電気角値を出力するエッジ検出部と、U相相間誘起電圧
と前記インクリメンタルエンコーダからのU相コミュテ
ーション信号との位相差に対応する電気角オフセットを
出力する電気角オフセット出力部と、電源投入時に前記
電気角判定部の出力の電気角値と前記電気角オフセット
との加算値を前記カウンタに設定する電気角初期設定部
と、前記コミュテーション信号のU相エッジを検出した
ときに前記エッジ検出部出力の電気角値と前記電気角オ
フセットとの加算値を前記カウンタに再設定する電気角
再設定部とを備えたものである。
In order to solve the above-mentioned problems, a servo motor control device of the present invention is a servo drive control for a servo motor provided with an incremental encoder according to a current command calculated by a sine wave output and a torque command. A motor control device, wherein a counter for inputting and counting the A-phase and B-phase signals from the incremental encoder and outputting an electrical angle value of an alternating current flowing to the servo motor, and an electrical angle value of the counter output as inputs A sine wave output section that outputs the sine wave output, an input of the commutation signal output by the incremental encoder, an electrical angle determination section that outputs an electrical angle value corresponding to the commutation signal, and the commutation signal Detect the U-phase edge and output the electrical angle value corresponding to the U-phase edge. An edge detection unit, an electrical angle offset output unit that outputs an electrical angle offset corresponding to the phase difference between the U-phase interphase induced voltage and the U-phase commutation signal from the incremental encoder, and the electrical angle determination unit when the power is turned on. An electrical angle initial setting unit for setting the added value of the electrical angle value of the output and the electrical angle offset in the counter; and an electrical angle value of the edge detection unit output when a U-phase edge of the commutation signal is detected. An electrical angle resetting unit that resets the added value with the electrical angle offset in the counter is provided.

【0010】[0010]

【作用】上記構成により、電気角判定部で、コミュテー
ション信号に対応する電気角を出力し、エッジ検出部
で、コミュテーション信号のU相エッジを検出し、対応
する電気角を出力し、さらに、電気角オフセット出力部
で、U相相間誘起電圧とコミュテーション信号のU相と
の位相差に対応する電気角オフセットを出力し、電気角
初期設定部は、電源投入時に電気角判定部出力の電気角
と電気角オフセットとの加算値をカウンタに設定し、そ
して、電気角再設定部は、コミュテーション信号のU相
エッジを検出したときにエッジ検出部出力の電気角と電
気角オフセットとの加算値をカウンタに再設定し、これ
らカウンタ値を用いて演算出力される正弦波出力部から
の正弦波出力によりサーボモータを駆動制御するので、
電気角初期設定部で設定されるカウンタ設定値による制
御の間もモータ出力トルクは一定となって、従来のよう
にU相線間電圧とU相CS信号が同期するモータを用い
た場合に生じる、モータの出力トルク変動で共振するた
めにサーボゲインを上げることができないなどの問題が
解消され、U相相間電圧とU相CS信号が同期するモー
タと、U相線間電圧とU相CS信号が同期するモータの
何れにも対応可能なものとなる。
With the above structure, the electrical angle determination unit outputs the electrical angle corresponding to the commutation signal, the edge detection unit detects the U-phase edge of the commutation signal, and outputs the corresponding electrical angle. , The electrical angle offset output unit outputs an electrical angle offset corresponding to the phase difference between the U-phase inter-phase induced voltage and the U phase of the commutation signal, and the electrical angle initial setting unit outputs the electrical angle determination unit output when the power is turned on. The added value of the electrical angle and the electrical angle offset is set in the counter, and the electrical angle resetting unit detects the U-phase edge of the commutation signal and detects the electrical angle and the electrical angle offset of the output of the edge detection unit. Since the added value is reset in the counter and the sine wave output from the sine wave output unit that is calculated and output using these counter values drives and controls the servo motor,
The motor output torque remains constant during the control based on the counter setting value set by the electrical angle initial setting unit, which occurs when a motor in which the U-phase line voltage and the U-phase CS signal are synchronized is used as in the conventional case. , The problem that the servo gain cannot be increased due to resonance due to the output torque fluctuation of the motor is solved, and the motor in which the U phase phase voltage and the U phase CS signal are synchronized, and the U phase line voltage and the U phase CS signal Can be used for any of the motors that are synchronized with each other.

【0011】[0011]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。なお、従来例と同一の作用効果を奏
するものには同一の符合を付してその説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. It should be noted that the same effects as those of the conventional example are given the same reference numerals and the description thereof will be omitted.

【0012】図1は本発明の一実施例におけるサーボモ
ータ制御装置の構成を示すブロック図である。図1にお
いて、インクリメンタルエンコーダ2からのA相B相信
号aをカウントし、そのカウント値をサーボモータ1の
電気角値として出力するカウンタ3が接続される正弦波
出力部4は各相電流指令演算部8に接続され、カウンタ
3からの電気角値b1 を入力とし、この電気角値b1 よ
り正弦波出力c1 を形成して各相電流指令演算部8に出
力し、各相電流指令演算部8で、正弦波出力部2からの
正弦波出力c1 とトルク指令fとにより各相電流指令g
1 を演算して出力する。
FIG. 1 is a block diagram showing the configuration of a servo motor control device according to an embodiment of the present invention. In FIG. 1, a sine wave output unit 4 connected to a counter 3 that counts the A-phase and B-phase signals a from the incremental encoder 2 and outputs the count value as the electrical angle value of the servomotor 1 is used to calculate each phase current command. The electric angle value b1 from the counter 3, which is connected to the section 8, is used to form a sine wave output c1 from the electric angle value b1 and outputs the sinusoidal wave output c1 to each phase current command calculating section 8 and each phase current command calculating section 8 Then, based on the sine wave output c1 from the sine wave output unit 2 and the torque command f, each phase current command g
Calculate 1 and output.

【0013】一方、エンコーダ2が接続される電気角判
定部11は、エンコーダ2からの3ビットの三相(U,
V,W)CS信号(三相コミュテーション信号)の組み
合わせの判定を行い、この三相CS信号に対応する電気
角の範囲の中間値を出力する。また、エンコーダ2が接
続されるエッジ検出部12は、エンコーダ2からのU相C
S信号(U相コミュテーション信号)のU相エッジを検
出し、U相エッジに対応する電気角を出力する。さら
に、電気角オフセット出力部13は、U相相間誘起電圧と
エンコーダ2からのU相CS信号との位相差に対応する
電気角オフセット信号、すなわち、U相相間電圧とU相
CS信号が同期するモータ1aを用いた場合は0°分の
電気角オフセット信号を出力し、また、U相線間電圧と
U相CS信号が同期するモータ1bを用いた場合は30°
分の電気角オフセット信号を出力する。
On the other hand, the electrical angle determination unit 11 to which the encoder 2 is connected has a 3-bit three-phase (U,
The combination of (V, W) CS signals (three-phase commutation signals) is determined, and an intermediate value in the electrical angle range corresponding to the three-phase CS signals is output. In addition, the edge detection unit 12 to which the encoder 2 is connected is the U phase C from the encoder 2.
The U-phase edge of the S signal (U-phase commutation signal) is detected, and the electrical angle corresponding to the U-phase edge is output. Furthermore, the electrical angle offset output unit 13 synchronizes the electrical angle offset signal corresponding to the phase difference between the U-phase inter-phase induced voltage and the U-phase CS signal from the encoder 2, that is, the U-phase inter-phase voltage and the U-phase CS signal. When the motor 1a is used, it outputs an electrical angle offset signal of 0 °, and when the motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized, it is 30 °.
Minute electrical angle offset signal is output.

【0014】さらに、これら電気角判定部11および電気
角オフセット出力部13が接続される電気角初期設置部14
はカウンタ3に接続され、電源投入時に電気角判定部11
の出力の電気角と電気角オフセット出力部13からの電気
角オフセット信号との加算値をカウンタ3に初期設定す
る。また、エッジ検出部12および電気角オフセット出力
部13が接続される電気角再設定部15は、U相CS信号の
U相エッジを検出したときに、エッジ検出部12からの出
力の電気角と電気角オフセット出力部13からの電気角オ
フセット信号との加算値をカウンタ3に再設定する。
Furthermore, the electrical angle initial setting unit 14 to which the electrical angle determination unit 11 and the electrical angle offset output unit 13 are connected.
Is connected to the counter 3 and the electric angle determination unit 11 is turned on when the power is turned on.
The counter 3 is initialized to an addition value of the electrical angle of the output and the electrical angle offset signal from the electrical angle offset output unit 13. Further, the electrical angle resetting unit 15, to which the edge detecting unit 12 and the electrical angle offset output unit 13 are connected, detects the electrical angle of the output from the edge detecting unit 12 when the U-phase edge of the U-phase CS signal is detected. The added value with the electrical angle offset signal from the electrical angle offset output unit 13 is reset in the counter 3.

【0015】以上のように構成されたサーボモータ制御
装置について、以下、その動作を説明する。図2は、図
1のサーボモータ制御装置において、U相相間電圧とU
相CS信号が同期するモータ1aをCW方向のトルクで
CW方向に回転させた場合の各要部の波形図であり、A
はモータ出力トルク波形、Bはカウンタ値(電気角値)
波形、Cは各相電流波形、さらにDは各相CS信号波形
を示している。図2に示す時点m、時点nは各相CS信
号dの変化時点で、時点kは電源投入時点である。ま
た、U相CS信号のエッジ検出は立ち上がりエッジのみ
を検出するものとし、電源投入後最初の立ち上がりエッ
ジが時点pである。さらに、電源投入時、各相CS信号
dの各相の組み合わせにより判る電気角の範囲(時点m
〜時点nの電気角)の中間値(時点rの電気角)と0°
分の電気角オフセットとの加算値をカウンタ3に設定
し、これを起点にA相B相信号aをカウントすること
で、最初のU相CS信号の立ち上がりエッジを検出する
間も正弦波出力(図2の斜線部S1 ,S 2 ,S3 )c1
を形成することができる。この場合の正弦波の位相は、
本来あるべき正弦波の位相に対して最大30°分のずれし
か有していない。また、そのずれはU相CS信号の立ち
上がりエッジを検出する間も一定であり、モータ1aの
出力トルクも一定となる。
Servo motor control constructed as described above
The operation of the device will be described below. Figure 2
In the servo motor control device of No. 1, U-phase interphase voltage and U-phase
The torque in the CW direction drives the motor 1a with which the phase CS signal is synchronized.
It is a waveform diagram of each main part when rotated in the CW direction,
Is the motor output torque waveform, B is the counter value (electrical angle value)
Waveform, C is each phase current waveform, and D is each phase CS signal waveform
Is shown. The time point m and time point n shown in FIG.
At the time when the signal d changes, time k is the time when the power is turned on. Well
Also, the U-phase CS signal edge detection is only for the rising edge.
Should be detected, and the first rising edge after power is turned on.
J is the time point p. Furthermore, when the power is turned on, each phase CS signal
Range of electrical angle (time point m
~ Intermediate value (electrical angle at time point n) (electrical angle at time point r) and 0 °
Set the added value of the minute electrical angle offset to the counter 3
And count the A-phase and B-phase signal a starting from this
Detects the first rising edge of the U-phase CS signal
The sine wave is output during the period (the shaded area S in FIG.1, S 2, S3) C1
Can be formed. The phase of the sine wave in this case is
Deviation of up to 30 ° from the phase of the sine wave that should be
I don't have it. In addition, the deviation is due to the rise of the U-phase CS signal.
It is constant during detection of the rising edge, and the motor 1a
The output torque also becomes constant.

【0016】また、電源投入後最初のU相CS信号の立
ち上がりエッジを検出した時点pでは正確な電気角が判
り、その値と0°分の電気角オフセット信号との加算値
をカウンタ3に再設定することで、それ以後、本来ある
べき正弦波でもってモータ1aを駆動する。
Further, at the time point p at which the first rising edge of the U-phase CS signal is detected after the power is turned on, the accurate electrical angle is known, and the added value of the value and the electrical angle offset signal of 0 ° is returned to the counter 3. After setting, the motor 1a is driven with a sine wave that should be present thereafter.

【0017】図3は、図1のサーボモータ制御装置にお
いて、U相線間電圧とU相CS信号が同期するモータ1
bをCW方向のトルクでCW方向に回転させた場合の各
要部の波形図であり、Aはモータ出力トルク波形、Bは
カウンタ値(電気角値)波形、Cは各相電流波形、さら
にDは各相CS信号波形を示している。図3に示すよう
に、図2で説明したものと異なるのは、電気角オフセッ
ト信号の値が30°であるという点のみで、その他は全て
図2で説明したものと同じである。
FIG. 3 shows a motor 1 in which the U-phase line voltage and the U-phase CS signal are synchronized in the servo motor control device of FIG.
It is a waveform diagram of each main part when b is rotated in the CW direction with a torque in the CW direction. A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a phase current waveform, and D shows the CS signal waveform of each phase. As shown in FIG. 3, the only difference from that described in FIG. 2 is that the value of the electrical angle offset signal is 30 °, and the other points are the same as those described in FIG.

【0018】[0018]

【発明の効果】以上のように本発明によれば、電気角再
設定部によるカウンタ再設定までの、電気角初期設定部
によるカウンタ設定値を用いたサーボモータの駆動制御
の間も、正弦波出力によりサーボモータの出力トルクを
一定にすることができて、従来のようにU相線間電圧と
U相CS信号が同期するモータを用いた場合に生じる、
モータの出力トルク変動で共振するためにサーボゲイン
を上げることができないなどの問題を解消することがで
き、U相相間電圧とU相CS信号が同期するモータと、
U相線間電圧とU相CS信号が同期するモータの何れに
も対応することができるものである。
As described above, according to the present invention, the sine wave is generated even during the drive control of the servo motor using the counter set value by the electric angle initial setting unit until the counter is reset by the electric angle resetting unit. The output torque of the servo motor can be made constant by the output, and occurs when a motor in which the U-phase line voltage and the U-phase CS signal are synchronized as in the conventional case is used.
It is possible to solve the problem that the servo gain cannot be increased due to resonance due to the output torque fluctuation of the motor, and the motor in which the U-phase interphase voltage and the U-phase CS signal are synchronized,
It can be applied to any motor in which the U-phase line voltage and the U-phase CS signal are synchronized.

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

【図1】本発明の一実施例におけるサーボモータ制御装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a servo motor control device according to an embodiment of the present invention.

【図2】図1のサーボモータ制御装置において、U相相
間電圧とU相CS信号が同期するモータ1aをCW方向
のトルクでCW方向に回転させた場合の各要部の波形図
であり、Aはモータ出力トルク波形、Bはカウンタ値
(電気角値)波形、Cは各相電流波形、さらにDは各相
CS信号波形を示している。
FIG. 2 is a waveform diagram of each main part when the motor 1a in which the U-phase interphase voltage and the U-phase CS signal are synchronized is rotated in the CW direction by the torque in the CW direction in the servo motor control device of FIG. A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a current waveform of each phase, and D is a CS signal waveform of each phase.

【図3】図1のサーボモータ制御装置において、U相線
間電圧とU相CS信号が同期するモータ1bをCW方向
のトルクでCW方向に回転させた場合の各要部の波形図
であり、Aはモータ出力トルク波形、Bはカウンタ値
(電気角値)波形、Cは各相電流波形、さらにDは各相
CS信号波形を示している。
FIG. 3 is a waveform diagram of main parts when the motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized is rotated in the CW direction by the torque in the CW direction in the servo motor control device of FIG. , A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a current waveform of each phase, and D is a CS signal waveform of each phase.

【図4】従来のサーボモータ制御装置の構成を示すブロ
ック図である。
FIG. 4 is a block diagram showing a configuration of a conventional servo motor control device.

【図5】図4のサーボモータ制御装置において、U相相
間電圧とU相CS信号が同期するモータ1aをCW方向
のトルクでCW方向に回転させた場合の各要部の波形図
であり、Aはモータ出力トルク波形、Bはカウンタ値
(電気角値)波形、Cは各相電流波形、さらにDは各相
CS信号波形を示している。
FIG. 5 is a waveform diagram of main parts when the motor 1a in which the U-phase interphase voltage and the U-phase CS signal are synchronized is rotated in the CW direction with a torque in the CW direction in the servo motor control device of FIG. A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a current waveform of each phase, and D is a CS signal waveform of each phase.

【図6】図4のサーボモータ制御装置において、U相線
間電圧とU相CS信号が同期するモータ1bをCW方向
のトルクでCW方向に回転させた場合の各要部の波形図
であり、Aはモータ出力トルク波形、Bはカウンタ値
(電気角値)波形、Cは各相電流波形、さらにDは各相
CS信号波形を示している。
FIG. 6 is a waveform diagram of each main part when the motor 1b in which the U-phase line voltage and the U-phase CS signal are synchronized is rotated in the CW direction with the torque in the CW direction in the servo motor control device of FIG. , A is a motor output torque waveform, B is a counter value (electrical angle value) waveform, C is a current waveform of each phase, and D is a CS signal waveform of each phase.

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

1,1a,1b サーボモータ 2 エンコーダ 3 カウンタ 4 正弦波出力部 8 各相電流指令演算部 9 各相電流制御部 10 PWMインバータ部 11 電気角判定部 12 エッジ検出部 13 電気角オフセット出力部 14 電気角初期設定部 15 電気角再設定部 1, 1a, 1b Servo motor 2 Encoder 3 Counter 4 Sine wave output unit 8 Each phase current command calculation unit 9 Each phase current control unit 10 PWM inverter unit 11 Electrical angle determination unit 12 Edge detection unit 13 Electrical angle offset output unit 14 Electrical Angle initial setting section 15 Electric angle resetting section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】正弦波出力およびトルク指令により演算さ
れる電流指令によってインクリメンタルエンコーダを設
けたサーボモータを駆動制御するサーボモータ制御装置
であって、前記インクリメンタルエンコーダからのA相
B相信号を入力してカウントし前記サーボモータに流す
交流電流の電気角値を出力するカウンタと、前記カウン
タ出力の電気角値を入力として前記正弦波出力を出力す
る正弦波出力部と、前記インクリメンタルエンコーダが
出力するコミュテーション信号を入力とし、前記コミュ
テーション信号に対応する電気角値を出力する電気角判
定部と、前記コミュテーション信号のU相エッジを検出
し、前記U相エッジに対応する電気角値を出力するエッ
ジ検出部と、U相相間誘起電圧と前記インクリメンタル
エンコーダからのU相コミュテーション信号との位相差
に対応する電気角オフセットを出力する電気角オフセッ
ト出力部と、電源投入時に前記電気角判定部の出力の電
気角値と前記電気角オフセットとの加算値を前記カウン
タに設定する電気角初期設定部と、前記コミュテーショ
ン信号のU相エッジを検出したときに前記エッジ検出部
出力の電気角値と前記電気角オフセットとの加算値を前
記カウンタに再設定する電気角再設定部とを備えたサー
ボモータ制御装置。
1. A servomotor control device for driving and controlling a servomotor provided with an incremental encoder according to a current command calculated from a sine wave output and a torque command, wherein an A phase B phase signal from the incremental encoder is input. A counter for counting and outputting the electrical angle value of the alternating current flowing through the servo motor, a sine wave output section for outputting the sine wave output with the electrical angle value of the counter output as an input, and a communicator output by the incremental encoder. Rotation signal as an input and an electrical angle determination unit that outputs an electrical angle value corresponding to the commutation signal, and a U-phase edge of the commutation signal is detected, and an electrical angle value corresponding to the U-phase edge is output. The edge detector, the U-phase interphase induced voltage, and the incremental encoder An electrical angle offset output unit that outputs an electrical angle offset corresponding to a phase difference with a phase commutation signal, and the counter that sums the electrical angle value of the output of the electrical angle determination unit and the electrical angle offset when the power is turned on. And an electrical angle for resetting the added value of the electrical angle value of the output of the edge detection unit and the electrical angle offset when the U-phase edge of the commutation signal is detected. A servo motor control device including a resetting unit.
JP4140819A 1992-06-02 1992-06-02 Controlling equipment of servomotor Pending JPH05336793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4140819A JPH05336793A (en) 1992-06-02 1992-06-02 Controlling equipment of servomotor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4140819A JPH05336793A (en) 1992-06-02 1992-06-02 Controlling equipment of servomotor

Publications (1)

Publication Number Publication Date
JPH05336793A true JPH05336793A (en) 1993-12-17

Family

ID=15277465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4140819A Pending JPH05336793A (en) 1992-06-02 1992-06-02 Controlling equipment of servomotor

Country Status (1)

Country Link
JP (1) JPH05336793A (en)

Similar Documents

Publication Publication Date Title
JP2833463B2 (en) AC motor rotation torque detector
JP3352078B2 (en) Rotor position detection device for brushless DC motor
JP2008011627A (en) Motor controller
JP2001309697A (en) Electric motor control device
JP2002204592A (en) Inverter equipment
KR100400594B1 (en) Apparatus for speed presumption of induction motor
JPH05336793A (en) Controlling equipment of servomotor
JPH08182347A (en) Current control type pwm inverter
JP3161237B2 (en) Induction motor control device
JPH08237986A (en) Rotational position detector and detecting method
JP3687331B2 (en) Induction machine variable speed drive
KR100332806B1 (en) Position sensing circuit for bldc motor
JPH02159993A (en) Reference current waveform generator of synchronous ac servo-motor driving apparatus
JPH07222486A (en) Method and apparatus for starting drive of ac servo- motor
JP2003088154A (en) Control method of ac motor
JPH07182046A (en) Position control system
JPH04331489A (en) Motor controller
EP0909015B1 (en) Servo-motor driving method
JPH06339296A (en) Detecting method for electrical angle of motor and inverter
JPH0217892A (en) Cancellation of offset current
JPS627380A (en) Controller for synchronous motor
JPH0254039B2 (en)
JP2606337B2 (en) Digital control method for synchronous motor
JPH10127082A (en) Method for detecting magnetic pole position of synchronous electric motor
JPS6256756B2 (en)