JPH05122081A - Pulse width modulator - Google Patents

Pulse width modulator

Info

Publication number
JPH05122081A
JPH05122081A JP28509391A JP28509391A JPH05122081A JP H05122081 A JPH05122081 A JP H05122081A JP 28509391 A JP28509391 A JP 28509391A JP 28509391 A JP28509391 A JP 28509391A JP H05122081 A JPH05122081 A JP H05122081A
Authority
JP
Japan
Prior art keywords
pulse width
level
output signal
input data
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
JP28509391A
Other languages
Japanese (ja)
Other versions
JP3160331B2 (en
Inventor
Shigeo Koide
薫生 小出
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28509391A priority Critical patent/JP3160331B2/en
Publication of JPH05122081A publication Critical patent/JPH05122081A/en
Application granted granted Critical
Publication of JP3160331B2 publication Critical patent/JP3160331B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To improve the efficiency of a D/A converter by optionally outputting the signals from the flat PWM output signals 'LL-LL' of an 'L' level to the flat PWM output signals 'HH-HH' of an 'H' level in a pulse width modulator. CONSTITUTION:The modulator includes an input data register 90 storing digital input data 54, a pulse width generator 50 outputting generator output signal 56 which is pulse-width-modulated based on input data 54 from the input data registor 90, and a selector part 58 receiving a generator output signal from the pulse width generator 50 and a selector part control signal 62. The selector part 58 outputs either of the generator output signal 56 or the flat signal of 'H' or 'L' level based on a selector part control signal 62.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パルス幅変調装置(P
WM:Pulse Width Modulator 装置)に関する。
BACKGROUND OF THE INVENTION The present invention relates to a pulse width modulator (P
WM: Pulse Width Modulator device).

【0002】従来、D/A変換装置として一般にPWM
装置が使用されており、このPWM装置において、nビ
ットの入力データをD/A変換する場合、出力できる波
形は2n 種類である。すなわち、出力できる波形として
は、“L”レベルのフラットな波形(“LL…LL”)
から波形(“HH…HHL”)の2n 種類、あるいは、
波形(“HLL…LL”)から“H”レベルのフラット
な波形(“HH…HH”)の2n 個であり、2n 種類の
D/A変換が可能である。ところが、“L”レベルのフ
ラットな波形(“LL…LL”)から“H”レベルのフ
ラットな波形(“HH…HH”)まで任意に出力する場
合に必要とされる波形は2n +1種類である。このた
め、従来のPWM装置では、必要とされる波形が1種類
不足することとなり、D/A変換の効率が低いという問
題がある。
Conventionally, PWM is generally used as a D / A converter.
A device is used, and in this PWM device, when n-bit input data is D / A converted, there are 2 n types of waveforms that can be output. That is, as the waveform that can be output, a flat waveform of "L" level ("LL ... LL")
2 n types of waveforms (“HH ... HHL”), or
There are 2 n waveforms (“HLL ... LL”) to “H” level flat waveforms (“HH ... HH”), and 2 n types of D / A conversion are possible. However, there are 2 n +1 types of waveforms required for arbitrary output from "L" level flat waveforms ("LL ... LL") to "H" level flat waveforms ("HH ... HH"). Is. Therefore, in the conventional PWM device, one kind of required waveform is insufficient, and there is a problem that the efficiency of D / A conversion is low.

【0003】そこで、“L”レベルのフラットな波形
(“LL…LL”)から“H”レベルのフラットな波形
(“HH…HH”)まで任意に出力することにより、D
/A変換の効率を向上させることが望まれている。
Then, by arbitrarily outputting from the flat waveform of "L" level ("LL ... LL") to the flat waveform of "H" level ("HH ... HH"), D
It is desired to improve the efficiency of / A conversion.

【0004】[0004]

【従来の技術】図5には、従来のパルス幅変調装置が示
されている。図5(A)において、パルス幅変調装置
は、パルス幅発生器10を含み、該パルス幅発生器10
は、入力クロック12により同期をとられながら、デジ
タルの入力データ14をパルス幅変調し、該パルス幅変
調されたPWM出力信号16を出力する。
2. Description of the Related Art FIG. 5 shows a conventional pulse width modulator. In FIG. 5A, the pulse width modulator includes a pulse width generator 10, and the pulse width generator 10
Pulse-width-modulates the digital input data 14 while being synchronized with the input clock 12, and outputs the pulse-width-modulated PWM output signal 16.

【0005】図5(B)は、図5(A)のパルス幅変調
装置のタイミングチャートを示す。この図5(B)で
は、2ビットの入力データ14をパルス幅変調する場合
が示されており、時間t1 〜t4 で1つの入力データ1
4がパルス幅変調され、同様にして、時間t5 〜t8
1つの入力データ14がパルス幅変調される。ここで、
時間t1 〜t4 について考えると、入力データ14が
“00”の場合には、時間t1 〜t4 の全てで“L”レ
ベルであるPWM出力信号16が出力され、入力データ
14が“01“の場合には、時間t1 で“H”レベルで
あり時間t2 〜t4 で“L”レベルであるPWM出力信
号16が出力される。同様にして、入力データ14が
“10”の場合には、時間t1 〜t2 で“H”レベルで
あり時間t3 〜t4 で“L”レベルであるPWM出力信
号16が出力され、入力データ14が“11”の場合に
は、時間t1 〜t3 で“H”レベルであり時間t4
“L”レベルであるPWM出力信号16が出力される。
FIG. 5 (B) shows a timing chart of the pulse width modulator of FIG. 5 (A). In FIG. 5B, the case where the 2-bit input data 14 is pulse-width modulated is shown, and one input data 1 is input at times t 1 to t 4.
4 is pulse width modulated, and similarly, one input data 14 is pulse width modulated at times t 5 to t 8 . here,
Considering the times t 1 to t 4 , when the input data 14 is “00”, the PWM output signal 16 at the “L” level is output at all of the times t 1 to t 4 , and the input data 14 is “0”. 01 ", the time t 1" PWM output signal 16 is L "level" in and time t 2 ~t 4 at level "H is outputted. Similarly, when the input data 14 "10" is output PWM output signal 16 is at "L" level at time t 1 ~t a 2 "H" level time t 3 ~t 4, If the input data 14 "11", PWM output signal 16 is output is at "L" level and time t 4 at the "H" level at time t 1 ~t 3.

【0006】以上のように、図5のパルス幅変調装置に
よれば、2ビットの入力データ14(“00”、“0
1”、“10”、“11”)を4種類のPWM出力信号
16にパルス幅変調することができる。
As described above, according to the pulse width modulator of FIG. 5, 2-bit input data 14 ("00", "0") is input.
1 ”,“ 10 ”,“ 11 ”) can be pulse-width modulated into four types of PWM output signals 16.

【0007】次に、図6には、上記図5のパルス幅変調
装置が詳細に示されている。図6(A)において、分周
回路18は、直列に接続された第1分周器20及び第2
分周器22を含む。第1分周器20には、入力パルス2
4が供給され、該第1分周器20は、入力パルス24に
基づいて第1クロック26を第2分周器22に供給し、
該第2分周器22は、第1クロック26に基づいて第2
クロック28を出力する。そして、第1クロック26及
び第2クロック28により入力クロック12が構成さ
れ、該入力クロック12は、パルス幅発生器10に供給
される。また、パルス幅発生器10には、下位ビット1
4a及び上位ビット14bから成る2ビットの入力デー
タ14が供給され、該パルス幅発生器10は、入力クロ
ック12により同期をとられながら、入力データ14を
パルス幅変調し、PWM出力信号16を出力する。
Next, FIG. 6 shows the pulse width modulator of FIG. 5 in detail. In FIG. 6A, the frequency divider circuit 18 includes a first frequency divider 20 and a second frequency divider 20 connected in series.
The frequency divider 22 is included. The first frequency divider 20 has an input pulse 2
4, the first frequency divider 20 supplies the first clock 26 to the second frequency divider 22 based on the input pulse 24,
The second frequency divider 22 outputs a second clock based on the first clock 26.
The clock 28 is output. Then, the input clock 12 is constituted by the first clock 26 and the second clock 28, and the input clock 12 is supplied to the pulse width generator 10. In addition, the pulse width generator 10 has a lower bit 1
2 bits of input data 14 consisting of 4a and upper bits 14b are supplied, and the pulse width generator 10 performs pulse width modulation of the input data 14 and outputs a PWM output signal 16 while being synchronized by the input clock 12. To do.

【0008】以下、図6(B)のタイミングチャートを
参照しながら、図6(A)のパルス幅変調装置の作用を
説明する。入力クロック12は、第1クロック26及び
第2クロック28から構成され、第1クロック26は、
時間t1 、t3 、t5 、t7 で“H”レベルであり、時
間t2 、t4 、t6 、t8 、t10で“L”レベルであ
る。また、第2クロック28は、第1クロック26を分
周したものであり(図6(A)参照)、時間t1
2 、t5 〜t6 、t9 〜t10で“H”レベルであり、
時間t3 〜t4 、t7 〜t 8 で“L”レベルである。
Below, the timing chart of FIG.
Referring to the operation of the pulse width modulator of FIG.
explain. The input clock 12 is the first clock 26 and
It is composed of a second clock 28, and the first clock 26 is
Time t1, T3, TFive, T7At "H" level,
Interval t2, TFour, T6, T8, TTenAt "L" level
It The second clock 28 also divides the first clock 26.
It is a cycle (see FIG. 6A), and time t1~
t 2, TFive~ T6, T9~ TTenIs at "H" level,
Time t3~ TFour, T7~ T 8Is at the "L" level.

【0009】図6(B)では、2ビットの入力データ1
4をパルス幅変調する場合が示されており、時間t1
4 で1つの入力データ14がパルス幅変調され、同様
にして、時間t5 〜t8 で1つの入力データ14がパル
ス幅変調される。ここで、時間t1 〜t4 でのパルス幅
変調と時間t5 〜t8 でのパルス幅変調とは同様である
ので、以下、時間t1 〜t4 でのパルス幅変調について
考える。
In FIG. 6B, 2-bit input data 1
4 is shown in the case of performing pulse width modulation, and time t 1 to
One input data 14 is pulse-width modulated at t 4 , and similarly, one input data 14 is pulse-width modulated at times t 5 to t 8 . Here, since the pulse width modulation at times t 1 to t 4 and the pulse width modulation at times t 5 to t 8 are similar, pulse width modulation at times t 1 to t 4 will be considered below.

【0010】入力データ14が“00”の場合には、P
WM出力信号16は、時間t1 〜t 4 の全てで“L”レ
ベルである。入力データ14が“01”の場合には、P
WM出力信号16は、第1クロック26に基づき、時間
1 で“H”レベルである。
When the input data 14 is "00", P
The WM output signal 16 has a time t1~ T Four"L" level in all of
The bell. When the input data 14 is “01”, P
The WM output signal 16 is timed based on the first clock 26.
t1Is at the "H" level.

【0011】入力データ14が“10”の場合には、P
WM出力信号16は、第2クロック28に基づき、時間
1 〜t2 で“H”レベルである。入力データ14が
“11”の場合には、PWM出力信号16は、第1クロ
ック26及び第2クロック28に基づき、時間t1 〜t
3 で“H”レベルである。
When the input data 14 is "10", P
The WM output signal 16 is at the “H” level from time t 1 to t 2 based on the second clock 28. When the input data 14 is “11”, the PWM output signal 16 is based on the first clock 26 and the second clock 28, and the time t 1 to t
It is "H" level at 3 .

【0012】以上のように、図6のパルス幅変調装置に
よれば、第1クロック26及び第2クロック28に基づ
いて、2ビットの入力データ14(“00”、“0
1”、“10”、“11”)を4種類のPWM出力信号
16(時間t1 〜t4 で“L”レベル、時間t1
“H”レベル、時間t1 〜t2 で“H”レベル、時間t
1 〜t 3 で“H”レベル)にパルス幅変調することがで
きる。
As described above, the pulse width modulator of FIG.
According to the first clock 26 and the second clock 28,
The 2-bit input data 14 (“00”, “0”
1 ”,“ 10 ”,“ 11 ”) 4 types of PWM output signals
16 (time t1~ TFourAt "L" level, time t1so
"H" level, time t1~ T2At "H" level, time t
1~ T 3Pulse width modulation to “H” level)
Wear.

【0013】[0013]

【発明が解決しようとする課題】従来のパルス幅変調装
置において、nビットの入力データをパルス幅変調する
場合、2n 種類のPWM出力信号を得ることができる。
ところが、“L”レベルのフラットなPWM出力信号
(“LL…LL”)から“H”レベルのフラットなPW
M出力信号(“HH…HH”)まで任意に出力したい場
合を考えると、必要とされるPWM出力信号は、2n
1種類である。
In the conventional pulse width modulator, when n-bit input data is pulse width modulated, 2 n kinds of PWM output signals can be obtained.
However, from the flat PWM output signal (“LL ... LL”) of “L” level to the flat PW of “H” level.
Considering the case where it is desired to arbitrarily output up to the M output signals (“HH ... HH”), the required PWM output signal is 2 n +
There is one type.

【0014】従って、従来のパルス幅変調装置では、
(2n +1)−2n =1すなわち1種類のPWM出力信
号が不足することになり、D/A変換の効率が低いとい
う問題があった。
Therefore, in the conventional pulse width modulator,
(2 n +1) would be -2 n = 1 i.e. the one of the PWM output signal is insufficient, there is a problem of low efficiency of the D / A converter.

【0015】上記の問題点を、図5、図6のパルス幅変
調装置を例にとり、詳述する。図5、図6のパルス幅変
調装置では、2ビットの入力データ14(“00”、
“01”、“10”、“11”)から4種類のPWM出
力信号16(“LLLL”、“HLLL”、“HHL
L”、“HHHL”)を得ることができる(図5
(B)、図6(B)参照)。ところが、“L”レベルの
フラットなPWM出力信号16(“LLLL”)から
“H”レベルのフラットなPWM出力信号16(“HH
HH”)まで任意に出力したい場合を考えると、5種類
のPWM出力信号16が必要である。すなわち、“LL
LL”、“HLLL”、“HHLL”、“HHHL”、
“HHHH”の5種類のPWM出力信号16が必要とな
る。
The above problems will be described in detail with reference to the pulse width modulators of FIGS. 5 and 6. In the pulse width modulator of FIGS. 5 and 6, the 2-bit input data 14 (“00”,
4 types of PWM output signals 16 (“LLLL”, “HLLL”, “HHL”) from “01”, “10”, “11”)
L "," HHHL ") can be obtained (Fig. 5
(B) and FIG. 6 (B)). However, from the flat PWM output signal 16 (“LLLL”) of “L” level to the flat PWM output signal 16 of “H” level (“HH”
Considering the case where it is desired to arbitrarily output up to HH ″), five types of PWM output signals 16 are required.
LL ”,“ HLLL ”,“ HHLL ”,“ HHHL ”,
Five types of PWM output signals 16 of "HHHH" are required.

【0016】従って、図5、図6のパルス幅変調装置で
は、5−4=1すなわち1種類のPWM出力信号16が
不足することとなり、D/A変換の効率が低い。具体的
には、図5(B)、図6(B)においてそれぞれ符号3
0、32で示される“HHHH”のPWM出力信号16
が不足することになる。
Therefore, in the pulse width modulator of FIGS. 5 and 6, 5-4 = 1, that is, one type of PWM output signal 16 is insufficient, and the efficiency of D / A conversion is low. Specifically, reference numeral 3 is used in each of FIG. 5B and FIG.
“HHHH” PWM output signal 16 indicated by 0 and 32
Will run short.

【0017】本発明は、上記課題に鑑み為されたもので
あり、その目的は、“L”レベルのフラットなPWM出
力信号(“LL…LL”)から“H”レベルのフラット
なPWM出力信号(“HH…HH”)まで任意に出力す
ることにより、D/A変換の効率を向上させることがで
きるパルス幅変調装置を提供することにある。
The present invention has been made in view of the above problems, and an object thereof is from a flat PWM output signal of "L" level ("LL ... LL") to a flat PWM output signal of "H" level. (EN) It is possible to provide a pulse width modulation device capable of improving the efficiency of D / A conversion by arbitrarily outputting ("HH ... HH").

【0018】[0018]

【課題を解決するための手段】本発明は、デジタルの入
力データ(54)を格納する入力データレジスタ(9
0)と、該入力データレジスタ(90)からの入力デー
タ(54)に基づき、パルス幅変調された出力信号(5
6)を出力するパルス幅発生器(50)と、該パルス幅
発生器(50)からの発生器出力信号(56)及びセレ
クタ部制御信号(62)を受け取るセレクタ部(58)
と、を含み、前記セレクタ部(58)は、セレクタ部制
御信号(62)に基づき、発生器出力信号(56)ある
いは“H”又は“L”レベルのフラットな信号のうちい
ずれか一方を出力するように構成されていることを特徴
とする。
The present invention provides an input data register (9) for storing digital input data (54).
0) and the input signal (54) from the input data register (90), the pulse width modulated output signal (5
6) which outputs 6), and a selector section (58) which receives the generator output signal (56) and the selector section control signal (62) from the pulse width generator (50)
And the selector section (58) outputs either the generator output signal (56) or a flat signal of "H" or "L" level based on the selector section control signal (62). It is characterized in that it is configured to.

【0019】[0019]

【作用】まず、パルス幅発生器(50)が“L”レベル
のフラットな出力信号(56)から“HH…HHL”の
出力信号(56)まで出力する場合を考えると、セレク
タ部(58)は、セレクタ部制御信号(62)に基づ
き、パルス幅発生器(50)からの出力信号(56)、
あるいは、“H”レベルのフラットな信号のうちいずれ
か一方をPWM出力信号(64)として出力する。一
方、パルス幅発生器(50)が“HLL…LL”の出力
信号(56)から“H”レベルのフラットな出力信号
(56)まで出力する場合には、セレクタ部(58)
は、セレクタ部制御信号(62)に基づき、パルス幅発
生器(50)からの出力信号(56)、あるいは、
“L”レベルのフラットな信号のうちいずれか一方をP
WM出力信号(64)として出力する。
First, considering the case where the pulse width generator (50) outputs from the "L" level flat output signal (56) to the "HH ... HHL" output signal (56), the selector section (58). Is an output signal (56) from the pulse width generator (50) based on the selector control signal (62),
Alternatively, one of the "H" level flat signals is output as the PWM output signal (64). On the other hand, when the pulse width generator (50) outputs from the "HLL ... LL" output signal (56) to the "H" level flat output signal (56), the selector section (58).
Is an output signal (56) from the pulse width generator (50) based on the selector control signal (62), or
One of the flat signals of the “L” level is set to P
It outputs as a WM output signal (64).

【0020】以上のように、本発明においては、パルス
幅発生器(50)にセレクタ部(58)を接続し、該セ
レクタ部(58)は、セレクタ部制御信号(62)に基
づき、パルス幅発生器(50)で不足する“H”又は
“L”レベルのフラットな信号を出力できるようにして
いるので、“L”レベルのフラットなPWM出力信号
(64)(“LL…LL”)から“H”レベルのフラッ
トなPWM出力信号(64)(“HH…HH”)まで任
意に出力することができる。
As described above, in the present invention, the selector unit (58) is connected to the pulse width generator (50), and the selector unit (58) receives the pulse width based on the selector unit control signal (62). Since the generator (50) can output the lacking "H" or "L" level flat signal, the "L" level flat PWM output signal (64) ("LL ... LL") An "H" level flat PWM output signal (64) ("HH ... HH") can be arbitrarily output.

【0021】なお、セレクタ部(58)から出力される
“H”又は“L”レベルのフラットな信号は、セレクタ
部(58)の外部から得てもよいし、あるいは、セレク
タ部制御信号(62)自体から得てもよい。
The flat signal of "H" or "L" level output from the selector unit (58) may be obtained from the outside of the selector unit (58) or the selector unit control signal (62). ) Itself.

【0022】[0022]

【実施例】以下、図面に基づいて本発明の好適な実施例
を説明する。図1には、本発明の実施例によるパルス幅
変調装置が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a pulse width modulator according to an embodiment of the present invention.

【0023】図1(A)において、パルス幅発生器50
は、入力クロック52により同期をとられながら、デジ
タルの入力データ54をパルス幅変調し、該パルス幅変
調された出力信号56を出力する。この出力信号56
は、セレクタ部58に供給され、また、セレクタ部58
には、“H”又は“L”レベルのフラットな信号、実施
例では“H”レベルの固定信号60が供給される。そし
て、セレクタ部58は、セレクタ部制御信号62に基づ
き、パルス幅発生器50からの出力信号56あるいは
“H”レベルの固定信号60のうちいずれか一方をPW
M出力信号64として出力する。なお、セレクタ部58
は、図1(A)では模式的にスイッチで示されている
が、電気的なスイッチング素子であってもよい。
In FIG. 1A, a pulse width generator 50
Pulse-width-modulates the digital input data 54 while being synchronized with the input clock 52, and outputs the pulse-width-modulated output signal 56. This output signal 56
Is supplied to the selector unit 58, and the selector unit 58
Is supplied with a flat signal of "H" or "L" level, in the embodiment a fixed signal 60 of "H" level. Based on the selector control signal 62, the selector 58 outputs either the output signal 56 from the pulse width generator 50 or the “H” level fixed signal 60 to PW.
It is output as the M output signal 64. The selector unit 58
Is schematically shown as a switch in FIG. 1A, but may be an electric switching element.

【0024】以下、図1(B)のタイミングチャートを
参照しながら、図1(A)のパルス幅変調装置の作用を
説明する。図1(B)では、2ビットの入力データ54
をパルス幅変調する場合が示されており、時間t1 〜t
4で1つの入力データ54がパルス幅変調され、同様に
して、時間t5 〜t8 で1つの入力データ54がパルス
幅変調される。ここで、時間t1 〜t4 でのパルス幅変
調と時間t5 〜t8 でのパルス幅変調とは同様であるの
で、以下、時間t1 〜t4 でのパルス幅変調について考
える。
The operation of the pulse width modulator of FIG. 1A will be described below with reference to the timing chart of FIG. In FIG. 1B, 2-bit input data 54
Pulse width modulation is shown, and the time t 1 to t
4 with one of the input data 54 is pulse width modulated, in a similar manner, one input data 54 at time t 5 ~t 8 is pulse width modulated. Here, since the pulse width modulation at times t 1 to t 4 and the pulse width modulation at times t 5 to t 8 are similar, pulse width modulation at times t 1 to t 4 will be considered below.

【0025】まず、セレクタ部制御信号62が“L”レ
ベルである場合には、セレクタ部58は、パルス幅発生
器50からの出力信号56をPWM出力信号64として
出力する。すなわち、入力データ54が“00”の場合
には、PWM出力信号64は、時間t1 〜t4 の全てで
“L”レベルであり、入力データ14が“01”、“1
0”、“11”の場合には、PWM出力信号64は、そ
れぞれ時間t1 で“H”レベル、時間t1 〜t2
“H”レベル、時間t1 〜t3 で“H”レベルである。
First, when the selector unit control signal 62 is at "L" level, the selector unit 58 outputs the output signal 56 from the pulse width generator 50 as the PWM output signal 64. That is, when the input data 54 is “00”, the PWM output signal 64 is at “L” level during all of the times t 1 to t 4 , and the input data 14 is “01”, “1”.
0 "," 11 "in the case of the PWM output signal 64, respectively the time t 1" H "level at time t 1 ~t 2" H "level at time t 1 ~t 3" H "level Is.

【0026】次に、PWM出力信号64を時間t1 〜t
4 の全てで“H”レベルにしたい場合に、パルス幅発生
器50からは、このような“H”レベルのフラットな信
号を発生させることができない。そこで、セレクタ部制
御信号62を“H”レベルにすると、セレクタ部58
は、“H”レベルの固定信号60をPWM出力信号64
として出力する。これにより、時間t1 〜t4 の全てで
“H”レベルであるPWM出力信号64が得られる。
Next, the PWM output signal 64 is changed from time t 1 to t.
When it is desired to set all 4 to "H" level, the pulse width generator 50 cannot generate such a flat signal of "H" level. Therefore, when the selector unit control signal 62 is set to the “H” level, the selector unit 58
Is the PWM output signal 64 for the "H" level fixed signal 60.
Output as. Thus, PWM output signal 64 is obtained at "H" level at all times t 1 ~t 4.

【0027】以上のように、本発明の実施例によるパル
ス幅変調装置によれば、“L”レベルのフラットなPW
M出力信号(“LLLL”)から“H”レベルのフラッ
トなPWM出力信号(“HHHH”)まで任意に出力で
きる。
As described above, according to the pulse width modulator of the embodiment of the present invention, the flat PW of "L" level is obtained.
The M output signal (“LLLL”) to the “H” level flat PWM output signal (“HHHH”) can be arbitrarily output.

【0028】次に、図2には、上記図1のパルス幅変調
装置の詳細が示されている。図2において、セレクタ部
58は、2つのアンドゲート66、68、1つのオアゲ
ート70、及び、1つのインバータ(反転回路)72を
含む。アンドゲート66の一方の入力端には、パルス幅
発生器50からの出力信号56が供給され、アンドゲー
ト68の一方の入力端には、“H”の固定信号60が供
給される。アンドゲート66の他方の入力端には、セレ
クタ部制御信号62がインバータ72を介して供給さ
れ、アンドゲート68の他方の入力端には、セレクタ部
制御信号62がそのまま供給され、セレクタ部制御信号
62が“L”レベルであるか“H”レベルであるかに基
づいて、アンドゲート66、68のうちいずれか一方が
有効状態にされる。そして、アンドゲート66及び68
からの出力はオアゲート70に供給され、該オアゲート
70は、アンドゲート66あるいは68からの出力のう
ちいずれか一方をPWM出力信号64として出力する。
Next, FIG. 2 shows details of the pulse width modulator of FIG. In FIG. 2, the selector unit 58 includes two AND gates 66 and 68, one OR gate 70, and one inverter (inverting circuit) 72. The output signal 56 from the pulse width generator 50 is supplied to one input end of the AND gate 66, and the fixed signal 60 of "H" is supplied to one input end of the AND gate 68. The selector unit control signal 62 is supplied to the other input end of the AND gate 66 via the inverter 72, and the selector unit control signal 62 is supplied as it is to the other input end of the AND gate 68. Either one of the AND gates 66 and 68 is enabled depending on whether 62 is at "L" level or "H" level. And gates 66 and 68
Is supplied to an OR gate 70, which outputs one of the outputs from the AND gates 66 and 68 as a PWM output signal 64.

【0029】上記の構成において、セレクタ部制御信号
62が“L”レベルである場合には、オアゲート66が
有効状態であり、オアゲート68が無効状態である。従
って、パルス幅発生器50からの出力信号56は、アン
ドゲート66を通り、オアゲート70からPWM出力信
号64として出力される。一方、セレクタ部制御信号6
2が“H”レベルである場合には、オアゲート66が無
効状態であり、オアゲート68が有効状態である。従っ
て、“H”レベルの固定信号60がアンドゲート68を
通り、オアゲート70からPWM出力信号64として出
力される。
In the above structure, when the selector control signal 62 is at "L" level, the OR gate 66 is in the valid state and the OR gate 68 is in the invalid state. Therefore, the output signal 56 from the pulse width generator 50 passes through the AND gate 66 and is output from the OR gate 70 as the PWM output signal 64. On the other hand, the selector control signal 6
When 2 is at "H" level, the OR gate 66 is in the invalid state and the OR gate 68 is in the valid state. Therefore, the “H” level fixed signal 60 passes through the AND gate 68 and is output from the OR gate 70 as the PWM output signal 64.

【0030】以上のように、図2のセレクタ部58によ
れば、セレクタ部制御信号62に基づき、発生器出力信
号56あるいは“H”レベルの固定信号60のうちいず
れか一方をPWM出力信号64として出力することがで
きる。
As described above, according to the selector section 58 shown in FIG. 2, either the generator output signal 56 or the "H" level fixed signal 60 is supplied to the PWM output signal 64 based on the selector section control signal 62. Can be output as

【0031】なお、上記実施例においては、パルス幅発
生器50が“L”レベルのフラットな出力信号56から
“HHHL”の出力信号56まで出力するので、固定信
号60は、不足する“H”レベルのフラットな信号であ
るが、パルス幅発生器50が“HLLL”の出力信号5
6から“H”レベルのフラットな出力信号56まで出力
する場合には、固定信号60は、不足する“L”レベル
のフラットな信号である。
In the above embodiment, the pulse width generator 50 outputs from the flat output signal 56 of "L" level to the output signal 56 of "HHHL", so that the fixed signal 60 lacks "H". Although the signal has a flat level, the pulse width generator 50 outputs the signal "HLLL" 5
When outputting from 6 to the "H" level flat output signal 56, the fixed signal 60 is a lacking "L" level flat signal.

【0032】また、前記実施例において、“H”レベル
のフラットな信号は、セレクタ部58の外部から“H”
レベルの固定信号60として得ているが、本発明におい
ては、セレクタ部制御信号62自体から、“H”又は
“L”レベルのフラットな信号を得ることもできる。こ
の例が図3に示されている。
Further, in the above embodiment, the flat signal of "H" level is supplied from the outside of the selector section 58 to "H".
Although it is obtained as the fixed signal 60 of the level, in the present invention, a flat signal of "H" or "L" level can be obtained from the selector control signal 62 itself. An example of this is shown in FIG.

【0033】図3(A)において、パルス幅発生器50
は、“L”レベルのフラットな出力信号56から“HH
HL”の出力信号56まで出力する。セレクタ部58
は、オアゲート74を含み、該オアゲート74の一方の
入力端には、前記出力信号56が供給され、該オアゲー
ト74の他方の入力端には、セレクタ部制御信号62が
供給される。そして、セレクタ部制御信号62が“L”
レベルである場合には、オアゲート74は、発生器出力
信号56をそのままPWM出力信号64として出力す
る。一方、セレクタ部制御信号62が“H”レベルであ
る場合には、オアゲート74は、“H”レベルの制御信
号62をそのままPWM出力信号として出力し、これに
より、“H”レベルのフラットな信号が得られる。
In FIG. 3A, the pulse width generator 50
From the flat output signal 56 of "L" level to "HH
It outputs up to the output signal 56 of "HL". Selector unit 58
Includes an OR gate 74, the output signal 56 is supplied to one input terminal of the OR gate 74, and the selector unit control signal 62 is supplied to the other input terminal of the OR gate 74. Then, the selector control signal 62 is "L".
If it is at the level, the OR gate 74 outputs the generator output signal 56 as it is as the PWM output signal 64. On the other hand, when the selector unit control signal 62 is at "H" level, the OR gate 74 outputs the "H" level control signal 62 as it is as the PWM output signal, whereby the "H" level flat signal is output. Is obtained.

【0034】また、図3(B)において、パルス幅発生
器50は、“HLLL”の出力信号56から“H”レベ
ルのフラットな出力信号56まで出力する。セレクタ部
58は、アンドゲート76を含み、該アンドゲート76
の一方の入力端には、前記出力信号56が供給され、該
アンドゲート76の他方の入力端には、セレクタ部制御
信号62が供給される。そして、セレクタ部制御信号6
2が“H”レベルである場合には、アンドゲート76
は、発生器出力信号56をそのままPWM出力信号64
として出力する。一方、セレクタ部制御信号62が
“L”レベルである場合には、アンドゲート76は、
“L”レベルの制御信号62をそのままPWM出力信号
として出力し、これにより、“L”レベルのフラットな
信号が得られる。
Further, in FIG. 3B, the pulse width generator 50 outputs the "HLLL" output signal 56 to the "H" level flat output signal 56. The selector unit 58 includes an AND gate 76, and the AND gate 76
The output signal 56 is supplied to one of the input terminals, and the selector control signal 62 is supplied to the other input terminal of the AND gate 76. Then, the selector control signal 6
If 2 is at "H" level, AND gate 76
Is the PWM output signal 64 without changing the generator output signal 56.
Output as. On the other hand, when the selector unit control signal 62 is at “L” level, the AND gate 76
The "L" level control signal 62 is directly output as a PWM output signal, whereby an "L" level flat signal is obtained.

【0035】以上のように、図3に示されるパルス幅変
調装置によれば、セレクタ部58の外部から“H”又は
“L”レベルの固定信号を受けることなく、セレクタ部
制御信号62自体から“H”又は“L”レベルのフラッ
トな信号を得ることができる。
As described above, according to the pulse width modulator shown in FIG. 3, the selector unit control signal 62 itself receives the fixed signal of "H" or "L" level from the outside of the selector unit 58. A flat signal of "H" or "L" level can be obtained.

【0036】次に、図4には、本発明の実施例によるパ
ルス幅変調装置を適用した具体的な回路構成が示されて
いる。図4において、符号78は、バスを示し、バス7
8は、制御信号80を制御レジスタ82に格納し、該レ
ジスタ82は、制御信号84をパルス幅発生器50に供
給して発生器50を制御する。また、バス78は、n+
1ビットから成るデータ86をデータレジスタ部88に
供給し、データ86のうちnビットの入力データは、n
ビット用の入力データレジスタ90に格納され、データ
86のうち1ビットのセレクタ部制御信号は、1ビット
用のセレクタ部制御レジスタ92に格納される。
Next, FIG. 4 shows a specific circuit configuration to which the pulse width modulator according to the embodiment of the present invention is applied. In FIG. 4, reference numeral 78 indicates a bus, and the bus 7
8 stores the control signal 80 in the control register 82, which supplies the control signal 84 to the pulse width generator 50 to control the generator 50. Also, the bus 78 is n +
The data 86 consisting of 1 bit is supplied to the data register section 88, and the n-bit input data of the data 86 is n
The bit input data register 90 stores the 1-bit selector section control signal of the data 86, and the 1-bit selector section control register 92 stores the 1-bit selector section control signal.

【0037】前記パルス幅発生器50は、制御信号84
により制御され、入力クロック52により同期をとられ
ながら、入力データレジスタ90からのnビットの入力
データ54をパルス幅変調し、該パルス幅変調された出
力信号56をセレクタ部58に出力する。セレクテタ部
58には、セレクタ部制御レジスタ92からセレクタ部
制御信号62が供給され、該セレクタ部58は、セレク
タ部制御信号62に基づき、パルス幅発生器50からの
出力信号56あるいは“H”又は“L”レベルのフラッ
トな信号をPWM出力信号64として出力する。
The pulse width generator 50 has a control signal 84
The pulse width modulation is performed on the n-bit input data 54 from the input data register 90 and the pulse width modulated output signal 56 is output to the selector unit 58 while being controlled by the input clock 52. A selector unit control signal 62 is supplied from the selector unit control register 92 to the selector unit 58, and the selector unit 58 outputs the output signal 56 from the pulse width generator 50 or “H” or based on the selector unit control signal 62. A flat signal of "L" level is output as the PWM output signal 64.

【0038】上記の構成において、セレクタ部制御レジ
スタ92は、入力データレジスタ90とともに、データ
レジスタ部88内に配置されているので、該データレジ
スタ部88がバス78からデータ86を1回読み取るこ
とにより、入力データレジスタ90に入力データが格納
され、且つ、セレクタ部制御レジスタ92にセレクタ部
制御信号が格納される。従って、データレジスタ部88
がバス78からデータ86を1回読み取ることにより、
該データレジスタ部88は、入力データ54をパルス幅
発生器50に供給できるとともに、セレクタ部制御信号
62をセレクタ部58に供給できる。それゆえ、パルス
幅変調装置において、セレクタ部制御信号62を入力デ
ータ54と同様にデータ86の一部として使用でき、簡
単な構成にて、“L”レベルのフラットなPWM出力信
号64から“H”レベルのフラットなPWM出力信号6
4まで任意に出力することができる。
In the above structure, since the selector control register 92 is arranged in the data register 88 together with the input data register 90, the data register 88 reads the data 86 from the bus 78 once. The input data is stored in the input data register 90, and the selector control signal is stored in the selector control register 92. Therefore, the data register unit 88
Reads the data 86 from the bus 78 once,
The data register section 88 can supply the input data 54 to the pulse width generator 50 and the selector section control signal 62 to the selector section 58. Therefore, in the pulse width modulator, the selector control signal 62 can be used as a part of the data 86 like the input data 54, and the flat PWM output signal 64 from the “L” level to the “H” can be generated with a simple configuration. "Level flat PWM output signal 6
Up to 4 can be output arbitrarily.

【0039】なお、図4において、セレクタ部制御レジ
スタ92を、入力データレジスタ90の最上位ビットの
上に配置することもできる。
Note that, in FIG. 4, the selector section control register 92 may be arranged above the most significant bit of the input data register 90.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
“L”レベルのフラットなPWM出力信号から“H”レ
ベルのフラットなPWM出力信号まで任意に出力するこ
とができ、パルス幅変調装置において、D/A変換の効
率を向上させることができる。
As described above, according to the present invention,
It is possible to arbitrarily output from a flat PWM output signal of “L” level to a flat PWM output signal of “H” level, and it is possible to improve the efficiency of D / A conversion in the pulse width modulation device.

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

【図1】本発明の実施例によるパルス幅変調装置を示
し、(A)は、そのブロック回路図であり、(B)は、
その作用を示すタイミングチャート図である。
1 shows a pulse width modulator according to an embodiment of the present invention, FIG. 1A is a block circuit diagram thereof, and FIG.
It is a timing chart figure which shows the effect.

【図2】本発明の実施例によるパルス幅変調装置の詳細
を示すブロック回路図である。
FIG. 2 is a block circuit diagram showing details of a pulse width modulator according to an embodiment of the present invention.

【図3】本発明の他の実施例によるパルス幅変調装置の
ブロック回路図であり、(A)は、セレクタ部がオアゲ
ートを含む場合を示し、(B)は、セレクタ部がアンド
ゲートを含む場合を示す。
3A and 3B are block circuit diagrams of a pulse width modulator according to another embodiment of the present invention, where FIG. 3A shows a case where the selector unit includes an OR gate, and FIG. 3B shows a selector unit which includes an AND gate. Indicate the case.

【図4】本発明の実施例によるパルス幅変調装置を適用
した具体的な回路構成を示すブロック回路図である。
FIG. 4 is a block circuit diagram showing a specific circuit configuration to which the pulse width modulator according to the embodiment of the present invention is applied.

【図5】従来のパルス幅変調装置を示し、(A)は、そ
のブロック回路図であり、(B)は、その作用を示すタ
イミングチャート図である。
FIG. 5 shows a conventional pulse width modulation device, (A) is a block circuit diagram thereof, and (B) is a timing chart diagram showing its operation.

【図6】従来のパルス幅変調装置の詳細を示し、(A)
は、そのブロック回路図であり、(B)は、その作用を
示すタイミングチャート図である。
FIG. 6 shows details of a conventional pulse width modulator, (A)
Is a block circuit diagram thereof, and (B) is a timing chart diagram showing its operation.

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

50…パルス幅発生器 52…入力クロック 54…入力データ 56…発生器出力信号 68…セレクタ部 60…“H”の固定信号 62…セレクタ部制御信号 64…PWM出力信号 88…データレジスタ部 90…入力データレジスタ 92…セレクタ部制御レジスタ 50 ... Pulse width generator 52 ... Input clock 54 ... Input data 56 ... Generator output signal 68 ... Selector section 60 ... "H" fixed signal 62 ... Selector section control signal 64 ... PWM output signal 88 ... Data register section 90 ... Input data register 92 ... Selector control register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 デジタルの入力データ(54)を格納す
る入力データレジスタ(90)と、 該入力データレジスタ(90)からの入力データ(5
4)に基づき、パルス幅変調された出力信号(56)を
出力するパルス幅発生器(50)と、 該パルス幅発生器(50)からの発生器出力信号(5
6)及びセレクタ部制御信号(62)を受け取るセレク
タ部(58)と、を含み、 前記セレクタ部(58)は、セレクタ部制御信号(6
2)に基づき、発生器出力信号(56)あるいは“H”
又は“L”レベルのフラットな信号のうちいずれか一方
を出力するように構成されていることを特徴とするパル
ス幅変調装置。
1. An input data register (90) for storing digital input data (54), and input data (5) from the input data register (90).
4), a pulse width generator (50) for outputting a pulse width modulated output signal (56), and a generator output signal (5) from the pulse width generator (50).
6) and a selector section (58) for receiving the selector section control signal (62), the selector section (58) is provided with a selector section control signal (6).
Based on 2), the generator output signal (56) or "H"
Alternatively, the pulse width modulation device is configured to output either one of the flat signals of "L" level.
【請求項2】 請求項1記載の装置において、前記セレ
クタ部制御信号(62)を格納するセレクタ部制御レジ
スタ(92)を含み、該セレクタ部制御レジスタ(9
2)及び前記入力データレジスタ(90)は、データレ
ジスタ部(88)の内部に配置されていることを特徴と
するパルス幅変調装置。
2. The apparatus according to claim 1, further comprising a selector unit control register (92) for storing the selector unit control signal (62), the selector unit control register (9).
2) and the input data register (90) are arranged inside the data register unit (88).
【請求項3】 請求項2記載の装置において、前記セレ
クタ部制御レジスタ(92)は、前記入力データレジス
タ(90)とともに前記データレジスタ部(88)内に
配置され、入力データ(54)の格納と同時に、バス
(78)からのデータ(86)に含まれているセレクタ
部制御信号(62)を格納するようにされていることを
特徴とするパルス幅変調装置。
3. The apparatus according to claim 2, wherein the selector unit control register (92) is arranged in the data register unit (88) together with the input data register (90), and stores the input data (54). At the same time, the pulse width modulation device is characterized in that the selector unit control signal (62) included in the data (86) from the bus (78) is stored.
JP28509391A 1991-10-30 1991-10-30 Pulse width modulator Expired - Lifetime JP3160331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28509391A JP3160331B2 (en) 1991-10-30 1991-10-30 Pulse width modulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28509391A JP3160331B2 (en) 1991-10-30 1991-10-30 Pulse width modulator

Publications (2)

Publication Number Publication Date
JPH05122081A true JPH05122081A (en) 1993-05-18
JP3160331B2 JP3160331B2 (en) 2001-04-25

Family

ID=17687041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28509391A Expired - Lifetime JP3160331B2 (en) 1991-10-30 1991-10-30 Pulse width modulator

Country Status (1)

Country Link
JP (1) JP3160331B2 (en)

Also Published As

Publication number Publication date
JP3160331B2 (en) 2001-04-25

Similar Documents

Publication Publication Date Title
WO2004068708A2 (en) An integrated circuit signal generator for generating an square wave output signal
JPH05122081A (en) Pulse width modulator
JP2003142993A (en) Modulation signal generating device
JP3570476B2 (en) Power converter
JP2853723B2 (en) Pulse width modulation circuit
JPS63169691A (en) Liquid crystal driving
JPS62262030A (en) Liquid crystal driving controller
JPH0731633Y2 (en) 2-line serial / parallel converter
KR100438925B1 (en) The pulse width modulation logic for 3 level inverter or converter
SU1483438A1 (en) Multiphase pulsed voltage stabilizer
JPH0628864Y2 (en) Image display device
KR0152344B1 (en) Pwm signal generating circuit
US20040150711A1 (en) Laser imaging device including a pulse width modulator system
JPH0566049B2 (en)
JPS6266292A (en) Digital effect apparatus
JPH0983368A (en) D/a converting circuit
JP2524165B2 (en) Signal side drive circuit of display device
SU1485217A1 (en) Multiphase pulse stabilizer
JP2626520B2 (en) Digital signal generation method
JPH0682263B2 (en) Matrix display data driver
JPS6246212Y2 (en)
JPH01261916A (en) Pulse width modulation circuit
JPH06222786A (en) Multi digital sound source circuit
KR20010048618A (en) Apparatus for digital tone generating in communication terminal
JPS61176994A (en) Rhythm sound generator

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010206

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

Free format text: PAYMENT UNTIL: 20080216

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100216

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120216

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120216

Year of fee payment: 11