JP3214040B2 - Digital gain variable device - Google Patents

Digital gain variable device

Info

Publication number
JP3214040B2
JP3214040B2 JP05283292A JP5283292A JP3214040B2 JP 3214040 B2 JP3214040 B2 JP 3214040B2 JP 05283292 A JP05283292 A JP 05283292A JP 5283292 A JP5283292 A JP 5283292A JP 3214040 B2 JP3214040 B2 JP 3214040B2
Authority
JP
Japan
Prior art keywords
output
supplied
signal
pulse signal
pulse
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 - Fee Related
Application number
JP05283292A
Other languages
Japanese (ja)
Other versions
JPH05259767A (en
Inventor
孝士 大野
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP05283292A priority Critical patent/JP3214040B2/en
Publication of JPH05259767A publication Critical patent/JPH05259767A/en
Application granted granted Critical
Publication of JP3214040B2 publication Critical patent/JP3214040B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Control Of Amplification And Gain Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、1ビット方式のデジタ
ル/アナログ変換器と称されるデジタル・アナログ変換
器に適用されるデジタルゲイン可変装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital gain variable device applied to a digital / analog converter called a 1-bit digital / analog converter.

【0002】[0002]

【従来の技術】従来、デジタルオーディオ信号をアナロ
グオーディオ信号に変換するデジタル/アナログ変換器
の周辺に、出力オーディオ信号のレベル調整を行うゲイ
ン可変装置を構成することが行われている。図3は、そ
の一例を示す図で、図中1はデジタルオーディオ信号出
力端子を示し、この出力端子1に得られるデジタルオー
ディオ信号を、デジタル乗算器2に供給する。そして、
ゲイン設定信号入力端子3に得られるゲイン設定信号
(デジタルデータ)を、このデジタル乗算器2に供給
し、デジタルオーディオ信号のレベルデータとゲイン設
定信号とを乗算する。そして、この乗算出力をデジタル
/アナログ変換器4に供給し、このデジタル・アナログ
変換器4でデジタルオーディオ信号をアナログオーディ
オ信号に変換する処理を行う。そして、デジタル/アナ
ログ変換器4で変換されたアナログオーディオ信号を、
アナログオーディオ信号出力端子5に供給する。
2. Description of the Related Art Conventionally, a variable gain device for adjusting the level of an output audio signal is provided around a digital / analog converter for converting a digital audio signal into an analog audio signal. FIG. 3 is a diagram showing an example thereof. In the figure, reference numeral 1 denotes a digital audio signal output terminal, and a digital audio signal obtained at the output terminal 1 is supplied to a digital multiplier 2. And
The gain setting signal (digital data) obtained at the gain setting signal input terminal 3 is supplied to the digital multiplier 2 to multiply the digital audio signal level data by the gain setting signal. Then, the multiplied output is supplied to the digital / analog converter 4, and the digital / analog converter 4 converts the digital audio signal into an analog audio signal. Then, the analog audio signal converted by the digital / analog converter 4 is
It is supplied to an analog audio signal output terminal 5.

【0003】このようにすることで、デジタルオーディ
オ信号がアナログ信号に変換される前に、ゲイン調整が
行われ、ゲイン設定信号の値を変化させるだけでゲイン
調整が行われ、いわゆる電子ボリュームが構成される。
In this way, before the digital audio signal is converted into an analog signal, the gain is adjusted, and the gain is adjusted only by changing the value of the gain setting signal. Is done.

【0004】また、別の構成として、例えば図4に示す
ように、デジタル/アナログ変換器4が出力するアナロ
グオーディオ信号を、所定の抵抗を介して出力回路を構
成する演算増幅器6の反転側入力端子に供給し、この演
算増幅器6の非反転側入力端子を接地する。そして、こ
の演算増幅器6の反転側入力端子側を、トランジスタ等
よりなる複数の半導体スイッチ7a,7b‥‥7iの一
端に接続する。この場合、複数ビットのゲイン設定信号
の入力端子8a,8b‥‥8iに得られる各ビットのゲ
イン設定信号を、それぞれの半導体スイッチ7a,7b
‥‥7iの制御端子に供給する。そして、この各半導体
スイッチ7a,7b‥‥7iの他端を、それぞれ異なる
抵抗値の抵抗器9a,9b‥‥9iを介して共通に接続
し、この接続点を演算増幅器6の出力端子に接続する。
そして、この演算増幅器6の出力端子を、アナログオー
ディオ信号出力端子5に接続する。
As another configuration, for example, as shown in FIG. 4, an analog audio signal output from a digital / analog converter 4 is converted into an inverting input of an operational amplifier 6 forming an output circuit via a predetermined resistor. And the non-inverting input terminal of the operational amplifier 6 is grounded. Then, the inverting input terminal side of the operational amplifier 6 is connected to one end of a plurality of semiconductor switches 7a, 7b # 7i composed of transistors and the like. In this case, the gain setting signal of each bit obtained at the input terminals 8a, 8b ‥‥ 8i of the gain setting signal of a plurality of bits is transmitted to the respective semiconductor switches 7a, 7b.
$ 7i is supplied to the control terminal. The other end of each of the semiconductor switches 7a, 7b # 7i is commonly connected through resistors 9a, 9b # 9i having different resistance values, and this connection point is connected to the output terminal of the operational amplifier 6. I do.
Then, the output terminal of the operational amplifier 6 is connected to the analog audio signal output terminal 5.

【0005】このようにすることで、入力端子8a,8
b‥‥8iに得られるゲイン設定信号に応じた半導体ス
イッチ7a,7b‥‥7iの接続状態により、演算増幅
器6の反転側入力端子側と出力端子側とを接続する抵抗
器の抵抗値が変化し、出力端子5に得られるアナログオ
ーディオ信号のゲインが変化する。
By doing so, the input terminals 8a, 8
The resistance value of the resistor connecting the inverting input terminal side and the output terminal side of the operational amplifier 6 changes depending on the connection state of the semiconductor switches 7a and 7b # 7i according to the gain setting signal obtained at b ‥‥ 8i. Then, the gain of the analog audio signal obtained at the output terminal 5 changes.

【0006】ところで、このようなゲイン可変装置を構
成すると、出力されるアナログオーディオ信号が劣化す
る虞れがあった。即ち、図3に示すように、デジタル乗
算器によりデジタル的に減衰させる場合には、デジタル
/アナログ変換器のダイナミックレンジに限界があるの
で、減衰量が大きくなるほど歪率が悪化してしまう。ま
た、図4に示すように、半導体スイッチ等のアナログス
イッチによりゲインを切換える場合には、アナログスイ
ッチの特性の非直線性により歪率が悪化したりして、音
質が悪化してしまう。
By the way, when such a variable gain device is configured, there is a possibility that the output analog audio signal is deteriorated. That is, as shown in FIG. 3, when digitally attenuating by a digital multiplier, the dynamic range of the digital / analog converter has a limit, so that the distortion increases as the attenuation increases. Further, as shown in FIG. 4, when the gain is switched by an analog switch such as a semiconductor switch, the distortion rate is deteriorated due to the non-linearity of the characteristics of the analog switch, and the sound quality is deteriorated.

【0007】この問題点を解決するために、本出願人は
先に特願平2−274709号において、音質を悪化さ
せることのないこの種のゲイン可変装置を提案した。
In order to solve this problem, the present applicant has previously proposed in Japanese Patent Application No. Hei 2-274709 a variable gain device of this type which does not deteriorate the sound quality.

【0008】このゲイン可変装置について説明すると、
この例ではデジタル/アナログ変換器として、1ビット
方式のデジタル/アナログ変換器を使用してゲイン調整
を行うもので、まずこの1ビット方式のデジタル/アナ
ログ変換器について説明する。この1ビット方式のデジ
タル/アナログ変換器は、変換された出力として、数又
は幅が変化するパルス信号が得られるもので、このパル
ス信号の数又は幅が変化する出力を、ローパスフィルタ
に供給して平均化することで、アナログオーディオ信号
が得られる。この場合、デジタル/アナログ変換器が出
力するパルス波形は、レベルがハイレベル又はローレベ
ルの2値の何れかであり、入力デジタルデータに応じて
パルス波形の数が変化するものがパルス数変調(PN
M)と称され、パルス波形の幅が変化するものがパルス
幅変調(PWM)と称される。このような方式のデジタ
ル/アナログ変換器によると、変換時に発生する歪みを
最小限に抑えることができ、歪みのない良好なアナログ
オーディオ信号に変換することができる。
[0008] This variable gain device will be described.
In this example, gain adjustment is performed using a 1-bit digital / analog converter as a digital / analog converter. First, the 1-bit digital / analog converter will be described. This 1-bit type digital / analog converter can obtain a pulse signal whose number or width changes as a converted output, and supplies the output whose number or width changes to a low-pass filter. By averaging, an analog audio signal is obtained. In this case, the pulse waveform output from the digital / analog converter has either a high level or a low level, and the pulse waveform that changes in number according to the input digital data is pulse number modulation ( PN
M), and those in which the width of the pulse waveform changes are called pulse width modulation (PWM). According to the digital / analog converter of such a system, distortion generated at the time of conversion can be suppressed to a minimum, and a good analog audio signal without distortion can be converted.

【0009】この1ビット方式のデジタル/アナログ変
換器を使用したものに適用されるゲイン可変装置とした
もので、図5に全体構成を示す。この図5において、1
1はデジタルオーディオ信号入力端子を示し、このデジ
タルオーディオ信号入力端子11に得られるデジタルオ
ーディオ信号を、1ビット方式のデジタル/アナログ変
換器12に供給する。そして、このデジタル・アナログ
変換器12が変換して出力するパルス信号を、複数の論
理ゲート13a,13b‥‥13iに供給する。この論
理ゲートとしては、ANDゲート,トライステートゲー
ト,フリップフロップ等の各種ゲート素子が考えられる
が、以下の説明ではANDゲートとして説明する。
FIG. 5 shows an overall configuration of a variable gain device applied to a device using the 1-bit digital / analog converter. In FIG. 5, 1
Reference numeral 1 denotes a digital audio signal input terminal, which supplies a digital audio signal obtained at the digital audio signal input terminal 11 to a 1-bit digital / analog converter 12. The pulse signal converted and output by the digital / analog converter 12 is supplied to the plurality of logic gates 13a, 13b # 13i. As the logic gate, various gate elements such as an AND gate, a tri-state gate, and a flip-flop can be considered. In the following description, the logic gate will be described as an AND gate.

【0010】また、図中14a,14b‥‥14iは、
ゲイン設定信号入力端子を示し、この入力端子14a,
14b‥‥14iに、複数ビットのゲイン設定信号のそ
れぞれのビットデータが供給される。この場合、ゲイン
設定信号は、このデジタル・アナログ変換器が組み込ま
れたオーディオ機器の制御回路(図示せず)から供給さ
れ、設定されるゲインに応じていくつかのビットだけが
ハイレベル信号“1”とされ、他のビットはローレベル
信号“0”とされる。そして、入力端子14a,14b
‥‥14iに得られるそれぞれのビットのゲイン設定信
号を、論理ゲート13a,13b‥‥13iに供給す
る。そして、それぞれの論理ゲート13a,13b‥‥
13iの出力端子を、それぞれ抵抗値が異なる抵抗器2
0a,20b‥‥20iの一端に接続する。そして、こ
のそれぞれの抵抗器20a,20b‥‥20iの他端
を、演算増幅器21の反転側入力端子に共通に接続す
る。そして、演算増幅器21の非反転側入力端子を接地
し、演算増幅器21の反転側入力端子と出力端子とを、
抵抗器22で接続する。
In the figure, 14a, 14b1414i are:
A gain setting signal input terminal is shown.
Each bit data of the gain setting signal of a plurality of bits is supplied to 14b ‥‥ 14i. In this case, the gain setting signal is supplied from a control circuit (not shown) of the audio equipment in which the digital-to-analog converter is incorporated, and only some bits are set to the high-level signal “1” according to the set gain. , And the other bits are set to the low level signal “0”. And input terminals 14a, 14b
The gain setting signal of each bit obtained at # 14i is supplied to logic gates 13a and 13b # 13i. Then, respective logic gates 13a, 13b #
13i is connected to a resistor 2 having a different resistance value.
0a, 20b ‥‥ 20i. The other ends of the resistors 20a, 20b # 20i are commonly connected to the inverting input terminal of the operational amplifier 21. Then, the non-inverting input terminal of the operational amplifier 21 is grounded, and the inverting input terminal and the output terminal of the operational amplifier 21 are connected to each other.
Connected by a resistor 22.

【0011】そして、演算増幅器21の出力端子をロー
パスフィルタ23に接続し、演算増幅器21側から供給
されるパルス信号をローパスフィルタ23で平均化して
アナログオーディオ信号とし、このアナログオーディオ
信号を出力端子24に供給する。
The output terminal of the operational amplifier 21 is connected to a low-pass filter 23, and the pulse signal supplied from the operational amplifier 21 is averaged by the low-pass filter 23 to obtain an analog audio signal. To supply.

【0012】この図5に示す構成によると、デジタル/
アナログ変換器12でパルス信号に変換されたデジタル
オーディオ信号は、論理ゲート13a,13b‥‥13
iに供給され、ゲイン設定信号としてハイレベル信号
“1”が供給されている論理ゲートだけから、このパル
ス信号化されたオーディオ信号が出力されるようにな
る。即ち、ゲイン設定信号としてローレベル信号“0”
が供給される論理ゲートは、デジタル/アナログ変換器
12側から供給されるパルス信号の状態に係わらず、常
に論理積出力がローレベル信号“0”になる。そして、
ゲイン設定信号としてハイレベル信号“1”が供給され
ている論理ゲートからは、パルス信号がハイレベル信号
“1”であるときハイレベル信号“1”となる論理積出
力が得られ、出力としてパルス信号の信号状態を変化さ
せない。
According to the configuration shown in FIG.
The digital audio signal converted into the pulse signal by the analog converter 12 is applied to logic gates 13a, 13b # 13.
The pulse-converted audio signal is output only from the logic gate to which the high-level signal “1” is supplied as the gain setting signal. That is, the low level signal “0” is used as the gain setting signal.
Is always a low level signal "0" regardless of the state of the pulse signal supplied from the digital / analog converter 12 side. And
From the logic gate to which the high-level signal “1” is supplied as the gain setting signal, a logical product output that becomes the high-level signal “1” when the pulse signal is the high-level signal “1” is obtained. Do not change the signal state of the signal.

【0013】従って、ゲイン設定信号としてハイレベル
信号“1”が供給されている論理ゲートに接続された抵
抗器(抵抗器20a,20b‥‥20iの何れか)を介
して、パルス信号化されたオーディオ信号が演算増幅器
21側に供給されるようになり、この接続された抵抗器
の抵抗値に応じてパルス信号のレベル(即ちハイレベル
信号“1”の電位)が調整される。このため、ローパス
フィルタ23で平均化されて得られるオーディオ信号
は、ゲインが接続された抵抗器の抵抗値に応じて変化
し、ゲイン設定信号により接続させる抵抗器を選定する
ことで、ゲイン調整を行うことができる。
Therefore, the signal is converted into a pulse signal via a resistor (either of the resistors 20a, 20b # 20i) connected to the logic gate to which the high level signal "1" is supplied as the gain setting signal. The audio signal is supplied to the operational amplifier 21 side, and the level of the pulse signal (that is, the potential of the high-level signal “1”) is adjusted according to the resistance value of the connected resistor. For this reason, the audio signal obtained by averaging by the low-pass filter 23 changes according to the resistance value of the connected resistor, and the gain adjustment is performed by selecting the resistor to be connected by the gain setting signal. It can be carried out.

【0014】このようにして行われるゲイン調整は、1
ビットデジタル/アナログ変換器12の出力パルスのレ
ベル調整を行うだけであり、抵抗器の切換え自体も論理
ゲートによる論理演算で行われ、ゲインの調整により歪
率が変化することがなく、出力端子24に良好なアナロ
グオーディオ信号が得られる。
The gain adjustment performed in this manner is 1
Only the level adjustment of the output pulse of the bit digital / analog converter 12 is performed, and the switching of the resistor itself is also performed by the logical operation by the logic gate, and the distortion is not changed by the adjustment of the gain. A good analog audio signal can be obtained.

【0015】[0015]

【発明が解決しようとする課題】ところが、このような
ゲイン調整装置では、出力端子24に得られるアナログ
オーディオ信号の直流レベルが、ゲイン調整時に急激に
変動する不都合があった。即ち、論理ゲート13a,1
3b‥‥13iの出力状態により、抵抗器の接続状態を
変化させると、演算増幅器21の出力レベルが変化して
しまう。従って、ゲイン調整が行われることで、アナロ
グオーディオ信号の直流レベルが変動し、このレベル変
動がクリック音などのノイズになってしまう。
However, such a gain adjusting device has a disadvantage that the DC level of the analog audio signal obtained at the output terminal 24 fluctuates rapidly during the gain adjustment. That is, the logic gates 13a, 1
When the connection state of the resistor is changed according to the output state of 3b ‥‥ 13i, the output level of the operational amplifier 21 changes. Therefore, when the gain is adjusted, the DC level of the analog audio signal fluctuates, and this level fluctuation becomes noise such as a click sound.

【0016】本発明はかかる点に鑑み、この種のゲイン
可変装置において、ゲイン調整時のクリック音などのノ
イズ発生を抑えることを目的とする。
In view of the foregoing, an object of the present invention is to suppress generation of noise such as a click sound at the time of gain adjustment in such a variable gain device.

【0017】[0017]

【課題を解決するための手段】本発明は、例えば図1に
示すように、デジタル入力信号に対応して出力パルスの
数又は幅が変化するノイズシェーピング回路32,PW
M波発生回路33の出力ゲインを変化させるデジタルゲ
イン可変装置において、ノイズシェーピング回路32,
PWM波発生回路33の出力を複数の選択手段41a〜
44a,41b〜44b‥‥41i〜44iの一方の入
力部に供給し、デューティ50%のパルスを複数の選択
手段41a〜44a,41b〜44b‥‥41i〜44
iの他方の入力部に供給し、各選択手段41a〜44
a,41b〜44b‥‥41i〜44iの選択出力を、
バッファ45a,45b‥‥45iとそれぞれ定数が異
なる抵抗46a,46b‥‥46iとの直列回路に供給
し、このそれぞれの抵抗46a,46b‥‥46iの出
力を演算増幅器47に供給し、この演算増幅器47の増
幅出力をローパスフィルタ49に供給して、このローパ
スフィルタ49の出力よりアナログ出力信号を得ると共
に、選択手段41a〜44a,41b〜44b‥‥41
i〜44iでの出力の選択により、アナログ出力信号の
ゲイン調整を行うようにしたものである。
According to the present invention, as shown in FIG. 1, for example, a noise shaping circuit 32, PW, in which the number or width of output pulses changes in response to a digital input signal.
In a digital gain variable device that changes the output gain of the M wave generation circuit 33, the noise shaping circuit 32,
The output of the PWM wave generating circuit 33 is output to a plurality of selecting means 41a to 41d.
44a, 41b to 44b are supplied to one of the input sections of 41i to 44i, and a pulse having a duty of 50% is supplied to a plurality of selecting means 41a to 44a, 41b to 44b.
i to the other input unit, and each of the selecting means 41a-44
a, 41b-44b ‥‥ Selected output of 41i-44i,
A buffer 45a, 45b # 45i and a resistor 46a, 46b # 46i having different constants are supplied to a series circuit, and outputs of the respective resistors 46a, 46b # 46i are supplied to an operational amplifier 47. The amplified output of the low-pass filter 49 is supplied to a low-pass filter 49 to obtain an analog output signal from the output of the low-pass filter 49, and the selection means 41a to 44a, 41b to 44b ‥‥ 41
The gain of the analog output signal is adjusted by selecting the outputs i to 44i.

【0018】[0018]

【作用】このようにしたことで、ゲイン調整量が何れの
状態でも、各選択手段側からバッファと抵抗との直列回
路を介して演算増幅器に供給されるデータが、クロック
に同期したパルスになり、ゲイン調整量の切換えがあっ
ても、アナログ的な平均レベルに急激な変動が生じな
い。
With this arrangement, the data supplied from each selector to the operational amplifier via the series circuit of the buffer and the resistor becomes a pulse synchronized with the clock regardless of the gain adjustment amount. Even if the gain adjustment amount is switched, no sharp fluctuation occurs in the analog average level.

【0019】[0019]

【実施例】以下、本発明の一実施例を、図1及び図2を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0020】図1において、31はデジタルオーディオ
信号入力端子を示し、このデジタルオーディオ信号入力
端子31に得られるデジタルオーディオ信号を、1ビッ
ト方式のデジタル/アナログ変換器を構成するノイズシ
ェーピング回路32に供給し、このノイズシェーピング
回路32でオーバーサンプリングやビット圧縮などの処
理が行われたデジタルオーディオデータをPWM波生成
回路33に供給する。そして、このPWM波生成回路3
3で1ビット系統のPWM波に変換し、このPWM波を
PWM波生成回路33の出力とする。このPWM波生成
回路33には、クロック供給端子34に得られるクロッ
クを供給する。
In FIG. 1, reference numeral 31 denotes a digital audio signal input terminal, and a digital audio signal obtained at the digital audio signal input terminal 31 is supplied to a noise shaping circuit 32 constituting a 1-bit digital / analog converter. Then, the digital audio data subjected to the processing such as oversampling and bit compression by the noise shaping circuit 32 is supplied to the PWM wave generation circuit 33. Then, this PWM wave generation circuit 3
In step 3, the PWM wave is converted into a 1-bit PWM wave, and this PWM wave is used as an output of the PWM wave generation circuit 33. A clock obtained at a clock supply terminal 34 is supplied to the PWM wave generation circuit 33.

【0021】また、35はデューティ50%パルス生成
回路を示し、このデューティ50%パルス生成回路35
にも、クロック供給端子34に得られるクロックを供給
する。そして、このデューティ50%パルス生成回路3
5で、デューティ50%のパルスを生成させる。このと
きには、PWM波生成回路33とデューティ50%パル
ス生成回路35とに同じクロックが供給されるので、同
じ周期のパルスが両回路33,35から出力される。
Reference numeral 35 denotes a 50% duty pulse generation circuit.
Also, the clock obtained at the clock supply terminal 34 is supplied. The 50% duty pulse generation circuit 3
In step 5, a pulse having a duty of 50% is generated. At this time, since the same clock is supplied to the PWM wave generation circuit 33 and the 50% duty pulse generation circuit 35, pulses having the same cycle are output from both circuits 33 and 35.

【0022】そして、PWM波生成回路33が出力する
PWM波を、複数のANDゲート41a,41b‥‥4
1i(iは不特定の整数,以下同じ)の一方の入力端に
供給する。また、デューティ50%パルス生成回路35
が出力するデューティ50%のパルスを、複数のAND
ゲート42a,42b‥‥42iの一方の入力端に供給
する。
The PWM wave output from the PWM wave generating circuit 33 is output to a plurality of AND gates 41a, 41b # 4.
1i (i is an unspecified integer, the same applies hereinafter) to one input terminal. Also, a 50% duty pulse generation circuit 35
Output a pulse with a duty of 50%
The gates 42a, 42b are supplied to one input terminal of 42i.

【0023】また、37a,37b‥‥37iはゲイン
設定データ入力端子を示し、このオーディオ機器の中央
制御装置(図示せず)からiビット系列のゲイン設定デ
ータが供給される端子で、このゲイン設定データ入力端
子37a,37b‥‥37iに得られるゲイン設定デー
タを、Dフリップフロップ36に供給する。このDフリ
ップフロップ36には、クロック供給端子34からクロ
ックが供給される。従って、ゲイン設定データは、Dフ
リップフロップ36でクロックに同期して変化するデー
タとされる。
Reference numerals 37a, 37b and 37i denote gain setting data input terminals to which i-bit series gain setting data is supplied from a central control unit (not shown) of the audio equipment. The gain setting data obtained at the data input terminals 37a, 37b # 37i is supplied to the D flip-flop 36. A clock is supplied to the D flip-flop 36 from the clock supply terminal 34. Therefore, the gain setting data is changed by the D flip-flop 36 in synchronization with the clock.

【0024】そして、このDフリップフロップ36が出
力するiビット系列のゲイン設定データを、各ビット系
列毎にそれぞれ別のANDゲート41a,41b‥‥4
1i,42a,42b‥‥42iに供給する。例えば、
端子37aに得られるビット系列のゲイン設定データ
を、ANDゲート41a及び42aの他方の入力端に供
給し、端子37bに得られるビット系列のゲイン設定デ
ータを、ANDゲート41b及び42bの他方の入力端
に供給する。この場合、各ANDゲート42a,42b
‥‥42iには、ゲイン設定データを反転させて供給す
る。そして、各ANDゲート41a,41b‥‥41i
の論理積出力と、各ANDゲート42a,42b‥‥4
2iの論理積出力とを、それぞれ別のORゲート43
a,43b‥‥43iの一方及び他方の入力端に供給す
る。
Then, the gain setting data of the i-bit sequence output from the D flip-flop 36 is divided into separate AND gates 41a, 41b # 4 for each bit sequence.
1i, 42a, 42b ‥‥ supplied to 42i. For example,
The bit sequence gain setting data obtained at the terminal 37a is supplied to the other input terminals of the AND gates 41a and 42a, and the bit sequence gain setting data obtained at the terminal 37b is supplied to the other input terminals of the AND gates 41b and 42b. To supply. In this case, each AND gate 42a, 42b
# 42i is supplied with inverted gain setting data. And each AND gate 41a, 41ba41i
AND output of each AND gate 42a, 42b # 4
The logical product output of 2i and the OR gate 43
a, 43b ‥‥ 43i are supplied to one and the other input terminals.

【0025】このようにANDゲート41a,41b‥
‥41i,42a,42b‥‥42iとORゲート43
a,43b‥‥43iとが接続されていることで、各O
Rゲート43a,43b‥‥43iの2入力端の何れか
一方にだけ、データが供給される選択手段が構成され
る。この場合、Dフリップフロップ36側から供給され
るゲイン設定データの状態により、供給されるデータが
選択される。即ち、ゲイン設定データに応じて、PWM
波生成回路33が出力するPWM波と、デューティ50
%パルス生成回路35が出力するデューティ50%のパ
ルスとの、何れか一方が各ORゲート43a,43b‥
‥43iに供給され、この供給されるパルスをそのまま
出力する。
As described above, AND gates 41a and 41b #
{41i, 42a, 42b} 42i and OR gate 43
a, 43b ‥‥ 43i are connected, so that each O
A selection means for supplying data to only one of the two input terminals of the R gates 43a, 43b # 43i is configured. In this case, the supplied data is selected according to the state of the gain setting data supplied from the D flip-flop 36 side. That is, according to the gain setting data, the PWM
The PWM wave output from the wave generation circuit 33 and the duty 50
Either of the 50% duty pulse output from the% pulse generation circuit 35 and the OR gate 43a, 43b
# 43i, and the supplied pulse is output as it is.

【0026】そして、各ORゲート43a,43b‥‥
43iの論理和出力を、それぞれ別のDフリップフロッ
プ44a,44b‥‥44iに供給する。この各Dフリ
ップフロップ44a,44b‥‥44iには、端子38
からマスタークロックが供給され、このマスタークロッ
クに同期したパルスに波形整形される。
Then, each OR gate 43a, 43b #
The OR output of 43i is supplied to separate D flip-flops 44a, 44b # 44i. Each of the D flip-flops 44a, 44b # 44i has a terminal 38
Supplies a master clock, and the waveform is shaped into a pulse synchronized with the master clock.

【0027】そして、各Dフリップフロップ44a,4
4b‥‥44iの出力を、それぞれ別のバッファ回路4
5a,45b‥‥45iと抵抗器46a,46b‥‥4
6iとの直列回路に供給する。この場合、各直列回路を
構成するバッファ回路45a,45b‥‥45iと抵抗
器46a,46b‥‥46iとの定数は、変えておく。
そして、抵抗器46a,46b‥‥46iの出力を、演
算増幅器47の反転側入力端子−に供給し、この演算増
幅器47の非反転側入力端子+を接地する。さらに、演
算増幅器47の反転側入力端子−と出力端子とを、抵抗
器48により接続する。このようにして演算増幅器47
を臨む回路が構成されることで、電流加算が行われる。
Then, each of the D flip-flops 44a, 44
4b ‥‥ 44i are output to separate buffer circuits 4
5a, 45b ‥‥ 45i and resistors 46a, 46b ‥‥ 4
6i. In this case, the constants of the buffer circuits 45a, 45b # 45i and the resistors 46a, 46b # 46i constituting each series circuit are changed.
Then, the outputs of the resistors 46a, 46b # 46i are supplied to the inverting input terminal-of the operational amplifier 47, and the non-inverting input terminal + of the operational amplifier 47 is grounded. Furthermore, the inverting input terminal − and the output terminal of the operational amplifier 47 are connected by a resistor 48. Thus, the operational amplifier 47
, The current addition is performed.

【0028】そして、演算増幅器47で電流加算された
出力を、ローパスフィルタ49に供給して平均化し、平
均化された出力をアナログオーディオ信号出力端子50
に供給する。
The output obtained by adding the current by the operational amplifier 47 is supplied to a low-pass filter 49 and averaged. The averaged output is output to an analog audio signal output terminal 50.
To supply.

【0029】次に、このように構成される回路の動作
を、図2のタイミング図を参照して説明する。ここで
は、説明を簡単にするために、バッファ回路45a,4
5b‥‥45iと抵抗器46a,46b‥‥46iとの
直列回路を3系統だけ用意し、この3系統の回路のゲイ
ン調整データによる選択でゲイン調整が行われるとす
る。従って、ここでは図1に実際に示す回路(バッファ
回路45a,45b,45i,抵抗器46a,46b,
46iなど)だけが用意され、バッファ回路45aと抵
抗器46aによる回路を第1の回路系とし、バッファ回
路45bと抵抗器46bによる回路を第2の回路系と
し、バッファ回路45iと抵抗器46iによる回路を第
3の回路系とする。そして、この3系統の回路の選択に
より、アッティネート量として1/7,2/7,3/
7,4/7,5/7,6/7,7/7の7段階のゲイン
調整ができるとする。即ち、第1の回路系で4/7のア
ッティネートを行うようにバッファ回路45aと抵抗器
46aの定数を選定し、第2の回路系で2/7のアッテ
ィネートを行うようにバッファ回路45bと抵抗器46
bの定数を選定し、第3の回路系で1/7のアッティネ
ートを行うようにバッファ回路45iと抵抗器46iの
定数を選定する。
Next, the operation of the circuit thus configured will be described with reference to the timing chart of FIG. Here, in order to simplify the explanation, the buffer circuits 45a, 4
It is assumed that only three series circuits of 5b @ 45i and resistors 46a, 46b # 46i are prepared, and the gain adjustment is performed by selecting the three circuits using the gain adjustment data. Accordingly, here, the circuits (buffer circuits 45a, 45b, 45i, resistors 46a, 46b,
46i) is prepared, a circuit including the buffer circuit 45a and the resistor 46a is used as a first circuit system, a circuit including the buffer circuit 45b and the resistor 46b is used as a second circuit system, and a circuit including the buffer circuit 45i and the resistor 46i is used. The circuit is a third circuit system. By selecting these three circuits, the amount of attenuation is 1/7, 2/7, 3 /
It is assumed that the gain can be adjusted in seven steps of 7, 4/7, 5/7, 6/7, and 7/7. That is, the constants of the buffer circuit 45a and the resistor 46a are selected so as to perform the 4/7 attenuation in the first circuit system, and the buffer circuit 45b and the resistor are controlled so that the 2/7 attenuation is performed in the second circuit system. Table 46
The constant of b is selected, and the constants of the buffer circuit 45i and the resistor 46i are selected so as to perform 1/7 attenuation in the third circuit system.

【0030】このように各回路系の定数を選択すること
で、全ての回路系を選択したとき、(4/7)+(2/
7)+(1/7)=7/7=1となり、また何れか1組
又は2組の回路系の選択により1/7〜6/7のアッテ
ィネート量が選択できる。さらに、何れの回路系も選択
しない場合、出力状態が無信号0となる。
By selecting the constants of each circuit system in this manner, when all the circuit systems are selected, (4/7) + (2 /
7) + (1/7) = 7/7 = 1, and an attenuation amount of 1/7 to 6/7 can be selected by selecting any one or two circuit systems. Further, when no circuit system is selected, the output state becomes no signal 0.

【0031】次に、このようなゲイン調整データによる
回路系の選択に応じた出力データの変化を、図2を参照
して説明すると、まず端子34に得られるPWM変調用
のクロックとして、図2のAに示すパルスが得られたと
する。そして、PWM波生成回路33の出力として、図
2のBに示すパルスデータが得られたとする。このPW
M変調波は、デューティ50%を基準0にして、デュー
ティの変化で−3,−2,−1,0,+1,+2,+3
の7段階に変化する1ビットデータである。また、デュ
ーティ50%パルス生成回路35の出力として、このP
WM変調波が基準0レベルの場合と同じデューティ50
%のパルスが図2のCに示すように得られる。
Next, the change of the output data according to the selection of the circuit system based on the gain adjustment data will be described with reference to FIG. 2. First, as a PWM modulation clock obtained at the terminal 34, FIG. It is assumed that a pulse indicated by A in FIG. Then, it is assumed that the pulse data shown in FIG. 2B is obtained as the output of the PWM wave generation circuit 33. This PW
The M-modulated wave has a duty cycle of -3, -2, -1, 0, +1, +2, +3 with a duty of 50% as a reference 0.
Is one-bit data that changes in seven stages. The output of the pulse generation circuit 35 with a duty of 50%
Duty 50 which is the same as when the WM modulation wave is at the reference 0 level
% Pulses are obtained as shown in FIG.

【0032】そして、上述したように、ここでは3系統
の回路の選択によりゲイン調整が行われるので、入力端
子37a〜37iに得られるゲイン設定データとして、
3ビットのデータとされ、それぞれのビット系列のデー
タで第1〜第3の回路系の選択が行われる。ここで、入
力端子37aに得られるゲイン設定データをアッティネ
ートデータ1(図2のDに示すATT1)、入力端子3
7bに得られるゲイン設定データをアッティネートデー
タ2(図2のEに示すATT2)、入力端子37iに得
られるゲイン設定データをアッティネートデータ3(図
2のFに示すATT3)とする。
As described above, since the gain is adjusted by selecting three circuits, the gain setting data obtained at the input terminals 37a to 37i is
The data is 3-bit data, and the first to third circuit systems are selected based on the data of each bit series. Here, the gain setting data obtained at the input terminal 37a is referred to as attenuation data 1 (ATT1 shown in FIG.
The gain setting data obtained at 7b is referred to as attenuation data 2 (ATT2 shown in FIG. 2E), and the gain setting data obtained at the input terminal 37i is referred to as attenuation data 3 (ATT3 shown at F in FIG. 2).

【0033】このとき、このそれぞれのアッティネート
データ1,2,3は、Dフリップフロップ36でPWM
変調用のクロックに同期して変化するデータとされ、図
2のG,H,Iに示すデータ1,2,3となる。
At this time, each of the attenuate data 1, 2, 3 is subjected to PWM by the D flip-flop 36.
The data changes in synchronization with the modulation clock, and becomes data 1, 2, and 3 shown in G, H, and I in FIG.

【0034】そして、最初にアッティネート量(ATT
量)として5/7を選択すると、この5/7のアッティ
ネート量は、第1の回路系による4/7のアッティネー
ト量と、第3の回路系による1/7のアッティネート量
との加算(即ち〔4/7〕+〔1/7〕)により得られ
る。従って、アッティネートデータ1,2,3により、
第1の回路系と第3の回路系とが選択される。即ち、ア
ッティネートデータ1とアッティネートデータ3とがハ
イレベル信号“1”になり、アッティネートデータ2が
ローレベル信号“0”になる。この信号状態により、第
1の回路系のANDゲート41aと第3の回路系のAN
Dゲート41iとの他方の入力端に、ハイレベル信号
“1”が供給されるようになり、この各ANDゲート4
1a,41iの一方の入力端に供給されるPWM波がそ
のまま出力されるようになる。また、第2の回路系のA
NDゲート42bの他方の入力端に、ローレベル信号
“0”が反転されたハイレベル信号“1”が供給され、
デューティ50%パルス生成回路35からANDゲート
42bの一方の入力端に供給されるデューティ50%の
パルスが、そのまま出力されるようになる。
Then, first, the amount of the attenuate (ATT
When 5/7 is selected as the amount, the 5/7 attenuation amount is obtained by adding the 4/7 attenuation amount by the first circuit system and the 1/7 attenuation amount by the third circuit system (that is, the addition amount). [4/7] + [1/7]). Therefore, according to the attached data 1, 2, 3,
The first circuit system and the third circuit system are selected. That is, the attenuation data 1 and the attenuation data 3 become the high level signal “1”, and the attenuation data 2 become the low level signal “0”. According to this signal state, the AND gate 41a of the first circuit system and the AND gate 41a of the third circuit system
A high level signal "1" is supplied to the other input terminal of the D gate 41i.
The PWM wave supplied to one of the input terminals 1a and 41i is output as it is. Also, A of the second circuit system
A high-level signal “1” obtained by inverting the low-level signal “0” is supplied to the other input terminal of the ND gate 42b.
A 50% duty pulse supplied from the 50% duty pulse generation circuit 35 to one input terminal of the AND gate 42b is output as it is.

【0035】従って、第1の回路系を構成するバッファ
回路45a,抵抗器46aと、第3の回路系を構成する
バッファ回路45i,抵抗器46iとには、図2のJ及
びLに示すように、PWM波生成回路33が出力するP
WM波がそのまま供給される。また、第2の回路系を構
成するバッファ回路45b,抵抗器46bには、図2の
Kに示すように、デューティ50%パルス生成回路35
が出力するデューティ50%のパルスが供給される。
Accordingly, the buffer circuit 45a and the resistor 46a constituting the first circuit system and the buffer circuit 45i and the resistor 46i constituting the third circuit system are provided as shown in J and L of FIG. At the output of the PWM wave generation circuit 33
The WM wave is supplied as it is. The buffer circuit 45b and the resistor 46b constituting the second circuit system have a 50% duty pulse generation circuit 35 as shown in FIG.
Are supplied with a 50% duty pulse.

【0036】この状態では、演算増幅器47の増幅出力
として、第1の回路系を通過したPWM波と、第2の回
路系を通過したデューティ50%のパルスと、第3の回
路系を通過したPWM波とが加算されて電流増幅された
信号が得られる。従って、アッティネート量5/7のP
WM波が演算増幅器47から出力され、ローパスフィル
タ49での平滑化により、出力端子50に5/7にアッ
ティネートされたアナログオーディオ信号が得られる。
この場合、第2の回路系を通過したデータはデューティ
50%のパルスであるので、0データに相当するパルス
であり、演算増幅器47の出力に影響を及ぼさない。
In this state, as the amplified output of the operational amplifier 47, the PWM wave having passed through the first circuit system, the pulse having a duty of 50% having passed through the second circuit system, and the pulse having passed through the third circuit system. The PWM wave is added to obtain a current-amplified signal. Therefore, the amount of P
The WM wave is output from the operational amplifier 47, and the analog audio signal attenuated to the output terminal 50 by 5/7 is obtained by the smoothing by the low-pass filter 49.
In this case, since the data that has passed through the second circuit system is a pulse with a duty of 50%, it is a pulse corresponding to 0 data and does not affect the output of the operational amplifier 47.

【0037】そして次に、図2のタイミング図のほぼ中
央部に示すように、アッティネート量として1/7を選
択したとすると、この1/7のアッティネート量は、第
3の回路系による1/7のアッティネート量だけで得ら
れる。従って、アッティネート量5/7からアッティネ
ート量1/7への変化は、アッティネートデータ1のハ
イレベル信号“1”からローレベル信号“0”への変化
で得られる。このような変化で、第3の回路系のAND
ゲート41iの他方の入力端だけに、ハイレベル信号
“1”が供給されるようになり、この各ANDゲート4
1iの一方の入力端に供給されるPWM波がそのまま出
力されるようになる。また、第1及び第2の回路系のA
NDゲート42a,42bの他方の入力端に、ローレベ
ル信号“0”が反転されたハイレベル信号“1”が供給
され、デューティ50%パルス生成回路35からAND
ゲート42a,42bの一方の入力端に供給されるデュ
ーティ50%のパルスが、そのまま出力されるようにな
る。
Next, as shown in the approximate center of the timing chart of FIG. 2, if 1/7 is selected as the amount of attenuation, the amount of attenuation of 1/7 is reduced by 1/3 by the third circuit system. It is obtained only with an amount of 7 of attenuate. Therefore, the change from the amount of attenuation 5/7 to the amount of attenuation 1/7 is obtained by the change of the attenuation data 1 from the high-level signal "1" to the low-level signal "0". Due to such a change, AND of the third circuit system
The high-level signal "1" is supplied only to the other input terminal of the gate 41i.
The PWM wave supplied to one input terminal 1i is output as it is. Also, A of the first and second circuit systems
A high-level signal "1" obtained by inverting the low-level signal "0" is supplied to the other input terminals of the ND gates 42a and 42b.
A 50% duty pulse supplied to one input terminal of the gates 42a and 42b is output as it is.

【0038】この状態では、演算増幅器47の増幅出力
として、第1及び第2の回路系を通過したデューティ5
0%のパルスと、第3の回路系を通過したPWM波とが
加算されて電流増幅された信号が得られる。従って、ア
ッティネート量1/7のPWM波が演算増幅器47から
出力され、ローパスフィルタ49での平滑化により、出
力端子50に1/7にアッティネートされたアナログオ
ーディオ信号が得られる。この場合にも、第1及び第2
の回路系を通過したデータはデューティ50%のパルス
であるので、0データに相当するパルスであり、演算増
幅器47の出力に影響を及ぼさない。
In this state, as the amplified output of the operational amplifier 47, the duty 5 that has passed through the first and second circuit systems
The 0% pulse and the PWM wave that has passed through the third circuit system are added to obtain a current-amplified signal. Accordingly, a PWM wave having an attenuation amount of 1/7 is output from the operational amplifier 47, and an analog audio signal attenuated to 1/7 at the output terminal 50 is obtained by smoothing with the low-pass filter 49. Also in this case, the first and second
Is a pulse with a duty of 50%, it is a pulse corresponding to 0 data, and does not affect the output of the operational amplifier 47.

【0039】さらに、図2のタイミング図の右側に示す
ように、アッティネート量として6/7を選択したとす
ると、この6/7のアッティネート量は、第1の回路系
による4/7のアッティネート量と、第2の回路系によ
る2/7のアッティネート量との加算で得られる。従っ
て、アッティネート量1/7からアッティネート量6/
7への変化は、アッティネートデータ1及び2のローレ
ベル信号“0”からハイレベル信号“1”への変化と、
アッティネートデータ3のハイレベル信号“1”からロ
ーレベル信号“0”への変化で得られる。このような変
化で、第1及び第2の回路系のANDゲート41a,4
1bの他方の入力端に、ハイレベル信号“1”が供給さ
れるようになり、この各ANDゲート41a,41bの
一方の入力端に供給されるPWM波がそのまま出力され
るようになる。また、第3の回路系のANDゲート42
iの他方の入力端に、ローレベル信号“0”が反転され
たハイレベル信号“1”が供給され、デューティ50%
パルス生成回路35からANDゲート42iの一方の入
力端に供給されるデューティ50%のパルスが、そのま
ま出力されるようになる。
Further, assuming that 6/7 is selected as the amount of attenuation, as shown on the right side of the timing chart of FIG. 2, the amount of attenuation of 6/7 is the amount of attenuation of 4/7 by the first circuit system. And the amount of attenuation of 2/7 by the second circuit system. Therefore, the amount of the attenuate is reduced from 1/7 to 6 /
The change to 7 is a change from low level signal “0” of the attach data 1 and 2 to high level signal “1”,
It is obtained by a change from the high level signal “1” of the attenuation data 3 to the low level signal “0”. With such a change, the AND gates 41a and 41a of the first and second circuit systems
The high-level signal "1" is supplied to the other input terminal of 1b, and the PWM wave supplied to one input terminal of each of the AND gates 41a and 41b is output as it is. Further, the AND gate 42 of the third circuit system
A high-level signal “1” obtained by inverting the low-level signal “0” is supplied to the other input terminal of the i.
A pulse with a duty of 50% supplied from the pulse generation circuit 35 to one input terminal of the AND gate 42i is output as it is.

【0040】この状態では、演算増幅器47の増幅出力
として、第1及び第2の回路系を通過したPWM波と、
第3の回路系を通過したデューティ50%のパルスとが
加算されて電流増幅された信号が得られる。従って、ア
ッティネート量6/7のPWM波が演算増幅器47から
出力され、ローパスフィルタ49での平滑化により、出
力端子50に6/7にアッティネートされたアナログオ
ーディオ信号が得られる。この場合にも、第3の回路系
を通過したデータはデューティ50%のパルスであるの
で、0データに相当するパルスであり、演算増幅器47
の出力に影響を及ぼさない。
In this state, as the amplified output of the operational amplifier 47, the PWM wave passing through the first and second circuit systems,
A pulse having a duty of 50% that has passed through the third circuit system is added to obtain a current-amplified signal. Accordingly, a PWM wave having an attenuation amount of 6/7 is output from the operational amplifier 47, and an analog audio signal attenuated to 6/7 at the output terminal 50 is obtained by smoothing with the low-pass filter 49. Also in this case, since the data that has passed through the third circuit system is a pulse with a duty of 50%, it is a pulse corresponding to 0 data,
Does not affect the output of.

【0041】このように本例の回路によると、アッティ
ネートデータ1,2,3の状態により、1/7〜7/7
のアッティネート量を自由に選択することが出来る。ま
た、アッティネートデータ1,2,3として、全てロー
レベル信号“0”として、全ての回路系でデューティ5
0%のパルスを通過させることで、0データに相当する
パルスを演算増幅器47から出力させて無音状態とする
こともできる。このようなアッティネート量の調整は、
デジタルオーディオデータであるPWM波の精度を落と
さずに処理されるので、デジタルオーディオデータのダ
イナミックレンジが損なわれることがない。
As described above, according to the circuit of this embodiment, depending on the state of the attach data 1, 2, and 3, 1/7 to 7/7
Can be freely selected. In addition, all the low level signals “0” are used as the attenuation data 1, 2, 3, and the duty 5
By passing 0% of the pulse, a pulse corresponding to 0 data can be output from the operational amplifier 47 to make a silent state. Such adjustment of the amount of attenuate
Since the processing is performed without lowering the precision of the PWM wave which is digital audio data, the dynamic range of the digital audio data is not impaired.

【0042】そして、アッティネート量の調整(即ちゲ
イン調整)を行う場合に、PWM波を通過させる必要の
ない回路系に、0データに相当するデューティ50%の
パルスを通過させるようにしたので、アッティネート量
が変化しても、演算増幅器47に供給される信号の平均
レベルに急激な変動が発生しない。従って、ゲイン調整
時の、直流レベルの急激な変動によるクリック音の発生
が阻止される。また、本例のアッティネート処理は、ア
ナログ的に特性を劣化させることがなく、出力端子50
から出力されるアナログオーディオ信号が劣化すること
がない。
When adjusting the amount of attenuation (that is, gain adjustment), a pulse having a duty of 50% corresponding to 0 data is passed through a circuit system that does not need to pass a PWM wave. Even if the amount changes, no sharp fluctuation occurs in the average level of the signal supplied to the operational amplifier 47. Therefore, generation of a click sound due to a sudden change in the DC level during gain adjustment is prevented. Further, the attenuating process of the present embodiment does not degrade characteristics in an analog manner,
There is no deterioration of the analog audio signal output from.

【0043】なお、図2に示した例では第1〜第2の回
路系の設定により、7段階にアッティネート量を調整す
る場合について説明したが、回路系の系統数を増やすこ
とで、より細かくゲイン調整が可能になる。
In the example shown in FIG. 2, the case where the amount of attenuation is adjusted in seven stages by setting the first and second circuit systems has been described. Gain adjustment becomes possible.

【0044】また、上述実施例ではパルス幅変調(PW
M)が行われる1ビット方式のデジタル/アナログ変換
器に適用したが、他の変調方式(パルス数変調など)の
1ビット方式のデジタル/アナログ変換器にも適用でき
る。
In the above embodiment, the pulse width modulation (PW
Although the present invention is applied to a 1-bit digital / analog converter in which M) is performed, the present invention can be applied to a 1-bit digital / analog converter of another modulation method (such as pulse number modulation).

【0045】[0045]

【発明の効果】本発明のゲイン可変装置によると、ゲイ
ン調整量が何れの状態でも、各選択手段側からバッファ
と抵抗との直列回路を介して演算増幅器に供給されるデ
ータが、クロックに同期したパルスになり、ゲイン調整
量の切換えがあっても、アナログ的な平均レベルに急激
な変動が生じず、ゲイン調整時のクリック音の発生が阻
止される。
According to the gain varying device of the present invention, data supplied to the operational amplifier from each selector through the series circuit of the buffer and the resistor is synchronized with the clock regardless of the gain adjustment amount. Thus, even if the gain adjustment amount is switched, no sudden change occurs in the analog average level, and generation of a click sound during gain adjustment is prevented.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】一実施例の説明に供するタイミング図である。FIG. 2 is a timing chart for explaining one embodiment;

【図3】従来のゲイン可変装置の一例を示す構成図であ
る。
FIG. 3 is a configuration diagram illustrating an example of a conventional variable gain device.

【図4】従来のゲイン可変装置の一例を示す構成図であ
る。
FIG. 4 is a configuration diagram illustrating an example of a conventional variable gain device.

【図5】従来のゲイン可変装置の一例を示す構成図であ
る。
FIG. 5 is a configuration diagram illustrating an example of a conventional variable gain device.

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

31 デジタルオーディオ信号入力端子 32 ノイズシェーピング回路 33 PWM波生成回路 34 クロック入力端子 35 デューティ50%パルス生成回路 37a,37b‥‥37i ゲイン設定データ入力端子 41a,41b‥‥41i ANDゲート 42a,42b‥‥42i ANDゲート 43a,43b‥‥43i ORゲート 44a,44b‥‥44i Dフリップフロップ 45a,45b‥‥45i バッファ回路 46a,46b‥‥46i 抵抗器 47 演算増幅器 49 ローパスフィルタ 50 アナログオーディオ信号出力端子 31 Digital audio signal input terminal 32 Noise shaping circuit 33 PWM wave generation circuit 34 Clock input terminal 35 Duty 50% pulse generation circuit 37a, 37b {37i Gain setting data input terminal 41a, 41b {41i AND gate 42a, 42b} 42i AND gate 43a, 43b ‥‥ 43i OR gate 44a, 44b ‥‥ 44i D flip-flop 45a, 45b ‥‥ 45i Buffer circuit 46a, 46b ‥‥ 46i Resistor 47 Operational amplifier 49 Low-pass filter 50 Analog audio signal output terminal

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 1/00 - 1/88 H03G 1/00 - 3/34 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) H03M 1/00-1/88 H03G 1/00-3/34

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の選択手段と、 入力されたデジタル信号を1ビット方式のパルス信号に
変換して出力するとともに、上記複数の選択手段を構成
する各選択手段のそれぞれの一方の入力端子に上記変換
された1ビット方式のパルス信号を供給するパルス信号
変換手段と、 上記1ビット方式のパルス信号におけるゼロデータを意
味するパルス信号を発生するとともに、上記複数の選択
手段を構成する各選択手段のそれぞれの他方の入力端子
に上記ゼロデータを意味するパルス信号を供給するパル
ス信号発生手段と、 上記複数の選択手段の各選択出力が供給される複数のバ
ッファ手段と、 上記複数のバッファ手段からの出力が供給され、それぞ
れ異なる定数を有する複数の減衰手段と、 上記複数の減衰手段からの出力がすべて供給され、上記
それぞれ異なる定数に応じて増幅率が可変される演算増
幅器と、 上記演算増幅器からの出力が供給され、アナログ信号を
出力するローパスフィルタと、 上記演算増幅器における増幅率を可変するために上記複
数の選択手段の各選択出力を制御する制御手段とからな
るデジタルゲイン可変装置。
1. A plurality of selecting means, and converts an input digital signal into a 1-bit pulse signal and outputs the signal. One input terminal of each of the plurality of selecting means is connected to one input terminal of each of the plurality of selecting means. Pulse signal conversion means for supplying the converted 1-bit pulse signal; and each selection means for generating a pulse signal representing zero data in the 1-bit pulse signal and constituting the plurality of selection means. A pulse signal generating means for supplying a pulse signal representing the zero data to the other input terminal of each of the plurality of buffer means; a plurality of buffer means to which each selected output of the plurality of selecting means is supplied; and a plurality of buffer means. A plurality of attenuating means having different constants, and all outputs from the plurality of attenuating means are provided, and An operational amplifier whose amplification factor is varied according to different constants; a low-pass filter to which an output from the operational amplifier is supplied to output an analog signal; And a control means for controlling each selection output of the selection means.
【請求項2】 上記パルス信号発生手段の出力するパル
ス信号は、デューティ50%であることを特徴とする請
求項1記載のデジタルゲイン可変装置。
2. The digital gain varying device according to claim 1, wherein the pulse signal output from said pulse signal generating means has a duty of 50%.
【請求項3】 上記複数の選択手段には、すべて共通の
クロックが供給され、 上記複数の選択手段は、各選択出力を上記クロックに基
づいて切り換えることを特徴とする請求項1記載のデジ
タルゲイン可変装置。
3. The digital gain according to claim 1, wherein a common clock is supplied to all of said plurality of selecting means, and said plurality of selecting means switches each selected output based on said clock. Variable device.
JP05283292A 1992-03-11 1992-03-11 Digital gain variable device Expired - Fee Related JP3214040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05283292A JP3214040B2 (en) 1992-03-11 1992-03-11 Digital gain variable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05283292A JP3214040B2 (en) 1992-03-11 1992-03-11 Digital gain variable device

Publications (2)

Publication Number Publication Date
JPH05259767A JPH05259767A (en) 1993-10-08
JP3214040B2 true JP3214040B2 (en) 2001-10-02

Family

ID=12925822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05283292A Expired - Fee Related JP3214040B2 (en) 1992-03-11 1992-03-11 Digital gain variable device

Country Status (1)

Country Link
JP (1) JP3214040B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5959496A (en) * 1993-08-12 1999-09-28 Lexmark International, Inc. Microprocessors with emission control

Also Published As

Publication number Publication date
JPH05259767A (en) 1993-10-08

Similar Documents

Publication Publication Date Title
EP3229371B1 (en) Audio amplifier system
US6150969A (en) Correction of nonlinear output distortion in a Delta Sigma DAC
EP1691487B1 (en) Enhancement of the dynamic range of a multibit digital-to-analog converter
US6489913B1 (en) Sub-ranging analog-to-digital converter using a sigma delta converter
NL8301572A (en) ANALOGUE AND DIGITAL SIGNALING DEVICE.
EP0383689A2 (en) Digital-to-analog converter
KR100404012B1 (en) Adaptive non-linear echo compensator
US5544081A (en) Output filter for oversampling digital-to-analog converter
JPS63254825A (en) Method and apparatus for encoding and decoding between digital and analog
US7200187B2 (en) Modulator for digital amplifier
US8018363B2 (en) Nonlinear mapping in digital-to-analog and analog-to-digital converters
US5144306A (en) Noise shaping circuit
US5995546A (en) Digital integrator for pulse-density modulation using an adder carry or an integrator overflow
JP3214040B2 (en) Digital gain variable device
JP3340404B2 (en) D / A converter
JP3134390B2 (en) Digital gain variable device
JP2002528989A (en) Delay compensation for analog-to-digital converter in sigma-delta modulator
US5473697A (en) Echo generating apparatus
JP2822734B2 (en) Noise shaper
FI92778B (en) Digital signal amplitude control system for converting digital signals in approximately smooth dB steps
JP3407851B2 (en) Delta-sigma D / A converter with PWM circuit / weighting circuit combination
JP2002141802A (en) A/d converting device
JP3092237B2 (en) Digital gain variable device
JP3428412B2 (en) Delta sigma A / D converter
JP3103908B2 (en) Digital / analog conversion circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees