JPS6347291B2 - - Google Patents

Info

Publication number
JPS6347291B2
JPS6347291B2 JP57082078A JP8207882A JPS6347291B2 JP S6347291 B2 JPS6347291 B2 JP S6347291B2 JP 57082078 A JP57082078 A JP 57082078A JP 8207882 A JP8207882 A JP 8207882A JP S6347291 B2 JPS6347291 B2 JP S6347291B2
Authority
JP
Japan
Prior art keywords
output
pulse
preset
pulse width
clock
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.)
Expired
Application number
JP57082078A
Other languages
Japanese (ja)
Other versions
JPS58198923A (en
Inventor
Masaru Hashirano
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8207882A priority Critical patent/JPS58198923A/en
Publication of JPS58198923A publication Critical patent/JPS58198923A/en
Publication of JPS6347291B2 publication Critical patent/JPS6347291B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters
    • H03M1/82Digital/analogue converters with intermediate conversion to time interval

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 本発明は2進数の変調信号をパルス幅変調出力
に変換するパルス幅変調回路に関し、特にパルス
幅変調回路の直線性を改善することを目的とす
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pulse width modulation circuit that converts a binary modulation signal into a pulse width modulation output, and particularly aims to improve the linearity of the pulse width modulation circuit.

第1図は従来のパルス幅変調回路の原理的構成
図、第2図は第1図の動作波形図を示す。第1図
において、1は2進カウンタ、2はプリセツト回
路、3は計数値検出器、4はデータ値検出器、5
はクロツクゲート、6は出力回路、7はプリセツ
トパルス発生回路、aはクロツクパルス、d1〜do
はデイジタル変調信号di,hはパルス幅変調出力
である。前記プリセツト回路2には、nビツトの
デイジタル変調信号di(但し、i=1〜2)とプ
リセツトパルス発生回路7のプリセツトパルスe
が入力され、2進カウンタ1の各ビツトにリセツ
トパルスgi(i=1〜n)、セツトパルスi(i=
1〜n)を与える構成になつている。giiはプ
リセツトパルスeが発生している期間は、 di=Lならば gi=“H”、i=“L” di=Hならば gi=“L”、i=“H” となり、プリセツトパルスeが発生しない期間
は、diにもかかわらず、gi=“L”、i=“L”とな
る。“H”、“L”は論理レベルを表わす。gii
より2進カウンタ1をプリセツトパルスeの発生
するタイミングで、かつパルスの発生している期
間各ビツトをセツトまたはリセツトし、計数開始
値(初期値)をプリセツトする。プリセツト動作
が完了すると2進カウンタ1はクロツクゲート5
を通過したクロツクパルスa′を計数し、ci(i=
1〜n)を計数出力する。プリセツト期間にあつ
てはci=di(i=1〜n)である。計数が進んでci
=“H”となると計数値検出器3の出力bは“L”
になつてクロツクゲート5を閉じ、クロツクパル
スaの出力a′を禁止する。これにより2進カウン
タ1は計数を停止する。そして、次のプリセツト
パルスeの発生で再び同様の動作を繰り返す。計
数値検出器3の出力bは、 oi=1 ci・2i-1=2n−1ならばb=“L” oi=1 ci・2i-1<2n−1ならばb=“H” となる。従つて、変調信号の値がoi=1 di・2i-1<2n
−1であればプリセツトのタイミングで出力bは
“H”になり、計数値がoi=1 ci・2i-1=2n−1になる
まで“H”を保持して“L”に変わる。そして次
のプリセツトのタイミングまで“L”を保持して
“H”に変わる。即ち、出力bの“L”の期間は
変調信号の値oi=1 di・2i-1に対応するので出力回路
6で反転してパルス幅変調出力hとすることがで
きる。データ値検出器4の出力fは、 oi=1 di・2i-1=0ならばf=“H” oi=1 di・2i-1>0ならばf=“L” となり、出力回路6に入力してf=“H”のとき
パルス幅変調出力hを“L”に規制し、f=“L”
のとき計数値検出器3の出力bを反転出力するよ
うにしている。
FIG. 1 shows the basic configuration of a conventional pulse width modulation circuit, and FIG. 2 shows an operating waveform diagram of FIG. 1. In FIG. 1, 1 is a binary counter, 2 is a preset circuit, 3 is a count value detector, 4 is a data value detector, and 5 is a
is a clock gate, 6 is an output circuit, 7 is a preset pulse generation circuit, a is a clock pulse, d 1 to d o
is a digital modulated signal d i and h is a pulse width modulated output. The preset circuit 2 receives an n-bit digital modulation signal d i (where i=1 to 2) and a preset pulse e from the preset pulse generation circuit 7.
is input, and a reset pulse g i (i=1 to n) and a set pulse i (i=
1 to n). g i , i is the period during which the preset pulse e is generated, if d i =L, g i = “H”, i = “L”; if d i =H, g i = “L”, i = During the period in which the signal becomes "H" and the preset pulse e is not generated, g i = "L" and i = "L" despite di . "H" and "L" represent logic levels. Each bit of the binary counter 1 is set or reset using g i and i at the timing when the preset pulse e is generated and while the pulse is being generated, and the counting start value (initial value) is preset. When the preset operation is completed, binary counter 1 switches to clock gate 5.
Count the clock pulses a′ that have passed through c i (i=
1 to n) are counted and output. During the preset period, c i =d i (i=1 to n). As the count progresses c i
= “H”, the output b of the count value detector 3 becomes “L”
Then, the clock gate 5 is closed and the output a' of the clock pulse a is inhibited. This causes the binary counter 1 to stop counting. Then, the same operation is repeated again when the next preset pulse e is generated. The output b of the count value detector 3 is oi=1 c i・2 i-1 = 2 n −1, then b=“L” oi=1 c i・2 i-1 <2 n − If it is 1, b=“H”. Therefore, the value of the modulation signal is oi=1 d i・2 i-1 <2 n
-1, the output b becomes “H” at the preset timing, and remains “H” until the count value becomes oi=1 c i・2 i-1 = 2 n −1, and then “L”. ”. Then, it holds "L" until the next preset timing and changes to "H". That is, since the "L" period of the output b corresponds to the modulated signal value oi=1 d i ·2 i-1 , it can be inverted by the output circuit 6 to provide a pulse width modulated output h. The output f of the data value detector 4 is: oi=1 d i・2 i-1 If i-1 = 0, f=“H” oi=1 d i・2 i-1 If >0, f=“ When f = "H", the pulse width modulation output h is regulated to "L", and f = "L".
At this time, the output b of the count value detector 3 is inverted.

第2図の動作波形図はn=4の例であり、各波
形図は第1図の入出力a,a′,b〜hに対応して
いる。プリセツトパルスeはプリセツトパルス発
生器7においてクロツクパルスaより形成され、
1クロツク周期のパルス幅を有しており、t1
2t1、3t1……の一定周期t1で発生する。今、変調
信号dがt0で0、t2で7、t3で15、t4で9に変化
したとすると、t1、2t1のタイミングでは2進カ
ウンタ1にc=0をプリセツトしてc=15まで計
数する。このときc‐15に達するタイミング2t1
3t1で次のプリセツトパルスが発生するため、出
力bはひげ状パルスとなる。タイミング3t1、4t1
ではc=7をプリセツトしてc=15まで計数し、
出力bを“L”にしてクロツクパルスaを禁止し
たクロツクゲート5の出力a′を得、計数を停止さ
せる。次にタイミング5t1、6t1ではc=15をプリ
セツトするため出力bはLのままで2進カウンタ
1は計数しない。さらに7t1のタイミングではc
=9をプリセツトし、計数を再開する。以後同様
の動作を繰り返す。
The operating waveform diagram in FIG. 2 is an example where n=4, and each waveform diagram corresponds to input/output a, a', b to h in FIG. A preset pulse e is generated from a clock pulse a in a preset pulse generator 7;
It has a pulse width of one clock period, t 1 ,
2t 1 , 3t 1 ... occurs at a constant period t 1 . Now, suppose that the modulation signal d changes to 0 at t 0 , 7 at t 2 , 15 at t 3 , and 9 at t 4 , then c=0 is preset in binary counter 1 at timings t 1 and 2t 1 . Count up to c=15. At this time, the timing of reaching c-15 is 2t 1 ,
Since the next preset pulse is generated at 3t 1 , the output b becomes a whisker-like pulse. Timing 3t 1 , 4t 1
Now, preset c=7 and count up to c=15,
The output b is set to "L" to obtain the output a' of the clock gate 5 which inhibits the clock pulse a, and the counting is stopped. Next, at timings 5t 1 and 6t 1 , c=15 is preset, so the output b remains at L and the binary counter 1 does not count. Furthermore, at the timing of 7t 1 , c
=9 and restart counting. The same operation is repeated thereafter.

第3図はパルス幅変調動作を拡大図示したもの
である。プリセツトパルスeにより2進カウンタ
1は初期値NPにプリセツトされるが、実際には
プリセツトされるまでにαbなる時間を要し、かつ
各ビツト毎にバラツキがある。従つて、計数値検
出器3の出力bは計数出力手段ci(i=1〜n)
のうちで最も早く“L”になつた出力で“L”か
ら“H”になる。プリセツトが解除されるのはク
ロツクのタイミングであるから、実際のプリセ
ツト解除はこれより遅れる。従つて、2進カウン
タ1は2番目のクロツクから計数を開始する。
即ち、出力bが“H”になつて計数が始まるまで
αpの時間を要する。計数値がNH=2n−1に達す
ると出力bは“L”になり、クロツクを止めて計
数停止する。そして、次のプリセツトパルスはn
番目のクロツクのタイミングで再び発生する。
しかるに、出力bの“L”の期間はNP+2/fa− αpとなる。αp=2/fa−αbであるため、2進カウン タ1の各ビツト毎のプリセツトがばらつくとαb
ばらつき、出力bの“L”の期間、即ち、パルス
幅変調出力hの“H”の期間が変動を受け、直線
性が悪くなる欠点がある。
FIG. 3 is an enlarged view of the pulse width modulation operation. Although the binary counter 1 is preset to the initial value NP by the preset pulse e, it actually takes a time α b to be preset, and there is variation for each bit. Therefore, the output b of the count value detector 3 is the count output means c i (i=1 to n)
The output that becomes "L" earliest among them changes from "L" to "H". Since the preset is canceled at the clock timing, the actual preset cancellation is delayed. Therefore, binary counter 1 starts counting from the second clock.
That is, it takes a time α p until the output b becomes “H” and counting begins. When the count value reaches NH=2 n -1, the output b becomes "L", the clock is stopped, and counting is stopped. Then, the next preset pulse is n
Occurs again at the timing of the second clock.
However, the "L" period of output b becomes NP+2/fa- αp . Since α p = 2/fa - α b , if the preset for each bit of binary counter 1 varies, α b will vary, and the “L” period of output b, that is, the “H” period of pulse width modulation output h. ” period is subject to fluctuations, resulting in poor linearity.

以上の説明では、クロツクパルスaに対するプ
リセツトパルスの遅延及び2進カウンタ1の伝搬
遅延、計数値検出器及び出力回路の遅延を無視し
ている。これらの遅延が実際には発生している
が、本発明の説明には特に影響を及ぼさないので
割愛する。なお、プリセツトパルスeはクロツク
パルスaを2n分周したものであり、周期は2n/fa
である。
In the above description, the delay of the preset pulse with respect to the clock pulse a, the propagation delay of the binary counter 1, the delay of the count value detector and the output circuit are ignored. Although these delays actually occur, they are omitted because they do not particularly affect the explanation of the present invention. Note that the preset pulse e is the clock pulse a divided by 2n , and the period is 2n /fa.
It is.

クロツクパルをゲートするゲート手段と、前記
ゲート手段の出力を計数する2進カウンタと、プ
リセツトパルスを発生させるパルス発生手段と、
前記パルス発生手段の出力により前記2進カウン
タに2進数の変調信号をプリセツトするプリセツ
ト手段と、前記2進カウンタの計数値を検出した
出力により前記ゲート手段を制御する計数値検出
手段と、前記変調信号のデータ値を検出するデー
タ値検出手段と、前記計数値検出手段の出力と前
記データ値検出手段の出力との論理出力を得る出
力手段と、前記出力手段の出力を前記クロツクパ
ルスによりラツチするラツチ手段とを具備し、前
記ラツチ手段の出力より前記変調信号のパルス幅
変調出力を得ることを特徴とし、パルス幅変調回
路の直線性を従来に比べて改善できる効果を奏す
る。
gating means for gating clock pulses, a binary counter for counting the output of said gating means, and pulse generating means for generating preset pulses;
presetting means for presetting a binary modulation signal in the binary counter by the output of the pulse generating means; count value detection means for controlling the gate means by the output of the detected count value of the binary counter; data value detection means for detecting a data value of a signal; output means for obtaining a logical output of the output of the count value detection means and the output of the data value detection means; and a latch for latching the output of the output means with the clock pulse. A pulse width modulated output of the modulated signal is obtained from the output of the latch means, and the linearity of the pulse width modulation circuit can be improved compared to the conventional one.

以下本発明の一実施例を第4図と第5図に基づ
いて説明する。なお第1図と同様の作用を成すも
のには同一符号を付けてその説明を省く。
An embodiment of the present invention will be described below with reference to FIGS. 4 and 5. Components having the same functions as those in FIG. 1 are given the same reference numerals and their explanations will be omitted.

第4図の第1図従来例との相違点は、ラツチ回
路8を設けた点である。他は従来例と全く同じ構
成である。即ち、従来の欠点であるプリセツトの
遅れ時間αbのバラツキを除去するために、第5図
に示すように従来例で説明した手法で作成した前
記出力回路6のパルス幅変調信号hを、新たに設
けたラツチ回路(Dフリツプフロツプからなる)
8に入力して、クロツクパルスaでラツチした出
力h′を最終的なパルス幅変調出力として取出すも
のである。このようにすればαpを1とすることが
できるため、変調信号di(i=1〜n)に対応し
たパルス幅変調出力h′のHの期間をNP+1/faとす ることができる。これによりαbの影響を除去で
き、直線性の優れたパルス幅変調出力を得ること
ができる。
The difference between FIG. 4 and the conventional example shown in FIG. 1 is that a latch circuit 8 is provided. The other configurations are exactly the same as the conventional example. That is, in order to eliminate the variation in the preset delay time α b , which is a drawback of the conventional method, the pulse width modulation signal h of the output circuit 6 created by the method explained in the conventional example is changed to a new one, as shown in FIG. A latch circuit (consisting of a D flip-flop) installed in
8 and the output h' latched by the clock pulse a is taken out as the final pulse width modulation output. In this way, α p can be set to 1, so that the H period of the pulse width modulated output h' corresponding to the modulated signal d i (i=1 to n) can be set to NP+1/fa. As a result, the influence of α b can be removed, and a pulse width modulation output with excellent linearity can be obtained.

以上説明したように本発明のパルス幅変調回路
によると、出力手段の出力にラツチ手段を新たに
設け、リニアリテイーの悪い前記出力手段の出力
をクロツクパルスでラツチし、ラツチ手段の出力
信号を最終的なパルス幅変調出力としたため、リ
ニアリテイーの悪い出力は、クロツクパルスによ
り正規化され、最終的なパルス幅変調出力はクロ
ツクパルスで決まる精度の高いパルス幅の出力と
することができる。これにより、パルス幅変調出
力は直線性が極めて優れており、クロツクパルス
に正確に同期するため、2進カウンタやゲート回
路等の伝搬遅延の影響を無視した設計が可能であ
ると共にクロツクパルスの周波数を上げて高速化
するにも適しているものである。
As explained above, according to the pulse width modulation circuit of the present invention, a latch means is newly provided at the output of the output means, the output of the output means having poor linearity is latched by a clock pulse, and the output signal of the latch means is used as the final output signal. Since the pulse width modulation output is used, an output with poor linearity is normalized by the clock pulse, and the final pulse width modulation output can be an output with a highly accurate pulse width determined by the clock pulse. As a result, the pulse width modulation output has extremely excellent linearity and is precisely synchronized with the clock pulse, making it possible to design designs that ignore the effects of propagation delays in binary counters, gate circuits, etc., and to increase the frequency of the clock pulse. It is also suitable for increasing speed.

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

第1図は従来パルス幅変調回路の原理的構成
図、第2図、第3図は第1図の動作波形図、第4
図は本発明パルス幅変調回路の原理的構成図、第
5図は第4図の動作波形図である。 1……2進カウンタ、2……プリセツト回路、
3……計数値検出器、4……データ値検出器、5
……クロツクゲート、6……出力回路、8……ラ
ツチ回路、a……クロツクパルス、b……計数値
検出の出力、c……2進カウンタの計数出力、d
……デイジタル変調信号、e……プリセツトパル
ス、f……データ値検出器の出力、g……プリセ
ツト回路の出力(セツト・リセツトパルス)、h,
h′……パルス幅変調出力。
Figure 1 is a basic configuration diagram of a conventional pulse width modulation circuit, Figures 2 and 3 are operational waveform diagrams of Figure 1, and Figure 4
5 is a diagram showing the basic configuration of the pulse width modulation circuit of the present invention, and FIG. 5 is an operational waveform diagram of FIG. 4. 1... Binary counter, 2... Preset circuit,
3... Count value detector, 4... Data value detector, 5
...Clock gate, 6...Output circuit, 8...Latch circuit, a...Clock pulse, b...Output of count value detection, c...Count output of binary counter, d
...Digital modulation signal, e...Preset pulse, f...Output of data value detector, g...Output of preset circuit (set/reset pulse), h,
h′...Pulse width modulation output.

Claims (1)

【特許請求の範囲】[Claims] 1 クロツクパルスをゲートするゲート手段と、
前記ゲート手段の出力を計数する2進カウンタ
と、プリセツトパルスを発生させるパルス発生手
段と、前記パルス発生手段の出力により前記2進
カウンタに2進数の変調信号をプリセツトするプ
リセツト手段と、前記2進カウンタの計数値を検
出した出力により前記ゲート手段を制御する計数
値検出手段と、前記変調信号のデータ値を検出す
るデータ値検出手段と、前記計数値検出手段の出
力と前記データ値検出手段の出力との論理出力を
得る出力手段と、前記出力手段の出力を前記クロ
ツクパルスによりラツチするラツチ手段とを具備
し、前記ラツチ手段の出力により前記変調信号の
パルス幅変調出力を得るパルス幅変調回路。
1. Gating means for gating clock pulses;
a binary counter for counting the output of the gate means; a pulse generating means for generating a preset pulse; a presetting means for presetting a binary modulation signal in the binary counter by the output of the pulse generating means; count value detection means for controlling the gate means by the output of a detected count value of the digit counter; data value detection means for detecting the data value of the modulation signal; and the output of the count value detection means and the data value detection means. and a latch means for latching the output of the output means with the clock pulse, the pulse width modulation circuit obtaining a pulse width modulated output of the modulated signal by the output of the latch means. .
JP8207882A 1982-05-14 1982-05-14 Pulse width modulating circuit Granted JPS58198923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8207882A JPS58198923A (en) 1982-05-14 1982-05-14 Pulse width modulating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8207882A JPS58198923A (en) 1982-05-14 1982-05-14 Pulse width modulating circuit

Publications (2)

Publication Number Publication Date
JPS58198923A JPS58198923A (en) 1983-11-19
JPS6347291B2 true JPS6347291B2 (en) 1988-09-21

Family

ID=13764422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8207882A Granted JPS58198923A (en) 1982-05-14 1982-05-14 Pulse width modulating circuit

Country Status (1)

Country Link
JP (1) JPS58198923A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5190553A (en) * 1975-02-06 1976-08-09 d*a henkankairo

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5190553A (en) * 1975-02-06 1976-08-09 d*a henkankairo

Also Published As

Publication number Publication date
JPS58198923A (en) 1983-11-19

Similar Documents

Publication Publication Date Title
US3602828A (en) Self-clocking detection system
GB1256164A (en) Signal phasecompensation circuits
JPH08297177A (en) Time-interval measuring circuit
US5552732A (en) High speed divide by 1.5 clock generator
US3593160A (en) Clock-synchronizing circuits
US4160154A (en) High speed multiple event timer
US11290096B2 (en) System and method for adjusting cycle of a signal
JPS5938776Y2 (en) Digital tone signal detector
JPS6347291B2 (en)
KR850700194A (en) Multi-Frequency Digital Phase Locked Loops
JPS5977721A (en) Pulse width modulator
JP2000138588A (en) Pulse width signal converting circuit
RU2093952C1 (en) Digital circuit for frequency comparison
JPH0311977Y2 (en)
JPS6347083Y2 (en)
JP3006794B2 (en) Synchronous pulse generation circuit
SU894853A1 (en) Pulse repetition discriminator
JPH0245387B2 (en)
SU1109747A1 (en) Random sequence generator
JP2912680B2 (en) Digital phase synchronizer
JPS6058716A (en) Phase comparator
KR100393421B1 (en) Counter System for Synchronous AF Converter
JPS6029041A (en) Counting type a/d conversion circuit
JPS62281513A (en) Delay circuit
JPS6238737B2 (en)