JPH0622556A - Pwm pattern generator circuit - Google Patents

Pwm pattern generator circuit

Info

Publication number
JPH0622556A
JPH0622556A JP4172639A JP17263992A JPH0622556A JP H0622556 A JPH0622556 A JP H0622556A JP 4172639 A JP4172639 A JP 4172639A JP 17263992 A JP17263992 A JP 17263992A JP H0622556 A JPH0622556 A JP H0622556A
Authority
JP
Japan
Prior art keywords
register
output
pwm
counter
value
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
JP4172639A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yamamoto
康弘 山本
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP4172639A priority Critical patent/JPH0622556A/en
Publication of JPH0622556A publication Critical patent/JPH0622556A/en
Pending legal-status Critical Current

Links

Landscapes

  • Inverter Devices (AREA)

Abstract

PURPOSE:To lessen the increase of the operations of a CPU and to obtain smooth output voltage, by causing a voltage command to change linearly instead of changing in steps. CONSTITUTION:Variation command of a PWM command is written in a fourth register R22, and it supplies data to a latch circuit DQ1 by the output from an N-nary counter NCO. And the output of this circuit DQ1 is given to an adder circuit ADD2, and it is added to the output of a third resistor Q1 with the adder circuit ADD2. After that, it changes the value of the third register Q1 through the medium of a selector switch S25. The output of the third register Q1 is compared with the output of an up-down counter UDC by a comparator circuit CP1, and a PWM pattern is obtained as its output.

Description

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

【0001】[0001]

【産業上の利用分野】 可変速駆動装置に使用されるイ
ンバ−タを制御するためのPWMパタ−ン発生回路に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PWM pattern generation circuit for controlling an inverter used in a variable speed drive device.

【0002】[0002]

【従来の技術】従来、インバ−タ用のPWMパタ−ン発
生方法の内、アナログ回路でPWMパタ−ンを発生する
方法として三角波の搬送波と電圧指令との大小比較を行
って、パタ−ン演算する方法が一般的である。前述の三
角波の変わりにアップダウンカウンタのカウント値を用
い、そのカウント値とCPU等から書き込まれたレジス
タの値とをデジタルコンパレ−タで比較すれば、デジタ
ル回路でも同様な回路が実現できる。図5はそのブロッ
ク図で、図5において、中央処理装置CPUは三角波の
上限値をキャリヤカウンタ上限指令書き込みレジスタR
1に書き込むとともに各相の電圧指令をPWM指令書き
込みレジスタR2、R3に書き込む。アップダウンカウ
ンタUDCはレジスタR1に設定された上限値までアッ
プダウンを繰り返すとともに図6に示す三角波の上限ま
たは下限の頂点の時点でアップダウンの切換をアップダ
ウン切換部UDSで行う。このアップダウン切換部UD
SはスイッチS1を通して、次のキャリア振幅を読み込
むデ−タラッチ信号Aを出力する。
2. Description of the Related Art Conventionally, among the PWM pattern generation methods for inverters, as a method for generating a PWM pattern in an analog circuit, the magnitude of a triangular wave carrier and a voltage command are compared to determine the pattern. The calculation method is generally used. By using the count value of the up / down counter instead of the triangular wave and comparing the count value with the value of the register written from the CPU or the like by the digital comparator, a similar circuit can be realized by a digital circuit. 5 is a block diagram thereof. In FIG. 5, the central processing unit CPU sets the upper limit value of the triangular wave to the carrier counter upper limit command write register R.
1 and the voltage command of each phase is written in the PWM command write registers R2 and R3. The up / down counter UDC repeats up / down to the upper limit value set in the register R1 and performs up / down switching at the apex of the upper or lower limit of the triangular wave shown in FIG. 6 by the up / down switching unit UDS. This up / down switching unit UD
S outputs a data latch signal A for reading the next carrier amplitude through the switch S1.

【0003】Q1、Q2はPWMコンパレ−タ用レジス
タで、このレジスタQ1、Q2は中央処理装置CPUよ
りレジスタR2、R3に書き込まれるPWM指令の各相
についてのデ−タの書き込み時刻にバラツキがあるため
のバッファ用レジスタである。レジスタR2、R3はデ
−タラッチ信号Aの三角波頂点の時刻毎に各相共同時に
デ−タをレジスタQ1、Q2に転送する。このように転
送することにより三相指令が同時に変化する。CP1、
CP2は大小比較回路で、この比較回路CP1、CP2
は各相のPWM指令値(Q1,Q2の値)とアップダウ
ンカウンタUDCの出力(キャリヤ値)との大小の比較
を行って、出力に各相のPWMパルスパタ−ンを発生す
る。多相の場合にはレジスタR1,R2、Q1,Q2、
Q1,Q2、CP1,CP2、S2,S3を増加するこ
とにより実現できる。
Q1 and Q2 are PWM comparator registers, and the registers Q1 and Q2 have variations in the data writing time for each phase of the PWM command written in the registers R2 and R3 by the central processing unit CPU. Is a buffer register for. The registers R2 and R3 transfer data to the registers Q1 and Q2 at the time of each triangular wave apex of the data latch signal A at the time of each phase cooperation. By transferring in this way, the three-phase command changes simultaneously. CP1,
CP2 is a size comparison circuit. These comparison circuits CP1 and CP2
Compares the PWM command values (Q1 and Q2 values) of each phase with the output (carrier value) of the up / down counter UDC to generate a PWM pulse pattern of each phase at the output. In the case of polyphase, registers R1, R2, Q1, Q2,
This can be realized by increasing Q1, Q2, CP1, CP2, S2, S3.

【0004】[0004]

【発明が解決しようとする課題】最近、IGBT、FE
Tの開発によりPWMのキャリア周波数が高くできるよ
うになってきた。しかし、PWM電圧指令時間は中央処
理装置CPUの演算能力の限界により、PWMキャリア
の半周期では演算しきれなくなってきた。そこで、図3
に示すように、前記図5にN進カウンタNCO、レジス
タR10およびスイッチS10を追加した回路が実用化
されている。図3において、レジスタR10はN進カウ
ンタNCOのカウント分周値を設定するものである。N
進カウンタNCOはアップダウン切換部UDSから出力
される三角波頂点パルスをカウントし、スイッチS10
によりN進カウンタNCOの分周パルス出力と同時に次
のN分周値をロ−ドする。これは図5において、スイッ
チS2、S3がオンしてレジスタQ1、Q2にロ−ドす
るタイミングをN分周値に1回出力するデ−タラッチ信
号Bに置き換えたものである。
Recently, IGBTs and FEs have been proposed.
With the development of T, the carrier frequency of PWM can be increased. However, the PWM voltage command time cannot be calculated in the half cycle of the PWM carrier due to the limit of the calculation capability of the central processing unit CPU. Therefore, FIG.
As shown in FIG. 5, a circuit in which an N-ary counter NCO, a register R10 and a switch S10 are added to FIG. 5 has been put into practical use. In FIG. 3, a register R10 sets the count division value of the N-ary counter NCO. N
The advance counter NCO counts the triangular wave vertex pulse output from the up / down switching unit UDS, and the switch S10
Thus, the next divided N value is loaded simultaneously with the output of the divided pulse of the N-ary counter NCO. This is obtained by replacing the timing at which the switches S2 and S3 are turned on and loaded into the registers Q1 and Q2 in FIG. 5 with a data latch signal B for outputting once to the N frequency division value.

【0005】これにより、図4のように、PWM半周期
のN倍の周期毎にPWMキャリアとPWM指令は変化
し、その間は同一のPWMパタ−ンが繰り返し出力する
ことができる。このため、PWM演算周期はデ−タラッ
チ信号Bが出力されるまでに行えばよく、従来のトラン
ジスタ等に用いていた中央処理装置CPUをそのまま使
用できる。このことは高速なCPUが必要ないことであ
る。また、PWMの演算法もほぼ同一でよい。しかし、
デ−タラッチ信号Bが出力される毎に電圧指令が変化す
るため、出力電圧はデ−タラッチ信号Bの周期毎に階段
状に変化することになる。この状態をもっと滑らかに出
力するためには、CPUを高速なものにしてデ−タラッ
チ信号Bの周期を短くしなければならない問題がある。
As a result, as shown in FIG. 4, the PWM carrier and the PWM command change every N times the PWM half cycle, and the same PWM pattern can be repeatedly output during that period. Therefore, the PWM calculation cycle may be performed before the data latch signal B is output, and the central processing unit CPU used for the conventional transistor or the like can be used as it is. This means that no fast CPU is needed. Moreover, the calculation method of PWM may be almost the same. But,
Since the voltage command changes every time the data latch signal B is output, the output voltage changes stepwise for each cycle of the data latch signal B. In order to output this state more smoothly, there is a problem that the CPU must be operated at a high speed to shorten the period of the data latch signal B.

【0006】この発明は上記の事情に鑑みてなされたも
ので、PWM発生回路内に加算回路と電圧指令の変化デ
−タレジスタ等を設けて、電圧指令が階段状から直線状
に変化するようにしてCPUの演算量の増加を少なく
し、かつ、滑らかな出力電圧が得られるようにしたPW
Mパタ−ン発生回路を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an adding circuit and a voltage data change data register or the like are provided in the PWM generation circuit so that the voltage command changes from a stepwise shape to a linear shape. PW that reduces the increase in the CPU calculation amount and obtains a smooth output voltage.
An object is to provide an M pattern generation circuit.

【0007】[0007]

【課題を解決するための手段】この発明は上記の目的を
達成するために、第1発明はCPUからの三角波の搬送
波の上限値が書き込まれる第1レジスタと、各相のPW
M電圧指令が書き込まれる第2レジスタとを有し、第1
レジスタに設定された上限値までアップダウンを繰り返
すアップダウンカウンタと、このアップダウンカウンタ
を切換えて出力に三角波頂点パルスを得るアップダウン
カウンタ切換部と、この切換部により得られた三角波頂
点パルスをカウントするPWM繰り返し用N進カウンタ
と、前記CPUから書き込まれ、前記N進カウンタのカ
ウント分周値を設定するPWM繰り返し回数指令レジス
タと、前記N進カウンタからのカウント分周値に応じて
PWM指令を書き込む第3レジスタと、この第3レジス
タの出力と前記アップダウンカウンタの出力との大小の
比較を行う比較回路とを備えたPWMパタ−ン発生回路
において、PWM指令の変化分を書き込む第4レジスタ
と、この第4レジスタの出力をN進カウンタからのカウ
ンタ分周値が送出されたとき書き込むラッチ回路と、こ
のラッチ回路の出力と前記第3レジスタの出力との値を
加算する加算回路と、この加算回路の出力と前記第2レ
ジスタの出力とを前記N進カウンタからのカウンタ分周
値に応じて選択するセレクタと、このセレクタで選択さ
れた出力を前記搬送波の半周期毎に前記第3レジスタの
値を更新するスイッチとにより構成されたことを特徴と
するものである。
In order to achieve the above object, the present invention provides a first register in which an upper limit value of a triangular wave carrier from a CPU is written, and a PW of each phase.
A second register in which the M voltage command is written,
An up / down counter that repeats up / down to the upper limit value set in the register, an up / down counter switching unit that switches the up / down counter to obtain a triangular wave vertex pulse at the output, and counts the triangular wave vertex pulse obtained by this switching unit. A PWM repetition N-ary counter, a PWM repetition number command register that is written from the CPU and that sets the count division value of the N-ary counter, and a PWM instruction according to the count division value from the N-ary counter. In a PWM pattern generation circuit including a third register for writing and a comparison circuit for comparing the output of the third register with the output of the up / down counter, a fourth register for writing the change amount of the PWM command And the output of this fourth register is sent out by the counter frequency division value from the N-ary counter. A latch circuit for writing the value of the latch circuit, an adder circuit for adding the values of the output of the latch circuit and the output of the third register, and an output of the adder circuit and an output of the second register from the N-ary counter. It is characterized in that it is constituted by a selector that selects according to a counter frequency division value and a switch that updates the value of the third register for the output selected by this selector every half cycle of the carrier wave. .

【0008】第2発明は搬送波の変化分が書き込まれる
第5レジスタと、前記第1レジスタの出力が書き込まれ
る第6レジスタと、この第6レジスタの出力と前記搬送
波変化分が書き込まれた第5レジスタの出力とを加算す
る加算回路と、この加算回路の出力を前記N進カウンタ
からのカウンタ分周値に応じて選択するセレクタと、こ
のセレクタで選択された出力を前記搬送波の半周期毎に
前記第6レジスタの値を更新するスイッチとを備え、前
記第6レジスタの値でアップダウンカウンタを変化させ
ることを特徴とするものである。
According to a second aspect of the present invention, a fifth register in which the change amount of the carrier wave is written, a sixth register in which the output of the first register is written, and a fifth register in which the output of the sixth register and the change amount of the carrier wave are written. An adder circuit for adding the output of the register, a selector for selecting the output of the adder circuit according to the counter frequency division value from the N-ary counter, and an output selected by the selector for each half cycle of the carrier wave. A switch for updating the value of the sixth register, and the up / down counter is changed by the value of the sixth register.

【0009】[0009]

【作用】第1発明は第4レジスタに書き込まれたPWM
指令の変化分をラッチ回路に書き込む。このラッチ回路
の出力は第3レジスタと加算された後、セレクタを介し
て第3レジスタに供給されて、そのレジスタの値を更新
させる。第3レジスタの出力はアップダウンカウンタの
出力と比較回路で比較されてパタ−ン出力を得る。この
第3レジスタの出力は第2レジスタが入力に選択された
ままでは、第4レジスタの値を積算する。第2発明は第
5レジスタに書き込まれた搬送波の変化分と、第6レジ
スタの出力とを加算した後、セレクタを介して第6レジ
スタに供給して、そのレジスタの値を更新させる。
The first invention is the PWM written in the fourth register.
Write the command change in the latch circuit. The output of the latch circuit is added to the third register and then supplied to the third register via the selector to update the value of the register. The output of the third register is compared with the output of the up / down counter in a comparison circuit to obtain a pattern output. The output of the third register integrates the value of the fourth register while the second register remains selected as the input. In the second invention, after the change amount of the carrier written in the fifth register and the output of the sixth register are added, they are supplied to the sixth register via the selector to update the value of the register.

【0010】[0010]

【実施例】以下この発明の実施例を図面に基づいて説明
するに、図3と同一部分は同一符号を付して述べる。図
1において、R22はPWM指令の変化分をCPUから
書き込むレジスタ(第4レジスタ)で、このレジスタR
22には図2に示す符号D1と△D1に相当する値を書
き込む。一方、N進カウンタNCOがN分周値信号D
(図2に示す)を出力するとレジスタR2の値はセレク
タスイッチS25を通してスイッチS27に送られる。
レジスタR2の値はそのままコンパレ−タ用レジスタQ
1(第3レジスタ)に送られる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to the drawings. The same parts as those in FIG. In FIG. 1, R22 is a register (fourth register) in which the change amount of the PWM command is written from the CPU.
In 22, the values corresponding to the symbols D1 and ΔD1 shown in FIG. 2 are written. On the other hand, the N-ary counter NCO displays the N frequency division value signal D
When (shown in FIG. 2) is output, the value of the register R2 is sent to the switch S27 through the selector switch S25.
The value of the register R2 is the comparator register Q as it is.
1 (third register).

【0011】そして、PWM半周期(頂点信号Cの期
間)の間はレジスタQ1の値でPWMパタ−ンを作成す
る。前記頂点信号CもN分周値信号DもPWMキャリア
用カウンタの1クロック分の幅しかなくデ−タ転送する
とすぐ各スイッチはオフとなる。PWMキャリアをカウ
ントし、次の頂点信号Cが発生するときに、N分周値信
号Dが出力されない場合には、レジスタQ1のラッチの
値と、ラッチレジスタDQ1との値を加算回路ADD2
で加算した結果の出力がセレクタスイッチS25によっ
て選択される。スイッチS27もN分周値信号Dの出力
時点はカウンタの三角波の頂点でもあるので、その頂点
信号C(図2に示す)によりスイッチS27も閉じてい
るため、次の半周期では(D1+△D1)の値がレジス
タQ1に設定される。この△D1はPWM半周期毎にN
分周信号Dの出力が行われるまで、毎回加算されるた
め、図2の符号aで示す区間のように一定の傾きをもっ
て指令が変化する。
During the PWM half cycle (the period of the apex signal C), the PWM pattern is created with the value of the register Q1. Both the apex signal C and the N-divided value signal D have a width of one clock of the PWM carrier counter, and each switch is turned off immediately after data transfer. When the PWM carrier is counted and the N frequency division value signal D is not output when the next vertex signal C is generated, the value of the latch of the register Q1 and the value of the latch register DQ1 are added to the adder circuit ADD2.
The output resulting from the addition in step S25 is selected by the selector switch S25. Since the switch S27 also outputs the N divided value signal D at the apex of the triangular wave of the counter, the apex signal C (shown in FIG. 2) also closes the switch S27, so that (D1 + ΔD1) in the next half cycle. ) Is set in the register Q1. This ΔD1 is N every PWM half cycle
Since the addition is performed every time until the frequency-divided signal D is output, the command changes with a constant slope as in the section indicated by the symbol a in FIG.

【0012】これにより、出力電圧が階段状に変化して
いたものが、直線状に変化するようになる。△D1の値
は正、負の値を取れるものとすれば、PWMの指令の傾
きも正、負どちらにも設定できる。同様にキャリア周期
も図2の符号dで示す区間のようにPWM半周期毎に変
化させることができる。この回路を次に示す。R20は
搬送波の作成用のアップダウンカウンタの上限値を設定
するレジスタ(第6レジスタ)、R21は搬送波の変化
分を書き込むレジスタ(第5レジスタ)、ADD1は加
算回路である。また、S21はセレクタスイッチ、S2
2,S23,S24はスイッチで、セレクタスイッチS
21とスイッチS22はN分周値信号Dにより制御さ
れ、スイッチS23、S24は頂点信号Cにより制御さ
れる。
As a result, the output voltage, which has changed stepwise, changes linearly. If the value of ΔD1 can be positive or negative, the slope of the PWM command can be set to either positive or negative. Similarly, the carrier cycle can be changed every PWM half cycle, as in the section indicated by reference character d in FIG. This circuit is shown below. R20 is a register (sixth register) for setting the upper limit value of the up / down counter for creating a carrier wave, R21 is a register (fifth register) for writing the change amount of the carrier wave, and ADD1 is an adder circuit. Further, S21 is a selector switch, S2
2, S23, S24 are switches, and selector switch S
21 and the switch S22 are controlled by the N frequency division value signal D, and the switches S23 and S24 are controlled by the vertex signal C.

【0013】なお、上記回路において、PWM演算はN
分周値信号Dの信号周期毎に1回行い前回の設定値と比
較して、△Dの値を計算し、次のN分周値信号が発生す
るまでに今回PWM演算値に達するようにすればPWM
演算時間は△Dの計算分のみの増加でよい。
In the above circuit, the PWM calculation is N
Do this once for each signal cycle of the frequency division value signal D, compare it with the previous setting value, calculate the value of ΔD, and reach the PWM calculation value this time before the next N frequency division value signal is generated. PWM
The calculation time may be increased only by the calculation of ΔD.

【0014】[0014]

【発明の効果】以上述べたように、この発明によれば、
加算回路、PWM指令の変化分を書き込むレジスタやラ
ッチ回路等を設けたことにより、電圧指令を階段状から
直線状に変化させることができるようになるとともに、
PWM演算量の増加も少なく、かつ滑らかな出力電圧を
得ることができ、しかも、ハ−ドウェアでPWM指令の
変化を実現したため、CPUのソフトウェアの負担が大
幅に軽減される利点がある。
As described above, according to the present invention,
By providing the adder circuit, the register for writing the change amount of the PWM command, the latch circuit, and the like, it becomes possible to change the voltage command from stepwise to linear.
There is an advantage that the increase of the PWM calculation amount is small, a smooth output voltage can be obtained, and the change of the PWM command is realized by the hardware, so that the load of the software of the CPU is significantly reduced.

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

【図1】この発明の実施例を示す構成説明図。FIG. 1 is a structural explanatory view showing an embodiment of the present invention.

【図2】図1の動作説明図。FIG. 2 is an operation explanatory diagram of FIG.

【図3】従来例の構成説明図。FIG. 3 is a structural explanatory view of a conventional example.

【図4】図3の動作説明図。FIG. 4 is an operation explanatory diagram of FIG. 3;

【図5】従来例の動作説明図。FIG. 5 is an operation explanatory diagram of a conventional example.

【図6】図5の動作説明図。6 is an explanatory diagram of the operation of FIG.

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

CPU…中央処理装置 R1…レジスタ(第1レジスタ) R2…レジスタ(第2レジスタ) Q1、Q2、R20…コンパレ−タ用レジスタ(第3レ
ジスタ) R22…レジスタ(第4レジスタ) R21…レジスタ(第5レジスタ) DQ1…ラッチ回路 ADD1、ADD2…加算回路 UDC…アップダウンカウンタ UDS…アップダウン切換部 NCO…N進カウンタ CP1、CP2…比較回路 S21、S25…セレクタスイッチ S10,S22、S23、S24、S26、S27…ス
イッチ
CPU ... Central processing unit R1 ... Register (first register) R2 ... Register (second register) Q1, Q2, R20 ... Comparator register (third register) R22 ... Register (fourth register) R21 ... Register (first) 5 register) DQ1 ... Latch circuit ADD1, ADD2 ... Addition circuit UDC ... Up-down counter UDS ... Up-down switching unit NCO ... N-ary counter CP1, CP2 ... Comparison circuit S21, S25 ... Selector switch S10, S22, S23, S24, S26 , S27 ... switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUからの三角波の搬送波の上限値が
書き込まれる第1レジスタと、各相のPWM電圧指令が
書き込まれる第2レジスタとを有し、第1レジスタに設
定された上限値までアップダウンを繰り返すアップダウ
ンカウンタと、このアップダウンカウンタを切換えて出
力に三角波頂点パルスを得るアップダウンカウンタ切換
部と、この切換部により得られた三角波頂点パルスをカ
ウントするPWM繰り返し用N進カウンタと、前記CP
Uから書き込まれ、前記N進カウンタのカウント分周値
を設定するPWM繰り返し回数指令レジスタと、前記N
進カウンタからのカウント分周値に応じてPWM指令を
書き込む第3レジスタと、この第3レジスタの出力と前
記アップダウンカウンタの出力との大小の比較を行う比
較回路とを備えたPWMパタ−ン発生回路において、 PWM指令の変化分を書き込む第4レジスタと、この第
4レジスタの出力をN進カウンタからのカウンタ分周値
が送出されたとき書き込むラッチ回路と、このラッチ回
路の出力と前記第3レジスタの出力との値を加算する加
算回路と、この加算回路の出力と前記第2レジスタの出
力とを前記N進カウンタからのカウンタ分周値に応じて
選択するセレクタと、このセレクタで選択された出力を
前記搬送波の半周期毎に前記第3レジスタの値を更新す
るスイッチとにより構成されたことを特徴とするPWM
パタ−ン発生回路。
1. A first register to which an upper limit value of a triangular wave carrier from the CPU is written, and a second register to which a PWM voltage command of each phase is written are provided, and the upper limit value set in the first register is increased. An up-down counter that repeats down, an up-down counter switching unit that switches the up-down counter to obtain a triangular wave apex pulse at the output, a PWM repeating N-ary counter that counts the triangular wave apex pulse obtained by the switching unit, CP
A PWM repetition number command register which is written from U and sets the count division value of the N-ary counter;
A PWM pattern including a third register for writing a PWM command according to the count division value from the advance counter and a comparison circuit for comparing the output of the third register with the output of the up / down counter. In the generation circuit, a fourth register for writing the change amount of the PWM command, a latch circuit for writing the output of the fourth register when the counter frequency division value from the N-ary counter is sent, an output of the latch circuit and the An adder circuit for adding the value of the output of the 3 register, a selector for selecting the output of the adder circuit and the output of the second register according to the counter frequency division value from the N-ary counter, and the selector And a switch for updating the value of the third register for each half cycle of the carrier wave.
Pattern generation circuit.
【請求項2】搬送波の変化分が書き込まれる第5レジス
タと、前記第1レジスタの出力が書き込まれる第6レジ
スタと、この第6レジスタの出力と前記搬送波変化分が
書き込まれた第5レジスタの出力とを加算する加算回路
と、この加算回路の出力を前記N進カウンタからのカウ
ンタ分周値に応じて選択するセレクタと、このセレクタ
で選択された出力を前記搬送波の半周期毎に前記第6レ
ジスタの値を更新するスイッチとを備え、前記第6レジ
スタの値でアップダウンカウンタを変化させることを特
徴とする請求項1記載のPWMパタ−ン発生回路。
2. A fifth register in which a change of the carrier wave is written, a sixth register in which an output of the first register is written, and an output of the sixth register and a fifth register in which the change of the carrier wave is written. An adder circuit for adding the output, a selector for selecting the output of the adder circuit according to the counter frequency division value from the N-ary counter, and an output selected by the selector for each half cycle of the carrier wave. The PWM pattern generation circuit according to claim 1, further comprising a switch for updating the value of the 6th register, and changing the up / down counter by the value of the 6th register.
JP4172639A 1992-06-30 1992-06-30 Pwm pattern generator circuit Pending JPH0622556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4172639A JPH0622556A (en) 1992-06-30 1992-06-30 Pwm pattern generator circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4172639A JPH0622556A (en) 1992-06-30 1992-06-30 Pwm pattern generator circuit

Publications (1)

Publication Number Publication Date
JPH0622556A true JPH0622556A (en) 1994-01-28

Family

ID=15945615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4172639A Pending JPH0622556A (en) 1992-06-30 1992-06-30 Pwm pattern generator circuit

Country Status (1)

Country Link
JP (1) JPH0622556A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002345255A (en) * 2001-05-15 2002-11-29 Matsushita Electric Ind Co Ltd Inverter control signal generating circuit
WO2005034327A1 (en) * 2003-09-30 2005-04-14 Mitsubishi Denki Kabushiki Kaisha Inverter apparatus
JP2005124387A (en) * 2003-09-26 2005-05-12 Fuji Electric Systems Co Ltd Control method for synchronous motor driving gear
JP2008271617A (en) * 2007-04-16 2008-11-06 Hitachi Ltd Power conversion device and control method therefor
JP2009278731A (en) * 2008-05-13 2009-11-26 Nissan Motor Co Ltd Device and method for controlling power conversion device
JP4911241B1 (en) * 2010-11-16 2012-04-04 ダイキン工業株式会社 Power converter
JP2012182891A (en) * 2011-02-28 2012-09-20 Mitsubishi Heavy Ind Ltd Inverter control device
JP2017070208A (en) * 2017-01-19 2017-04-06 ラピスセミコンダクタ株式会社 Semiconductor device, electronic equipment, and control signal generation method
JP2017163721A (en) * 2016-03-10 2017-09-14 日立オートモティブシステムズ株式会社 Motor drive device for vehicle, electrically-driven power steering device for vehicle and drive method for vehicle motor

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002345255A (en) * 2001-05-15 2002-11-29 Matsushita Electric Ind Co Ltd Inverter control signal generating circuit
JP2005124387A (en) * 2003-09-26 2005-05-12 Fuji Electric Systems Co Ltd Control method for synchronous motor driving gear
WO2005034327A1 (en) * 2003-09-30 2005-04-14 Mitsubishi Denki Kabushiki Kaisha Inverter apparatus
GB2423198A (en) * 2003-09-30 2006-08-16 Misubishi Denki Kabushiki Kais Inverter Apparatus
GB2423198B (en) * 2003-09-30 2006-12-13 Misubishi Denki Kabushiki Kais Inverter Device
US7436144B2 (en) 2003-09-30 2008-10-14 Mitsubishi Denki Kabushiki Kaisha Inverter apparatus
JP4509134B2 (en) * 2007-04-16 2010-07-21 株式会社日立製作所 Power converter and control method thereof
JP2008271617A (en) * 2007-04-16 2008-11-06 Hitachi Ltd Power conversion device and control method therefor
JP2009278731A (en) * 2008-05-13 2009-11-26 Nissan Motor Co Ltd Device and method for controlling power conversion device
JP4911241B1 (en) * 2010-11-16 2012-04-04 ダイキン工業株式会社 Power converter
WO2012066914A1 (en) * 2010-11-16 2012-05-24 ダイキン工業株式会社 Power conversion apparatus
KR101422427B1 (en) * 2010-11-16 2014-07-22 다이킨 고교 가부시키가이샤 Power conversion apparatus
US9018871B2 (en) 2010-11-16 2015-04-28 Daikin Industries, Ltd. Power conversion apparatus
JP2012182891A (en) * 2011-02-28 2012-09-20 Mitsubishi Heavy Ind Ltd Inverter control device
JP2017163721A (en) * 2016-03-10 2017-09-14 日立オートモティブシステムズ株式会社 Motor drive device for vehicle, electrically-driven power steering device for vehicle and drive method for vehicle motor
JP2017070208A (en) * 2017-01-19 2017-04-06 ラピスセミコンダクタ株式会社 Semiconductor device, electronic equipment, and control signal generation method

Similar Documents

Publication Publication Date Title
JP4027874B2 (en) Clock change circuit
JPH0622556A (en) Pwm pattern generator circuit
JPS63121483A (en) Motor speed control system
US5606293A (en) Clock generator for microcomputer having reduced start-up time
JP3039781B1 (en) Timer circuit
JPH06318123A (en) Semiconductor integrated circuit
JPH08287600A (en) Buffering device for digital data
US6448827B1 (en) Three-phase pulse width modulation waveform generator
JP2003088131A (en) Pwm circuit and inverter using the same
JP4434277B2 (en) Clock generation circuit and method of using the same
JPH05145342A (en) Variable frequency signal generating method
JPH04295280A (en) Pwm signal arithmetic circuit
JPH01136203A (en) Digital primary holding circuit
JP3338294B2 (en) Counter circuit
JP2982480B2 (en) Phase locked loop
JP2876797B2 (en) Phase locked loop
JPH09181528A (en) Signal generator
JPH08106447A (en) Microcomputer
JPH09186563A (en) Circuit and method for generating signal
KR100214565B1 (en) Dll circuit equipped with filter function
JPH08161286A (en) Microprocessor system
JP3137246B2 (en) Phase locked loop
JPH0759398A (en) Method for driving stepping motor
JPH04142116A (en) Variable frequency divider
JP2000152642A (en) Carrier generating circuit for pwm inverter