JPH05259767A - Digital gain variable device - Google Patents

Digital gain variable device

Info

Publication number
JPH05259767A
JPH05259767A JP4052832A JP5283292A JPH05259767A JP H05259767 A JPH05259767 A JP H05259767A JP 4052832 A JP4052832 A JP 4052832A JP 5283292 A JP5283292 A JP 5283292A JP H05259767 A JPH05259767 A JP H05259767A
Authority
JP
Japan
Prior art keywords
output
supplied
signal
gain
digital
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
JP4052832A
Other languages
Japanese (ja)
Other versions
JP3214040B2 (en
Inventor
Takashi Ono
孝士 大野
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)

Abstract

PURPOSE:To provide the gain adjustment device in which production of click noise is suppressed at the time of gain adjustment. CONSTITUTION:Outputs of 1-bit system D/A converters 32, 33 are fed to one input section of plural selection means 41a-44a, 41b-44b...41i-44i and a pulse whose duty is 50% is fed to other input section of plural selection means. A selection output of each selection means is fed to a series circuit comprising buffers 45a, 45b...45i and resistors 46a, 46b...46i whose resistance differs from each other and an output of the resistors is fed to an operational amplifier 47. The amplified output of the operational amplifier is fed to a low pass filter 49, an analog output signal is obtained from the output of the low pass filter, the output is selected by the selection means to adjust the gain of the output signal.

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 gain varying device for adjusting the level of an output audio signal has been constructed 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 which 1 denotes a digital audio signal output terminal, and the digital audio signal obtained at this 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, and the level data of the digital audio signal and the gain setting signal are multiplied. Then, this multiplication 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 converted into
It is supplied to the analog audio signal output terminal 5.

【0003】このようにすることで、デジタルオーディ
オ信号がアナログ信号に変換される前に、ゲイン調整が
行われ、ゲイン設定信号の値を変化させるだけでゲイン
調整が行われ、いわゆる電子ボリュームが構成される。
By doing so, the gain adjustment is performed before the digital audio signal is converted into the analog signal, and the gain adjustment is performed only by changing the value of the gain setting signal, and a so-called electronic volume is constructed. To be 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 structure, for example, as shown in FIG. 4, an analog audio signal output from the digital / analog converter 4 is input to an inverting side of an operational amplifier 6 forming an output circuit via a predetermined resistor. The non-inverting side input terminal of the operational amplifier 6 is grounded. The inverting input terminal side of the operational amplifier 6 is connected to one end of a plurality of semiconductor switches 7a, 7b ... 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 converted to the respective semiconductor switches 7a, 7b.
Supply to the control terminal of 7i. 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. To 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 that connects the inverting side input terminal side and the output terminal side of the operational amplifier 6 changes depending on the connection state of the semiconductor switches 7a, 7b. Then, the gain of the analog audio signal obtained at the output terminal 5 changes.

【0006】ところで、このようなゲイン可変装置を構
成すると、出力されるアナログオーディオ信号が劣化す
る虞れがあった。即ち、図3に示すように、デジタル乗
算器によりデジタル的に減衰させる場合には、デジタル
/アナログ変換器のダイナミックレンジに限界があるの
で、減衰量が大きくなるほど歪率が悪化してしまう。ま
た、図4に示すように、半導体スイッチ等のアナログス
イッチによりゲインを切換える場合には、アナログスイ
ッチの特性の非直線性により歪率が悪化したりして、音
質が悪化してしまう。
By the way, when such a gain varying device is constructed, the analog audio signal outputted may be 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, and thus the distortion rate becomes worse 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. 2-274709, a gain varying device of this kind which does not deteriorate the sound quality.

【0008】このゲイン可変装置について説明すると、
この例ではデジタル/アナログ変換器として、1ビット
方式のデジタル/アナログ変換器を使用してゲイン調整
を行うもので、まずこの1ビット方式のデジタル/アナ
ログ変換器について説明する。この1ビット方式のデジ
タル/アナログ変換器は、変換された出力として、数又
は幅が変化するパルス信号が得られるもので、このパル
ス信号の数又は幅が変化する出力を、ローパスフィルタ
に供給して平均化することで、アナログオーディオ信号
が得られる。この場合、デジタル/アナログ変換器が出
力するパルス波形は、レベルがハイレベル又はローレベ
ルの2値の何れかであり、入力デジタルデータに応じて
パルス波形の数が変化するものがパルス数変調(PN
M)と称され、パルス波形の幅が変化するものがパルス
幅変調(PWM)と称される。このような方式のデジタ
ル/アナログ変換器によると、変換時に発生する歪みを
最小限に抑えることができ、歪みのない良好なアナログ
オーディオ信号に変換することができる。
Explaining this gain changing device,
In this example, as the digital / analog converter, a gain adjustment is performed using a 1-bit type digital / analog converter. First, the 1-bit type digital / analog converter will be described. This 1-bit digital / analog converter is capable of obtaining a pulse signal whose number or width changes as a converted output, and supplies the output whose number or width of this pulse signal changes to a low-pass filter. An analog audio signal is obtained by performing averaging. In this case, the pulse waveform output from the digital / analog converter is either a high level or a low level, and the number of pulse waveforms that changes according to the input digital data is pulse number modulation ( PN
M), in which the width of the pulse waveform changes, is called pulse width modulation (PWM). According to the digital / analog converter of such a system, distortion generated at the time of conversion can be minimized, 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ゲートとして説明する。
This is a gain variable device applied to the one using this 1-bit type digital / analog converter, and the entire configuration is shown in FIG. In FIG. 5, 1
Reference numeral 1 denotes a digital audio signal input terminal, and the digital audio signal obtained at the digital audio signal input terminal 11 is supplied 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 ... Various gate elements such as an AND gate, a tri-state gate, and a flip-flop can be considered as the logic gate, but the AND gate will be described below.

【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で接続する。
Further, in the figure, 14a, 14b ...
The gain setting signal input terminal is shown, and this input terminal 14a,
.. 14i are supplied with respective bit data of the gain setting signal of a plurality of bits. In this case, the gain setting signal is supplied from the control circuit (not shown) of the audio device in which the digital / analog converter is incorporated, and only some bits are set to the high level signal “1” according to the gain to be set. ", And the other bits are set to the low level signal" 0 ". Then, the input terminals 14a and 14b
The gain setting signals of the respective bits obtained at 14i are supplied to the logic gates 13a, 13b. Then, the respective logic gates 13a, 13b ...
The output terminal of 13i is a resistor 2 having a different resistance value.
Connect to one end of 0a, 20b ... 20i. The other ends of the resistors 20a, 20b ... 20i are commonly connected to the inverting side input terminal of the operational amplifier 21. Then, the non-inverting side input terminal of the operational amplifier 21 is grounded, and the inverting side input terminal and the output terminal of the operational amplifier 21 are connected to each other.
Connect with a resistor 22.

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

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

【0013】従って、ゲイン設定信号としてハイレベル
信号“1”が供給されている論理ゲートに接続された抵
抗器(抵抗器20a,20b‥‥20iの何れか)を介
して、パルス信号化されたオーディオ信号が演算増幅器
21側に供給されるようになり、この接続された抵抗器
の抵抗値に応じてパルス信号のレベル(即ちハイレベル
信号“1”の電位)が調整される。このため、ローパス
フィルタ23で平均化されて得られるオーディオ信号
は、ゲインが接続された抵抗器の抵抗値に応じて変化
し、ゲイン設定信号により接続させる抵抗器を選定する
ことで、ゲイン調整を行うことができる。
Therefore, a pulse signal is formed through the resistor (any one 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. Therefore, the audio signal obtained by averaging by the low-pass filter 23 changes according to the resistance value of the resistor to which the gain is connected, 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 way is 1
Only the level adjustment of the output pulse of the bit digital / analog converter 12 is performed, the switching of the resistor itself is also performed by the logical operation by the logic gate, and the distortion does not change due to the gain adjustment. A good analog audio signal can be obtained.

【0015】[0015]

【発明が解決しようとする課題】ところが、このような
ゲイン調整装置では、出力端子24に得られるアナログ
オーディオ信号の直流レベルが、ゲイン調整時に急激に
変動する不都合があった。即ち、論理ゲート13a,1
3b‥‥13iの出力状態により、抵抗器の接続状態を
変化させると、演算増幅器21の出力レベルが変化して
しまう。従って、ゲイン調整が行われることで、アナロ
グオーディオ信号の直流レベルが変動し、このレベル変
動がクリック音などのノイズになってしまう。
However, in such a gain adjusting device, there is a disadvantage that the DC level of the analog audio signal obtained at the output terminal 24 rapidly changes during gain adjustment. That is, the logic gates 13a, 1
If the connection state of the resistor is changed depending on the output states of 3b ... 13i, the output level of the operational amplifier 21 will change. Therefore, by performing the gain adjustment, 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 above points, the present invention has an object of suppressing noise generation such as a click sound at the time of gain adjustment in a gain varying device of this type.

【0017】[0017]

【課題を解決するための手段】本発明は、例えば図1に
示すように、デジタル入力信号に対応して出力パルスの
数又は幅が変化する1ビット方式のデジタル/アナログ
変換器32,33の出力ゲインを変化させるデジタルゲ
イン可変装置において、デジタル/アナログ変換器3
2,33の出力を複数の選択手段41a〜44a,41
b〜44b‥‥41i〜44iの一方の入力部に供給
し、デューティ50%のパルスを複数の選択手段41a
〜44a,41b〜44b‥‥41i〜44iの他方の
入力部に供給し、各選択手段41a〜44a,41b〜
44b‥‥41i〜44iの選択出力を、バッファ45
a,45b‥‥45iとそれぞれ定数が異なる抵抗46
a,46b‥‥46iとの直列回路に供給し、このそれ
ぞれの抵抗46a,46b‥‥46iの出力を演算増幅
器47に供給し、この演算増幅器47の増幅出力をロー
パスフィルタ49に供給して、このローパスフィルタ4
9の出力よりアナログ出力信号を得ると共に、選択手段
41a〜44a,41b〜44b‥‥41i〜44iで
の出力の選択により、アナログ出力信号のゲイン調整を
行うようにしたものである。
According to the present invention, for example, as shown in FIG. 1, a 1-bit type digital / analog converter 32, 33 in which the number or width of output pulses is changed in response to a digital input signal. In a digital gain variable device that changes the output gain, a digital / analog converter 3
The output of 2, 33 is output to a plurality of selecting means 41a to 44a, 41.
b to 44b, ...
.. 44a, 41b to 44b ... 41i to 44i are supplied to the other input section to select each of the selecting means 41a to 44a, 41b.
44b ... Selective outputs of 41i to 44i are transferred to the buffer 45.
a, 45b ...
46i, a series circuit of a, 46b, ... 46i, the outputs of the respective resistors 46a, 46b, ... 46i are supplied to an operational amplifier 47, and the amplified output of the operational amplifier 47 is supplied to a low-pass filter 49. This low pass filter 4
The analog output signal is obtained from the output of 9 and the gain of the analog output signal is adjusted by selecting the output by the selecting means 41a to 44a, 41b to 44b.

【0018】[0018]

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

【0019】[0019]

【実施例】以下、本発明の一実施例を、図1及び図2を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An 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には、クロック供給端子34に得られるク
ロックを供給する。
In FIG. 1, reference numeral 31 denotes a digital audio signal input terminal, and the digital audio signal obtained at this digital audio signal input terminal 31 is supplied to a noise shaping circuit 32 which constitutes a 1-bit digital / analog converter. Then, the digital audio data that has been subjected to processing such as oversampling and bit compression in the noise shaping circuit 32 is supplied to the PWM wave generation circuit 33. And this PWM wave generation circuit 3
In 3, the PWM wave of 1-bit system is converted, and this PWM wave is used as the output of the digital / analog converter. A clock obtained at the 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, which is a 50% duty pulse generation circuit 35.
Also, the obtained clock is supplied to the clock supply terminal 34. Then, this duty 50% 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 of 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 generation circuit 33 is converted into a plurality of AND gates 41a, 41b.
1i (i is an unspecified integer; the same applies hereinafter) is supplied to one input terminal. In addition, the duty 50% pulse generation circuit 35
Pulse of 50% duty output by
Supply to one input end of the gates 42a, 42b ... 42i.

【0023】また、37a,37b‥‥37iはゲイン
設定データ入力端子を示し、このオーディオ機器の中央
制御装置(図示せず)からiビット系列のゲイン設定デ
ータが供給される端子で、このゲイン設定データ入力端
子37a,37b‥‥37iに得られるゲイン設定デー
タを、Dフリップフロップ36に供給する。このDフリ
ップフロップ36には、クロック供給端子34からクロ
ックが供給される。従って、ゲイン設定データは、Dフ
リップフロップ36でクロックに同期して変化するデー
タとされる。
Reference numerals 37a, 37b ... 37i denote gain setting data input terminals, which are 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 are 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 data that changes in synchronization with the clock in the D flip-flop 36.

【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の一方及び他方の入力端に供給す
る。
The i-bit series gain setting data output from the D flip-flop 36 is provided to AND gates 41a, 41b.
1i, 42a, 42b ... 42i. For example,
The bit series 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 series gain setting data obtained at the terminal 37b is supplied to the other input terminals of the AND gates 41b and 42b. Supply to. In this case, the AND gates 42a and 42b
The gain setting data is inverted and supplied to 42i. And AND gates 41a, 41b ... 41i
AND output of each AND gate 42a, 42b ... 4
2i and the logical product output of
a, 43b, ... 43i are supplied to one and the other input ends.

【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に供給され、この供給されるパルスをそのまま
出力する。
Thus, the AND gates 41a, 41b.
41i, 42a, 42b ... 42i and OR gate 43
a, 43b, ... 43i are connected to each O
Selection means for supplying data to only one of the two input terminals of the R gates 43a, 43b ... In this case, the supplied data is selected depending on the state of the gain setting data supplied from the D flip-flop 36 side. That is, depending on the gain setting data, the PWM
The PWM wave output by the wave generation circuit 33 and the duty 50
One of the 50% duty pulse output from the% pulse generation circuit 35 and the OR gates 43a, 43b.
... 43i and outputs the supplied pulse as it is.

【0026】そして、各ORゲート43a,43b‥‥
43iの論理和出力を、それぞれ別のDフリップフロッ
プ44a,44b‥‥44iに供給する。この各Dフリ
ップフロップ44a,44b‥‥44iには、端子38
からマスタークロックが供給され、このマスタークロッ
クに同期したパルスに波形整形される。
The OR gates 43a, 43b ...
The logical sum output of 43i is supplied to different D flip-flops 44a, 44b. The D flip-flops 44a, 44b ...
The master clock is supplied from and the waveform is shaped into a pulse synchronized with this 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 D flip-flop 44a, 4
The outputs of 4b ...
45i and resistors 46a, 46b ... 4i
Supply to the series circuit with 6i. In this case, the constants of the buffer circuits 45a, 45b ... 45i and the resistors 46a, 46b.
Then, the outputs of the resistors 46a, 46b ... 46i are supplied to the inverting side input terminal − of the operational amplifier 47, and the non-inverting side input terminal + of the operational amplifier 47 is grounded. Further, the inverting side input terminal − and the output terminal of the operational amplifier 47 are connected by the resistor 48. In this way, the operational amplifier 47
The current addition is performed by configuring the circuit that faces.

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

【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 constructed will be described with reference to the timing chart of FIG. Here, in order to simplify the explanation, the buffer circuits 45a, 4a
45i and resistors 46a, 46b, ... 46i are provided in series, and the gain adjustment is performed by selection based on the gain adjustment data of these three circuits. Therefore, here, the circuit actually shown in FIG. 1 (buffer circuits 45a, 45b, 45i, resistors 46a, 46b,
46i) and the like, and the circuit formed by the buffer circuit 45a and the resistor 46a is the first circuit system, the circuit formed by the buffer circuit 45b and the resistor 46b is the second circuit system, and the circuit formed by the buffer circuit 45i and the resistor 46i. Let the circuit be a third circuit system. Then, 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 stages of 7, 4/7, 5/7, 6/7, 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 so as to perform the 2/7 attenuation in the second circuit system. Bowl 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 the respective circuit systems in this way, when all the circuit systems are selected, (4/7) + (2 /
7) + (1/7) = 7/7 = 1, and an amount of 1/7 to 6/7 can be selected by selecting any one or two sets of circuit systems. Furthermore, when neither 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 by such gain adjustment data will be described with reference to FIG. 2. First, as a clock for PWM modulation obtained at the terminal 34, as shown in FIG. It is assumed that the pulse indicated by A is obtained. Then, it is assumed that the pulse data shown in B of FIG. 2 is obtained as the output of the PWM wave generation circuit 33. This PW
The M-modulated wave is -3, -2, -1, 0, +1, +2, +3 when the duty is 50% and the reference is 0.
1-bit data that changes in 7 steps. The output of the 50% duty pulse generation circuit 35 is P
Same duty as when the WM modulated wave is at the reference 0 level
% Pulses are obtained as shown in FIG. 2C.

【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 adjustment is performed by selecting the circuits of three systems here, the gain setting data obtained at the input terminals 37a to 37i is as follows.
The data is 3-bit data, and the first to third circuit systems are selected by the data of each bit series. Here, the gain setting data obtained at the input terminal 37a is converted to the attenuation data 1 (ATT1 shown in D of FIG. 2) and the input terminal 3
The gain setting data obtained at 7b is assumed to be attenuation data 2 (ATT2 shown in E of FIG. 2), and the gain setting data obtained at the input terminal 37i is assumed to be attenuation data 3 (ATT3 shown in F of FIG. 2).

【0033】このとき、このそれぞれのアッティネート
データ1,2,3は、Dフリップフロップ36でPWM
変調用のクロックに同期して変化するデータとされ、図
2のG,H,Iに示すデータ1,2,3となる。
At this time, the respective attenuated data 1, 2, and 3 are PWM-controlled by the D flip-flop 36.
The data is data that changes in synchronization with the modulation clock, and the data 1, 2, and 3 shown in G, H, and I of 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 attenuation (ATT
If 5/7 is selected as the amount), this 5/7 attenuation amount is the sum of the 4/7 attenuation amount by the first circuit system and the 1/7 attenuation amount by the third circuit system (that is, [4/7] + [1/7]). Therefore, according to the attenuation data 1, 2, 3
The first circuit system and the third circuit system are selected. That is, the attenuated data 1 and the attenuated data 3 become the high level signal "1", and the attenuated data 2 become the low level signal "0". Depending on this signal state, the AND gate 41a of the first circuit system and the AN of the third circuit system
The high level signal "1" is supplied to the other input end of the D gate 41i.
The PWM wave supplied to one input end of 1a and 41i comes to be output as it is. In addition, 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,
The 50% duty pulse supplied from the 50% duty pulse generation circuit 35 to one input terminal of the AND gate 42b is directly output.

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

【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 passing through the first circuit system, the 50% duty pulse passing through the second circuit system, and the third circuit system are passed. The PWM wave is added to obtain a current-amplified signal. Therefore, P with an amount of attenuation of 5/7
The WM wave is output from the operational amplifier 47, and smoothed by the low-pass filter 49 to obtain an analog audio signal that is attenuated by 5/7 at the output terminal 50.
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%のパルスが、そのまま出力されるようにな
る。
Then, assuming that 1/7 is selected as the amount of attenuation as shown in the substantially central portion of the timing chart of FIG. 2, this amount of 1/7 attenuation is 1/3 by the third circuit system. Can be obtained with only 7 Attenuate. Therefore, the change from the amount of attenuation 5/7 to the amount of 1/7 attenuation is obtained by the change of the high level signal "1" of the attenuation data 1 to the low level signal "0". Due to such changes, AND of the third circuit system
The high level signal "1" is supplied only to the other input end of the gate 41i.
The PWM wave supplied to one input end of 1i comes to be output as it is. In addition, 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, and the 50% duty pulse generation circuit 35 outputs an AND signal.
A pulse with a duty of 50% supplied to one input end of the gates 42a and 42b is directly output.

【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 which has passed through the first and second circuit systems is used.
The 0% pulse and the PWM wave that has passed through the third circuit system are added to obtain a current-amplified signal. Therefore, a PWM wave having an attenuation amount of 1/7 is output from the operational amplifier 47, and smoothed by the low-pass filter 49 to obtain an analog audio signal that is attenuated to 1/7 at the output terminal 50. Also in this case, the first and second
Since the data passing through the circuit system of No. 1 is a pulse having 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, as shown on the right side of the timing chart of FIG. 2, assuming that 6/7 is selected as the amount of attenuation, the amount of attenuation of 6/7 is the amount of attenuation of 4/7 by the first circuit system. And the amount of 2/7 attenuation by the second circuit system. Therefore, the amount of attenuation is 1/7 to 6 /
The change to 7 is a change from the low level signal “0” of the attenuated data 1 and 2 to the high level signal “1”,
It is obtained by changing the high level signal "1" of the attenuated data 3 to the low level signal "0". Due to such changes, the AND gates 41a, 4 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 directly output. 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 i, and the duty is 50%.
A pulse having a duty of 50% supplied from the pulse generation circuit 35 to one input terminal of the AND gate 42i is directly output.

【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 that has passed 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. Therefore, a PWM wave with an attenuation amount of 6/7 is output from the operational amplifier 47, and smoothed by the low-pass filter 49 to obtain an analog audio signal that is attenuated by 6/7 at the output terminal 50. 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, and the operational amplifier 47
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 example, 1/7 to 7/7 depending on the states of the attenuation data 1, 2 and 3.
The amount of attenuation can be freely selected. Further, as the attenuated data 1, 2, and 3, all are low level signals “0”, and the duty is 5 in all circuit systems.
By passing a 0% pulse, a pulse corresponding to 0 data can be output from the operational amplifier 47 to put it into a silent state. Such adjustment of the amount of attenuation is
Since the PWM wave, which is digital audio data, is processed without degrading the accuracy, 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 sudden change occurs in the average level of the signal supplied to the operational amplifier 47. Therefore, at the time of gain adjustment, generation of a click sound due to a rapid change in the DC level is prevented. Further, the attenuation processing of this example does not deteriorate the characteristics in an analog manner, and the output terminal 50
The analog audio signal output from the device does not deteriorate.

【0043】なお、図2に示した例では第1〜第2の回
路系の設定により、7段階にアッティネート量を調整す
る場合について説明したが、回路系の系統数を増やすこ
とで、より細かくゲイン調整が可能になる。
In the example shown in FIG. 2, the case where the amount of attenuation is adjusted in seven steps by setting the first and second circuit systems has been described, but by increasing the number of circuit systems, it becomes more detailed. 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 the 1-bit digital / analog converter in which M) is performed, the present invention can also be applied to the 1-bit digital / analog converter of another modulation method (pulse number modulation or the like).

【0045】[0045]

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

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

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

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

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

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

【図5】従来のゲイン可変装置の一例を示す構成図であ
る。
FIG. 5 is a configuration diagram showing an example of a conventional gain varying 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 50% Duty 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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 デジタル入力信号に対応して出力パルス
の数又は幅が変化する1ビット方式のデジタル/アナロ
グ変換器の出力ゲインを変化させるデジタルゲイン可変
装置において、 上記デジタル/アナログ変換器の出力を複数の選択手段
の一方の入力部に供給し、デューティ50%のパルスを
上記複数の選択手段の他方の入力部に供給し、 上記各選択手段の選択出力を、バッファとそれぞれ定数
が異なる抵抗との直列回路に供給し、該それぞれの抵抗
の出力を演算増幅器に供給し、該演算増幅器の増幅出力
をローパスフィルタに供給して、該ローパスフィルタの
出力よりアナログ出力信号を得ると共に、 上記選択手段での出力の選択により、上記アナログ出力
信号のゲイン調整を行うようにしたデジタルゲイン可変
装置。
1. A digital gain variable device for changing the output gain of a 1-bit type digital / analog converter in which the number or width of output pulses changes according to a digital input signal. Is supplied to one input part of the plurality of selection means, a pulse having a duty of 50% is supplied to the other input part of the plurality of selection means, and the selection output of each selection means is a resistor having a constant different from that of the buffer. And the output of each of the resistors is supplied to an operational amplifier, the amplified output of the operational amplifier is supplied to a low-pass filter, and an analog output signal is obtained from the output of the low-pass filter. A digital gain varying device adapted to adjust the gain of the analog output signal by selecting the output by means.
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 true JPH05259767A (en) 1993-10-08
JP3214040B2 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)

Cited By (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

Cited By (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
JP3214040B2 (en) 2001-10-02

Similar Documents

Publication Publication Date Title
EP3229371B1 (en) Audio amplifier system
JP3449254B2 (en) D / A converter
US6281824B1 (en) Digital to analog converter using constant current sources
EP1691487B1 (en) Enhancement of the dynamic range of a multibit digital-to-analog converter
US7200187B2 (en) Modulator for digital amplifier
JP3726574B2 (en) D / A converter
KR102374789B1 (en) Control of the noise transfer function in the signal path to reduce charge pump noise
US6256395B1 (en) Hearing aid output clipping apparatus
JP4130276B2 (en) Method and apparatus for extending the spurious-free dynamic range of a digital-to-analog converter
US6624774B2 (en) Delta sigma D/A converter
JP3214040B2 (en) Digital gain variable device
US6940344B2 (en) D-class signal amplification circuit
US10972123B1 (en) Signal processing structure
JP3134390B2 (en) Digital gain variable device
US6272181B1 (en) Method and device for the aggregation of signals from sampling values
JP3388173B2 (en) Feedback circuit
JP2002528989A (en) Delay compensation for analog-to-digital converter in sigma-delta modulator
US5473697A (en) Echo generating apparatus
FI92778B (en) Digital signal amplitude control system for converting digital signals in approximately smooth dB steps
JP2002141802A (en) A/d converting device
JP2822734B2 (en) Noise shaper
JP6401929B2 (en) ΔΣ D / A converter, signal processing circuit using the same, and electronic device
US20220329255A1 (en) D/a converter
JP3092237B2 (en) Digital gain variable device
JP2007043757A (en) Multi-bit d/a converter and method for multi-bit d/a conversion

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