JPH01233910A - Pwm circuit - Google Patents

Pwm circuit

Info

Publication number
JPH01233910A
JPH01233910A JP6113988A JP6113988A JPH01233910A JP H01233910 A JPH01233910 A JP H01233910A JP 6113988 A JP6113988 A JP 6113988A JP 6113988 A JP6113988 A JP 6113988A JP H01233910 A JPH01233910 A JP H01233910A
Authority
JP
Japan
Prior art keywords
bit
bits
output
data
counter
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
JP6113988A
Other languages
Japanese (ja)
Other versions
JP2732510B2 (en
Inventor
Akira Sawamura
陽 沢村
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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP63061139A priority Critical patent/JP2732510B2/en
Publication of JPH01233910A publication Critical patent/JPH01233910A/en
Application granted granted Critical
Publication of JP2732510B2 publication Critical patent/JP2732510B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To simplify the constitution of a quantity comparator in comparison with a conventional PWM circuit by adopting the constitution such that a data in low-order (n-m)-bit to be converted is corrected by a PWM output of high-order m-bit. CONSTITUTION:The data in n-bit to be converted is split into the high-order m-bit and the low-order (n-m)-bit, the data in n-bit to be converted of the high- order m-bit and the output of a counter 14 are compared by a quantity comparator 18 to obtain a modulation signal in the high-order m-bit. Moreover, the correction pattern and the data to be converted of the low-order (n-m)-bit are compared by a quantity comparator 20 to obtain a 1-bit modulation signal. The modulation signal in the high-order m-bit is fed to a 1-bit modulation circuit 36 and a correction modulation output is obtained together with the modulation output in the high-order m-bit. Each modulation output is fed to analog switches 38, 40 to control the passing of the signal by the 1-bit modulation signal and the correction of the low-order (n-m)-bit is corrected by the PWM output in the high-order m-bit.

Description

【発明の詳細な説明】 〔産業上の利用分野] この発明は、入力ディジタルデータに応じた時間幅を持
つパルスを発生するPWM (Pulse Width
 Modulation)回路において、nビットの被
変換ディジタルデータを上位および下位側ビットに分割
してPWMを行う場合に、PWM出力に対する下位側ビ
ットのデータの補正を簡略化したものに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a PWM (Pulse Width
The present invention relates to a circuit that simplifies the correction of lower bit data with respect to the PWM output when n-bit digital data to be converted is divided into upper and lower bits and PWM is performed in the modulation circuit.

〔従来の技術〕[Conventional technology]

PWM回路は、その出力が入力ディジタルデータの大き
さに応じた時間幅を持つので、平滑用低域通過フィルタ
(LPF)を組み合わせて、入力ディジタルデータをア
ナログデータに変換するPWM型D/り変換回路として
利用される。
Since the output of a PWM circuit has a time width that corresponds to the size of the input digital data, PWM type D/reconversion is used in combination with a smoothing low-pass filter (LPF) to convert the input digital data into analog data. Used as a circuit.

従来、このようなり/A変換回路を用いた場合、PWM
カウンタのクロックパルス周波数をfCKとすると、P
WM周波数f PWMは、CF、IM −f cx/2
″となるため、データのビット数nが大きくなるに従っ
て、PWM周波数が低下し、LPFの時定数を大きくし
なければならない。
Conventionally, when using such a /A conversion circuit, PWM
If the clock pulse frequency of the counter is fCK, then P
WM frequency f PWM is CF, IM −f cx/2
'' Therefore, as the number of data bits n increases, the PWM frequency decreases, and the time constant of the LPF must be increased.

そこで、nビットの被変換データを上位側mビットと、
下位側(n−m)ビットとに分割し、上位側mビットに
ついてPWMを行い、そのPWM出力に下位側(n−m
)ビットのデータによる補正を行う方式が取られて来た
。すなわち、PWM出力に対する下位側(n−m)ビッ
トのデータ補正として、2′−1のPWM出力中に下位
側(n −m)ビットのデータ数だけPWMの1分解能
分(1ビツト分)の補正を行うのである。
Therefore, the n bits of data to be converted are converted into the upper m bits,
PWM is performed on the upper m bits, and the PWM output is divided into the lower side (n-m) bits.
) A method has been adopted in which correction is performed using bit data. That is, as a data correction for the lower (n-m) bits of the PWM output, one PWM resolution (one bit) is corrected by the number of lower (n-m) bits of data during the 2'-1 PWM output. It is a correction.

第4図は、このPWM回路の一例を示す。FIG. 4 shows an example of this PWM circuit.

D、、は、nビットの被変換ディジタルデータの中の上
位側mビットの被変換データ、D n −Mは下位側(
n−m)ビットの被変換データを表す。nビットのディ
ジタルデータの分割に対応してmおよび(n−m)ビッ
トのカウンタ2.4が設置され、周波数f CKのクロ
ックパルスCLKが計数される。
D, , is the data to be converted of the upper m bits of the n bits of digital data to be converted, and D n −M is the data to be converted of the lower side (
n−m) bits of data to be converted. Corresponding to the division of n-bit digital data, m- and (n-m)-bit counters 2.4 are installed to count clock pulses CLK of frequency fCK.

各カウンタ2.4および被変換データD、、D 1l−
Il+に対応して大小比較器6.8が設置され、大小比
較器6で被変換データD6とカウンタ2の計数出力とが
比較され、大小比較器8で被変換データDo1とカウン
タ4の計数出力とが比較される。各大小比較器6.8の
比較出力は、1ビツト変調回路10に加えられて変調が
行われ、出力端子12からPWM出力が得られる。
Each counter 2.4 and the converted data D, , D 1l-
A magnitude comparator 6.8 is installed corresponding to Il+, the magnitude comparator 6 compares the converted data D6 and the count output of the counter 2, and the magnitude comparator 8 compares the converted data Do1 with the count output of the counter 4. are compared. The comparison output of each magnitude comparator 6.8 is applied to a 1-bit modulation circuit 10 for modulation, and a PWM output is obtained from an output terminal 12.

第51図は、このPWM回路の動作を示しており、Qは
mビットのカウンタ2の出力の計数値、Dffiは上位
側mビットデータ、Rは(n−m)ビットのカウンタ4
の反転計数値、D n−11は下位側(n−m)ビット
データ、SはPWM出力、T、工はPWM変換周期を表
す。下位側(n−m)ビットデータと、カウンタ4の反
転計数値とを比較し、その大小関係からPWM出力の補
正を行う。すなわち、カウンタ4の反転計数値〈下位側
(n−m)ビットデータのとき、PWM出力に対してク
ロックパルスのパルス幅+1の補正を行い、カウンタ4
0反転計数値〉下位側(n−m)ビットデータのとき、
PWM出力に対する補正は無い。第5図のSに示すPW
M出力では、パルスP、、P、  ・・・にパルス幅+
1の補正が行われている。
FIG. 51 shows the operation of this PWM circuit, where Q is the count value of the output of m-bit counter 2, Dffi is the upper m-bit data, and R is the (n-m)-bit counter 4.
, Dn-11 is the lower (n-m) bit data, S is the PWM output, and T and T are the PWM conversion period. The lower (nm) bit data is compared with the inverted count value of the counter 4, and the PWM output is corrected based on the magnitude relationship. That is, when the inverted count value of the counter 4 is the lower (nm) bit data, the PWM output is corrected by the pulse width of the clock pulse + 1, and the counter 4
0 inversion count value>lower side (nm) bit data,
There is no correction for PWM output. PW shown in S in Figure 5
For M output, pulse width +
1 correction has been made.

[発明が解決しようとする課題] ところで、このような方式を取ると、PWM出力周波数
f PWMは、f pws = f CK/ 2 ’″
 (ただしm<nである)となり、PWM出力周波数f
エイは2 +″−m) だけ高くなり、LPFの時定数
が小さくなるなど、設計が容易になる利点があるが、大
小比較器6.8の規模が太き(なるという欠点があった
[Problems to be Solved by the Invention] By the way, if such a method is adopted, the PWM output frequency f PWM is f pws = f CK/2'''
(However, m<n), and the PWM output frequency f
There are advantages in that the design becomes easier, such as the ray becomes higher by 2 +''-m) and the time constant of the LPF becomes smaller, but there is a disadvantage in that the scale of the magnitude comparator 6.8 is large.

そこで、この発明は、大小比較器の簡略化を目的とする
Therefore, an object of the present invention is to simplify the magnitude comparator.

[課題を解決するための手段] この発明のPWMl路は、第1図に示すように、nビッ
トの被変換データに対する上位側mビットおよび下位側
(n−m)ビットの分割に対応して設置されたmビット
の第1のカウンタ14および(n−m)ビットの第2の
カウンタ16と、上位側mビットの被変換データと第1
のカウンタ14の計数出力とを比較する第1の比較手段
(大小比較器18)と、第2のカウンタ16の計数出力
を組み合わせて補正パターンを形成する補正パターン発
生手段(補正パターン発生回路22)と、補正パターン
と下位側(n−m)ビットの被変換データとを比較して
補正制御信号を得る第2の比較手段(大小比較器20)
と、第1の比較手段(大小比較器18)の出力に応じて
上位側mビットの被変樽データに対する変調出力ととも
に補正変調出力を発生する変調手段(1ビツト変調回路
36)と、各変調出力の通過を補正制御信号に応じて制
御されて上位側mビットのPWM出力に下位側(n−m
)ビットの被変換データによる補正を施すアナログスイ
ッチ38.40とを備えたものである。
[Means for Solving the Problem] As shown in FIG. 1, the PWM path of the present invention corresponds to division of n-bit converted data into upper m bits and lower (n−m) bits. The installed m-bit first counter 14 and (n-m)-bit second counter 16, the upper m-bit converted data, and the first
A first comparison means (a magnitude comparator 18) that compares the count output of the counter 14 with the count output of the second counter 16, and a correction pattern generation means (correction pattern generation circuit 22) that forms a correction pattern by combining the count output of the second counter 16. and a second comparing means (a magnitude comparator 20) which obtains a correction control signal by comparing the correction pattern and the converted data of the lower (nm) bits.
and a modulation means (1-bit modulation circuit 36) that generates a modulation output and a corrected modulation output for the upper m bits of the variable barrel data according to the output of the first comparison means (the magnitude comparator 18); The passage of the output is controlled according to the correction control signal, and the PWM output of the upper m bits is connected to the lower side (n-m
) bits of data to be converted.

〔作  用] このように構成すると、nビットの被変換データを上位
側mビット、下位側(n−m)ビットに分割し、上位側
mビットの被変換データと第1のカウンタ14の計数出
力とを比較して上位側mビットの変調信号が得られる。
[Operation] With this configuration, the n-bit converted data is divided into upper m bits and lower (n-m) bits, and the upper m bits of converted data and the count of the first counter 14 are divided. A modulation signal of the upper m bits is obtained by comparing the output.

また、第2のカウンタ16の計数出力を組み合わせて補
正パターンを形成し、この補正パターンと下位側(n−
m)ビットの被変換データとを比較して1ビット変調信
号が得られる。
Further, a correction pattern is formed by combining the count outputs of the second counter 16, and this correction pattern and the lower side (n-
A 1-bit modulated signal is obtained by comparing the m) bits of converted data.

上位側mビットの変調信号は変調手段(1ビツト変調回
路36)に加えられて、上位側mビットの変調出力とと
もに補正変調出力が得られる。各変調出力は、アナログ
スイッチ3日、40に加えられ、1ビット変調信号によ
って信号の通過が制御される。この結果、上位側mビッ
トのPWM出力に下位側(n−m)ビットの被変換デー
タの補正が行われる。
The modulation signal of the upper m bits is applied to the modulation means (1-bit modulation circuit 36), and a corrected modulation output is obtained together with the modulation output of the upper m bits. Each modulated output is applied to an analog switch 3, 40, and the passage of the signal is controlled by a 1-bit modulated signal. As a result, the PWM output of the upper m bits is corrected for the lower (n−m) bits of the converted data.

〔実 施 例〕〔Example〕

第1図は、この発明のPWM回路の実施例を示す。 FIG. 1 shows an embodiment of the PWM circuit of the present invention.

nビットの被変換データは上位側mビット、下位側(n
−m)ビットに分割され、たとえば、被変換データが1
0ビツトで構成されている場合を例に取ると、DPA、
DPB、DPC,DPD、DPEは上位側5ビツトの被
変換データ、DPF、DPG、DPH,DP I、DP
Jは下位側5ビツトの被変換データを表す。
The data to be converted of n bits has m bits on the upper side and m bits on the lower side (n
- m) bits, for example, the data to be converted is divided into 1
Taking the case where it is configured with 0 bits as an example, DPA,
DPB, DPC, DPD, DPE are upper 5-bit converted data, DPF, DPG, DPH, DP I, DP
J represents the lower 5 bits of data to be converted.

nビットの被変換データに対する上位側mビットおよび
下位側(n−m)ビットの分割に対応して設置されたm
ビ・ントの第1のカウンタ14および(n−m)ビット
の第2のカウンタ16が設置されている。
m installed corresponding to the division of n bits of converted data into upper m bits and lower (n-m) bits.
A first counter 14 of bits and a second counter 16 of (n-m) bits are provided.

そqで、上位側5ピントの被変換データDPA〜DPE
は、第1の比較手段として設置された大小比較器18に
加えられて第1のカウンタ14がらの計数出力FSC4
B、FSC8B、FSC16B、FSC32B、FSC
64Bと突き合わされて大小比較が行われる。この大小
比較器18はビット数5に応じたNAND回路1811
182.183.184.185とともにAND回路1
86を備え、各NAND回路181〜185の出力をA
ND回路186に加えて論理積を取るように構成されて
いる。
Then, the data to be converted from the upper 5 pins DPA to DPE
is added to the magnitude comparator 18 installed as a first comparing means, and the count output FSC4 from the first counter 14 is
B, FSC8B, FSC16B, FSC32B, FSC
64B to compare the size. This magnitude comparator 18 is a NAND circuit 1811 corresponding to the number of bits 5.
AND circuit 1 with 182.183.184.185
86, the output of each NAND circuit 181 to 185 is
In addition to the ND circuit 186, it is configured to perform logical product.

また、下位側5ビツトの被変換データDPF〜DPJは
、第2の比較手段として設置された大小比較器20に加
えられ、補正パターン発生回路22からの補正パターン
出力BPA、、BPB、BPC,BPD、BPEと突き
合わされて大小比較が行われる。この大小比較器20は
ビット数5に応じたAND回路201.202.203
.204.205、NOR回路206.207および負
入力のOR回路208を備え、AND回路201〜20
3の論理積出力をNOR回路206、AND回路204
.205の論理積出力をNOR回路207に加え、各N
OR回路206.207の出力をOR回路208を通し
て得るようにしたものである。
Further, the lower 5 bits of the converted data DPF to DPJ are added to a magnitude comparator 20 installed as a second comparing means, and the correction pattern outputs BPA, BPB, BPC, BPD from the correction pattern generation circuit 22 are , BPE to compare the size. This magnitude comparator 20 is an AND circuit 201, 202, 203 according to the number of bits 5.
.. 204, 205, NOR circuits 206, 207, and negative input OR circuit 208, AND circuits 201 to 20
The logical product output of 3 is sent to the NOR circuit 206 and the AND circuit 204.
.. 205 is added to the NOR circuit 207, and each N
The outputs of the OR circuits 206 and 207 are obtained through an OR circuit 208.

そして、カウンタ14.16には、クロックパルスFS
Cが加えられ、上位側mビットのカウンタ14では、第
3図のAに示す計数出力が得られ、Dlは上位側mビッ
トデータ、この場合、上位側5ビツトのデータを表し、
T、工はPWM変換周期を表す。また、カウンタ16に
は、第3図のB〜Gに示すような計数出力が得られる。
The counters 14 and 16 contain clock pulses FS.
C is added, and the upper m-bit counter 14 obtains the counting output shown in A in FIG. 3, and Dl represents the upper m-bit data, in this case, the upper 5-bit data.
T and t represent the PWM conversion period. Further, the counter 16 provides counting outputs as shown in B to G in FIG.

補正パターン発生回路22は、第2図に示すように、カ
ウンタ14.16の中の下位側(n−m)ビットのカウ
ンタ16の計数出力を組み合わせて補正パターンを形成
する。すなわち、カウンタ16から得られた各計数出力
は選択的に組み合わされ、インバータ221を通して、
第3図のIに示す補正パターン信号BPA、NAND回
路222.223.224を通して、第3図のJ、K、
Mに示す補正パターン信号BPB、BPC1BPD、A
ND回路225を通して、第3図のNに示す補正パター
ン信号BPEが得られる。
As shown in FIG. 2, the correction pattern generation circuit 22 forms a correction pattern by combining the count outputs of the lower (nm) bits of the counters 14 and 16. That is, each count output obtained from the counter 16 is selectively combined and passed through the inverter 221.
Through the correction pattern signal BPA shown in I in FIG. 3, NAND circuits 222, 223, and 224,
Correction pattern signals BPB, BPC1BPD, A shown in M
A correction pattern signal BPE shown at N in FIG. 3 is obtained through the ND circuit 225.

また、T−フリップフロップ回路(T−、FF)24お
よびD−フリップフロップ回路(D−FF)26は微分
回路を構成し、前段のT−FF24のタイミング人力T
には、クロックパルスFSC64がインバータ28を通
して反転されて加えられ、反転タイミング入力下には、
クロックパルスFSC64が直接加えられている。この
クロックパルスFSC64は、クロックパルスFSCを
64で除したものであり、クロックパルスFSCの64
分周によって決定され、クロックパルスESC2に対し
、FSC64=FSC2/25 (−21)の関係を持
ち、クロックパルスFSC2はクロックパルスFSCに
対し、FSC2=FSC/2の関係を持っている。
Further, the T-flip-flop circuit (T-, FF) 24 and the D-flip-flop circuit (D-FF) 26 constitute a differentiating circuit, and the timing of the T-FF 24 in the previous stage is
, the clock pulse FSC64 is inverted and applied through the inverter 28, and under the inverted timing input,
Clock pulse FSC64 is applied directly. This clock pulse FSC64 is the clock pulse FSC divided by 64, which is the clock pulse FSC divided by 64.
It is determined by frequency division, and has a relationship of FSC64=FSC2/25 (-21) with respect to clock pulse ESC2, and a relationship of FSC2=FSC/2 with respect to clock pulse FSC.

D−FF26のクロック人力C,でには、インバータ3
0.32の双方またはインバータ30のみを介してクロ
ックパルスFSC2が加えられている。T−FF24の
出力Qは、D−FF26のデータ人力りとなり、D−F
F26の出力QがT−FF24のリセット人力Rとなっ
ている。
D-FF26 clock C, then inverter 3
Clock pulse FSC2 is applied via both 0.32 or only inverter 30. The output Q of T-FF24 becomes the data output of D-FF26, and becomes D-F
The output Q of the F26 serves as the human power R for resetting the T-FF24.

そして、D−FF26の反転出力可は、PWM出力を取
り出すためのSR−フリップフロップ回路(SR−FF
)34のセット人力Sに加えられている。5R−FF3
4は、NAND回路341.342から構成されている
The inverted output of D-FF26 is enabled by the SR-flip-flop circuit (SR-FF) for extracting the PWM output.
) has been added to 34 set manpower S. 5R-FF3
4 is composed of NAND circuits 341 and 342.

そして、大小比較器18の比較出力は、上位側mビット
の変調信号を表し、1ビツト変調回路36に加えられて
いる。1ビツト変調回路36は、I)−FF361.3
62を以て構成されている。
The comparison output of the magnitude comparator 18 represents the modulation signal of the upper m bits, and is applied to the 1-bit modulation circuit 36. The 1-bit modulation circuit 36 is I)-FF361.3
62.

各D−FF361.362のクロック人力Cには、クロ
ックパルスFSC2がインバータ30.32を通して加
えられ、また、クロック入力でにはインバータ30のみ
を介して反転されたFSC2が加えられている。
A clock pulse FSC2 is applied to the clock input C of each D-FF 361, 362 through an inverter 30, 32, and an inverted FSC2 is applied only through the inverter 30 at the clock input.

各D−FF361.362の反転出力頁は、アナログス
イッチ3日、40を通して結合された後、5R−FF3
4のリセット人力Rとなっている。
The inverted output page of each D-FF361.362 is combined through the analog switch 3, 40, and then 5R-FF3
4 reset human power R.

そして1、アナログスイッチ38.40の制御入力には
、大小比較器20で得られた第3図の○に示す1ビット
変調信号として補正制御信号CPが直接またはインバー
タ42で反転されて加えられている。
1. A correction control signal CP is applied directly or inverted by an inverter 42 as a 1-bit modulation signal shown in FIG. There is.

補正制御信号CPは、高低(H/L)2レベルのディジ
タル信号で与えられるが、Hレベル区間で補正、Lレベ
ル区間で補正無しを表す。この結果、第3図のPに示す
PWM出力に対して補正制御信号CPのHレベル区間で
補正が行われ、補正部分では各パルスの立下り時点がク
ロックパルスFSC2の1パルス幅分だけ増加すること
になる。
The correction control signal CP is given as a two-level digital signal, high and low (H/L), with an H level section indicating correction and an L level section indicating no correction. As a result, the PWM output shown at P in FIG. 3 is corrected in the H level section of the correction control signal CP, and in the correction portion, the falling point of each pulse is increased by one pulse width of the clock pulse FSC2. It turns out.

第3図のPでは、パルスP+ 、Px 、Ps 、Pb
・・・について1ビツトの補正が行われており、補正さ
れたPWM出力が出力端子44から取り出される。
At P in FIG. 3, pulses P+, Px, Ps, Pb
. . , a 1-bit correction is performed, and the corrected PWM output is taken out from the output terminal 44.

[発明の効果] 以上説明したように、この発明によれば、nビットの被
変換データを上位側mビット、下位側(n−m)ビット
に分割し、上位側mビットの被変換データと第1のカウ
ンタの計数出力とを比較して上位側mビットの変調信号
が得られるとともに、第2のカウンタの計数出力を組み
合わせて補正パターンが形成され、この補正パターンと
下位側(n−m)ビットの被変換データとを比較して補
正制御信号を得て、これを上位側mビット変調出力およ
び補正出力を取り出すアナログスイッチの制御信号に用
いたので、上位側mビットのPWM出力に下位側(n−
m)ビットの被変換データの補正を行うことができ、従
来のPWM回路に比較して、大小比較器の構成を簡略化
できるなどの効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, n-bit converted data is divided into upper m bits and lower (n-m) bits, and the converted data is divided into upper m bits of converted data. A modulation signal of the upper m bits is obtained by comparing the counting output of the first counter, and a correction pattern is formed by combining the counting output of the second counter. ) bits to be converted data to obtain a correction control signal, and this was used as a control signal for an analog switch that takes out the upper m-bit modulated output and the correction output. side (n-
m) It is possible to correct the data to be converted of bits, and compared to the conventional PWM circuit, effects such as the ability to simplify the configuration of the magnitude comparator can be obtained.

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

第1図はこの発明のPWM回路の実施例を示すブロック
図、第2図は第1図に示したカウンタおよび補正パター
ン発生回路を示すブロック図、第3図は第1図に示した
PWM回路の動作を示す図、第4図は従来のPWM回路
を示すブロック図、第5図は第4図に示したPWM回路
の動作を示す図である。 14・・・第1のカウンタ 16・・・第2のカウンタ 18・・・大小比較器(第1の比較手段)20・・・大
小比較器(第2の比較手段)22・・・補正パターン発
生回路(補正パターン発生手段) 36・・・1ビツト変調回路(変調手段)38.40・
・・アナログスイッチ
FIG. 1 is a block diagram showing an embodiment of the PWM circuit of the present invention, FIG. 2 is a block diagram showing the counter and correction pattern generation circuit shown in FIG. 1, and FIG. 3 is the PWM circuit shown in FIG. 1. 4 is a block diagram showing a conventional PWM circuit, and FIG. 5 is a diagram showing the operation of the PWM circuit shown in FIG. 4. 14... First counter 16... Second counter 18... Magnitude comparator (first comparing means) 20... Magnitude comparator (second comparing means) 22... Correction pattern Generation circuit (correction pattern generation means) 36...1 bit modulation circuit (modulation means) 38.40.
・Analog switch

Claims (1)

【特許請求の範囲】 nビットの被変換データに対する上位側mビットおよび
下位側(n−m)ビットの分割に対応して設置されたm
ビットの第1のカウンタおよび(n−m)ビットの第2
のカウンタと、 上位側mビットの被変換データと第2のカウンタの計数
出力とを比較する第1の比較手段と、第1のカウンタの
計数出力を組み合わせて補正パターンを形成する補正パ
ターン発生手段と、前記補正パターンと下位側(n−m
)ビットの被変換データとを比較して補正制御信号を得
る第2の比較手段と、 第1の比較手段の出力に応じて上位側mビットの被変換
データに対する変調出力とともに補正変調出力を発生す
る変調手段と、 各変調出力の通過を前記補正制御信号に応じて制御され
て上位側mビットのPWM出力に下位側(n−m)ビッ
トの被変換データによる補正を施すアナログスイッチと
を備えたPWM回路。
[Claims] m installed corresponding to the division of n bits of converted data into upper m bits and lower (n-m) bits.
A first counter of bits and a second counter of (n-m) bits.
a counter, a first comparing means for comparing the converted data of the upper m bits and the counting output of the second counter, and a correction pattern generating means for forming a correction pattern by combining the counting output of the first counter. , the correction pattern and the lower side (n-m
) bits of the converted data to obtain a correction control signal; and according to the output of the first comparison means, generates a corrected modulated output along with a modulated output for the upper m bits of the converted data. and an analog switch for controlling the passage of each modulated output according to the correction control signal and correcting the PWM output of the upper m bits by the data to be converted of the lower (nm) bits. PWM circuit.
JP63061139A 1988-03-15 1988-03-15 PWM circuit Expired - Fee Related JP2732510B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63061139A JP2732510B2 (en) 1988-03-15 1988-03-15 PWM circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63061139A JP2732510B2 (en) 1988-03-15 1988-03-15 PWM circuit

Publications (2)

Publication Number Publication Date
JPH01233910A true JPH01233910A (en) 1989-09-19
JP2732510B2 JP2732510B2 (en) 1998-03-30

Family

ID=13162460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63061139A Expired - Fee Related JP2732510B2 (en) 1988-03-15 1988-03-15 PWM circuit

Country Status (1)

Country Link
JP (1) JP2732510B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155833A (en) * 1981-03-23 1982-09-27 Toshiba Corp Digital-to-analog converting circuit
JPS6245217A (en) * 1985-08-23 1987-02-27 Hitachi Tsushin Syst Kk Pulse width modulation circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155833A (en) * 1981-03-23 1982-09-27 Toshiba Corp Digital-to-analog converting circuit
JPS6245217A (en) * 1985-08-23 1987-02-27 Hitachi Tsushin Syst Kk Pulse width modulation circuit

Also Published As

Publication number Publication date
JP2732510B2 (en) 1998-03-30

Similar Documents

Publication Publication Date Title
JPH01305725A (en) Digital/analog converter
JPS6016141B2 (en) Differential pulse code signal encoder
JPS63202105A (en) Oscillator
JPH0452020B2 (en)
JP3174613B2 (en) Digitally signed phase-frequency converter for very high frequency phase locked loop
JPH01233910A (en) Pwm circuit
JPS6020602A (en) Frequency modulation signal generator
JPS5977721A (en) Pulse width modulator
JPS5828786B2 (en) A device that converts a digital video signal into a pulse width modulated or pulse number modulated brightness control signal
JPS6328368B2 (en)
JP3001623B2 (en) PWM type D / A converter
JPH0744459B2 (en) PWM circuit
JP2692289B2 (en) Arbitrary waveform generator
JP2769777B2 (en) Demodulation circuit of pulse width modulation signal to digital signal
JPS6059776B2 (en) pulse width modulation circuit
JPS59201519A (en) Digital-analog converter
JPS5887916A (en) Digital-to-analog converter
JP3020517B2 (en) Pulse width modulation circuit
JP2689712B2 (en) PWM conversion circuit
JPH0983368A (en) D/a converting circuit
SU1254576A1 (en) Frequency synthesizer
JPS62164315A (en) Da converter
JPH01241224A (en) Digital/analog converter
JPS6013335B2 (en) Digital to analog converter
SU577686A1 (en) Reversible five-digit binary-decimal counting decade

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees