JPH05244008A - Digital-to-analog converter device - Google Patents

Digital-to-analog converter device

Info

Publication number
JPH05244008A
JPH05244008A JP4252792A JP4252792A JPH05244008A JP H05244008 A JPH05244008 A JP H05244008A JP 4252792 A JP4252792 A JP 4252792A JP 4252792 A JP4252792 A JP 4252792A JP H05244008 A JPH05244008 A JP H05244008A
Authority
JP
Japan
Prior art keywords
pulse
generated
output
pulses
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.)
Granted
Application number
JP4252792A
Other languages
Japanese (ja)
Other versions
JP2924418B2 (en
Inventor
Tetsuhiko Kaneaki
哲彦 金秋
Akira Sobashima
彰 傍島
Yasunori Tani
泰範 谷
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 JP4252792A priority Critical patent/JP2924418B2/en
Publication of JPH05244008A publication Critical patent/JPH05244008A/en
Application granted granted Critical
Publication of JP2924418B2 publication Critical patent/JP2924418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To increase the number of gradations of an input digital signal without increasing the clock frequency of a D/A converter system which employs pulse- width modulation. CONSTITUTION:Two pulse generators 1 and 2, a detecting means 3 which detect pulse widths that those pulse generators should generate reaching a specific value, and an adder 4 which adds the two pulse generator outputs are prepared. The leading edge of a pulse (pulse 1) generated by one pulse generator is timed to the trailing edge of a pulse (pulse 2) generated by the other pulse generator; and the pulse 1 is modulated on the basis of the leading edge and the pulse 2 is modulated on the basis of the trailing edge. When the pulse width of the generated pulse is equal to the period of the pulse or zero, the detecting means controls the pulse widths of the leading and trailing pulses and the positions where the pulses rise.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は入力されたディジタルデ
ータに対応して発生するパルスの幅の変調を行うことに
よりD/A変換を行うD/A変換器装置に係り、特にΔ
Σ変調器と共に用いてD/A変換を行うものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a D / A converter device for performing D / A conversion by modulating the width of a pulse generated corresponding to input digital data, and more particularly to Δ
It is used together with a Σ modulator to perform D / A conversion.

【0002】[0002]

【従来の技術】近年のディジタル信号処理技術の進歩に
伴い、ディジタル信号とアナログ信号とのインターフェ
ースであるD/A変換技術の重要性が益々高まってい
る。特にその中で、最近では、必要としているサンプリ
ング周波数fsよりも遥かに高い、例えば64fsのサンプ
リング周波数によるΔΣ変調器を用いてビット圧縮を行
った後、パルス幅変調(以下、PWMと称す)を行うこ
とによりアナログ信号を得る方式がよく用いられてい
る。従来のD/A変換装置を図8に示し、その説明を行
う(例えば、ラジオ技術誌1991年8月号pp148
〜152)。
2. Description of the Related Art With recent advances in digital signal processing technology, the importance of D / A conversion technology, which is an interface between digital signals and analog signals, is increasing. Especially, among them, recently, pulse width modulation (hereinafter referred to as PWM) is performed after bit compression is performed using a ΔΣ modulator having a sampling frequency of much higher than the required sampling frequency fs, for example, 64fs. A method of obtaining an analog signal by performing the operation is often used. A conventional D / A converter is shown in FIG. 8 and will be described (for example, Radio Technical Magazine, August 1991, pp148.
~ 152).

【0003】入力されるディジタル信号に応じた、パル
ス幅の和が一定で、立ち下がりエッジが常に同じ時刻で
ある2種類のパルスを発生し、減算器100によりこれ
らのパルスの差をとることにより、各パルスのパワー中
心が常に一定の周期を保ったパルスを発生し、高性能の
D/A変換を行うものである。
By generating two types of pulses having a constant sum of pulse widths and always having the same falling edges at the same time according to the input digital signal, the subtractor 100 takes the difference between these pulses. , The power center of each pulse always generates a pulse with a constant cycle, and high-performance D / A conversion is performed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、パルスの周期である6クロック分の幅の
パルスや、或いはパルス幅0のパルスを発生させると、
1周期前のパルスとつながる、或いは、その周期ではパ
ルスがなくなってしまうことにより、この区間では立ち
上がりエッジ、立ち下がりエッジの数が他の区間と変わ
り、歪の発生原因となる。このためパルス幅の階調は1
〜5の5通りしか得られず、更に階調を上げようとする
と周期を長くするかクロックの周波数を高くしなければ
ならないという問題点があった。
However, in the above structure, when a pulse having a width of 6 clocks, which is a pulse period, or a pulse having a pulse width of 0 is generated,
The number of rising edges and falling edges in this section is different from that in the other sections because the pulse is connected to the pulse one cycle before or the pulse disappears in that cycle, which causes distortion. Therefore, the gradation of the pulse width is 1
There are problems that only 5 patterns of ~ 5 can be obtained, and if the gradation is further increased, the cycle must be lengthened or the clock frequency must be increased.

【0005】本発明は上記の問題点に鑑み、パルスの周
期と等しいパルス幅のパルスや、パルス幅0のパルスを
発生させることができるようにして、入力されるディジ
タル信号の階調を増やすことを可能にしたD/A変換装
置を提供するものである。
In view of the above problems, the present invention is capable of generating a pulse having a pulse width equal to the pulse period or a pulse having a pulse width of 0 to increase the gradation of an input digital signal. The present invention provides a D / A conversion device that enables the above.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明によるD/A変換装置は、入力されるディジタ
ルデータDnに基づき、Nクロックを周期とした所定の
パルス幅Wnのパルスを発生する第1,第2のパルス発
生器と、前記第1,第2のパルスを加算する加算手段
と、前記第1,第2のパルス発生器が発生すべきパルス
のパルス幅が特定の値であることを検出する検出手段と
を備え、該加算手段出力をD/A変換出力とするD/A
変換装置であり、前記ディジタルデータDnに基づき、
前記第1のパルス発生器が発生するパルスの立ち上が
り,立ち下がり時刻をt1UPn,t1DNn、前記第2のパル
ス発生器が発生するパルスの立ち上がり,立ち下がり時
刻をt2U Pn,t2DNn、前記ディジタルデータDnによっ
て指定されるパルスのパルス幅Wnがmクロックである
時Dn=mであるとした場合、前記検出手段がDn=0ま
たはNを検出する検出手段であり、前記第1,第2のパ
ルス発生器が発生するパルスが、前記第1のパルスの立
ち上がり時刻t1UPnと前記第2のパルスの立ち下がり時
刻t2DNn-1が等しく、前記ディジタルデータDn-1
n,Dn+1≠0,Nの時は、前記検出手段出力に基づ
き、前記第1のパルスの立ち上がり時刻t1UPnと前記第
2のパルスの立ち下がり時刻t2DNnの間隔が常にNクロ
ックであるように制御され、前記ディジタルデータDn
=N及び0の時は、前記検出手段に基づき、前記第1及
び第2のパルスの有するパルス幅Wnが1クロック分長
くなるとともに、第1のパルスの立ち上がり時刻t
1UPn、第2のパルスの立ち下がり時刻t2D Nn-1が1クロ
ック早くなり、第2のパルス発生器が発生するパルスの
パルス幅W n-1が1クロック分短くなり、また、第1の
パルスの立ち上がり時刻t1UPn+1、第2のパルスの立ち
下がり時刻t2DNnが1クロック遅くなり、第1のパルス
発生器が発生するパルスのパルス幅Wn+1が1クロック
分短くなるようにしたものである。
[Means for Solving the Problems] To achieve this object
In addition, the D / A converter according to the present invention has
Data DnBased on the
Pulse width WnFirst and second pulse generation for
Living device and adding means for adding the first and second pulses
And a pulse to be generated by the first and second pulse generators
And a detection means to detect that the pulse width of is a specific value
And a D / A for converting the output of the adding means into a D / A conversion output.
The digital data D is a conversion device.nBased on
The rising edge of the pulse generated by the first pulse generator is
The fall time is t1UPn, T1DNn, The second pal
When the pulse generated by the pulse generator rises and falls
T2U Pn, T2DNn, The digital data DnBy
Pulse width W specified bynIs m clock
Time Dn= M, the detection means is Dn= 0
Or N is a detecting means for detecting N, and
The pulse generated by the pulse generator is the rising edge of the first pulse.
Rising time t1UPnAnd at the fall of the second pulse
Tick t2DNn-1Are equal, and the digital data Dn-1
Dn, Dn + 1When ≠ 0, N, it is based on the output of the detecting means.
The rising time t1 of the first pulseUPnAnd the above
Falling time t2 of pulse 2DNnIs always N black
The digital data Dn
= N and 0, based on the detection means, the first and
And the pulse width W of the second pulsenIs one clock long
The rising time t of the first pulse
1UPn, Falling time t2 of the second pulseD Nn-1Is 1 black
Of the pulse generated by the second pulse generator
Pulse width W n-1Is shortened by one clock, and the first
Pulse rising time t1UPn + 1, The rise of the second pulse
Fall time t2DNnIs delayed by one clock, the first pulse
Pulse width W of the pulse generated by the generatorn + 11 clock
It is made shorter.

【0007】[0007]

【作用】上記のようにパルス幅がパルス周期と等しい場
合とパルス幅が0の場合に、そのパルスの前後のパルス
より1クロック分のパルスを切り放して取り込むように
したため、各パルスに必ず立ち上がりエッジと立ち下が
りエッジが存在するようになり、歪を発生させることな
く入力されるディジタル信号の階調を増やすことができ
るものである。
As described above, when the pulse width is equal to the pulse period and when the pulse width is 0, the pulse for one clock is cut and taken in from the pulse before and after the pulse. Then, the falling edge is present, and the gradation of the input digital signal can be increased without causing distortion.

【0008】[0008]

【実施例】以下、図面に基づき本発明の説明を行う。図
1は本発明によるD/A変換装置の実施例を表すブロッ
ク図である。この図を説明すると、1,2はパルス発生
器であり、入力されるディジタルデータDnに応じて所
定のパルス幅を有するパルスP1n,P2nを発生する。こ
こでは、データDnとしては、−3〜+3の7階調を有
しており、パルス発生器1,2はデータDnに応じてパ
ルス幅0〜6のパルスを発生する。4は加算器であり、
入力されるパルスP1n,P2nの加算を行う。次に、本D
/A変換装置の動作を図2,図3と共に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a D / A converter according to the present invention. To explain this figure, reference numerals 1 and 2 denote pulse generators, which generate pulses P1 n and P2 n having a predetermined pulse width in accordance with input digital data D n . Here, the data D n has seven gradations of −3 to +3, and the pulse generators 1 and 2 generate pulses with a pulse width of 0 to 6 according to the data D n . 4 is an adder,
Input pulses P1 n and P2 n are added. Next, book D
The operation of the A / A converter will be described with reference to FIGS.

【0009】図2は入力データDn=−2〜+2の場合
を示している。(1)はクロック信号、(2)はパルス発生器
1の出力P1n、(3)はパルス発生器2の出力P2n、(4)は
D/A変換装置の出力となる加算器4の出力Pnであ
る。区間τ1はデータDn=1の場合を示しており、パル
ス発生器1,2が4クロックのパルス幅を有するパルス
を、パルス発生器1は立ち上がりエッジを基準とした左
詰めで、パルス発生器2は立ち下がりエッジを基準とし
た右詰めで発生する。加算器4がこれらのパルスの加算
を行い、図2の(4)に示す通り、パルス幅2,振幅+2
のパルスとして出力する。区間τ2はデータDn=2の場
合を示しており、パルス発生器1,2が5クロックのパ
ルス幅を有するパルスをパルス発生器1は左詰めで、パ
ルス発生器2は右詰めで発生する。加算器4がこれらの
パルスの加算を行い、図2の(4)に示す通り、パルス幅
4,振幅+2のパルスとして出力する。区間τ3はデー
タDn=−1の場合を示しており、パルス発生器1,2
が2クロックのパルス幅を有するパルスをパルス発生器
1は左詰めで、パルス発生器2は右詰めで発生する。加
算器4がこれらのパルスの加算を行い、図2の(4)に示
す通り、パルス幅2,振幅−2のパルスとして出力す
る。
FIG. 2 shows the case of input data D n = -2 to +2. (1) is the clock signal, (2) is the output P1 n of the pulse generator 1, (3) is the output P2 n of the pulse generator 2, and (4) is the output of the D / A converter. It is the output P n . The section τ1 shows the case where the data D n = 1. The pulse generators 1 and 2 are left-justified with respect to a pulse having a pulse width of 4 clocks and the pulse generator 1 is left-aligned with the rising edge as a reference. 2 occurs right justified based on the falling edge. The adder 4 adds these pulses, and as shown in (4) of FIG. 2, pulse width 2, amplitude +2
Output as a pulse. The section τ2 shows the case where the data D n = 2. The pulse generators 1 and 2 generate the pulses having the pulse width of 5 clocks by the pulse generator 1 left-justified and the pulse generator 2 right-justified. .. The adder 4 adds these pulses and outputs a pulse having a pulse width of 4 and an amplitude of +2, as shown in (4) of FIG. The interval τ3 shows the case where the data D n = −1, and the pulse generators 1 and 2
The pulse generator 1 generates left-justified pulses and the pulse generator 2 right-justifies pulses having a pulse width of 2 clocks. The adder 4 adds these pulses and outputs a pulse having a pulse width of 2 and an amplitude of -2, as shown in (4) of FIG.

【0010】以上の通り、入力データDnの正負に応じ
て+側、−側にパワー中心が常に一定の周期となるパル
スを発生することによりディジタル信号をアナログ信号
に変換する。
As described above, a digital signal is converted into an analog signal by generating a pulse whose power center always has a constant period on the + side and the-side according to the positive or negative of the input data D n .

【0011】図3は入力データDnが±3の時における
パルス発生器1,2が発生するパルスを表している。
(1)はクロック信号、(2),(5)はパルス発生器1出力P1
n、(3),(6)はパルス発生器2出力P2n、(4),(6)はD
/A変換装置出力となる加算器4出力Pnである。ここ
では、(2),(3),(4)の区間τ1,τ2,τ3にデータDn
=+1,+3,−1が入力された場合を、(5),(6),
(7)の区間τ1,τ2,τ3にデータDn=−1,−3,+
1が入力された場合を示している。
FIG. 3 shows pulses generated by the pulse generators 1 and 2 when the input data D n is ± 3.
(1) is a clock signal, (2) and (5) are pulse generator 1 output P1
n , (3) and (6) are pulse generator 2 output P2 n , (4) and (6) are D
It is the output P n of the adder 4 which becomes the output of the / A converter. Here, the data D n is stored in the intervals τ1, τ2, τ3 of (2), (3), and (4).
When inputting = + 1, +3, -1, (5), (6),
Data D n = -1, -3, + in sections τ1, τ2, τ3 of (7)
The case where 1 is input is shown.

【0012】区間τ2で入力データDnとして+3が入力
された場合は、図3の(2),(3)に示すように、区間τ1
の最終1クロックにおいて、パルス発生器1の出力を
“H”にするとともにパルス発生器2の出力を“L”に
する。このようにした上で、区間τ2においてパルス発
生器1,2の出力を6クロック分“H”にする。そし
て、区間τ3の最初の1クロックにおいて、パルス発生
器1出力を“L”にするとともにパルス発生器2出力を
“H”にする。これらのパルスを加算器4で加算するこ
とにより、図3の(4)に示す通りパワー中心が常に一定
の周期となるパルス幅6のパルスを発生することができ
る。
When +3 is input as the input data D n in the interval τ2, as shown in (2) and (3) of FIG. 3, the interval τ1
In the final 1 clock of, the output of the pulse generator 1 is set to "H" and the output of the pulse generator 2 is set to "L". After this, the outputs of the pulse generators 1 and 2 are set to "H" for 6 clocks in the interval τ2. Then, in the first one clock of the interval τ3, the output of the pulse generator 1 is set to “L” and the output of the pulse generator 2 is set to “H”. By adding these pulses by the adder 4, it is possible to generate a pulse having a pulse width 6 in which the power center always has a constant cycle as shown in (4) of FIG.

【0013】ここで、パルス発生器1,2が発生するパ
ルスについて考えると、各パルスに対して必ずエッジが
存在し、最大幅のパルスに隣接するパルス幅が{最大幅
−2クロック}以下であれば隣接するパルスとパルスが
つながることがない。このために、従来例にて示したよ
うなエッジの数の変化による歪は発生しない。ちなみ
に、従来の技術として示したようなΔΣ変調器出力に本
D/A変換装置を接続する場合、特にΔΣ変調器が高次
(3次、4次以上)の場合、連続する値の和の絶対値を
必ず{ΔΣ変調器出力の最大値の2倍−2}以下にする
ことができる。
Considering the pulses generated by the pulse generators 1 and 2, there is always an edge for each pulse, and the pulse width adjacent to the pulse with the maximum width is {maximum width-2 clocks} or less. If so, adjacent pulses will not be connected to each other. Therefore, the distortion due to the change in the number of edges does not occur as in the conventional example. By the way, when the D / A converter is connected to the output of the ΔΣ modulator as shown in the related art, particularly when the ΔΣ modulator is of high order (third order, fourth order or more), the sum of consecutive values is calculated. The absolute value can always be less than or equal to {twice the maximum value of the ΔΣ modulator output −2}.

【0014】次に、図3の(5),(6),(7)に区間τ2で入
力データDnとして−3が入力された場合を示す。この
場合についてもデータDn=+3が入力された場合と全
く同様の動作を行うことにより、図3の(7)に示す通り
パワー中心が常に一定の周期となるパルス幅6の負のパ
ルスを発生することができる。
Next, the case where -3 is input as the input data D n in the interval τ 2 is shown in (5), (6) and (7) of FIG. In this case as well, by performing the same operation as when the data D n = + 3 is input, a negative pulse having a pulse width of 6 whose power center always has a constant cycle as shown in (7) of FIG. 3 is generated. Can occur.

【0015】この場合においても、パルス発生器1,2
が発生するパルスは、各パルスに対して必ずエッジが存
在し、パルス幅ゼロのパルスに隣接するパルスのパルス
幅が2クロック以上であれば隣接する区間の間にパルス
がなくなってしまうことがない。故に、従来例にて示し
たようなエッジの数の変化による歪は発生しない。
Also in this case, the pulse generators 1, 2
The pulse that is generated always has an edge for each pulse, and if the pulse width of the pulse adjacent to the pulse of zero pulse width is 2 clocks or more, the pulse does not disappear between the adjacent sections. .. Therefore, the distortion due to the change in the number of edges does not occur as in the conventional example.

【0016】図4はパルス発生器1及び±3検出手段の
具体的な実施例を示すブロック図である。この図におい
て、10,11,12,13はラッチであり、入力デー
タD nが与えられる周期Tに同期したクロック信号でデ
ータを取り込む。14は検出器であり、±3を検出する
と“H”を出力する。15はROMであり、端子Aに与
えられるアドレスに対し、(表1)に示す通り値を出力
する。16はパラレル/シリアルコンバータ(以下、P
/Sコンバータと称す)であり、入力P5〜P0に入力さ
れる信号をP5,P4,・・・,P0の順で出力Qより出
力する。この図において、ラッチ10,11、ROM1
5、ORゲート17、ANDゲート19、P/Sコンバ
ータ16によって構成される箇所がパルス発生器1に相
当し、ラッチ10,12,13、検出器14、インバー
タ18によって構成される箇所が検出手段3に相当す
る。
FIG. 4 shows the pulse generator 1 and the ± 3 detection means.
It is a block diagram which shows a specific Example. This figure smells
, 10, 11, 12, and 13 are latches, and input data
TA D nWith a clock signal synchronized with the period T
Data. 14 is a detector for detecting ± 3
And "H" are output. Reference numeral 15 is a ROM, which is provided to the terminal A.
Output the value as shown in (Table 1) for the obtained address.
To do. 16 is a parallel / serial converter (hereinafter, P
/ S converter) and input to inputs P5 to P0.
The output signal is output from Q in the order of P5, P4, ..., P0.
Force In this figure, the latches 10 and 11, the ROM 1
5, OR gate 17, AND gate 19, P / S converter
The portion constituted by the data 16 corresponds to the pulse generator 1.
Hit, latch 10, 12, 13, detector 14, invar
The part constituted by the controller 18 corresponds to the detecting means 3.
It

【0017】[0017]

【表1】 [Table 1]

【0018】次に、図4に示すパルス発生器1の動作に
ついて説明する。入力Dnがラッチ10に書き込まれる
と、検出器14がラッチ10の出力=±3である場合は
“H”を出力する。
Next, the operation of the pulse generator 1 shown in FIG. 4 will be described. When the input D n is written in the latch 10, the detector 14 outputs “H” when the output of the latch 10 = ± 3.

【0019】〈入力Dn-1,Dn,Dn+1≠±3の場合〉
検出器14の出力は入力Dn+1に対する出力であり、ラ
ッチ13の出力は入力Dn-1に対する検出器14の出力
となるので、いずれも“L”となる。故に、ORゲート
17及びANDゲート19はROM15のQ0,Q5出力
をそのままP/Sコンバータ16のP0,P5端子に入力
することになるので、P/Sコンバータ16は図2の
(2)に示す通りのパルスを出力する。
<When Inputs D n-1 , D n , D n + 1 ≠ ± 3>
The output of the detector 14 is the output for the input D n + 1 , and the output of the latch 13 is the output of the detector 14 for the input D n−1, so both are “L”. Therefore, since the OR gate 17 and the AND gate 19 directly input the Q0 and Q5 outputs of the ROM 15 to the P0 and P5 terminals of the P / S converter 16, the P / S converter 16 of FIG.
Output the pulse as shown in (2).

【0020】〈入力Dn=+3または−3の場合〉入力
n-1,Dn+1≠±3であったと仮定して、入力Dnがラ
ッチ10に取り込まれると、検出器14の出力は“H”
となる。これにより、ORゲート17の出力が“H”に
なり、P/Sコンバータ16のP0に“H”が与えら
れ、P/Sコンバータ16の出力Qの最終値が“H”に
なる(図3の(2),(5)、区間τ1の最終1クロック)。
次いで入力Dnはラッチ11に取り込まれ、RAM15
のアドレスとなる。この時、入力Dn-1,Dn+1≠±3で
あるので、ラッチ13,検出器14の出力は共に“L”
であり、ROM15の出力がそのままP/Sコンバータ
16の入力に与えられ、パラレル/シリアル変換されて
端子Qより出力される(図3の(2),(5)、区間τ2)。
次のサイクルでは、入力Dnにより“H”となった検出
器14の出力がラッチ13に取り込まれるので、インバ
ータ18によりANDゲート19が“L”になる。この
値がP/Sコンバータ16の入力P5に与えられるた
め、P/Sコンバータ16の最初の出力値が“L”にな
る(図3の(2),(5)、区間τ3の最初の1クロック)。
<In the case of input D n = + 3 or -3> Assuming that the inputs D n-1 , D n + 1 ≠ ± 3, when the input D n is fetched by the latch 10, the detector 14 Output is "H"
Becomes As a result, the output of the OR gate 17 becomes "H", P0 of the P / S converter 16 is given "H", and the final value of the output Q of the P / S converter 16 becomes "H" (FIG. 3). (2), (5), last 1 clock of interval τ1).
Next, the input D n is taken in by the latch 11, and the RAM 15
Will be the address of. At this time, since the inputs D n-1 and D n + 1 ≠ ± 3, the outputs of the latch 13 and the detector 14 are both "L".
The output of the ROM 15 is given as it is to the input of the P / S converter 16, is parallel / serial converted, and is output from the terminal Q ((2) and (5) in FIG. 3, section τ2).
In the next cycle, the output of the detector 14 which has become “H” due to the input D n is taken into the latch 13, so that the AND gate 19 becomes “L” by the inverter 18. Since this value is given to the input P5 of the P / S converter 16, the first output value of the P / S converter 16 becomes “L” ((2) and (5) in FIG. 3, the first 1 in the interval τ3. clock).

【0021】図5はパルス発生器2の具体的な実施例を
示すブロック図である。この図において図4と同一の機
能を有するものには同一の符号を付し詳細な説明は省略
する。20はROMであり、端子Aに与えられるアドレ
スに対し、(表2)に示す通りの値を出力する。この図
において、ラッチ10,11、ROM20、ORゲート
17、ANDゲート19、P/Sコンバータ16によっ
て構成される箇所がパルス発生器1に相当し、ラッチ1
0,12,13、検出器14、インバータ18によって
構成される箇所が検出手段3に相当する。
FIG. 5 is a block diagram showing a specific embodiment of the pulse generator 2. In this figure, those having the same functions as those in FIG. 4 are designated by the same reference numerals, and detailed description thereof will be omitted. Reference numeral 20 denotes a ROM, which outputs a value as shown in (Table 2) for the address given to the terminal A. In this figure, a portion constituted by the latches 10, 11, the ROM 20, the OR gate 17, the AND gate 19, and the P / S converter 16 corresponds to the pulse generator 1, and the latch 1
A portion constituted by 0, 12, 13 and the detector 14 and the inverter 18 corresponds to the detecting means 3.

【0022】[0022]

【表2】 [Table 2]

【0023】次に、図5に示すパルス発生器2の動作に
ついて説明する。 〈入力Dn-1,Dn,Dn+1≠±3の場合〉検出器14の
出力は入力Dn+1に対する出力であり、ラッチ13の出
力は入力Dn-1に対する検出器14の出力となるので、
いずれも“L”となる。図4の場合と同様、ROM20
のQ5〜Q0出力をそのままP/Sコンバータ16のP
0,P5端子に入力することになるので、P/Sコンバー
タ16は図2の(3)に示す通りのパルスを出力する。
Next, the operation of the pulse generator 2 shown in FIG. 5 will be described. <When Inputs D n-1 , D n , D n + 1 ≠ ± 3> The output of the detector 14 is the output for the input D n + 1 , and the output of the latch 13 is the detector 14 for the input D n-1 . Is output,
Both are "L". ROM 20 as in the case of FIG.
Q5 to Q0 output of P of P / S converter 16
Since it is input to terminals 0 and P5, the P / S converter 16 outputs a pulse as shown in (3) of FIG.

【0024】〈入力Dn=+3または−3の場合〉入力
n-1,Dn+1≠±3であったと仮定して、入力Dnがラ
ッチ10に取り込まれると、検出器14の出力は“H”
となる。インバータ18により、ANDゲート19の出
力が“L”になり、P/Sコンバータ16のP0に
“L”が与えられ、P/Sコンバータ16の出力Qの最
終値が“L”になる(図3の(3),(6)、区間τ1の最終
1クロック)。次いで入力Dnはラッチ11に取り込ま
れ、RAM15のアドレスとなる。この時、入力
n-1,Dn+1≠±3であるので、ラッチ13,検出器1
4の出力は共に“L”であり、ROM20の出力がその
ままP/Sコンバータ16の入力に与えられ、パラレル
/シリアル変換されて端子Qより出力される(図3の
(3),(6)、区間τ2)。次のサイクルでは、入力Dnによ
り“H”となった検出器14の出力がラッチ13に取り
込まれるので、ORゲート17が“H”になる。この値
がP/Sコンバータ16の入力P5に与えられるため、
P/Sコンバータ16の最初の出力値が“H”になる
(図3の(3),(6)、区間τ3の最初の1クロック)。
<In the case of input D n = + 3 or -3> Assuming that the inputs D n-1 , D n + 1 ≠ ± 3, when the input D n is taken into the latch 10, the detector 14 Output is "H"
Becomes The output of the AND gate 19 becomes "L" by the inverter 18, "L" is given to P0 of the P / S converter 16, and the final value of the output Q of the P / S converter 16 becomes "L" (Fig. (3), (6) of 3, last 1 clock of interval τ1). Then, the input D n is taken into the latch 11 and becomes the address of the RAM 15. At this time, since the inputs D n-1 and D n + 1 ≠ ± 3, the latch 13 and the detector 1
The outputs of 4 are both "L", the output of the ROM 20 is given to the input of the P / S converter 16 as it is, and is parallel / serial converted and output from the terminal Q (see FIG. 3).
(3), (6), interval τ2). In the next cycle, the output of the detector 14 which has become “H” due to the input D n is taken into the latch 13, so that the OR gate 17 becomes “H”. Since this value is given to the input P5 of the P / S converter 16,
The first output value of the P / S converter 16 becomes “H” ((3) and (6) in FIG. 3, the first one clock of the interval τ3).

【0025】図6は本発明によるD/A変換装置の他の
実施例である。本実施例においては、パルス発生器2が
発生するパルスP2nとは逆相のパルスを発生するパル
ス発生器32を用い、減算器33を用いてパルス発生器
1とパルス発生器32が発生するパルスの差を求めてD
/A変換出力とするものである。図7に本実施例におけ
る各部の出力波形を示す。波形(2),(4),(5),(7)は図
3における波形(2),(4),(5),(7)と同じである。波形
(3),(6)は、図3における波形(3),(6)と逆相になって
いる。この場合は、パルス発生器1,32が発生する双
方のパルスの立ち上がり時刻が常に一致し、入力
n-1,Dn,Dn+1≠±3の状態では、各区間τmにおい
てパルスが“H”となっている時間の和が6クロック分
で一定になる。このように構成すると、減算器33によ
って同相ノイズが除去でき、SN比の改善が望める。
FIG. 6 shows another embodiment of the D / A converter according to the present invention. In this embodiment, the pulse generator 32 generates a pulse having a phase opposite to that of the pulse P2 n generated by the pulse generator 2, and the pulse generator 1 and the pulse generator 32 generate by using the subtractor 33. Find the difference between pulses D
A / A conversion output. FIG. 7 shows the output waveform of each part in this embodiment. The waveforms (2), (4), (5) and (7) are the same as the waveforms (2), (4), (5) and (7) in FIG. Waveform
(3) and (6) have opposite phases to the waveforms (3) and (6) in FIG. In this case, the rising times of both pulses generated by the pulse generators 1 and 32 are always the same, and when the inputs D n-1 , D n , D n + 1 ≠ ± 3, the pulses are generated in each section τ m . The sum of the times when is "H" is constant for 6 clocks. With this configuration, the subtractor 33 can remove the in-phase noise, and the SN ratio can be improved.

【0026】なお、パルス発生器1,2として図4,5
に示す通り個別の回路を示したが、例えば、ラッチ1
0,11,12,13、検出器14を共有しても良いこ
とは言うまでもない。また、D/A変換装置への入力D
nとして−3〜+3の7階調としたが、更に多くても良
いものである。要は最大値と最小値に対するパルスを発
生する際のその前後のパルスに対する処理を図3、或い
は図7に示すとおりにすれば良いものである。また、図
6では図1におけるパルス発生器2の出力を逆相にして
パルス発生器1との差をとるようにしたが、パルス発生
器1の出力を逆相にしてパルス発生器2との差をとるよ
うにしても良いことは言うまでもない。
The pulse generators 1 and 2 shown in FIGS.
Although the individual circuits are shown as shown in FIG.
It goes without saying that 0, 11, 12, 13 and the detector 14 may be shared. Also, input D to the D / A converter
Although 7 gradations of -3 to +3 are set as n , more may be used. The point is that the process for the pulse before and after the pulse for the maximum value and the minimum value may be performed as shown in FIG. 3 or 7. Further, in FIG. 6, the output of the pulse generator 2 in FIG. 1 is reversed in phase to take a difference from the pulse generator 1, but the output of the pulse generator 1 is reversed in phase and compared with the pulse generator 2. It goes without saying that the difference may be taken.

【0027】以上のべたように本発明は、入力されるデ
ィジタルデータDnに基づき、Nクロックを周期とした
所定のパルス幅Wnのパルスを発生する第1,第2のパ
ルス発生器1,2と、前記第1,第2のパルスを加算す
る加算手段4と、前記第1,第2のパルス発生器が発生
すべきパルスのパルス幅が特定の値であることを検出す
る検出手段3とを備え、前記加算手段の出力をD/A変
換出力とするD/A変換装置であり、前記ディジタルデ
ータDnに基づき、前記第1のパルス発生器が発生する
パルスの立ち上がり,立ち下がり時刻をt1UPn,t
1DNn、前記第2のパルス発生器が発生するパルスの立ち
上がり,立ち下がり時刻をt2UPn,t2DNn、前記ディジ
タルデータDnによって指定されるパルスのパルス幅Wn
がmクロックである時Dn=mであるとした場合、前記
検出手段がDn=0またはNを検出する検出手段であ
り、前記第1,第2のパルス発生器が発生するパルス
が、前記第1のパルスの立ち上がり時刻t1UPnと前記第
2のパルスの立ち下がり時刻t2DNn-1が等しく、前記デ
ィジタルデータDn-1,Dn,Dn+1≠0,Nの時は、前
記検出手段の出力に基づき、前記第1のパルスの立ち上
がり時刻t1UPnと前記第2のパルスの立ち下がり時刻t
2DNnの間隔が常にNクロックであるように制御され、前
記ディジタルデータDn=N及び0の時は、前記検出手
段に基づき、前記第1及び第2のパルスの有するパルス
幅Wnが1クロック分長くなるとともに、第1のパルス
の立ち上がり時刻t1UPn、第2のパルスの立ち下がり時
刻t2DNn-1が1クロック早くなり、第2のパルス発生器
が発生するパルスのパルス幅Wn-1が1クロック分短く
なり、また、第1のパルスの立ち上がり時刻t1UPn+1
第2のパルスの立ち下がり時刻t2DNnが1クロック遅く
なり、第1のパルス発生器が発生するパルスのパルス幅
n+1が1クロック分短くなるように構成したものであ
る。
As described above, according to the present invention, the first and second pulse generators 1, which generate the pulse having the predetermined pulse width W n with the N clock as the cycle, based on the input digital data D n . 2, adding means 4 for adding the first and second pulses, and detecting means 3 for detecting that the pulse width of the pulse to be generated by the first and second pulse generators is a specific value. And a rise / fall time of a pulse generated by the first pulse generator based on the digital data D n. T1 UPn , t
1 DNn, the rise of the second pulse of the pulse generator generates, falling time of t2 UPn, t2 DNn, the digital data D n pulse width W of the pulse specified by n
If D n = m when is m clocks, the detecting means is a detecting means for detecting D n = 0 or N, and the pulses generated by the first and second pulse generators are: When the rising time t1 UPn of the first pulse and the falling time t2 DNn-1 of the second pulse are equal and the digital data D n-1 , D n , D n + 1 ≠ 0, N, Based on the output of the detection means, the rising time t1 UPn of the first pulse and the falling time t1 of the second pulse.
The interval of 2 DNn is controlled to always be N clocks, and when the digital data D n = N and 0, the pulse width W n of the first and second pulses is 1 based on the detecting means. As the clock becomes longer, the rising time t1 UPn of the first pulse and the falling time t2 DNn-1 of the second pulse are advanced by one clock, and the pulse width W n- of the pulse generated by the second pulse generator. 1 becomes shorter by 1 clock, and the rising time t1 UPn + 1 of the first pulse,
The falling time t2 DNn of the second pulse is delayed by one clock, and the pulse width W n + 1 of the pulse generated by the first pulse generator is shortened by one clock.

【0028】[0028]

【発明の効果】以上の説明から明らかなように、本発明
によれば、各パルスに必ず立ち上がりエッジと立ち下が
りエッジが存在するようになり、歪を発生させることな
く入力されるディジタル信号の階調を増やすことができ
るという優れた効果を有するものである。
As is apparent from the above description, according to the present invention, each pulse always has a rising edge and a falling edge, and the level of a digital signal input without causing distortion is high. It has an excellent effect that the tone can be increased.

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

【図1】本発明によるD/A変換装置の一実施例を表す
ブロック図
FIG. 1 is a block diagram showing an embodiment of a D / A conversion device according to the present invention.

【図2】同実施例において、入力≠0,6時のパルス発
生器1,2が発生するパルス及びD/A変換装置の出力
波形を表す波形図
FIG. 2 is a waveform diagram showing pulses generated by pulse generators 1 and 2 when input ≠ 0 and 6 and output waveforms of a D / A converter in the same embodiment.

【図3】同実施例において、入力=0,6時のパルス発
生器1,2が発生するパルス及びD/A変換装置の出力
波形を表す波形図
FIG. 3 is a waveform diagram showing the pulses generated by the pulse generators 1 and 2 at the time of input = 0 and 6 and the output waveform of the D / A converter in the embodiment.

【図4】同実施例におけるパルス発生器1及び±3検出
手段3の具体的な実施例を表すブロック図
FIG. 4 is a block diagram showing a specific embodiment of the pulse generator 1 and the ± 3 detection means 3 in the same embodiment.

【図5】同実施例におけるパルス発生器2及び±3検出
手段3の具体的な実施例を表すブロック図
FIG. 5 is a block diagram showing a concrete example of a pulse generator 2 and ± 3 detection means 3 in the same example.

【図6】本発明によるD/A変換装置の他の実施例を表
すブロック図
FIG. 6 is a block diagram showing another embodiment of the D / A conversion device according to the present invention.

【図7】図6におけるパルス発生器1,32が発生する
パルス及びD/A変換装置の出力波形を表す波形図
FIG. 7 is a waveform diagram showing pulses generated by the pulse generators 1 and 32 in FIG. 6 and output waveforms of the D / A conversion device.

【図8】従来のD/A変換装置の構成を示すブロック図FIG. 8 is a block diagram showing a configuration of a conventional D / A conversion device.

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

1,2,32 パルス発生器 3 ±3検出手段 4 加算器 15,20 ROM 16 P/Sコンバータ 33 減算器 1,2,32 Pulse generator 3 ± 3 Detection means 4 Adder 15,20 ROM 16 P / S converter 33 Subtractor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力されるディジタルデータDnに基づ
き、Nクロックを周期とした所定のパルス幅Wnのパル
スを発生する第1,第2のパルス発生器と、前記第1,
第2のパルスを加算する加算手段と、前記第1,第2の
パルス発生器が発生すべきパルスのパルス幅が特定の値
であることを検出する検出手段とを備え、前記加算手段
出力をD/A変換出力とするD/A変換装置であり、 前記ディジタルデータDnに基づき、前記第1のパルス
発生器が発生するパルスの立ち上がり,立ち下がり時刻
をt1UPn,t1DNn、前記第2のパルス発生器が発生する
パルスの立ち上がり,立ち下がり時刻をt2UPn,t
2DNn、前記ディジタルデータDnによって指定されるパ
ルスのパルス幅Wnがmクロックである時Dn=mである
とした場合、前記検出手段がDn=0またはNを検出す
る検出手段であり、前記第1,第2のパルス発生器が発
生するパルスが、 前記第1のパルスの立ち上がり時刻t1UPnと前記第2の
パルスの立ち下がり時刻t2DNn-1が等しく、 前記ディジタルデータDn-1,Dn,Dn+1≠0,Nの時
は、前記検出手段出力に基づき、前記第1のパルスの立
ち上がり時刻t1UPnと前記第2のパルスの立ち下がり時
刻t2DNnの間隔が常にNクロックであるように制御さ
れ、 前記ディジタルデータDn=N及び0の時は、前記検出
手段に基づき、前記第1及び第2のパルスの有するパル
ス幅Wnが1クロック分長くなるとともに、第1のパル
スの立ち上がり時刻t1UPn、第2のパルスの立ち下がり
時刻t2DNn-1が1クロック早くなり、第2のパルス発生
器が発生するパルスのパルス幅Wn-1が1クロック分短
くなり、また、第1のパルスの立ち上がり時刻t
1UPn+1、第2のパルスの立ち下がり時刻t2DNnが1クロ
ック遅くなり、第1のパルス発生器が発生するパルスの
パルス幅Wn+1が1クロック分短くなるようにしたこと
を特徴とするD/A変換装置。
1. A first pulse generator and a second pulse generator that generate a pulse having a predetermined pulse width W n with N clocks as a cycle based on input digital data D n , and the first and second pulse generators.
An addition means for adding the second pulse and a detection means for detecting that the pulse width of the pulse to be generated by the first and second pulse generators has a specific value are provided, and the output of the addition means is provided. A D / A converter for outputting D / A conversion, wherein the rising and falling times of the pulse generated by the first pulse generator are t1 UPn , t1 DNn , and the second based on the digital data D n . The rising and falling times of the pulse generated by the pulse generator are t2 UPn , t
2 DNn, when the pulse width W n of pulses specified by the digital data D n is assumed to be D n = m When a m clocks, the detection means the detection means detects the D n = 0 or N The first and second pulse generators generate a pulse having the same rising time t1 UPn of the first pulse and falling time t2 DNn-1 of the second pulse, and the digital data D n −1 , D n , D n + 1 ≠ 0, N, the interval between the rising time t1 UPn of the first pulse and the falling time t2 DNn of the second pulse is based on the output of the detecting means. It is controlled so that it is always N clocks, and when the digital data D n = N and 0, the pulse width W n of the first and second pulses is lengthened by one clock based on the detection means. , The rise of the first pulse Galli time t1 UPn, fall time t2 DNn-1 of the second pulse becomes faster one clock, the pulse width W n-1 pulses second pulse generator generates one clock shorter, also, the Rising time t of pulse 1
1 UPn + 1 , the fall time t2 DNn of the second pulse is delayed by one clock, and the pulse width W n + 1 of the pulse generated by the first pulse generator is shortened by one clock. The D / A converter.
【請求項2】 第1及び第2のパルス発生器が発生する
パルスの何れか一方が逆相で発生されており、加算手段
として減算手段を備えたことを特徴とする請求項1に記
載のD/A変換装置。
2. The pulse generator according to claim 1, wherein one of the pulses generated by the first and second pulse generators is generated in a reverse phase, and a subtraction unit is provided as an addition unit. D / A converter.
JP4252792A 1992-02-28 1992-02-28 D / A converter Expired - Fee Related JP2924418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4252792A JP2924418B2 (en) 1992-02-28 1992-02-28 D / A converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4252792A JP2924418B2 (en) 1992-02-28 1992-02-28 D / A converter

Publications (2)

Publication Number Publication Date
JPH05244008A true JPH05244008A (en) 1993-09-21
JP2924418B2 JP2924418B2 (en) 1999-07-26

Family

ID=12638553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4252792A Expired - Fee Related JP2924418B2 (en) 1992-02-28 1992-02-28 D / A converter

Country Status (1)

Country Link
JP (1) JP2924418B2 (en)

Also Published As

Publication number Publication date
JP2924418B2 (en) 1999-07-26

Similar Documents

Publication Publication Date Title
US7436254B2 (en) Class D amplifier
JP4882353B2 (en) Pulse width modulation amplifier
KR100838439B1 (en) Transmission signal producing apparatus
JP2924418B2 (en) D / A converter
JP2009005073A (en) Digital/analog converter and distortion correction circuit
JPH0722861A (en) Pulse width modulator
JP3125225B2 (en) Digital / analog converter
JP3102024B2 (en) D / A conversion method
JP5644579B2 (en) Audio mixing apparatus and method, and electronic apparatus
JP2550839B2 (en) Digital-analog converter
JP3562127B2 (en) Pulse width modulation circuit
KR960014531B1 (en) Frequency multiplier
JPH05327511A (en) Digital/analog converter
JP2969375B2 (en) D / A conversion circuit
JPS60252395A (en) Modulation effect apparatus
JP3109316B2 (en) Waveform generator
JPH11122505A (en) Digital converter for video signal
JPH02165729A (en) D/a converter
JPH0430832Y2 (en)
JPH04160821A (en) Pulse width modulator
JP2757090B2 (en) Divider / multiplier circuit
JP2000078002A (en) Phase comparison device
JPS6029036A (en) Analog/digital conversion circuit
JPH066217A (en) Bit length expanding device
JPH0831798B2 (en) D / A converter

Legal Events

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