JPH01261916A - Pulse width modulation circuit - Google Patents

Pulse width modulation circuit

Info

Publication number
JPH01261916A
JPH01261916A JP9214988A JP9214988A JPH01261916A JP H01261916 A JPH01261916 A JP H01261916A JP 9214988 A JP9214988 A JP 9214988A JP 9214988 A JP9214988 A JP 9214988A JP H01261916 A JPH01261916 A JP H01261916A
Authority
JP
Japan
Prior art keywords
pulse width
width modulation
circuit
output
pwm3
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
JP9214988A
Other languages
Japanese (ja)
Inventor
Yuji Sakaida
境田 優二
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9214988A priority Critical patent/JPH01261916A/en
Publication of JPH01261916A publication Critical patent/JPH01261916A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To vary and average the power consumption timings of a circuit and to prevent the circuit from coming to a large noise source by shifting the phases of plural pulse width modulation output waveforms. CONSTITUTION:A basic timing signal S is selected or synthesized in accordance with data D1-D3 inputted to pulse width modulation/synthesis circuits 5-7, and pulse width modulation outputs PWM1-PWM3 are outputted. The output PWM1 is outputted to an external part as it is, and PWM2 and PWM3 are respectively outputted to the external part through delay circuits 8 and 9. Here, the output waveforms when data are all similar become identical as illustrated. With setting the delay time of the circuit 8 longer than the circuit 9, PWM1 which is not delayed, the output PWM2 which is delayed by a prescribed time and the output PWM3 which is delayed by the prescribed time much more come to have phase differences, and the rise and fall of respective waveforms are prevented from becoming coincident. Consequently, the temporary concentration of power consumption is prevented and the occurrence of noise can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2以上のパルス幅変調出力を有するパルス幅変
調回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pulse width modulation circuit having two or more pulse width modulation outputs.

〔従来の技術〕[Conventional technology]

第3図は従来のパルス幅変調回路の一例を示すブロック
図である。原発振信号CLKが基本タイミング発生回路
1に入力されると、パルス幅変調のビット数の重みに応
じた基本タイミング信号Sが基本タイミング発生回路1
からパルス幅変調合成回路5〜7へ入力される。第5図
囚〜の)はパルス幅変調のビット数が4ビツトの場合の
基本タイミング信号Sを示すタイムチャートであシ、そ
れぞれ(4)はビット4 (MSBであシ、ビットの重
みは2s)、(B)はビット3(ビットの重み2”)、
(C)はビット2(ビットの重み21)、(ロ)はビッ
ト1(LSBでちゃ、ビットの重み20)である。第3
図において、外部から入力されるデータD1〜D3はラ
ッチ2〜4を介してパルス幅変調合成回路5〜7へ入力
される。基本タイミング信号Sは、ノくルス幅変調合成
回路5〜1へ入力されるデータD1〜D3に従って取捨
選択あるいは合成され、パルス幅変調出力PWM1〜P
WM3が出力される。
FIG. 3 is a block diagram showing an example of a conventional pulse width modulation circuit. When the original oscillation signal CLK is input to the basic timing generation circuit 1, the basic timing generation circuit 1 generates a basic timing signal S according to the weight of the number of bits of pulse width modulation.
are inputted to pulse width modulation synthesis circuits 5-7. Figure 5-5) are time charts showing the basic timing signal S when the number of bits of pulse width modulation is 4 bits, and each (4) is bit 4 (MSB, the bit weight is 2s ), (B) is bit 3 (bit weight 2”),
(C) is bit 2 (bit weight 21), and (b) is bit 1 (LSB, bit weight 20). Third
In the figure, data D1-D3 input from the outside are inputted to pulse width modulation synthesis circuits 5-7 via latches 2-4. The basic timing signal S is selected or synthesized according to the data D1 to D3 input to the Norculus width modulation synthesis circuits 5 to 1, and the pulse width modulation outputs PWM1 to PWM
WM3 is output.

例えば、ラッチ2からパルス幅変調合成回路5へ入力さ
れるデータD1がrlloIJとすると、基本タイミン
グ信号Sのうちビット4とビット3すなわち第5図(6
)と(B)の波形が選択、合成され、同図(ト)に示す
パルス幅変調出力PWM1がノくルス幅変調合成回路5
から出力される。同様にデータD1がrolloJ、r
ololJとすれば、それぞれのビットに対応する基本
タイミング信号S(第5図囚〜(ロ))が選択1合成さ
れて、データD1がrolloJの場合はパルス幅変調
出力PWM1として第5図(巧の波形が出力され、デー
タD1がr、01.01jの場合はパルス幅変調出力P
WM1として同図(G)の波形が出力される。
For example, if the data D1 input from the latch 2 to the pulse width modulation synthesis circuit 5 is rlloIJ, bits 4 and 3 of the basic timing signal S, that is, FIG.
) and (B) are selected and synthesized, and the pulse width modulation output PWM1 shown in (g) of the same figure is generated by the pulse width modulation synthesis circuit 5.
is output from. Similarly, data D1 is rolloJ, r
If the data D1 is rolloJ, the basic timing signals S (see Figure 5) corresponding to each bit are selectively synthesized, and if the data D1 is rolloJ, the pulse width modulation output PWM1 is output as the pulse width modulated output PWM1. If the data D1 is r, 01.01j, the pulse width modulation output P
The waveform shown in (G) in the figure is output as WM1.

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

従来のパルス幅変調回路は以上のように構成されておp
1第3図に示すように複数のパルス幅変調出力PWM1
〜PWM3のデータが全て同一内容であったとすると、
第4図囚〜(C)に示すタイムチャートのようにパルス
幅変調出力PWM1〜PWM3の波形の立ち上シ、立ち
下シのタイミングが一致してしまう。すると、このパル
ス幅変調回路5〜7及びその周辺回路において電力の消
費されるタイミングが一致し、集中的に電力が消費され
ることによシ大きなノイズが発生し、このパルス幅変調
回路が大きなノイズ源になるという欠点があった。また
、パルス幅変調回路の出力数が増すほど消費電力は太き
くなシ、このパルス幅変調回路はよシ大きなノイズ源と
なっていた。
A conventional pulse width modulation circuit is configured as described above.
1 As shown in FIG. 3, multiple pulse width modulation outputs PWM1
~Assuming that all PWM3 data has the same content,
As shown in the time chart shown in FIG. 4C, the rising and falling timings of the waveforms of the pulse width modulated outputs PWM1 to PWM3 coincide. Then, the timing at which power is consumed in these pulse width modulation circuits 5 to 7 and their peripheral circuits coincides, and large noise is generated due to concentrated power consumption. It has the disadvantage of becoming a noise source. Furthermore, as the number of outputs from the pulse width modulation circuit increases, the power consumption increases, and this pulse width modulation circuit has become a large noise source.

本発明は上記の課題を解決するためになされたものであ
シ、パルス幅変調回路においてパルス幅変調出力によっ
て発生するノイズを低減させ、その出力数が増加しても
大きなノイズ源となることを防止できるパルス幅変調回
路を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to reduce noise generated by pulse width modulation output in a pulse width modulation circuit, and to prevent noise from becoming a large noise source even if the number of outputs increases. The purpose is to obtain a pulse width modulation circuit that can prevent the above problems.

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

本発明のパルス幅変調回路は2以上のパルス幅変調出力
を有し、そのパルス幅変調出力の波形の位相が全部異な
るか、一部具なるものである。
The pulse width modulation circuit of the present invention has two or more pulse width modulation outputs, and the waveform phases of the pulse width modulation outputs are all different from each other, or only one of them is included.

〔作用〕[Effect]

本発明のパルス幅変調回路においては、複数のパルス幅
変調出力波形の位相を互いにずらせることによって、こ
のパルス幅変調回路の消費する電力のタイミングをずら
し、電力の消費を一時に集中させず平均化させる。
In the pulse width modulation circuit of the present invention, by shifting the phases of a plurality of pulse width modulation output waveforms from each other, the timing of the power consumed by the pulse width modulation circuit is shifted, and the power consumption is averaged rather than concentrated at one time. to become

〔実施例〕〔Example〕

第1図は本発明のパルス幅変調回路の一実施例を示すブ
ロック図であシ、第3図と同一符号は同一部分を示し、
その説明を省略する。
FIG. 1 is a block diagram showing an embodiment of the pulse width modulation circuit of the present invention, and the same reference numerals as in FIG. 3 indicate the same parts.
The explanation will be omitted.

基本タイミング信号Sは、パルス幅変調合成回路5〜7
へ入力されるデータD1〜D3に従って取捨選択あるい
は合成され、パルス幅変調出力PWM1〜PWM3が出
力される。そのうちPWMlはそのままパルス幅変調回
路の外部へ出力され、PWM2とPWM3はそれぞれ遅
延回路8と9を介してパルス幅変調回路の外部へ出力さ
れる。
The basic timing signal S is the pulse width modulation synthesis circuit 5 to 7.
The input data D1 to D3 are selected or combined, and pulse width modulated outputs PWM1 to PWM3 are output. Of these, PWM1 is output as is to the outside of the pulse width modulation circuit, and PWM2 and PWM3 are output to the outside of the pulse width modulation circuit via delay circuits 8 and 9, respectively.

ここで、パルス幅変調出力PWM1〜PWM3のデータ
が全て同じであった場合のパルス幅変調出力PWM1〜
PWM3の波形を示したタイムチャートを第2図囚〜(
C’)に示す。遅延回路8に比べ遅延回路9の遅延時間
を長く設定しておけば、遅延回路を介さないため遅延し
ないパルス幅変調出力PWM1、遅延回路8を介して出
力されるために一定時間遅延して出力されるパルス幅変
調出力PWM2、遅延回路9を介して出力されるために
パルス幅変調出力PWM2よシもさらに一定時間遅延し
て出力されるパルス幅変調出力PWM3のパルス幅変調
出力波形は、全て互いに位相差をもっていることになる
。このため、この3つのパルス幅変調出力波形の立上シ
及び立下シのタイミングすなわち波形の変化するタイミ
ングは一致することがない。つまり、各々のパルス幅変
調出力波形の変化するタイミングがずれることによって
、このパルス幅変調回路及びその周辺回路で消費される
電力のタイミングが一時に集中しないためノイズの発生
は抑制される。
Here, pulse width modulation outputs PWM1 to PWM3 when the data of pulse width modulation outputs PWM1 to PWM3 are all the same.
The time chart showing the waveform of PWM3 is shown in Figure 2 (
Shown in C'). If the delay time of the delay circuit 9 is set longer than that of the delay circuit 8, the pulse width modulation output PWM1 will not be delayed because it does not go through the delay circuit, and the output will be delayed for a certain period of time because it is output through the delay circuit 8. The pulse width modulated output PWM2 that is output via the delay circuit 9 and the pulse width modulated output waveform of the pulse width modulated output PWM3 that is further delayed by a certain period of time and outputted through the delay circuit 9 are all This means that they have a phase difference from each other. Therefore, the rising and falling timings of these three pulse width modulated output waveforms, that is, the timings at which the waveforms change, do not coincide. In other words, since the timings at which the respective pulse width modulation output waveforms change are shifted, the timings of the power consumed by the pulse width modulation circuit and its peripheral circuits are not concentrated at one time, thereby suppressing the generation of noise.

なお、本実施例では遅延回路8,9をパルス幅変調合成
回路6,7と出力端との間に挿入してパルス幅変調出力
の位相を変えたが、パルス幅変調合成回路6,7におい
てパルス幅変調出力の位相を変えてもよく、あるいは基
本タイミング発生回路1において各パルス幅変調合成回
路5〜7へ入力される基本タイミング信号Sの位相を変
えてもよい。
In this embodiment, the delay circuits 8 and 9 are inserted between the pulse width modulation synthesis circuits 6 and 7 and the output terminal to change the phase of the pulse width modulation output. The phase of the pulse width modulation output may be changed, or the phase of the basic timing signal S input to each pulse width modulation synthesis circuit 5 to 7 in the basic timing generation circuit 1 may be changed.

また、本実施例においては全てのパルス幅変調出力PW
M1〜PWM3の位相が互いにずれて異なっているか、
一部のパルス幅変調出力だけ位相を変えてもよい。
In addition, in this embodiment, all pulse width modulation outputs PW
Are the phases of M1 to PWM3 different from each other?
The phase of only a part of the pulse width modulation output may be changed.

本発明のパルス幅変調回路はマイクロコンビュ−夕に内
蔵されるパルス幅変調回路に用いてもよい。
The pulse width modulation circuit of the present invention may be used in a pulse width modulation circuit built into a microcomputer.

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

以上のように本発明のパルス幅変調回路は2以上のパル
ス幅変調出力を有し、そのパルス幅変調出力の位相の全
部あるいは一部が異なるので、このパルス幅変調回路が
出力するパルス幅変調出力の変化するタイミングは全て
が一致することはなく、このパルス幅変調回路及びその
周辺回路で消費される電力は一時に集中せず、ここで生
じるノイズを低減することが可能である。また、このパ
ルス幅変調回路の出力数を増した場合でもこの回路及び
その周辺回路で消費される電力は一時に集中せず平均化
するので、ここで生ずるノイズの増大を防止することが
可能である。
As described above, the pulse width modulation circuit of the present invention has two or more pulse width modulation outputs, and all or part of the phases of the pulse width modulation outputs are different, so that the pulse width modulation circuit outputs the pulse width modulation circuit. The timings at which the outputs change do not all coincide, and the power consumed by the pulse width modulation circuit and its peripheral circuits is not concentrated at once, making it possible to reduce the noise generated here. Furthermore, even if the number of outputs of this pulse width modulation circuit is increased, the power consumed by this circuit and its peripheral circuits is not concentrated all at once but is averaged out, making it possible to prevent an increase in the noise generated here. be.

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

第1図は本発明の一実施例を示すブロック図、第2図は
同実施例のタイムチャート、第3図は従来例を示すブロ
ック図、第4図は従来例のタイムチャート、第5図は基
本タイミング信号とパルス(力      − 幅変調出力を示すタイムチャートである。 1・・・・基本タイミング発生回路、2〜4・・Φ・ラ
ッチ、5〜7Φ・・・パルス幅変調合成回路、8,9・
轡・・遅延回路、CLK・・・・原発振信号、S・・・
・基本タイミング信号、D1〜D3・・・争データ、P
WM1〜PWM3・・・・パルス幅変調出力。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a time chart of the same embodiment, Fig. 3 is a block diagram showing a conventional example, Fig. 4 is a time chart of the conventional example, and Fig. 5. is a time chart showing basic timing signals and pulse (force-width modulation outputs). 1... basic timing generation circuit, 2 to 4...Φ latch, 5 to 7Φ... pulse width modulation synthesis circuit, 8,9・
轡...Delay circuit, CLK...Original oscillation signal, S...
・Basic timing signal, D1 to D3... Contention data, P
WM1 to PWM3...Pulse width modulation output.

Claims (1)

【特許請求の範囲】 2以上のパルス幅変調出力を有するパルス幅変調回路に
おいて、 前記2以上のパルス幅変調出力の波形の位相が全部異な
るかあるいは一部異なることを特徴とするパルス幅変調
回路。
[Scope of Claims] A pulse width modulation circuit having two or more pulse width modulation outputs, wherein the phases of the waveforms of the two or more pulse width modulation outputs are completely different or partially different. .
JP9214988A 1988-04-13 1988-04-13 Pulse width modulation circuit Pending JPH01261916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9214988A JPH01261916A (en) 1988-04-13 1988-04-13 Pulse width modulation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9214988A JPH01261916A (en) 1988-04-13 1988-04-13 Pulse width modulation circuit

Publications (1)

Publication Number Publication Date
JPH01261916A true JPH01261916A (en) 1989-10-18

Family

ID=14046368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9214988A Pending JPH01261916A (en) 1988-04-13 1988-04-13 Pulse width modulation circuit

Country Status (1)

Country Link
JP (1) JPH01261916A (en)

Similar Documents

Publication Publication Date Title
US5361290A (en) Clock generating circuit for use in single chip microcomputer
US20100052757A1 (en) Cooperation circuit
JPH01261916A (en) Pulse width modulation circuit
JP2967577B2 (en) Multi-channel pulse width modulation circuit
JP2957493B2 (en) PWM pulse generation circuit
JPH0821859B2 (en) D / A conversion method
JPH0865173A (en) Parallel to serial conversion circuit
JPS6321924B2 (en)
JP3160331B2 (en) Pulse width modulator
JP2924030B2 (en) Clock signal selection circuit
JP2005265827A (en) Test pulse generation method and system for testing electronic apparatus
JPH11150479A (en) Pulse width signal conversion circuit
JP2757714B2 (en) Frame pulse generation circuit
JPH01311872A (en) Pwm signal arithmetic and logic device
JP2854407B2 (en) Pulse generator
JPH06303113A (en) Pulse generating circuit
JP2853723B2 (en) Pulse width modulation circuit
JPH0381334B2 (en)
JPH0983368A (en) D/a converting circuit
JPH0566049B2 (en)
JPH06104763A (en) Pulse addition type d/a converter
JPS63202119A (en) Pulse generation circuit
JPH04287520A (en) Counter
JPS62128213A (en) Digital-analog converter
JPH01241224A (en) Digital/analog converter