JP2003284382A - Pwm control apparatus - Google Patents

Pwm control apparatus

Info

Publication number
JP2003284382A
JP2003284382A JP2002077679A JP2002077679A JP2003284382A JP 2003284382 A JP2003284382 A JP 2003284382A JP 2002077679 A JP2002077679 A JP 2002077679A JP 2002077679 A JP2002077679 A JP 2002077679A JP 2003284382 A JP2003284382 A JP 2003284382A
Authority
JP
Japan
Prior art keywords
carrier
output
register
signal
pwm
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.)
Granted
Application number
JP2002077679A
Other languages
Japanese (ja)
Other versions
JP4135132B2 (en
Inventor
Hidetsugu Koga
英嗣 古賀
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2002077679A priority Critical patent/JP4135132B2/en
Publication of JP2003284382A publication Critical patent/JP2003284382A/en
Application granted granted Critical
Publication of JP4135132B2 publication Critical patent/JP4135132B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a PWM control apparatus which reduces a burden on the computbility of an arithmetic circuit and is versatile to the wide application of an inverter. <P>SOLUTION: A PWM control apparatus includes a plurality of registers at a first stage for holding a plurality of set data outputted from an arithmetic circuit, a counter circuit of peaks and bottoms of carriers for counting peaks and bottoms of a carrier generation circuit, a plurality of registers at a second stage for delivering counter circuit signals when a value which is set on the counter circuit of peaks and bottoms of carriers coincides with the counter value of peaks and bottoms of carriers, and holding them with output signals of the counter circuit of peaks and bottoms of carriers, a comparator of comparing the counter value of output on the carrier generation circuit with the register outputs at the second stage, and a current detector. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、交流電動機等を可
変速する電圧型PWMインバータ、特にIGBT等の高
速スイッチング素子を使用したインバータに用いられる
PWM制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PWM controller used in a voltage type PWM inverter for varying the speed of an AC motor or the like, in particular, an inverter using a high speed switching element such as an IGBT.

【0002】[0002]

【従来の技術】図3は従来のPWM制御装置の構成を示
すブロック図である。キャリア周波数設定レジスタ3は
PWM信号の周波数が設定されるレジスタで、演算回路
1より出力されたキャリア周波数のデータがデータバス
1aを経由してキャリア周波数設定レジスタ3に接続さ
れ、演算回路1より出力された書き込み信号1cにより
書き込まれる。U相PWM設定レジスタ4はU相のPW
M信号発生用データを保持するレジスタで、演算回路1
から出力されたU相のPWM信号発生用データがデータ
バス1aを経由してU相PWM設定レジスタ4に接続さ
れ、演算回路1から出力された書き込み信号1dにより
書き込まれる。V相PWM設定レジスタ5はV相のPW
M信号発生用データを保持するレジスタで、演算回路1
から出力されたV相のPWM信号発生用データがデータ
バス1aを経由してV相PWM設定レジスタ5に接続さ
れ、演算回路1から出力された書き込み信号1eにより
書き込まれる。W相PWM設定レジスタ6はW相のPW
M信号発生用データを保持するレジスタで、演算回路1
から出力されたW相のPWM信号発生用データがデータ
バス1aを経由してW相PWM設定レジスタ6に接続さ
れ、演算回路1から出力された書き込み信号1fにより
書き込まれる。
2. Description of the Related Art FIG. 3 is a block diagram showing a configuration of a conventional PWM control device. The carrier frequency setting register 3 is a register in which the frequency of the PWM signal is set, and the carrier frequency data output from the arithmetic circuit 1 is connected to the carrier frequency setting register 3 via the data bus 1a and output from the arithmetic circuit 1. It is written by the written write signal 1c. U-phase PWM setting register 4 is a U-phase PW
A register for holding M signal generation data, which is an arithmetic circuit 1
The U-phase PWM signal generation data output from the U-phase PWM signal is connected to the U-phase PWM setting register 4 via the data bus 1a and written by the write signal 1d output from the arithmetic circuit 1. V-phase PWM setting register 5 is V-phase PW
A register for holding M signal generation data, which is an arithmetic circuit 1
The V-phase PWM signal generation data output from V is connected to the V-phase PWM setting register 5 via the data bus 1a and written by the write signal 1e output from the arithmetic circuit 1. The W-phase PWM setting register 6 is a W-phase PW
A register for holding M signal generation data, which is an arithmetic circuit 1
The W-phase PWM signal generating data output from the output terminal is connected to the W-phase PWM setting register 6 via the data bus 1a and is written by the write signal 1f output from the arithmetic circuit 1.

【0003】キャリア発生回路15はアップダウンカウ
ンタで構成され、キャリア周波数設定レジスタ3の出力
データ3aとカウントクロック16を入力し、カウンタ
値15cとキャリア周波数レジスタ3aと一致したとき
オーバフロー信号15a、またカウンタ値15cが0と
一致したときにアンダフロー信号15bを出力する。P
WM信号発生回路19はU相PWM信号発生回路19a
とV相PWM信号発生回路19cとW相PWM信号発生
回路19eからなる。U相比較器はカウンタ値15cと
U相PWM設定レジスタ出力4aを比較し、U相PWM
信号19bを出力する。U相PWM信号19bはゲート
ドライバ回路20に接続されU相、/U相の信号を生成
し不図示のIGBTのゲートに印加されてる。V相比較
器はカウンタ値15cとV相PWM設定レジスタ出力5
aを比較し、V相PWM信号19dを出力する。V相P
WM信号19dはゲートドライバ回路20に接続されV
相、/V相の信号を生成し不図示のIGBTのゲートに
印加されてる。W相比較器はカウンタ値15cとW相P
WM設定レジスタ出力6aを比較し、W相PWM信号1
9eを出力する。W相PWM信号19eはゲートドライ
バ回路20に接続されW相、/W相の信号を生成し不図
示のIGBTのゲートに印加されてる。ゲートドライバ
出力20a、20b、20cは電動機22に接続され
る。
The carrier generation circuit 15 is composed of an up / down counter, inputs the output data 3a of the carrier frequency setting register 3 and the count clock 16, and when the counter value 15c matches the carrier frequency register 3a, the overflow signal 15a and the counter When the value 15c matches 0, the underflow signal 15b is output. P
The WM signal generation circuit 19 is a U-phase PWM signal generation circuit 19a.
And a V-phase PWM signal generation circuit 19c and a W-phase PWM signal generation circuit 19e. The U-phase comparator compares the counter value 15c with the U-phase PWM setting register output 4a, and outputs the U-phase PWM.
The signal 19b is output. The U-phase PWM signal 19b is connected to the gate driver circuit 20, generates U-phase and / U-phase signals, and is applied to the gate of an IGBT (not shown). The V-phase comparator has a counter value of 15c and V-phase PWM setting register output 5
a is compared, and the V-phase PWM signal 19d is output. V phase P
The WM signal 19d is connected to the gate driver circuit 20 and V
Phase and / V phase signals are generated and applied to the gate of the IGBT (not shown). The W-phase comparator has a counter value of 15c and W-phase P
WM setting register output 6a is compared, W-phase PWM signal 1
9e is output. The W-phase PWM signal 19e is connected to the gate driver circuit 20, generates W-phase and / W-phase signals, and is applied to the gate of an IGBT (not shown). The gate driver outputs 20a, 20b, 20c are connected to the electric motor 22.

【0004】AD変換器13、14は前記ゲートドライ
バ出力の例えば20a、20bの2相に接続さた電流変
成器21a、21b出力が接続されている。U相ADデ
ータレジスタ7は前記演算回路1から出力されるU相A
Dデータ読み出し信号1gとデータバス1aに接続され
前記AD変換器出力13aに接続されている。V相AD
データレジスタ8は前記演算回路1から出力されるV相
ADデータ読み出し信号1hとデータバス1aに接続さ
れ前記AD変換器出力14aに接続されている。なお、
演算回路1により各PWM設定レジスタ4、5、6に書
き込まれるPWM設定レジスタデータは生成したいPW
M波形の組合せによって決まり、PWM信号のH(ハイ
レベル)期間、L(ローレベル)期間を設定するための
データである。また、キャリア発生回路15は三相共用
である。
The AD converters 13 and 14 are connected to the outputs of the current transformers 21a and 21b connected to the two phases of the gate driver outputs, for example, 20a and 20b. The U-phase AD data register 7 is a U-phase A output from the arithmetic circuit 1.
It is connected to the D data read signal 1g and the data bus 1a, and is connected to the AD converter output 13a. V phase AD
The data register 8 is connected to the V-phase AD data read signal 1h output from the arithmetic circuit 1 and the data bus 1a and connected to the AD converter output 14a. In addition,
The PWM setting register data to be written in each PWM setting register 4, 5, 6 by the arithmetic circuit 1 is the PW to be generated.
This is data for setting the H (high level) period and the L (low level) period of the PWM signal, which is determined by the combination of the M waveforms. Further, the carrier generation circuit 15 is commonly used for three phases.

【0005】次に、上記従来のPWM発生装置の動作に
ついて説明する。PWM波形を発生するにはまず、キャ
リア発生回路15をカウントクロック16でカウント動
作させる。そして、演算回路1により書き換え可能なU
相PWM設定レジスタ4に保持されているU相のPWM
設定レジスタ出力4aにカウンタ値15cの内容が一致
した場合、比較器からU相PWM信号19bが出力され
る。同様にして発生するPWM信号19d、19fはゲ
ートドライバ回路20に接続されて誘導電動機22を駆
動している。また、演算回路1はキャリア周波数設定レ
ジスタ3にPWM信号発生の周期のデータを書き込む
と、PWMの比較周期が変更される。大きな値を入れれ
ばパルスが発生する周期が長くなり、小さな値を入れる
とパルス発生の周期が短くなる。
Next, the operation of the above conventional PWM generator will be described. To generate the PWM waveform, first, the carrier generation circuit 15 is caused to count by the count clock 16. Then, the rewritable U by the arithmetic circuit 1
U-phase PWM held in the phase PWM setting register 4
When the contents of the counter value 15c match the setting register output 4a, the U-phase PWM signal 19b is output from the comparator. The PWM signals 19d and 19f similarly generated are connected to the gate driver circuit 20 to drive the induction motor 22. Further, when the arithmetic circuit 1 writes the data of the PWM signal generation period into the carrier frequency setting register 3, the PWM comparison period is changed. The larger the value, the longer the cycle of pulse generation, and the smaller the value, the shorter the cycle of pulse generation.

【0006】ここで、三角波変調方式の場合の信号波形
図を図4に示しておく。この図4では、オーバフロー信
号15aは、キャリア周波数設定レジスタの出力データ
3aとカウンタ値15cとが一致したときにL(ローレ
ベル)とし、アンダフロー信号15bはカウンタ値15
cが0に一致したときにL(ローレベル)としている。
また、各相のPWM設定レジスタ4、5、6およびキャ
リア周波数設定レジスタ3への書き込みは常にキャリア
の山または谷の手前で行っている。さらにAD変換開始
信号は演算回路から一定周期で出力され、出力されるタ
イミングはキャリアの山または谷の直後で行っている。
AD変換処理、PWM演算処理が終わるとオーバフロー
信号15aとアンダフロー信号15bの発生を計数する
監視処理になる。監視処理ではオーバフロー信号15a
とアンダフロー信号15bの発生数が設定計数になると
AD変換開始信号を発生している。キャリア周波数設定
の変更は例えばキャリアの上限周波数設定値の整数倍が
設定されているため、キャリア周波数の変更があっても
オーバフロー信号15aとアンダフロー信号15bの数
を計数する上限を変更することで、AD変換開始信号が
一定周期に保たれている。
FIG. 4 shows a signal waveform diagram in the case of the triangular wave modulation method. In FIG. 4, the overflow signal 15a is set to L (low level) when the output data 3a of the carrier frequency setting register matches the counter value 15c, and the underflow signal 15b is set to the counter value 15c.
When c matches 0, it is set to L (low level).
Moreover, writing to the PWM setting registers 4, 5, 6 and the carrier frequency setting register 3 for each phase is always performed before the peaks or valleys of the carrier. Further, the AD conversion start signal is output from the arithmetic circuit in a constant cycle, and the output timing is immediately after the peak or valley of the carrier.
When the AD conversion process and the PWM calculation process are completed, the monitoring process is performed to count the occurrences of the overflow signal 15a and the underflow signal 15b. Overflow signal 15a in the monitoring process
When the number of occurrences of the underflow signal 15b reaches the set count, the AD conversion start signal is generated. The carrier frequency setting is changed, for example, by setting an integral multiple of the upper limit frequency setting value of the carrier. Therefore, even if the carrier frequency is changed, the upper limit for counting the number of overflow signals 15a and underflow signals 15b can be changed. , AD conversion start signal is kept in a constant cycle.

【0007】[0007]

【発明が解決しようとする課題】上記従来のPWM発生
装置では、各相ADデータレジスタ7、8の読み出しと
キャリア周波数設定レジスタ3とPWM設定レジスタ4
〜6およびAD変換器への変換開始信号1iへの書き込
みを行うために演算回路1は常にオーバフロー信号15
aアンダフロー信号15bを監視してAD変換開始信号
を発生させ、各相ADデータレジスタ7、8の読み出し
を行い、前記電流データ7a,8aを用いてPWM演算
処理した後に各設定レジスタ3、4、5、6にデータを
書き込んでいた。したがって、キャリア発生回路15の
カウンタ値15cの内容とPWM設定レジスタ4〜6の
内容との比較検出により各相のPWM信号19b、19
d、19fが繰り返し出力されているが、キャリア周期
が短くなるとPWM信号を生成するために行われるPW
M演算処理時間中にオーバフロー信号15aまたはアン
ダフロー信号15bが発生するため、監視処理で前記1
5a,15bを計数することが出来ないため、演算回路
1の処理能力に対する負担が大きいという問題がある。
すなわち、高精度にPWM出力を制御するには一定周期
でAD変換開始信号発生させ、AD変換データレジスタ
を読み出し、PWM設定レジスタ4〜6およびキャリア
周波数設定レジスタ3への書き込みデータを高速に演算
し、この結果を書き込む必要がある。
In the conventional PWM generator described above, reading of the AD data registers 7 and 8 for each phase, the carrier frequency setting register 3 and the PWM setting register 4 are performed.
6 and the conversion start signal 1i for the AD converter, the arithmetic circuit 1 always outputs the overflow signal 15i.
a Underflow signal 15b is monitored, an AD conversion start signal is generated, the AD data registers 7 and 8 of each phase are read out, and PWM calculation processing is performed using the current data 7a and 8a. Data was written in 5, and 6. Therefore, the PWM signals 19b and 19 of each phase are detected by comparing and detecting the contents of the counter value 15c of the carrier generation circuit 15 and the contents of the PWM setting registers 4 to 6.
d and 19f are repeatedly output, but when the carrier cycle becomes short, PW is performed to generate the PWM signal.
Since the overflow signal 15a or the underflow signal 15b is generated during the M operation processing time, the above 1
Since 5a and 15b cannot be counted, there is a problem that the processing capacity of the arithmetic circuit 1 is heavily burdened.
That is, in order to control the PWM output with high accuracy, an AD conversion start signal is generated at a constant cycle, the AD conversion data register is read, and the write data to the PWM setting registers 4 to 6 and the carrier frequency setting register 3 are calculated at high speed. , Need to write this result.

【0008】キャリア同期出力型PWM制御装置は低速
ではキャリア周波数を下げ変調方式は3相変調、高速で
はキャリア周波数を上げ(3/2倍)変調方式は2相変
調で制御するためにキャリア周波数を可変している。一
般的な制御はサンプリング周期を一定としているため、
キャリア周期が変更されても電流検出及び電圧指令更新
の周期が一定になるようになっている。図4では、誘導
電動機22を低速運転から高速運転を行う際のAD変換
開始信号とキャリア周波数とPWM波形はU相で、PW
M設定レジスタ4へ書き込みがあった場合のみ図示され
ているが、実際には3相分のPWM設定データ4a、5
a、6aとキャリア比較値がPWM演算処理中に演算さ
れ各レジスタ3、4、5へ書き込まれている。このよう
な波形が何サイクルも出力される。この1サイクル毎に
オーバフロー信号15aおよびアンダフロー信号15b
を演算回路1で頻繁に計数し、所望の計数値に達する
と、AD変換開始信号を発生しAD変換器13,14の
各相ADデータ値を読み出し、各レジスタ3、4、5、
6にデータを書き込み、比較器で一致を検出して各相の
PWM信号19b、19d、19fを実現する必要があ
る。これらAD変換の開始信号出力、各レジスタ7、8
の読み出しおよび各レジスタ3、4、5、6へ設定値を
書き込むために演算回路1はこれらの処理を次のオーバ
フロー信号15aおよびアンダフロー信号15bが発生
する前に行う必要があった。さもなければ、周波数を上
げれず、高速運転もできなくるという問題があった。ま
た、インバータの低騒音化のため、キャリア周波数を高
くすると、PWM演算処理に制限がでて演算回路への負
担がますます大きくなること、高精度な制御ができない
という問題を有していた。
The carrier synchronous output type PWM control device lowers the carrier frequency at low speed and uses three-phase modulation for the modulation method, and raises the carrier frequency at high speed (3/2 times) for the two-phase modulation method to control the carrier frequency. It is variable. Since general control keeps the sampling period constant,
Even if the carrier cycle is changed, the current detection and voltage command update cycle is constant. In FIG. 4, the AD conversion start signal, the carrier frequency, and the PWM waveform when the induction motor 22 is operated from the low speed operation to the high speed operation are the U phase, and the PW
Although it is shown only when the M setting register 4 is written, the PWM setting data 4a, 5 for three phases is actually shown.
a and 6a and the carrier comparison value are calculated during the PWM calculation process and written in the registers 3, 4, and 5. Such a waveform is output for many cycles. Overflow signal 15a and underflow signal 15b every 1 cycle
Is frequently counted by the arithmetic circuit 1, and when the desired count value is reached, an AD conversion start signal is generated to read the AD data values of the respective phases of the AD converters 13 and 14, and the registers 3, 4, 5,
It is necessary to write data in 6 and detect the coincidence by the comparator to realize the PWM signals 19b, 19d and 19f of each phase. Start signal output of these AD conversions, each register 7, 8
In order to read out the data and write the set values to the registers 3, 4, 5, and 6, the arithmetic circuit 1 needs to perform these processes before the next overflow signal 15a and the underflow signal 15b are generated. Otherwise, there was a problem that the frequency could not be increased and high-speed driving could not be performed. Further, when the carrier frequency is increased to reduce the noise of the inverter, there are problems that the PWM calculation process is limited and the load on the calculation circuit is further increased, and high-precision control cannot be performed.

【0009】本発明はこれらの問題点を解決するために
なされたものであり、その目的は上記従演算回路の処理
能力に対する負担を低減し、演算回路による高精度なA
D変換開始タイミングを実現し、高キャリアにおいてP
WM演算処理時間制限を無くし、演算回路の処理能力に
対する負担を低減し、幅広いインバータ用途に対応でき
るPWM制御装置を提供することにある。即ち、ある任
意のキャリア周期におけるPWM信号のデータを1つ前
のサンプリング周期中において設定でき、演算回路がキ
ャリア発生回路から出力されるオーバフロー信号および
アンダフロー信号の監視による処理時間をなくし、イン
バータ装置のその他の機能のための多くの処理時間を提
供できるようにする。また、キャリア周波数の高速化に
おいても、幅広いインバータ用途に対応できるPWM波
形を生成することができるようにする。さらに、PWM
制御装置の運転中にキャリア周波数を変更した場合で
も、各相のPWM信号のパルス幅を高精度に制御し、安
定したPWM信号の波形を生成する。
The present invention has been made in order to solve these problems, and its purpose is to reduce the load on the processing capacity of the sub-arithmetic circuit and to realize a highly accurate A by the arithmetic circuit.
Achieves D conversion start timing, P at high carrier
An object of the present invention is to provide a PWM control device which can eliminate the WM calculation processing time limit, reduce the load on the processing capacity of the calculation circuit, and can be used for a wide range of inverter applications. That is, the data of the PWM signal in an arbitrary carrier cycle can be set in the previous sampling cycle, the processing time by monitoring the overflow signal and the underflow signal output from the carrier generation circuit by the arithmetic circuit is eliminated, and the inverter device Allows you to provide more processing time for other features of. In addition, it is possible to generate a PWM waveform that can be applied to a wide range of inverter applications even when the carrier frequency is increased. In addition, PWM
Even when the carrier frequency is changed during the operation of the control device, the pulse width of the PWM signal of each phase is controlled with high accuracy and a stable waveform of the PWM signal is generated.

【0010】[0010]

【課題を解決するための手段】上記問題点を解決するた
め本発明のPWM発生装置は、演算回路から出力される
値とキャリア発生回路出力との比較データからパルス幅
変調を行うPWM制御装置において、前記演算回路から
出力される複数の設定データを保持する第1段目の複数
のレジスタと、前記キャリア発生回路の山谷を計数する
キャリア山谷カウンタ回路と、前記キャリア山谷カウン
タ回路は前記キャリア山谷カウンタ回路に設定される値
と前記キャリア山谷カウンタ値とが一致したときキャリ
ア山谷カウンタ回路信号を出力し、前記第1段目の複数
のレジスタ出力をキャリア山谷カウンタ回路出力信号で
保持する第2段目の複数のレジスタと、前記キャリア発
生回路出力のカウンタ値と前記第2段目のレジスタ出力
とを比較する比較器と、電動機電流を検出する電流検出
器とを備えたものである。また、前記キャリア山谷カウ
ンタ回路出力信号に同期して、前記キャリア山谷カウン
タ回路設定値の最下位信号が”L”の場合前回出力を反
転し、”H”の場合前回出力を継続するキャリア状態信
号とすることを特徴とするものである。また、前記キャ
リア山谷カウンタ回路出力信号に同期して、AD変換器
を起動し前記電流検出器により電流検出するものであ
る。また、前記第2段目のレジスタをキャリアカウンタ
周波数値レジスタとし、前記キャリア山谷カウンタ回路
出力信号に同期してキャリア周波数を更新することを特
徴とするものである。また、前記第2段目のレジスタを
比較値レジスタとし、前記キャリア山谷カウンタ回路出
力信号に同期して電圧指令である比較器レジスタ値を更
新することを特徴とするものである。
In order to solve the above problems, a PWM generator of the present invention is a PWM controller for performing pulse width modulation from comparison data between a value output from an arithmetic circuit and carrier generator output. , A plurality of registers at the first stage for holding a plurality of setting data output from the arithmetic circuit, a carrier mountain / valley counter circuit for counting the mountains / valleys of the carrier generation circuit, and the carrier mountain / valley counter circuit is the carrier mountain / valley counter. A second stage that outputs a carrier mountain valley counter circuit signal when the value set in the circuit and the carrier mountain valley counter value match, and holds the plurality of register outputs of the first stage by the carrier mountain valley counter circuit output signal. Of a plurality of registers of the carrier generation circuit and the counter value of the output of the carrier generation circuit and the output of the register of the second stage When, in which a current detector for detecting a motor current. Further, in synchronization with the carrier mountain / valley counter circuit output signal, when the lowest signal of the carrier mountain / valley counter circuit set value is "L", the previous output is inverted, and when it is "H", the carrier output signal is continued. It is characterized by Further, the AD converter is activated and the current is detected by the current detector in synchronization with the output signal of the carrier mountain / valley counter circuit. Further, the second stage register is a carrier counter frequency value register, and the carrier frequency is updated in synchronization with the carrier peak / valley counter circuit output signal. Further, the second stage register is used as a comparison value register, and the comparator register value which is a voltage command is updated in synchronization with the carrier peak / valley counter circuit output signal.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面に基づいて説明する。図1は本発明の一実施形態
のPWM制御装置におけるPWM信号生成部分の構成を
示すブロック図である。キャリア周波数設定レジスタ
3、U相PWM設定レジスタ4、V相PWM設定レジス
タ5、W相PWM設定レジスタ6、U相ADデータレジ
スタ7、V相ADデータレジスタ8、キャリア発生回路
15、カウントクロック16、PWM発生回路19、ゲ
ートドライバ20、電流検出器21、電動機22は図3
に示したものと同じである。本発明のPWM制御装置で
は第1段目の複数のレジスタとしてキャリア山谷カウン
タ設定レジスタ2、キャリア周波数レジスタ設定レジス
タ3、U相PWM設定レジスタ4、V相PWM設定レジ
スタ5、W相PWM設定レジスタ6が割り当てられてい
る。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a PWM signal generation portion in a PWM control device according to an embodiment of the present invention. Carrier frequency setting register 3, U-phase PWM setting register 4, V-phase PWM setting register 5, W-phase PWM setting register 6, U-phase AD data register 7, V-phase AD data register 8, carrier generation circuit 15, count clock 16, The PWM generation circuit 19, the gate driver 20, the current detector 21, and the electric motor 22 are shown in FIG.
Is the same as that shown in. In the PWM control device of the present invention, the carrier mountain / counter counter setting register 2, the carrier frequency register setting register 3, the U-phase PWM setting register 4, the V-phase PWM setting register 5, and the W-phase PWM setting register 6 are used as the first-stage plural registers. Has been assigned.

【0012】一方キャリア山谷カウンタ値レジスタ17
は初期値がありこの値とオーバフロー信号15aとアン
ダフロー信号15bの発生数が一致したときキャリア山
谷カウンタ回路出力であるキャリア山谷カウンタ回路出
力信号を出力する。キャリア山谷カウンタ回路出力信号
で前記第1段目の複数のレジスタ出力を第2段目の複数
のレジスタにラッチしている。第2段目の複数のレジス
タとしてキャリア山谷カウンタ値レジスタ17、キャリ
ア周波数レジスタ値レジスタ9、U相比較値レジスタ1
0、V相PWM比較値レジスタ11、W相PWM比較値
レジスタ12が割り当てられている。また、U相PWM
発生回路19a、V相PWM発生回路19c、W相PW
M発生回路19eはそれぞれU相PWM比較値レジスタ
10、V相PWM比較値レジスタ11、W相PWM比較
値レジスタ12の出力データ10a、11a、12aを
カウンタ値15cと比較し、U相PWM信号19b、V
相PWM信号19d、W相PWM信号19fを出力す
る。また前記キャリア山谷カウンタ回路出力信号はAD
変換器13、14の変換開始端子に接続されており、キ
ャリア山谷カウンタ回路出力信号が発生するたびにAD
変換を行いその結果が13a、14aから出力される。
U相ADデータレジスタ7、V相ADデータレジスタ8
は前記13a、14aを保持しており演算回路1は読み
出し信号1g、1hでデータバス1aを経由して行われ
ている。
On the other hand, carrier Yamatani counter value register 17
Has an initial value, and when this value and the number of occurrences of the overflow signal 15a and the underflow signal 15b match, the carrier peak / valley counter circuit output signal which is the carrier peak / valley counter circuit output is output. The outputs of the plurality of registers in the first stage are latched in the plurality of registers in the second stage by the output signal of the carrier mountain / valley counter circuit. As a plurality of registers in the second stage, carrier mountain / valley counter value register 17, carrier frequency register value register 9, U-phase comparison value register 1
0, V-phase PWM comparison value register 11 and W-phase PWM comparison value register 12 are assigned. Also, U-phase PWM
Generation circuit 19a, V-phase PWM generation circuit 19c, W-phase PW
The M generation circuit 19e compares the output data 10a, 11a, 12a of the U-phase PWM comparison value register 10, the V-phase PWM comparison value register 11, and the W-phase PWM comparison value register 12 with the counter value 15c, respectively, and outputs the U-phase PWM signal 19b. , V
The phase PWM signal 19d and the W phase PWM signal 19f are output. The output signal of the carrier Yamatani counter circuit is AD.
It is connected to the conversion start terminals of the converters 13 and 14, and AD is generated every time a carrier mountain / counter counter circuit output signal is generated.
Conversion is performed and the result is output from 13a and 14a.
U-phase AD data register 7, V-phase AD data register 8
Holds 13a and 14a, and the arithmetic circuit 1 performs read signals 1g and 1h via the data bus 1a.

【0013】このように構成されたPWM制御装置の動
作について説明する。まず、キャリア発生回路15をカ
ウントクロック16でカウント動作させる。そして、キ
ャリア山谷カウンタの初期値動作により最初にキャリア
山谷カウンタ回路出力信号18aが出力される。キャリ
ア山谷カウンタ回路出力信号でAD変換器13、14は
動作し演算回路1はこれらのデータをデータバス1から
読み出し信号1g、1hで読み出す。読み出したデータ
により演算回路1はPWM演算を行い次のキャリア山谷
カウンタ回路出力信号で有効になる各データをキャリア
山谷カウンタ設定レジスタ2、キャリア周波数レジスタ
設定レジスタ3、U相PWM設定レジスタ4、V相PW
M設定レジスタ5、W相PWM設定レジスタ6へ書き込
んでいる。
The operation of the PWM control device thus configured will be described. First, the carrier generation circuit 15 is caused to count by the count clock 16. Then, the carrier peak / valley counter circuit output signal 18a is first output by the initial value operation of the carrier peak / valley counter. The AD converters 13 and 14 operate with the carrier mountain / counter counter circuit output signal, and the arithmetic circuit 1 reads out these data from the data bus 1 with read signals 1g and 1h. The arithmetic circuit 1 performs a PWM operation on the basis of the read data, and each data that becomes valid in the next carrier mountain / valley counter circuit output signal is converted into carrier mountain / valley counter setting register 2, carrier frequency register setting register 3, U phase PWM setting register 4, V phase. PW
Writing to the M setting register 5 and the W-phase PWM setting register 6.

【0014】まず、PWM信号発生の周波数のデータ3
が設定された場合の動作について説明する。キャリア周
波数を変更する場合、まず演算部からキャリア周波数設
定レジスタ3にデータが書き込まれる。キャリア山谷カ
ウンタ回路出力信号が発生すると、キャリア周波数設定
値レジスタ9の値はキャリア周波数設定レジスタ出力3
aを保持し、キャリア発生回路は前記レジスタ出力9a
の値に従う周波数となる。したがって、周波数は演算回
路から出力されて最初に来るキャリア山谷カウンタ回路
出力信号で更新される。
First, frequency data 3 for generating a PWM signal
The operation when is set will be described. When changing the carrier frequency, first, data is written from the arithmetic unit to the carrier frequency setting register 3. When an output signal of the carrier ridge / valley counter circuit is generated, the value of the carrier frequency setting value register 9 is changed to the carrier frequency setting register output 3
a, and the carrier generator circuit outputs the register output 9a.
The frequency depends on the value of. Therefore, the frequency is updated by the carrier mountain trough counter circuit output signal which comes out first from the arithmetic circuit.

【0015】次に、各相のPWM設定が更新された場合
の動作について説明する。各相PWM比較データの演算
結果がPWM設定レジスタ4、5、6に順次書き込ま
れ、キャリア山谷カウンタ回路出力信号が発生すると、
各相比較値レジスタ10、11、12の値は前記PWM
設定レジスタ出力4a、5a、6aを保持し、PWM発
生回路19は前記レジスタ出力10a、11a、12a
の値に従うPWM生成を行う。したがって、PWM設定
値およびキャリア周波数設定が行われた場合、演算結果
が出力されて最初に来るキャリア山谷カウンタ回路出力
信号で更新される。図2は、本実施形態において、低速
運転から高速運転になるときのキャリア周波数設定とP
WM設定が行われた場合のキャリア発生回路15とU相
のPWM発生回路19aの波形を示す。オーバフロー信
号15a、アンダフロー信号15bおよび各レジスタへ
の書き込み信号は通常時“H”であり、動作時は例えば
カウントクロック1パルス分の“L”パルスとしてい
る。
Next, the operation when the PWM setting of each phase is updated will be described. When the calculation results of the PWM comparison data for each phase are sequentially written in the PWM setting registers 4, 5, and 6 and the carrier peak / valley counter circuit output signal is generated,
The value of each phase comparison value register 10, 11, 12 is the PWM
The setting register outputs 4a, 5a, 6a are held, and the PWM generating circuit 19 outputs the register outputs 10a, 11a, 12a.
PWM is generated according to the value of. Therefore, when the PWM set value and the carrier frequency are set, the calculation result is output and updated with the first carrier peak / valley counter circuit output signal. FIG. 2 shows the carrier frequency setting and P when changing from low speed operation to high speed operation in the present embodiment.
The waveforms of the carrier generation circuit 15 and the U-phase PWM generation circuit 19a when the WM setting is performed are shown. The overflow signal 15a, the underflow signal 15b, and the write signal to each register are normally "H", and during operation, for example, one pulse of the count clock is "L" pulse.

【0016】図2を参照しながら図1のPWM制御装置
の動作をより詳しく説明する。図2において、キャリア
発生回路15がカウントクロック16で動作していると
き演算回路1はPWM発生を制御するために様々な演算
を常に繰り返している。PWM演算はこれらの中の1つ
の処理である。PWM演算が行われると、その過程でキ
ャリア山谷カウンタ設定値とキャリア周波数値とPWM
比較値が演算され、第1段目の複数のレジスタであるキ
ャリア山谷カウンタ設定レジスタ2、キャリア周波数設
定レジスタ3、U相PWM設定レジスタ4、V相PWM
設定レジスタ5、W相PWM設定レジスタ6に計算結果
が書き込まれる。書きこまれたレジスタ出力は第2段目
の複数のレジスタにそれぞれ接続されており、キャリア
山谷カウンタ回路出力信号の発生と共に第2段目の複数
のレジスタであるキャリア山谷カウンタ値レジスタ1
7、キャリア周波値レジスタ9、U相比較値レジスタ1
0、V相比較値レジスタ11、W相比較値レジスタ12
に保持される。
The operation of the PWM controller of FIG. 1 will be described in more detail with reference to FIG. In FIG. 2, when the carrier generation circuit 15 is operating with the count clock 16, the arithmetic circuit 1 constantly repeats various calculations to control the PWM generation. The PWM operation is one of these processes. When the PWM operation is performed, the carrier peak / valley counter setting value, the carrier frequency value, and the PWM
The comparison value is calculated, and the carrier mountain / valley counter setting register 2, the carrier frequency setting register 3, the U-phase PWM setting register 4, and the V-phase PWM, which are a plurality of registers in the first stage
The calculation result is written in the setting register 5 and the W-phase PWM setting register 6. The written register outputs are respectively connected to the plurality of registers of the second stage, and when the carrier mountain / valley counter circuit output signal is generated, the carrier mountain / valley counter value register 1 which is the plurality of registers of the second stage is generated.
7, carrier frequency value register 9, U-phase comparison value register 1
0, V phase comparison value register 11, W phase comparison value register 12
Held in.

【0017】キャリア山谷カウンタ回路18はキャリア
山谷カウンタ設定レジスタ2に書きこまれた値を、キャ
リア山谷カウンタ回路出力信号でキャリア山谷カウンタ
値レジスタ17にロードするが、初期起動時はレジスタ
2、17は“0”に初期化されており、最初のキャリア
の開始でキャリア山谷カウンタ回路出力18a(第3信
号)が出力される。またその他の第1段目および第2段
目の複数のレジスタも所定の値に初期化されている。初
期値により発生したキャリア山谷カウンタ回路出力信号
でAD変換を開始し、演算回路1はU相V相の電流値よ
り1回目のPWM演算を行い、図ではU相PWMのみ値
を変更している。変更されたU相PWM設定レジスタ4
はキャリア山谷カウンタ出力であるキャリア山谷カウン
タ回路出力信号が出力されると、U相比較値レジスタ1
0に保持され、次段のU相PWM発生回路19aでキャ
リアカウンタ値15cと比較されU相PWM信号19b
が発生する。次に高速運転にするためにキャリア周波数
を上げたのが2回目の演算処理で当該処理が終了後にキ
ャリア山谷カウンタ設定レジスタ2に“1”、キャリア
周波数設定レジスタ3に前回値の1/2の設定値および
U相PWM設定レジスタ4へ所望のデータが書き込まれ
ている。そしてこれらの書き込みが第2段目のレジスタ
に保持されるのは図中のキャリアが最初に発生する谷と
なる。これ以降キャリア周期は1/2になる。また、キ
ャリア山谷カウンタ設定は“1”となり、アンダフロー
信号、オーバフロー信号を2回数えると、キャリア山谷
カウンタ回路出力信号を出力するため前回と同じ周期を
保つことができる。
The carrier hill / valley counter circuit 18 loads the value written in the carrier hill / valley counter setting register 2 into the carrier hill / valley counter value register 17 with the carrier hill / valley counter circuit output signal. It is initialized to "0", and the carrier peak / valley counter circuit output 18a (third signal) is output at the start of the first carrier. Further, the other registers in the first and second stages are also initialized to predetermined values. The AD conversion is started by the carrier mountain / valley counter circuit output signal generated by the initial value, the arithmetic circuit 1 performs the first PWM calculation from the U-phase V-phase current value, and only the U-phase PWM is changed in the figure. . Modified U-phase PWM setting register 4
Is the output of the carrier-yama-tani counter circuit, which is the carrier-yama-tani counter output, the U-phase comparison value register 1
The U-phase PWM signal 19b is held at 0 and compared with the carrier counter value 15c in the U-phase PWM generation circuit 19a at the next stage.
Occurs. Next, the carrier frequency is raised in order to achieve high-speed operation in the second arithmetic processing, and after the processing is completed, the carrier peak / valley counter setting register 2 is set to "1" and the carrier frequency setting register 3 is set to 1/2 of the previous value. Desired data is written in the set value and the U-phase PWM setting register 4. Then, these writings are held in the register of the second stage in the valley where carriers in the figure first occur. After that, the carrier period is halved. Further, the carrier peak / valley counter setting becomes "1", and when the underflow signal and the overflow signal are counted twice, the carrier peak / valley counter circuit output signal is output, so that the same cycle as the previous cycle can be maintained.

【0018】またキャリア状態信号は前記キャリア山谷
カウンタ回路出力信号に同期して前記キャリア山谷カウ
ンタ回路設定値の最下位信号が”L”の場合前回出力を
反転し”H”の場合前回出力を継続するがこの信号が
“H”のとき次にキャリア山谷カウンタ回路出力信号が
発生するのはキャリアの山で、“L”のとき次にキャリ
ア山谷カウンタ回路出力信号が発生するのはキャリアの
谷であることを示す信号で、次のPWMパタンがキャリ
アの山谷どちらで有効になるかが解るため、より高度な
PWM制御ができる。
The carrier status signal is synchronized with the carrier peak / valley counter circuit output signal, the previous output is inverted when the lowest signal of the carrier peak / valley counter circuit setting value is "L", and the previous output is continued when it is "H". However, when this signal is "H", the carrier peak / valley counter circuit output signal is generated next at the carrier peak, and when it is "L", the carrier peak / valley counter circuit output signal is generated next at the carrier peak. Since a signal indicating that the next PWM pattern is effective in which of the carrier peaks and valleys, more advanced PWM control can be performed.

【0019】このように、サンプリング周期を持ったキ
ャリア山谷カウンタ回路出力信号でキャリア山谷カウン
タ設定レジスタ、キャリア周波数設定レジスタ、U相P
WM設定レジスタ、V相PWM設定レジスタ、W相PW
M設定レジスタの更新ができるため、演算回路1による
キャリア発生回路15およびPWM発生回路19へキャ
リア周波数設定値や各相のPWM設定値を書き込むタイ
ミングを検出する間での待ち時間を低減し、演算回路1
の処理能力に対する負担を低減し、幅広いインバータ用
途に対応できるPWM波形を生成することができる。な
お、上記実施形態では、U相波形について説明したが、
V相およびW相波形についてもU相波形と同様に実現で
きることはいうまでもない。
As described above, the carrier peak / valley counter setting register, the carrier frequency setting register, and the U-phase P are used with the output signal of the carrier peak / valley counter circuit having the sampling period.
WM setting register, V-phase PWM setting register, W-phase PW
Since the M setting register can be updated, the waiting time between detecting the timing of writing the carrier frequency setting value and the PWM setting value of each phase to the carrier generation circuit 15 and the PWM generation circuit 19 by the calculation circuit 1 is reduced, and the calculation is performed. Circuit 1
It is possible to reduce the load on the processing power of and to generate a PWM waveform that can be applied to a wide range of inverter applications. Although the U-phase waveform has been described in the above embodiment,
It goes without saying that the V-phase and W-phase waveforms can be realized similarly to the U-phase waveform.

【0020】[0020]

【発明の効果】以上説明したように本発明は、電流値を
もとに演算回路1で演算処理されたデータを一時的に保
持する第1段目の複数のレジスタと、オーバフロー信号
15aとアンダフロー信号15bの発生数を計数するキ
ャリア山谷カウンタと、キャリア山谷カウンタ値レジス
タ出力17aとキャリア山谷カウンタ値とが一致した場
合出力されるキャリア山谷カウンタ回路出力信号18a
と、前記第1段目の複数のレジスタAを前記キャリア山
谷カウンタ回路出力信号で保持する第2段目の複数のレ
ジスタBと、キャリア山谷カウンタ値レジスタの最下位
信号が”L”の場合前回出力を反転し”H”の場合前回
出力を継続するキャリア状態信号とを設けたことによ
り、ある任意のキャリア周期におけるPWM信号のデー
タを1つ前のサンプリング周期中において設定でき、演
算回路がキャリア発生回路から出力されるオーバフロー
信号およびアンダフロー信号の監視による処理時間をな
くし、インバータ装置のその他の機能のための多くの処
理時間を提供できる。また、キャリア周波数の高速化に
おいても、演算回路の処理能力に対する負担が軽減され
るため、幅広いインバータ用途に対応できるPWM波形
を生成することができる。さらに、キャリア周波数の変
更が合った場合でもAD変換開始信号の周期すなわちサ
ンプリング周期はキャリア山谷カウンタ値に従い、一定
周期で行われるため各相のPWM信号のパルス幅を高精
度に制御することができるため安定したPWM信号の波
形を実現することができる。
As described above, according to the present invention, a plurality of registers in the first stage for temporarily holding the data processed by the arithmetic circuit 1 based on the current value, the overflow signal 15a and the underflow signal 15a. Carrier peak / valley counter circuit which counts the number of generations of flow signal 15b, and carrier peak / valley counter circuit output signal 18a output when carrier peak / valley counter value register output 17a and carrier peak / valley counter value match
And a plurality of registers B of the second stage for holding the plurality of registers A of the first stage with the carrier peak / valley counter circuit output signals, and a case where the lowest signal of the carrier peak / valley counter value register is "L" When the output is inverted and the output is "H", by providing the carrier status signal that continues the previous output, the data of the PWM signal in a certain arbitrary carrier cycle can be set in the previous sampling cycle, and the arithmetic circuit operates as a carrier. It is possible to eliminate the processing time due to the monitoring of the overflow signal and the underflow signal output from the generation circuit, and to provide a large amount of processing time for other functions of the inverter device. Further, even when the carrier frequency is increased, the load on the processing capability of the arithmetic circuit is reduced, so that it is possible to generate a PWM waveform that can be applied to a wide range of inverter applications. Further, even if the carrier frequency is changed, the period of the AD conversion start signal, that is, the sampling period is performed at a constant period according to the carrier peak / valley counter value, so that the pulse width of the PWM signal of each phase can be controlled with high accuracy. Therefore, a stable waveform of the PWM signal can be realized.

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

【図1】本発明の一実施形態のPWM制御装置のブロッ
ク図である。
FIG. 1 is a block diagram of a PWM control device according to an embodiment of the present invention.

【図2】本発明である図1のPWM制御装置のタイミン
グチャートである。
FIG. 2 is a timing chart of the PWM control device of FIG. 1 according to the present invention.

【図3】従来例のPWM制御装置のブロック図である。FIG. 3 is a block diagram of a conventional PWM control device.

【図4】従来例である図3のPWM制御装置のタイミン
グチャートである。
FIG. 4 is a timing chart of the PWM control device of FIG. 3 which is a conventional example.

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

1 演算回路 1a データバス 1b キャリア山谷カウンタ設定書き込み信号 1c キャリア周波数設定書き込み信号 1d U相PWM設定書き込み信号 1e V相PWM設定書き込み信号 1f W相PWM設定書き込み信号 1g U相ADデータ読み出し信号 1h V相ADデータ読み出し信号 1i AD変換開始信号 2 キャリア山谷カウンタ設定レジスタ 2a キャリア山谷カウンタ設定レジスタ出力 3 キャリア周波数設定レジスタ 3a キャリア周波数設定レジスタ出力 4 U相PWM設定レジスタ 4a U相PWM設定レジスタ出力 5 V相PWM設定レジスタ 5a V相PWM設定レジスタ出力 6 W相PWM設定レジスタ 6a W相PWM設定レジスタ出力 7 U相ADデータレジスタ 7a U相ADデータレジスタ出力 8 V相ADデータレジスタ 8a V相ADデータレジスタ出力 9 キャリア周波数値レジスタ 9a キャリア周波数値レジスタ出力 10 U相比較値レジスタ 10a U相比較値レジスタ出力 11 V相比較値レジスタ 11a V相比較値レジスタ出力 12 W相比較値レジスタ 12a W相比較値レジスタ出力 13、14 AD変換器 15 キャリア発生回路 15a オーバフロー信号 15b アンダーフロー信号 15c カウンタ値 16 カウントクロック 17 キャリア山谷カウンタ値レジスタ 17a キャリア山谷カウンタ値レジスタ出力 18 キャリア山谷カウンタ回路 18a キャリア山谷カウンタ回路出力 18b キャリア状態信号 19 PWM発生回路 20 ゲートドライバ回路 21 電流検出器 22 電動機 1 arithmetic circuit 1a Data bus 1b Carrier Yamatani counter setting write signal 1c Carrier frequency setting write signal 1d U-phase PWM setting write signal 1e V-phase PWM setting write signal 1f W-phase PWM setting write signal 1g U-phase AD data read signal 1h V-phase AD data read signal 1i AD conversion start signal 2 Carrier Yamatani counter setting register 2a Carrier Yamatani counter setting register output 3 Carrier frequency setting register 3a Carrier frequency setting register output 4 U-phase PWM setting register 4a U-phase PWM setting register output 5 V phase PWM setting register 5a V phase PWM setting register output 6 W-phase PWM setting register 6a W-phase PWM setting register output 7 U-phase AD data register 7a U phase AD data register output 8 V phase AD data register 8a V phase AD data register output 9 Carrier frequency value register 9a Carrier frequency value register output 10 U phase comparison value register 10a U-phase comparison value register output 11 V phase comparison value register 11a V phase comparison value register output 12 W phase comparison value register 12a W-phase comparison value register output 13, 14 AD converter 15 Carrier generation circuit 15a Overflow signal 15b Underflow signal 15c counter value 16 count clock 17 Carrier Yamatani counter value register 17a Carrier Yamatani counter value register output 18 Carrier Yamatani counter circuit 18a Carrier Yamatani counter circuit output 18b Carrier status signal 19 PWM generation circuit 20 Gate driver circuit 21 Current detector 22 Electric motor

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 演算回路から出力される値とキャリア発
生回路出力との比較データからパルス幅変調を行うPW
M制御装置において、 前記演算回路から出力される複数の設定データを保持す
る第1段目の複数のレジスタと、 前記キャリア発生回路の山谷を計数するキャリア山谷カ
ウンタ回路と、 前記キャリア山谷カウンタ回路は前記キャリア山谷カウ
ンタ回路に設定される値と前記キャリア山谷カウンタ値
とが一致したときキャリア山谷カウンタ回路信号を出力
し、前記第1段目の複数のレジスタ出力をキャリア山谷
カウンタ回路出力信号で保持する第2段目の複数のレジ
スタと、 前記キャリア発生回路出力のカウンタ値と前記第2段目
のレジスタ出力とを比較する比較器と、 電動機電流を検出する電流検出器とを備えたことを特徴
とするPWM制御装置。
1. A PW that performs pulse width modulation based on comparison data between a value output from an arithmetic circuit and an output from a carrier generation circuit.
In the M control device, a plurality of registers in the first stage for holding a plurality of setting data output from the arithmetic circuit, a carrier mountain / valley counter circuit for counting the mountains / valleys of the carrier generation circuit, and the carrier mountain / valley counter circuit When the value set in the carrier mountain / valley counter circuit and the carrier mountain / valley counter value match, a carrier mountain / valley counter circuit signal is output, and the plurality of register outputs of the first stage are held by the carrier mountain / valley counter circuit output signal. A plurality of registers in the second stage, a comparator for comparing the counter value of the carrier generation circuit output with the register output in the second stage, and a current detector for detecting the motor current. And a PWM control device.
【請求項2】 前記キャリア山谷カウンタ回路出力信号
に同期して、前記キャリア山谷カウンタ回路設定値の最
下位信号が”L”の場合前回出力を反転し、”H”の場
合前回出力を継続するキャリア状態信号とすることを特
徴とする請求項1に記載のPWM制御装置。
2. When the lowest signal of the carrier peak / valley counter circuit set value is "L", the previous output is inverted in synchronization with the carrier peak / valley counter circuit output signal, and the previous output is continued when it is "H". The PWM control device according to claim 1, wherein the PWM control device uses a carrier state signal.
【請求項3】 前記キャリア山谷カウンタ回路出力信号
に同期して、AD変換器を起動し前記電流検出器により
電流検出することを特徴とする請求項1に記載のPWM
制御装置。
3. The PWM according to claim 1, wherein the AD converter is activated and the current is detected by the current detector in synchronization with the carrier mountain / valley counter circuit output signal.
Control device.
【請求項4】 前記第2段目のレジスタをキャリアカウ
ンタ周波数値レジスタとし、前記キャリア山谷カウンタ
回路出力信号に同期してキャリア周波数を更新すること
を特徴とする請求項1に記載のPWM制御装置。
4. The PWM control device according to claim 1, wherein the second-stage register is a carrier counter frequency value register, and the carrier frequency is updated in synchronization with the carrier peak / valley counter circuit output signal. .
【請求項5】 前記第2段目のレジスタを比較値レジス
タとし、前記キャリア山谷カウンタ回路出力信号に同期
して電圧指令である比較器レジスタ値を更新することを
特徴とする請求項1に記載のPWM制御装置。
5. The comparator register value, which is a voltage command, is updated in synchronism with the carrier mountain / counter counter circuit output signal, wherein the second stage register is a comparison value register. PWM controller.
JP2002077679A 2002-03-20 2002-03-20 PWM controller Expired - Lifetime JP4135132B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002077679A JP4135132B2 (en) 2002-03-20 2002-03-20 PWM controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002077679A JP4135132B2 (en) 2002-03-20 2002-03-20 PWM controller

Publications (2)

Publication Number Publication Date
JP2003284382A true JP2003284382A (en) 2003-10-03
JP4135132B2 JP4135132B2 (en) 2008-08-20

Family

ID=29228062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002077679A Expired - Lifetime JP4135132B2 (en) 2002-03-20 2002-03-20 PWM controller

Country Status (1)

Country Link
JP (1) JP4135132B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005124387A (en) * 2003-09-26 2005-05-12 Fuji Electric Systems Co Ltd Control method for synchronous motor driving gear
JP2006014449A (en) * 2004-06-24 2006-01-12 Matsushita Electric Ind Co Ltd Pwm circuit and pwm circuit control method
WO2006041112A1 (en) * 2004-10-14 2006-04-20 Matsushita Electric Works, Ltd. Massage machine
JP2006158064A (en) * 2004-11-29 2006-06-15 Renesas Technology Corp Semiconductor integrated circuit, pwm signal output unit, and power conversion control unit
JP2006217776A (en) * 2005-02-07 2006-08-17 Yaskawa Electric Corp Pwm inverter system and its control method
JP2007020375A (en) * 2005-07-11 2007-01-25 Nissan Motor Co Ltd Method of controlling inverter
CN111740450A (en) * 2020-05-09 2020-10-02 青岛鼎信通讯股份有限公司 PWM carrier synchronization method applied to direct-hanging 10kV charging station
JP7423975B2 (en) 2019-10-24 2024-01-30 日産自動車株式会社 Power converter control method and power converter control system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995304B (en) * 2017-12-29 2020-12-01 东南大学 Method for reducing noise of switched reluctance motor based on adjustment of PWM carrier frequency

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005124387A (en) * 2003-09-26 2005-05-12 Fuji Electric Systems Co Ltd Control method for synchronous motor driving gear
JP4681830B2 (en) * 2004-06-24 2011-05-11 パナソニック株式会社 PWM circuit and PWM circuit control method
JP2006014449A (en) * 2004-06-24 2006-01-12 Matsushita Electric Ind Co Ltd Pwm circuit and pwm circuit control method
US8092407B2 (en) 2004-10-14 2012-01-10 Panasonic Electric Works Co., Ltd. Massage machine
KR100861159B1 (en) 2004-10-14 2008-09-30 마츠시다 덴코 가부시키가이샤 Massage machine
WO2006041112A1 (en) * 2004-10-14 2006-04-20 Matsushita Electric Works, Ltd. Massage machine
JP2006158064A (en) * 2004-11-29 2006-06-15 Renesas Technology Corp Semiconductor integrated circuit, pwm signal output unit, and power conversion control unit
JP2006217776A (en) * 2005-02-07 2006-08-17 Yaskawa Electric Corp Pwm inverter system and its control method
JP2007020375A (en) * 2005-07-11 2007-01-25 Nissan Motor Co Ltd Method of controlling inverter
JP4640004B2 (en) * 2005-07-11 2011-03-02 日産自動車株式会社 Inverter control method
JP7423975B2 (en) 2019-10-24 2024-01-30 日産自動車株式会社 Power converter control method and power converter control system
CN111740450A (en) * 2020-05-09 2020-10-02 青岛鼎信通讯股份有限公司 PWM carrier synchronization method applied to direct-hanging 10kV charging station
CN111740450B (en) * 2020-05-09 2023-05-30 青岛鼎信通讯股份有限公司 PWM carrier synchronization method applied to direct-hanging type 10kV charging station

Also Published As

Publication number Publication date
JP4135132B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
JP5178799B2 (en) Motor control device
US7852032B2 (en) AD conversion control circuit and related arts
JPH07108095B2 (en) Inverter device and control method thereof
US8089232B2 (en) Motor drive device and semiconductor integrated circuit device
US8093845B2 (en) Controller and MCU chip for controlling 3-phase brushless DC motor
JPH10155278A (en) Inverter control method and its equipment
JP2003164159A (en) Current detection device for three-phase inverter
JP4135132B2 (en) PWM controller
JP2005269880A (en) Three-phase voltage type pwm inverter device
JP2005117839A (en) Method and apparatus for generating pulse width modulated wave
JP5036056B2 (en) Timer unit circuit and method of using the same
JP3350010B2 (en) Three-phase pulse width modulation waveform generator
US6707406B2 (en) Semiconductor device for inverter control and control method
JP4557050B2 (en) Signal control device
JPH07163189A (en) Pwm controller for motor
JPH09117152A (en) Current controller for voltage type pwm inverter
JP3404230B2 (en) Three-phase PWM waveform generator
JPH0219021A (en) Digital pulse width modulation circuit
JPS6380776A (en) Current controller for pwm inverter
CN117270487B (en) Sampling control system, method and chip for analog signals
JP2008153839A (en) Ad converter
CN115276621B (en) High-precision pulse width modulation method and device
JP7314103B2 (en) electric motor controller
JPH1175375A (en) 3-phase pulse width modulated waveform generator
CN111064415B (en) Motor control device, method and system and vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080416

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080509

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080522

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4135132

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 6

EXPY Cancellation because of completion of term