JPH0531327B2 - - Google Patents

Info

Publication number
JPH0531327B2
JPH0531327B2 JP21098387A JP21098387A JPH0531327B2 JP H0531327 B2 JPH0531327 B2 JP H0531327B2 JP 21098387 A JP21098387 A JP 21098387A JP 21098387 A JP21098387 A JP 21098387A JP H0531327 B2 JPH0531327 B2 JP H0531327B2
Authority
JP
Japan
Prior art keywords
average level
value
gain
leading
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.)
Expired - Lifetime
Application number
JP21098387A
Other languages
Japanese (ja)
Other versions
JPS6453637A (en
Inventor
Fujio Nakagawa
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP21098387A priority Critical patent/JPS6453637A/en
Publication of JPS6453637A publication Critical patent/JPS6453637A/en
Publication of JPH0531327B2 publication Critical patent/JPH0531327B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)
  • Dc Digital Transmission (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デイジタル表現された信号の平均レ
ベルを一定にするためのデイジタルAGC回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital AGC circuit for keeping the average level of a digitally expressed signal constant.

〔従来の技術〕[Conventional technology]

従来、この種のデイジタルAGC回路は、デイ
ジタル入力信号の平均レベルを算出し、その算出
値に応じて利得を求め、入力信号にこの利得を乗
じていた。
Conventionally, this type of digital AGC circuit calculates the average level of a digital input signal, determines a gain according to the calculated value, and multiplies the input signal by this gain.

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

上述した従来のデイジタルAGC回路は、入力
の平均レベルから直接利得を求めているため、入
力信号の平均レベルのダイナミツクレンジが広い
場合、その平均レベルのデイジタル表現のビツト
長が長くなつて、ROMテーブルを用いて利得を
求める場合ROMテーブルの容量が大きくなり、
また、この場合の利得のダイナミツクレンジも広
くなるので利得をデイジタル表現するビツト長も
長くなり、入力信号と利得を乗算する乗算器のハ
ードウエアが大きくなるという欠点がある。
The conventional digital AGC circuit described above calculates the gain directly from the average level of the input, so if the dynamic range of the average level of the input signal is wide, the bit length of the digital representation of the average level becomes long, and the ROM When calculating gain using a table, the capacity of the ROM table becomes large,
Furthermore, since the dynamic range of the gain in this case is widened, the bit length for digitally representing the gain also becomes long, and there is a drawback that the hardware of the multiplier that multiplies the input signal and the gain becomes large.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデイジタルAGC回路は、 入力したデイジタル信号の平均レベルを算出し
て2進数デイジタル値として出力する平均レベル
算出手段と、 平均レベル算出手段の出力値のリーデイング
“0”を検出し、予め決められている平均レベル
の目標値のリーデイング“0”との差分を出力す
るリーデイング“0”検出手段と、 平均レベルを入力し、その値をリーデイング
“0”検出手段が出力したリーデイング“0”の
差分だけシフトして出力する第1のシフト手段
と、 第1のシフト手段によつてシフトされた平均レ
ベルを入力し、その値と平均レベルの目標値との
比に対応する利得を出力する可変利得発生手段
と、 入力したデイジタル信号の2進数デイジタル値
をリーデイング“0”検出手段の出力値分シフト
して、シフトされたデイジタル信号を出力する第
2のシフト手段と、 第2のシフト手段の出力を入力し、その値に可
変利得発生手段が出力した利得を乗算する乗算手
段を有する。
The digital AGC circuit of the present invention includes an average level calculating means that calculates the average level of an input digital signal and outputs it as a binary digital value, and detects the leading "0" of the output value of the average level calculating means and calculates the average level of the input digital signal and outputs it as a binary digital value. a leading "0" detection means that outputs the difference between the target value of the average level and the leading "0"; a first shifting means that shifts and outputs the difference; and a variable means that inputs the average level shifted by the first shifting means and outputs a gain corresponding to the ratio of that value and a target value of the average level. gain generating means; second shifting means for shifting the binary digital value of the input digital signal by the output value of the leading "0" detection means and outputting the shifted digital signal; It has a multiplication means for inputting the output and multiplying the value by the gain output from the variable gain generation means.

〔作用〕[Effect]

入力したデイジタル信号の平均レベルが所定の
平均レベルの目標値とリーデイング“0”が同じ
数になるようにシフトされ、同じ桁数の数値によ
つて利得が計算されるので、利得は精度によつて
決まる最小の数値となる。この利得が乗算器で乗
算係数となるため乗算器のハードウエアが小さく
なる。
The average level of the input digital signal is shifted so that the predetermined average level target value and the leading "0" are the same number, and the gain is calculated using the same number of digits, so the gain depends on the accuracy. This is the minimum value determined by Since this gain becomes a multiplication coefficient in the multiplier, the hardware of the multiplier becomes smaller.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のデイジタルAGC回路の一実
施例のブロツク図である。
FIG. 1 is a block diagram of one embodiment of the digital AGC circuit of the present invention.

平均レベル算出手段1はデイジタル化された信
号を入力し、その平均レベルを算出して2進数の
デイジタル値として出力する。リーデイング
“0”検出手段2は前記平均レベルの2進数のリ
ーデイング“0”を検出して、予め決められてい
る平均レベルの目標値のリーデイング“0”との
差分を出力する。第1のシフト手段3はリーデイ
ング“0”検出手段2の出力に応じて平均レベル
の2進数のリーデイング“0”を平均レベル目標
値のリーデイング“0”と同数になるようにシフ
トし、末尾が長ければ末尾を切捨て、不足なら
“0”を付加して出力する。可変利得発生手段5
は第1のシフト手段3の出力から微調用の利得を
算出する。第2のシフト手段4はリーデイング
“0”検出手段2の出力値分シフトする。乗算手
段6は第2のシフト手段4の出力を入力し、その
値に可変利得発生手段5が出力した利得を乗算し
て出力する。
The average level calculation means 1 inputs the digitized signal, calculates the average level thereof, and outputs it as a binary digital value. The leading "0" detection means 2 detects the leading "0" of the binary number of the average level and outputs the difference from the leading "0" of the predetermined target value of the average level. The first shifting means 3 shifts the leading "0" of the binary number of the average level to the same number as the leading "0" of the average level target value according to the output of the leading "0" detecting means 2, and If it is too long, the end is truncated, and if it is insufficient, "0" is added and output. Variable gain generating means 5
calculates the gain for fine adjustment from the output of the first shift means 3. The second shift means 4 shifts by the output value of the leading "0" detection means 2. The multiplication means 6 inputs the output of the second shift means 4, multiplies the value by the gain output from the variable gain generation means 5, and outputs the result.

次に、本実施例の動作について具体的数値によ
り説明する。
Next, the operation of this embodiment will be explained using specific numerical values.

入力されたデイジタル信号の2進数デイジタル
値を「00000001」それ以前の入力信号の値を
「00000011」と「00000010」とすると平均レベル
算出手段1が出力する平均レベル値は
「00000010」となる。別に定められている平均レ
ベル目標値を「01100000」とすると、リーデイン
グ“0”検出手段2は6−1=5を出力する。し
たがつて、平均レベル値「00000010」は第1のシ
フト手段3で5ビツトシフトされ「01000000」と
なつて出力される。この値の平均レベル目標値
「01100000」との比が可変利得発生手段5で計算
され、1.1が利得となる。一方、入力「00000001」
は第2のシフト手段4によつて5ビツトシフトさ
れて「00100000」となり、乗算手段6に入力し
て、これに利得0.1が乗算され、「00110000」とな
つて出力される。このような動作の中で可変利得
発生手段5としてROMテーブルを用いると、そ
のテーブル容量は入力信号の平均レベルのダイナ
ミツクレンジが第1、第2のシフト手段3,4で
調整されているため、AGCの必要精度のみで決
まる。即ち、平均レベルのダイナミツクレンジは
平均レベルの目標値によつて、そのビツト長がき
められるために一定となり、このことはまた可変
利得発生手段5の出力ビツト長を小さくできる。
即ち、本実施例では0.1の利得は、従来のシフト
をしない方法によると平均レベルの目標値/平均
レベル値が「011000000」/「00000010」=
「110000」となり乗算のためのメモリ容量が大き
くなつていた。
If the binary digital value of the input digital signal is "00000001" and the values of the previous input signals are "00000011" and "00000010", then the average level value output by the average level calculating means 1 is "00000010". If the separately determined average level target value is "01100000", the leading "0" detection means 2 outputs 6-1=5. Therefore, the average level value "00000010" is shifted by 5 bits by the first shift means 3 and outputted as "01000000". The ratio of this value to the average level target value "01100000" is calculated by the variable gain generating means 5, and 1.1 becomes the gain. On the other hand, input "00000001"
is shifted by 5 bits by the second shift means 4 to become "00100000", which is input to the multiplication means 6, multiplied by a gain of 0.1, and outputted as "00110000". When a ROM table is used as the variable gain generating means 5 in such an operation, the table capacity is such that the dynamic range of the average level of the input signal is adjusted by the first and second shifting means 3 and 4. , determined only by the required accuracy of AGC. That is, the dynamic range of the average level is constant because its bit length is determined by the target value of the average level, and this also allows the output bit length of the variable gain generating means 5 to be small.
In other words, in this embodiment, a gain of 0.1 is calculated as follows: According to the conventional method without shifting, the average level target value/average level value is "011000000"/"00000010"=
It became "110000" and the memory capacity for multiplication was large.

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

以上説明したように本発明は、従来のデイジタ
ルAGC回路にシフト手段による粗調AGCを加え
ることにより、可変利得発生手段と乗算手段のハ
ードウエアを小さくすることができる効果があ
る。
As explained above, the present invention has the advantage that the hardware of the variable gain generation means and the multiplication means can be made smaller by adding rough adjustment AGC using the shift means to the conventional digital AGC circuit.

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

第1図は本発明のデイジタルAGC回路の一実
施例のブロツク図である。 1……平均レベル算出手段、2……リーデイン
グ“0”検出手段、3……第1のシフト手段、4
……第2のシフト手段、5……可変利得発生手
段、6……乗算手段。
FIG. 1 is a block diagram of one embodiment of the digital AGC circuit of the present invention. DESCRIPTION OF SYMBOLS 1... Average level calculation means, 2... Leading "0" detection means, 3... First shifting means, 4
. . . second shift means, 5 . . . variable gain generation means, 6 . . . multiplication means.

Claims (1)

【特許請求の範囲】 1 入力したデイジタル信号の平均レベルを算出
して2進数デイジタル値として出力する平均レベ
ル算出手段と、 平均レベル算出手段の出力値のリーデイング
“0”を検出し、予め決められている平均レベル
の目標値のリーデイング“0”との差分を出力す
るリーデイング“0”検出手段と、 平均レベルを入力し、その値をリーデイング
“0”検出手段が出力したリーデイング“0”の
差分だけシフトして出力する第1のシフト手段
と、 第1のシフト手段によつてシフトされた平均レ
ベルを入力し、その値と平均レベルの目標値との
比に対応する利得を出力する可変利得発生手段
と、 入力したデイジタル信号の2進数デイジタル値
をリーデイング“0”検出手段の出力値分シフト
して、シフトされたデイジタル信号を出力する第
2のシフト手段と、 第2のシフト手段の出力を入力し、その値に可
変利得発生手段が出力した利得を乗算する乗算手
段を有するデイジタルAGC回路。
[Claims] 1. Average level calculation means for calculating the average level of an input digital signal and outputting it as a binary digital value; a leading "0" detection means that outputs the difference between the target value of the average level and the leading "0"; a variable gain inputting the average level shifted by the first shifting means and outputting a gain corresponding to the ratio of the average level to a target value of the average level; generating means; second shifting means for shifting the binary digital value of the input digital signal by the output value of the leading "0" detection means and outputting the shifted digital signal; and an output of the second shifting means. A digital AGC circuit that has a multiplication means that inputs a value and multiplies the value by the gain output from the variable gain generation means.
JP21098387A 1987-08-24 1987-08-24 Digital agc circuit Granted JPS6453637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21098387A JPS6453637A (en) 1987-08-24 1987-08-24 Digital agc circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21098387A JPS6453637A (en) 1987-08-24 1987-08-24 Digital agc circuit

Publications (2)

Publication Number Publication Date
JPS6453637A JPS6453637A (en) 1989-03-01
JPH0531327B2 true JPH0531327B2 (en) 1993-05-12

Family

ID=16598366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21098387A Granted JPS6453637A (en) 1987-08-24 1987-08-24 Digital agc circuit

Country Status (1)

Country Link
JP (1) JPS6453637A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0373618A (en) * 1989-08-14 1991-03-28 Nec Corp A/d converter
JP2002246860A (en) * 2001-02-22 2002-08-30 Kddi Research & Development Laboratories Inc Device for automatically adjusting amplification level of receiver
EP2388297B1 (en) 2009-01-16 2020-08-19 Kaneka Corporation Curable composition and cured object formed therefrom
KR101838533B1 (en) 2010-01-19 2018-04-26 카네카 코포레이션 Curable Composition

Also Published As

Publication number Publication date
JPS6453637A (en) 1989-03-01

Similar Documents

Publication Publication Date Title
US4999628A (en) Analog-to-digital converting unit with broad dynamic range
US4815354A (en) Tone signal generating apparatus having a low-pass filter for interpolating waveforms
JPH06188838A (en) Sampling rate converter
US20060238253A1 (en) Sensitivity switchable detection circuit and method
US5619198A (en) Number format conversion apparatus for signal processing
US5343200A (en) Analog/digital converter with digital automatic gain control
US3983381A (en) Digital automatic gain control circuit
JPH0531327B2 (en)
EP0144143A2 (en) Circuit arrangement for adjusting sound volume
JPH0531328B2 (en)
JP2656024B2 (en) Modulation circuit
KR0142262B1 (en) A circuit for automatically compressing high luminance
US4737925A (en) Method and apparatus for minimizing a memory table for use with nonlinear monotonic arithmetic functions
JPH0582784B2 (en)
US5257301A (en) Direct digital frequency multiplier
US4941118A (en) Division circuit having an operation loop including an adder and multiplier
JPH05343994A (en) Analog signal level conversion circuit
JPS6132436Y2 (en)
JPS60142735A (en) Overflow detecting and correcting circuit
JPS5958922A (en) Automatic gain control system
JPS604322A (en) Digital agc circuit
JPH09312549A (en) Rate conversion circuit
JP2910614B2 (en) Level detection circuit for AGC
JPS6145628Y2 (en)
JPS6139767B2 (en)