JPS58147231A - Generating device of signal applied with pulse-width modulation - Google Patents

Generating device of signal applied with pulse-width modulation

Info

Publication number
JPS58147231A
JPS58147231A JP57028821A JP2882182A JPS58147231A JP S58147231 A JPS58147231 A JP S58147231A JP 57028821 A JP57028821 A JP 57028821A JP 2882182 A JP2882182 A JP 2882182A JP S58147231 A JPS58147231 A JP S58147231A
Authority
JP
Japan
Prior art keywords
microprocessor
counter
pwm signal
pulse
signal
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
JP57028821A
Other languages
Japanese (ja)
Other versions
JPH0251295B2 (en
Inventor
Kenji Kubo
謙二 久保
Tsutomu Omae
大前 力
Masahiko Watanabe
正彦 渡辺
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57028821A priority Critical patent/JPS58147231A/en
Publication of JPS58147231A publication Critical patent/JPS58147231A/en
Publication of JPH0251295B2 publication Critical patent/JPH0251295B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation

Landscapes

  • Inverter Devices (AREA)

Abstract

PURPOSE:To improve the processing functions of a microprocessor other than PWM signal generation, by shortening the time when the microprocessor is dedicated to the PWM signal generation. CONSTITUTION:The microprocessor 13 operates according to a PWM signal generating program written in an RDM24; each time an interruption pulse is generated by an interruption point generating counter 23 for generating the point of time of interruption to the microprocessor, the microprocessor generates the instantaneous value of a modulated wave signal on the basis of the counted value of a modulated-wave address counter 21, a waveform data table of the modulated waves stored in an ROM24, amplitude values of the modulated waves supplied as a command, and the instantaneous value of a carrier signal from the counted value of a carrier generating counter 22 respectively. From both values, a set value for a PWM signal generating counter 26 is calculated and the result is set in the PWM signal generating counter 26.

Description

【発明の詳細な説明】 本発明は、パルス幅変調インバータのゲートパルスとし
て用いられるパルス幅変調信号の発生装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus for generating a pulse width modulation signal used as a gate pulse of a pulse width modulation inverter.

一般に、パルス幅変調信号(以下PWM信号と略称)は
、第1図に示すように通常正弦波波形の変調波と呼ばれ
る信号1と、通常三角波波形の搬送波と呼ばれる信号2
の大きさを比較することによって信号3のように得られ
る。
Generally, a pulse width modulation signal (hereinafter abbreviated as a PWM signal) consists of a signal 1 called a modulated wave, which is usually a sine wave, and a signal 2, which is usually called a carrier wave, which is a triangular wave.
Signal 3 is obtained by comparing the magnitudes of .

従来、上記の方式によってPWM信号を発生する方法と
して、変調波信号と搬送波信号とをディスクリートなハ
ードウェアを用いて発生し、両者の大きさをディジタル
比較器で比較して、その大小関係により、フリップフロ
ップの状態を切替えることによ抄得る方法がある。この
方式によるPWM信号発生装置の構成は第2図のようで
あり、クロックパルス発生器4の出力であるクロックパ
ルスをカウンタ6で計数し、そのカウント値t4tとに
搬送波テーブル8を索引することによって得られる搬送
波信号と、上記クロックパルスを分局カウンタ5で分局
して得られ九変調波に比例した周波数の、り■ツクパル
スをカウンタ7で計数し、そのカウント値より、望調波
テーブル9を索引して得られる変調波信号との大きさを
、ディジタル比較器10で比較してPWM信号を発生す
る。
Conventionally, as a method of generating a PWM signal using the above method, a modulated wave signal and a carrier wave signal are generated using discrete hardware, and the magnitudes of the two are compared using a digital comparator, and based on the magnitude relationship, There is a method to obtain this by switching the state of a flip-flop. The configuration of the PWM signal generator using this method is as shown in FIG. The obtained carrier wave signal and the clock pulses are divided by the division counter 5, and the frequency pulses proportional to the nine modulated waves are counted by the counter 7, and the harmonic table 9 is indexed from the counted value. A digital comparator 10 compares the magnitude with the modulated wave signal obtained by using the digital comparator 10 to generate a PWM signal.

この方法では、変調波信号と搬送波信号の発生から両者
の大きさの比較までの機能をディスクリートなハードウ
ェアを用りて行なうため、要求される仕様に応じてハー
ドウェアを設計し製作することにより、必要な機能を持
つPWM信号発生装置が得られる。しかし、この方式は
ディスクリートなハードウェアを用いて構成される九め
、変調波信号と搬送波信号の発生に必要な論理回路や両
信号の同期をとるのに必要な回路などにより、ハードウ
ェア構成が非常に複雑になるという欠点があった。更に
、回路構成に汎用性がなく、PWM信号発生機能を変更
もしくは追加しようとする場合、ハードウェアを設計し
直さなければならないという欠点もあった。
In this method, functions from generating the modulated wave signal and carrier wave signal to comparing the sizes of the two are performed using discrete hardware, so the hardware is designed and manufactured according to the required specifications. , a PWM signal generator having the necessary functions can be obtained. However, this method is constructed using discrete hardware, and the hardware configuration is complicated by the logic circuits required to generate the modulated wave signal and carrier wave signal, and the circuits required to synchronize both signals. The drawback was that it was very complex. Furthermore, the circuit configuration lacks versatility, and when changing or adding a PWM signal generation function, the hardware has to be redesigned.

これに対して、マイクロプロセッサとメモリおよびそ0
w4辺素子であるカウンタなどt用い、変調波信号と搬
送波信号の発生を含め両信号の大きさの比較までの機能
をマイクロプロセッサのソフトウェア処理によって行な
い、特殊なハードウェア素子を用いることなく、PWM
信号を発生する方式が提案されている。この方式にょる
PWM信号発生装置の構成を第3図に示す、マイクロプ
ロセッサ13を中心に搬送波信号を発生するための回路
11と、変調波信号を発生するための回路12、および
、マイクロプロセッサの割込処理時点を与えるタイマ1
5、マイクロプロセッサからデータが設定されクロック
パルス発生器4から出力されるクロックパルスを計数し
、設定されたデータに対応した時間後にパルスを出方す
るプログラマブルカウンタ14から構成される。
In contrast, the microprocessor and memory
Using a counter, etc., which is a four-sided element, functions such as generating a modulated wave signal and a carrier wave signal and comparing the magnitudes of both signals are performed by software processing of a microprocessor, and PWM can be performed without using special hardware elements.
A method of generating a signal has been proposed. The configuration of a PWM signal generator according to this method is shown in FIG. 3, which includes a microprocessor 13, a circuit 11 for generating a carrier signal, a circuit 12 for generating a modulated wave signal, Timer 1 that gives the interrupt processing time
5. It is composed of a programmable counter 14 which counts clock pulses outputted from the clock pulse generator 4 to which data is set from the microprocessor, and outputs a pulse after a time corresponding to the set data.

この方式によるPWM信号発生の動作を第4図を用いて
説明する。マイクロプロセッサ13はタイマISから出
方される一定闇期の割込みパルス毎に、その時点の変調
波信号lと搬送波信号2゜瞬時値をそれぞれ演算し、両
信号の大きさの差ΔNt搬送波周波数に比例し7’tf
f波数のクロックパルスを計数するプログラマブルカウ
ンタ14に設定する。このカウンタ14は前記クロック
パルスを計数し、そのカウント値16は第4図中)のよ
うに変化する。設定値ΔNはこれが設定され九時縛から
次の変調波と搬送波とが交わる時刻までの時間に対応し
ている曳め、カウンタ14が設定値を計数し終え九時刻
は変調波12と搬送波11とが交わる時刻に一致する。
The operation of PWM signal generation using this method will be explained using FIG. 4. The microprocessor 13 calculates the instantaneous values of the modulated wave signal l and the carrier wave signal 2° at that time for each interrupt pulse of a constant dark period outputted from the timer IS, and calculates the difference in magnitude between the two signals ΔNt carrier wave frequency. proportional 7'tf
The programmable counter 14 is set to count clock pulses of f wave number. This counter 14 counts the clock pulses, and the count value 16 changes as shown in FIG. The set value ΔN corresponds to the time from when it is set until the time when the next modulated wave and the carrier wave intersect.At the 9th time, when the counter 14 finishes counting the set value, the modulated wave 12 and the carrier wave 11 intersect. It corresponds to the time when and intersect.

し九がって、このカウンタ14から出力されるパルス1
7tフリツプフロツグに入力し、パルス入力毎にその状
態を切替えることにより、所望のPWM信号3が得られ
る。
Therefore, pulse 1 output from this counter 14
A desired PWM signal 3 can be obtained by inputting the signal to a 7t flip-flop and switching its state every time a pulse is input.

この方式は、マイクロプロセッサを中心としたハードウ
ェア構成の九め回路構成に汎用性があり、t+pwM信
号発生様能の変更や拡張にも容具に対応できるという利
点がある拳 しかし、この方式では、−マイクロプロセッサの処理時
点1与える割込パルスをタイマを用いて発生しており、
マイクロプロセッサは搬送波周波数の高低にかかわらず
一定周期毎にPWM信号発生のえめの処mを行なう。こ
の几め、搬送波信号とタイマから出力される割込パルス
とは同期がとれておらず、タイマからの割込同期が長く
なって搬送波周期と同程度になっ次ときPWM信号を正
しく発生できない場合がある。これを第5図、第6図を
用いて説明する6両者は同じ搬送波周波数で同じ割込周
期T3の場合であるが、第5図の場合には正しいPWM
信号を発生するのに対して、第6図の場合は誤ったPW
M信号を発生している。
This method has the advantage of having versatility in the hardware circuit configuration centered on the microprocessor, and being able to adapt to changes and expansions in the t+pwM signal generation capability. ,-A timer is used to generate an interrupt pulse that gives the microprocessor processing time point 1,
The microprocessor takes steps to generate a PWM signal at regular intervals regardless of the carrier wave frequency. With this method, the carrier wave signal and the interrupt pulse output from the timer are not synchronized, and the interrupt synchronization from the timer becomes long and becomes about the same as the carrier wave period, and the PWM signal cannot be generated correctly next time. There is. This will be explained using Figures 5 and 6.6 Both cases are the same carrier frequency and the same interrupt period T3, but in the case of Figure 5, the correct PWM
In the case of Fig. 6, an incorrect PW is generated.
Generating M signal.

すなわち、第5図、第6図のように、搬送波信号2と割
込パルス18とが非同期のとき、搬送波周期に対して割
込周期が長くなると、正しいPWM信号が得られなくな
る。従って、このような現象を避けるため、本質的に割
込パルス18の同期T1は、できるだけ短かくする必要
がある。この九め、マイクロプロセッサは搬送波周波数
の高低にかかわらずできるだけ短い周期毎にPWM信号
発生の九めの割込処理を行なうことが要求され、マイク
ロプロセッサはPWM信号発生処理に専従することにな
る。この結果、マイクロプロセッサにPWM信号信号発
生以外塩処理担させることができず、マイク四プロセッ
サシステムの特徴である時分割処理の利点を生かせない
という欠点があった。
That is, as shown in FIGS. 5 and 6, when the carrier wave signal 2 and the interrupt pulse 18 are asynchronous, if the interrupt period becomes longer than the carrier wave period, a correct PWM signal cannot be obtained. Therefore, in order to avoid such a phenomenon, it is essentially necessary to make the synchronization T1 of the interrupt pulse 18 as short as possible. The microprocessor is required to perform the ninth interrupt process of PWM signal generation at as short a period as possible regardless of the high or low carrier frequency, and the microprocessor is dedicated to the PWM signal generation process. As a result, the microprocessor cannot be responsible for processing other than PWM signal generation, and the advantage of time-sharing processing, which is a feature of the four-microphone processor system, cannot be utilized.

本発明の目的は、マイクロブーセッサとその同辺素子を
用い友PWM備考発生方式において、マイクロプロセッ
サがPWM信号発生に専従する時間を少なくして、シス
テムの異常診断などPWM信号発生以外の処理も分担で
きるPWM償号元号発生装置供するにある。
An object of the present invention is to reduce the time that the microprocessor devotes exclusively to PWM signal generation in a companion PWM note generation method using a microprocessor and its same side elements, and to perform processing other than PWM signal generation such as system abnormality diagnosis. We provide a PWM code generator that can be shared.

本発明の特徴は、第7図に示すように、分局カウンタ1
9を用いてクロックパルス発生器4から出力されるクロ
ックパルスを分周し、得られた信号t−rイクロプロセ
ッサの処理時点を与える割込パルスとしてマイクロプロ
セッサに加えることにより、割込処理時点を搬送波信号
に同期するようにしたことである。
The feature of the present invention is that, as shown in FIG.
9 is used to divide the clock pulse output from the clock pulse generator 4, and the resulting signal t-r is applied to the microprocessor as an interrupt pulse giving the processing time of the microprocessor, thereby determining the interrupt processing time. This is to synchronize with the carrier wave signal.

この方式により、第8図に示すように、割込パルス18
を三角波波形をした搬送波信号2の値が最大および最小
になる時点に同期させることができ、この次め変調波信
号2と搬送波信号1の交点が常に正確に求まる。従って
、第8図(d)に示すように、搬送波1局期あ九りの割
込時点の回数が少なくても精度のよいPWM信号3が得
られる。
With this method, as shown in FIG.
can be synchronized to the point in time when the value of carrier wave signal 2 having a triangular waveform becomes maximum and minimum, and the intersection point of this next modulated wave signal 2 and carrier wave signal 1 can always be accurately determined. Therefore, as shown in FIG. 8(d), a highly accurate PWM signal 3 can be obtained even if the number of interruptions during one carrier wave period is small.

以下、本発明の実施例を図面を用いて説明する。Embodiments of the present invention will be described below with reference to the drawings.

本発明によるPWM信号発生装置の/1−ドウエア構成
を第9図に、その動作波形を第10図ないし第12図に
示す、第9図において、マイクロプロセッサ13からデ
ータが設定され、それに対応した周波数のり菅ツクパル
スを発生するクロックパルス発生器4の出力に、変調波
信号を発生する九めの分周カウンタ2Gと変調波アドレ
スカウンタ21および搬送波信号を発生する丸めの搬送
波発生カウンタ22、マイクロブはセッサに対する割込
処理時点を与えるための割込時点発生カウンタ23、マ
イク撃プ四セッサから割込時点毎に設定値が再設定され
るPWM信号発生カウンタ26が接続され、それぞれり
薗ツクパルス発生器4から出力されるクロックパルスを
計数する・マイクロプロセッサはROM24に書込まれ
たPWM信号発生プログラムに従って動作し、割込時点
発生カウンタからの割込パルス毎に、変調波アドレスカ
ウンタの計数値とROMに格納し九変調波波形データテ
ーブルと指令として与えられる変調波振幅値とから変調
波信号の瞬時値を、搬送波発生カウンタ22の計数値か
ら搬送波信号の瞬時値をそれぞれ計算し、両者の値から
PWM信号発生カウンp26に対する設定値を演算し、
その結果をPWM信号発生カウンタ26に設定する。P
WM信号発生カウンタ26はクロックパルス発生器4か
ら出力されるクロックパルスを計数し、マイク冒プロセ
ッサ13から設定された設定値を計数し終え九時点で、
パルスを出力する。このパルス出力でフリップフロップ
27の状態を切換えることにより、所望のPWM信号を
発生する。
The /1-ware configuration of the PWM signal generator according to the present invention is shown in FIG. 9, and its operating waveforms are shown in FIGS. 10 to 12. In FIG. At the output of the clock pulse generator 4 that generates the frequency multiplier pulse, a ninth frequency division counter 2G that generates a modulated wave signal, a modulated wave address counter 21, a rounded carrier wave generation counter 22 that generates a carrier wave signal, and a microbe. An interrupt point generation counter 23 for giving an interrupt processing point to the processor, and a PWM signal generation counter 26 whose setting value is reset every interrupt point from the microphone processor are connected to each other. 4. The microprocessor operates according to the PWM signal generation program written in the ROM 24, and for each interrupt pulse from the interrupt time generation counter, counts the count value of the modulated wave address counter and the ROM 24. The instantaneous value of the modulated wave signal is calculated from the nine modulated wave waveform data tables and the modulated wave amplitude value given as a command, and the instantaneous value of the carrier wave signal is calculated from the counted value of the carrier wave generation counter 22, and from both values. Calculate the set value for the PWM signal generation counter p26,
The result is set in the PWM signal generation counter 26. P
The WM signal generation counter 26 counts the clock pulses outputted from the clock pulse generator 4, and when it finishes counting the set value set from the microphone processor 13,
Outputs pulses. By switching the state of the flip-flop 27 using this pulse output, a desired PWM signal is generated.

次に、本方式によるPWM信号発生の動作を第10図な
いし第12図を用いて説明する。tず、搬送波信号は、
第10図(a)に示すようなりロックパルス28を搬送
波発生カウンタ22で計数して同図(b3のような三角
波形状の信号29として得る。
Next, the operation of PWM signal generation according to this method will be explained using FIGS. 10 to 12. The carrier signal is
The lock pulse 28 as shown in FIG. 10(a) is counted by the carrier wave generation counter 22 to obtain a triangular wave shaped signal 29 as shown in FIG. 10(b3).

一方、変調波信号は、まずクロックパルス28を分局カ
ウンタ20で分周して、第11図(b)に示すような変
調波に比例し良問波数のクロックパルス30を得る。こ
のクロックパルス31を変調波アドレスカウンタ21で
計数することにより、第11図(C)に示すような変調
波1周期毎に計数値がリセットされる鋸歯状波状のカウ
ント値31を得る。このカウント値をROMに格納した
饗調波波形データテーブルの読出しアドレスとしてデー
タを読出すことにより、第11図(d)に示すような正
弦波波形状の変調波信号32を得る。このようにして得
られる搬送波信号と変調波信号とからPWM信号を発生
する処理について、第12図を用いて説明する。まず、
マイクロプロセッサに対する処理時点を与える割込パル
スは、前記クロックパルス28を割込時点発生カウンタ
23で計数することにより得る0割込時点発生カウンタ
のカウント値は第12図(C)のように変化し、カウン
ト値が零になった時カウント値がリセットされ、このと
き同図(d)のようなパルスが出力される。この出力パ
ルスをマイクロプロセッサに対する割込信号として用い
る1割込時点発生カウンタは搬送波信号の発生に用い九
のと同じクロックパルス28を計数するため、このカウ
ンタから出力される割込バルス34は搬送波信号2に同
期している。第12図には搬送波−周期あた94回割込
パルスが入る場合について示した。マイクロプロセッサ
は割込パルス毎に前述した方法により搬送波信号2と変
調波信号1との瞬時値を得て、両者の差をPWM信号発
生カウンタに設定する。このカウンタはクロックパルス
28を計数してカウント値は第12図伸)のように豐化
し、カウント値が零になった時点で同図(f)のような
パルス出力が得られる。このパルス出力17は変調波信
号1と搬送波信号2の交点に一致するので、このパルス
毎にフリップフロップ27の状態を切替えることにより
、812図位)に示すようなPWM信号3が得られる。
On the other hand, for the modulated wave signal, the clock pulse 28 is first frequency-divided by the division counter 20 to obtain a clock pulse 30 having a good wave number and proportional to the modulated wave as shown in FIG. 11(b). By counting the clock pulses 31 with the modulated wave address counter 21, a sawtooth waveform count value 31 is obtained in which the count value is reset every cycle of the modulated wave as shown in FIG. 11(C). By reading out data using this count value as a read address of the harmonic waveform data table stored in the ROM, a modulated wave signal 32 having a sinusoidal waveform as shown in FIG. 11(d) is obtained. The process of generating a PWM signal from the carrier wave signal and modulated wave signal obtained in this manner will be explained using FIG. 12. first,
The interrupt pulse that gives the processing time point to the microprocessor is obtained by counting the clock pulse 28 with the interrupt time occurrence counter 23, and the count value of the 0 interrupt time occurrence counter changes as shown in FIG. 12(C). , when the count value becomes zero, the count value is reset, and at this time a pulse as shown in FIG. 2(d) is output. The interrupt pulse 34 output from this counter counts the same clock pulses 28 as the one used to generate the carrier wave signal, so that the interrupt pulse 34 output from this counter is the carrier wave signal. It is synchronized with 2. FIG. 12 shows a case where interrupt pulses are input 94 times per carrier wave cycle. The microprocessor obtains the instantaneous values of the carrier wave signal 2 and the modulated wave signal 1 by the method described above for each interrupt pulse, and sets the difference between the two in the PWM signal generation counter. This counter counts the clock pulses 28 and the count value changes as shown in FIG. Since this pulse output 17 coincides with the intersection of the modulated wave signal 1 and the carrier wave signal 2, by switching the state of the flip-flop 27 for each pulse, a PWM signal 3 as shown in Fig. 812 is obtained.

以上、本実施例で述べたように、搬送波に比例した同波
数のクロ、ツクパルスを分間して、マイクロプロセッサ
の処理時点を与える割込パルスとすることにより、割込
時点な搬送波信号に同期させることができ、これによっ
て、割込時点が非同期の場合に比べて、搬送波−同期あ
たりの割込処理の回数が少なくても、精度のよIAPW
M信号を発ツサがPWM信号発生に専従している時間を
全体として短縮することができ、マイクロプロセッサに
対してPWM信号発生処理以外の機能(例えばPWM信
号発生を含めたシステム全体の異常診断等の機能)を分
担させることが可能になる。
As described above in this embodiment, by dividing the black and tsuku pulses of the same wave number proportional to the carrier wave into interrupt pulses that give the processing time of the microprocessor, synchronization is achieved with the carrier wave signal at the interrupt time. As a result, even if the number of interrupt processing per carrier-synchronization is smaller than when the interrupt time is asynchronous, the IAPW with better accuracy can be used.
The overall time that the M signal generator is dedicated to PWM signal generation can be shortened, and the microprocessor can perform functions other than PWM signal generation processing (for example, abnormality diagnosis of the entire system including PWM signal generation, etc.). functions).

なお、以上の説明は1相分についてのみ行ったが、3相
に容易に鉱張できることは原理から明白である。
In addition, although the above explanation was given only for one phase, it is clear from the principle that mineralization can be easily applied to three phases.

本発明によれば、マイクαプロセッサがPWM信号発生
に専従する時間を短縮することができるので、マイクロ
プロセッサにPWM信号発生以外の処理を分担させて、
機能を高めることができる。
According to the present invention, it is possible to shorten the time that the microphone α processor devotes exclusively to PWM signal generation, so that the microprocessor is assigned to handle processes other than PWM signal generation.
Functionality can be improved.

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

第1図はPWM信号発生の原理図、第2図は従来のディ
ジタル方式によるPWM信号発生装置の構成図、第3図
はタイマからの一定局期毎の割込パルスを用いfcPW
M信号発生装置の構成図、第4図は第3図の動作波形図
、第5図、第6図は割込周期を短くできないことを示す
動作波形図、第7図は本発明によるPWM発生装置の構
成図、第8図は第7図の動作波形図、第9図は本発明の
実施例を示す構成図、第10図ないし第18図はその動
作波形図である。 1・・・変調波信号、2・・・搬送波信号、3・・・P
WM信号、4・・・クロックパルス発生器、13・・・
マイクロブ璽セッサ、14・・・プログラマブルカウン
タ、20・・・分周カウンタ、21・・・変調波アドレ
スカウンタ、22・・・搬送波発生カウンタ、23・・
・割込時点発生カウンタ、24・・・ROM、25・・
・RAM。 26・・・PWM信号発生カウンタ、27・・・フリッ
プ=172 !l、S  の t め&図 811図 61z口
Fig. 1 is a diagram of the principle of PWM signal generation, Fig. 2 is a block diagram of a conventional digital PWM signal generator, and Fig. 3 is a fcPW using interrupt pulses from a timer at regular intervals.
A configuration diagram of the M signal generator, FIG. 4 is an operational waveform diagram of FIG. 3, FIGS. 5 and 6 are operational waveform diagrams showing that the interrupt period cannot be shortened, and FIG. 7 is a PWM generation according to the present invention. FIG. 8 is an operational waveform diagram of FIG. 7, FIG. 9 is a configuration diagram showing an embodiment of the present invention, and FIGS. 10 to 18 are operational waveform diagrams. 1...Modulated wave signal, 2...Carrier wave signal, 3...P
WM signal, 4... Clock pulse generator, 13...
Microbe processor, 14... Programmable counter, 20... Frequency division counter, 21... Modulated wave address counter, 22... Carrier wave generation counter, 23...
・Interrupt time occurrence counter, 24...ROM, 25...
・RAM. 26...PWM signal generation counter, 27...Flip=172! l, S's mouth & Figure 811 Figure 61z mouth

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロプロセッサとそれを動作させるためのメモ
リ、前記マイクロプロセッサによってデータが設定され
、それに対応して所望の周波数のクロックパルスを発生
するクロックパルス発生器、前記マイクロプロセッサに
よって設定値が書込まれ、その設定値を初期値として前
記クロックパルスを計数するカウンタから構成され、前
記マイクロプロセッサが所定の周期毎に演算を行なって
その結果を前記カウンタに書込むことによりパルス幅変
調信号を発生するものにおいて、前記マイクロブ驕セッ
サの演算同期を与える割込パルスを前記り簡ツクパルス
を分局して得るように構成したことを特徴とするパルス
幅変調信号発生装置。
1. A microprocessor and a memory for operating it; a clock pulse generator in which data is set by the microprocessor and generates a clock pulse of a desired frequency in response to the data; a set value is written by the microprocessor; , consisting of a counter that counts the clock pulses with the set value as an initial value, and the microprocessor performs calculations at predetermined intervals and writes the results to the counter to generate a pulse width modulation signal. 2. A pulse width modulation signal generating device according to claim 1, wherein the interrupt pulse for synchronizing the operation of the micro processor is obtained by dividing the simple pulse.
JP57028821A 1982-02-26 1982-02-26 Generating device of signal applied with pulse-width modulation Granted JPS58147231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57028821A JPS58147231A (en) 1982-02-26 1982-02-26 Generating device of signal applied with pulse-width modulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57028821A JPS58147231A (en) 1982-02-26 1982-02-26 Generating device of signal applied with pulse-width modulation

Publications (2)

Publication Number Publication Date
JPS58147231A true JPS58147231A (en) 1983-09-02
JPH0251295B2 JPH0251295B2 (en) 1990-11-07

Family

ID=12259059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57028821A Granted JPS58147231A (en) 1982-02-26 1982-02-26 Generating device of signal applied with pulse-width modulation

Country Status (1)

Country Link
JP (1) JPS58147231A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61189615U (en) * 1985-05-17 1986-11-26
JPH0217864A (en) * 1988-07-04 1990-01-22 Fuji Electric Co Ltd Pwm pulse generator
JPH02194723A (en) * 1989-01-23 1990-08-01 Mitsubishi Electric Corp Sine wave pwm signal generator
JPH03151713A (en) * 1989-11-09 1991-06-27 Fuji Electric Co Ltd Pwm pulse generating method
JPH0469068A (en) * 1990-07-03 1992-03-04 Mitsubishi Electric Corp Apparatus for generating pulse width modulation signal approximate to sine wave
JP2013157873A (en) * 2012-01-31 2013-08-15 Denso Corp Pulse signal generator

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03199459A (en) * 1989-12-26 1991-08-30 Nippon Shiyouriyoku Kikai Kk Stretching device of ground fabric, automatic hooked rug weaving machine or the like

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61189615U (en) * 1985-05-17 1986-11-26
JPH0217864A (en) * 1988-07-04 1990-01-22 Fuji Electric Co Ltd Pwm pulse generator
JPH02194723A (en) * 1989-01-23 1990-08-01 Mitsubishi Electric Corp Sine wave pwm signal generator
JPH03151713A (en) * 1989-11-09 1991-06-27 Fuji Electric Co Ltd Pwm pulse generating method
JPH0469068A (en) * 1990-07-03 1992-03-04 Mitsubishi Electric Corp Apparatus for generating pulse width modulation signal approximate to sine wave
JP2013157873A (en) * 2012-01-31 2013-08-15 Denso Corp Pulse signal generator

Also Published As

Publication number Publication date
JPH0251295B2 (en) 1990-11-07

Similar Documents

Publication Publication Date Title
US3137818A (en) Signal generator with external start pulse phase control
JPS58147231A (en) Generating device of signal applied with pulse-width modulation
US3725794A (en) Interpolating apparatus
JPS62245814A (en) Pulse circuit
US3370252A (en) Digital automatic frequency control system
JP2893753B2 (en) Pulse width modulation inverter controller
SU1196908A1 (en) Device for determining average value
RU2060536C1 (en) Universal oscillator of signals having arbitrary shape
JPS62280656A (en) Pulse generator
KR100486236B1 (en) Apparatus for generating frequency-divided signal by except radix 2
JP2541109B2 (en) PLL system offset frequency synthesis circuit
SU1166294A1 (en) Distributor
SU1679399A1 (en) Meter of amplitude of harmonic signal
SU1167736A1 (en) Number-to-frequency converter
SU1622834A1 (en) Digital phase meter
JP2658126B2 (en) Input frequency generator
JPH03235527A (en) A/d converter
JPS62194485A (en) Measuring timing generating circuit
SU1257664A1 (en) Device for estimating amplitude of narrow-band random process
JPS6166912A (en) Correcting device for position detection error
JPS6259877A (en) Variable period pulse signal generating device
JPS6361963A (en) Delay time measuring circuit
JPS6087523A (en) Recalling pulse generator
JPH0634242B2 (en) Micro processor mode switching circuit
JPH06109813A (en) Timing generator