JPS6342209A - Digital control type automatic gain control unit - Google Patents

Digital control type automatic gain control unit

Info

Publication number
JPS6342209A
JPS6342209A JP18567686A JP18567686A JPS6342209A JP S6342209 A JPS6342209 A JP S6342209A JP 18567686 A JP18567686 A JP 18567686A JP 18567686 A JP18567686 A JP 18567686A JP S6342209 A JPS6342209 A JP S6342209A
Authority
JP
Japan
Prior art keywords
counter
signal
output
random walk
walk filter
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
JP18567686A
Other languages
Japanese (ja)
Inventor
Toru Sogabe
曽我部 徹
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18567686A priority Critical patent/JPS6342209A/en
Publication of JPS6342209A publication Critical patent/JPS6342209A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

PURPOSE:To increase a leading-in speed, and also, to execute an automatic gain control being strong against the noise, by constituting the titled unit so that an up/down counter for coefficient can be operated from the upper bit. CONSTITUTION:The titled unit is provided with an up/down repetition detecting circuit 4 for generating a pulse, when an output of a random walk filter 2 has repeated up/down I times, an up/down counter 7 which has provided a count enable terminal on output bits, respectively, a down-counter 5 for executing count-down, whenever a pulse of the detecting circuit is sent out, and a decoder 6 for decoding a down-count value to a control signal to an enable terminal of the up/down counter. In this way, the enable terminal of every output bit of the up/down counter 7 is made enable from the upper bit, whenever the output of the random walk filter 2 has repeated up/down I times continuously. Accordingly, the up/down counter for coefficient is updated from the upper bit side, and the convergence speed can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えば#数的なゲインステップをもつプロ
グラマブルゲインアンプのデジタル制御形自動利得制御
(以下AGCと称す)装置に関すロック回路図で、図に
おいて、(1)は図示しない例えばプログラマブルゲイ
ンアンプの出力信号を受けて該信号の値が設定レベルよ
り大きいか小さいかを判定するアップダウン判定回路、
(2)はそのアップとダウン回数との差が所定値より大
きい時アップ信号を送出するとともに、その差が負の所
定値より小さい時はダウン信号を送出するランダムウオ
ークフィルタ、(3)はランダムウオークフィルタ(2
)からのアップ及びダウン信号に基づいて上記プログラ
マブルゲインアンプへのデジタル制御により係数制御信
号を送出する係数用アップダウンカウンタで、その出力
信号としては最下位ピッ) (LSB)QAから最上位
ビット(MSB)Qεまでt有する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is a lock circuit diagram related to a digitally controlled automatic gain control (hereinafter referred to as AGC) device for a programmable gain amplifier having, for example, numerical gain steps. In the figure, (1) is an up/down determination circuit (not shown) that receives an output signal from a programmable gain amplifier and determines whether the value of the signal is larger or smaller than a set level;
(2) is a random walk filter that sends out an up signal when the difference between the number of up and down times is larger than a predetermined value, and sends out a down signal when the difference is smaller than a negative predetermined value, and (3) is a random walk filter. Walk filter (2)
) is an up/down counter for coefficients that sends coefficient control signals through digital control to the programmable gain amplifier based on up and down signals from QA. MSB) has t up to Qε.

上記構成における動作について説明する。まず、アンプ
ダウン判定回路(1)の入力端子に、プログラマブルゲ
インアンプの出力信号が入ると、希望レベルに対してゲ
インを上げたらよいのか、下げたらよいのかを判定して
、そのアップダウン判定出力を、ランダムウオークフィ
ルタ(2)のアップダウン入力へ入れる。ランダムウオ
ークフィルタ(2)では、予め定められである一定値り
に対してアップと判定した回数をM、ダウンと判定した
回数をNとして、M−N>Lならば、プログラマブルゲ
インアンプへの利得係数を1つ上げ、また、M−N<−
Lならば、利得係数を1つ下げる信号を、係数用アップ
ダウンカウンタ(3)へ出力するようになされ、このア
ップダウンカウンタ(3)によってプログラマブルゲイ
ンアンプへの係数制御信号、すなわち、最低位ピッ)L
SBから最上位ピッ)MSBまで順次変更する係数制御
信号が送出される。
The operation in the above configuration will be explained. First, when the output signal of the programmable gain amplifier is input to the input terminal of the amplifier down determination circuit (1), it determines whether the gain should be increased or decreased relative to the desired level, and outputs the up/down determination circuit. is input into the up-down input of the random walk filter (2). In the random walk filter (2), the number of times it is determined to be up with respect to a predetermined constant value is M, and the number of times it is determined to be down is N, and if M-N>L, the gain to the programmable gain amplifier is Increase the coefficient by one and also set M-N<-
If it is L, a signal that lowers the gain coefficient by one is output to the coefficient up/down counter (3), and this up/down counter (3) outputs the coefficient control signal to the programmable gain amplifier, that is, the lowest pitch. )L
A coefficient control signal that changes sequentially from SB to MSB is sent out.

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

従来のデジタル制御形AGC装置においては、ランダム
ウオークフィルタ(2)出力は、係数用アップダウンカ
ウンタ(3)の最下位ピッ)LSBから順次値を変更し
て行く構成となっているので、上位ビットが変更される
まで、時間がかかるという問題点があった。
In conventional digitally controlled AGC devices, the output of the random walk filter (2) is configured to change values sequentially starting from the lowest bit (LSB) of the coefficient up/down counter (3). There was a problem that it took a long time for the changes to be made.

この発明は上記のような問題点を解消するためになされ
たもので、入力信号を所望のレベルに制御できるととも
に、所望のレベルまで短時間で引き込むことのできるデ
ジタル制御形AGC装置を提供することを目的とする。
The present invention was made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a digitally controlled AGC device that can control an input signal to a desired level and can pull the input signal to the desired level in a short time. With the goal.

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

この発明に係るデジタル制御形自動利得制御装置は、ラ
ンダムウオークフィルタ出力が、アップダウンを1回繰
り返したらパルスを発生するアップダウン繰返検出回路
と、出力ビットそれぞれにカウントイネーブル端子を設
けたアップダウンカウンタと、上記検出回路のパルス送
出毎にカウントダウンするダウンカウンタと、ダウンカ
ウント値をアップダウンカウンタのイネーブル端子への
制御信号へとデコードするデコーダを備えたものである
The digitally controlled automatic gain control device according to the present invention includes an up-down repeat detection circuit that generates a pulse when the random walk filter output repeats up-down once, and an up-down repeat detection circuit that generates a pulse when the output of the random walk filter is repeated once, and a count enable terminal provided for each output bit. The device includes a counter, a down counter that counts down every time the detection circuit sends out a pulse, and a decoder that decodes the down count value into a control signal sent to an enable terminal of the up/down counter.

〔作用〕[Effect]

この発明におけるデジタル制御形自動利得制御装置は、
アップダウンカウンタの出力ビットごとのイネーブル端
子をランダムウオークフィルタの出力がアップダウンの
繰返しが1回続けるごとに上位ビットの方からイネーブ
ルにしてゆくことにより、係数用アップダウンカウンタ
を上位ビット側から更新され収束速度の向上を可能にす
る。
The digitally controlled automatic gain control device in this invention includes:
By enabling the enable terminal for each output bit of the up-down counter starting from the upper bits each time the output of the random walk filter continues to go up and down, the up-down counter for coefficients is updated from the upper bit side. This allows for faster convergence.

(実施例〕 以下、この発明の一実施例を図について説明する。第1
図に於いて、(1)は、プログラマブルゲインアンプの
出力信号を希望レベルより大きいか、小さいかを判定す
るアップダウン判定回路、(2)は予め定められた一定
値L、アップの回数をM、ダウンの回数をNとしたとき
、M−N>Lならアップ信号を、M−N<−Lならば、
ダウン信号を出力するランダムウオークフィルタ、(4
)はランダムウオークフィルタ出力が、アップダウンを
1回繰り返しするとパルスを出力するアップダウン繰返
検出回路、(5)は該検出回路(4)よりパルスが来る
ごとにカウントダウンするダウンカウンタ、(6)はカ
ウンタ(5)の値を入力として。
(Example) Hereinafter, an example of the present invention will be explained with reference to the drawings.
In the figure, (1) is an up/down determination circuit that determines whether the output signal of the programmable gain amplifier is higher or lower than a desired level, (2) is a predetermined constant value L, and M is the number of ups. , when the number of down signals is N, if M-N>L, then up signal; if M-N<-L,
Random walk filter that outputs a down signal (4
) is an up/down repetition detection circuit that outputs a pulse when the random walk filter output repeats up/down once, (5) is a down counter that counts down every time a pulse is received from the detection circuit (4), (6) takes the value of counter (5) as input.

アップダウンカウンタ(8)へのイネーブル信号を出力
とするデコーダ、(8)はランダムウオークフィルタ(
2)のアップ/ダウン信号出力を入力とし、またデコー
ダ(6)の出力をカウンタの各ビットごとのイネーブル
信号入力とし、カウンタ出力をプログラマブルゲインア
ンプへの係数制御信号とするアップダウンカウンタであ
る。
A decoder outputs an enable signal to an up/down counter (8), and (8) is a random walk filter (
This is an up/down counter that uses the up/down signal output of 2) as input, the output of the decoder (6) as an enable signal input for each bit of the counter, and the counter output as a coefficient control signal to the programmable gain amplifier.

第2図は第1図における要部の信号を表す波形図である
。第2図に於て、波形(a)はアップダウン判定回路(
1)の入力に加える信号であり、波形CIl+)はラン
ダムウオークフィルタ(2)へ入力するクロックCLK
であり、波形(C)は、アップダウン判定回路(1)の
アップダウン判定出力であり、波形(d)はランダムウ
オークフィルタ(2)のクロック出力であり、波形(e
)はアップダウン繰返検出回路(4)のパルス出力であ
り、また波形(f)。
FIG. 2 is a waveform diagram showing the main signals in FIG. 1. In Figure 2, waveform (a) is the waveform (a) of the up/down determination circuit (
1), and the waveform CIl+) is the clock CLK input to the random walk filter (2).
The waveform (C) is the up-down judgment output of the up-down judgment circuit (1), the waveform (d) is the clock output of the random walk filter (2), and the waveform (e
) is the pulse output of the up-down repetition detection circuit (4), and the waveform (f).

(g)、(h)、(i)、(j)は、それぞれ係数用ア
ップダウンカウンタげ)のプログラマブルゲインアンプ
への出力のMSBからLSBまでの波形である。
(g), (h), (i), and (j) are the waveforms from MSB to LSB of the output to the programmable gain amplifier of the coefficient up/down counter, respectively.

さて、第2図に於て、周[Ti(1≦f≦18)の立上
がり時に、波形(a)のピークが存在している。また、
係数用アップダウンカウンタは、周期Tiの立下がり時
に変更されるものとする。
Now, in FIG. 2, the peak of waveform (a) exists at the rising edge of Ti (1≦f≦18). Also,
It is assumed that the coefficient up/down counter is changed at the falling edge of the period Ti.

まず、ランダムウオークフィルタ(2)は、段数2のラ
ンダムウオークフィルタで、ダウンカウンタ(5)は、
係数用アップダウンカウンタの出力ビツト幅と同じ値に
セットされている。デコーダ(6)は、このとき係数用
アップグランカウンタ(7)の最上位ピッ) (MSB
)のみがイネーブルとなるようにダウンカウンタ(5)
の出力をデコードしている。アップダウン判定回路(1
)に波形(a)が入力すると、希望ピークレベルとそれ
を比較し、周期T1では入力信号の方が小さいので、ゲ
インが大きくなる方向、つまりゲインをアップさせる方
向へアップダウン判定回路(1)は判定結果出力として
、アップ信号をランダムウオークフィルタ(2)へ出力
する。ランダムウオークフィルタ(2)の内部のカウン
タはOにリセットされであるので、インクリメントされ
て+1になるだけで、オーバフロー出力はでない。
First, the random walk filter (2) is a random walk filter with two stages, and the down counter (5) is
It is set to the same value as the output bit width of the coefficient up/down counter. At this time, the decoder (6) selects the most significant bit (MSB) of the coefficient up-grain counter (7).
) is enabled so that only the down counter (5)
decoding the output of Up/down judgment circuit (1
), when the waveform (a) is input to the input signal, it is compared with the desired peak level, and since the input signal is smaller in the period T1, the up/down judgment circuit (1) moves in the direction of increasing the gain, that is, in the direction of increasing the gain. outputs the up signal to the random walk filter (2) as a determination result output. Since the internal counter of the random walk filter (2) is reset to O, it is only incremented to +1 and no overflow output occurs.

次に周期T2の入力信号は、周期TIの入力信号と同様
の大きさなので、周期T1のときと同様にランダムウオ
ークフィルタ(2)の内部のカウンタは、インクリメン
トされる。モしてカウンタが+2になるのでオーパフo
−し波形(d)の周MT2で、ランダムウオークフィル
タ出力クロックが係数用アップダウンカウンタ(7)へ
入力される。
Next, since the input signal with period T2 has the same magnitude as the input signal with period TI, the counter inside the random walk filter (2) is incremented as in the case of period T1. The counter becomes +2, so Opafuo
- At cycle MT2 of waveform (d), the random walk filter output clock is input to the coefficient up/down counter (7).

係数用アップダウンカウンタ(7)のイネーブル端子は
、初期状態のままMSBのみイネーブルになっている。
The enable terminal of the coefficient up/down counter (7) remains in its initial state and only the MSB is enabled.

アップダウン入力端子はアップ信号が入力している。こ
のときにクロック入力があるので、MSBがOから1へ
インクリメントされ、ゲインは2かも18に設定される
An up signal is input to the up/down input terminal. Since there is a clock input at this time, the MSB is incremented from 0 to 1, and the gain is set from 2 to 18.

周期T3では、係数用アップダウンカウンタ(7)のM
SBがインクリメントされたあとなので、波形(a)の
入力信号は希望ピークレベルよりも太きくなっている。
In period T3, M of the coefficient up/down counter (7)
Since this is after SB has been incremented, the input signal of waveform (a) is thicker than the desired peak level.

このとき、アップダウン判定回路(りは、ダウン信号を
ランダムウオークフィルタ(2)へ出力する。ランダム
ウオークフィルタ(2)はオーバフローを出力したあと
なので、Oにリセットされであるから、内部のカウンタ
はOから−1へデクリメントされる。
At this time, the up/down determination circuit (RI) outputs a down signal to the random walk filter (2). Since the random walk filter (2) has output an overflow, it is reset to O, so the internal counter is Decremented from O to -1.

周期T4では、周期T3と同様にして、ランダムウオー
クフィルタ(2)の内部のカウンタが−1から一2ヘデ
クリメントされる。このときカウンタが−2になるので
、アンダーフロー出力がある。
In period T4, the internal counter of the random walk filter (2) is decremented from -1 to 12 in the same manner as in period T3. At this time, the counter becomes -2, so there is an underflow output.

アップダウン繰返検出回路(3)はランダムウオークフ
ィルタの出力があった際、オーバフローしたあとにアン
ダーフロー、またはアンダーフローしたあとに、オーバ
フローすれば、内部のカウンタをインクリメントし、ア
ンダーフローのあとにアンダーフロー、またはオーバフ
ローのあとにオーバフローすればカウンタをOにリセッ
トするようになっていて、カウンタがある閾値工(この
場合は2回)に達するとパルスを出力する。従って、こ
のパルスがダウンカウンタ(5)のカウンタ値5がエリ
デクリメントしてカウンタ値は4となる。
When there is an output from the random walk filter, the up/down repetition detection circuit (3) increments an internal counter if it overflows and then underflows, or if it underflows and then overflows. If there is an underflow or an overflow after an overflow, the counter is reset to O, and when the counter reaches a certain threshold value (in this case, 2 times), a pulse is output. Therefore, this pulse decrements the counter value 5 of the down counter (5), and the counter value becomes 4.

このときデコーダ(6)が係数用イネーブル付アップダ
ウンカウンタ(7)のイネーブル端子のEεのみをイネ
ーブルにしていたが、ECからEεまでイネーブルにす
る。
At this time, the decoder (6) had previously enabled only Eε of the enable terminal of the up/down counter with coefficient enable (7), but it now enables EC to Eε.

周期〒8でランダムウオークフィルタ(2)がダウン信
号を出力すると、今度は係数用イネーブル付アップダウ
ンカウンタ(7)のQDが変化し、カウンタ値18から
lOへ変化する。
When the random walk filter (2) outputs a down signal at a period of 8, the QD of the up/down counter (7) with coefficient enable changes, and the counter value changes from 18 to 1O.

以上のようにして係数用イネーブル付アップダウンカウ
ンタ(7)のイネーブル端子がMSBからLSBまで全
てイネーブルになるまで、ダウンカウンタ(5)がカウ
ントダウンしてゆく。
As described above, the down counter (5) counts down until the enable terminal of the coefficient enable up/down counter (7) becomes enabled for all from MSB to LSB.

このようにして、LSBまでの値を決定してゆく。In this way, values up to the LSB are determined.

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

以上のように、この発明によれば係数用アップダウンカ
ウンタを上位ビットから操作できるようにしたのでAG
Cの引き込み速度も速く、またノイズに強いものが得ら
れる効果がある。
As described above, according to the present invention, since the coefficient up/down counter can be operated from the upper bits, the AG
The drawing speed of C is also fast, and it has the effect of being resistant to noise.

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

第1図はこの発明の一実施例によるデジタル制御形AG
C回路を示す構成図、第2図(a)〜(j)は上記実施
例の各部動作を説明する波形図、第3図は従来のデジタ
ル制御形AGC回路を示す構成図である。 (1)はアップダウン判定回路、 (2)はランダムウオークフィルタ、 (4)はアップダウン繰返検出回路、 (5)はダウンカウンタ、(6)はデコーダ、(7)は
係数用イネーブル付アップダウンカウンタ。 なお、図中同一符号は同−又は相当部分を示す。
FIG. 1 shows a digitally controlled AG according to an embodiment of the present invention.
2(a) to 2(j) are waveform diagrams illustrating the operation of each part of the above embodiment. FIG. 3 is a configuration diagram showing a conventional digitally controlled AGC circuit. (1) is an up-down judgment circuit, (2) is a random walk filter, (4) is an up-down repetition detection circuit, (5) is a down counter, (6) is a decoder, and (7) is an up-down with coefficient enable. down counter. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 入力信号の値が設定レベルより大きいか小さいかを判定
するアップダウン判定回路、アップとダウン回数との差
が所定値より大きい時アップ信号を送出するとともに、
その差が負の所定値より小さい時はダウン信号を送出す
るランダムウォークフィルタ、該フィルタ出力がアップ
、ダウン信号の送出を所定回繰返すとパルスを出力する
アップダウン繰返検出回路、該検出回路のパルス送出毎
にカウントダウンするダウンカウンタ、該カウンタのカ
ウント値の入力に基づいてイネーブル信号を送出するデ
コーダ、上記ランダムウォークフィルタからのアップ及
びダウン信号とデコーダからの各ビット毎のイネーブル
信号を入力としてゲインアンプのデジタル制御による係
数制御信号を出力するアップダウンカウンタを備えたこ
とを特徴とするデジタル制御形自動利得制御装置。
An up/down determination circuit that determines whether the value of the input signal is greater than or less than a set level, and sends out an up signal when the difference between the number of up and down times is greater than a predetermined value;
A random walk filter that sends out a down signal when the difference is smaller than a predetermined negative value; an up-down repeat detection circuit that outputs a pulse when the filter output is up and the sending of the down signal is repeated a predetermined number of times; A down counter that counts down every time a pulse is sent, a decoder that sends out an enable signal based on the input of the count value of the counter, and a gain that receives the up and down signals from the random walk filter and the enable signal for each bit from the decoder as input. A digitally controlled automatic gain control device comprising an up/down counter that outputs a coefficient control signal by digitally controlling an amplifier.
JP18567686A 1986-08-07 1986-08-07 Digital control type automatic gain control unit Pending JPS6342209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18567686A JPS6342209A (en) 1986-08-07 1986-08-07 Digital control type automatic gain control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18567686A JPS6342209A (en) 1986-08-07 1986-08-07 Digital control type automatic gain control unit

Publications (1)

Publication Number Publication Date
JPS6342209A true JPS6342209A (en) 1988-02-23

Family

ID=16174918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18567686A Pending JPS6342209A (en) 1986-08-07 1986-08-07 Digital control type automatic gain control unit

Country Status (1)

Country Link
JP (1) JPS6342209A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229716A (en) * 1989-03-22 1993-07-20 Institut National De La Sante Et De La Recherche Medicale Process and device for real-time spectral analysis of complex unsteady signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229716A (en) * 1989-03-22 1993-07-20 Institut National De La Sante Et De La Recherche Medicale Process and device for real-time spectral analysis of complex unsteady signals

Similar Documents

Publication Publication Date Title
US5006851A (en) Analog-to-digital converting system
US7595692B2 (en) Automatic gain control circuit
US6289064B1 (en) Synchronization equipment
US5577080A (en) Digital phase-locked loop circuit with filter coefficient generator
JP2006041734A (en) Automatic level adjusting circuit
JP2907087B2 (en) Circuit for recovering bits transmitted asynchronously
JPS6342209A (en) Digital control type automatic gain control unit
JPS5832403B2 (en) control method
JP4198639B2 (en) Interrupt generation circuit
JP2005057595A (en) Agc circuit
US20010021201A1 (en) Bit rate converter with controlled stuffing rate
JPH0318373B2 (en)
JP5022829B2 (en) Remote control signal receiving circuit
JPH0923143A (en) Digital signal delay method and circuit
JP2006303794A (en) Digital-control-type phase-composing circuit system
JPS5875319A (en) Signal processing circuit
JPH05227017A (en) Convergent mode switching type digital pll device
KR960009902B1 (en) Digital audio infrared rays receiver
JP2751569B2 (en) Retiming circuit
JPS6163111A (en) Digital pll circuit
JPH0127629B2 (en)
JP2696815B2 (en) Automatic TV channel selection circuit
JP3177394B2 (en) Digital PLL circuit
JPH0983354A (en) Dpll circuit
JP2522312Y2 (en) Temperature detection circuit