JPH0217892A - Cancellation of offset current - Google Patents

Cancellation of offset current

Info

Publication number
JPH0217892A
JPH0217892A JP63162431A JP16243188A JPH0217892A JP H0217892 A JPH0217892 A JP H0217892A JP 63162431 A JP63162431 A JP 63162431A JP 16243188 A JP16243188 A JP 16243188A JP H0217892 A JPH0217892 A JP H0217892A
Authority
JP
Japan
Prior art keywords
current
offset
offset current
detected
phase
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
JP63162431A
Other languages
Japanese (ja)
Inventor
Hironobu Kuwano
桑野 弘延
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP63162431A priority Critical patent/JPH0217892A/en
Publication of JPH0217892A publication Critical patent/JPH0217892A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To detect offset current in a real time even if a motor is in operation by detecting the offset current intaking advantage of distorted waveform in the reversal of the polarity of the detected current. CONSTITUTION:An offset current detection section 51 monitors the polarity of a current command ICMD and a current deviation I. When the polarity changes, the current command is read to let it be an offset current value IOFS. Let ICP+IOFS be a new offset current corrected value ICP. An offset cancellation section 52 outputs true U-phase detected current Iu' which cancelled the offset current by detecting the offset current corrected value ICP from the detected current Iu. A phase voltage generation section 9 outputs U-phase command voltage Vu to a PWM signal generation circuit 10 in accordance with the current deviation I between the current command ICMD and the detected current Iu.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はサーボ制御装置におけるオフセット電流キャン
セル方法に係り、特に検出電流の歪波形を用いてオフセ
ットキャンセルする方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an offset current canceling method in a servo control device, and particularly to a method of offset canceling using a distorted waveform of a detected current.

〈従来技術〉 デジタル制御により交流電動機を制翻する交流電動機制
御装置においては、速度指令と実速度の差等に基づいて
各相の電流指令を発生し、該電流指令と各相の検出電流
の差分を基準搬送波と比較することによりPWM信号を
出力し、該PWM信号により交流電動機を制御するよう
になっている。
<Prior art> In an AC motor control device that controls an AC motor using digital control, a current command for each phase is generated based on the difference between the speed command and the actual speed, and the current command and the detected current for each phase are A PWM signal is output by comparing the difference with a reference carrier wave, and the AC motor is controlled by the PWM signal.

かかる交流電動機制御において、電流検出部にオフセッ
トが発生して検出電流にオフセット電流が重畳すると、
交流電動機の制御性能が悪化し、精度の高い速度制御が
できなくなる。
In such AC motor control, if an offset occurs in the current detection section and the offset current is superimposed on the detected current,
The control performance of the AC motor deteriorates, and highly accurate speed control becomes impossible.

このため、従来はオフセット電流をキャンセルするため
に、(i)交流電動機を停止させると共に電流指令を遮
断し、(11)かかる状態で電流指令零におけろ検出電
流(オフセット電流)  ’OFl+を取り込んで記憶
し、(2)モータ動作時に、検出電流からオフセット電
流を差し引くことによりオフセット電流をキャンセルし
ている。
Therefore, conventionally, in order to cancel the offset current, (i) stop the AC motor and cut off the current command, and (11) take in the detected current (offset current) 'OFl+ when the current command is zero in this state. (2) During motor operation, the offset current is canceled by subtracting it from the detected current.

第5図及び第6図は交流電動機の1つである同期電動機
のサーボ制御説明図である。第1図において、Eは3相
電源、Mは永久磁石をロータとする同期電動機、IDU
、IDWはU、W相の相電流検出器、1はPWM制御回
路、2は同期電動機Mのロータ位置及び速度を検出する
ためのパルスエンコーダ等のロータ位置検出器、3は整
流回路、4はトランジスタインバータである。
FIGS. 5 and 6 are explanatory diagrams of servo control of a synchronous motor, which is one type of AC motor. In Figure 1, E is a three-phase power supply, M is a synchronous motor with a permanent magnet as a rotor, and IDU
, IDW is a phase current detector for U and W phases, 1 is a PWM control circuit, 2 is a rotor position detector such as a pulse encoder for detecting the rotor position and speed of the synchronous motor M, 3 is a rectifier circuit, and 4 is a rectifier circuit. It is a transistor inverter.

P W M @御回路1は、ロータ位置検出器2で検出
される実速度と速度指令■。を比較し、トランジスタイ
ンバータ4の各トランジスタTA−TFをオン/オフさ
せて、同期電動機のU、V、W相の巻線の電流を制御し
て速度を制御するものである。
PWM @control circuit 1 is the actual speed detected by the rotor position detector 2 and the speed command■. The speed is controlled by comparing the currents of the windings of the U, V, and W phases of the synchronous motor by turning on/off each transistor TA to TF of the transistor inverter 4.

PWM制翻回路1は、第6図に示すように構成されてい
る(U相分のみ示している)。図において、5は信号処
理回路であり、ロータ位置検出器2から出力されろパル
スSを計数して実速度信号V、やロータの位置信号Pを
出力する。6はロータの現在位置Pに応じたし相の正弦
波信号sinωtを出力するROM構成の正弦波発生回
路、7は速度指令を示す電圧V。と信号処理回路5から
出力される実速度v5との差である速度誤差信号VEを
出力する速度誤差発生回路、8はU相の正弦波信号と速
度誤差信号vEを乗算してU相の相電流指令’ cMo
を出力する乗算型DA変換器、9は相電流指令I。MO
とオフセットキャンセル後のU相電流I。
The PWM control circuit 1 is configured as shown in FIG. 6 (only the U phase is shown). In the figure, 5 is a signal processing circuit which counts the pulses S output from the rotor position detector 2 and outputs an actual speed signal V and a rotor position signal P. 6 is a sine wave generating circuit having a ROM configuration that outputs a sine wave signal sinωt of a phase corresponding to the current position P of the rotor, and 7 is a voltage V indicating a speed command. A speed error generation circuit 8 outputs a speed error signal VE which is the difference between the actual speed v5 outputted from the signal processing circuit 5, and a speed error generation circuit 8 which multiplies the U-phase sine wave signal and the speed error signal vE to generate the U-phase phase. Current command' cMo
9 is a phase current command I. M.O.
and U-phase current I after offset cancellation.

の差に基づいてU相の指令電圧(相電圧)■8を出力す
る相電圧発生回路、10は該相電圧vUと基準突込波(
一定周波数の鋸歯状波信号)を比較してその大小に応じ
たPWM信号PA、 P、(第5図のトランジスタTA
、T、をオン/オフする)を発生するPWM信号発生回
路、11はオフセットキャンセル回路であり、予め検出
記憶されたオフセット電流I。PSを検出電流Iuから
差し引いて出力する。
A phase voltage generation circuit outputs the U-phase command voltage (phase voltage) ■8 based on the difference between the phase voltage vU and the reference rush wave (10).
The PWM signals PA, P, (transistor TA in Fig. 5) are compared according to their magnitudes.
, T,), and 11 is an offset cancel circuit that generates an offset current I detected and stored in advance. PS is subtracted from the detection current Iu and output.

〈発明が解決しようとしている課題〉 かかる従来のオフセットキャンセル方法では、必ずモー
タを停止させてオフセット電流を検出するものであり、
しかも−度検出設定すれば以後−定に維持するものであ
る。
<Problems to be Solved by the Invention> In such conventional offset canceling methods, the motor is always stopped and the offset current is detected.
Moreover, once the - degree detection setting is made, the - degree is maintained at - constant from then on.

このため、従来方法ではオフセット電流値が変動するよ
うな場合には正確にオフセットキャンセルすることがで
きない。特に、オフセット電流は温度に影響されやすく
、運転を連続しておこなうとその値が変動するものであ
るが、従来方法ではかかる場合に対処できず正確なオフ
セットキャンセルができないという問題があった。
Therefore, in the conventional method, it is not possible to accurately cancel the offset when the offset current value fluctuates. In particular, the offset current is easily affected by temperature, and its value fluctuates during continuous operation. Conventional methods have had the problem of not being able to deal with such cases and not being able to accurately cancel the offset.

以上から本発明の目的は検出電流の極性反転時における
歪波形を利用して、モータ動作中であってもリアルアイ
ムにオフセット電流を検出でき、従って正確なオフセッ
トキャンセルができるサーボ制御装置におけるオフセッ
トキャンセル方法を提供することである。
From the above, an object of the present invention is to provide offset cancellation in a servo control device that can detect offset current in real time even during motor operation by using the distorted waveform when the polarity of the detection current is reversed, and can therefore perform accurate offset cancellation. The purpose is to provide a method.

〈課題を解決するための手段〉 第1図は本発明にかかるサーボ制御装置の要部ブロック
図である。
<Means for Solving the Problems> FIG. 1 is a block diagram of main parts of a servo control device according to the present invention.

51はオフセット電流検出部、52はオフセットキャン
セル部、53は演算部である。
51 is an offset current detection section, 52 is an offset cancellation section, and 53 is a calculation section.

又、Mは交流電動機、IDUは電流検出器、IC0゜は
電流指令、■1は検出電流、’CPはオフセット電流補
正値である。
Further, M is an AC motor, IDU is a current detector, IC0° is a current command, ■1 is a detected current, and 'CP is an offset current correction value.

〈作用〉 オフセット電流検出部51は、検出電流IUの極性反転
時に生じる歪波形を利用してオフセット電流値を検出し
、該オフセット電流値に基づいてオフセット電流補正値
■。Pを発生し、オフセットキャンセル部52は該補正
値l。pを検出電流!。から差し引いてオフセットキャ
ンセルする。
<Operation> The offset current detection unit 51 detects an offset current value using a distorted waveform that occurs when the polarity of the detection current IU is reversed, and calculates an offset current correction value (■) based on the offset current value. P, and the offset canceling unit 52 generates the correction value l. p is the detection current! . Subtract from to cancel the offset.

〈実施例〉 第1図は本発明を実現するサーボ装置の要部ブロック図
でありU相分のみ示しである。尚、第5図の従来装置と
同一部分には同一符号を付しており、Mは交流電動機、
IDU、IDWはU相及びW相の電流検出器、4はトラ
ンジスタインバータ、9は指令電流と検出電流の差分に
基づいて相電圧をvUを発生する相電圧発生部、10は
PWM信号発生部である。
<Embodiment> FIG. 1 is a block diagram of the main parts of a servo device that implements the present invention, and only the U phase is shown. The same parts as in the conventional device shown in Fig. 5 are given the same reference numerals, and M is an AC motor;
IDU and IDW are U-phase and W-phase current detectors, 4 is a transistor inverter, 9 is a phase voltage generator that generates a phase voltage vU based on the difference between the command current and the detected current, and 10 is a PWM signal generator. be.

51はオフセット電流検出部であり、検出電流■1の極
性反転時に生じる歪波形を利用してオフセット電流値I
。FSをリアルタイムに検出すると共に、オフセット電
流補正値■。Pを計算して出力する。
51 is an offset current detection unit which detects the offset current value I by using the distorted waveform that occurs when the polarity of detection current 1 is reversed.
. In addition to detecting FS in real time, offset current correction value ■. Calculate and output P.

52はオフセットキャンセル部であり、検出電流11、
lからオフセット電流補正値!。、を差し引くことによ
りオフセット電流をキャンセルした真のU相検出電流I
U を出力する。
52 is an offset canceling section, which detects the current 11,
Offset current correction value from l! . , the true U-phase detection current I with the offset current canceled by subtracting
Output U.

53は電流指令I。、、。と検出電流IU′の差分を演
算して相電圧発生部9とオフセット電流検出部51にそ
れぞれ入力する演算部である。
53 is a current command I. ,,. This is a calculation section that calculates the difference between the current IU' and the detected current IU' and inputs the result to the phase voltage generation section 9 and the offset current detection section 51, respectively.

以下、本発明にかかるオフセットキャンセル方法を説明
する。
The offset cancellation method according to the present invention will be explained below.

トランジスタインバータ4におけるトランジスタTA(
To、 T、)をオンからオフし、代わってトランジス
タT、(To、T、)をオフからオンする場合あるいは
その逆の場合、両トランジスタのオン/オフを同時に行
うと該両トランジスタが同時にオンする恐れが生じる(
上下短絡)。そこで、トランジスタインバータの制御に
おいてはオントランジスタTA(T、、T、)を確実に
オフさせてからオフトランジスタT、(To、T、)を
オンするようにオン/オフ制御が行われる。
Transistor TA in transistor inverter 4 (
To, T,) is turned off from on and transistor T, (To, T,) is turned on from off, or vice versa, when both transistors are turned on and off at the same time, both transistors are turned on at the same time. There is a risk that (
(top and bottom short circuit). Therefore, in controlling the transistor inverter, on/off control is performed to ensure that the on-transistor TA (T, , T,) is turned off and then the off-transistor T, (To, T,) is turned on.

このため、検出電流IUと電流指令ICMOの関係は第
2図に示すように検出電流I。の極性反転時に不感帯が
現われる。従って、正弦波の電流指令’C11゜(第3
図実線)に対して検出電流IUは第3図点線で示すよう
になり極性反転時に歪波形を発生し、検出電流ILlが
正の場合にはI。、、lo>■、、lとなり、検出電流
が負の場合には■。M。<IUとなる。
Therefore, the relationship between the detected current IU and the current command ICMO is the detected current I as shown in FIG. A dead zone appears when the polarity is reversed. Therefore, the sine wave current command 'C11° (3rd
(solid line), the detection current IU becomes as shown by the dotted line in Figure 3, generating a distorted waveform when the polarity is reversed, and when the detection current ILl is positive, it becomes I. ,,lo>■,,l, and when the detected current is negative, ■. M. <IU.

ここで、検出電流■−こオフセット電流(IoFsとす
る)が重畳すると、検出電流IUはオフセット分上にシ
フトして第4図1点鎖線に示すようになる。この第4図
から明らかなようにI。+1゜とIuの大小関係が反転
する時点が検出できれば、その時の!。、、。がオフセ
ット電流I。FSとなる。
Here, when the detection current (2) and the offset current (IoFs) are superimposed, the detection current IU is shifted upward by the offset, as shown by the dashed line in FIG. As is clear from this Figure 4, I. If we can detect the point in time when the magnitude relationship between +1° and Iu is reversed, then! . ,,. is the offset current I. It becomes FS.

以上から、オフセット電流検出部51は、演算部53か
ら出力される電流指令I。□。と検出電流!0の差分Δ
■の極性を監視し、極性が変化した時の電流指令を読み
取って該電流値をオフセット電流I。FSとする。
From the above, the offset current detection section 51 receives the current command I output from the calculation section 53. □. and detected current! Difference Δ of 0
(2) Monitor the polarity, read the current command when the polarity changes, and set the current value as the offset current I. FS.

ついで、オフセット電流検出部51は次式1式% (ICPの初期値は零)により、オフセット電流補正値
I。pを計算してオフセットキャンセル部52に入力す
る。
Next, the offset current detection unit 51 determines the offset current correction value I using the following equation 1 (initial value of ICP is zero). p is calculated and input to the offset canceling section 52.

オフセットキャンセル部52は、検出電流■。がらオフ
セット電流補正値I。Pを差し引くことによりオフセッ
ト電流をキャンセルした真のU相検出電流1.J′を出
力する。
The offset canceling unit 52 detects the detected current ■. offset current correction value I. True U-phase detection current with offset current canceled by subtracting P1. Output J'.

演算部53は以後電流指令■。、。とオフセットキャン
セルされた真の検出電流1./の差分を演算して相電圧
発生部9とオフセット電流検出部51に入力する。この
結果、a後オフセットの影響がな・い速度制御が可能と
なる。
The calculation unit 53 will thereafter issue a current command (■). ,. and offset-cancelled true detection current 1. / is calculated and inputted to the phase voltage generation section 9 and the offset current detection section 51. As a result, speed control without the influence of the post-a offset becomes possible.

尚、電流検出部IDUにおけるオフセットが変動しなけ
れば以後、1oFs=0となりtl)式より得られるオ
フセット電流補正値IcPは一定に保たれる。
Note that if the offset in the current detection unit IDU does not change, 1oFs=0 from then on, and the offset current correction value IcP obtained from equation tl) is kept constant.

又、運転中に電流検出部IDtJにおけろオフセットが
変動しても[1)式により常に正しくオフセットキャン
セルできろ。たとえば、オフセットが電流にしてΔl0
FG増加すると、検出電流■。′にΔ’ OF*が重畳
されろため、オフセット電流検出部51はオフセット電
流としてΔl0F9を検出しく11式によりオフセット
電流補正値’cpを更新する。従って、検出電流!。は
以後トータル(IOFS+Δl0FS )キャンセルさ
れる。
Also, even if the offset changes in the current detection unit IDtJ during operation, the offset can always be canceled correctly using equation [1]. For example, if the offset is current Δl0
When FG increases, the detection current ■. Since Δ'OF* is superimposed on ', the offset current detection unit 51 detects Δl0F9 as the offset current and updates the offset current correction value 'cp using equation 11. Therefore, the detection current! . is subsequently canceled by a total of (IOFS+Δl0FS).

〈発明の効果〉 以上本発明によれば、極性反転時に生じる検出電流の歪
波形を利用してオフセット電流値を検出し、該オフセッ
ト電流を検出電流から差し引いてオフセットキャンセル
するように構成したから、モータ動作中であってもリア
ルアイムにオフセット電流を検出でき、従ってオフセッ
ト電流が変動する場合であっても正確なオフセットキャ
ンセルが可能となった。
<Effects of the Invention> According to the present invention, the offset current value is detected using the distorted waveform of the detection current that occurs at the time of polarity reversal, and the offset current is subtracted from the detection current to cancel the offset. The offset current can be detected in real time even when the motor is operating, and therefore accurate offset cancellation is possible even when the offset current fluctuates.

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

第1図は本発明にかかるサーボ制御装置の要部ブロック
図、 第2図乃至第4図はオフセット電流の検出を説明するた
めの電流指令及び検出電流の関係図及び波形図、 第5図及び第6図は従来のサーボ制卸装置のブロック図
である。 51・・オフセット電流検出部、 52・・オフセットキャンセル部、 53・・演算部 IDU・・電流検出器、 ’ch。・・電流指令、ILl・・検出電流、’cp・
・オフセット電流補正値 特許出願人        ファナック株式会社代理人
          弁理士  齋藤千幹第2図 Tυ 第3 図 第4 図
Fig. 1 is a block diagram of the main parts of the servo control device according to the present invention, Figs. 2 to 4 are relational diagrams and waveform diagrams of current command and detected current to explain offset current detection, Figs. FIG. 6 is a block diagram of a conventional servo control device. 51...Offset current detection unit, 52...Offset cancellation unit, 53...Calculation unit IDU...Current detector, 'ch.・・Current command, ILl・・Detection current, 'cp・
・Offset current correction value patent applicant: Fanuc Co., Ltd. agent Patent attorney Chiki Saito Figure 2 Tυ Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)各相の電流指令と各相の検出電流の差分に基づい
てPWM信号を出力し、該PWM信号により交流電動機
を制御するサーボ制御装置におけるオフセット電流キャ
ンセル方法において、 検出電流の極性反転時に生じる歪波形を利用して該検出
電流に重畳されているオフセット電流を検出し、該オフ
セット電流を検出電流から差し引いてオフセットキャン
セルすることを特徴とするオフセット電流キャンセル方
法。
(1) In an offset current cancellation method in a servo control device that outputs a PWM signal based on the difference between the current command of each phase and the detected current of each phase and controls an AC motor using the PWM signal, when the polarity of the detected current is reversed. An offset current canceling method comprising detecting an offset current superimposed on the detected current using a generated distorted waveform, and subtracting the offset current from the detected current to cancel the offset.
(2)前記差分の符号が反転した時の指令電流値をオフ
セット電流値とすることを特徴とする特許請求の範囲第
1項記載のオフセット電流キャンセル方法。
(2) The offset current canceling method according to claim 1, wherein the command current value when the sign of the difference is reversed is set as the offset current value.
JP63162431A 1988-07-01 1988-07-01 Cancellation of offset current Pending JPH0217892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63162431A JPH0217892A (en) 1988-07-01 1988-07-01 Cancellation of offset current

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63162431A JPH0217892A (en) 1988-07-01 1988-07-01 Cancellation of offset current

Publications (1)

Publication Number Publication Date
JPH0217892A true JPH0217892A (en) 1990-01-22

Family

ID=15754479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63162431A Pending JPH0217892A (en) 1988-07-01 1988-07-01 Cancellation of offset current

Country Status (1)

Country Link
JP (1) JPH0217892A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04134197U (en) * 1991-06-04 1992-12-14 西芝電機株式会社 AC motor control device
EP1610144A2 (en) * 2004-06-23 2005-12-28 Whirlpool Corporation Method for calibrating offset from DC bus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04134197U (en) * 1991-06-04 1992-12-14 西芝電機株式会社 AC motor control device
EP1610144A2 (en) * 2004-06-23 2005-12-28 Whirlpool Corporation Method for calibrating offset from DC bus
EP1610144A3 (en) * 2004-06-23 2006-08-02 Whirlpool Corporation Method for calibrating offset from DC bus
US7216049B2 (en) 2004-06-23 2007-05-08 Whirlpool Corporation Method for calibrating current offset and filtering bad data in a system that detects power output

Similar Documents

Publication Publication Date Title
EP0175154B1 (en) Method of controlling inverter-driven induction motor
JPH09172791A (en) Failure detection device for a.c. motor control circuit
JP6407175B2 (en) Power converter control device
JPH1127951A (en) Pwm inverter controller
KR100313970B1 (en) Control device of permanent magnet synchronous motor
JP2001028892A (en) Torque detector and driving controller for ac motor
JPH0217892A (en) Cancellation of offset current
JPH0662579A (en) Voltage-type inverter device
JPH1141982A (en) Three-phase inverter and control method therefor
JPH09261974A (en) Control equipment of inverter
JP2004023920A (en) Ac motor controller
KR100332806B1 (en) Position sensing circuit for bldc motor
JPH03253291A (en) Driving device for motor
JP2000278985A (en) Driving device of dc brushless motor
JPH08182347A (en) Current control type pwm inverter
JPS63268496A (en) Control of potential type inverter
WO2021199410A1 (en) Control device for three-phase alternating current rotating machine
JP2010263724A (en) Drive unit
JPH06339296A (en) Detecting method for electrical angle of motor and inverter
JP2003033043A (en) Inverter apparatus
JPS63228992A (en) Inverter controller
JPH04156292A (en) Equipment for controlling permanent magnet type motor
JPH09215336A (en) Controller of npc inverter
JP2688370B2 (en) Inverter control device
JP2003070283A (en) Motor controller