JPH06121573A - Automatic offset regulator for current detector - Google Patents

Automatic offset regulator for current detector

Info

Publication number
JPH06121573A
JPH06121573A JP4263296A JP26329692A JPH06121573A JP H06121573 A JPH06121573 A JP H06121573A JP 4263296 A JP4263296 A JP 4263296A JP 26329692 A JP26329692 A JP 26329692A JP H06121573 A JPH06121573 A JP H06121573A
Authority
JP
Japan
Prior art keywords
electrical angle
offset correction
value
correction value
offset
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
JP4263296A
Other languages
Japanese (ja)
Inventor
Masahiro Ooto
雅裕 大音
Hisashi Kinoshita
久 木下
Shinobu Kake
忍 懸
Yoshihiro Ino
芳浩 井野
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 JP4263296A priority Critical patent/JPH06121573A/en
Priority to US08/065,232 priority patent/US5319294A/en
Priority to DE69320252T priority patent/DE69320252T2/en
Priority to EP93108600A priority patent/EP0572015B1/en
Publication of JPH06121573A publication Critical patent/JPH06121573A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To prevent pulsation of torque generated from a servo motor by performing automatic correction of offset correcting value even during operation of servo motor. CONSTITUTION:Upon occurrence of an error in offset correction due to temperature variation or the like during operation, an electrical angle detecting means 27 detects pulsation of torque generated from a servo motor based on a quadrature axis current value and first and second electrical angles, for which the quadrature axis current is maximized and minimized respectively by the pulsating components, based on an electrical angle signal of motor. Furthermore, a decision means 28 makes a decision whether an error has occurred in offset correction based on the difference between first and second electrical angles. If a decision is made that an error has occurred, a correcting means 31 adds a regulation value corresponding to the first electrical angle to offset correcting values c1, c2 thus updating them.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、高精度なNC装置やロ
ボットなどに使用されるサーボモータのディジタル制御
装置における電流検出器のオフセット自動調整装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic offset adjusting device for a current detector in a digital control device for a servo motor used in a highly accurate NC device or robot.

【0002】[0002]

【従来の技術】従来、高精度なNC装置やロボットなど
に使用されるサーボモータのディジタル制御装置におい
て、電流検出手段としてアナログ回路で構成された電流
検出器を用いる場合、この電流検出器出力のオフセット
の補正が行われる。すなわち、電源投入後、モータが停
止しているときに、検出した電流検出器の出力電圧をオ
フセット補正値とし、電源投入時に設定したオフセット
補正値をモータの運転中に更新することは行っていな
い。
2. Description of the Related Art Conventionally, in a digital controller for a servomotor used in a highly accurate NC device or robot, when a current detector composed of an analog circuit is used as a current detecting means, the output of the current detector is Offset correction is performed. That is, when the motor is stopped after the power is turned on, the detected output voltage of the current detector is used as the offset correction value, and the offset correction value set when the power is turned on is not updated during the operation of the motor. .

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、長時間運転時の周囲温度の変化や電流検
出器内の素子の温度上昇などによって実際のオフセット
値と電源投入時に設定したオフセット補正値との間に誤
差が生じた場合、サーボモータが発生するトルクに電気
角と同周期の脈動が生じるという問題があった。
However, in the above-mentioned conventional configuration, the actual offset value and the offset correction set at the time of turning on the power supply due to the change of the ambient temperature during the long-time operation and the temperature rise of the elements in the current detector. When an error occurs between the value and the value, there is a problem that the torque generated by the servo motor has a pulsation with the same cycle as the electrical angle.

【0004】本発明は上記従来の問題を解決するもの
で、電流検出器の温度上昇を原因とするオフセット補正
値の補正誤差の発生を、サーボモータからの3相交流フ
ィードバック電流値を3相/2相変換して得られる横軸
電流値の脈動から判断し、オフセット補正値の補正をモ
ータの運転中も自動的に実行してサーボモータで発生す
るトルクの脈動を防止することができる電流検出器のオ
フセット自動調整装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems. When the correction error of the offset correction value caused by the temperature rise of the current detector is generated, the three-phase AC feedback current value from the servomotor is changed to three-phase / Current detection that can be determined from the pulsation of the horizontal axis current value obtained by 2-phase conversion and that the offset correction value is automatically corrected even during motor operation to prevent torque pulsation generated in the servo motor. It is an object of the present invention to provide an automatic offset adjusting device for a container.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の電流検出器のオフセット自動調整装置は、オ
フセット値を有する電流検出器を用いたサーボモータの
ディジタル制御装置における電流検出器のオフセット自
動調整装置であって、前記サーボモータの3相交流フィ
ードバック電流値と電気角信号を入力とし電気角1周期
の間回転が一方向であり回転速度が所定の上限設定値以
下であることを検出する回転検出手段と、モータの3相
交流フィードバック電流値から得られる横軸電流が前記
電気角1周期の間で最大となる第1の電気角と最小とな
る第2の電気角を検出する電気角検出手段と、前記電気
角検出手段で検出された第1の電気角と第2の電気角の
差が180度であるかどうかを判断する判断手段と、前
記判断手段で前記第1の電気角と第2の電気角の差が1
80度であると判断した場合に、前記第1の電気角に応
じて前記電流検出器のオフセット補正値を補正する補正
手段とを備えたものである。
In order to achieve the above object, an automatic offset adjusting device for a current detector according to the present invention is provided for a current controller in a digital controller for a servomotor using a current detector having an offset value. An automatic offset adjustment device, wherein a three-phase AC feedback current value of the servomotor and an electrical angle signal are input, rotation is in one direction for one cycle of the electrical angle, and the rotation speed is less than or equal to a predetermined upper limit set value. The rotation detecting means for detecting and the first electric angle at which the horizontal axis current obtained from the three-phase AC feedback current value of the motor becomes maximum and the second electric angle at which the horizontal electric current becomes minimum during one cycle of the electric angle are detected. Electrical angle detection means, determination means for determining whether the difference between the first electrical angle and the second electrical angle detected by the electrical angle detection means is 180 degrees, and the determination means The difference between the first electrical angle and a second electrical angle 1
When it is determined that the angle is 80 degrees, a correction unit that corrects the offset correction value of the current detector according to the first electrical angle is provided.

【0006】また、本発明のオフセット自動調整装置に
おける、電流検出器のオフセット補正値を補正する補正
手段は、第1の電気角が、電気角360度を8つの範囲
に分割したどの分割範囲にあるかを判断する電気角存在
範囲判定手段と、前記8つの分割範囲に応じて設定され
たオフセット補正値調整量を持ちオフセット補正値に前
記第1の電気角が存在する分割範囲の前記オフセット補
正値調整量を加算更新して出力するオフセット補正値出
力手段とを有するものである。
Further, in the correction means for correcting the offset correction value of the current detector in the automatic offset adjusting apparatus of the present invention, the first electric angle is in any of the divided ranges obtained by dividing the electric angle of 360 degrees into eight ranges. An electrical angle existing range determining means for determining whether or not there is an offset correction value adjustment amount set according to the eight divided ranges, and the offset correction of the divided range in which the first electrical angle exists in the offset correction value. An offset correction value output means for adding and updating the value adjustment amount and outputting the added value adjustment amount.

【0007】また、本発明のオフセット自動調整装置に
おける、電流検出器のオフセット補正値を補正する補正
手段は、第1の電気角が、電気角360度を4つの範囲
に分割したどの分割範囲にあるかを判断する電気角存在
範囲判定手段と、前記4つの分割範囲に応じて設定され
たオフセット補正値調整量を持ちオフセット補正値に前
記第1の電気角が存在する分割範囲の前記オフセット補
正値調整量を加算更新して出力するオフセット補正値出
力手段とを有するものである。
Further, in the correction means for correcting the offset correction value of the current detector in the automatic offset adjusting apparatus of the present invention, the first electrical angle is divided into four ranges by dividing the electrical angle of 360 degrees into four ranges. An electrical angle existing range determination means for determining whether or not there is an offset correction value adjustment amount set according to the four divided ranges, and the offset correction of the divided range in which the first electrical angle exists in the offset correction value. An offset correction value output means for adding and updating the value adjustment amount and outputting the added value adjustment amount.

【0008】[0008]

【作用】上記の構成によれば、運転中に温度変化などに
よってオフセット補正値に補正誤差が生じた場合でも、
電流検出器の温度上昇を原因とするオフセット補正値の
補正誤差の発生をサーボモータのフィードバック電流値
から得られる横軸電流値の脈動から判断し、電気角1周
期の間で横軸電流が最大となる電気角に応じて電流検出
器のオフセット値を補正するので、サーボモータの運転
中も自動的にオフセット補正値の補正が行われるためモ
ータ発生トルクの脈動が防止され、速度リップルの増加
などの制御性能の悪化を抑制することができる。
According to the above construction, even if a correction error occurs in the offset correction value due to a temperature change during operation,
The occurrence of a correction error in the offset correction value due to the temperature rise of the current detector is judged from the pulsation of the horizontal axis current value obtained from the feedback current value of the servo motor, and the horizontal axis current is maximum during one electrical angle cycle. Since the offset value of the current detector is corrected according to the electrical angle, the offset correction value is automatically corrected even while the servo motor is operating, preventing pulsation of the motor-generated torque and increasing the speed ripple. It is possible to suppress the deterioration of the control performance.

【0009】[0009]

【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】(実施例1)図1は本発明の第1の実施例
を示す電流検出器のオフセット自動調整装置を有するサ
ーボモータのディジタル制御装置のブロック図である。
図1において、速度指令値aが入力される加算器1は速
度制御部2を介して正弦波テーブル3に接続され、速度
制御部2からのトルク指令値bを正弦波テーブル3に入
力する。オフセット補正値自動調整装置4と、オフセッ
ト値を有するU相の電流検出器5の出力端は加算器6に
接続され、オフセット補正値自動調整装置4からのU相
のオフセット補正値c1と、電流検出器5からのオフセ
ット値を有するU相の検出電流値d1が加算器6に入力
される。この加算器6はオフセット補正値自動調整装置
4および加算器7に接続され、U相フィードバック電流
値g1がオフセット補正値自動調整装置4と加算器7に
入力される。正弦波テーブル3は加算器7に接続され、
正弦波テーブル3からのU相の電流指令値e1と、加算
器6からのU相フィードバック電流値g1が加算器7に
入力される。この加算器7は比例要素8およびサーボア
ンプ9を介してサーボモータ10に接続されている。こ
れらサーボアンプ9とサーボモータ10の間にU相電流
検出器5が設けられている。またオフセット補正値自動
調整装置4と、オフセット値を有するV相の電流検出器
11の出力端は加算器12に接続され、オフセット補正
値自動調整装置4からのV相のオフセット補正値c2
と、電流検出器11からの、オフセット値を有するV相
の検出電流値d2は加算器12に入力される。この加算
器12はオフセット補正値自動調整装置4および加算器
13に接続され、V相フィードバック電流値g2がオフ
セット補正値自動調整装置4と加算器13に入力され
る。正弦波テーブル3は加算器13に接続され、この正
弦波テーブル3からのV相の電流指令値e2と、加算器
12からのV相フィードバック電流値g2が加算器13
に入力される。この加算器13は、比例要素14さらに
サーボアンプ9を介してサーボモータ10に接続されて
いる。これらサーボアンプ9とサーボモータ10の間に
V相電流検出器11が設けられている。さらに、加算器
6と加算器12は、加算器20を介してオフセット補正
値自動調整装置4に接続され、加算器20において、W
相電流フィードバック値g3が計算されて、オフセット
補正値自動調整装置4に入力されており、加算器7と加
算器13は加算器15と比例要素16とサーボアンプ9
を介してサーボモータ10に接続されている。
(Embodiment 1) FIG. 1 is a block diagram of a servo motor digital controller having an automatic offset adjusting device for a current detector according to a first embodiment of the present invention.
In FIG. 1, the adder 1 to which the speed command value a is input is connected to the sine wave table 3 via the speed control unit 2, and the torque command value b from the speed control unit 2 is input to the sine wave table 3. The output ends of the offset correction value automatic adjustment device 4 and the U-phase current detector 5 having an offset value are connected to the adder 6, and the U-phase offset correction value c1 from the offset correction value automatic adjustment device 4 and the current The U-phase detected current value d1 having the offset value from the detector 5 is input to the adder 6. The adder 6 is connected to the offset correction value automatic adjustment device 4 and the adder 7, and the U-phase feedback current value g1 is input to the offset correction value automatic adjustment device 4 and the adder 7. The sine wave table 3 is connected to the adder 7,
The U-phase current command value e1 from the sine wave table 3 and the U-phase feedback current value g1 from the adder 6 are input to the adder 7. The adder 7 is connected to a servomotor 10 via a proportional element 8 and a servo amplifier 9. The U-phase current detector 5 is provided between the servo amplifier 9 and the servo motor 10. The output ends of the offset correction value automatic adjustment device 4 and the V-phase current detector 11 having an offset value are connected to the adder 12, and the V-phase offset correction value c2 from the offset correction value automatic adjustment device 4 is connected.
Then, the V-phase detected current value d2 having the offset value from the current detector 11 is input to the adder 12. The adder 12 is connected to the offset correction value automatic adjustment device 4 and the adder 13, and the V-phase feedback current value g2 is input to the offset correction value automatic adjustment device 4 and the adder 13. The sine wave table 3 is connected to the adder 13, and the V phase current command value e2 from the sine wave table 3 and the V phase feedback current value g2 from the adder 12 are added to the adder 13.
Entered in. The adder 13 is connected to the servo motor 10 via the proportional element 14 and the servo amplifier 9. A V-phase current detector 11 is provided between the servo amplifier 9 and the servo motor 10. Furthermore, the adder 6 and the adder 12 are connected to the offset correction value automatic adjustment device 4 via the adder 20, and in the adder 20, W
The phase current feedback value g3 is calculated and input to the offset correction value automatic adjustment device 4, and the adder 7 and the adder 13 add the adder 15, the proportional element 16, and the servo amplifier 9.
Is connected to the servomotor 10 via.

【0011】また、サーボモータ10はエンコーダ17
に接続され、さらにエンコーダ17は位置カウンタ18
を介してオフセット補正値自動調整装置4と正弦波テー
ブル3に接続され、位置カウンタ18からのサーボモー
タ10の電気角信号fをオフセット補正値自動調整装置
4と正弦波テーブル3に入力する。また、エンコーダ1
7は速度検出回路19を介して加算器1に接続され、速
度検出回路19からの速度フィードバック値hを加算器
1に入力する。
Further, the servo motor 10 has an encoder 17
And the encoder 17 is connected to the position counter 18
The electric angle signal f of the servomotor 10 from the position counter 18 is connected to the offset correction value automatic adjustment device 4 and the sine wave table 3 via the. Also, encoder 1
7 is connected to the adder 1 via the speed detection circuit 19, and inputs the speed feedback value h from the speed detection circuit 19 to the adder 1.

【0012】図2は、図1のオフセット補正値自動調整
装置4の内部構成を示すブロック図である。図2におい
て、速度制御処理周期設定手段21は、サーボモータ1
0の3相交流フィードバック電流値g1、g2、g3と
電気角信号fを入力とし、これら3相交流フィードバッ
ク電流値g1、g2、g3および電気角信号fを通過さ
せるとともに、速度制御処理復帰フラグにより次の速度
制御周期へと進むように設定する。この速度制御処理周
期設定手段21が接続される回転検出手段22は、電気
角信号fを入力とし、回転方向が前回の速度制御処理周
期の回転方向と同一で、回転速度がサーボモータ10の
発生トルクと横軸電流値との位相差が問題にならないよ
うにあらかじめ定めた上限設定値以下であることを検出
する。この回転検出手段22が接続される電気角検出手
段27は横軸電流検出手段23と、最大値検出手段24
と、最小値検出手段25と、電気角カウンタ26によっ
て構成される。横軸電流検出手段23はサーボモータ1
0の3相交流フィードバック電流値g1、g2、g3と
電気角信号fを入力とし、前記サーボモータ10の3相
のフィードバック電流を3相/2相変換してサーボモー
タ10の発生トルクと同じ位相関係を有する横軸電流値
を検出する。横軸電流検出手段23は、最大値検出手段
24と最小値検出手段25に接続される。この最大値検
出手段24は、横軸電流値と電気角信号fを入力とし
て、横軸電流値が最大となった時の電気角を第1の電気
角f1として保存し、最小値検出手段25は、横軸電流
値が最小となった時の電気角を第2の電気角f2として
保存する。最大値検出手段24と最小値検出手段25が
接続される電気角カウンタ26は、電気角信号をカウン
トし、電気角1周期が検出されていなければ速度制御処
理復帰フラグを速度制御処理周期設定手段21に出力す
る。前記電気角検出手段27が接続される判断手段28
は、電気角検出手段27で検出された電気角f1と電気
角f2の差が180度であるかどうかを判断する。この
判断手段28が接続される電気角存在範囲判定手段29
は、判断手段28で電気角f1と電気角f2の差が18
0度であると判断した場合に、電気角360度を8つに
分割したどの範囲に電気角f1が存在するかを判断す
る。この電気角存在範囲判定手段29が接続されるオフ
セット補正値出力手段30は、前記8つの分割範囲に応
じて設定されたオフセット補正値調整量を持ち、電気角
f1が存在する分割範囲のオフセット補正値調整量をオ
フセット補正値に加算して更新するとともに、オフセッ
ト補正値c1、c2として出力する。これら電気角存在
範囲判定手段29およびオフセット補正値出力手段30
により補正手段31が構成され、第1の電気角に応じて
電流検出器5、11のオフセット値を補正する構成であ
る。
FIG. 2 is a block diagram showing the internal configuration of the offset correction value automatic adjustment apparatus 4 of FIG. In FIG. 2, the speed control processing cycle setting means 21 is the servo motor 1
The three-phase AC feedback current values g1, g2, g3 of 0 and the electrical angle signal f are input, and the three-phase AC feedback current values g1, g2, g3 and the electrical angle signal f are passed, and the speed control process return flag is set. Set to proceed to the next speed control cycle. The rotation detection means 22 to which the speed control processing cycle setting means 21 is connected receives the electrical angle signal f, the rotation direction is the same as the rotation direction of the previous speed control processing cycle, and the rotation speed is generated by the servo motor 10. It is detected that the phase difference between the torque and the horizontal axis current value is less than or equal to a predetermined upper limit set value so as not to cause a problem. The electrical angle detecting means 27 to which the rotation detecting means 22 is connected includes a horizontal axis current detecting means 23 and a maximum value detecting means 24.
And a minimum value detecting means 25 and an electrical angle counter 26. The horizontal axis current detection means 23 is the servo motor 1
The three-phase AC feedback current values g1, g2, g3 of 0 and the electrical angle signal f are input, and the three-phase feedback current of the servo motor 10 is converted into a three-phase / two-phase signal to obtain the same phase as the torque generated by the servo motor 10. The related horizontal axis current value is detected. The horizontal axis current detecting means 23 is connected to the maximum value detecting means 24 and the minimum value detecting means 25. The maximum value detecting means 24 receives the horizontal axis current value and the electrical angle signal f as input, stores the electrical angle when the horizontal axis current value becomes maximum as the first electrical angle f1, and the minimum value detecting means 25. Stores the electrical angle when the horizontal axis current value becomes the minimum as the second electrical angle f2. The electrical angle counter 26, to which the maximum value detecting means 24 and the minimum value detecting means 25 are connected, counts the electrical angle signal and, if one electrical angle cycle is not detected, sets the speed control processing return flag to the speed control processing cycle setting means. 21 is output. Judgment means 28 to which the electrical angle detection means 27 is connected
Determines whether the difference between the electrical angle f1 and the electrical angle f2 detected by the electrical angle detection means 27 is 180 degrees. Electrical angle existence range determination means 29 to which the determination means 28 is connected
Indicates that the difference between the electrical angle f1 and the electrical angle f2 is 18 by the determination means 28.
When it is determined that the electrical angle f0 is 0 degree, the range in which the electrical angle 360 degrees is divided into eight is determined. The offset correction value output means 30 to which the electric angle existence range determination means 29 is connected has an offset correction value adjustment amount set according to the eight division ranges, and offset correction of the division range in which the electric angle f1 exists. The value adjustment amount is added to the offset correction value to be updated, and is output as the offset correction values c1 and c2. These electrical angle existence range determination means 29 and offset correction value output means 30
The correction unit 31 is configured by the above, and is configured to correct the offset values of the current detectors 5 and 11 according to the first electrical angle.

【0013】さらに、回転検出手段22と判断手段28
とオフセット補正値出力手段30が接続される初期化手
段32は、回転検出手段22、判断手段28、オフセッ
ト補正値出力手段30のいずれかより出力される初期化
フラグによって横軸電流値の最大値、最小値と電気角f
1、電気角f2の初期化を行い、その後速度制御処理復
帰フラグを速度制御処理周期設定手段21に出力する。
また初期設定時にはオフセット補正値の初期値設定も初
期化手段32において行われる。
Further, the rotation detecting means 22 and the judging means 28
The initialization means 32 to which the offset correction value output means 30 is connected with the maximum value of the horizontal axis current value according to the initialization flag output from any one of the rotation detection means 22, the determination means 28, and the offset correction value output means 30. , Minimum value and electrical angle f
1. Initialize the electrical angle f2, and then output the speed control processing return flag to the speed control processing cycle setting means 21.
At the time of initial setting, the initial value of the offset correction value is also set in the initializing means 32.

【0014】以上のように構成されたオフセット補正値
自動調整装置4において、電流検出器のオフセット補正
値に誤差が生じると、サーボモータ10で発生するトル
クには電気角と同周期の脈動が生じ、サーボモータ10
で発生するトルクと同じ位相関係を持つ横軸電流値が最
大となる第1の電気角f1と最小となる第2の電気角f
2が存在する。本実施例では電気角f1を検出すること
でオフセット補正値の自動調整を行う。
In the offset correction value automatic adjusting device 4 configured as described above, when an error occurs in the offset correction value of the current detector, the torque generated by the servomotor 10 has a pulsation with the same cycle as the electrical angle. , Servo motor 10
The first electrical angle f1 at which the horizontal axis current value has the same phase relationship as the torque generated at the maximum and the minimum second electrical angle f
There are two. In this embodiment, the offset correction value is automatically adjusted by detecting the electrical angle f1.

【0015】図3は図2のオフセット補正値自動調整装
置4内での演算処理を示した流れ図であり、この演算処
理のうち処理S0〜S1は初期設定時の処理を示し、速
度制御処理SVと処理S2〜S8は通常運転時に行われ
る処理を示している。図3に示すように、まず処理S0
において、前記従来の技術に従って電源投入時に決定さ
れるオフセット補正値を初期値として設定し、処理S1
において、横軸電流値の最大値と最小値、電気角f1と
電気角f2の値を初期化する。
FIG. 3 is a flow chart showing a calculation process in the offset correction value automatic adjustment apparatus 4 of FIG. 2. Among these calculation processes, processes S0 to S1 indicate processes at the time of initial setting, and a speed control process SV. The processes S2 to S8 indicate processes performed during normal operation. As shown in FIG. 3, first, the processing S0
In step S1, the offset correction value determined at power-on according to the conventional technique is set as an initial value, and the process S1
In, the maximum value and the minimum value of the horizontal axis current value, and the values of the electrical angle f1 and the electrical angle f2 are initialized.

【0016】通常の運転が開始され、速度制御処理SV
が実行されたのち、処理S2において、回転検出手段2
2によって、現在のモータ軸の回転方向を検出し、この
回転方向を前回の速度制御処理時の回転方向と比較し、
回転方向が変化した場合には処理S8に進み、初期化手
段32により横軸電流値の最大値、最小値および電気角
f1と電気角f2の値を初期化し、次の速度制御処理周
期へ進む。回転方向が前回の速度制御処理周期と同一で
あれば処理S3へ進む。処理S3においては、回転検出
手段22により、現在の回転速度を検出し、あらかじめ
設定した上限設定値以上の回転速度である場合は処理S
2と同様、処理S8に進み、初期化手段32により横軸
電流値の最大値、最小値および電気角f1と電気角f2
の値を初期化し、次の速度制御処理周期へ進む。回転速
度が上限設定値以下であれば処理S4へ進む。そして処
理S4においては、電気角カウンタ26が電気角1周期
の経過を検出するまで、速度制御処理周期に1回、横軸
電流検出手段23で検出する横軸電流値と電気角信号f
が最大値検出手段24と最小値検出手段25に入力さ
れ、最大値検出手段24において、電気角1周期が経過
するまでの間に測定した横軸電流値が最大値を得たとき
の電気角信号の値を第一の電気角f1として保存し、最
小値検出手段25において、電気角1周期が経過するま
での間に測定した横軸電流値の最小値を得たときの電気
角信号の値を第2の電気角f2として保存する。電気角
1周期の経過が検出されない間は次の速度制御処理周期
へと進み、電気角1周期の経過を検出すれば処理S5へ
進む。処理S5においては、オフセット補正値の補正誤
差によって生ずるトルク脈動は電気角と同周期であるか
ら、判断手段28によって、電気角f1と電気角f2の
角度差の絶対値が180度でなければ、オフセット補正
誤差以外を要因とするトルクの脈動が発生したと判断し
て、横軸電流値の最大値と最小値、電気角f1と電気角
f2を処理S8において、初期化手段32で初期化した
のち、次の速度制御処理周期へ進む。電気角f1と電気
角f2の角度差の絶対値が180度であれば、オフセッ
ト補正誤差を要因とするトルクの脈動が発生したとして
処理S6へ進む。ここで角度差180度には計測時の誤
差α度を許容するものとする。
Normal operation is started, and the speed control process SV
Is executed, the rotation detection means 2 is processed in step S2.
2 detects the current rotation direction of the motor shaft, compares this rotation direction with the rotation direction at the previous speed control process,
If the rotation direction has changed, the process proceeds to step S8, and the initialization unit 32 initializes the maximum and minimum values of the horizontal axis current value and the values of the electrical angle f1 and the electrical angle f2, and proceeds to the next speed control processing cycle. . If the rotation direction is the same as the previous speed control processing cycle, the process proceeds to step S3. In the process S3, the rotation detecting means 22 detects the current rotation speed, and if the rotation speed is equal to or higher than the preset upper limit set value, the process S3 is performed.
Similar to step 2, the process proceeds to step S8, and the initialization unit 32 causes the maximum and minimum values of the horizontal axis current value and the electrical angle f1 and the electrical angle f2.
The value of is initialized and the process proceeds to the next speed control processing cycle. If the rotation speed is less than or equal to the upper limit set value, the process proceeds to step S4. In process S4, the horizontal axis current value and the electrical angle signal f detected by the horizontal axis current detecting means 23 are once in the speed control processing cycle until the electrical angle counter 26 detects the passage of one electrical angle cycle.
Is inputted to the maximum value detecting means 24 and the minimum value detecting means 25, and in the maximum value detecting means 24, the electrical angle when the horizontal axis current value measured until one cycle of the electrical angle has reached the maximum value The value of the signal is stored as the first electrical angle f1, and the minimum value detecting means 25 obtains the minimum value of the horizontal axis current values measured until one electrical angle cycle elapses. The value is stored as the second electrical angle f2. While the elapse of one electrical angle cycle is not detected, the process proceeds to the next speed control processing cycle, and when the elapse of one electrical angle cycle is detected, the process proceeds to step S5. In step S5, the torque pulsation caused by the correction error of the offset correction value has the same cycle as the electrical angle. Therefore, if the absolute value of the angular difference between the electrical angle f1 and the electrical angle f2 is not 180 degrees by the determining means 28, It is determined that torque pulsation due to factors other than the offset correction error has occurred, and the maximum and minimum values of the horizontal axis current value and the electrical angle f1 and electrical angle f2 are initialized by the initialization means 32 in step S8. After that, the process proceeds to the next speed control processing cycle. If the absolute value of the angle difference between the electrical angle f1 and the electrical angle f2 is 180 degrees, it is determined that torque pulsation due to the offset correction error has occurred, and the process proceeds to step S6. Here, it is assumed that the angle difference of 180 degrees allows an error of α degrees during measurement.

【0017】処理S6では、電気角存在範囲判定手段2
9により、後述の電気角360度を8つに分割した範囲
のうち電気角f1がどの範囲に存在するかを判定し、そ
の判定結果より処理S7において、オフセット補正値出
力手段30によりU相のオフセット補正値調整量をU相
のオフセット補正値に加算してオフセット補正値c1が
更新されると共に出力され、V相のオフセット補正値調
整量をV相のオフセット補正値に加算してオフセット補
正値c2が更新されると共に出力される。このオフセッ
ト補正値c1、c2を出力したのち、処理S8におい
て、初期化手段32により横軸電流値の最大値、最小値
および電気角f1と電気角f2の値を初期化し、次の速
度制御処理周期へ進む。
In step S6, the electrical angle existence range determining means 2 is used.
9, it is determined in which range the electrical angle f1 exists in a range obtained by dividing an electrical angle of 360 degrees, which will be described later, into eight parts. From the result of the determination, in step S7, the offset correction value output means 30 detects the U phase The offset correction value adjustment amount is added to the U-phase offset correction value to update and output the offset correction value c1, and the V-phase offset correction value adjustment amount is added to the V-phase offset correction value to obtain the offset correction value. c2 is updated and is output. After outputting the offset correction values c1 and c2, the maximum value and the minimum value of the horizontal axis current value and the values of the electrical angle f1 and the electrical angle f2 are initialized by the initialization means 32 in the process S8, and the next speed control process is performed. Go to cycle.

【0018】速度制御処理SVにおいては、図1におけ
るオフセット補正値自動調整装置4内での処理を除く全
ての処理が行われ、電流検出器5からのオフセット値を
含んだU相検出電流d1から、オフセット補正値出力手
段30より出力されたU相のオフセット補正値c1を引
くことによって、補正されたU相のフィードバック電流
g1が得られる。同様に、電流検出器11からのオフセ
ット値を含んだV相検出電流d2から、オフセット補正
値出力手段30から出力されたV相のオフセット補正値
c2を引くことによって、補正されたV相フィードバッ
ク電流g2が得られる。
In the speed control process SV, all the processes except the process in the automatic offset correction value adjusting device 4 in FIG. 1 are performed, and the U-phase detection current d1 including the offset value from the current detector 5 is detected. By subtracting the U-phase offset correction value c1 output from the offset correction value output means 30, the corrected U-phase feedback current g1 is obtained. Similarly, the V-phase feedback current corrected by subtracting the V-phase offset correction value c2 output from the offset correction value output means 30 from the V-phase detection current d2 including the offset value from the current detector 11. g2 is obtained.

【0019】オフセット補正値の調整量は次のように決
定される。まずU相のオフセット補正誤差をdIu、V相
のオフセット補正誤差をdIvとし、dIuを式(1)によ
り、dIvを式(2)により定義する。
The adjustment amount of the offset correction value is determined as follows. First, the U-phase offset correction error is dI u , and the V-phase offset correction error is dI v . DI u is defined by equation (1) and dI v is defined by equation (2).

【0020】 dIu =(U相のオフセット補正値c1)−(実際のU相
オフセット値) (1) dIv =(V相のオフセット補正値c2)−(実際のV相
オフセット値) (2) 電気角f1が電気角1周期360度内のどこに存在する
かに応じてdIu、dIvの正負の符号および絶対値の大小関
係が判明する。ここで図4(a)により、電気角f1が
存在する範囲ごとのdIu、dIvの正負の符号とdIu、dIv
絶対値の大小関係を示す。図4(a)が示す電気角f1
が存在するそれぞれの分割範囲とオフセット補正誤差dI
u、dIvの関係は、電気角f1が電気角0度以上で60度
未満(図4(a)のR1)の場合、 dIu ≦ 0、 dIv > 0、 |dIu|<|dIv| 電気角f1が電気角60度以上で120度未満(図4
(a)のR2)の場合、 dIu < 0、 dIv > 0、 |dIu|≧|dIv| 電気角f1が電気角120度以上で150度未満(図4
(a)のR3)の場合、 dIu < 0、 dIv ≦ 0、 |dIu|>|dIv| 電気角f1が電気角150度以上で180度未満(図4
(a)のR4)の場合、 dIu < 0、 dIv < 0、 |dIu|≦|dIv| 電気角f1が電気角180度以上で240度未満(図4
(a)のR5)の場合、 dIu ≧ 0、 dIv < 0、 |dIu|<|dIv| 電気角f1が電気角240度以上で300度未満(図4
(a)のR6)の場合、 dIu > 0、 dIv < 0、 |dIu|≧|dIv| 電気角f1が電気角300度以上で330度未満(図4
(a)のR7)の場合、 dIu > 0、 dIv ≧ 0、 |dIu|>|dIv| 電気角f1が電気角330度以上で360度未満(図4
(a)のR8)の場合、 dIu > 0、 dIv > 0、 |dIu|≦|dIv| となる。
DI u = (U-phase offset correction value c1)-(actual U-phase offset value) (1) dI v = (V-phase offset correction value c2)-(actual V-phase offset value) (2 ) The magnitude relationship between the positive and negative signs of dI u and dI v and the absolute value thereof is found depending on where the electrical angle f1 exists within one cycle of the electrical angle of 360 degrees. Here, FIG. 4A shows the magnitude relationship between the positive and negative signs of dI u and dI v and the absolute values of dI u and dI v for each range in which the electrical angle f1 exists. Electrical angle f1 shown in FIG.
Of each division range and offset correction error dI
The relationship between u and dI v is such that when the electrical angle f1 is 0 degree or more and less than 60 degrees (R1 in FIG. 4A), dI u ≦ 0, dI v > 0, | dI u | <| dI v | The electrical angle f1 is 60 degrees or more and less than 120 degrees (see FIG. 4).
In the case of R2) in (a), dI u <0, dI v > 0, | dI u | ≧ | dI v | The electrical angle f1 is 120 degrees or more and less than 150 degrees (see FIG. 4).
In the case of R3) in (a), dI u <0, dI v ≦ 0, | dI u |> | dI v | The electrical angle f1 is 150 degrees or more and less than 180 degrees (see FIG. 4).
In the case of R4) of (a), dI u <0, dI v <0, | dI u | ≦ | dI v | The electrical angle f1 is 180 degrees or more and less than 240 degrees (see FIG. 4).
In the case of R5) in (a), dI u ≧ 0, dI v <0, | dI u | <| dI v | The electrical angle f1 is 240 degrees or more and less than 300 degrees (see FIG. 4).
In the case of R6) in (a), dI u > 0, dI v <0, | dI u | ≧ | dI v | The electrical angle f1 is 300 degrees or more and less than 330 degrees (see FIG. 4).
In the case of R7) in (a), dI u > 0, dI v ≧ 0, | dI u |> | dI v | The electrical angle f1 is 330 degrees or more and less than 360 degrees (see FIG. 4).
In the case of R8) in (a), dI u > 0, dI v > 0, and | dI u | ≦ | dI v |.

【0021】以上に示す関係に従ってオフセット補正値
の調整量を決定する。その一例として電気角f1が図4
(a)の範囲R1に存在する場合、U相のオフセット補
正誤差 dIuは負の値となり式(1)より、実際のオフセ
ット値に対してオフセット補正値が小であることを示し
ており、U相のオフセット補正値c1は現在の値よりも
あらかじめ定めた量だけ増やすことで得られる。また d
Ivは正の値となり式(2)より、実際のオフセット値に
対してオフセット補正値が大であることを示しており、
V相のオフセット補正値c2は現在の値より減らすこと
で得られる。これらオフセット補正値の増減は電流検出
器5、11の出力のディジタル値1nレベル(1nビッ
ト)または2nレベル(2nビット)ごとの増減によっ
て行う(nは正の整数1、2、3・・・を表す)。
The adjustment amount of the offset correction value is determined according to the above relationship. As an example, the electrical angle f1 is shown in FIG.
When it exists in the range R1 of (a), the offset correction error dI u of the U phase becomes a negative value, and it is shown from Equation (1) that the offset correction value is smaller than the actual offset value. The U-phase offset correction value c1 is obtained by increasing the current value by a predetermined amount. Again d
I v is a positive value, which means that the offset correction value is larger than the actual offset value from the equation (2).
The V-phase offset correction value c2 is obtained by reducing the current value from the current value. These offset correction values are increased / decreased by increasing / decreasing the digital values of the outputs of the current detectors 5 and 11 for each 1n level (1n bit) or 2n level (2n bit) (n is a positive integer 1, 2, 3, ... Represents).

【0022】オフセット補正値を増加または減少させる
際の重みは補正誤差の絶対値の大小関係により決定され
る。R1の場合は|dIu|<|dIv|であるので、V相の
オフセット補正値を電流検出器11の出力のデジタル値
2nレベル(2nビット)減少させ、U相のオフセット
補正値は電流検出器5の出力のデジタル値1nレベル
(1nビット)増加させる。図4(a)の各範囲につい
てn=1としたときの、調整量を求めたものを図4
(b)に示す。
The weight for increasing or decreasing the offset correction value is determined by the magnitude relationship of the absolute values of the correction error. In the case of R1, since | dI u | <| dI v |, the offset correction value of the V phase is reduced by the digital value 2n level (2n bits) of the output of the current detector 11, and the offset correction value of the U phase is The digital value of the output of the detector 5 is increased by 1n level (1n bit). FIG. 4 shows the adjustment amount obtained when n = 1 for each range in FIG.
It shows in (b).

【0023】(実施例2)つぎに、本発明の第2の実施
令例について説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described.

【0024】実施例1の図3における処理S6において
判定される電気角f1の存在する範囲を4つに分割す
る。すなわち図5(a)は電気角360度を4つの範囲
に分割し、電気角f1が存在する範囲毎のU、V相のオ
フセット補正誤差dIu、dIvの正負の符号と絶対値の大小
関係を表している。電気角f1の存在する範囲に応じた
オフセット補正誤差dIu、dIvの関係は、電気角f1が電
気角330度以上で360度未満および0度以上で60
度未満(図5(a)のR1)の場合、 |dIu|≦|dIv|、 dIv > 0 電気角f1が電気角60度以上で150度未満(図5
(a)のR2)の場合、 |dIu|≧|dIv|、 dIu < 0 電気角1が電気角150度以上で240度未満(図5
(a)のR3)の場合、 |dIu|≦|dIv|、 dIv < 0 電気角1が電気角240度以上で330度未満(図5
(a)のR4)の場合、 |dIu|≧|dIv|、 dIu > 0 となる。
The range in which the electrical angle f1 is determined in step S6 of FIG. 3 of the first embodiment is divided into four. That is, in FIG. 5A, the electrical angle of 360 degrees is divided into four ranges, and the positive and negative signs of the U and V phase offset correction errors dI u and dI v and the magnitude of the absolute value are divided for each range in which the electrical angle f1 exists. It represents a relationship. The relationship between the offset correction errors dI u and dI v according to the range in which the electrical angle f1 exists is that the electrical angle f1 is less than 360 degrees when the electrical angle is 330 degrees or more and 60 degrees when the electrical angle f1 is 0 degrees or more.
If less than 60 degrees (R1 in FIG. 5 (a)): | dI u | ≦ | dI v |, dI v > 0 The electrical angle f1 is 60 degrees or more and less than 150 degrees (FIG. 5).
In the case of R2) in (a), | dI u | ≧ | dI v |, dI u <0 where electrical angle 1 is 150 degrees or more and less than 240 degrees (FIG. 5).
In the case of R3) of (a), | dI u | ≦ | dI v |, dI v <0 The electrical angle 1 is 240 degrees or more and less than 330 degrees (see FIG. 5).
In the case of R4) in (a), | dI u | ≧ | dI v |, dI u > 0.

【0025】以上に示す関係によりオフセット補正値の
調整量を決定する。その一例として電気角f1が図5
(a)における範囲R1に存在する場合を考えると、図
5(a)より |dIu|≦|dIv| であり、V相のオフセット補正誤差 dIvは正の値である
ので、V相のオフセット補正値c2を現在の値より減少
させる。オフセット補正値の増減は電流検出器11の出
力のデジタル値1nレベル(1nビット)ごとに行う
(nは正の整数を表す)。図5(a)のR1〜R4の各
範囲についてn=1としたときの、それぞれのオフセッ
ト補正値調整量を求めたものを図5(b)に示す。
The adjustment amount of the offset correction value is determined based on the above relationship. As an example, the electrical angle f1 is shown in FIG.
Considering the case of existing in the range R1 in (a), from FIG. 5 (a), | dI u | ≦ | dI v |, and the V-phase offset correction error dI v is a positive value. The offset correction value c2 of is decreased from the current value. The offset correction value is increased / decreased for each digital value 1n level (1n bit) of the output of the current detector 11 (n represents a positive integer). FIG. 5B shows the calculated offset correction value adjustment amounts when n = 1 for each range of R1 to R4 in FIG. 5A.

【0026】したがって、以上の各実施例によれば、運
転中に温度変化などによってオフセット補正値に誤差が
生じた場合、電気角検出手段27において、サーボモー
タの3相交流のフィードバック電流値を3相/2相変換
して得られる横軸電流値からモータ発生トルクの脈動を
検出し、電気角信号fより脈動成分によって横軸電流値
が最大となるときの電気角f1と最小となるときの電気
角f2を検出し、さらに、判断手段28は、電気角f1
と電気角f2の角度差によりオフセット補正誤差が発生
したかどうかを判断し、もしオフセット補正誤差が発生
したと判断されれば、補正手段31において電気角f1
の値に対応したオフセット補正値調整量が加算され、オ
フセット補正値が更新される。これにより、サーボモー
タのディジタル制御装置において長時間運転することに
よる電流検出器内の素子の温度上昇によってオフセット
補正値に補正誤差が生じ、サーボモータが発生するトル
クに電気角と同周期の脈動が生じた場合でも、横軸電流
値の脈動からオフセット補正誤差の発生を察知しオフセ
ット補正値を自動的に補正することができる。
Therefore, according to each of the above embodiments, when an error occurs in the offset correction value due to a temperature change or the like during the operation, the electrical angle detecting means 27 sets the feedback current value of the three-phase AC of the servo motor to three. The pulsation of the motor-generated torque is detected from the horizontal axis current value obtained by the phase / two-phase conversion, and the electrical angle f1 when the horizontal axis current value becomes maximum and the minimum when the horizontal axis current value becomes minimum due to the ripple component from the electrical angle signal f. The electrical angle f2 is detected, and the determination means 28 further determines the electrical angle f1.
And the electrical angle f2, it is determined whether an offset correction error has occurred. If it is determined that the offset correction error has occurred, the correction means 31 uses the electrical angle f1.
The offset correction value adjustment amount corresponding to the value of is added, and the offset correction value is updated. As a result, a correction error occurs in the offset correction value due to the temperature rise of the element in the current detector due to long-time operation in the servo motor digital controller, and the torque generated by the servo motor has a pulsation of the same cycle as the electrical angle. Even if it occurs, it is possible to detect the occurrence of the offset correction error from the pulsation of the horizontal axis current value and automatically correct the offset correction value.

【0027】ここでは、本発明に関して詳細にその最も
好ましい実施態様について説明したが、その好ましい実
施態様の説明は、構成の詳細な部分についての変形、特
許請求の範囲に記載された本発明の思想に反しない限り
での種々な変形、あるいはそれらを組み合わせたものに
変更することができることは明らかである。
Although the most preferred embodiment of the present invention has been described in detail with respect to the present invention, the description of the preferred embodiment includes modifications of detailed portions of the configuration and the idea of the present invention described in the claims. It is obvious that various modifications can be made without departing from the above, or a combination thereof can be changed.

【0028】[0028]

【発明の効果】以上のように本発明によれば、温度上昇
などでオフセット補正値に補正誤差が生じた場合でも、
サーボモータの運転中にオフセット補正値の自動調整を
行うことができ、サーボモータで発生するトルク脈動を
減少させ、速度リップルの増加などの制御性能の悪化を
抑制し、サーボモータの運転を長時間にわたり安定かつ
精密に制御することが可能となる。
As described above, according to the present invention, even when a correction error occurs in the offset correction value due to a temperature rise or the like,
The offset correction value can be automatically adjusted during the operation of the servo motor, the torque pulsation generated in the servo motor can be reduced, the deterioration of the control performance such as the increase of speed ripple can be suppressed, and the servo motor can be operated for a long time. Therefore, stable and precise control can be achieved.

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

【図1】本発明の実施例を示す電流検出器のオフセット
自動調整装置を有するサーボモータのディジタル制御装
置のブロック図
FIG. 1 is a block diagram of a digital control device for a servomotor having an automatic offset adjustment device for a current detector according to an embodiment of the present invention.

【図2】図1に示すオフセット補正値自動調整装置の内
部構成を示すブロック図
FIG. 2 is a block diagram showing an internal configuration of the offset correction value automatic adjustment apparatus shown in FIG.

【図3】同オフセット補正値自動調整装置内での演算処
理動作を示す流れ図
FIG. 3 is a flowchart showing an arithmetic processing operation in the offset correction value automatic adjustment apparatus.

【図4】(a)は本発明の第1の実施例における電気角
f1の値とオフセット補正誤差dIu、dIvの正負およびそ
の大小関係を示す関係図 (b)は本発明の第1の実施例におけるU相のオフセッ
ト補正値c1、およびV相のオフセット補正値c2の調
整量を示す関係図
FIG. 4A is a relational diagram showing the positive / negative of the value of the electrical angle f1 and the offset correction errors dI u and dI v and their magnitude relationship in the first embodiment of the present invention, and FIG. 4B is the first embodiment of the present invention. FIG. 4 is a relationship diagram showing the adjustment amounts of the U-phase offset correction value c1 and the V-phase offset correction value c2 in the embodiment of FIG.

【図5】(a)は本発明の第2の実施例における電気角
f1の値とオフセット補正誤差dIu、dIvの正負およびそ
の大小関係を示す関係図 (b)は本発明の第2の実施例におけるU相のオフセッ
ト補正値c1、およびV相のオフセット補正値c2の調
整量を示す関係図
FIG. 5A is a relational diagram showing the positive / negative relationship between the value of the electrical angle f1 and the offset correction errors dI u and dI v and their magnitude in the second embodiment of the present invention, and FIG. FIG. 4 is a relationship diagram showing the adjustment amounts of the U-phase offset correction value c1 and the V-phase offset correction value c2 in the embodiment of

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

5 U相電流検出器(電流検出器) 10 サーボモータ 11 V相電流検出器(電流検出器) 22 回転検出手段 27 電気角検出手段 28 判断手段 31 補正手段 c1 U相のオフセット補正値(オフセット補正値) c2 V相のオフセット補正値(オフセット補正値) f 電気角信号 g1 U相フィードバック電流値(3相交流フィードバ
ック電流値) g2 V相フィードバック電流値(3相交流フィードバ
ック電流値) g3 W相フィードバック電流値(3相交流フィードバ
ック電流値)
5 U-phase current detector (current detector) 10 Servo motor 11 V-phase current detector (current detector) 22 Rotation detecting means 27 Electrical angle detecting means 28 Judging means 31 Correction means c1 U-phase offset correction value (offset correction) Value) c2 V phase offset correction value (offset correction value) f Electrical angle signal g1 U phase feedback current value (three-phase AC feedback current value) g2 V phase feedback current value (three-phase AC feedback current value) g3 W-phase feedback Current value (3-phase AC feedback current value)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 井野 芳浩 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continued front page (72) Inventor Yoshihiro Ino 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 オフセット値を有する電流検出器を用い
たサーボモータのディジタル制御装置における電流検出
器のオフセット自動調整装置であって、前記サーボモー
タの3相交流フィードバック電流値と電気角信号を入力
とし電気角1周期の間回転が一方向であり回転速度が所
定の上限設定値以下であることを検出する回転検出手段
と、前記サーボモータの3相交流フィードバック電流値
から得られる横軸電流が前記電気角1周期の間で最大と
なる第1の電気角と最小となる第2の電気角を検出する
電気角検出手段と、その電気角検出手段で検出された第
1の電気角と第2の電気角の差が180度であるかどう
かを判断する判断手段と、前記判断手段で前記第1の電
気角と第2の電気角の差が180度であると判断した場
合に、前記第1の電気角に応じて前記電流検出器のオフ
セット補正値を補正する補正手段とを備えた電流検出器
のオフセット自動調整装置。
1. An automatic offset adjusting device for a current detector in a digital controller for a servo motor using a current detector having an offset value, wherein a three-phase AC feedback current value and an electrical angle signal of the servo motor are input. The rotation detecting means for detecting that the rotation is in one direction for one electrical angle cycle and the rotation speed is equal to or lower than a predetermined upper limit set value, and the horizontal axis current obtained from the three-phase AC feedback current value of the servo motor are An electrical angle detecting means for detecting a maximum first electrical angle and a minimum second electrical angle during one cycle of the electrical angle, and a first electrical angle detected by the electrical angle detecting means The judgment means for judging whether the difference between the two electric angles is 180 degrees, and the judgment means judges that the difference between the first electric angle and the second electric angle is 180 degrees. First electric A current detector offset automatic adjustment apparatus comprising: a correction unit that corrects an offset correction value of the current detector according to an air angle.
【請求項2】 電流検出器のオフセット補正値を補正す
る補正手段は、電気角360度を8つの範囲に分割し、
第1の電気角がどの分割範囲にあるかを判断する電気角
存在範囲判定手段と、前記8つの分割範囲に応じて設定
されたオフセット補正値調整量を持ちオフセット補正値
に前記第1の電気角が存在する分割範囲の前記オフセッ
ト補正値調整量を加算更新して出力するオフセット補正
値出力手段とを有する請求項1記載の電流検出器のオフ
セット自動調整装置。
2. The correction means for correcting the offset correction value of the current detector divides the electrical angle of 360 degrees into eight ranges,
An electrical angle existence range determination means for determining which division range the first electrical angle is in, and an offset correction value adjustment amount set according to the eight division ranges, and the first electrical angle is set as the offset correction value. The offset automatic adjustment device for a current detector according to claim 1, further comprising: offset correction value output means for adding and updating the offset correction value adjustment amount in a divided range in which a corner exists.
【請求項3】 電流検出器のオフセット補正値を補正す
る補正手段は、電気角360度を4つの範囲に分割し、
第1の電気角がどの分割範囲にあるかを判断する電気角
存在範囲判定手段と、前記4つの分割範囲に応じて設定
されたオフセット補正値調整量を持ちオフセット補正値
に前記第1の電気角が存在する分割範囲の前記オフセッ
ト補正値調整量を加算更新して出力するオフセット補正
値出力手段とを有する請求項1記載の電流検出器のオフ
セット自動調整装置。
3. The correction means for correcting the offset correction value of the current detector divides the electrical angle of 360 degrees into four ranges,
An electrical angle existing range determination means for determining which division range the first electrical angle is in, and an offset correction value adjustment amount set according to the four division ranges, and the first electrical angle is set as the offset correction value. The offset automatic adjustment device for a current detector according to claim 1, further comprising: offset correction value output means for adding and updating the offset correction value adjustment amount in a divided range in which a corner exists.
JP4263296A 1992-05-28 1992-10-01 Automatic offset regulator for current detector Pending JPH06121573A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP4263296A JPH06121573A (en) 1992-10-01 1992-10-01 Automatic offset regulator for current detector
US08/065,232 US5319294A (en) 1992-05-28 1993-05-24 Apparatus for automatically adjusting offset correction values for current detectors
DE69320252T DE69320252T2 (en) 1992-05-28 1993-05-27 Device for automatic adjustment of displacement correction values for current detectors
EP93108600A EP0572015B1 (en) 1992-05-28 1993-05-27 Apparatus for automatically adjusting offset correction values for current detectors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4263296A JPH06121573A (en) 1992-10-01 1992-10-01 Automatic offset regulator for current detector

Publications (1)

Publication Number Publication Date
JPH06121573A true JPH06121573A (en) 1994-04-28

Family

ID=17387507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4263296A Pending JPH06121573A (en) 1992-05-28 1992-10-01 Automatic offset regulator for current detector

Country Status (1)

Country Link
JP (1) JPH06121573A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259226B1 (en) 1998-09-03 2001-07-10 Mitsubishi Denki Kabushiki Kaisha Controller for AC motor
JP2001298992A (en) * 2000-04-18 2001-10-26 Toyota Motor Corp Motor controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259226B1 (en) 1998-09-03 2001-07-10 Mitsubishi Denki Kabushiki Kaisha Controller for AC motor
JP2001298992A (en) * 2000-04-18 2001-10-26 Toyota Motor Corp Motor controller
US7772797B2 (en) 2000-04-18 2010-08-10 Toyota Jidosha Kabushiki Kaisha Motor controller

Similar Documents

Publication Publication Date Title
US5616999A (en) Torque detecting apparatus for reducing torque ripple in an AC motor
US5319294A (en) Apparatus for automatically adjusting offset correction values for current detectors
JP5198332B2 (en) Torque control device for permanent magnet synchronous motor
JP2008011627A (en) Motor controller
JP2006025499A (en) Motor controller
US4956593A (en) Servo motor controlling method
JPH06121573A (en) Automatic offset regulator for current detector
JP2008099369A (en) Motor controller
JP6841336B2 (en) Motor control device and storage medium
JP3217145B2 (en) Automatic offset adjustment device for current detector
JP2004274855A (en) Method and device for detection and adjustment of rotor position
JP4201676B2 (en) Motor control device
JPH0923700A (en) Servo motor current control
EP0616417B1 (en) Method for control of ac motor
JPH06121574A (en) Automatic disturbance torque correcting unit
JPH0728527A (en) Correction processing method for coulomb&#39;s friction
JPH06121572A (en) Automatic offset regulator for current detector
JPH06121569A (en) Automatic gain balance regulator for current feedback value
JP2010268567A (en) Controller for ac motor
TWI826820B (en) Robotic arm
KR950015170B1 (en) Motor drive apparatus and its method
JP7363611B2 (en) AC motor control device
JP3424836B2 (en) AC motor current control device
JP2682657B2 (en) Inverter current controller
US6011370A (en) Servo-motor driving method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070914

Year of fee payment: 7

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080914

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080914

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090914

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20100914

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20110914

LAPS Cancellation because of no payment of annual fees