JPH07135469A - D/a converter - Google Patents

D/a converter

Info

Publication number
JPH07135469A
JPH07135469A JP28244893A JP28244893A JPH07135469A JP H07135469 A JPH07135469 A JP H07135469A JP 28244893 A JP28244893 A JP 28244893A JP 28244893 A JP28244893 A JP 28244893A JP H07135469 A JPH07135469 A JP H07135469A
Authority
JP
Japan
Prior art keywords
output
counter
converter
conversion
lpf
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.)
Withdrawn
Application number
JP28244893A
Other languages
Japanese (ja)
Inventor
Kazuhito Ohashi
一仁 大橋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP28244893A priority Critical patent/JPH07135469A/en
Publication of JPH07135469A publication Critical patent/JPH07135469A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain a D/A converter of the PWM system with excellent response in which a cut-off frequency of an LPF is set higher. CONSTITUTION:Bits of an output of a counter making count operation by a received clock CK are reversed as shown in figure and the resulting data are fed to one input terminal of a digital comparator 102. The digital comparator 102 compares data A to be D/A-converted and fed to other input terminal and data B received by the one input terminal and gives an output produced in the case of A>B to a low pass filter(LPF) 103, and a D/A conversion output is obtained from an output terminal of the LPF 103. Since outputs of the counter 101 are bit-reversed, the output pulse of the digital processing 102 is distributed over the entire counter period (PWM period), the object is attained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、いわゆるPulse
Width Modulation(以下PWMと表わ
す)方式のD/A変換器に関する。
The present invention relates to a so-called Pulse
The present invention relates to a width modulation (hereinafter referred to as PWM) type D / A converter.

【0002】[0002]

【従来の技術】従来、PWM方式のD/A変換器として
図7に示す構成のものがある。
2. Description of the Related Art Conventionally, there is a PWM type D / A converter having a structure shown in FIG.

【0003】図7において、701はクロックCKによ
りカウント動作を行うカウンタ、702はそのカウント
値BとD/A変換の対象となるデータAを比較するデジ
タルコンパレータ、703はコンパレータ702のA>
B出力より低域成分を抜き取るLPF(ローパスフィル
タ)である。
In FIG. 7, reference numeral 701 is a counter that performs a counting operation with a clock CK, 702 is a digital comparator that compares the count value B with the data A that is the object of D / A conversion, and 703 is A of the comparator 702>
An LPF (low-pass filter) that extracts low-frequency components from the B output.

【0004】図8は、4bitのカウンタを用い“9
(hex)”をD/A変換した場合のデジタルコンパレ
ータ702のA>B出力を示す。
FIG. 8 shows a "9" using a 4-bit counter.
The A> B output of the digital comparator 702 when D / A conversion of (hex) ”is shown.

【0005】図8より明らかなように、デジタルコンパ
レータ702のA>B出力は周期が24 (=16)CK
分で、幅9・CKのパルスを出力する。従って、これを
LPF703に通せば9/16という値が得られる。
As is apparent from FIG. 8, the A> B output of the digital comparator 702 has a cycle of 2 4 (= 16) CK.
In minutes, it outputs a pulse with a width of 9 · CK. Therefore, if this is passed through the LPF 703, a value of 9/16 is obtained.

【0006】[0006]

【発明が解決しようとする課題】しかし、図8よりわか
るように、従来のPWM方式のD/A変換器では、コン
パレータ出力で“H”のパルスと“L”のパルスがPW
M周期の中で左,右にかたまり合ってしまうので、PW
M周期に相当するキャリアの成分が大きく、LPF70
3のカットオフ周波数をかなり低くしないとキャリアの
抑圧が不十分となり、D/A変換出力にキャリア成分が
出てしまうという問題がある。
However, as can be seen from FIG. 8, in the conventional PWM D / A converter, the "H" pulse and the "L" pulse are PW at the comparator output.
In the M cycle, the left and right clusters, so PW
The carrier component corresponding to the M period is large, and the LPF 70
If the cutoff frequency of 3 is not lowered considerably, carrier suppression will be insufficient and carrier components will appear in the D / A conversion output.

【0007】これを避けるためにLPF703のカット
オフ周波数を低くしすぎると、今度はD/A変換の対象
となるデータ値を変更した場合、安定するまでに要する
時間が大きくなってしまい、ある程度以上の応答性が必
要とされる装置では大きな問題となってしまう。
If the cutoff frequency of the LPF 703 is set too low in order to avoid this, when the data value to be D / A converted is changed this time, it takes a long time to stabilize it, which is above a certain level. This becomes a big problem in a device that requires the responsiveness.

【0008】また、これらの問題は前記カウンタ701
に与えるクロックCKの周波数を高くすることで解決で
きるが、この場合、回路で消費される電力が増えてしま
うという問題がある。
Further, these problems are caused by the counter 701.
Although the problem can be solved by increasing the frequency of the clock CK given to the circuit, in this case, there is a problem that the power consumed by the circuit increases.

【0009】本発明は、このような問題に鑑みてなされ
たもので、LPFのカットオフ周波数を高く設定するこ
とができ、応答性のよいD/A変換器を提供することを
目的とするものである。
The present invention has been made in view of such a problem, and an object of the present invention is to provide a D / A converter which can set the cutoff frequency of the LPF to a high value and has a good response. Is.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、カウンタの出力を変換する変換手段を設
けるもので、詳しくは、D/A変換器を次の(1)〜
(5)のとおりに構成するものである。
In order to achieve the above object, the present invention provides a conversion means for converting the output of a counter. More specifically, the D / A converter is composed of the following (1) to
It is configured as in (5).

【0011】(1)クロックによりカウント動作を行う
カウンタと、このカウンタの出力を変換する変換手段
と、この変換手段の出力とD/A変換の対象となるデー
タを比較するデジタルコンパレータと、このデジタルコ
ンパレータの出力からその低域成分のみを抜き出すロー
パスフィルタと、このローパスフィルタの出力側に設け
た出力端とを備えたD/A変換器。
(1) A counter that performs a counting operation with a clock, a conversion unit that converts the output of this counter, a digital comparator that compares the output of this conversion unit with the data to be D / A converted, and this digital A D / A converter having a low-pass filter for extracting only the low-pass component from the output of the comparator, and an output terminal provided on the output side of the low-pass filter.

【0012】(2)変換手段は、カウンタの出力のMS
BからLSBに至るビットの順序を逆にするものである
前記(1)記載のD/A変換器。
(2) The conversion means is the MS of the output of the counter.
The D / A converter according to (1) above, which reverses the order of bits from B to LSB.

【0013】(3)変換手段は、カウンタの出力の各ビ
ットを順次巡回的に一定ビットだけシフトするものであ
る前記(1)記載のD/A変換器。
(3) The D / A converter according to (1), wherein the conversion means sequentially cyclically shifts each bit of the output of the counter by a constant bit.

【0014】(4)変換手段は、カウンタの出力をテー
ブル変換するものである前記(1)記載のD/A変換
器。
(4) The D / A converter according to (1), wherein the converting means converts the output of the counter into a table.

【0015】(5)変換手段は、互に異なる複数の変換
手段から、一つの変換手段が選択される形式のものであ
る前記(1)記載のD/A変換器。
(5) The D / A converter according to (1), wherein the conversion means is of a type in which one conversion means is selected from a plurality of different conversion means.

【0016】[0016]

【作用】前記(1)〜(5)記載の構成により、デジタ
ルコンパレータの出力のパルス位置がカウンタ周期(P
WM周期)の全体に分散される。
With the configurations described in (1) to (5) above, the pulse position of the output of the digital comparator is determined by the counter cycle (P
WM period).

【0017】[0017]

【実施例】以下本発明を実施例で詳しく説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0018】(実施例1)図1に、実施例1である“P
WM方式のD/A変換器”の構成を示す。
(Embodiment 1) FIG. 1 shows a first embodiment "P".
The configuration of a WM type D / A converter "is shown.

【0019】図1において101はクロックCKにより
カウント動作を行うカウンタ、102はそのカウント値
をビット・リバース(MSB→LSBの順を逆にするこ
と)した値BとD/A変換の対象となるデータAを比較
するデジタルコンパレータ、103はLPFである。
In FIG. 1, reference numeral 101 is a counter which performs a count operation by a clock CK, and 102 is a value B obtained by bit-reversing the count value (reversing the order of MSB → LSB) and subject to D / A conversion. A digital comparator 103 for comparing the data A is an LPF.

【0020】この様にビット・リバースすることによる
効果は、コンパレータ102後の“H”および“L”パ
ルスの発生をPWM周期中でランダムに分散することで
ある。
The effect of such bit reversal is that the generation of "H" and "L" pulses after the comparator 102 is randomly dispersed in the PWM cycle.

【0021】図2には、1例として4bitカウンタを
用い“9(hex)”をD/A変換した場合のデジタル
コンパレータ102のA>B出力の波形を示す。図示の
ように、9・CKのパルスを出力している。
FIG. 2 shows, as an example, a waveform of the A> B output of the digital comparator 102 when "9 (hex)" is D / A converted using a 4-bit counter. As shown in the figure, 9 · CK pulse is output.

【0022】図8の従来例と比較すれば、パルス数は同
じであるがパルス位置は分散されていることが明らかで
ある。
As compared with the conventional example of FIG. 8, it is apparent that the pulse numbers are the same but the pulse positions are dispersed.

【0023】このようにして、本実施例によれば、LP
F103のカット・オフ周波数を高く設定することがで
き、D/A変換器としての応答性の向上が可能となる。
Thus, according to this embodiment, the LP
The cut-off frequency of F103 can be set high, and the responsiveness as a D / A converter can be improved.

【0024】(実施例2)図3は実施例2である“PW
M方式のD/A変換器”の構成を示す図である。
(Embodiment 2) FIG. 3 shows a second embodiment "PW".
It is a figure which shows the structure of the M system D / A converter.

【0025】図3において、301はクロックCKによ
りカウント動作を行うカウンタ、302はそのカウント
値を巡回的にKbit分だけビットシフト(例えばQ0
〜Q3の4bitの場合、Q0→Q2,Q1→Q3,Q
2→Q0,Q3→Q1と並べ換えること)した値Bと、
D/A変換の対象となるデータAを比較するデジタルコ
ンパレータ、303はLPFである。
In FIG. 3, reference numeral 301 denotes a counter which performs a counting operation by a clock CK, and 302 cyclically shifts the count value by K bits (for example, Q0).
~ In case of 4 bits of Q3, Q0 → Q2, Q1 → Q3, Q
2 → Q0, Q3 → Q1 rearranged value B),
A digital comparator 303 for comparing the data A to be D / A converted is an LPF.

【0026】このビット・シフトの効果も、ビット・リ
バースと同様に、コンパレータ後の“H”および“L”
パルスの発生をPWM周期中でランダムに分散させるこ
とになる。
The effect of this bit shift is also "H" and "L" after the comparator as in the case of bit reverse.
The pulse generation will be randomly dispersed in the PWM cycle.

【0027】図4には1例として、4bitカウンタを
用い“9(hex)”をD/A変換した場合のデジタル
コンパレータ302のA>B出力の波形を示す。これも
また図8の従来例と比較すれば、パルス数は同じである
がパルス位置は分散されていることは明らかである。
As an example, FIG. 4 shows a waveform of the A> B output of the digital comparator 302 when "9 (hex)" is D / A converted by using a 4-bit counter. Also in this case, when compared with the conventional example of FIG. 8, it is apparent that the pulse numbers are the same but the pulse positions are dispersed.

【0028】(実施例3)図5は実施例3の構成を示す
図である。
(Embodiment 3) FIG. 5 is a diagram showing the structure of the third embodiment.

【0029】図5において、501はクロックCKによ
りカウント動作を行うカウンタ、502は前記カウンタ
501のカウント値を別の値に変換する変換テーブル、
503は前記変換テーブル502によりテーブル変換さ
れた値Bと、D/A変換の対象となる値Aとを比較する
デジタルコンパレータ、504はLPFである。
In FIG. 5, reference numeral 501 is a counter which performs a counting operation by a clock CK, 502 is a conversion table which converts the count value of the counter 501 into another value,
Reference numeral 503 is a digital comparator for comparing the value B table-converted by the conversion table 502 with the value A to be D / A converted, and 504 is an LPF.

【0030】この場合、前述のビット・リバースあるい
はビット・シフトと異なり変換の自由度が大きいので、
例えばLPF504の特性に対し最適な変換テーブルを
作ることも可能となる。
In this case, unlike the above-mentioned bit reverse or bit shift, the degree of freedom of conversion is large,
For example, it is possible to create an optimum conversion table for the characteristics of the LPF 504.

【0031】(実施例1,2,3の変形)以上ビット
・リバース,ビット・シフト,変換テーブルによる
実施例を示したが、これらの組み合わせによる変換であ
ってもよい。例えばnbitのカウント値の一部をビッ
ト・リバース変換、そして一部をビット・シフト変換、
そして一部をテーブル変換してもよい。また、これらの
順番を入れ換えてもよい。これらはすべて回路の規模と
得られる効果により選択・判断して使用すればよい。
(Modifications of Embodiments 1, 2 and 3) Although the embodiment using the bit reverse, the bit shift and the conversion table has been described above, conversion may be performed by a combination of these. For example, part of the count value of nbit is bit reverse conversion, and part is bit shift conversion,
And a part may be converted into a table. Moreover, you may change these orders. All of these may be selected and used according to the scale of the circuit and the effect obtained.

【0032】(実施例4)図6は実施例4の構成を示す
図である。
(Embodiment 4) FIG. 6 is a diagram showing the structure of Embodiment 4.

【0033】図6において、601はクロックCKによ
りカウント動作を行うカウンタ、602は前述した複数
のデータ変換手段をK個有し、有効となる変換手段を外
部でセレクト可能なデータ変換手段1〜Kである。ま
た、603は選択した変換手段の変換データ値Bと、D
/A変換の対象となっているデータ値Aを比較するコン
パレータ、604はLPFである。
In FIG. 6, reference numeral 601 denotes a counter which performs a counting operation by a clock CK, and 602 has K number of the above-mentioned plurality of data converting means, and data converting means 1 to K which can select the effective converting means from the outside. Is. Reference numeral 603 is the conversion data values B and D of the selected conversion means.
A comparator 604 that compares the data value A that is the target of the / A conversion, and 604 is an LPF.

【0034】このようにすることでLPF604の特性
にあった変換手段を外部で選択することができる。
By doing so, it is possible to externally select the conversion means suitable for the characteristics of the LPF 604.

【0035】なお、以上の各実施例では、コンパレータ
のA>B出力を用いているが、本発明はこれに限られる
ものではなく、A<B出力を用いる形で同様に実施する
ことができる。
In each of the above embodiments, the A> B output of the comparator is used. However, the present invention is not limited to this, and the same can be carried out by using the A <B output. .

【0036】[0036]

【発明の効果】以上説明した様に、本発明によれば、P
WM方式のD/A変換器において、そのデジタルコンパ
レータ出力の“H”および“L”パルスをPWM周期の
中で片寄ることのないように分散することが可能とな
る。
As described above, according to the present invention, P
In the WM type D / A converter, it becomes possible to disperse the “H” and “L” pulses of the digital comparator output so as not to be biased in the PWM cycle.

【0037】従って、LPFのカットオフ周波数を高く
設定することができ、D/A変換器としての応答性の向
上が可能となる。
Therefore, the cutoff frequency of the LPF can be set high, and the responsiveness of the D / A converter can be improved.

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

【図1】 実施例1の構成を示す図FIG. 1 is a diagram showing a configuration of a first embodiment.

【図2】 実施例1による変換例を示す図FIG. 2 is a diagram showing a conversion example according to the first embodiment.

【図3】 実施例2の構成を示す図FIG. 3 is a diagram showing a configuration of a second embodiment.

【図4】 実施例2による変換例を示す図FIG. 4 is a diagram showing a conversion example according to the second embodiment.

【図5】 実施例3の構成を示す図FIG. 5 is a diagram showing a configuration of a third embodiment.

【図6】 実施例4の構成を示す図FIG. 6 is a diagram showing a configuration of a fourth embodiment.

【図7】 従来例の構成を示す図FIG. 7 is a diagram showing a configuration of a conventional example.

【図8】 従来例による変換例を示す図FIG. 8 is a diagram showing a conversion example according to a conventional example.

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

101 カウンタ 102 デジタルコンパレータ 103 LPF 101 Counter 102 Digital Comparator 103 LPF

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 クロックによりカウント動作を行うカウ
ンタと、このカウンタの出力を変換する変換手段と、こ
の変換手段の出力とD/A変換の対象となるデータを比
較するデジタルコンパレータと、このデジタルコンパレ
ータの出力からその低域成分のみを抜き出すローパスフ
ィルタと、このローパスフィルタの出力側に設けた出力
端とを備えたことを特徴とするD/A変換器。
1. A counter that performs a counting operation with a clock, a conversion unit that converts the output of this counter, a digital comparator that compares the output of this conversion unit with the data to be D / A converted, and this digital comparator. A D / A converter comprising a low-pass filter for extracting only the low-pass component from the output of the above-mentioned, and an output end provided on the output side of this low-pass filter.
【請求項2】 変換手段は、カウンタの出力のMSBか
らLSBに至るビットの順序を逆にするものであること
を特徴とする請求項1記載のD/A変換器。
2. The D / A converter according to claim 1, wherein the conversion means reverses the order of bits from the MSB to the LSB of the output of the counter.
【請求項3】 変換手段は、カウンタの出力の各ビット
を順次巡回的に一定ビットだけシフトするものであるこ
とを特徴とする請求項1記載のD/A変換器。
3. The D / A converter according to claim 1, wherein the conversion means sequentially cyclically shifts each bit of the output of the counter by a constant bit.
【請求項4】 変換手段は、カウンタの出力をテーブル
変換するものであることを特徴とする請求項1記載のD
/A変換器。
4. The D according to claim 1, wherein the conversion means converts the output of the counter into a table.
/ A converter.
【請求項5】 変換手段は、互に異なる複数の変換手段
から、一つの変換手段が選択される形式のものであるこ
とを特徴とする請求項1記載のD/A変換器。
5. The D / A converter according to claim 1, wherein the conversion means is of a type in which one conversion means is selected from a plurality of conversion means different from each other.
JP28244893A 1993-11-11 1993-11-11 D/a converter Withdrawn JPH07135469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28244893A JPH07135469A (en) 1993-11-11 1993-11-11 D/a converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28244893A JPH07135469A (en) 1993-11-11 1993-11-11 D/a converter

Publications (1)

Publication Number Publication Date
JPH07135469A true JPH07135469A (en) 1995-05-23

Family

ID=17652561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28244893A Withdrawn JPH07135469A (en) 1993-11-11 1993-11-11 D/a converter

Country Status (1)

Country Link
JP (1) JPH07135469A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997044899A1 (en) * 1996-05-20 1997-11-27 Asahi Kasei Kogyo Kabushiki Kaisha Circuit and method for modulating pulse width
US6462692B1 (en) 1998-01-27 2002-10-08 Matsushita Electric Industrial Co., Ltd. Digital-to-analog converter and digital-to-analog converting method
JP2009076976A (en) * 2007-09-18 2009-04-09 Oki Semiconductor Co Ltd Analog signal generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997044899A1 (en) * 1996-05-20 1997-11-27 Asahi Kasei Kogyo Kabushiki Kaisha Circuit and method for modulating pulse width
US6310913B1 (en) 1996-05-20 2001-10-30 Asahi Kasei Kabushiki Kaisha Circuit and method for modulating pulse width
US6462692B1 (en) 1998-01-27 2002-10-08 Matsushita Electric Industrial Co., Ltd. Digital-to-analog converter and digital-to-analog converting method
JP2009076976A (en) * 2007-09-18 2009-04-09 Oki Semiconductor Co Ltd Analog signal generator

Similar Documents

Publication Publication Date Title
US4748640A (en) Digital circuit with band limiting characteristics for modem
JPH07135469A (en) D/a converter
JPH0787376B2 (en) Delta modulation code decoding device
JPS63176020A (en) D/a conversion system
JP3142033B2 (en) D / A conversion circuit
JPH0376311A (en) Pulse width modulation circuit
JPH05315966A (en) Nrz/cmi(ii) code conversion device
JP3001623B2 (en) PWM type D / A converter
JP3125651B2 (en) Rate generator
JPH0626357B2 (en) FSK-AM modulation circuit
JPH06152426A (en) D/a converter
JP2003198373A (en) Pwm conversion circuit, d/a converter and pwm conversion method
JP2687793B2 (en) Error rate alarm circuit with hysteresis
JP4065804B2 (en) Semiconductor device
JPH0983368A (en) D/a converting circuit
JPH06224770A (en) Processing method of electric signal
JPH01311872A (en) Pwm signal arithmetic and logic device
SU1223329A1 (en) Frequency multiplier
JPH0765282A (en) Electronic measuring instrument
JPH02194724A (en) System and circuit for modulating pulse width
JPH0331015B2 (en)
JPH0451614A (en) Pulse generation circuit
JPH04287520A (en) Counter
JPS6211820B2 (en)
JPS60247308A (en) Generator of variable frequency sine wave signal

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130