JPH03128677A - Pulse-width modulation inverter controller - Google Patents

Pulse-width modulation inverter controller

Info

Publication number
JPH03128677A
JPH03128677A JP1263748A JP26374889A JPH03128677A JP H03128677 A JPH03128677 A JP H03128677A JP 1263748 A JP1263748 A JP 1263748A JP 26374889 A JP26374889 A JP 26374889A JP H03128677 A JPH03128677 A JP H03128677A
Authority
JP
Japan
Prior art keywords
signal
pwm
frequency
counter
microcomputer
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
JP1263748A
Other languages
Japanese (ja)
Other versions
JP2893753B2 (en
Inventor
Sadamitsu Akiyama
秋山 貞光
Nobumasa Tsutsumi
堤 信正
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 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP1263748A priority Critical patent/JP2893753B2/en
Publication of JPH03128677A publication Critical patent/JPH03128677A/en
Application granted granted Critical
Publication of JP2893753B2 publication Critical patent/JP2893753B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To generate an arbitrary higher carrier-wave PWM signal without changing the interruption period of a micro-computer by increasing the frequency of load to the counter of a PWM signal by N times (N>=2) as many as the frequency of an interruption signal and repeating the same PWM signal N times. CONSTITUTION:A timing generating circuit 2 outputs an interruption signal 21, a latch signal 23 to a buffer latch 5 and a load signal 22 to a counter 6. The frequency of the load signal 22 is set at N times (N>=2) as many as the frequency of the interruption signal 21 and the latch signal 23. A micro-computer (CPU) 3 outputs a PWM time data to a parallel I/O 4 by the interruption signal 21. The PWM time data is output as a PWM signal 91 through the buffer latch 5, the counter 6 and a waveform synthetic circuit. That is, the same PWM waveforms are generated N times through PWM processing by one-time interruption in the CPU 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パルス幅変調(以下rPWMJという)イン
バータの制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control device for a pulse width modulation (hereinafter referred to as rPWMJ) inverter.

C従来の技術〕 マイクロコンピュータを用いたPWMインバータ制御装
置として、第3図に示すものがある。この方式は、搬送
波の周期に等しい割込信号(マイクロコンピュータ割込
用)と、ロード信号(カウンタのデータ入力時期用〉に
より、マイクロコンピュータでのPWM演算結果をパラ
レルI10を介してカウンタに設定し、PWM信号を発
生させるものである。
C. Prior Art] A PWM inverter control device using a microcomputer is shown in FIG. 3. This method uses an interrupt signal (for microcomputer interrupt) equal to the period of the carrier wave and a load signal (for counter data input timing) to set the PWM calculation result in the microcomputer to the counter via the parallel I10. , which generates a PWM signal.

第3図において、lはクロックパルス発生器、2はタイ
ミング発生回路であり搬送波の周期に等しい割込信号2
1とロード信号22を出力する。3はマイクロコンピュ
ータであり、割込周期毎に演算を行い、結果をパラレル
■104に出力する。6はカウンタであり、ロード信号
22によりパラレルl104の出力をカウンタ計数設定
値として入力し、即時計数を再開し、カウントアツプ信
号71を出力する。7.8はPWM信号発生部であり、
8はカウントアツプ信号81を出力する。
In FIG. 3, l is a clock pulse generator, 2 is a timing generation circuit, and interrupt signal 2 is equal to the period of the carrier wave.
1 and a load signal 22 are output. 3 is a microcomputer that performs calculations at every interrupt cycle and outputs the results to the parallel 104; 6 is a counter which inputs the output of the parallel 104 as a counter count setting value in response to the load signal 22, immediately restarts counting, and outputs a count-up signal 71. 7.8 is a PWM signal generator,
8 outputs a count up signal 81.

9は波形合成回路であり、カウントアツプ信号71と8
1及びマイクロコンピュータよりロードされたパターン
データによりPWM波形−相分を合成して出力する。三
相分の場合は7〜9の回路を3回路とすることにより可
能である。
9 is a waveform synthesis circuit, which outputs count-up signals 71 and 8.
1 and the pattern data loaded from the microcomputer, the PWM waveform-phase components are synthesized and output. In the case of three phases, it is possible to make the circuits 7 to 9 into three circuits.

第4図は第3図に示される回路の動作波形図である。図
より、PWMの搬送波の周波数はマイクロコンピュータ
への割込信号の周波数と等しいことが明らかである。
FIG. 4 is an operational waveform diagram of the circuit shown in FIG. 3. It is clear from the figure that the frequency of the PWM carrier wave is equal to the frequency of the interrupt signal to the microcomputer.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、従来技術では、PWM信号の搬送波周期とマ
イクロコンピュータへの割込周期は比例しており、搬送
波周波数だけを高くすることができない。
However, in the prior art, the carrier wave period of the PWM signal and the interrupt period to the microcomputer are proportional, and it is not possible to increase only the carrier wave frequency.

したがって、高搬送波のPWM信号を発生させるために
はマイクロコンピュータへの割込周期を短(する必要が
あり、この場合マイクロコンピュータは搬送波周波数が
高くなるにつれ、PWM信号発生処理に専従することに
なり、マイクロコンピュータの利点である時分割処理が
行えなくなる。
Therefore, in order to generate a PWM signal with a high carrier wave, it is necessary to shorten the interrupt cycle to the microcomputer, and in this case, as the carrier wave frequency becomes higher, the microcomputer becomes exclusively responsible for PWM signal generation processing. , it becomes impossible to perform time-sharing processing, which is an advantage of microcomputers.

また、搬送波周波数の上限はマイクロコンビ二一夕の処
理速度により定まるという問題がある。
Another problem is that the upper limit of the carrier wave frequency is determined by the processing speed of the microcombination unit.

本発明は、マイクロコンピュータのPWM信号発生処理
時間を増加させることなしに、任意の高搬送波PWM信
号波形を得ることを目的とする。
An object of the present invention is to obtain an arbitrary high-carrier PWM signal waveform without increasing the PWM signal generation processing time of a microcomputer.

〔課題を解決するための手段〕[Means to solve the problem]

この目的を達成するため、本発明のPWMインバータ制
御装置は、マイクロコンピュータが所定の周期毎に演算
し、データをカウンタに出力してPWM信号を発生する
パルス幅変調インバータ制御装置において、前記マイク
ロコンピュータと前記カウンタの間にバッファラッチを
設け、前記バッファラッチのデータ入力時期を与えるラ
ッチ信号を前記マイクロコンピュータへの割込信号と同
期させ、前記カウンタのデータ入力時期を与えるロード
信号の周波数を搬送波周波数と等しくし、かつ前記割込
信号の周波数のN倍〈N≧2)にして、同一のPWM信
号をN回繰り返す手段を備えたことを特徴とする。
To achieve this object, the PWM inverter control device of the present invention is a pulse width modulation inverter control device in which a microcomputer performs calculations at predetermined intervals and outputs data to a counter to generate a PWM signal. A buffer latch is provided between the buffer latch and the counter, a latch signal giving the data input timing of the buffer latch is synchronized with an interrupt signal to the microcomputer, and the frequency of the load signal giving the data input timing of the counter is set to a carrier wave frequency. The present invention is characterized in that it includes means for repeating the same PWM signal N times at a frequency equal to that of the interrupt signal and N times the frequency of the interrupt signal (N≧2).

〔作用〕[Effect]

本発明は、マイクロコンピュータの割込周期を変えるこ
となくカウンタへのりロード機能を利用して同−PWM
パターンをN回繰り返すように槽底し、PWM信号の高
搬送波を得るものである。
The present invention utilizes the load function to the counter without changing the interrupt cycle of the microcomputer.
The pattern is repeated N times to obtain a high carrier wave of the PWM signal.

本発明において、例えば搬送波周波数を10k)Iz、
N = 5とすると、マイクロコンピュータへの割込パ
ルス周期Tは、T = 1/ (10k &15) =
500 μsecとなる。(N=1を設定した場合は従
来の作用となる)。
In the present invention, for example, the carrier frequency is set to 10k)Iz,
If N = 5, the interrupt pulse period T to the microcomputer is T = 1/(10k &15) =
It will be 500 μsec. (If N=1 is set, the conventional operation will occur).

〔実施例〕〔Example〕

以下、本発明を実施例に基づいて具体的に説明する。 Hereinafter, the present invention will be specifically explained based on Examples.

第1図は本発明の実施例を示すブロック図、第2図は第
1図における各部の動作波形図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an operation waveform diagram of each part in FIG. 1.

第1図において、lはクロックパルス発生器であり、タ
イミング発生回路2、マイクロコンビ二−タ3及びカウ
ンタ6の基準クロックを発生する。
In FIG. 1, l is a clock pulse generator, which generates a reference clock for the timing generating circuit 2, the microcombinator 3, and the counter 6.

タイミング発生回路2より、マイクロコンピュータ3の
処理時点を与える割込信号21と、バッファラッチ5の
入力データのラッチ時点を与えるラッチ信号23、及び
カウンタ6のカウントデータロード時期を与えるロード
信号22を出力する(第2図(a)、わ)参照) ロード信号22の周波数は、割込信号21及びラッチ信
号23の周波数のN倍(第2図ではN=2)に設定され
る。
The timing generation circuit 2 outputs an interrupt signal 21 that gives the processing time of the microcomputer 3, a latch signal 23 that gives the latch time of the input data of the buffer latch 5, and a load signal 22 that gives the count data load time of the counter 6. (See FIGS. 2(a) and 2) The frequency of the load signal 22 is set to N times the frequency of the interrupt signal 21 and latch signal 23 (N=2 in FIG. 2).

4はパラレルI10であす、マイクロコンピュータ3で
演算されたPWM時間データを出力させる(第2図(c
)、  (d)参照)。バッファラッチ5はラッチ信号
によりパラレル!104の出力データを取り込み、カウ
ンタ6に出力する(第2図(e)参照)。
4 is a parallel I10 that outputs the PWM time data calculated by the microcomputer 3 (Fig. 2 (c)
), see (d)). Buffer latch 5 is paralleled by latch signal! The output data of 104 is taken in and outputted to counter 6 (see FIG. 2(e)).

カウンタ6はロード信号22によりバッファラッチ5の
出力を計数用内部バッファに取り込み、このタイミング
より計数を開始する(第2図(f)参照)。
The counter 6 receives the output of the buffer latch 5 into an internal counting buffer in response to the load signal 22, and starts counting from this timing (see FIG. 2(f)).

計数終了後、カウントアツプ信号71及び81を出力す
る(第2図(櫛、(社)参照)。
After counting is completed, count-up signals 71 and 81 are output (see FIG. 2 (Comb, Inc.)).

波形合成回路9はカウントアツプ信号71及び81とマ
イクロコンピュータ3よりロードされたパターンデータ
によりPWM波形を合成する。三相分のPWM波形は、
7〜9の回路を3回路分用意することにより可能である
The waveform synthesis circuit 9 synthesizes a PWM waveform using the count-up signals 71 and 81 and the pattern data loaded from the microcomputer 3. The three-phase PWM waveform is
This is possible by preparing three circuits of circuits 7 to 9.

第2図(i)に示すように、マイクロコンピュータ3で
の1回のPWM処理で、同一のPWM波形が2回発生し
ているのが明らかである。
As shown in FIG. 2(i), it is clear that the same PWM waveform is generated twice in one PWM process by the microcomputer 3.

〔発明の効果〕〔Effect of the invention〕

以上に述べたように、本発明によれば、マイクロコンピ
ュータのP W M信号発生処理の負担を増加させるこ
となしに任意の高搬送波のPWM信号を得ることができ
る。また、これより汎用のマイクロプロセッサを利用で
きる利点もある。
As described above, according to the present invention, a PWM signal of any high carrier wave can be obtained without increasing the burden of PWM signal generation processing on a microcomputer. Another advantage is that a more general-purpose microprocessor can be used.

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

第1図は本発明のPWMインバータ制御装置の実施例を
示すブロック図、第2図は実施例においてN =2のと
きの各部動作波形図、第3図は従来のPWMインバータ
制御装置の例を示すブロック図、第4図はその各部動作
波形図である。 l:クロックパルス発生器 2:タイミング発生回路 21:割込信号     22:ロード信号23:ラッ
チ信号 3:マイクロコンピュータ :パラレルI10 :バッファラッチ 6:カウンタ 7゜ 8 : PWM信号発生部 71゜ 81:カウントアツプ信号 二波形合戊回路 91 : PWM信号
Fig. 1 is a block diagram showing an embodiment of the PWM inverter control device of the present invention, Fig. 2 is a waveform diagram of each part operating when N = 2 in the embodiment, and Fig. 3 is an example of a conventional PWM inverter control device. The block diagram shown in FIG. 4 is an operation waveform diagram of each part thereof. l: Clock pulse generator 2: Timing generation circuit 21: Interrupt signal 22: Load signal 23: Latch signal 3: Microcomputer: Parallel I10: Buffer latch 6: Counter 7° 8: PWM signal generator 71° 81: Count Up signal two waveform combining circuit 91: PWM signal

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロコンピュータが所定の周期毎に演算し、デ
ータをカウンタに出力してPWM信号を発生するパルス
幅変調インバータ制御装置において、前記マイクロコン
ピュータと前記カウンタの間にバッファラッチを設け、
前記バッファラッチのデータ入力時期を与えるラッチ信
号を前記マイクロコンピュータへの割込信号と同期させ
、前記カウンタのデータ入力時期を与えるロード信号の
周波数を搬送波周波数と等しくし、かつ前記割込信号の
周波数のN倍(N≧2)にして、同一のPWM信号をN
回繰り返す手段を備えたことを特徴とするパルス幅変調
インバータ制御装置。
1. In a pulse width modulation inverter control device in which a microcomputer performs calculations at predetermined intervals and outputs data to a counter to generate a PWM signal, a buffer latch is provided between the microcomputer and the counter,
synchronizing a latch signal giving the data input timing of the buffer latch with an interrupt signal to the microcomputer, making the frequency of the load signal giving the data input timing of the counter equal to the carrier wave frequency, and the frequency of the interrupt signal. is multiplied by N (N≧2), and the same PWM signal is
A pulse width modulation inverter control device characterized by comprising means for repeating the pulse width modulation times.
JP1263748A 1989-10-09 1989-10-09 Pulse width modulation inverter controller Expired - Fee Related JP2893753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1263748A JP2893753B2 (en) 1989-10-09 1989-10-09 Pulse width modulation inverter controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1263748A JP2893753B2 (en) 1989-10-09 1989-10-09 Pulse width modulation inverter controller

Publications (2)

Publication Number Publication Date
JPH03128677A true JPH03128677A (en) 1991-05-31
JP2893753B2 JP2893753B2 (en) 1999-05-24

Family

ID=17393742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1263748A Expired - Fee Related JP2893753B2 (en) 1989-10-09 1989-10-09 Pulse width modulation inverter controller

Country Status (1)

Country Link
JP (1) JP2893753B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04331471A (en) * 1991-01-18 1992-11-19 Mitsubishi Electric Corp Sine wave pwm signal generator
JP2006149141A (en) * 2004-11-24 2006-06-08 Nippon Densan Corp Motor drive control method and motor drive control device
US8385085B2 (en) 2007-09-25 2013-02-26 Daihen Corporation PWM signal generator, and inverter equipped with this PWM signal generator
KR101657282B1 (en) * 2015-03-24 2016-09-13 이준욱 Wearable diet apparatus and wearable diet system use the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61150671A (en) * 1984-12-21 1986-07-09 Daihen Corp Controller of pulse-width-modulation inverter
JPS6416265A (en) * 1987-07-10 1989-01-19 Hitachi Ltd Controller for converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61150671A (en) * 1984-12-21 1986-07-09 Daihen Corp Controller of pulse-width-modulation inverter
JPS6416265A (en) * 1987-07-10 1989-01-19 Hitachi Ltd Controller for converter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04331471A (en) * 1991-01-18 1992-11-19 Mitsubishi Electric Corp Sine wave pwm signal generator
JP2006149141A (en) * 2004-11-24 2006-06-08 Nippon Densan Corp Motor drive control method and motor drive control device
US8385085B2 (en) 2007-09-25 2013-02-26 Daihen Corporation PWM signal generator, and inverter equipped with this PWM signal generator
KR101657282B1 (en) * 2015-03-24 2016-09-13 이준욱 Wearable diet apparatus and wearable diet system use the same

Also Published As

Publication number Publication date
JP2893753B2 (en) 1999-05-24

Similar Documents

Publication Publication Date Title
JPH04336308A (en) Single-chip microcomputer
KR0133471B1 (en) Semiconductor integrated circuit
JPH03128677A (en) Pulse-width modulation inverter controller
JP2000152640A (en) Timer circuit
JPS58147231A (en) Generating device of signal applied with pulse-width modulation
JP3777242B2 (en) Motor control device
JPH0341815A (en) Pulse width modulation waveform generating circuit
JPH05303444A (en) Clock signal feeder
JP2679307B2 (en) PWM pulse generation method
JPS6364588A (en) Digital controller for motor
JP2522073B2 (en) Sine wave PWM signal generator
JP2631541B2 (en) Programmable controller
JPS60134774A (en) Inverter controller
JPH08122408A (en) Wave shaping circuit for semiconductor test device
JPH05316738A (en) Circuit for controlling inverter
JPS61161969A (en) Pwm signal generator
JPH0783637B2 (en) Motor pulse modulation controller
JPS63234879A (en) Power control system of inverter
JPS61288259A (en) Microcomputer
JPH11186899A (en) Clock generating circuit and clock generating method
JPH0641967B2 (en) Logical waveform generator
JPH0736703B2 (en) Power converter controller
JPS6320517A (en) System clock stretch circuit
JPH0217864A (en) Pwm pulse generator
JPH03178566A (en) Pwm waveform generator

Legal Events

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

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees