JPS625716A - Attenuator - Google Patents

Attenuator

Info

Publication number
JPS625716A
JPS625716A JP14250185A JP14250185A JPS625716A JP S625716 A JPS625716 A JP S625716A JP 14250185 A JP14250185 A JP 14250185A JP 14250185 A JP14250185 A JP 14250185A JP S625716 A JPS625716 A JP S625716A
Authority
JP
Japan
Prior art keywords
circuit
digital
signal
digital signal
output
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.)
Pending
Application number
JP14250185A
Other languages
Japanese (ja)
Inventor
Takaaki Osaki
大崎 隆昭
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP14250185A priority Critical patent/JPS625716A/en
Publication of JPS625716A publication Critical patent/JPS625716A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

PURPOSE:To supply the desired attenuation to a digital input signal A at a desired step by using a multiplication circuit multiplying a signal by 1/2<k> and a subtraction circuit so as to apply operation of A(1-1/2<k>)<j> to a digital input signal A, where (j) is number of times of operations and selecting (k, j). CONSTITUTION:A selector 1 selecting the digital input signal and a digital signal on the way of operation, a multiplication circuit 2 multiplying the digital signal selected by the selector 1 by 1/2<k> (k=0, 1, 2...) and the 1st delay circuit 3 retarding the digital signal being an output of the selector 1 by a time corresponding to the delay time by the multiplier circuit 2 are provided. Then the subtraction circuit 4 subtracting the digital signal being an output of the multiplier circuit 2 from the digital signal retarded by the 1st delay circuit 3 and the 2nd delay circuit applying the output digital signal of the subtraction circuit 4 to the selector 1 as the digital signal on the way of the operation are provided. Thus, the result of subtractions for a prescribed number of times to the digital input signal is used as the digital output signal.

Description

【発明の詳細な説明】 〔概要〕 ディジタル入力信号Aを、1/2′′倍する乗算回路と
、減算回路とによって、演算回数をjとすると、A (
1−1/2k)jの演算を行い、k。
[Detailed Description of the Invention] [Summary] A multiplication circuit that multiplies the digital input signal A by 1/2'' and a subtraction circuit, and if the number of operations is j, then A (
1-1/2k)j, and k.

jの選定により、所望のステップで所望の減衰量をディ
ジタル人力信号Aに与えるものである。
By selecting j, a desired amount of attenuation is given to the digital human input signal A at a desired step.

〔産業上の利用分野〕[Industrial application field]

本発明は、ディジタル音声信号等のディジクル入力信号
に、所望の減衰を与えることができる減衰器に関するも
のである。
The present invention relates to an attenuator that can provide desired attenuation to a digital input signal such as a digital audio signal.

音声のモニタ装置等に於いて、音声レベルを制御する為
に減衰器が用いられる。アナログ音声信号に対しては、
可変抵抗器等からなる減衰器が用いられ、ディジタル音
声信号に対しては、乗算器等からなる減衰器が用いられ
る。
Attenuators are used in audio monitoring devices and the like to control the audio level. For analog audio signals,
An attenuator made of a variable resistor or the like is used, and for digital audio signals, an attenuator made of a multiplier or the like is used.

〔従来の技術〕[Conventional technology]

ディジタル音声信号に対する従来の減衰器は。 Conventional attenuators for digital audio signals.

1以下の係数を乗算する乗算回路により構成するか、或
いは、直線符号化されたディジタル音声信号に対しては
、ビットシフトにより、2の幕乗分の1に減衰させる減
衰器が知られている。
Attenuators are known that are configured with a multiplier circuit that multiplies by a coefficient of 1 or less, or that attenuates linearly encoded digital audio signals to 1/2 by a bit shift. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

乗算回路によって構成された従来の減衰器は、1以下の
係数を乗算する構成とする為に、並列乗算回路等を必要
とし、構成が非常に複雑となると共に、高価となる欠点
がある。又2の冨乗分の1に減衰させる従来の減衰器の
場合は、ピントシフトを比較的簡単な構成で実現できる
が、減衰量が2の幕乗分の1のステップに切換えられる
に過ぎないから、所望の減衰量を得ることが出来ないこ
とが多い欠点がある。
A conventional attenuator configured with a multiplier circuit requires a parallel multiplier circuit to multiply by a coefficient of 1 or less, which has the disadvantage of making the structure very complicated and expensive. In addition, in the case of a conventional attenuator that attenuates to the power of 2, focus shifting can be achieved with a relatively simple configuration, but the attenuation amount is simply switched to a step of 1 to the power of 2. Therefore, there is a drawback that it is often impossible to obtain the desired amount of attenuation.

本発明は、前述の従来の欠点を改善し、簡単な構成で所
望の減衰量が得られるようにすることを目的とするもの
である。
SUMMARY OF THE INVENTION An object of the present invention is to improve the above-mentioned conventional drawbacks and to obtain a desired amount of attenuation with a simple configuration.

〔問題点を解決するための手段〕 本発明の減衰器は、第1図を参照して説明すると、ディ
ジタル入力信号と演算途中のディジタル信号とを選択す
るセレクタ1と、そのセレクタ1によって選択されたデ
ィジタル信号を1/2k (。
[Means for Solving the Problems] The attenuator of the present invention will be described with reference to FIG. Convert the digital signal into 1/2k (.

k=o、1,2.3.  ・・・)倍する乗算0回路2
と、この乗算回路2による遅延時間に相当する時間、セ
レクタ1の出力のディジタル信号を遅延させる第1の遅
延回路3と、この第1の遅延回路3によって遅延された
ディジタル信号から、乗算回路2の出力のディジタル信
号を減算する減算回路4と、この減算回路4の出力のデ
ィジタル信号を演算途中のディジタル信号としてセレク
タlに加える第2の遅延回路5とを備えて、ディジタル
入力信号に対する所定回数の減算結果をディジタル出力
信号とするものである。
k=o, 1, 2.3. ...) Multiplying 0 circuit 2
and a first delay circuit 3 that delays the digital signal output from the selector 1 by a time corresponding to the delay time by the multiplier circuit 2. From the digital signal delayed by the first delay circuit 3, the multiplier circuit 2 A subtraction circuit 4 that subtracts the digital signal output from the subtraction circuit 4, and a second delay circuit 5 that adds the digital signal output from the subtraction circuit 4 to the selector 1 as a digital signal in the middle of calculation, and a second delay circuit 5 that applies the digital signal output from the subtraction circuit 4 to the selector l as a digital signal in the middle of calculation. The subtraction result is used as a digital output signal.

〔作用〕[Effect]

乗算回路2は、2の喜乗分の1を乗算するもので、単な
るビットシフト回路で構成することができ、又セレクタ
1によって次のディジタル入力信号を選択出力するまで
の間、演算途中のディジタル信号を選択出力することに
より、1/2k X演算繰り返し回数の減衰をディジタ
ル入力信号に与えることができる。従って、kの値を大
きくすれば、減衰量のステップを小さくし、演算繰り返
し回数を多くすると、減衰量が大きくなる。
The multiplication circuit 2 multiplies by 1 to the exponent of 2, and can be configured as a simple bit shift circuit. By selectively outputting the signal, attenuation equal to the number of 1/2k X operation repetitions can be applied to the digital input signal. Therefore, if the value of k is increased, the step of the attenuation amount becomes smaller, and if the number of calculation repetitions is increased, the attenuation amount becomes larger.

〔実施例〕〔Example〕

以下図面を参照して本発明の実施例について詳細に説明
する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の実施例のブロック図であり、第1図と
同一符号は同一部分を示し、6は第2の遅延回路として
のシフトレジスタ、7は出力用のシフトレジスタである
。ディジタル入力信号aはセレクタ1に加えられ、制御
信号すによってセレクタlはディジタル入力信号aとシ
フトレジスタ6の所定段の出力のディジタル信号gとの
選択を行うものである。セレクタ1の出力のディジタル
信号は、乗算回路2と遅延回路3とに加えられる。乗算
回路2は、1/2に倍の乗算を行うものであり、kは、
設定信号Cによって、0.1.2゜3、・・・の所望の
値に設定することができるものであって、kビットのシ
フトを行って出力する回路構成であり、簡単な構成で実
現することができる。例えば、k=2に設定すると、2
ビツトのシフトが行われて、ディジタル信号の大きさは
、1/4となって出力される。
FIG. 2 is a block diagram of an embodiment of the present invention, in which the same reference numerals as in FIG. 1 indicate the same parts, 6 is a shift register as a second delay circuit, and 7 is an output shift register. Digital input signal a is applied to selector 1, and selector 1 selects between digital input signal a and digital signal g output from a predetermined stage of shift register 6 in response to a control signal. The digital signal output from the selector 1 is applied to a multiplier circuit 2 and a delay circuit 3. The multiplication circuit 2 multiplies 1/2 by 2, and k is
It can be set to a desired value of 0.1.2°3, . . . by setting signal C, and has a circuit configuration that performs k-bit shifting and outputs, and is realized with a simple configuration. can do. For example, if you set k=2, 2
The bits are shifted, and the magnitude of the digital signal is reduced to 1/4 and output.

乗算回路2の出力のディジタル信号と、遅延回路3の出
力のディジタル信号とが減算回路4に加えられ、ディジ
タル入力信号aをAとすると、減算回路4に於いて、B
=A (1−1/2k )の演算が行われることになる
。従って、kの値を0゜1.2.3.4に設定した時、
第1表に示すものとなる。
The digital signal output from the multiplier circuit 2 and the digital signal output from the delay circuit 3 are added to the subtraction circuit 4, and if the digital input signal a is A, then in the subtraction circuit 4, B
= A (1-1/2k) calculation will be performed. Therefore, when the value of k is set to 0°1.2.3.4,
The results are shown in Table 1.

第1表 又次のディジタル入力信号aがセレクタ1で選択出力さ
れる前に、シフトレジスタ6によって遅延されたディジ
タル信号gが選択出力され、その繰り返し回数jを32
及び64とした時に、第2表に示す最大減衰量かえられ
る。
Table 1: Before the next digital input signal a is selected and output by the selector 1, the digital signal g delayed by the shift register 6 is selected and output, and the number of repetitions j is set to 32.
and 64, the maximum attenuation shown in Table 2 can be changed.

第2表 なお、第2表は、音声信号を16ビツトに直線符号化し
たディジタル信号をディジタル入力信号として、動作ク
ロック信号を4.096MHzとした時に、演算繰り返
し回数jを32とし、又動作クロック信号を8.192
MHzとした時に、演算繰り返し回数jを64とした場
合について示すものである。
Table 2 Table 2 shows that when the digital input signal is a digital signal obtained by linearly encoding an audio signal into 16 bits, and the operating clock signal is 4.096 MHz, the number of calculation repetitions j is 32, and the operating clock Signal 8.192
The figure shows a case where the number of calculation repetitions j is 64 when the frequency is MHz.

減算回路4の出力のディジタル信号は、遅延回路として
のシフトレジスタ6に加えられ、所望のシフト段から演
算途中のディジタル信号gとしてセレクタ1に加えられ
る。又ロードタイミング信号eがシフトレジスタ7に加
えられると、シフ1へレジスタ6の内容がシフトレジス
タ7に並列にセットされる。そして、シフトタイミング
信号dがシフトレジスタ7に加えられると、並列にセッ
トされたディジタル信号が直列に出力される。即ち、所
望回数の演算を行った減算回路4の出力のディジタルが
シフトレジスタ6にシフトされた時に、ロードタイミン
グ信号eが加えられ、減衰されたディジタル信号fがシ
フトレジスタ7から出力されることになる。
The digital signal output from the subtraction circuit 4 is applied to a shift register 6 as a delay circuit, and is applied from a desired shift stage to the selector 1 as a digital signal g in the middle of an operation. When the load timing signal e is applied to the shift register 7, the contents of the register 6 are set in the shift register 7 in parallel to shift 1. When the shift timing signal d is applied to the shift register 7, the digital signals set in parallel are output in series. That is, when the digital output of the subtraction circuit 4 that has performed the desired number of operations is shifted to the shift register 6, the load timing signal e is added, and the attenuated digital signal f is output from the shift register 7. Become.

第3図は動作説明図であり、ta+はディジタル人力信
号Aを示し、(b)はセレクタ1に加える制御信号すを
示す。又(C)は乗算回路2の出力の1/2k×Aのデ
ィジタル信号を示し、この出力位相に一致するように遅
延回路3の遅延時間が選定される。又(dlは減算回路
4の出力のA (1−1/2” )のディジタル信号を
示し、(e)はシフトレジスタ6の所定シフト段からの
遅延出力のディジタル信号を示す。(1−1/2k )
=βとすると、1回の演算による出力信号はA−βとな
り、2回の演算による出力信号は、A−12となる。同
様に、演算繰り返し回数jの場合の出力信号は、A−A
’となる。
FIG. 3 is an explanatory diagram of the operation, where ta+ indicates the digital human input signal A, and FIG. 3(b) indicates the control signal S applied to the selector 1. Further, (C) shows a 1/2k×A digital signal of the output of the multiplier circuit 2, and the delay time of the delay circuit 3 is selected so as to match this output phase. Further, (dl indicates the digital signal of A (1-1/2") output from the subtraction circuit 4, and (e) indicates the digital signal of the delayed output from a predetermined shift stage of the shift register 6. (1-1) /2k)
=β, the output signal from one calculation is A-β, and the output signal from two calculations is A-12. Similarly, the output signal when the number of calculation repetitions is j is A−A
' becomes.

演算繰り返し回数jを時間と共に増加させると、次第に
減衰量が大きくなる減衰器となり、反対に演算繰り返し
回数jを時間と共に減少させると、次第に減衰量が小さ
くなる減衰器となるから、フェード回路を構成すること
ができる。その場合に演算繰り返し回数jと共に、乗算
回路2に於けるシフトビット数kを変更すれば、減衰量
の変化割合を任意に選定することができる。
Increasing the number of calculation repetitions j over time results in an attenuator that gradually increases the amount of attenuation, and conversely, decreasing the number of calculation repetitions j over time results in an attenuator that gradually decreases the amount of attenuation, thus forming a fade circuit. can do. In this case, by changing the number of shift bits k in the multiplication circuit 2 as well as the number of calculation repetitions j, the rate of change in the amount of attenuation can be arbitrarily selected.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、乗算回路2を1/2k
 (kは正の整数)倍する回路とすることにより、単に
にビットシフトする簡単な回路構成で実現できることに
なり、又演算繰り返し回数jをセレクタ1の制御又は減
算回路4の出力の選択タイミングによって選定すること
により、所望の減衰量を、kの値に対応したステップで
得ることができるから、任意の減衰量を得ることができ
る利点がある。
As explained above, in the present invention, the multiplication circuit 2 is 1/2k
(k is a positive integer) By using a multiplication circuit, it can be realized with a simple circuit configuration that simply shifts bits, and the number of operation repetitions j can be controlled by the control of the selector 1 or the selection timing of the output of the subtraction circuit 4. By selecting the desired amount of attenuation, a desired amount of attenuation can be obtained in steps corresponding to the value of k, so there is an advantage that an arbitrary amount of attenuation can be obtained.

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

第1図は本発明の原理ブロック図、第2図は本発明の実
施例のブロック図、第3図は動作説明図である。 1はセレクタ、2は乗算回路、3は遅延回路、4は減算
回路、5は遅延回路、6,7はシフト・レジスタである
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of the operation. 1 is a selector, 2 is a multiplication circuit, 3 is a delay circuit, 4 is a subtraction circuit, 5 is a delay circuit, and 6 and 7 are shift registers.

Claims (1)

【特許請求の範囲】 ディジタル入力信号と演算途中のディジタル信号とを選
択するセレクタ(1)と、 該セレクタ(1)によって選択されたディジタル信号を
、1/2^k(k=0、1、2、3、・・・)倍する乗
算回路(2)と、 前記セレクタ(1)によって選択されたディジタル信号
を前記乗算回路(2)による遅延時間に相当する時間、
遅延させる第1の遅延回路(3)と、 該第1の遅延回路(3)の出力のディジタル信号から前
記乗算回路(2)の出力のディジタル信号を減算する減
算回路(4)と、 該減算回路(4)の出力のディジタル信号を前記演算途
中のディジタルとして前記セレクタ(1)に加える第2
の遅延回路(5)とを備えたことを特徴とする減衰器。
[Claims] A selector (1) for selecting a digital input signal and a digital signal in the middle of calculation, and a digital signal selected by the selector (1) by 1/2^k (k=0, 1, 2, 3, ...); a multiplication circuit (2) that multiplies the digital signal selected by the selector (1) for a time corresponding to the delay time by the multiplication circuit (2);
a first delay circuit (3) for delaying; a subtraction circuit (4) for subtracting the digital signal output from the multiplication circuit (2) from the digital signal output from the first delay circuit (3); a second circuit that applies the digital signal output from the circuit (4) to the selector (1) as a digital signal in the middle of the calculation;
An attenuator comprising: a delay circuit (5).
JP14250185A 1985-07-01 1985-07-01 Attenuator Pending JPS625716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14250185A JPS625716A (en) 1985-07-01 1985-07-01 Attenuator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14250185A JPS625716A (en) 1985-07-01 1985-07-01 Attenuator

Publications (1)

Publication Number Publication Date
JPS625716A true JPS625716A (en) 1987-01-12

Family

ID=15316805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14250185A Pending JPS625716A (en) 1985-07-01 1985-07-01 Attenuator

Country Status (1)

Country Link
JP (1) JPS625716A (en)

Similar Documents

Publication Publication Date Title
US7051059B2 (en) Oversampling FIR filter, method for controlling the same, semiconductor integrated circuit having the same, and communication system for transmitting data filtered by the same
US5073942A (en) Sound field control apparatus
US4958311A (en) Composite finite impulse response digital filter
US4573135A (en) Digital lowpass filter having controllable gain
TWI237950B (en) Audio processing circuit and related method
US6405092B1 (en) Method and apparatus for amplifying and attenuating digital audio
JPS625716A (en) Attenuator
KR20020065017A (en) Time-devision type matrix calculator
US5706217A (en) Digital signal processing automatic gain control amplifier
JP2885121B2 (en) Digital filter
WO2005002051A1 (en) Digital filter
KR100249040B1 (en) Fir filter having asymmetric frequency response characteristic
JPS58162120A (en) Transversal filter
KR0149323B1 (en) Audio volume adjusting device using digital system
JP3414336B2 (en) FIR filter, ramp up / down circuit
JPH06318092A (en) Variable delay circuit
JP2000165204A (en) Iir type digital low pass filter
JP2656251B2 (en) Signal level adjusting circuit and signal level adjusting method
JP2000138585A (en) Output amplitude adjusting circuit
JP2913647B2 (en) Digital filter
JPH01213019A (en) Digital fader device
JPS6298816A (en) Attenuation device
JPH04129311A (en) Muting device
JP2004128858A (en) Fir digital filter
US20060233393A1 (en) Digital volume control circuit and method calibrated in decibels